| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Embed the atom feed link in the root template (most recent media
page) for easier discovery. Delete the (listings/all.html) template
as contributed in commit 195e79098b5 as it was unused and the feed
is essentially showing the most recent media anyway.
|
| | |
| | |
| | |
| | |
| | |
| | | |
- This makes many places more readable.
- Gives us translation in two places.
- Allows easier changing of labels in a central place.
|
| | |
| | |
| | |
| | |
| | |
| | | |
If we have to render fields individually, we still can use
wtforms_util.render_field_div for each field. Makes things
much smaller and readable.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
By "translation legos" I mean having multiple strings to be translated
appended together. This isn't a good idea because you can't assume
that syntax will work together in the same way in another language, so
you may be making things hard or impossible for translators.
Between this and the last commit, this means that tags now link to
user tagged media specifically, and if people want a more general tag
listing, they can click on the tag link to get to a more general
listing. I feel this is a good and intuitive route to handling this.
This sponsored commit brought to you by Debarshi Ray! Thank you!
|
| | |
| | |
| | |
| | | |
This commit sponsored by Torsten Meissner. Thanks, Torsten!
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
tags used to be global, you could only browse media by tag for all users.
This patch implements a view that allows us to browse only a user's tagged
media.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
1. Add a trailing slash to the mediagoblin.org URL.
(The string changed anyway, so translations are not
affected more than already.)
2. Order was wrong for those two at the end (old version):
{% endblock mediagoblin_body %}
</div>
3. Fix some little indenting issues.
4. Remove some useless space from the output.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* pythonsnake/537_version:
Added "version" before the version
Fix bug 537
|
| | | | | |
|
| | |/ /
| |/| | |
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Use wtforms_util.render_field_div on the collection
description, so that the markdown notice in the wtform is
actually rendered to html.
|
| | |
| | |
| | |
| | |
| | | |
Our jquery <script> tag did not have a proper type
attribute.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Rename a variable in a translated string to make it easier
for translators to know what they're dealing with.
And add a <title/> block.
|
| | |
| | |
| | |
| | | |
Add quotation marks and "a" ("a" was proposed by Elrond).
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- I'm having trouble seeing if the geolocation stuff actually works,
but plugins are included
- including a list of template hooks works, however the macro to
include them does not, so it's kinda verbose
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Added start of template hook code to pluginapi.py
- Started to break openstreetmap into plugin; moved templates
- Added plugin hooks in media and image media templates
... almost certainly, none of this works yet. :)
|
|\ \ \
| | | |
| | | |
| | | | |
into mergetest
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This feature is absolutely necessary. Now a user can simply define
their default license and quickly go through a form, as opposed to
stopping to click on the select and choosing the same option over
and over again.
Also added DB migration for the field, so that's working now, too.
Rebased by Sebastian and made the default value to be unicode.
Reviewed-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
|
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Well, I like semantic html. And the list of comments, well,
is now a list: <ul>.
Using list-style:none it looks nearly the same as before.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When rendering a comment, we had a lot of whitespace. And
some of it made it into the rendered page:
"""<a href=...>abc </a>""" the trailing space gets
rendered and looks ugly.
|
|/ /
| |
| |
| |
| | |
Mark all the strings in the new account deletion stuff for
translation.
|