aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | 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?
* | | | 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.
* | | 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
| | |
* | | 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
| |/ /
* / / 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 :)
* | 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.
* | A more realistic "con" explaination in the docstring of ↵Christopher Allan Webber2013-03-151-1/+4
| | | | | | | | | | | | | | | | exif_fix_image_orientation Thanks to dnet for catching this. This commit sponsored by Chester Zeller. Thanks!
* | Changing "evil" submission test-script to be a bash script.Christopher Allan Webber2013-03-123-0/+0
| |
* | Now in 0.4.0 dev mode!Christopher Allan Webber2013-03-121-1/+1
| |
* | New version: 0.3.3 !Christopher Allan Webber2013-03-111-1/+1
| |
* | Committing extracted and compiled translationsChristopher Allan Webber2013-03-116-2/+2
| |
* | Committing present MediaGoblin translations before pushing extracted messagesChristopher Allan Webber2013-03-115-82/+83
| |
* | Fixing dates when uploaded in a video to a mediagoblin instance.Christopher Allan Webber2013-03-111-1/+32
| | | | | | | | | | | | | | | | There were some "serializing to json strings" issues. They should be fixed now... much more careful whitelist and cleaning of the video "tags" metadata out of gstreamer. This commit sponsored by Aimee Sullivan. Thanks!
* | Added thingiview.js symlink, fixes webgl viewJoar Wandborg2013-03-101-0/+1
| |
* | 655: Fix collection fetching for media_collect()Elrond2013-03-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is: Collection.query.filter_by(id=X, ...) 1. X = form.collection.data This works nicely for the completely empty form (X = None). It does not work for a selected collection, because X will be the collection, not its id. 2. X = request.form.get('collection') (old code). This one works mostly, except for the completely empty form on postgres, because in this case X = u"__None" and postgres does not like comparing an integer column with a string. Fix: collection = form.collection.data if collection and collection.creator != request.user.id: collection = None