auth: Rename the phpbb_login class to PhpbbAuth.
[matthijs/projects/wipi.git] / conf / farmconfig.py
index ea8baa6f2f8e450fb97a07479f4af00c4b56040c..8043ed353e29562f4bc8ca5b4efa0931c6301bbe 100644 (file)
@@ -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_login 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]