aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | Removing type conversions from setup_celery_from_config.Christopher Allan Webber2011-06-181-64/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These simply aren't needed any more, not now that the config validator stuff does type conversion for us. Also fixed the docstring to explain force_celery_always_eager.
| | * | | | | Move entire app structure over to using the new config system.Christopher Allan Webber2011-06-182-64/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | | | Tests for mediagoblin.config functionsChristopher Allan Webber2011-06-185-0/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests for: - read_mediagoblin_config() - generate_validation_report()
| | * | | | | CONFIG_SPEC_PATH should be config_spec here, fixing.Christopher Allan Webber2011-06-181-1/+1
| | | | | | |
| | * | | | | Make REPORT_HEADER a unicode string also. Unicode everywhere, ideally!Christopher Allan Webber2011-06-181-1/+1
| | | | | | |
| | * | | | | Validation error reporting functionality.Christopher Allan Webber2011-06-181-6/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed a few things so we can report errors to users properly in the config loading system. - We now return from read_mediagoblin_config both a loaded config and the validation results - We now have a helper function generate_validation_report that can generate a proper validation report saying if there are errors in a way that's useful to users. - Moved conf->config in the read_mediagoblin_config function, which looks nicer IMO.
| | * | | | | Let's specifically import string_list()s in the config_spec.Christopher Allan Webber2011-06-181-2/+2
| | | | | | |
| | * | | | | Merge branch 'master' into configobjChristopher Allan Webber2011-06-185-5/+116
| | |\ \ \ \ \ | | | | |_|_|/ | | | |/| | | | | | | | | | | | | | | | | Conflicts: setup.py
| | * | | | | Configuration file loading via ConfigObj.Christopher Allan Webber2011-06-161-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses ConfigObj to open the config file. Also does validation via the config spec, so defaults are provided, strings are interpolated, types are converted.
| | * | | | | Basic config "requirements" file.Christopher Allan Webber2011-06-151-0/+69
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | Not used yet, but this will be used by ConfigObj to transform values, set defaults, etc.
* | | | | | Merge remote-tracking branch 'gitorious/master'Jef van Schendel2011-06-191-2/+0
|\| | | | |
| * | | | | Removing unused pkg_resources import from test_celery_setupChristopher Allan Webber2011-06-181-2/+0
| | |/ / / | |/| | |
* | | | | Merge remote-tracking branch 'gitorious/master'Jef van Schendel2011-06-175-5/+116
|\| | | |
| * | | | Merge remote branch 'remotes/cmoylan/test_auth_views_364'Christopher Allan Webber2011-06-171-5/+43
| |\ \ \ \
| | * | | | logins are now somewhat testedChris Moylan2011-06-171-5/+43
| | |/ / /
| * | | | adds link from gallery back to user pagecfdv2011-06-161-1/+3
| | | | |
| * | | | adds link to user gallery in mediagoblin_header_right of user pagecfdv2011-06-161-0/+2
| | | | |
| * | | | user_gallery controller calls render_to_reponsecfdv2011-06-161-9/+6
| | | | |
| * | | | adds routing.py and view.py changescfdv2011-06-162-0/+32
| | | | |
| * | | | issue #330 - creates a user gallery templateCaleb Forbes Davis V2011-06-161-0/+40
| |/ / /
* | | | Merge remote-tracking branch 'gitorious/master'Jef van Schendel2011-06-1520-61/+461
|\| | |
| * | | Merge remote branch 'remotes/elrond/dev/workbench_class'Christopher Allan Webber2011-06-143-67/+78
| |\ \ \
| | * | | Move destroy_workbench to Workbench classElrond2011-06-143-37/+25
| | | | | | | | | | | | | | | | | | | | | | | | | And add a lot of warnings, as the checks for "being part of the main Manager" are all gone.
| | * | | Drop WorkbenchManager.localized_file()Elrond2011-06-142-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As Workbench has the localized_file() method, use this everywhere and drop the wrapper method from WorkbenchManager. The processing code already did that.
| | * | | Create a Workbench class and use it everywhere.Elrond2011-06-133-45/+72
| | | | | | | | | | | | | | | | | | | | | | | | | Some references to Workbench.dir look ugly, I'm happy to hear suggestions there.
| * | | | A super strict HTML cleaner method with mediocre tests.Christopher Allan Webber2011-06-132-0/+46
| | | | |
| * | | | Merge remote branch 'remotes/elrond/idea/simple_proc_media_clean'Christopher Allan Webber2011-06-121-8/+10
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | Conflicts: mediagoblin/process_media/__init__.py
| | * | | Refactor filename generation in the public storeElrond2011-06-081-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Just a small refactoring of the filename setup in the public store. Very simple.
| * | | | ensure color mode compatibility when making image thumbnailscfdv2011-06-121-0/+3
| | | | |
| * | | | First import of mg_globals as mgg, partly because I just wanted it toChristopher Allan Webber2011-06-121-11/+11
| | | | | | | | | | | | | | | | | | | | be clear that it's okay to do by doing it *somewhere* :)
| * | | | mediagoblin.globals->mediagoblin.mg_globalsChristopher Allan Webber2011-06-1214-35/+32
| | | | |
| * | | | Merge remote branch 'remotes/elrond/idea/clean_celery_setup'Christopher Allan Webber2011-06-122-6/+5
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mediagoblin/celery_setup/from_celery.py
| | * | | | celery_setup: drop param to setup_self and simplify OUR_MODULENAMEElrond2011-06-102-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.
| * | | | Merge remote branch 'remotes/elrond/idea/tests_kill_db'Christopher Allan Webber2011-06-121-0/+11
| |\ \ \ \ | | |_|_|/ | |/| | |
| | * | | Tests: Kill the whole testing database after all testsElrond2011-06-101-0/+11
| | |/ / | | | | | | | | | | | | | | | | | | | | nose allows setup and teardown functions at the package level. So use this to drop the complete database after all tests have finished.
| * | | possibly_localize_file->localized_file... a bit less terribly long.Christopher Allan Webber2011-06-113-13/+13
| | | |
| * | | Switch process_media over to using the workbench.Christopher Allan Webber2011-06-111-2/+11
| | | |
| * | | Don't bother returning whether or not we copied it or not, we canChristopher Allan Webber2011-06-112-17/+11
| | | | | | | | | | | | | | | | figure that out by looking to see whether our storage is local or not.
| * | | Moving workbench out of process_mediaChristopher Allan Webber2011-06-114-5/+3
| | | |
| * | | Merge branch 'master' into workbenchChristopher Allan Webber2011-06-111-9/+10
| |\ \ \
| | * | | Import mediagoblin.globals as mg_globals so we can be sure things areChristopher Allan Webber2011-06-111-9/+10
| | |/ / | | | | | | | | | | | | set up in the right order.
| * | | Have the application set up instances of the WorkbenchManager.Christopher Allan Webber2011-06-112-5/+16
| | | |
| * | | test WorkbenchManager.possibly_localize_file()Christopher Allan Webber2011-06-111-0/+43
| | | |
| * | | We don't need this extra '.' in making the filenameChristopher Allan Webber2011-06-111-1/+1
| | | |
| * | | Added a FakeRemoteStorage, for testing purposesChristopher Allan Webber2011-06-111-2/+10
| | | |
| * | | Make sure workbench won't kill directories out of scope.Christopher Allan Webber2011-06-111-6/+16
| | | |
| * | | Tests for creating/destroying workbenchesChristopher Allan Webber2011-06-111-0/+44
| | | |
| * | | Wrote functions and documentation for all the WorkbenchManagerChristopher Allan Webber2011-06-111-8/+75
| | | | | | | | | | | | | | | | functions but haven't actually tested them yet. :)
| * | | Base structure of workbench managerChristopher Allan Webber2011-06-111-0/+73
| | | |
| * | | Adding a copy_locally() method to the StorageInterface and giving it a test.Christopher Allan Webber2011-06-112-0/+37
| | | |