Version 2.0
Version 2.0 will improve how Cloud Wiki works with its database to protect the wiki against abrupt termination of the server by using BEGIN/COMMIT to enclose the entire transaction, instead of individual operations. Version 2.0 will also introduce workarounds for Windows servers, including the Import Signal On Windows bug.
In addition, Version 2.0 introduces functionality for invoking Cloud Wiki as a CGI script, instead of a long running process. While it Cloud Wiki runs best as its own web server, behind a reverse proxy, deployment constraints sometimes require that dynamic content be rendered from a CGI. See "Deploying Cloud Wiki As a CGI" for more information.
Changes introduced in Version 2.0:
- Added the set-uid and set-gid configuration settings for POSIX deployments where Cloud Wiki may be started as root to serve ports below 1024. -- Suggested by Dimitrios Apostolou.
- Changes to node content, addition of nodes, and removal of nodes, are now done in a single database transaction. This protects the database from the possibility of an abrupt termination of the server leaving the database in a compromised state. ( Very, very rare possibility in the current usage model, but it's best to be prepared. )
- Aesthetic cleanup of the server module to remove legacy functionality predating Version 1.0 and add documentation.
- Added a new CGI interface for deployments where a long running process is not acceptable.
- Added new scripts for starting and stopping the a wiki server process under windows.
- Added a longer timeout to tolerate database locking conflicts from multiple CGI transactions accessing the same Sqlite database.
- Better support for using MD5 user authentication.
- Added a gateway for listing all nodes in a wiki.
- Added a syntax for producing subheadings, and changed headings to produce HTML Hn tags instead of using paragraphs with the heading class.
- setup.py installation should now work under Python 2.3, thanks to work from Samuel Reynolds from Spinward Stars.
- cloud_wiki/fragment.py updated to replace concatenation with "/" with use of the more portable os.path.join, also thanks to work from Samuel Reynolds.
Migration from 1.x to 2.0:
1) Stop the old server, using cloud-wiki stop
2) Back up your current wiki database file.
3) Extract and install the new server.
4) Invoke cloud-wiki migrate to empty content caches, create the new session table and update minor-version and major-version settings on the database. If you are using Cloud authentication (see site-auth), this will also automatically migrate you to MD5 authentication.
5) Start the new server, using cloud-wiki start
This node is a part of the Cloud Wiki Manual.