Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Merge remote branch 'remotes/elrond/dev/workbench_class' | Christopher Allan Webber | 2011-06-14 | 3 | -67/+78 | |
|\ \ \ | ||||||
| * | | | Move destroy_workbench to Workbench class | Elrond | 2011-06-14 | 3 | -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() | Elrond | 2011-06-14 | 2 | -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. | Elrond | 2011-06-13 | 3 | -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 Webber | 2011-06-13 | 2 | -0/+46 | |
| | | | | ||||||
* | | | | Merge remote branch 'remotes/elrond/idea/simple_proc_media_clean' | Christopher Allan Webber | 2011-06-12 | 1 | -8/+10 | |
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | Conflicts: mediagoblin/process_media/__init__.py | |||||
| * | | | Refactor filename generation in the public store | Elrond | 2011-06-08 | 1 | -8/+10 | |
| | | | | | | | | | | | | | | | | | | | | Just a small refactoring of the filename setup in the public store. Very simple. | |||||
* | | | | ensure color mode compatibility when making image thumbnails | cfdv | 2011-06-12 | 1 | -0/+3 | |
| | | | | ||||||
* | | | | First import of mg_globals as mgg, partly because I just wanted it to | Christopher Allan Webber | 2011-06-12 | 1 | -11/+11 | |
| | | | | | | | | | | | | | | | | be clear that it's okay to do by doing it *somewhere* :) | |||||
* | | | | mediagoblin.globals->mediagoblin.mg_globals | Christopher Allan Webber | 2011-06-12 | 14 | -35/+32 | |
| | | | | ||||||
* | | | | 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. | |||||
* | | | | Merge remote branch 'remotes/elrond/idea/tests_kill_db' | Christopher Allan Webber | 2011-06-12 | 1 | -0/+11 | |
|\ \ \ \ | |_|_|/ |/| | | | ||||||
| * | | | Tests: Kill the whole testing database after all tests | Elrond | 2011-06-10 | 1 | -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 Webber | 2011-06-11 | 3 | -13/+13 | |
| | | | ||||||
* | | | Switch process_media over to using the workbench. | Christopher Allan Webber | 2011-06-11 | 1 | -2/+11 | |
| | | | ||||||
* | | | Don't bother returning whether or not we copied it or not, we can | Christopher Allan Webber | 2011-06-11 | 2 | -17/+11 | |
| | | | | | | | | | | | | figure that out by looking to see whether our storage is local or not. | |||||
* | | | Moving workbench out of process_media | Christopher Allan Webber | 2011-06-11 | 4 | -5/+3 | |
| | | | ||||||
* | | | Merge branch 'master' into workbench | Christopher Allan Webber | 2011-06-11 | 1 | -9/+10 | |
|\ \ \ | ||||||
| * | | | Import mediagoblin.globals as mg_globals so we can be sure things are | Christopher Allan Webber | 2011-06-11 | 1 | -9/+10 | |
| |/ / | | | | | | | | | | set up in the right order. | |||||
* | | | Have the application set up instances of the WorkbenchManager. | Christopher Allan Webber | 2011-06-11 | 2 | -5/+16 | |
| | | | ||||||
* | | | test WorkbenchManager.possibly_localize_file() | Christopher Allan Webber | 2011-06-11 | 1 | -0/+43 | |
| | | | ||||||
* | | | We don't need this extra '.' in making the filename | Christopher Allan Webber | 2011-06-11 | 1 | -1/+1 | |
| | | | ||||||
* | | | Added a FakeRemoteStorage, for testing purposes | Christopher Allan Webber | 2011-06-11 | 1 | -2/+10 | |
| | | | ||||||
* | | | Make sure workbench won't kill directories out of scope. | Christopher Allan Webber | 2011-06-11 | 1 | -6/+16 | |
| | | | ||||||
* | | | Tests for creating/destroying workbenches | Christopher Allan Webber | 2011-06-11 | 1 | -0/+44 | |
| | | | ||||||
* | | | Wrote functions and documentation for all the WorkbenchManager | Christopher Allan Webber | 2011-06-11 | 1 | -8/+75 | |
| | | | | | | | | | | | | functions but haven't actually tested them yet. :) | |||||
* | | | Base structure of workbench manager | Christopher Allan Webber | 2011-06-11 | 1 | -0/+73 | |
| | | | ||||||
* | | | Adding a copy_locally() method to the StorageInterface and giving it a test. | Christopher Allan Webber | 2011-06-11 | 2 | -0/+37 | |
| | | | ||||||
* | | | Allow storage systems to be local and allow for a get_local_path | Christopher Allan Webber | 2011-06-11 | 2 | -1/+37 | |
|/ / | | | | | | | method if applicable. | |||||
* | | This attribute in quotes, too. :) | Christopher Allan Webber | 2011-06-07 | 1 | -1/+1 | |
| | | ||||||
* | | XML attributes must be in quotes! | Christopher Allan Webber | 2011-06-07 | 1 | -3/+3 | |
| | | ||||||
* | | Fixing check_filetype... | Christopher Allan Webber | 2011-06-07 | 1 | -9/+1 | |
| | | | | | | | | | | We need to check the first part of the guess_type returned tuple, and also this try: except: doesn't belong here, so killing. | |||||
* | | Added a comment to clarify that this shouldn't stay here. | Christopher Allan Webber | 2011-06-06 | 1 | -0/+2 | |
| | | ||||||
* | | Merge remote branch 'remotes/gandaro/324-bad-media-types' | Christopher Allan Webber | 2011-06-06 | 2 | -1/+36 | |
|\ \ | ||||||
| * | | add changes in mediagoblin/submit/views.py | Jakob Kramer | 2011-06-02 | 1 | -1/+4 | |
| | | | ||||||
| * | | should fix #324 | Jakob Kramer | 2011-06-02 | 1 | -0/+32 | |
| | | | ||||||
* | | | A setup_fresh_app decorator which should make writing tests a bit easier. | Christopher Allan Webber | 2011-06-06 | 2 | -5/+19 | |
| | | | | | | | | | | | | Setting test_register_views() to use it also. | |||||
* | | | A clear_test_buckets() method | Christopher Allan Webber | 2011-06-06 | 1 | -0/+20 | |
| | | | ||||||
* | | | Docstring for test_register_views() | Christopher Allan Webber | 2011-06-05 | 1 | -0/+3 | |
| | | | ||||||
* | | | Make sure that two users with the same username can't register. | Christopher Allan Webber | 2011-06-05 | 1 | -1/+14 | |
| | | | ||||||
* | | | Email verification view test works | Christopher Allan Webber | 2011-06-05 | 1 | -1/+25 | |
| | | | ||||||
* | | | Make sure we can register, and then that we get the verification email | Christopher Allan Webber | 2011-06-05 | 1 | -4/+46 | |
| | | | ||||||
* | | | Use render_template utility so we can test whether or not this email | Christopher Allan Webber | 2011-06-05 | 1 | -11/+10 | |
| | | | | | | | | | | | | sends | |||||
* | | | Moved the verification url generation string template to a global variable | Christopher Allan Webber | 2011-06-05 | 1 | -5/+9 | |
| | | | ||||||
* | | | Make sure that get_test_app() really does wipe the database | Christopher Allan Webber | 2011-06-05 | 1 | -0/+38 | |
| | | | ||||||
* | | | Made a simple template rendering view and switched a bunch of code over to ↵ | Christopher Allan Webber | 2011-06-05 | 4 | -29/+19 | |
| | | | | | | | | | | | | using it | |||||
* | | | I have a strong preference for aligning all parameters in a function call. | Christopher Allan Webber | 2011-06-05 | 5 | -15/+24 | |
| | | | ||||||
* | | | Merge remote branch 'remotes/elrond/idea/shortcuts' | Christopher Allan Webber | 2011-06-05 | 7 | -85/+67 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | Create redirect shortcut and use it around | Elrond | 2011-06-05 | 5 | -24/+19 | |
| | | | | | | | | | | | | | | | This is just replacing exc.HTTPFound(location=request.urlgen(...)) by redirect(request, ...). No magic. |