Wiki source code of ReleaseNotesXWiki10RC5

Last modified by Thomas Mortagne on 2017/03/24

Hide last authors
Vincent Massol 1.1 1 1 Release Notes for XWiki 1.0 RC 5
2
3 The 1.0 RC 5 release fixes some last important bugs leading to the final 1.0 release. If no new important bugs are found one week after the RC 5 release, it'll be automatically promoted as the final 1.0 release.
4
5 #toc("" "" "")
6
7 1.1 Changes from 1.0 RC 4
8
9 * Bugs fixed:
Vincent Massol 1.2 10 ** XWIKI-1205 - Going to the Main.WebHome page on a wiki with an empty database generates a NPE
11 ** XWIKI-1210 - Nested lists are discarded by WYSIWYG editor
12 ** XWIKI-1224 - Html tags is escaped when we switch from wysiwyg editor to wiki editor
13 ** XWIKI-1225 - Entering a multiline cell content only keeps the first line when saved in WYSIWYG mode
14 ** XWIKI-1227 - Incorrect paragraph when copy and paste from other editor to WYSIWYG editor
15 ** XWIKI-1229 - Toolbar in Wysiwyg Editor cannot wrap properly under IE7
16 ** XWIKI-1233 - Unindent button greyed out even though line is indented
17 ** XWIKI-1234 - Editor doesn't understand the 1. syntax notation for lists
Vincent Massol 1.3 18 ** XWIKI-1238 - Horizontal line breaks table
Vincent Massol 1.1 19 * Improvement
Vincent Massol 1.2 20 ** XWIKI-1228 - Change the style sheet for select list in toolbar of WYSIWYG editor
21 ** XWIKI-1237 - Add handle button toolbar for font size and font family select in toolbar of visual editor.
Vincent Massol 1.1 22
23 #error("IMPORTANT: XWiki 1.0 RC 2 fixes an important security issue in past releases where passwords were stored in clear in the database. Passwords are now hashed. If you are upgrading from a previous version, any new user or any password update will automatically get the password hashed. However existing users who do not change their passwords will still have their passwords in clear in the database. Thus, we are providing {attach:a tool to automatically hash all passwords from an existing database|document=Main.ReleaseNotesXWiki10RC2|file=CryptPasswords.xar}. Start by backuping your wiki by doing an export or backuping your database. Then import that XAR into your wiki (be sure to be logged as an Admin) and then go to the Admin.CryptPasswords and follow the instructions there.")
24
Thomas Mortagne 5.1 25 See the [full list of changes>https://jira.xwiki.org/secure/ReleaseNote.jspa?version=10233&styleName=Html&projectId=10010&Create=Create].
Vincent Massol 1.1 26
27 1.1 Known issues
28
Thomas Mortagne 5.1 29 * [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]
Vincent Massol 1.1 30 * Backlinks are used to find all the links to rename when renaming a page. However backlinks are saved when a page is saved thus it may happen that you don't have all backlinks generated with a clean XWiki database. In this special case, you can call the following in a page to refresh all links (you'll need to be admin to do this):
31 {code}
Vincent Massol 3.1 32 $xwiki.refreshLinks()
Vincent Massol 1.1 33 {code}
34
35 1.1 Migrating from versions prior or equal to XWiki 1.0 Beta 4
36
37 This is only for users using a custom ~~web.xml~~ file. We have changed slightly the way to configure XWiki in XWiki 1.0 Beta 5. Namely we have changed the way XWiki is initialized. Before, we were initializing Velocity by using the ~~VelocityViewServlet~~ in ~~web.xml~~. This has been removed and we've added a ~~InitializationServletContextListener~~ class to perform all required XWiki initializations (right now we're only initializing Velocity). Thus if you've been using some version older than 1.0 Beta 5, you'll need to do the following if you wish to keep your web.xml (otherwise simply use the provided web.xml and skin this section):
38
39 # Remove the VelocityViewServlet from your web.xml
40 # Add the following 2 elements to your web.xml: context-param, listener. Here's an example:
41
42 {code:xml}
43 <web-app>
44 ...
45 <description>XWiki Application</description>
46
47 <!-- Define context level parameters for XWiki's initialization -->
48 <context-param>
49 <param-name>org.apache.velocity.properties</param-name>
50 <param-value>/WEB-INF/velocity.properties</param-value>
51 <description>Velocity's configuration</description>
52 </context-param>
53
54 <filter>
55 ...
56 </filter-mapping>
57
58 <!-- XWiki's initialization is done in a Servlet Context Listener. This is where we set up
59 everything that should be initialized prior to XWiki servicing requests. For example this
60 is where we initialize Velocity. -->
61 <listener>
62 <listener-class>com.xpn.xwiki.web.InitializationServletContextListener</listener-class>
63 </listener>
64
65 <servlet>
66 ...
67 {code}
68
69 #warning("In addition if you're upgrading an existing installation make sure you remove previous version of the Velocity JARs located in ~~xwiki/WEB-INF/lib~~ (Velocity and Velocity-Tools) and replace them with the new versions (Velocity 1.5 Beta 2 and Velocity-Tools 1.3) which can be found in the standalone distribution (the .exe or .tar.gz version)")
70
71 Make sure you check the additional migration notes for the specific version you're migrating from below.
72
73 1.1 Migration from versions between 1.0 Beta 2 and 1.0 RC 3
74
75 * Start by making a backup of your current database.
76 * Plug your new XWiki install to point to your database.
Vincent Massol 3.4 77 * [Import>platform:AdminGuide.ImportExport] the latest version of the [Panels application>extensions:Extension.Panels Application] to ensure you have the most up to date Panels in your wiki. Be careful that existing Panels which are also in the Panels Application will be overwritten (new Panels you have created won't be touched). Note that this is an optional step but recommended if you haven't upgraded to the latest XWiki version for a long time as there might be improvements in the Panels.
Vincent Massol 1.1 78
79 #info("If you're migrating from a RC version you don't need to import the Default wiki XAR as no changes have been made to it")
80
81 1.1 Migration from 1.0 Beta 1
82
83 * Start by making a backup of your current database.
84 * Plug your new XWiki install to point to your database.
Sergiu Dumitriu 3.2 85 * In order to be able to let users switch from "simple" to "advanced" modes, you should import the new XWiki.XWikiUsers and XWiki.XWikiUserSheet pages in your wiki. You can do that by importing the [full XAR>xwiki:Main.Download] and then selecting only that page to be imported in the Import tab of the Administration view.
Vincent Massol 3.4 86 * You should also reimport the [Panels Application>extensions:Extension.Panels Application] since several bugs have been fixed.
Vincent Massol 1.1 87
88 1.1 Migration from 0.9.x versions
89
90 * Start by making a backup of your current database.
91 * Then there are 2 possible use cases:
Vincent Massol 2.1 92 ** __You want to keep your existing skin__. In that case, [install>platform:AdminGuide.Installation] the new version and point it to your existing database. If you were using the default skin you'll need to go the Administration page and replace the skin with "dodo" (this is the new name of the old default skin).
Vincent Massol 3.4 93 ** __You want to use the new Albatross skin with your current database__. In that case, [install>platform:AdminGuide.Installation] the new version and point it to your existing database. Then start XWiki and [import>platform:AdminGuide.ImportExport] the [Panels XAR>extensions:Extension.Panels Application] (this is required as the new skin makes use of them). Last, go to your wiki Administration page and in the skin section, enter "xwiki10b1".
Sergiu Dumitriu 3.2 94 * In order to be able to let users switch from "simple" to "advanced" modes, you should import the new XWiki.XWikiUsers and XWiki.XWikiUserSheet pages in your wiki. You can do that by importing the [full XAR>xwiki:Main.Download] and then selecting only that page to be imported in the Import tab of the Administration view.
Vincent Massol 1.1 95
Vincent Massol 2.1 96 Contact us on the [mailing list>dev:Community.MailingLists] if you're experiencing any problem. Just make sure you have your current database backed up before you do anything.
Vincent Massol 1.1 97
98

Get Connected