aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/init
Commit message (Collapse)AuthorAgeFilesLines
* from_celery.setup_self() didn't pay attention to default_conf_file kwarg, fixed.Christopher Allan Webber2012-05-201-4/+5
|
* 401. Plugin infrastructureWill Kahn-Greene2012-05-131-0/+59
| | | | | | | | * implements installing, loading and setup for plugins * codifies configuration * has a sample plugin * docs * tests
* Making celeryd consistent: look for mediagoblin_local.iniChristopher Allan Webber2012-04-221-1/+6
| | | | | Use mediagoblin_local.ini as default conf file if it exists, else use mediagoblin.ini, just like everything else.
* SQL based tests and refactored Celery setup stuffChristopher Allan Webber2012-03-261-15/+40
| | | | | | - Changed config files of test configs to use SQL - Updated celery initialization tools, factored them to be able to use the "big instance" application stuff
* And fix the in-celeryd import.Elrond2012-03-211-1/+1
| | | | So that celeryd also loads the task.
* Create load_models().Elrond2012-03-201-1/+4
| | | | | | | | | | | | So all models are ready when connecting to the db and so our "db" object has all models listed on it, create a function to load all models from the media_types, etc. Call it in setup_database() Problem: This gives celery warnings, because celery is imported before being setup properly. No idea how to fix this now. So media-type loading is excluded from load_models for now.
* Accidentally overwrote the celery/__init__.py, fixed this and removed the ↵Luke Slater2012-02-281-1/+55
| | | | upper correctly
* Changed celery config keys to upper case and removed upper casing of keys ↵Luke Slater2012-02-281-56/+1
| | | | when initialising the config as per issue #214
* Should be all that's needed to switch celery/kombu settings to sqlalchemyChristopher Allan Webber2012-02-251-20/+3
|
* It's 2012 all up in hereChristopher Allan Webber2012-02-025-5/+5
|
* Factor out check_db_migrations_currentElrond2012-01-011-21/+3
| | | | | | | | | | When initializing the database connection the current mongo based setup checked for new migrations and warned about them. This was mongo specific so factor'd it out into a more generic check_db_migrations_current function in the mongo backend. Also created a dummy one in the sql backend.
* Move db/migrations.py -> db/mongo/migrations.pyElrond2011-12-201-1/+1
| | | | And change references.
* Fixes after merging video branch into masterJoar Wandborg2011-11-211-3/+1
| | | | | | | | | | | | | - Removed debug output from init/celery - Moved process_media/__init__ to processing.py - Centralized the processing.ProcessMedia task class - Updated media managers to reference the processing function instead of the ProcessMedia instance - Updated new-style image processing to previous, newer old-style image processing - Updated video transcoding - Changed method in progress output, sometimes message.structure['percent'] raises KeyError
* Merge branch 'video_gstreamer-only'Joar Wandborg2011-11-211-0/+2
|\ | | | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/submit/views.py
| * Stashing changesJoar Wandborg2011-11-211-3/+0
| |
| * Multimedia support - Commiting from a not yet finished state - Details belowJoar Wandborg2011-09-231-0/+5
| | | | | | | | | | | | | | | | | | | | | | * DONE Initially testing with arista ** DONE Video display templates *** TODO Multi-browser support ** TODO Video thumbnails ** TODO Link to original video ** TODO Video cropping Also contains a lot of "debug" print's
* | has_key is deprecated, converting uses to use "in" operator.Nathan Yergler2011-10-012-7/+7
| |
* | Whitespace and formatting cleanup.Nathan Yergler2011-10-014-10/+14
|/ | | | | | | * Removed trailing whitespace * Line length < 80 where possible * Honor conventions on number of blank lines * Honor conventions about spaces around :, =
* Merge branch 'i507_beaker_cache'Christopher Allan Webber2011-09-051-0/+16
|\
| * Basic beaker caching functionality added to the application.Christopher Allan Webber2011-08-231-0/+16
| |
* | 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