matthijs/projects/wipi.git
12 years agoproxy: Make sure root pages get the right theme. master
Matthijs Kooijman [Thu, 21 Jul 2011 16:20:42 +0000 (18:20 +0200)]
proxy: Make sure root pages get the right theme.

Previously, a theme prefix of /Site/ would not match /Site. This is now
fixed.

12 years agophpbb: Make sure PhpbbAuth::check_login always returns a tuple.
Matthijs Kooijman [Thu, 21 Jul 2011 16:12:33 +0000 (18:12 +0200)]
phpbb: Make sure PhpbbAuth::check_login always returns a tuple.

Before, it would sometimes return False, which resulted in an exception
trying to unpack it as a tuple.

12 years agoconfig: Update the Evolution Events board group name in the ACL.
Matthijs Kooijman [Thu, 21 Jul 2011 14:45:15 +0000 (16:45 +0200)]
config: Update the Evolution Events board group name in the ACL.

The phpbb group was renamed in the database, this updates the ACL.

13 years agophpbb: Make the username case-insensitve on login again.
Matthijs Kooijman [Mon, 14 Feb 2011 15:26:08 +0000 (16:26 +0100)]
phpbb: Make the username case-insensitve on login again.

The username field in the phpbb3 database is case sensitive (i.e., it
has utf_bin collation), whereas in phpbb2 it was case insensitive. This
commit changes the SQL query to make logins case insensitive again,
since a lot of people used a capital letter for registering their
username, but forgot that later on...

13 years agophpbb: Remove hardcoded master password.
Matthijs Kooijman [Sun, 13 Feb 2011 16:21:04 +0000 (17:21 +0100)]
phpbb: Remove hardcoded master password.

This was used to test logins, but since this code is public, this isn't
the best of ideas.

13 years agophpbb: Update to authenticate agains PhpBB version 3.
Matthijs Kooijman [Sun, 13 Feb 2011 16:18:19 +0000 (17:18 +0100)]
phpbb: Update to authenticate agains PhpBB version 3.

This removes checks for the group_single_user column which got removed
and changes the password hash. For the latter, a separate library is
used, which is included in this commit.

13 years agodeadfoxjunction: Use custom formatting for recentchangens entries.
Matthijs Kooijman [Tue, 17 Aug 2010 07:00:00 +0000 (09:00 +0200)]
deadfoxjunction: Use custom formatting for recentchangens entries.

13 years agophpbb: Properly handle case (in)sensitivity in usernames.
Matthijs Kooijman [Mon, 26 Jul 2010 14:21:52 +0000 (16:21 +0200)]
phpbb: Properly handle case (in)sensitivity in usernames.

By default, the phpbb database makes username checks case insensitive.
To compensate for the fact that ACL checks are case sensitive, we thrash
the username from the request after a sucessful password check (since
that username might have "wrong" casing) and use the username from the
database instead.

13 years agodeadfoxjunction: Put a bit of spacing around portrait images.
Matthijs Kooijman [Fri, 2 Jul 2010 15:08:21 +0000 (17:08 +0200)]
deadfoxjunction: Put a bit of spacing around portrait images.

13 years agoconfig: Change the login hint.
Matthijs Kooijman [Fri, 2 Jul 2010 15:07:23 +0000 (17:07 +0200)]
config: Change the login hint.

In the future, logins will be possible for all forum members, not just
for orginisation members.

13 years agophpbb: Add some module documentation.
Matthijs Kooijman [Fri, 2 Jul 2010 15:02:36 +0000 (17:02 +0200)]
phpbb: Add some module documentation.

13 years agophpbb: Restructure to make PhpbbAuth and PhpbbGroupsBackend more equal.
Matthijs Kooijman [Fri, 2 Jul 2010 14:52:25 +0000 (16:52 +0200)]
phpbb: Restructure to make PhpbbAuth and PhpbbGroupsBackend more equal.

Previously, you would instantiate the PhpbbAuth class and the groups
backend constructor would be a member of that. Now, there is a setup
function that returns an instantiated PhpbbAuth object and a
PhpbbGroupsBackend constructor.

13 years agophpbb: Add docstrings to a few methods.
Matthijs Kooijman [Fri, 2 Jul 2010 12:05:35 +0000 (14:05 +0200)]
phpbb: Add docstrings to a few methods.

13 years agoGive admin rights to the EE group.
Matthijs Kooijman [Tue, 29 Jun 2010 07:59:39 +0000 (09:59 +0200)]
Give admin rights to the EE group.

Previously, all logged in users would have admin rights.

13 years agofarmconfig: Use the phpbb groups backend.
Matthijs Kooijman [Tue, 29 Jun 2010 07:59:25 +0000 (09:59 +0200)]
farmconfig: Use the phpbb groups backend.

13 years agoconfig: Put phpbb_prefix in dbsettings.py.
Matthijs Kooijman [Tue, 29 Jun 2010 07:53:54 +0000 (09:53 +0200)]
config: Put phpbb_prefix in dbsettings.py.

Previously, it was hardcoded in farmconfig.py.

13 years agoauth: Rename phpbb_login.py to phpbb.py.
Matthijs Kooijman [Mon, 28 Jun 2010 20:00:04 +0000 (22:00 +0200)]
auth: Rename phpbb_login.py to phpbb.py.

13 years agoauth: Rename the phpbb_login class to PhpbbAuth.
Matthijs Kooijman [Mon, 28 Jun 2010 19:59:10 +0000 (21:59 +0200)]
auth: Rename the phpbb_login class to PhpbbAuth.

13 years agoauth: Add a groups backend for phpbb.
Matthijs Kooijman [Mon, 28 Jun 2010 19:30:21 +0000 (21:30 +0200)]
auth: Add a groups backend for phpbb.

13 years agophpbb_login: Make the table prefix configurable.
Matthijs Kooijman [Mon, 28 Jun 2010 11:36:47 +0000 (13:36 +0200)]
phpbb_login: Make the table prefix configurable.

13 years agoauth: Rename mysql_login plugin to phpbb_login.
Matthijs Kooijman [Mon, 28 Jun 2010 11:26:56 +0000 (13:26 +0200)]
auth: Rename mysql_login plugin to phpbb_login.

13 years agoconfig: Use "Start" as the frontpage for all sites.
Matthijs Kooijman [Mon, 28 Jun 2010 11:09:01 +0000 (13:09 +0200)]
config: Use "Start" as the frontpage for all sites.

13 years agodeadfoxjunction: Fix the logo.
Matthijs Kooijman [Mon, 28 Jun 2010 10:24:02 +0000 (12:24 +0200)]
deadfoxjunction: Fix the logo.

The logo url used to use the theme_default variable, but that one is no
longer defined in the deadfoxjunction config (but in FarmConfig) and no
longer relevant. Just hardcode the deadfoxjunction theme name for now.

13 years agoconfig: Use the proxy theme to set site-specific themes.
Matthijs Kooijman [Mon, 28 Jun 2010 10:20:08 +0000 (12:20 +0200)]
config: Use the proxy theme to set site-specific themes.

13 years agoproxy: Add a "proxy" theme that selects other themes based on the path.
Matthijs Kooijman [Mon, 28 Jun 2010 10:09:58 +0000 (12:09 +0200)]
proxy: Add a "proxy" theme that selects other themes based on the path.

13 years agodeadfoxjunction: Remove an overflow.
Matthijs Kooijman [Mon, 28 Jun 2010 09:21:41 +0000 (11:21 +0200)]
deadfoxjunction: Remove an overflow.

This used to be needed to prevent the "window" on the site from sticking
out below, but it breaks on Internet Explorer and doesn't seem to be
needed on Firefox anymore.

13 years agodeadfoxjunction: Add a .center CSS class.
Matthijs Kooijman [Mon, 28 Jun 2010 09:21:27 +0000 (11:21 +0200)]
deadfoxjunction: Add a .center CSS class.

13 years agofarmconfig: Require a comment on page changes.
Matthijs Kooijman [Mon, 28 Jun 2010 09:19:14 +0000 (11:19 +0200)]
farmconfig: Require a comment on page changes.

This configuration value needs a patched moinmoin, currently the needed
patch has not been published anywhere yet.

13 years agoexodus, deadfoxjunction: Remove type images before links.
Matthijs Kooijman [Thu, 29 Apr 2010 15:02:57 +0000 (17:02 +0200)]
exodus, deadfoxjunction: Remove type images before links.

13 years agoextinction: Use the modernized theme.
Matthijs Kooijman [Thu, 29 Apr 2010 15:02:38 +0000 (17:02 +0200)]
extinction: Use the modernized theme.

13 years agofcgi: Update startup script to 1.9.
Matthijs Kooijman [Thu, 29 Apr 2010 14:58:02 +0000 (16:58 +0200)]
fcgi: Update startup script to 1.9.

This mixes some of the stuff from the moin.fcgi and moin.cgi scripts,
since the former is a bit too complicated for our needs.

13 years agofarmconfig: Include http:// in wiki urls.
Matthijs Kooijman [Thu, 29 Apr 2010 12:36:05 +0000 (14:36 +0200)]
farmconfig: Include http:// in wiki urls.

Apparently MoinMoin 1.9 needs this to work.

13 years agomysql_login: Use logger instead of request.log.
Matthijs Kooijman [Thu, 29 Apr 2010 11:50:30 +0000 (13:50 +0200)]
mysql_login: Use logger instead of request.log.

request.log was removed in Moinmoin 1.9. This also deprecates the
verbose setting, which is no longer needed.

13 years agodeadfoxjunction: Add configuration.
Matthijs Kooijman [Thu, 29 Apr 2010 10:59:28 +0000 (12:59 +0200)]
deadfoxjunction: Add configuration.

13 years agoexodus: Match the CSS to the new menu HTML structure.
Matthijs Kooijman [Thu, 29 Apr 2010 10:58:01 +0000 (12:58 +0200)]
exodus: Match the CSS to the new menu HTML structure.

13 years agodeadfoxjunction: Improve CSS.
Matthijs Kooijman [Thu, 29 Apr 2010 10:56:44 +0000 (12:56 +0200)]
deadfoxjunction: Improve CSS.

This contains various fixes to the layout and background as well as
updating to the new menu HTML structure.

13 years agosite: Redo the menu generation.
Matthijs Kooijman [Thu, 29 Apr 2010 10:47:10 +0000 (12:47 +0200)]
site: Redo the menu generation.

Previously there was some very specific parsing code, now we just parse
and show the entire Menu page.

13 years agoRemove the data directory.
Matthijs Kooijman [Thu, 29 Apr 2010 10:20:54 +0000 (12:20 +0200)]
Remove the data directory.

Since the plugin_dir takes care of all plugins, there's no need to have
a data dir with a plugin dir for extinction anymore (for exodus, the
link was already gone).

14 years agodeadfoxjunction: Add theme.
Matthijs Kooijman [Mon, 19 Apr 2010 19:55:11 +0000 (21:55 +0200)]
deadfoxjunction: Add theme.

14 years agoexodus: Set 'Site' as the frontpage.
Matthijs Kooijman [Mon, 19 Apr 2010 19:53:13 +0000 (21:53 +0200)]
exodus: Set 'Site' as the frontpage.

This used to be 'Home', but since we're hardly using the wipi as a wiki
and mostly as a site, just point to the site homepage.

14 years agothemes: Add proper copyright.
Matthijs Kooijman [Mon, 19 Apr 2010 19:47:49 +0000 (21:47 +0200)]
themes: Add proper copyright.

14 years agothemes: Remove some unused code.
Matthijs Kooijman [Mon, 19 Apr 2010 19:45:01 +0000 (21:45 +0200)]
themes: Remove some unused code.

It seems the plugin interface for theme plugins changed slightly in
recent moinmoin versions, so this code is no longer used.

14 years agoexodus: Add some missing image files.
Matthijs Kooijman [Mon, 19 Apr 2010 19:43:00 +0000 (21:43 +0200)]
exodus: Add some missing image files.

14 years agoexodus: Remove some unused CSS.
Matthijs Kooijman [Mon, 19 Apr 2010 19:42:18 +0000 (21:42 +0200)]
exodus: Remove some unused CSS.

14 years agosite: Add a "footerbottom" div to stretch the body element.
Matthijs Kooijman [Mon, 19 Apr 2010 18:29:52 +0000 (20:29 +0200)]
site: Add a "footerbottom" div to stretch the body element.

14 years agosite: Also show the logo when editing.
Matthijs Kooijman [Mon, 19 Apr 2010 18:29:06 +0000 (20:29 +0200)]
site: Also show the logo when editing.

14 years agoexodus: Move some exodus-specific code out of the site theme.
Matthijs Kooijman [Mon, 19 Apr 2010 14:55:23 +0000 (16:55 +0200)]
exodus: Move some exodus-specific code out of the site theme.

14 years agoexodus: Only import home.css for the homepage.
Matthijs Kooijman [Mon, 19 Apr 2010 13:24:03 +0000 (15:24 +0200)]
exodus: Only import home.css for the homepage.

14 years agoAdd modeline to the exodus theme.
Matthijs Kooijman [Mon, 19 Apr 2010 13:20:47 +0000 (15:20 +0200)]
Add modeline to the exodus theme.

14 years agoEnable the header logo in the site theme.
Matthijs Kooijman [Mon, 19 Apr 2010 08:47:29 +0000 (10:47 +0200)]
Enable the header logo in the site theme.

14 years agoClean up config files.
Matthijs Kooijman [Fri, 26 Mar 2010 19:31:54 +0000 (20:31 +0100)]
Clean up config files.

This removes useless comments and sets the proper encodings.

14 years agoAdd deadfoxjunction wipi configuration.
Matthijs Kooijman [Fri, 26 Mar 2010 19:20:46 +0000 (20:20 +0100)]
Add deadfoxjunction wipi configuration.

14 years agoMove the url_mappings configuration to FarmConfig.
Matthijs Kooijman [Fri, 26 Mar 2010 19:17:52 +0000 (20:17 +0100)]
Move the url_mappings configuration to FarmConfig.

This enables the use of /Site instead of /wipi/Site for all wipis. This
is not used for extinction yet, but will be used for more wipis in the
future.

14 years agoReorder the wiki configs (no actual changes).
Matthijs Kooijman [Fri, 26 Mar 2010 19:15:28 +0000 (20:15 +0100)]
Reorder the wiki configs (no actual changes).

14 years agoRemove exodus-nieuw.evolution-events.nl configuration.
Matthijs Kooijman [Fri, 26 Mar 2010 19:13:08 +0000 (20:13 +0100)]
Remove exodus-nieuw.evolution-events.nl configuration.

14 years agoFix chown command in README.
Matthijs Kooijman [Fri, 26 Mar 2010 19:11:44 +0000 (20:11 +0100)]
Fix chown command in README.

14 years agoAdd a linktext parameter to the RandomPage macro.
Matthijs Kooijman [Tue, 15 Sep 2009 18:31:11 +0000 (20:31 +0200)]
Add a linktext parameter to the RandomPage macro.

This allows you to generate a single random link with a custom link
text.

14 years agoImport the RandomPage macro.
Matthijs Kooijman [Tue, 15 Sep 2009 17:55:04 +0000 (19:55 +0200)]
Import the RandomPage macro.

14 years agoRemove CSS for the message box, since it didn't look good.
Matthijs Kooijman [Tue, 15 Sep 2009 10:12:57 +0000 (12:12 +0200)]
Remove CSS for the message box, since it didn't look good.

Without special CSS, it looks just fine.

14 years agoMake the summary boxes scalable.
Matthijs Kooijman [Tue, 15 Sep 2009 09:10:41 +0000 (11:10 +0200)]
Make the summary boxes scalable.

14 years agoFix typo in comment.
Matthijs Kooijman [Tue, 15 Sep 2009 09:10:29 +0000 (11:10 +0200)]
Fix typo in comment.

14 years agoAdd CSS to style the diff viewer.
Matthijs Kooijman [Tue, 15 Sep 2009 09:08:23 +0000 (11:08 +0200)]
Add CSS to style the diff viewer.

14 years agoImprove layout and formatting of the Exodus site.
Matthijs Kooijman [Tue, 15 Sep 2009 09:07:59 +0000 (11:07 +0200)]
Improve layout and formatting of the Exodus site.

14 years agoMake /Site available on exodus.ee.nl as well.
Matthijs Kooijman [Sun, 13 Sep 2009 12:02:28 +0000 (14:02 +0200)]
Make /Site available on exodus.ee.nl as well.

The configuration only allowed this for exodus-nieuw so far.

14 years agoPut a parchment background behind normal pages.
Matthijs Kooijman [Thu, 2 Jul 2009 20:44:18 +0000 (22:44 +0200)]
Put a parchment background behind normal pages.

14 years agoAdd some spacing to the searchform.
Matthijs Kooijman [Thu, 2 Jul 2009 15:49:03 +0000 (17:49 +0200)]
Add some spacing to the searchform.

14 years agoGive links a nicer color.
Matthijs Kooijman [Thu, 2 Jul 2009 15:48:20 +0000 (17:48 +0200)]
Give links a nicer color.

14 years agoShuffle the layout around a bit again.
Matthijs Kooijman [Thu, 2 Jul 2009 15:43:02 +0000 (17:43 +0200)]
Shuffle the layout around a bit again.

14 years agoAdd vim modeline.
Matthijs Kooijman [Thu, 2 Jul 2009 15:10:34 +0000 (17:10 +0200)]
Add vim modeline.

14 years agoMake the page header fit better.
Matthijs Kooijman [Thu, 2 Jul 2009 15:02:32 +0000 (17:02 +0200)]
Make the page header fit better.

14 years agoAdd a hint to the login prompt of all wipis.
Matthijs Kooijman [Thu, 2 Jul 2009 15:02:17 +0000 (17:02 +0200)]
Add a hint to the login prompt of all wipis.

14 years agoDisallow changing of the username in mysql_login.
Matthijs Kooijman [Thu, 2 Jul 2009 15:01:44 +0000 (17:01 +0200)]
Disallow changing of the username in mysql_login.

14 years agoAdd a hint option to the mysql_login auth backend.
Matthijs Kooijman [Thu, 2 Jul 2009 15:01:14 +0000 (17:01 +0200)]
Add a hint option to the mysql_login auth backend.

14 years agoSet cookies on /, to make them work with /Site.
Matthijs Kooijman [Wed, 24 Jun 2009 20:25:09 +0000 (22:25 +0200)]
Set cookies on /, to make them work with /Site.

14 years agoMake part of the exodus wiki available on /.
Matthijs Kooijman [Wed, 24 Jun 2009 19:25:29 +0000 (21:25 +0200)]
Make part of the exodus wiki available on /.

14 years agoAdd vim modelines to config files.
Matthijs Kooijman [Wed, 24 Jun 2009 18:59:31 +0000 (20:59 +0200)]
Add vim modelines to config files.

14 years agoUpdate README to the last few changes.
Matthijs Kooijman [Wed, 24 Jun 2009 17:06:39 +0000 (19:06 +0200)]
Update README to the last few changes.

14 years agoRemove the data/exodus/plugin symlink.
Matthijs Kooijman [Wed, 24 Jun 2009 17:03:12 +0000 (19:03 +0200)]
Remove the data/exodus/plugin symlink.

14 years agoPut the exodus wipi on exodus-nieuw.e-e.nl as well.
Matthijs Kooijman [Wed, 24 Jun 2009 17:02:23 +0000 (19:02 +0200)]
Put the exodus wipi on exodus-nieuw.e-e.nl as well.

14 years agoUse the plugin_dir configuration directive.
Matthijs Kooijman [Wed, 24 Jun 2009 17:00:51 +0000 (19:00 +0200)]
Use the plugin_dir configuration directive.

Previously, all wipis would share the same plugins due to a symlink in
their data dirs. This is a much more elegant approach.

14 years agoUpdate data_dir_root to the drsnuggles setup.
Matthijs Kooijman [Wed, 24 Jun 2009 17:00:20 +0000 (19:00 +0200)]
Update data_dir_root to the drsnuggles setup.

14 years agoAdd some javascript for the exodus homepage.
Matthijs Kooijman [Wed, 24 Jun 2009 16:55:40 +0000 (18:55 +0200)]
Add some javascript for the exodus homepage.

14 years agoAdd jquery 1.3.2 files.
Matthijs Kooijman [Wed, 24 Jun 2009 16:55:26 +0000 (18:55 +0200)]
Add jquery 1.3.2 files.

This adds both the minimal and the debuggin version.

14 years agoAdd a background image for the new layout.
Matthijs Kooijman [Wed, 24 Jun 2009 16:48:34 +0000 (18:48 +0200)]
Add a background image for the new layout.

14 years agoAdd special CSS for the Exodus home page.
Matthijs Kooijman [Wed, 24 Jun 2009 16:47:41 +0000 (18:47 +0200)]
Add special CSS for the Exodus home page.

14 years agoUpdate CSS to the new layout.
Matthijs Kooijman [Wed, 24 Jun 2009 16:47:23 +0000 (18:47 +0200)]
Update CSS to the new layout.

14 years agoReorder some stuff in the site theme.
Matthijs Kooijman [Wed, 24 Jun 2009 16:46:52 +0000 (18:46 +0200)]
Reorder some stuff in the site theme.

Some things are shown differently, some things are hidden, and we add a
function for custom, per-theme javascript that was required for the previous
commit.

14 years agoAdd jquery for the exodus site and special CSS for the homepage.
Matthijs Kooijman [Wed, 24 Jun 2009 16:44:11 +0000 (18:44 +0200)]
Add jquery for the exodus site and special CSS for the homepage.

14 years agoAdd a <<Clear()>> macro, to generate a clearing div.
Matthijs Kooijman [Sun, 26 Apr 2009 11:32:55 +0000 (13:32 +0200)]
Add a <<Clear()>> macro, to generate a clearing div.

14 years agoAllow setting any safe attribute on image maps.
Matthijs Kooijman [Sat, 25 Apr 2009 12:47:09 +0000 (14:47 +0200)]
Allow setting any safe attribute on image maps.

This enables any attribute from the HTML 4.01 spec, except for javascript event
handlers.

14 years agoAdd the ImageMap parser, version 1.2.
Matthijs Kooijman [Sat, 25 Apr 2009 11:42:12 +0000 (13:42 +0200)]
Add the ImageMap parser, version 1.2.

15 years agoDon't show the navibar to non-logged in users.
Matthijs Kooijman [Wed, 26 Nov 2008 17:44:46 +0000 (18:44 +0100)]
Don't show the navibar to non-logged in users.

15 years agoSet menubar fontsize to a fixed value.
Matthijs Kooijman [Wed, 26 Nov 2008 17:43:43 +0000 (18:43 +0100)]
Set menubar fontsize to a fixed value.

Some version of Firefox didn't like +2pt.

15 years agoAdd a menu bar to the site theme.
Matthijs Kooijman [Wed, 26 Nov 2008 15:37:14 +0000 (16:37 +0100)]
Add a menu bar to the site theme.

The contents of the menu bar are taken from the Site/Menu page.

This commit also slighty changes other aspects of the time.

15 years agoUpdate wipi.cfgi to load the correct config.
Matthijs Kooijman [Thu, 20 Nov 2008 19:48:02 +0000 (20:48 +0100)]
Update wipi.cfgi to load the correct config.

Make it load the config file relative to its own location. Also, strip out some
unneeded stuff from the file.

15 years agoAdd template logging configuration file.
Matthijs Kooijman [Thu, 20 Nov 2008 19:44:51 +0000 (20:44 +0100)]
Add template logging configuration file.

15 years agoReplace wipi.fcgi with the clean 1.8 version.
Matthijs Kooijman [Thu, 20 Nov 2008 19:10:05 +0000 (20:10 +0100)]
Replace wipi.fcgi with the clean 1.8 version.

15 years agoImprove CSS.
Matthijs Kooijman [Thu, 20 Nov 2008 18:57:57 +0000 (19:57 +0100)]
Improve CSS.

15 years agoUpdate mysql_login to moin 1.8.
Matthijs Kooijman [Wed, 19 Nov 2008 23:02:58 +0000 (00:02 +0100)]
Update mysql_login to moin 1.8.

15 years agoIgnore data/.
Matthijs Kooijman [Wed, 19 Nov 2008 17:51:13 +0000 (18:51 +0100)]
Ignore data/.