New features:
* HINT: please read README.migration
* Login and Logout are actions now, therefore you stay on the page where
you were before.
* UserPreferences is also an action now and moved from top border (in
modern theme) to the "more actions" dropdown menu. You also stay on the
same page.
* There is also a [[Login]] macro now. You can put it on any page you want
and if the user is not logged in, it renders the login form. If the user
is logged in, it doesn't render anything.
* We check cfg.superuser to be a list of user names (as documented) and
deny superuser access if it is not. This avoids security issues by
wrong configuration.
* auth methods changed:
HINT: if you wrote own auth methods, please change them as you see in
MoinMoin/auth.py and test them again before relying on them.
* now get a user_obj kw argument that is either a user object returned
from a previous auth method or None (if no user has been made up yet).
The auth method should either return a user object (if it has
determined one) or what it got as user_obj (being "passive") or None
(if it wants to "veto" some user even if a previous method already has
made up some user object).
* return value of continue_flag is now True in most cases (except if
it wants to "veto" and abort).
* moin_cookie auth method now logs out a user by deleting the cookie and
setting user_obj.valid = 0. This makes it possible to still get the
user's name in subsequent auth method calls within the same request.
* added ldap_login and smb_mount auth methods, see MoinMoin/auth.py and
wiki/config/more_samples/ldap_smb_farmconfig.py
* MonthCalendar now takes an additional argument for specifying a template
to use to directly invoke the page editor when clicking on non-existing
day pages.
* Added ImageLink macro. Thanks to Jeff Kunce, Marcin Zalewski, Reimar
Bauer and Chong-Dae Park for working on it.
* Lupy stuff (still experimental, partly broken and disabled by default):
* Attachment search using lupy (lupy_search = 1 in your config)
Title search will also search attachment filenames.
Full text search will also search attachment contents.
* Indexing filter plugins, see MoinMoin:FiltersForIndexing
Some filters depend on external converters that might not be available
for any platform (see Depends: line in filter plugin).
Feel free to contribute more filter plugins, especially if you wrote
some nice platform independant filter in Python for some popular file
format! Filters implemented so far (depending on):
MS Word, RTF, MS Excel (antiword, catdoc)
PDF (pdftotext)
OpenOffice.org XML based data formats (-)
XML, HTML (-)
text/* (-)
JPEG's EXIF data (-)
Binary generic (-)
* As you might know, Lupy is "retired" (that means it isn't developped
by its authors any more). We are currently evaluating Xapian as new
indexing search engine in moin.
If we succeed, we will replace Lupy stuff by some Xapian interface
code in moin.
But: the filters will likely stay, as we also need them with Xapian.
* A new MoinMoin script interface was introduced:
Syntax: moin [options] <cmdmodule> <cmdname> [options]
For example:
moin --config-dir=/my/cfgdir --wiki-url=wiki.example.org/ \
export dump --page=WikiSandBox
This will call the "moin" script, which will use the --config-dir and
--wiki-url options to initialize, then it will go to MoinMoin.script
module, import the export.dump module from there and run it, providing
the additional --page value to it.
The old scripts that have not been migrated to this new interface can
still be found in MoinMoin/script/old/ - including the old migration
scripts.
* moin ... account create --name=JoeDoe --email=joedoe.org
* moin ... account disable --name=JoeDoe
* moin ... acount check <-- this is what usercheck script was before
* moin ... maint cleancache <-- this is what cachecleaner script was
* moin ... maint cleanpage <-- this is what pagescleaner script was
Bugfixes:
* cookie_lifetime didn't work comfortable for low values. The cookie was
created once on login and never updated afterwards. So you got logged
out cookie_lifetime hours later, no matter whether you were active at
that time or not. This has been changed, we update the cookie expiry now
on every request, so it will expire cookie_lifetime after your last
request (not after login).
* Fixed logout problems when using cfg.cookie_path.
* Fixed cookie_path for root url wikis.
* Lupy search now behaves a bit less funky. Still no guarantees...
* We lowered the twisted server timeout to 2 minutes now (was: 10) because
it just used up too many files (open TCP connections until it timeouts)
on our farm.
* The algorithm used for processing the farmconfig.wikis list was changed
to work for big farms (>= 50 wikis), too. This works around the python
"re" module limitation of having a maximum of 100 named groups in a RE.
* Fixed a TypeError which occurred for formatters that dislike None values.
(cf. http://moinmoin.wikiwikiweb.de/MoinMoinBugs/PythonErrorEditingFrontPage)
* Fixed GUI editor converter error for https:... image URLs.
* ThemeBase (use by modern/rightsidebar): removed duplicate AttachFile from
actions menu (we already have it in editbar).
* Speedup group/dicts scanning for persistent servers.
* Implemented HEAD requests for standalone server, this should fix some of
the strange effects happening when using "Save as" on attachments.
* Not a moin bug, but rather a workaround for non-standard non-ASCII DNS
hostnames: we just use the IP instead of crashing now.
* Spurious cyclic usage error in i18n fixed.
* Fixed antispam for python 2.5a xmlrpclib.
* I18n for linenumber toggle in listings.
* All action menu entries are translatable now.
Other:
* Added css classes for the rst admonitions. Thanks to TiagoMacambira!