aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/init
Commit message (Collapse)AuthorAgeFilesLines
* 508. Updates copyright/license informationWill Kahn-Greene2011-09-015-5/+5
|
* Storage config: Drop all Backward CompatibilityElrond2011-08-091-3/+2
| | | | | Chris Webber says not to care about backward compatibility at this stage. So drop the last bits.
* storage Config: Stop being backward compatible (beginning).Elrond2011-08-091-10/+2
| | | | | Chris Webber says "no backward compatibility for this". So start removing the backward compat stuff.
* Storage Config: Use own sectionElrond2011-08-091-2/+16
| | | | | | | | | | 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.
* Let users know when their migrations are from the future :OChristopher Allan Webber2011-07-301-3/+10
|
* Move setting up of storage into init/__init__.pyElrond2011-07-181-0/+14
| | | | | | | Factoring out this one should be the last one needed to rewrite the celery setup. The idea is to not setup the whole app, but just call a bunch of individual setup_* functions and be done.
* Move application level setup of database to init/Elrond2011-07-171-0/+29
| | | | | | Setting up the database now involves checking the migrations status and setting up the globals. Moved all of that into init/__init__.py:setup_database().
* Move db_name default into config_spec.iniElrond2011-07-111-1/+1
| | | | | | | The default name of the database ("mediagoblin") was coded in db/open.py and init/celery/__init__.py. Instead use the new config system to have this as the default for the "db_name" config option.
* Factor setup_workbench into init submodule.Elrond2011-07-071-0/+10
|
* Let setup_global_and_app_config call setup_globalsElrond2011-07-051-0/+5
| | | | | | Let setup_global_and_app_config set the global and app config in the mg_globals already. This way, the config is available to everyone very early.
* Create setup_global_and_app_configElrond2011-07-041-0/+13
| | | | | | | Moving the config reading and error reporting from app.py to init/__init__.py. Straight forward. This also fixes the duplicated exceptions.
* Move setting up of staticdirector to init submoduleElrond2011-07-041-0/+21
| | | | | This duplicates some exceptions, which will be fixed very soon.
* Move config.py to init/Elrond2011-07-021-0/+122
| | | | | | | Some simple changes needed to do that. The interesting question left: Should config_spec.ini also be moved?
* Move get_jinja_loader to init submodule.Elrond2011-07-021-0/+18
|
* Move mediagoblin.celery_setup -> mediagoblin.init.celeryElrond2011-07-024-0/+182
| | | | | | As the first target of the new .init. submodule move celery_setup there. Quite straight forward, just a lot of places to change.
* Start mediagoblin.initElrond2011-07-021-0/+15