Wiki source code of XWiki Enterprise 2.6 Release Candidate 1
Last modified by Thomas Mortagne on 2023/10/13 16:37
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{box cssClass="floatinginfobox" title="**Contents**"}} | ||
| 2 | {{toc/}} | ||
| 3 | {{/box}} | ||
| 4 | |||
| 5 | First release candidate of the XWiki Enterprise 2.6 version ([[Roadmap>>Main.Roadmap]]). | ||
| 6 | |||
| 7 | {{error}} | ||
| 8 | There are some important bugs in this release: | ||
| 9 | * Due to recent changes in the CSS styling, several UI sections are broken on IE browsers: | ||
| 10 | ** Internet Explorer 6 : Login screen is not visible. | ||
| 11 | ** Internet Explorer 7 : Bad display of Wiki Preferences, the Comments tab content, the user profile; the Wysiwyg and Class editors cannot be properly used. | ||
| 12 | * The new Recent Activity feature fails to display on August, September, and any 8th and 9th of the month. | ||
| 13 | |||
| 14 | These issues will be fixed in the next version. | ||
| 15 | {{/error}} | ||
| 16 | |||
| 17 | = New and Noteworthy (since XWiki Enterprise 2.5) = | ||
| 18 | |||
| 19 | == Revamped Recent Activity Dashboard == | ||
| 20 | |||
| 21 | * Overhaul of the Recent Changes section of the Dashboard:((( | ||
| 22 | * New UI | ||
| 23 | * Support for more events compared to the previous Recent Changes: annotations, comments, document deletion | ||
| 24 | * It's now called Recent Activity (was called Recent Changes) | ||
| 25 | |||
| 26 | [[image:activityMacro||style="border: 1px solid black;"]] | ||
| 27 | ))) | ||
| 28 | |||
| 29 | == Icon/Emoticon Support == | ||
| 30 | |||
| 31 | * Added a syntax in the experimental XWiki Syntax 2.1 for inserting an icon from the [[XWiki Icon Set>>http://www.famfamfam.com/lab/icons/silk/previews/index_abc.png]].((( | ||
| 32 | Usage: | ||
| 33 | {{code language="none"}} | ||
| 34 | image:icon:<icon name> | ||
| 35 | {{/code}} | ||
| 36 | Example: | ||
| 37 | {{code language="none"}} | ||
| 38 | image:icon:accept | ||
| 39 | {{/code}} | ||
| 40 | ))) | ||
| 41 | * Added the ability to map characters to an icon in any XWiki Syntax (edit ##xwiki.properties## to modify or add new mappings).((( | ||
| 42 | Default mappings: | ||
| 43 | |=Characters|=Result | ||
| 44 | |##{{{:)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_smile.gif | ||
| 45 | |##{{{:(}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_unhappy.gif | ||
| 46 | |##{{{:P}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_tongue.gif | ||
| 47 | |##{{{:D}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_grin.gif | ||
| 48 | |##{{{;)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/emoticon_wink.gif | ||
| 49 | |##{{{(y)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/thumb_up.gif | ||
| 50 | |##{{{(n)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/thumb_down.gif | ||
| 51 | |##{{{(i)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/information.gif | ||
| 52 | |##{{{(/)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/accept.gif | ||
| 53 | |##{{{(x)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/cancel.gif | ||
| 54 | |##{{{(!)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/error.gif | ||
| 55 | |##{{{(+)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/add.gif | ||
| 56 | |##{{{(-)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/delete.gif | ||
| 57 | |##{{{(?)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/help.gif | ||
| 58 | |##{{{(on)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/lightbulb.gif | ||
| 59 | |##{{{(off)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/lightbulb_off.gif | ||
| 60 | |##{{{(*)}}}##|image:http://www.xwiki.org/xwiki/bin/skin/resources/icons/silk/star.gif | ||
| 61 | ))) | ||
| 62 | * Box Macro's image parameter now support referencing an icon.((( | ||
| 63 | Example: | ||
| 64 | {{code language="none"}} | ||
| 65 | {{box image="icon:accept"}} | ||
| 66 | Some content | ||
| 67 | {{/box}} | ||
| 68 | {{/code}} | ||
| 69 | ))) | ||
| 70 | |||
| 71 | == Auto linking of WikiWords == | ||
| 72 | |||
| 73 | * Added ability to automatically create wiki links on Wiki Words (not enabled by default, to enable edit ##xwiki.properties##). | ||
| 74 | |||
| 75 | == New Recent Activity Macro == | ||
| 76 | |||
| 77 | * New [[Recent Activity macro>>extensions:Extension.Activity Macro]]. {{warning}}Will be renamed to ##activity## in XE 2.6RC2{{/warning}} | ||
| 78 | |||
| 79 | == Miscellaneous == | ||
| 80 | |||
| 81 | * Scheduler jobs can be located in any page in the wiki and not only in the Scheduler space. | ||
| 82 | * Converted [[several Administration application pages>>https://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+XAADMINISTRATION+AND+fixVersion+%3D+%221.42%22]] to XWiki Syntax 2.0 | ||
| 83 | * Improved livetable performance by [[throttling the requests>>http://ajaxpatterns.org/Submission_Throttling]] sent (one every few milliseconds). | ||
| 84 | * All the translations have been updated | ||
| 85 | |||
| 86 | == For developers == | ||
| 87 | |||
| 88 | * Added new event types: add/update/delete comment/annotation/attachment((( | ||
| 89 | {{warning}}The classes will change package during the 2.6 RC2 release.{{/warning}} | ||
| 90 | ))) | ||
| 91 | * Added ability to define in ##xwiki.properties## which Rendering Transformations to execute when rendering a document. | ||
| 92 | * Replace Velocity Date Tool by Velocity Date Comparison Tool which offers even more APIs. | ||
| 93 | |||
| 94 | = Known issues = | ||
| 95 | |||
| 96 | * [[Bugs we know about>>https://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&&type=1&pid=10010&resolution=-1&sorter/field=updated&sorter/order=DESC]] | ||
| 97 | |||
| 98 | = Backward Compatibility and Migration Notes = | ||
| 99 | |||
| 100 | == General Notes == | ||
| 101 | |||
| 102 | {{warning}} | ||
| 103 | If you're running in a multiwiki setup you'll also need to define the property //xwiki.store.migration.databases=all// to your //xwiki.cfg// file or explicitly name all databases to be migrated as in //xwiki.store.migration.databases=db1,db2,...//. | ||
| 104 | {{/warning}} | ||
| 105 | |||
| 106 | You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from the improvements listed above. | ||
| 107 | |||
| 108 | {{warning}} | ||
| 109 | Always make sure you compare your //xwiki.cfg// file with the newest version since some configuration parameters were added. Note you should add //xwiki.store.migration=1// so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything. | ||
| 110 | {{/warning}} | ||
| 111 | |||
| 112 | == Notes specific to XWiki Enterprise 2.6 RC1 == | ||
| 113 | |||
| 114 | * The Main.RecentChages page was removed and replaced by Main.RecentActivity | ||
| 115 | * The configuration option controlling the experimental CSRF protection mechanism introduced in 2.5 was changed from ##core.csrf.enabled## to ##csrf.enabled##. If you are using CSRF protection, make sure to re-enable it by setting ##csrf.enabled = true## in ##xwiki.properties##. | ||
| 116 | * The configuration option to define macro categories was changed from ##rendering.macroCategories## to ##rendering.transformation.macro.categories##. If you're using this option make sure you modify its name in ##xwiki.properties##. | ||
| 117 | |||
| 118 | == API Breakages == | ||
| 119 | |||
| 120 | The following APIs were modified since XWiki Enterprise 2.5: | ||
| 121 | |||
| 122 | {{code language="none"}} | ||
| 123 | ERROR: 7006: org.xwiki.annotation.maintainer.AbstractAnnotationMaintainer: Return type of method 'protected void recomputeProperties(org.xwiki.annotation.Annotation, java.util.Collection, java.lang.String, org.xwiki.annotation.content.AlteredContent, java.lang.String)' has been changed to boolean | ||
| 124 | ERROR: 7012: org.xwiki.bridge.SkinAccessBridge: Method 'public java.lang.String getIconURL(java.lang.String)' has been added to an interface | ||
| 125 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public org.xwiki.rendering.block.Block getNextSibling()' has been added to an interface | ||
| 126 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public org.xwiki.rendering.block.Block getPreviousSibling()' has been added to an interface | ||
| 127 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void removeBlock(org.xwiki.rendering.block.Block)' has been added to an interface | ||
| 128 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void setNextSiblingBlock(org.xwiki.rendering.block.Block)' has been added to an interface | ||
| 129 | ERROR: 7012: org.xwiki.rendering.block.Block: Method 'public void setPreviousSiblingBlock(org.xwiki.rendering.block.Block)' has been added to an interface | ||
| 130 | ERROR: 6001: org.xwiki.rendering.block.NewLineBlock: Removed field NEW_LINE_BLOCK | ||
| 131 | ERROR: 6001: org.xwiki.rendering.block.SpaceBlock: Removed field SPACE_BLOCK | ||
| 132 | ERROR: 7002: org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.Properties getMacroCategories()' has been removed | ||
| 133 | ERROR: 7012: org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.List getTransformations()' has been added to an interface | ||
| 134 | ERROR: 6001: org.xwiki.rendering.listener.reference.ResourceType: Removed field IMAGE | ||
| 135 | ERROR: 8001: org.xwiki.rendering.macro.AbstractMacro: Class org.xwiki.rendering.macro.AbstractMacro removed | ||
| 136 | ERROR: 8001: org.xwiki.rendering.macro.AbstractNoParameterMacro: Class org.xwiki.rendering.macro.AbstractNoParameterMacro removed | ||
| 137 | ERROR: 8001: org.xwiki.rendering.macro.Macro: Class org.xwiki.rendering.macro.Macro removed | ||
| 138 | ERROR: 8001: org.xwiki.rendering.macro.MacroCategoryManager: Class org.xwiki.rendering.macro.MacroCategoryManager removed | ||
| 139 | ERROR: 8001: org.xwiki.rendering.macro.MacroExecutionException: Class org.xwiki.rendering.macro.MacroExecutionException removed | ||
| 140 | ERROR: 8001: org.xwiki.rendering.macro.MacroId: Class org.xwiki.rendering.macro.MacroId removed | ||
| 141 | ERROR: 8001: org.xwiki.rendering.macro.MacroIdFactory: Class org.xwiki.rendering.macro.MacroIdFactory removed | ||
| 142 | ERROR: 8001: org.xwiki.rendering.macro.MacroLookupException: Class org.xwiki.rendering.macro.MacroLookupException removed | ||
| 143 | ERROR: 8001: org.xwiki.rendering.macro.MacroManager: Class org.xwiki.rendering.macro.MacroManager removed | ||
| 144 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: Class org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor removed | ||
| 145 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.ContentDescriptor: Class org.xwiki.rendering.macro.descriptor.ContentDescriptor removed | ||
| 146 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.DefaultContentDescriptor: Class org.xwiki.rendering.macro.descriptor.DefaultContentDescriptor removed | ||
| 147 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Class org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor removed | ||
| 148 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Class org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor removed | ||
| 149 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.MacroDescriptor: Class org.xwiki.rendering.macro.descriptor.MacroDescriptor removed | ||
| 150 | ERROR: 8001: org.xwiki.rendering.macro.descriptor.ParameterDescriptor: Class org.xwiki.rendering.macro.descriptor.ParameterDescriptor removed | ||
| 151 | ERROR: 8001: org.xwiki.rendering.macro.parameter.MacroParameterException: Class org.xwiki.rendering.macro.parameter.MacroParameterException removed | ||
| 152 | ERROR: 8001: org.xwiki.rendering.macro.parameter.ParameterValueTooHighException: Class org.xwiki.rendering.macro.parameter.ParameterValueTooHighException removed | ||
| 153 | ERROR: 8001: org.xwiki.rendering.macro.parameter.ParameterValueTooLowException: Class org.xwiki.rendering.macro.parameter.ParameterValueTooLowException removed | ||
| 154 | ERROR: 8001: org.xwiki.rendering.transformation.MacroTransformationContext: Class org.xwiki.rendering.transformation.MacroTransformationContext removed | ||
| 155 | ERROR: 7002: org.xwiki.rendering.wiki.WikiModel: Method 'public java.lang.String getAttachmentURL(org.xwiki.rendering.listener.reference.ResourceReference)' has been removed | ||
| 156 | ERROR: 7012: org.xwiki.rendering.wiki.WikiModel: Method 'public java.lang.String getLinkURL(org.xwiki.rendering.listener.reference.ResourceReference)' has been added to an interface | ||
| 157 | ERROR: 7002: org.xwiki.rendering.macro.box.AbstractBoxMacro: Method 'public org.xwiki.component.manager.ComponentManager getComponentManager()' has been removed | ||
| 158 | ERROR: 7002: org.xwiki.rendering.macro.box.AbstractBoxMacro: Method 'protected org.xwiki.rendering.parser.Parser getSyntaxParser(org.xwiki.rendering.transformation.MacroTransformationContext)' has been removed | ||
| 159 | ERROR: 7006: org.xwiki.rendering.macro.box.BoxMacroParameters: Return type of method 'public java.lang.String getImage()' has been changed to org.xwiki.rendering.listener.reference.ResourceReference | ||
| 160 | ERROR: 7005: org.xwiki.rendering.macro.box.BoxMacroParameters: Parameter 1 of 'public void setImage(java.lang.String)' has changed its type to org.xwiki.rendering.listener.reference.ResourceReference | ||
| 161 | ERROR: 7002: org.xwiki.rendering.scaffolding.MockWikiModel: Method 'public java.lang.String getAttachmentURL(org.xwiki.rendering.listener.reference.ResourceReference)' has been removed | ||
| 162 | {{/code}} |