# HG changeset patch # User Paul Boddie # Date 1318201837 -7200 # Node ID 5fcdbeb48edc119692700e94920952cda8e20353 # Parent 74222a81f619ee73d9debec3d89f3c8f45be1ad0 Added an event handler installation method. Updated the release notes and tidied the "to do" file. diff -r 74222a81f619 -r 5fcdbeb48edc README.txt --- a/README.txt Sun Oct 09 01:44:13 2011 +0200 +++ b/README.txt Mon Oct 10 01:10:37 2011 +0200 @@ -299,6 +299,7 @@ * Added support for Wiki farms, separate library/site-packages directories, and site identifiers (based on site names). * Improved the MoinMoin version detection. + * Added an event handler installation action. New in moinsetup 0.2 (Changes since moinsetup 0.1) -------------------------------------------------- diff -r 74222a81f619 -r 5fcdbeb48edc TO_DO.txt --- a/TO_DO.txt Sun Oct 09 01:44:13 2011 +0200 +++ b/TO_DO.txt Mon Oct 10 01:10:37 2011 +0200 @@ -1,23 +1,32 @@ Provide limited hosting environment site descriptions. Currently, the test for limited hosting is a lack of a site descriptions directory. + Add support for changing the wikis list in the farmconfig module. + Support existing MoinMoin home directory installations into ~/lib/python2.x/MoinMoin. This affects the page package installation function which expects to find MoinMoin/packages.py inside site-packages. Running "python -m" only works with modules on Python 2.4 (although MoinMoin/packages seems to work) and appears to confuse Python's import path on later versions (even if MoinMoin.packages is used). + Avoid reconfiguration of existing moin script. + Site directory detection. + Enabled/available site listings. + HTTP user integration and Apache user/group file editing. + Support Xapian search and configuration. xapian_search = 1 sudo -u www-data moin/bin/moin --config-dir=hgwiki/conf/ --wiki-url=http://localhost/hgwiki/ index build --mode=rebuild Perhaps configure and install Xapian plus bindings. ./configure --prefix={$moin-prefix} && make && make install ./configure --with-python --prefix={$moin-prefix} XAPIAN_CONFIG={$moin-prefix}/bin/xapian-config PYTHON_LIB={$moin-prefix}/lib/python2.5/site-packages && make && make install + Support OpenID provision (http://moinmo.in/HelpOnOpenIDProvider): openid_server_enabled = True openid_server_enable_user = True # optional, for nominating pages as user OpenID URLs openid_server_restricted_users_group = None # or a group name for OpenID users + Support integration of additional theme material with themes. diff -r 74222a81f619 -r 5fcdbeb48edc moinsetup.py --- a/moinsetup.py Sun Oct 09 01:44:13 2011 +0200 +++ b/moinsetup.py Mon Oct 10 01:10:37 2011 +0200 @@ -312,6 +312,7 @@ "install_actions", "install_macros", "install_parsers", + "install_event_handlers", "install_theme_resources", "edit_theme_stylesheet", @@ -1233,10 +1234,16 @@ def install_parsers(self, parsers_dir): - "Install Wiki macros provided in the given 'parsers_dir'." + "Install Wiki parsers provided in the given 'parsers_dir'." self.install_plugins(parsers_dir, "parser") + def install_event_handlers(self, events_dir): + + "Install Wiki event handlers provided in the given 'events_dir'." + + self.install_plugins(events_dir, "events") + def install_theme_resources(self, theme_resources_dir, theme_name=None): """