Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mediagoblin.globals->mediagoblin.mg_globals | Christopher Allan Webber | 2011-06-12 | 1 | -1/+1 |
| | |||||
* | Merge remote branch 'remotes/elrond/idea/clean_celery_setup' | Christopher Allan Webber | 2011-06-12 | 2 | -6/+5 |
|\ | | | | | | | | | Conflicts: mediagoblin/celery_setup/from_celery.py | ||||
| * | celery_setup: drop param to setup_self and simplify OUR_MODULENAME | Elrond | 2011-06-10 | 2 | -7/+5 |
| | | | | | | | | | | | | | | | | | | | | | | setup_self used to look like this: setup_self(setup_globals_func=setup_globals) The function isn't called with any param, so drop it. Rewrite function as needed. The module var OUR_MODULENAME just has the module's name in it. This is available as __name__ anyway, so use this to initialize the var. | ||||
* | | Moving workbench out of process_media | Christopher Allan Webber | 2011-06-11 | 1 | -2/+1 |
| | | |||||
* | | Have the application set up instances of the WorkbenchManager. | Christopher Allan Webber | 2011-06-11 | 1 | -2/+8 |
|/ | |||||
* | Proper webtest infrastructure... seems to be about right anyway :) | Christopher Allan Webber | 2011-06-04 | 1 | -0/+43 |
| | |||||
* | Propagate Exceptions up in Celery-Eager-Mode | Elrond | 2011-06-03 | 1 | -0/+1 |
| | | | | | | | | When running in celery-eager mode, the celery machinery hides all exceptions inside "celery tasks" (you can find out about them on the task handle somehow). Currently much better to propagate them straight up, so they're visible on the console. | ||||
* | Now you can set CELERY_ALWAYS_EAGER environment variable so that you | Christopher Allan Webber | 2011-05-20 | 1 | -0/+5 |
| | | | | | | don't have to run celeryd at the same time. This should make Elrond happy ;) | ||||
* | Factor out most of the database connection into db/open.py | Elrond | 2011-05-19 | 1 | -6/+2 |
| | | | | | | | | I needed to split the db connection/opening into open.py, due to an import loop: - util.py needs db/util.py:ObjectId - db/util.py would need db/models.py - db/models.py needs util.py:slugify | ||||
* | Clean unused imports (found by pyflakes). | Elrond | 2011-05-18 | 1 | -2/+1 |
| | |||||
* | Renaming connect_database to connect_database_from_config and using in ↵ | Christopher Allan Webber | 2011-05-18 | 1 | -5/+3 |
| | | | | from_celery | ||||
* | Move models into new db/ directory | Elrond | 2011-05-18 | 1 | -1/+2 |
| | | | | | | | | The database is a central point of interest/discussion. Represent that by its own directory. This will surely become more interesting when we have migrations for example. | ||||
* | Asbool the email debug mode option | Christopher Allan Webber | 2011-05-08 | 1 | -2/+2 |
| | |||||
* | Only convert db port if it's there and use asint to do it (better errors if ↵ | Christopher Allan Webber | 2011-05-08 | 1 | -1/+5 |
| | | | | failing) | ||||
* | mgoblin_section.get, not app_config.get (doh) | Christopher Allan Webber | 2011-05-08 | 1 | -1/+1 |
| | | | | My name's Chris Webber and I ignore pyflakes warnings. | ||||
* | Added an email debug mode which, by default, is enabled | Christopher Allan Webber | 2011-05-07 | 1 | -0/+1 |
| | |||||
* | Updated default sender address | Joar Wandborg | 2011-05-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Joar Wandborg <git@wandborg.com> | ||||
* | Made changes according to http://bugs.foocorp.net/issues/271#note-7 | Joar Wandborg | 2011-05-08 | 1 | -0/+4 |
| | | | | Signed-off-by: Joar Wandborg <git@wandborg.com> | ||||
* | Force imports of stuff like mediagoblin.process_media which has tasks we need | Christopher Allan Webber | 2011-05-03 | 1 | -0/+6 |
| | |||||
* | Register the models when using from_celery | Christopher Allan Webber | 2011-05-01 | 1 | -1/+2 |
| | |||||
* | Now we have something useful: mediagoblin.celery_setup.from_celery | Christopher Allan Webber | 2011-05-01 | 1 | -0/+87 |
| | | | | auto-configures a celery config module from your paste config | ||||
* | tests for setup_celery_from_config() | Christopher Allan Webber | 2011-04-30 | 1 | -1/+1 |
| | |||||
* | A few more corrections to make setup_celery_from_config() work right | Christopher Allan Webber | 2011-04-30 | 1 | -7/+13 |
| | |||||
* | Import based on the DEFAULT_SETTINGS_MODULE in setup_celery_from_config | Christopher Allan Webber | 2011-04-30 | 1 | -6/+19 |
| | |||||
* | Commit dummy_settings_module, of course. | Christopher Allan Webber | 2011-04-24 | 1 | -0/+0 |
| | |||||
* | setup_celery_from_config tool. Haven't tried if it works, but looks right... | Christopher Allan Webber | 2011-04-24 | 1 | -0/+121 |