aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Providing warning to users about instability of OAuth/APIChristopher Allan Webber2013-03-081-0/+4
|
* Making a fix so that video codec name switched from "vp8 video" to "vp8"Christopher Allan Webber2013-03-061-3/+10
| | | | | | | | "vp8 video" is what vp8 is marked as in gstreamer's metadata. However, the browser expects it just as the name "vp8". So fixing that. This commit sponsored by Tyng-Ruey Chuang. Thank you!
* Committing extracted and compiled translationsChristopher Allan Webber2013-03-0457-1956/+1820
|
* Merge branch 'master' into 419_cherrypick_large_uploadsChristopher Allan Webber2013-03-0416-56/+275
|\
| * Removing an unnecessary video writeChristopher Allan Webber2013-03-041-3/+0
| | | | | | | | | | | | | | In the case of if we're skipping transcoding, we don't need to copy this file at all! This commit sponsored by Frank Zambrini III. Thanks!
| * Merge branch 'joar-skip_transcoding'Christopher Allan Webber2013-03-0414-52/+268
| |\
| | * self.media_data->self.media_manager in the docstring. Thanks for catching, ↵Christopher Allan Webber2013-03-031-1/+1
| | | | | | | | | | | | | | | | | | Elrond. This commit sponsored by Sebastian Hugentobler. Thank you!
| | * No reason really to pass in fetch_order anyway...Christopher Allan Webber2013-03-031-7/+5
| | | | | | | | | | | | | | | | | | | | | I think this is legacy code from get_display_media being a utility, or something. Removed! (Thanks for pointing this out, Elrond!) This commit sponsored by Tristan Chambers. Thank you!
| | * Another elrond suggestion: only init orig_metadata if there's anything in ↵Christopher Allan Webber2013-03-031-2/+4
| | | | | | | | | | | | | | | | | | the dict. This commit sponsored by Joshua Rosen. Thank you!
| | * Per Elrond's suggestions moving DEFAULT_WEBM_TYPE to media managerChristopher Allan Webber2013-03-033-4/+4
| | | | | | | | | | | | | | | | | | | | | The reason for this is to avoid defining this twice as we were previously (once in the template, once in video/models.py) This commit sponsored by Roland McIntosh. Thank you!
| | * Extrapolate type= based on the video metadata that we have, if we can.Christopher Allan Webber2013-03-033-2/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | It's kind of awkward because it relies on there being a entry.media_data, but that's not guaranteed... (see http://issues.mediagoblin.org/ticket/650) so we use a dopey fallback in the template in that case (kind of annoying info duplication). This commit sponsored by Piotr Wieczorek. Thank you!