| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
A good idea, though it feels fairly clumsy in the form, and I think if
you're logged in you can already sabotage the user pretty well.
This commit sponsored by Sergey Matveev. Thanks!
|
|\ |
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
mediagoblin/auth/lib.py
|
| | | |
|
| | |
| | |
| | |
| | | |
quotes
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
app_config['original_date_visible'] is true
Not all media managers have the .get_original_date attribute, so of
course break. This is fixed by making a new space where individual
media types can define this if they like.
This commit sponsored by Matthieu Dupont de Dinechin. Thank you!
|
|/ |
|
|
|
|
|
|
| |
The last update made the assumption that EXIF metadata is in some way
consistent between camera models, images, manufacturers. This update
takes into account that nothing is certain whenever EXIF is involved.
|
|
|
|
|
|
| |
Moved all references and also added a note to our release notes.
This commit sponsored by Juan Rodriguez. Thank you!
|
|
|
|
|
|
| |
This should make it easier to override just that part of the page.
This commit sponsored by David Rylander. Thank you!
|
|
|
|
| |
view their password as they're typing.
|
| |
|
| |
|
|
|
|
| |
This commit sponsored by Christian Frank. Thank you!
|
| |
|
|
|
|
|
|
|
| |
This fixes a bug so that it doesn't explode if the media_data doesn't
exist.
This commit sponsored by Ole-Morten Duesund. Thank you!
|
| |
|
|\
| |
| |
| |
| |
| | |
Conflicts:
mediagoblin/config_spec.ini
mediagoblin/templates/mediagoblin/user_pages/media.html
|
| |
| |
| |
| | |
function)
|
| |
| |
| |
| | |
as a configurable option 'original_date_visible' (default false). Since the EXIF tag is a string with the date formatted as 'YYYY:MM:DD HH:MM:SS' the fix slices the string to give only the date and then replaces : by - to conform with the 'Added on' date.
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Using collection.url_for_self(request.urlgen) instead
of request.urlgen(lengthy) is so much nicer, so using
it around the place.
Also added a few missing </a> in one template.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The new media type supports pdf and a subset of media recognized by libreoffice via
unoconv.
Every document added goes through:
* conversion to pdf with unoconv if not already a pdf
* creation of thumbnail and medium sized image, and pdfinfo generates
some information (even for unoconv produces docs - should fix this)
Poppler (pdftocairo, pdfinfo) is used. http://poppler.freedesktop.org/
A working but uglified pdf.js integration exists, which is enabled by
setting pdf.pdf_js=true mediagoblin_local.ini (disabled in mediagoblin.ini)
Adds one test to the test_submission test suite, and another separate test_pdf suite.
The tests are only run if media_types.pdf.processing.check_prerequisites passes, so
the test suite will not require any extra package.
TODO: make test suite say 'skipped' in that case instead of just 'ok'
Signed-off-by: Alon Levy <alon@pobox.com>
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Previously they were just "amount of time"... I think this fits a bit better.
|
| | | |
|
|/ / |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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!
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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!
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
instead of rendering it by hand, use the normal field
rendering tools.
Old:
[choose box] License preference
New:
License preference
[choose box]
This will be your default license on upload forms.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Issues of racism seem to have been resolved and removed from upstream,
but make having this as a dependency somewhat uncomfortable:
https://github.com/aFarkas/html5shiv/issues/91
Regardless, at the time of writing the project doesn't comply with its
own license... it states to be dual licensed under MIT and GPLv2 but
distributes neither of these licenses with its source.
|
| |
| |
| |
| | |
This commit sponsored by Stephane Berube. Thank you!
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
As Elrond points out, the "extra" is implied by it being a hook!
This commit sponsored by Andrew Fustini. Thanks, Drew!
|
| | |
| | |
| | |
| | |
| | |
| | | |
easily.
This commit sponsored by Moritz Berberich. Thank you!
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When listing the collections, that a media is contained in,
also show the owner of the collection.
Also simplify the whole looping a lot.
|
| | |
| | |
| | |
| | | |
Also remove some useless whitespace while at it.
|
| | |
| | |
| | |
| | | |
And remove some stray white space from the output.
|
| | |
| | |
| | |
| | |
| | | |
- Make it possible for site owners to hook into base.html without
tainting the repository.
|