14 Commits

Author SHA1 Message Date
Will Kahn-Greene
29b6f91740 401. Plugin infrastructure
* implements installing, loading and setup for plugins
* codifies configuration
* has a sample plugin
* docs
* tests
2012-05-13 00:00:08 -04:00
Elrond
a45631e3f3 Start having useful defaults for SQL
Mostly this means: Havintg a config_spec.ini that has a
local (relative to mediagoblin.ini) sqlite db with the name
"mediagoblin.db".

Also:
- Add to .gitignore
- Add a notice to mediagoblin.ini about the db
2012-02-18 19:34:11 +01:00
Christopher Allan Webber
cfa96da734 Load multiple media types based on the media_types section of the config file 2011-11-25 11:41:24 -06:00
Elrond
daed11b812 640: Configuration files should mention their _local versions
Thanks go to Aleksej Serdjukov for bringing this up and
providing the patch in the bug!
2011-11-12 14:28:55 +01:00
Elrond
ed7970696e Storage Config: Use own section
Instead of configuring storage X by parameters in the main
section "X_class = backend" and "X_param = value", use a
new section in the config: "[storage:X]" and use "class =
backend" and "param = value" there.

This is the beginning, it includes a try at being backward
compatible. But that try isn't really fully useful anyway.
2011-08-09 13:13:04 +02:00
Rasmus Larsson
13677ef97a Added configuration variable to toggle registrations, if disabled the registration page redirects to index and no link to register is shown 2011-07-09 15:12:00 +02:00
Christopher Allan Webber
8d808c1fa1 Erk! Forgot to include the new mediagoblin.ini. 2011-06-18 18:04:14 -05:00
Christopher Allan Webber
3f5cf663c0 Move entire app structure over to using the new config system.
This is a huge change!  This means several things.

 - From the python point of view, launching the application is a heck
   of a lot cleaner.  You just need to pass in the config file path to
   MediaGoblinApp's __init__() and whether or not this funtion should
   setup celery and you're good.
 - There are now two separate config files, separating the server
   setup from the application setup.
   - server.ini: the paste deploy config file, which configures the
     applications and server setup but *NOT* the mediagoblin application
     itself.
   - mediagoblin.ini: where you configure mediagoblin (and possibly celery)
 - Launching the application is now different.  Instead of:
     ./bin/paster serve mediagoblin.ini --reload
   We launch like:
     ./bin/paster serve server.ini --reload
2011-06-18 17:59:38 -05:00
Christopher Allan Webber
29f3fb7052 Added an email debug mode which, by default, is enabled 2011-05-07 22:45:06 -05:00
Joar Wandborg
8a6a81bcaa Updated default sender address
Signed-off-by: Joar Wandborg <git@wandborg.com>
2011-05-08 02:03:11 +02:00
Joar Wandborg
4c093e85c7 Made changes according to http://bugs.foocorp.net/issues/271#note-7
Signed-off-by: Joar Wandborg <git@wandborg.com>
2011-05-08 00:55:57 +02:00
Christopher Allan Webber
54e219fed1 Makes most sense for [server:main] to be at bottom 2011-04-17 16:45:36 -05:00
Christopher Allan Webber
582c4d5fb2 Add the staticdirector stuff to the mediagoblin wsgi app. 2011-04-17 16:30:51 -05:00
Christopher Allan Webber
3a69a5dcd6 Base MediaGoblin paste deploy config file.
Should do what's necessary, work out of the box, be deployable.
2011-04-17 12:44:39 -05:00