| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The geolocation ini sample needed more indenting and
got a nice "code-block:: ini".
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
exif_fix_image_orientation
Thanks to dnet for catching this.
This commit sponsored by Chester Zeller. Thanks!
|
| |
|
| |
|
|
|
|
| |
With the workbench stuff in it.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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!
|
| |
|
|
|
|
| |
This commit sponsored by Martin Ansdell-Smith. 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
|
|
|
|
| |
This commit sponsored by S J Bennett. Thanks!
|
|
|
|
|
| |
- Rename the chapter to "Original *".
- Fix links.
|
|
|
|
|
| |
This brings back the exact version that was removed in
65e7ce634cfecc87ed6f390f9ccf91be513d2eea.
|
| |
|
|
|
|
|
|
|
|
| |
"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!
|
| | |
| | |
| | |
| | | |
This commit sponsored by Jukka Hellen. Thanks!
|
| | |
| | |
| | |
| | |
| | |
| | | |
This will make some stuff a bit cleaner that's coming up...
This commit sponsored by J B Nicholson-Owens. Thanks!
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Of course, the version that appears here is not really dangerous
because it's for the "call the file individually" form of debugging,
but it isn't allowed anyway.
This commit sponsored by Michael Faryniarz. Thanks!
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This comes in several parts:
- Store the metadata from gstreamer during processing
- Add a new JSONEncoded field to the VideoData table
- And, of course, add a migration for that field!
This commit sponsored by Julius Tuomisto. Thank you, Julius!
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
transcode
- Update get_display_media in several ways:
- now uses the media type's own declaration of the order of things
- returns both the media_size and the media_path, as per the docstring
- implicitly uses self.media_files as opposed to forcing you to pass it in
- update videos to use get_display_media
- update images to declare media_fetch_order in the media manager (videos also)
- update stl to use media.media_files['original'] instead of weird
use of get_display_media
- update sidebar to only conditionally show webm_640
TODO still: identify video type information *during* processing, show
that in the <video><source /></video> element.
This commit sponsored by Nathan Yergler. Thanks, nyergler!
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There's no reason to copy it over to 'webm_640' in such a case,
clearly.
Added logic so we don't do it twice either.
Haven't tested this yet though ;)
This commit sponsored by Algot Runeman. Thank you!
|