| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
The ideas is by Alon Levy.
Use it in ProcessingState.copy_original for now.
|
|
|
|
| |
Set the media_files directly at the relvant places.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| |
| |
| |
| | |
Missed case in a previous commit.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| |/
| |
| |
| |
| | |
When uploading, the file field needs some checks, it seems.
So refactor them into check_file_field and use around.
|
| |
| |
| |
| |
| | |
This one needs to return just "2.5.0 (Mediagoblin)" instead
of "Piwigo 2...".
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
|\ |
|
| | |
|
| | |
|
|\ \ |
|
| |/ |
|
|/
|
|
|
|
|
|
|
|
|
| |
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 :)
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
- The xml formatting is now in the main function.
- Add PwgNamedArray to have named lists in xml output.
- Remove gmg.test method
|
| |
|
|
|
|
|
|
|
| |
This one just puts up the basic endpoint, some
infrastructure and a fake login method.
Lots more needed.
|
|
|
|
|
|
|
|
| |
exif_fix_image_orientation
Thanks to dnet for catching this.
This commit sponsored by Chester Zeller. Thanks!
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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!
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
"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!
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
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!
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Elrond.
This commit sponsored by Sebastian Hugentobler. Thank you!
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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!
|
| | |
| | |
| | |
| | |
| | |
| | | |
the dict.
This commit sponsored by Joshua Rosen. Thank you!
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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!
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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!
|