aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'cwebber/254_delete_queue_directories'Elrond2013-04-085-9/+57
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cwebber/254_delete_queue_directories: Removing docstring bit about delete_file possibly deleting directories in the future Convert media processing backends to delete the queue directory (#254) Implement delete_dir in the FileStorage Conflicts: mediagoblin/media_types/image/processing.py mediagoblin/media_types/video/processing.py Conflicts, because those media_types already use the newer proc_state.delete_queue_file() method (which needs updating.
| * Removing docstring bit about delete_file possibly deleting directories in ↵Christopher Allan Webber2013-01-221-4/+0
| | | | | | | | | | | | | | | | the future I agree that delete_dir as a separate operation is a better way to do things, especially since there is a non-recursive deletion option that will politely fail if the directory is not empty.
| * Convert media processing backends to delete the queue directory (#254)Sebastian Spaeth2013-01-225-7/+33
| | | | | | | | | | | | | | We never deleted our queue directory which were created per submission. With the FileStorage backend being able to delete directories now, we can request the deletion of the task directory too. It will only be deleted if it is completely empty.
| * Implement delete_dir in the FileStorageSebastian Spaeth2013-01-222-3/+39
| | | | | | | | | | | | | | | | plus options for deleting only empty directories and deleting them recursively. Not sure how cloudfile storage is or should be handled here. Are things such as a "directory" even a concept there?
* | Teach runtests.sh the -n arg.Elrond2013-04-061-0/+7
| | | | | | | | | | | | | | | | | | | | If you give "-n 8" to runtests, it thinks, it got "-n" -- a nice option, ignored. "8" -- Oh! a single test named "8" to run, so no need to run all the GMG tests. Well, that's not what we want. So runtests now knows about -n taking an arg.
* | Really removing nosetests things now! all assert_whatever removedChristopher Allan Webber2013-04-0611-96/+75
| |
* | Better docs for GenerateSlugMixin.Elrond2013-04-061-1/+9
| |
* | Use GenerateSlugMixin for collections.Elrond2013-04-063-14/+5
| | | | | | | | | | Use the new way of generating slugs also for collections. Also drop the dummy_db arg to check_collection_slug_used.
* | Refactor generate_slug into a mixin.Elrond2013-04-061-9/+13
| | | | | | | | | | Refactor the new generate_slug into a mixin to allow it to be used for collections also.
* | Merge branch '614_multi_test_config'Christopher Allan Webber2013-04-0418-229/+252
|\ \
| * | Switch test_app generation over to use py.test fixtures.Christopher Allan Webber2013-04-0418-251/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By doing this, we can take advantage of py.test's ability to create temporary directories that are then cleaned up later during testing. This helps for sandboxing things. This also involves a ton of changes: - Changing the get_app stuff appropriately, getting rid of the setup_fresh_app decorator - Making said fixture - Switching over a billion tests to use it
| * | Oops, forgot to assign dump_old_app to self, heh.Christopher Allan Webber2013-04-041-0/+1
| | |
| * | Turning setup_fresh_app into SetupFreshApp, a decorator with options!Christopher Allan Webber2013-04-041-8/+18
| | | | | | | | | | | | This way people can pass in particular paste/mediagoblin configs that they want to use.
| * | Updating get_app to allow for passing in particular app configsChristopher Allan Webber2013-04-041-2/+17
| | |
* | | Also require pytest-xdist!Christopher Allan Webber2013-04-031-0/+1
|/ /
* | Use py.test --boxed for unit tests from now on!Christopher Allan Webber2013-04-032-11/+11
| |
* | These tests need to have a MediaGoblin app setup so they can connect to the db!Christopher Allan Webber2013-04-032-0/+3
| | | | | | | | Thanks to py.test --boxed for helping discover that ;)
* | All mediagoblin tests now pass with py.test (switched setUp to setup)Christopher Allan Webber2013-04-038-10/+10
| |
* | Create ProcessingState.store_public.Elrond2013-04-031-2/+10
| | | | | | | | | | | | The ideas is by Alon Levy. Use it in ProcessingState.copy_original for now.
* | Little refactoring for images: media_files.Elrond2013-04-031-8/+2
| | | | | | | | Set the media_files directly at the relvant places.
* | A bit of pep8: Remove useless whitespace.Elrond2013-03-301-5/+5
| |
* | Merge remote-tracking branch 'JDShu/649_use_form_data_field'Elrond2013-03-305-36/+36
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | * JDShu/649_use_form_data_field: Use WTForms data field in user_pages/views.py Use WTForms data field in auth/views.py auth: whitespace cleanup in views.py Use WTForms data field in plugins/oauth/views.py Use WTForms data field in submit/views.py Use WTForms data field in edit/views.py
| * | Use WTForms data field in user_pages/views.pyHans Lo2013-03-281-1/+1
| | | | | | | | | | | | Missed case in a previous commit.
| * | Use WTForms data field in auth/views.pyHans Lo2013-03-281-6/+6
| | |
| * | auth: whitespace cleanup in views.pyHans Lo2013-03-281-3/+3
| | |
| * | Use WTForms data field in plugins/oauth/views.pyHans Lo2013-03-281-4/+4
| | |
| * | Use WTForms data field in submit/views.pyHans Lo2013-03-271-6/+6
| | |
| * | Use WTForms data field in edit/views.pyHans Lo2013-03-271-16/+16
| | |
* | | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblinChristopher Allan Webber2013-03-295-11/+61
|\ \ \
| * | | Refactor file field checking.Elrond2013-03-293-10/+17
| |/ / | | | | | | | | | | | | When uploading, the file field needs some checks, it seems. So refactor them into check_file_field and use around.
| * | piwigo: Fix pwg_getversionElrond2013-03-261-1/+1
| | | | | | | | | | | | | | | This one needs to return just "2.5.0 (Mediagoblin)" instead of "Piwigo 2...".
| * | piwigo: Start at pwg.images.addSimple.Elrond2013-03-262-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | Without a session and a logged in user, this can't go much further. Misses check for the file upload field. Need refactored test tool for this.
* | | Warning that raven plugin is somewhat experimental!Christopher Allan Webber2013-03-291-0/+2
|/ /
* | Merge remote-tracking branch 'aeva/671_fix_stl'Christopher Allan Webber2013-03-251-0/+3
|\ \
| * | Ascii stl files now should have their whitespace stripped when parsing.Aeva Ntsc2013-03-251-0/+1
| | |
| * | Fixed a bug that had binary stls be handled by the ascii stl parser.Aeva Ntsc2013-03-241-0/+2
| | |
* | | Merge remote-tracking branch 'jdshu/649_use_form_data_field'Christopher Allan Webber2013-03-241-4/+4
|\ \ \
| * | | Use WTForms data field in user_pages/views.pyHans Lo2013-03-241-4/+4
| |/ /
* | | Webtest2 breaks response.cookies stuff for some reason.Christopher Allan Webber2013-03-241-1/+1
| | | | | | | | | | | | | | | | | | I don't understand why but other people do! This is a terrible commit message and I am sorry for it.
* | | Updated VideoThumbnailerMarkII, removed oldJoar Wandborg2013-03-241-307/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed the old VideoThumbnailer since it's not used anymore. VideoThumbnailerMarkII: Changed the state switching in on_thumbnail_message to only set the state to "processing thumbnail" if the seek was succesful. I'm not sure what I'm doing here, but I know at least some of it is good, and as a whole, it seems to work, so far :)
* | | Adding documentation on what the $need_arg code in runtests.sh doesChristopher Allan Webber2013-03-241-4/+10
| | |
* | | Move description of software stack below description of "What's where"Christopher Allan Webber2013-03-241-70/+70
|/ /
* | piwigo start at pwg.images.addChunk.Elrond2013-03-211-1/+43
| | | | | | | | | | | | | | | | This function receives part of an upload. Does most parameter validation, but does not safe the data anywhere for now. Also fake pwg.images.exist
* | piwigo: Add session.getStatus, improve categories.getListElrond2013-03-212-5/+10
| | | | | | | | | | | | | | | | | | | | | | - pwg.session.getStatus returns the current user as "fake_user". When we have a session, we'll return something better. - pwg.categories.getList add a name and the parent id for its one and only "collection". - Improve logging a bit.
* | piwigo: Sent a fake cookie.Elrond2013-03-211-1/+18
| | | | | | | | | | | | | | shotwell needs a pwg_id cookie to continue. And really, it's the only cookie it supports, so in the long run, we need to send a proper session cookie as pwg_id.
* | Add warning README.rst and fix pep8.Elrond2013-03-192-1/+24
| |
* | piwigo: Move tool functions into tools.pyElrond2013-03-192-83/+108
| |
* | Start at pwg.categories.getList and improve xml output.Elrond2013-03-191-13/+51
| | | | | | | | | | | | - The xml formatting is now in the main function. - Add PwgNamedArray to have named lists in xml output. - Remove gmg.test method
* | piwigo: start xml response encoding, more (fake) methods.Elrond2013-03-191-2/+55
| |
* | Starting a piwigo api plugin.Elrond2013-03-192-0/+116
| | | | | | | | | | | | | | This one just puts up the basic endpoint, some infrastructure and a fake login method. Lots more needed.