Wiki source code of XWiki Enterprise 2.4 Milestone 2
Last modified by Thomas Mortagne on 2023/10/13
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="**Contents**"}} | ||
2 | {{toc/}} | ||
3 | {{/box}} | ||
4 | |||
5 | Second milestone of the XWiki Enterprise 2.4 version ([[Roadmap>>Main.Roadmap]]). | ||
6 | |||
7 | The highlights of this release are: object and classes edition improvements and especially the possibility the remove classes properties, template based page creation, invitations and more security improvements. | ||
8 | |||
9 | = New and Noteworthy (since XWiki Enterprise 2.4 Milestone 1) = | ||
10 | |||
11 | == Objects and classes editor improvements == | ||
12 | |||
13 | The object and class editor are now fully panel-less, which among other things means that you have the full object/class editors UI even in an empty wiki without having to import the needed XE xar. | ||
14 | |||
15 | [[image:objecteditor.png||style="border:1px solid black;" width="500"]] | ||
16 | |||
17 | The class editor also adds better refactoring capabilities: | ||
18 | |||
19 | * reorder class properties | ||
20 | * delete a class property | ||
21 | |||
22 | [[image:classeditor.png||style="border:1px solid black;" width="500"]] | ||
23 | |||
24 | There are also many other small ergonomics improvements to discover ! | ||
25 | |||
26 | == New Template-based page creation == | ||
27 | |||
28 | Starting with this release users and applications can provide documents that can be used as template when creating new pages. The new document (content, objects and other metadata) will be replicated from the template. | ||
29 | |||
30 | * After you have [[created the template and the template provider>>extensions:Extension.Administration Application#HEasyTemplatesCreationandAdministration28StartingwithXWikiEnterprise2.4M229]] you can then start creating pages from this template: | ||
31 | |||
32 | image:1gcreatedocument.jpg | ||
33 | |||
34 | * "Wanted Links" also offers the choice to create the new document from the available templates ( "My Template" template in the image below): | ||
35 | |||
36 | image:1ipopup.jpg | ||
37 | |||
38 | Find more details about the template creation and administration on the [[documentation page>>extensions:Extension.Administration Application#HEasyTemplatesCreationandAdministration28StartingwithXWikiEnterprise2.4M229]]. | ||
39 | |||
40 | == New Invitation Manager application == | ||
41 | |||
42 | The Invitation Manager application allows users to send emails, inviting friends and colleagues to join a wiki. You will be able to configure your wiki to send emails through an open mail relay on the server or through an email account of your choosing. | ||
43 | |||
44 | An invitation may allow users to register in a wiki where registration is forbidden. Invitees may choose to accept or decline an invitation. Spam prevention measures ensure that email recipients will have a button to report that message as abuse. | ||
45 | |||
46 | Internationalized and configurable email templates generate rich HTML email content from user input. | ||
47 | |||
48 | image:InvitationSending.png | ||
49 | |||
50 | Learn how you can configure this application by visiting the [[application page>>extensions:Extension.Invitation Application]]. | ||
51 | |||
52 | == New search application improvements == | ||
53 | |||
54 | * The improvements facilitate search on the main wiki of a farm. They make it possible for you to select the wikis where to search in using the LuceneSearch page. | ||
55 | |||
56 | [[image:wikiselection.png||style="border:1px solid black;"]] | ||
57 | |||
58 | == WYSIWYG Improvements == | ||
59 | |||
60 | * Added the ability to insert macros with a single click from the tool bar | ||
61 | [[image:insertMacroFromToolBar.png]] | ||
62 | * Added a 'paste with filtered styles' button on the tool bar | ||
63 | [[image:pasteIconOnToolBar.png]] | ||
64 | * Wysiwyg editor import from office feature now filter style by default | ||
65 | |||
66 | == JMX Administration Console == | ||
67 | |||
68 | * XWiki is now using [[JMX to provide runtime Monitoring information>>Documentation.AdminGuide.Monitoring]]. | ||
69 | * The first usage implemented is about monitoring the JBoss cachad and the Velocity Macro caches, as shown below: | ||
70 | |||
71 | image:Documentation.AdminGuide.Monitoring@jconsole1.png | ||
72 | |||
73 | == Watchlist improvements == | ||
74 | |||
75 | * Allow to remove elements in the watchlist from the user profile | ||
76 | * Add in virtual mode, add a wikis section in "elements in your watchlist" | ||
77 | |||
78 | [[image:watchlist.png||style="border:1px solid black;"]] | ||
79 | |||
80 | == Script improvements == | ||
81 | |||
82 | * Make the Query Manager use the Script Service to expose services to scripts. See [[Query Guide>>Documentation.DevGuide.QueryGuide]] for more details. | ||
83 | * Make possible to directly return the Block based result of a script macro. It's supported for all JSR 223 macro which means all script macro script Velocity macro for now. See [[Script Macro>>extensions:Extension.Script Macro]] for more details. | ||
84 | * Prevent nested script macros by default: It's now impossible for the output of a script macro to become another script macro for security reasons. See [[Script Macro>>extensions:Extension.Script Macro]] for more details. | ||
85 | |||
86 | == Javascript improvements == | ||
87 | |||
88 | * Start writing a Javascript mirror of the XWiki data model: Document.getURL | ||
89 | * New "suggestDocuments" behavior for input fields | ||
90 | |||
91 | == Miscelaneous == | ||
92 | |||
93 | * Allow to make document titles mandatory when editing | ||
94 | * Confluence syntax parser bugfixes | ||
95 | |||
96 | == Dependencies upgrade == | ||
97 | |||
98 | * Doxia 1.1.3 | ||
99 | * JODConverter 3.0 beta3 | ||
100 | * JBossCache 3.2.5.GA | ||
101 | * Groovy 1.7.3 | ||
102 | * Script.aculo.us 1.8.3 | ||
103 | * Jython 2.5.2b1 | ||
104 | |||
105 | == Translations == | ||
106 | |||
107 | * All the translations have been updated | ||
108 | |||
109 | = Known issues = | ||
110 | |||
111 | * [[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]] | ||
112 | |||
113 | = Backward Compatibility and Migration Notes = | ||
114 | |||
115 | == General Notes == | ||
116 | |||
117 | {{warning}} | ||
118 | 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,...//. | ||
119 | {{/warning}} | ||
120 | |||
121 | You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from the improvements listed above. | ||
122 | |||
123 | {{warning}} | ||
124 | 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. | ||
125 | {{/warning}} | ||
126 | |||
127 | == Migration Notes == | ||
128 | |||
129 | * The default execution order of syntax 1.0 renderers was changed, now groovy scripts are executed before velocity. You can change the order using ##xwiki.render.renderingorder## configuration option in [[xwiki.cfg>>Documentation.AdminGuide.Configuration#HSamplexwiki.cfg]]. | ||
130 | * It's now impossible for the output of a script macro to become another script macro. If you need this functionality, you can get it by opening xwiki/WEB-INF/lib/[[xwiki-core-rendering-macro-script-2.4.jar>>extensions:Extension.Script Macro]] and inside of the jar, editing /META-INF/[[components.txt>>extensions:Extension.Component Module]] and removing the line which says: | ||
131 | ##org.xwiki.rendering.internal.macro.script.NestedScriptMacroValidator## | ||
132 | |||
133 | == API Breakages == | ||
134 | |||
135 | * ##org.xwiki.rendering.listener.DefaultAttachement## as been renamed to ##org.xwiki.rendering.listener.DefaultAttachment## | ||
136 | * jodconverter packages and some classes names has been modified in 3.0 beta3 | ||
137 | |||
138 | The following APIs were modified since XWiki Enterprise 2.3: | ||
139 | |||
140 | {{code language="none"}} | ||
141 | [ERROR] org.xwiki.rendering.listener.DefaultAttachement: Class org.xwiki.rendering.listener.DefaultAttachement removed | ||
142 | [ERROR] org.xwiki.rendering.transformation.MacroTransformationContext: Method 'public org.xwiki.rendering.internal.transformation.MacroTransformation getMacroTransformation()' has been removed | ||
143 | [ERROR] org.xwiki.rendering.transformation.MacroTransformationContext: Method 'public void setMacroTransformation(org.xwiki.rendering.internal.transformation.MacroTransformation)' has been removed | ||
144 | [ERROR] org.xwiki.rendering.transformation.Transformation: Method 'public void transform(org.xwiki.rendering.block.Block, org.xwiki.rendering.transformation.TransformationContext)' has been added to an interface | ||
145 | [ERROR] org.xwiki.rendering.transformation.TransformationManager: Method 'public void performTransformations(org.xwiki.rendering.block.Block, org.xwiki.rendering.transformation.TransformationContext)' has been added to an interface | ||
146 | [ERROR] org.xwiki.officeimporter.openoffice.OpenOfficeManager: Return type of method 'public net.sf.jodconverter.OfficeDocumentConverter getDocumentConverter()' has been changed to org.artofsolving.jodconverter.OfficeDocumentConverter | ||
147 | [ERROR] org.xwiki.model.ModelContext: Method 'public void setCurrentEntityReference(org.xwiki.model.reference.EntityReference)' has been added to an interface | ||
148 | [ERROR] org.xwiki.bridge.DocumentAccessBridge: Method 'public void setCurrentUser(java.lang.String)' has been added to an interface | ||
149 | [ERROR] org.xwiki.velocity.VelocityEngine: Method 'public void clearMacroNamespace(java.lang.String)' has been added to an interface | ||
150 | {{/code}} |