Changes with Gentics Content.Node 5.3.1
- Optional manual change
Added new Version 0.10 of Aloha Editor to Gentics Content.Node, which brings a load of new features like plugin bundles, dependency loading with requirejs and other improvements to your editing experience. Please refer to http://www.github.com/alohaeditor/Aloha-Editor or http://www.aloha-editor.org for additional and more detailed information.
Aloha Editor 0.10 may be activated by setting $FEATURE["aloha010"] = true; and $FEATURE["aloha"] = true; in your node.conf. You may continue to use Aloha Editor 0.9.3 though without enabling the new feature
IMPORTANT: MANUAL CHANGES- Aloha Editor 0.10 will no longer expose it's internal jQuery object through the $ and/or jQuery variables. You have to include your own version of jQuery if you relied on Aloha Editor's version prior to this update.
- The "GENTICS_" prefix for CSS class names has been replaced by "aloha-". If you targeted those specific class names in your implementation those need to be updated.
- The "GENTICS.Aloha" namespace for Aloha Editor's JavaScript objects has been reduced to "Aloha" alone.
- If you want to edit your pages using Aloha Editor a valid doctype has to be specified.
- As the plugin system has been fully rewritten in Aloha Editor 0.10 plugins you wrote for 0.9.3 will not work with the new version.
- Please follow the steps that are described in our FAQ » "How do I enable the Gentics Profiler webapplication?" to enable the profiler webapp. Activation of the profiler is optional.
- Added parameter "versioninfo" to REST API call /rest/page/load/ to get version information
- Resolving node tags in custom-forms only worked in the tag-fill dialogue
of content tags (pages). For template tags (templates) or tag-types, the
entire custom-form was rendered as the empty string if the
customform_resolve_nodetags feature was activated.
Now, if the custom-form is rendered as part of the tag-fill dialogue for template tags or tag-types, all will resolve to the empty string. Special custom-form tags (e.g.) will be resolved normally. - Fixed possible deadlocks when publishing into contentrepositories that use Instant Publishing.
- Fixed detection of deleted/moved/offline objects when publishing into ContentRepository: It was possible that object being deleted, moved or taken offline while a publish process was running, would not be removed from the contentrepository at all.
- Fixed: when a Node had no languages assigned, and a user had the delete permission on only some, but not all folders, and the user tried to delete a page on which he had permissions, he was incorrectly informed that he didn't have any permissions.
- Fixed language management: It is no longer possible to delete page languages, if pages with that language exist.
- The autoupdate dialog will now display the selected update policy which can be configured via the update_policy feature.
- Fixed possibly misaligned top menu when switching multiple times between page preview (aloha mode) and taglist.
- Fixed Import Errors when Importing from older Systems
- Reduced z-index of resize handle for resizable lists. This prevents the handles shining through actions dropdown.
- Linking a template to a new folder will now check for templates with the same name in the target folder and abort with an error message.
- Fixed problems with template source view in IE6 and IE7
- Aloha Editor package is no longer provided by Gentics Content.Node's integrated Apache webserver, as it has been moved to the CNPortletapp
- The autoupdate dialog will now display the selected update policy which can be configured via the update_policy feature
- Fixed possible JS error when saving pages after changing an internal link to an external one using Aloha Editor
- Fixed setting links to files using Aloha Editor: When pages are edited, that have links to files, the file information is correctly loaded and thus the link will be preserved
- Fixed a bug with Aloha Editor that prevents internal links from being created
- The Crop'n'Resize Plugin is no longer available for Aloha.Editor 0.10 as it was replaced by the Image Plugin
Changes with Gentics Content.Node 5.2.4
- Fixed performance problems with too many failing backend logins.
- When the GCNAuthenticationManager was configured as a secondary authentication system, it retried unsuccessful logins to the GCN backend on every request.
Logins to the GCN backend are unsuccessful if the user authenticated with the primary authentication system doesn't have a GCN account (e.g. read-only privileges for the content in the portal, but no editing privileges in the GCN backend). Another reason may be that the GCN backend may be temporarily unavailable.
Retrying unsuccessful logins may cause performance problems if there are many users that can be authenticated with the primary authentication system but can't be authenticated with the GCNAuthentication manager each request by the user (browser) would cause an additional internal authentication request.
A configurable interval parameter "backendLoginRetryInterval" has been added to the GCNAuthenticationManager configuration, which specifies how many seconds to wait before a failed backend login request is retried. - Fixed possible deadlocks when publishing into contentrepositories that use Instant Publishing.
- Fixed an erroneously reports of insufficient permissions when trying to delete pages.
When a Node had no languages assigned, and a user had the delete permission on only some, but not all folders, and the user tried to delete a page on which he had permissions, he was incorrectly informed that he didn't have any permissions. - Fixed language management: It is no longer possible to delete page languages, if pages with that language exist.
- Introduced new translation workflow feature. This feature enables the editor of pages to manage the translation tasks. A editor can for example synchronize a page. This mean the editor accepts the translation job and marks the page therefore as synchronized. A overview is provided to review the current state of all translation tasks.
- Introduced new versioned publishing feature which will change the publishing behavior.
Before this feature was introduced the publish process would render the current version of a a page not the last published one.
Example:
There are two pages, a simple content page (A) and an overview page (B). The overview page contains an overview, page url, page tag or any thing else that references to the simple content page. An editor changes page (A) and will therefore modify its contents and change the current version of that page. A publisher now publishes page (B). When publishing page (B) the modified contents of page (A) will be used for rendering. This undesired behaviour could lead to unpublished content or dead links.
The versioned publishing feature corrects this behaviour. Now always the last published version will be used for rendering the page.
Example:
Now the last published version will be used instead of the current modified contents of page (A).
The new publishing behavior will only affect pages that have been published at least one time after the feature has been enabled. The page version information has to be created before it can be used. The feature is enabled by default. - Fixed itemlist problems and adds more itemlist configuration options.
Fixed: when the width of an itemlist was greater than the window size, the last column was not displayed.
Fixed: resizing a column may alter the table width, which may break the page layout.
New configuration options:
//If empty, the resizable itemlist feature is enabled for all pages. //If non-empty, the resizable itemlist feature is enabled only //for specific do numbers. $RESIZABLE_ITEMLIST_DONUMS = array(16003); //Allows the itemlist Javascript to be loaded lazily based on whether the //user-agent string matches this regex. The default will enable //lazy-loading for Internet Explorer up to version 6. $ITEMLIST_LAZY_LOADING_UA_REGEX = "/\bMSIE [1-6]\b/";
- Fixed SQL validation error that occurred when the execution-list for a task was sorted by duration.
- Allows a custom definition of the HTML doctype that appears in the application generated HTML.
The application generated HTML wraps the HTML defined in the user-defined implementation of content pages. The application generated HTML wrapper has a doctype.
Due to this circumstance, when a HTML5 doctype is defined for the user-defined implementation of a content page, the page may not display properly.
As a workaround, the doctype for the application generated HTML may be configured in the node.conf configuration file in the following manner - the doctype string should be equal to the one used in content-pages:
$CUSTOM_NODE_HTML_DOCTYPE = '<!DOCTYPE HTML PUBLIC "...">';
Please note that this will define the doctype of the wrapper-html, for all content-pages in the system, regardless of which node they belong to. Changing the doctype might break the system or bring other problems. You might not be able to log in after changing the doctype. We do not advise to use this feature - only use this as a last resort. - Fixed copying pages with syncinfo: The copy will have analogous sync information set.
- Fixed incorrect values displayed in tag-fill dialog.
For multiple "Tag (Page)" parts, incorrect values were sometimes displayed in the tag-fill dialog, from the second part onwards. The values that were displayed were a concatenation of the values of all previous parts. Due to the limited size of the input-box that displays a value, this made it appeart as if all parts had the same value (the first value - the subsequent values being cut-off).
This bug affected how the value was displayed in the tag-fill dialog, but did not affect how the value was stored in the database. - Fixed assign-for-revision displays login-page.
The do-number for the assign-for-revision action was incorrectly specified.
There seems to be a certain range for do-numbers of a specific module. - Fixed customform_resolve_nodetags feature in the tag-fill dialogue of tag-types and templates.
Resolving node tags in custom-forms only worked in the tag-fill dialogue of content tags (pages). For template tags (templates) or tag-types, the entire custom-form was rendered as the empty string if the customform_resolve_nodetags feature was activated.
Now, if the custom-form is rendered as part of the tag-fill dialogue for template tags or tag-types, all will resolve to the empty string. Special custom-form tags (e.g.) will be resolved normally. - Fixed inability to assign view permissions on "View permissions" tree-item.
The feature "view_perms" allows all users to see the permissions of other groups, if they have view permissions on the "View permissions" tree-item.
However, assigning view permissions on the "View permissions" tree-item was not possible, and as such, only the "node" user was in a position to see this tree-item. - Fixed display issue of the resizeable itemlist feature. Due to a bug the last colum of the tagtype part view was not visible if one part of the tagtype contained a longer name.
- Fixed path to phpCAS client logfile. The logfile can now be found at /Node/tmp/cas.log
Changes with Gentics Content.Node 5.1.6
- Manual change for updating Aloha Link plugin
Fixed Aloha Link plugin. It is now possible to set links to internal files. To enable linking of files the Aloha Link tagtype has to be adapted. See » Aloha Link plugin support FAQ
- Removed duplicate dependency that caused ClassNotFound exceptions and therefore stalled the background job tasks.
- Now templates that have only one linked folder can only be unlinked if there are no pages that reference this template. This fix was introduced to fix a bug that caused templates that were included within an export file to be hidden from the user.
- Fixed an issue within the import that caused imports to fail due to wrong permission check of constructs.
- Fixes error when using the "Assign for revision" functionality. This error was introduced when the changes made in Content Node 4 were merged into Content Node 5. In both branches identical do numbers were used for different features.
- The tagname header within the tag edit dialog will now no longer be omitted if the feature tagfill_light is activated. Otherwise the tagname can be viewed by examining the head title. (Mouseover titel)
- Now only pages that have the contenttype 'text/html' can be edited with aloha. For other pages the editing will automatically fallback to the oldstyle editing.
- Fixed a bug that caused autoupdate to ignore the doupdate parameter. The autoupdate executed the update even if the feature was disabled via the autoupdate menu. Updates that include manual changes were not and will not be applied automatically.
- The sizcache and sizset attributes that appeared when using the liveditor will be now be removed automatically.
- Added cleanup of sizset sizcache attributes that were set by sizzle and not removed when using internet explorer with aloha editor.
- Fixed adding of language extension to filename when updating with an empty filename and Feature "contentgroup3_pagefilename" is set.
- Fixed deletion of imports: Do not show objects, which were ignored (or copied) in the last import in the list of objects to be deleted.
- Upgraded CodeMirror (syntax highlighter used for template editing) to most recent version to fix copy/paste. Pasted contents would be duplicated before this fix.
Changes with Gentics Content.Node 5.1.4
- Fixed ProxyServlet Exception (invalid uri / invalid query) which occurred when performing an edit operation on a content tag from Gentics Portal.Node in Aloha mode.
- Fixed UI issue within the tagtype edit view. If a part is defined as liveeditable the editable checkbox will be enabled as well now.
- Fixed an error (SGB) that occurs if the validation the feature is turned on and a tag is edited in the context of Gentics Portal.Node / Aloha.
- Removed versioned publishing, which does not work reliable.
- Performance enhancement and fixed timeout for Live-Editor page-save. The performance enhancement concerns pages with many live-editable tags. Tests showed, that saving a page with 260 live-editable tags took 35 seconds originally, which was reduced to 6 seconds if the page had changes, or 3 seconds if the page had no changes. The timeout-fix was made so that no timeout will occur, if saving a page should take longer than 30 seconds.
- Fixed item-list column resizing in IE When certain columns in an item-list, such as the one for the name of a page, were wider than the base column width, the column was first rendered with the correct (wider) size, but collapsed immediately to the base column width when the mouse was moved to hover over the item-list.
- Fixed assistant frame. Aloha will now also add history entries to the assistant frame.
- Fixed bug in overviews over pages, which were selected and ordered individually, that prevented correct rendering of pages.
- Fixed NoClassDefFoundError during validation of style attributes.
- Added render messages to the Aloha settings, such that they will be logged in Aloha, when the page is rendered. The log level can be configured by setting it to log4j.logger.com.gentics.aloha in nodelog.properties.
- Fixed Rendering of Velocity Parts: Velocity must not be rendered in edit mode. That means that if a Tag is rendered e.g. like $cms.page.tags.test or a Part is rendered via $cms.tag.parts.test it will NOT be editable. If Tags/Parts must be editable inside Tags that render Velocity, the Notation must be used (like in the pre-Aloha Era).
- Fixed Bug that prevented overviews to be republished when a page was published using time management and multithreaded publishing was used.
- Fixed navigation parttype. The navigation parttype will now apply correct sorting over ALL objects.
Changes with Gentics Content.Node 5.1.3
- Manual change for updating the JDK version
Please perform this step before performing the update of Gentics Content Node.This change can be omitted it the installation alredy uses JDK 1.6.0_14.
Examine the symlink /Node/java to check which jdk version is currently in use. Version 1.6.0_01 became incompatible with Gentics Content Node due to the JAXB Library version bundled with the JDK. To update the JDK version to 1.6.0_14, please download the update script and execute it as a shell script. The script will ask for the Node folder (defaults to "/Node") and whether to use the 64bit version of the JDK (the default will be autodetected). - Fixed rendering of pages that render information of other pages (like overviews, links to other pages, page-tags, ...): If the other page was modified but not yet published, the first page would publish the current data, but not the published data of the other page. This behaviour has been fixed now: When a page is published and renders information of other pages, it will always get the published version of the other page.
- Fixes CRSync NoClassDefFound RuntimeProfiler Exception The ProfilerServlet has a dependency on HttpServlet. The servlet-api is only on the classpath, if the RuntimeProfiler is used in the context of a webapp. A workaround is to specify the servlet-api.jar in the classpath of the CRSync command line.
- Added property .istag for objects to determine whether they are tags
- Fixed problem with custom streams which would not be displayed
- Fixed issues with page list when flapping the tree - the page list will now reclaim all available space
- Fixed unexpected behaviour in list of object properties of pages: Opening this list locked the page, but leaving with 'Back' button did not unlock
Changes with Gentics Content.Node 5.1.2
Manual Change (when updating from 5.0.0 or older)
If you attempt to update from Gentics Content.Node 5.0.0 or older, a special patch needs to be applied. Extract the patch file which can be donwloaded from http://www.gentics.com/Content.Node/infoportal/cms/changelog/gcn5_update_patch.tgz in /Node/.node:cd /Node/.node wget [URL_TO_gcn5_update_patch.tgz] tar xzf gcn5_update_patch.tgz // ! Delete file or change permissions otherwise the replacement of .node can't be executed by the auto update ! rm gcn5_update_patch.tgz
If you attempt to update without the patch, Gentics Content.Node won't recognize the latest update file as a valid update package and the update process will fail.Manual Change
The PHP APC cache module must be enabled. Append the following settings to the /Node/etc/php/php.ini file.[APC] extension=apc.so apc.enabled=1 apc.shm_size=128M apc.ttl=7200 apc.user_ttl=7200 apc.max_file_size=16M
- Performance Improvement: disabled output buffer for user images
- Performance Improvement: content files are now served with a fingerprint instead of the current timestamp, so that the browser-cache is used more effectively
- Performance Improvement: improved response times for viewing and editing pages
- Performance Improvement: Refactored the newline to html-break transformation of text part types. Some edge-cases of the old behaviour have been fixed. This change improves render-performance of pages in edit, preview and publish mode noticeably
- Performance Improvement: getCurrentTIme() is not called anymore if the RuntimeProfiler is not enabled
- Performance Improvement: parttypes are now cached, thus increasing render performance
- Performance Improvement: diff between page versions will now be handled in Java, thus increasing the performance
- Performance Improvement: added indices for id and contenttag_id to the ds_nodeversion table for improved performance
- Performance Improvement: improved IE6 JavaScript performance by ceaning up jQuery itemlist handlers
- Performance Improvement: The communication between PHP and the Java backend now happens via the native PHP Streaming API
- Security Improvement: Adds XSS checks for tagfill/page_save and folder/page/node/file properties. Also adds the "policy" field for TagParts.
- Security Improvement: improved security checks for serving images & files from the backend
- Security Improvement: improved various permission checks and change password mechanism
- New Feature: "no_userlist_on_startpage" hides user list on startpage for faster loading
- Fixed a problem with IE which didn't always show the resizable in itemlist columns.
- New changelog mechanism (unique change ids instead of build dates)
- Automatic update mechanism adapted for new Gentics Content.Node 5 package structure
- Deletion of tagtypes is now decoupled from the browser-request, so that an aborted browser-request doesn't leave tags in the system, that have references to the deleted tagtype
- Fixed errors in CR browser and tagmap list
- Fixes consistency check during a CRSync. The contentstatus table could not be created with a customized name
- Fixes JCS configuration. The cache stopped working after Gentics Portal Node was removed. This was because the system property that configured the location for the cache.ccf file did not get set by the portal node configuration setup code.
- Fixed a timing problem when deleting or taking pages offline while the publish process started
- Made isEditMode() and isPreviewMode() available for editing with Aloha
- Fixed XNL Function registry
- Fixed possible NPE for objects without NodeObject representations like construct categories
- Fixed dependency calculations when rendering pages within other pages
- Switched deletion of publish directories to pure Java, so that no processes are forked anymore
- Fixed incorrect information in publish log about pages being written to disk even if publishing to the filesystem is disabled
- Setting the page language will now trigger a dirtevent for all language variants
- Improved publish workflows and the page queue, which will now directly lead you to the page preview
- Fixed incorrect prompts on clicking the cancel button in the switch template dialog
- Fixed a problem that caused invalid page editor assignments
- Feature "tagfill2" is not supported anymore - the dialog will fallback to the standard tagfill dialog
- Added LSB Tags for nodectl script to allow usage of dependency boot system
- Gentics Content.Node velocity configuration is now available to the JavaParser
- Fixed error when uploading a new file or image
- Fixed encoding bugs with user name
- Fixed page-save errors if the same aloha link tag occurs more than once in a page
- Fixed a problem with XNL functions, which would not be accessible anymore
Changes with Gentics Content.Node 5.0.0
- Integrated Aloha Editor, which can be enabled via a node's properties
- Removed internal Portal.Node Webapp which simplifies architecture
- Removed Todo Management (discontinued)
- Removed ImageManipulation (Aloha CropNResize plugin and the GenticsImageStore are available as a replacement for crop and resize functionality) See » CropNResize
- Restructured backend to honor new architecture, also resulting in a new package structure
- Unused/discontinued core modules have been removed, only system.node and content.node remain
- Aloha's GCNIntegrationPlugin will now honor wrapper settings for each tag as the live editor did (wrapping a contenttag in div or span tags)
- Editor's email adresses may now be displayed in the publish queue by enabling the feature "pubqueue_email"
- Fixed broken topmenu entries in tag list (save, publish) when working in Aloha mode
- Replaced sh reference in nodectl script wich caused problems on systems without bash
- Fixed editing of object properties from Aloha mode, which would occasionally log you out
- Added ajax gateway whitelist
- Fix to Handle multi-line HTTP headers correctly
- Fix for Incorrect content-length of gzipped output
- Added contentrepository option to automatically publish permission information
- Added contentrepository option to automatically add language information to pages published into the contentrepository
- Added new multi file upload
- Added GCNAuthentication do for connection with Gentics Portal.Node
- Added new feature instant_cr_publishing which allows to configure contentrepositories for instant publishing: modified (publishied) objects are immediately written into the contentrepository, dependencies are handled in the publish process, like always
- Added tagfill_light feature, which will open the tagfill dialog in a lighbox instead of popups
- Updated to JAXB 2.2