X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=conf%2Ffarmconfig.py;h=98eccab6da50f8f1710efb7e15243313ff889f2f;hb=f4d058f5d7a2f194dba31314ca7b3f327d12d13b;hp=ea8baa6f2f8e450fb97a07479f4af00c4b56040c;hpb=a1d0689d8788088fa8f4356fbafca6c415ce79a2;p=matthijs%2Fprojects%2Fwipi.git diff --git a/conf/farmconfig.py b/conf/farmconfig.py index ea8baa6..98eccab 100644 --- a/conf/farmconfig.py +++ b/conf/farmconfig.py @@ -128,9 +128,10 @@ class FarmConfig(DefaultConfig): u'HelpContents', ] - # The default theme anonymous or new users get - theme_default = 'modern' - + # Always use the proxy. Specific configs define a proxy_theme_mapping, + # which maps specific paths to a corresponding theme. + theme_default = 'proxy' + theme_force = True # Language options -------------------------------------------------- @@ -145,6 +146,9 @@ class FarmConfig(DefaultConfig): # Content options --------------------------------------------------- + # name of entry page + page_front_page = u"Start" + # Show users hostnames in RecentChanges show_hosts = 1 @@ -157,16 +161,19 @@ class FarmConfig(DefaultConfig): # See /usr/share/doc/$(cdbs_curpkg)/README.Debian for more info editor_force = True editor_default = 'text' # internal default, just for completeness + # Require a comment on page changes. This needs a patched moinmoin. + require_comment = True # Authentication - from auth.mysql_login import mysql_login # This comes from plugin + from auth.phpbb import PhpbbAuth # This comes from plugin from dbsettings import phpbb_dbhost, phpbb_dbuser, phpbb_dbpass, phpbb_dbname - phpbb = mysql_login( + phpbb = PhpbbAuth( name = 'phpbb', dbhost = phpbb_dbhost, dbuser = phpbb_dbuser, dbpass = phpbb_dbpass, dbname = phpbb_dbname, + phpbb_prefix = 'lex_', hint = "Hier kunnen bestuursleden van Evolution Events inloggen om wijzigingen te maken." ) auth = [phpbb]