Version 35.4 by Vincent Massol on 2012/09/13

Hide last authors
Sergiu Dumitriu 1.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
Eduard Moraru 35.3 5 This is the third and final milestone of the XWiki Enterprise 4.2 version ([[Main.Roadmap]]). This release brings new and improved UIs for file upload, logging configuration, an applications panel and the experimental install/upgrade wizard. For developers this release introduces many features: a new file upload widget, minor improvements of the attachment picker and documents macros, the ability to add skin extensions located in JAR files, a new field (mime-type) to index attachments by, an extension of the xar format and an experimental UI extension mechanism.
Sergiu Dumitriu 1.1 6
7 = New and Noteworthy (since XWiki Enterprise 4.2 Milestone 2) =
8
9 == Improved upload UI ==
10
Sergiu Dumitriu 2.1 11 The new HTML5 FileUploader has been integrated in a few places:
Sergiu Dumitriu 1.1 12
Sergiu Dumitriu 2.1 13 * The standard attachment upload form
14 * The Import section of the Administration
Sergiu Dumitriu 1.1 15
Sergiu Dumitriu 2.1 16 See [[below>>||anchor="HNewHTML5FileUploadwidget"]] for more details about this feature.
17
Thomas Mortagne 3.1 18 == New logging administration UI ==
19
20 It's now possible to review and modify the log level for all registered loggers.
21
Thomas Mortagne 4.1 22 {{image reference="extensions:Extension.Logging Application@loggingadmin.png"/}}
Thomas Mortagne 3.1 23
Vincent Massol 10.1 24 == IRC Bot Application Improvements ==
25
26 The [[IRC Bot Application>>extensions:Extension.IRC Bot Application]] now recognizes XAR import events and when receiving one, it doesn't send subsequent IRC notifications for modified or created documents to avoid spamming the IRC channel.
27
Vincent Massol 12.1 28 == New Content Macro ==
29
Vincent Massol 35.4 30 The [[new Content macro>>extensions:Extension.Content Macro]] allows to enter content in any of the supported Syntaxes and thus allows to have content written in various syntaxes. For example, in a page in XWiki Syntax 2.0:
Vincent Massol 12.1 31
32 {{code}}
33 This is in **bold**
34
35 {{content syntax="confluence/1.0"}}
36 This is *bold* too!
37 {{/content}}
38 {{/code}}
39
Marius Dumitru Florea 22.1 40 == Experimental install/upgrade wizard ==
41
Marius Dumitru Florea 25.1 42 Accessing a wiki page in view mode after an upgrade or when the database is empty (new install) will trigger a wizard that will allow you to install or update the default set of wiki pages and to upgrade or downgrade the extensions you may have previously installed.
Marius Dumitru Florea 23.1 43
Marius Dumitru Florea 25.1 44 The wizard currently has two steps. In the first step you can see which XWiki distribution you are running and what is its recommended default set of wiki pages (the default user interface). You should install, upgrade or downgrade the UI so that it matches the distribution version.
45
Marius Dumitru Florea 22.1 46 {{image reference="Distribution-MainUI.png"/}}
47
Marius Dumitru Florea 25.1 48 The step has three possible actions:
49
50 * Skip means 'go to the next step and ask me again after a server restart'
51 * Cancel means 'go to the next step and don't ask me again until I change my distribution'
52 * Continue, only after the recommended UI version is installed
53
54 In the second step you can upgrade the installed extensions. We group them in two categories:
55
56 * extensions that don't work with your current distribution but which have new versions available that are compatible with your current distribution. These extension require an upgrade.
57 * extensions that should work fine with your current distribution but which have upgrades available. Upgrading these extensions is optional.
58
Marius Dumitru Florea 22.1 59 {{image reference="Distribution-OutdatedExtensions.png"/}}
60
Marius Dumitru Florea 26.1 61 You can refresh the list of extensions by clicking on the Reload button. The Skip and Cancel buttons have the same meaning as in the previous step. The Continue button is available only after the required upgrades are performed.
Marius Dumitru Florea 25.1 62
63 At the end you'll be redirected back to the wiki page you have accessed in the first place.
64
Jean-Vincent Drean 28.2 65 == New Applications Panel ==
66
67 There's now a new "Applications" panel by default in XWiki Enterprise. This panel displays the applications present in your wiki.
68
69 {{image reference="applicationsPanelStandard.png"/}}
70
71 Administrators will get a couple of additional links, allowing them to install applications through the [[Extension Manager>>extensions:Extension.Extension Manager Application]], or to create new applications thanks to the [[App Within Minutes feature>>extensions:Extension.App Within Minutes Application]].
72
73 {{image reference="applicationsPanel.png"/}}
74
Jean-Vincent Drean 34.1 75 {{info}}
76 Note for application developers: your applications can provide their own entries in this menu by [[declaring a UI Extension>>extensions:Extension.UIExtension Module]].
77 {{/info}}
78
Vincent Massol 30.1 79 == Chart Macro Improvements ==
Vincent Massol 17.1 80
Vincent Massol 24.1 81 * The [[Chart macro>>extensions:Extension.Chart Macro]] will now automatically default to the ##inline## Data Source type when not specified and the Chart Macro has some content.
Vincent Massol 29.1 82 * [[Two new Chart types have been added: XY Line 3D and XY Step>>extensions:Extension.Chart Macro]]. Examples:(((
83 {{image reference="timeseries-line3D.png"/}}
Vincent Massol 17.1 84
Vincent Massol 29.1 85 {{image reference="timeseries-step.png"/}}
86 )))
87
Vincent Massol 30.1 88 == Miscellaneous ==
89
90 * Display the request URL in the IRC channel when the Link Checker bot listener is active and a broken link is found, thus making it easier to reproduce and debug the broken link
91
Sergiu Dumitriu 1.1 92 = For Developers =
93
94 == New HTML5 File Upload widget ==
95
96 The [[File Upload widget>>doc:platform:DevGuide.HTML5Upload]] can enhance HTML input elements of type file to provide an interactive upload UI. It can submit files either automatically when the user selects local files, or after the user presses the container form's submit button.
97
98 To use this widget, it is enough to create a new instance of ##XWiki.FileUploader## passing the target ##input## element as the first parameter, and an optional configuration object as the second parameter.
99
100 {{code language="javascript"}}
101 new XWiki.FileUploader(targetInput, {
102 autoUpload: true,
103 progressAutohide: true
104 });
105 {{/code}}
106
107 [[image:platform:DevGuide.HTML5Upload@html5uploads.png||class="screenshot"]]
108
Vincent Massol 5.1 109 == JSRX and SSRX ==
110
Vincent Massol 5.3 111 It's now possible by default to add [[skin extensions>>extensions:Extension.Skin Extension Plugin]] located in JAR files. Example usage:
Vincent Massol 5.1 112
113 {{code}}
114 $xwiki.jsrx("/lib/codemirror.js")
115 $xwiki.ssrx("/lib/codemirror.css")
116 {{/code}}
117
Vincent Massol 6.1 118 == Documents Macro improvements ==
119
Marius Dumitru Florea 23.1 120 The ##~{~{documents}}## macro [[now supports specifying the list of columns to display>>extensions:Extension.Documents Macro]]. For example:
Vincent Massol 6.1 121
122 {{code}}
123 {{documents count="5" actions="false" space="Main" parent="Main.WebHome" columns="doc.title"/}}
124 {{/code}}
125
126 would display:
127
128 {{image reference="documents-columns.png"/}}
129
Sergiu Dumitriu 8.1 130 == Attachment Picker improvements ==
131
132 It is now possible to specify a different document for the source (and target in case of uploads) of attachments, using the new ##targetdocname## macro parameter.
133
Sergiu Dumitriu 9.1 134 == Search improvements ==
135
136 The Lucene index also stores the MIME type of the indexed attachments, allowing to customize the search to only include or exclude attachments of a certain type. The new field is named [[##mimetype##>>doc:extensions:Extension.Search Application Query Syntax||anchor="Hmimetype"]] and it contains a valid MIME type string, as returned by the container in which XWiki is running. For example, add ##-mimetype:image/*## to a query to exclude all image attachments from the results, or add ##mimetype:application/pdf## to only search inside PDF attachments.
137
138 Remember that in case of an upgrade, you have to rebuild the entire index to have this new field for existing documents.
139
Thomas Mortagne 15.1 140 == Extension Manager improvements ==
141
Marius Dumitru Florea 23.1 142 * the custom Maven property <xwiki.extension.features> now accept any number of new lines and white spaces between elements(((
Thomas Mortagne 15.1 143 {{code language="xml"}}
144 <xwiki.extension.features>
145 org.xwiki.platform:xwiki-platform-oldcore,
146 com.xpn.xwiki.platform:xwiki-core
147 </xwiki.extension.features>
148 {{/code}}
149 )))
Thomas Mortagne 19.1 150 * new custom properties added to overwrite standard Maven properties:
Thomas Mortagne 20.1 151 ** ##xwiki.extension.name## to overwrite ##<name>##
152 ** ##xwiki.extension.summary## to overwrite ##<description>##
153 ** ##xwiki.extension.website## to overwrite ##<url>##
Thomas Mortagne 15.1 154
155 == XAR format improvement ==
156
157 It's now possible to indicate the extension identifier right in the XAR package descriptor (package.xml). Among other things this allow standard import UI to find what it currently importing and register it automatically as installed extension if it can be found in the registered repositories during import process.
158
Thomas Mortagne 16.1 159 The XAR Maven plugin automatically take care of adding this information to the generated package.xml for Maven project. If for some reason you need to indicate it by hand you can use the property <extensionId> under the the <infos> element in the package.xml file.
160
161 {{code language="xml"}}
162 <package>
163 <infos>
164 <name>XWiki Platform - Extension - UI</name>
165 <description>XWiki Extension Manager, an application for managing extensions in a wiki.</description>
166 <licence></licence>
167 <author>XWiki.Admin</author>
168 <extensionId>org.xwiki.platform:xwiki-platform-extension-ui</extensionId>
169 <version>4.2-SNAPSHOT</version>
170 <backupPack>true</backupPack>
171 </infos>
172 <files>
173 [...]
174 </files>
175 </package>
176 {{/code}}
177
Jean-Vincent Drean 35.1 178 == New UI Extension mechanism (experimental) ==
179
180 We're in the process of allowing applications to insert custom content in pre-defined places in the user interface. A first Extension Point has been defined in the new "Applications" panel, you can read more about this in the [[UI Extension module documentation>>extensions:Extension.UIExtension Module]].
181
Sergiu Dumitriu 1.1 182 == Upgrades ==
183
184 The following dependencies have been upgraded:
185
Sergiu Dumitriu 5.4 186 * Prototype.js 1.7.1
Thomas Mortagne 14.1 187 * Jython 2.5.3
Vincent Massol 13.1 188 * Pegdown 1.1.0 (used by the XWiki Markdown Parser)
Thomas Mortagne 18.1 189 * Xalan 2.7.1
Sergiu Dumitriu 1.1 190
191 == Miscellaneous ==
192
Vincent Massol 11.1 193 * The ##AbstractMockingComponentTestCase## testing framework class has been modified. Read the [[Testing page>>dev:Community.Testing]] for more details on how to use it.
Sergiu Dumitriu 1.1 194
195 == Translations ==
196
197 The following translations have been updated:
198
Eduard Moraru 33.2 199 {{language codes="fr, pt_BR, sv"/}}
Sergiu Dumitriu 1.1 200
201 = Tested Browsers =
202
203 Here's the list of browsers tested with this version (i.e. browsers that we've tested as working - Check the list of [[supported browsers>>dev:Community.BrowserSupportStrategy]]):
204
205 {{velocity}}
206 ## name = iexplorer, firefox, chrome, safari, opera
207 {{/velocity}}
208
Eduard Moraru 26.3 209 {{browser name="firefox" version="11.0"/}}
Sergiu Dumitriu 1.1 210
211 = Known issues =
212
213 * [[Bugs we know about>>http://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=category+%3D+%22Top+Level+Projects%22+AND+issuetype+%3D+Bug+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC]]
214
215 = Backward Compatibility and Migration Notes =
216
217 == General Notes ==
218
219 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
220
221 {{warning}}
222 Always make sure you compare your ##xwiki.cfg## and ##xwiki.properties## files with the newest version since some configuration parameters were added. Note that 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.
223 {{/warning}}
224
Eduard Moraru 26.6 225 == Issues specific to XWiki Enterprise 4.2 Milestone 3 ==
Sergiu Dumitriu 1.1 226
Jean-Vincent Drean 32.1 227 === QueryFilter implementations must not be considered as singletons anymore ===
Sergiu Dumitriu 1.1 228
Jean-Vincent Drean 32.1 229 Since some ##QueryFilter## such as the "hidden" filter are not singletons anymore (ie. now a new instance is created for each lookup), they need to be retrieved with a dynamic lookup.
230
231 If you were using injection to get filters, for example:
232
233 {{code language="java"}}
234 @Inject
235 @Named("hidden")
236 QueryFilter filter;
237 {{/code}}
238
Jean-Vincent Drean 33.1 239 This **MUST** be replaced by the following in your code:
Jean-Vincent Drean 32.1 240
241 {{code language="java"}}
Jean-Vincent Drean 33.1 242 @Inject
243 @Named("hidden")
244 private Provider<QueryFilter> hiddenFilterProvider;
245
246 /* ... */
247
248 QueryFilter hiddenFilter = hiddenFilterProvider.get();
Jean-Vincent Drean 32.1 249 {{/code}}
250
251 This code will work no matter the instantiation strategy of the implementation, Singleton or Per Lookup.
252
Sergiu Dumitriu 1.1 253 == API Breakages ==
254
Eduard Moraru 26.5 255 The following APIs were modified since version 4.1.4:
Sergiu Dumitriu 1.1 256
Eduard Moraru 35.2 257 * The logging module is new and is still considered a "young API". Added new methods to manipulate loggers levels.(((
Sergiu Dumitriu 1.1 258 {{code language="none"}}
Eduard Moraru 35.2 259 org.xwiki.logging.LoggerManager: Method 'public org.xwiki.logging.LogLevel getLoggerLevel(java.lang.String)' has been added to an interface
260 org.xwiki.logging.LoggerManager: Method 'public java.util.Collection getLoggers()' has been added to an interface
261 org.xwiki.logging.LoggerManager: Method 'public void setLoggerLevel(java.lang.String, org.xwiki.logging.LogLevel)' has been added to an interface
Sergiu Dumitriu 1.1 262 {{/code}}
Eduard Moraru 35.2 263 )))
264 * The Job module is new and is still considered a "young API". Added two new methods to check and remove custom properties.(((
265 {{code language="none"}}
266 org.xwiki.job.Request: Method 'public boolean containsProperty(java.lang.String)' has been added to an interface
267 org.xwiki.job.Request: Method 'public java.lang.Object removeProperty(java.lang.String)' has been added to an interface
268 {{/code}}
269 )))
270 * New ##InstalledExtension#isValid()## method.(((
271 {{code language="none"}}
272 org.xwiki.extension.InstalledExtension: Method 'public boolean isValid(java.lang.String)' has been added to an interface
273 {{/code}}
274 )))
275 * The Extension module is relatively new and is still undergoing some API tuning. New method to access environment extension. Also added new methods to execute custom checking before installing/uninstalling an extension and new methods to access local:installed extensions.(((
276 {{code language="none"}}
277 org.xwiki.extension.repository.CoreExtensionRepository: Method 'public org.xwiki.extension.CoreExtension getEnvironmentExtension()' has been added to an interface
278 org.xwiki.extension.handler.ExtensionHandler: Method 'public void checkInstall(org.xwiki.extension.Extension, java.lang.String, org.xwiki.job.Request)' has been added to an interface
279 org.xwiki.extension.handler.ExtensionHandler: Method 'public void checkUninstall(org.xwiki.extension.InstalledExtension, java.lang.String, org.xwiki.job.Request)' has been added to an interface
280 org.xwiki.extension.repository.InstalledExtensionRepository: Method 'public org.xwiki.extension.InstalledExtension getInstalledExtension(org.xwiki.extension.ExtensionId)' has been added to an interface
281 org.xwiki.extension.repository.LocalExtensionRepository: Method 'public org.xwiki.extension.LocalExtension getLocalExtension(org.xwiki.extension.ExtensionId)' has been added to an interface
282 {{/code}}
283 )))
284 * Fix method name typo (adding new method). This interface is not really supposed to be implemented except by internal class.(((
285 {{code language="none"}}
286 org.xwiki.properties.PropertyDescriptor: Method 'public java.lang.reflect.Field getField()' has been added to an interface
287 {{/code}}
288 )))
289 * The method getPreviousBlockByType() was moved to Legacy. There's no API breakage for the user.(((
290 {{code language="none"}}
291 org.xwiki.rendering.block.CompatibilityBlock: Method 'public java.util.List getChildrenByType(java.lang.Class, boolean)' has been added to an interface
292 {{/code}}
293 )))
294 * Added method to get the author of the macro.(((
295 {{code language="none"}}
296 org.xwiki.rendering.macro.wikibridge.WikiMacro: Method 'public org.xwiki.model.reference.DocumentReference getAuthorReference()' has been added to an interface
297 {{/code}}
298 )))
299 * Add a method to the oldcore/wikimacro bridge.(((
300 {{code language="none"}}
301 org.xwiki.rendering.macro.wikibridge.WikiMacroFactory: Method 'public boolean isAllowed(org.xwiki.model.reference.DocumentReference, org.xwiki.rendering.macro.wikibridge.WikiMacroVisibility)' has been added to an interface
302 {{/code}}
303 )))
304 * These classes below have never been used. It was supposed to be the start of the removal of Struts but since it hasn't progressed so far we're removing stray code from master. Experiments should be done on feature branches.(((
305 {{code language="none"}}
306 org.xwiki.container.servlet.XWikiServlet: Class org.xwiki.container.servlet.XWikiServlet removed
307 {{/code}}
308 )))
309 * Removed protected method (registerWikiMacros) that was not supposed to be used from outside (was protected for unit tests hacks).(((
310 {{code language="none"}}
311 com.xpn.xwiki.XWiki: Method 'protected void registerWikiMacros()' has been removed
312 {{/code}}
313 )))
314 * Chart plugin has been moved from oldcore to its own module. There's no API breakage for the user.(((
315 {{code language="none"}}
316 com.xpn.xwiki.plugin.charts.Chart: Class com.xpn.xwiki.plugin.charts.Chart removed
317 com.xpn.xwiki.plugin.charts.ChartCustomizer: Class com.xpn.xwiki.plugin.charts.ChartCustomizer removed
318 com.xpn.xwiki.plugin.charts.ChartImpl: Class com.xpn.xwiki.plugin.charts.ChartImpl removed
319 com.xpn.xwiki.plugin.charts.ChartingMacro: Class com.xpn.xwiki.plugin.charts.ChartingMacro removed
320 com.xpn.xwiki.plugin.charts.ChartingPlugin: Class com.xpn.xwiki.plugin.charts.ChartingPlugin removed
321 com.xpn.xwiki.plugin.charts.ChartingPluginApi: Class com.xpn.xwiki.plugin.charts.ChartingPluginApi removed
322 com.xpn.xwiki.plugin.charts.CustomXWikiRenderingEngine: Class com.xpn.xwiki.plugin.charts.CustomXWikiRenderingEngine removed
323 com.xpn.xwiki.plugin.charts.RadeoxHelper: Class com.xpn.xwiki.plugin.charts.RadeoxHelper removed
324 com.xpn.xwiki.plugin.charts.actions.ChartingAction: Class com.xpn.xwiki.plugin.charts.actions.ChartingAction removed
325 com.xpn.xwiki.plugin.charts.exceptions.ChartingException: Class com.xpn.xwiki.plugin.charts.exceptions.ChartingException removed
326 com.xpn.xwiki.plugin.charts.exceptions.ColumnIndexOutOfBoundsException: Class com.xpn.xwiki.plugin.charts.exceptions.ColumnIndexOutOfBoundsException removed
327 com.xpn.xwiki.plugin.charts.exceptions.DataSourceException: Class com.xpn.xwiki.plugin.charts.exceptions.DataSourceException removed
328 com.xpn.xwiki.plugin.charts.exceptions.EmptyDataSourceException: Class com.xpn.xwiki.plugin.charts.exceptions.EmptyDataSourceException removed
329 com.xpn.xwiki.plugin.charts.exceptions.GenerateException: Class com.xpn.xwiki.plugin.charts.exceptions.GenerateException removed
330 com.xpn.xwiki.plugin.charts.exceptions.InvalidArgumentException: Class com.xpn.xwiki.plugin.charts.exceptions.InvalidArgumentException removed
331 com.xpn.xwiki.plugin.charts.exceptions.InvalidParamException: Class com.xpn.xwiki.plugin.charts.exceptions.InvalidParamException removed
332 com.xpn.xwiki.plugin.charts.exceptions.MissingArgumentException: Class com.xpn.xwiki.plugin.charts.exceptions.MissingArgumentException removed
333 com.xpn.xwiki.plugin.charts.exceptions.MissingDataSourceException: Class com.xpn.xwiki.plugin.charts.exceptions.MissingDataSourceException removed
334 com.xpn.xwiki.plugin.charts.exceptions.MissingMandatoryParamException: Class com.xpn.xwiki.plugin.charts.exceptions.MissingMandatoryParamException removed
335 com.xpn.xwiki.plugin.charts.exceptions.NoHeaderColumnException: Class com.xpn.xwiki.plugin.charts.exceptions.NoHeaderColumnException removed
336 com.xpn.xwiki.plugin.charts.exceptions.NoHeaderRowException: Class com.xpn.xwiki.plugin.charts.exceptions.NoHeaderRowException removed
337 com.xpn.xwiki.plugin.charts.exceptions.ParamException: Class com.xpn.xwiki.plugin.charts.exceptions.ParamException removed
338 com.xpn.xwiki.plugin.charts.exceptions.RowIndexOutOfBoundsException: Class com.xpn.xwiki.plugin.charts.exceptions.RowIndexOutOfBoundsException removed
339 com.xpn.xwiki.plugin.charts.params.AbstractChartParam: Class com.xpn.xwiki.plugin.charts.params.AbstractChartParam removed
340 com.xpn.xwiki.plugin.charts.params.BooleanChartParam: Class com.xpn.xwiki.plugin.charts.params.BooleanChartParam removed
341 com.xpn.xwiki.plugin.charts.params.CategoryLabelPositionsChartParam: Class com.xpn.xwiki.plugin.charts.params.CategoryLabelPositionsChartParam removed
342 com.xpn.xwiki.plugin.charts.params.ChartParam: Class com.xpn.xwiki.plugin.charts.params.ChartParam removed
343 com.xpn.xwiki.plugin.charts.params.ChartParams: Class com.xpn.xwiki.plugin.charts.params.ChartParams removed
344 com.xpn.xwiki.plugin.charts.params.ChoiceChartParam: Class com.xpn.xwiki.plugin.charts.params.ChoiceChartParam removed
345 com.xpn.xwiki.plugin.charts.params.ColorChartParam: Class com.xpn.xwiki.plugin.charts.params.ColorChartParam removed
346 com.xpn.xwiki.plugin.charts.params.DateChartParam: Class com.xpn.xwiki.plugin.charts.params.DateChartParam removed
347 com.xpn.xwiki.plugin.charts.params.DateFormatChartParam: Class com.xpn.xwiki.plugin.charts.params.DateFormatChartParam removed
348 com.xpn.xwiki.plugin.charts.params.DateTickMarkPositionChartParam: Class com.xpn.xwiki.plugin.charts.params.DateTickMarkPositionChartParam removed
349 com.xpn.xwiki.plugin.charts.params.DateTickUnitChartParam: Class com.xpn.xwiki.plugin.charts.params.DateTickUnitChartParam removed
350 com.xpn.xwiki.plugin.charts.params.DefaultChartParams: Class com.xpn.xwiki.plugin.charts.params.DefaultChartParams removed
351 com.xpn.xwiki.plugin.charts.params.DefaultChartParams2: Class com.xpn.xwiki.plugin.charts.params.DefaultChartParams2 removed
352 com.xpn.xwiki.plugin.charts.params.DoubleChartParam: Class com.xpn.xwiki.plugin.charts.params.DoubleChartParam removed
353 com.xpn.xwiki.plugin.charts.params.FloatChartParam: Class com.xpn.xwiki.plugin.charts.params.FloatChartParam removed
354 com.xpn.xwiki.plugin.charts.params.FontChartParam: Class com.xpn.xwiki.plugin.charts.params.FontChartParam removed
355 com.xpn.xwiki.plugin.charts.params.HorizontalAlignmentChartParam: Class com.xpn.xwiki.plugin.charts.params.HorizontalAlignmentChartParam removed
356 com.xpn.xwiki.plugin.charts.params.IntegerChartParam: Class com.xpn.xwiki.plugin.charts.params.IntegerChartParam removed
357 com.xpn.xwiki.plugin.charts.params.ListChartParam: Class com.xpn.xwiki.plugin.charts.params.ListChartParam removed
358 com.xpn.xwiki.plugin.charts.params.LocaleChartParam: Class com.xpn.xwiki.plugin.charts.params.LocaleChartParam removed
359 com.xpn.xwiki.plugin.charts.params.MapChartParam: Class com.xpn.xwiki.plugin.charts.params.MapChartParam removed
360 com.xpn.xwiki.plugin.charts.params.NumberFormatChartParam: Class com.xpn.xwiki.plugin.charts.params.NumberFormatChartParam removed
361 com.xpn.xwiki.plugin.charts.params.NumberTickUnitChartParam: Class com.xpn.xwiki.plugin.charts.params.NumberTickUnitChartParam removed
362 com.xpn.xwiki.plugin.charts.params.PlotOrientationChartParam: Class com.xpn.xwiki.plugin.charts.params.PlotOrientationChartParam removed
363 com.xpn.xwiki.plugin.charts.params.Point2DChartParam: Class com.xpn.xwiki.plugin.charts.params.Point2DChartParam removed
364 com.xpn.xwiki.plugin.charts.params.RangeTypeChartParam: Class com.xpn.xwiki.plugin.charts.params.RangeTypeChartParam removed
365 com.xpn.xwiki.plugin.charts.params.RectangleAnchorChartParam: Class com.xpn.xwiki.plugin.charts.params.RectangleAnchorChartParam removed
366 com.xpn.xwiki.plugin.charts.params.RectangleEdgeChartParam: Class com.xpn.xwiki.plugin.charts.params.RectangleEdgeChartParam removed
367 com.xpn.xwiki.plugin.charts.params.RectangleInsetsChartParam: Class com.xpn.xwiki.plugin.charts.params.RectangleInsetsChartParam removed
368 com.xpn.xwiki.plugin.charts.params.RendererClassChartParam: Class com.xpn.xwiki.plugin.charts.params.RendererClassChartParam removed
369 com.xpn.xwiki.plugin.charts.params.ShapeChartParam: Class com.xpn.xwiki.plugin.charts.params.ShapeChartParam removed
370 com.xpn.xwiki.plugin.charts.params.StringChartParam: Class com.xpn.xwiki.plugin.charts.params.StringChartParam removed
371 com.xpn.xwiki.plugin.charts.params.StrokeChartParam: Class com.xpn.xwiki.plugin.charts.params.StrokeChartParam removed
372 com.xpn.xwiki.plugin.charts.params.TimePeriodClassChartParam: Class com.xpn.xwiki.plugin.charts.params.TimePeriodClassChartParam removed
373 com.xpn.xwiki.plugin.charts.params.VerticalAlignmentChartParam: Class com.xpn.xwiki.plugin.charts.params.VerticalAlignmentChartParam removed
374 com.xpn.xwiki.plugin.charts.plots.AreaPlotFactory: Class com.xpn.xwiki.plugin.charts.plots.AreaPlotFactory removed
375 com.xpn.xwiki.plugin.charts.plots.BarPlotFactory: Class com.xpn.xwiki.plugin.charts.plots.BarPlotFactory removed
376 com.xpn.xwiki.plugin.charts.plots.CategoryPlotFactory: Class com.xpn.xwiki.plugin.charts.plots.CategoryPlotFactory removed
377 com.xpn.xwiki.plugin.charts.plots.LinePlotFactory: Class com.xpn.xwiki.plugin.charts.plots.LinePlotFactory removed
378 com.xpn.xwiki.plugin.charts.plots.PiePlotFactory: Class com.xpn.xwiki.plugin.charts.plots.PiePlotFactory removed
379 com.xpn.xwiki.plugin.charts.plots.PlotFactory: Class com.xpn.xwiki.plugin.charts.plots.PlotFactory removed
380 com.xpn.xwiki.plugin.charts.plots.TableXYDatasetFactory: Class com.xpn.xwiki.plugin.charts.plots.TableXYDatasetFactory removed
381 com.xpn.xwiki.plugin.charts.plots.TimePlotFactory: Class com.xpn.xwiki.plugin.charts.plots.TimePlotFactory removed
382 com.xpn.xwiki.plugin.charts.plots.TimeSeriesCollectionFactory: Class com.xpn.xwiki.plugin.charts.plots.TimeSeriesCollectionFactory removed
383 com.xpn.xwiki.plugin.charts.plots.XYPlotFactory: Class com.xpn.xwiki.plugin.charts.plots.XYPlotFactory removed
384 com.xpn.xwiki.plugin.charts.source.DataSource: Class com.xpn.xwiki.plugin.charts.source.DataSource removed
385 com.xpn.xwiki.plugin.charts.source.DataSourceFactory: Class com.xpn.xwiki.plugin.charts.source.DataSourceFactory removed
386 com.xpn.xwiki.plugin.charts.source.DefaultDataSource: Class com.xpn.xwiki.plugin.charts.source.DefaultDataSource removed
387 com.xpn.xwiki.plugin.charts.source.MainDataSourceFactory: Class com.xpn.xwiki.plugin.charts.source.MainDataSourceFactory removed
388 com.xpn.xwiki.plugin.charts.source.ObjectDataSourceFactory: Class com.xpn.xwiki.plugin.charts.source.ObjectDataSourceFactory removed
389 com.xpn.xwiki.plugin.charts.source.ObjectidDataSourceFactory: Class com.xpn.xwiki.plugin.charts.source.ObjectidDataSourceFactory removed
390 com.xpn.xwiki.plugin.charts.source.TableDataSource: Class com.xpn.xwiki.plugin.charts.source.TableDataSource removed
391 com.xpn.xwiki.plugin.charts.source.TableDataSourceFactory: Class com.xpn.xwiki.plugin.charts.source.TableDataSourceFactory removed
392 com.xpn.xwiki.plugin.charts.wizard.DatasourceDefaultsHelper: Class com.xpn.xwiki.plugin.charts.wizard.DatasourceDefaultsHelper removed
393 com.xpn.xwiki.plugin.charts.wizard.FontHelper: Class com.xpn.xwiki.plugin.charts.wizard.FontHelper removed
394 {{/code}}
395 )))
396 * {{todo/}}Andreas, please explain why we have to break backward compatibility for the Chart module.(((
397 {{code language="none"}}
398 org.xwiki.chart.model.ChartModel: Method 'public org.jfree.chart.axis.Axis getAxis(int)' has been added to an interface
399 org.xwiki.chart.model.ChartModel: Method 'public java.lang.Number getCellValue(int, int)' has been removed
400 org.xwiki.chart.model.ChartModel: Method 'public int getColumnCount()' has been removed
401 org.xwiki.chart.model.ChartModel: Method 'public java.lang.String getColumnHeader(int)' has been removed
402 org.xwiki.chart.model.ChartModel: Method 'public org.jfree.data.general.Dataset getDataset()' has been added to an interface
403 org.xwiki.chart.model.ChartModel: Method 'public int getRowCount()' has been removed
404 org.xwiki.chart.model.ChartModel: Method 'public java.lang.String getRowHeader(int)' has been removed
405 org.xwiki.chart.model.DefaultChartModel: Class org.xwiki.chart.model.DefaultChartModel removed
406 org.xwiki.rendering.macro.chart.ChartDataSource: Field PARAMS has been removed, but it was previously a constant
407 org.xwiki.rendering.macro.chart.ChartDataSource: Field SOURCE has been removed, but it was previously a constant
408 {{/code}}
409 )))
410 * The getParametersMap() should never have been a public API. I was probably added there just as a way to reduce the Class Fan Out, which is the wrong solution.(((
411 {{code language="none"}}
412 org.xwiki.rendering.macro.chart.ChartMacroParameters: Method 'public java.util.Map getParametersMap()' has been removed
413 {{/code}}
414 )))

Get Connected