aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
Commit message (Collapse)AuthorAgeFilesLines
* [audio.html]: force downloadJesús2022-03-011-2/+2
|
* Show spectrogram if javascript is enabledJesús2022-03-011-6/+25
|
* Add plyr as player default and remove NodeJS, npm and videojsJesús2022-02-281-80/+109
|
* Set videos to preload="metadata" to prevent upfront download [trac#5625].Michael McMahon2021-09-201-2/+2
| | | | | | | | | | | | | | | | Setting was previously preload="auto". While preload="auto" *does not* cause a full upfront download on Firefox, Abrowser, IceCat or Chromium, a user reported on the LibrePlanet mailing list that it was causing a full download on their browser. The specifications leave it up to the browser do decide whether to download, but it makes sense to do what we can to avoid surprising people on low bandwidth/quota internet connections. https://html.spec.whatwg.org/multipage/media.html#attr-media-preload Further, media.libreplanet.org (one of MediaGoblin's biggest users) has implement this change locally, so it makes sense for us to stay in sync. Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* Extend left/right arrow key navigation to paginated views [#5627].Olivier Mehani2021-09-195-2/+12
| | | | | | Includes "home", "collection", "view all user's media" and "user's profile" views. Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* Convert notifications.js to vanilla JavaScript (no jQuery).Ben Sturmfels2021-08-191-5/+5
|
* Convert header_dropdown.js to vanilla JavaScript (no jQuery).Ben Sturmfels2021-08-191-2/+2
|
* Remove additional mentions of persona in templates and docs.Ben Sturmfels2021-04-233-30/+5
|
* Remove the slightly un-intuitive "Resolve" button on the report handling page.Rodrigo Martins2021-04-101-16/+14
| | | | | | | This button just uses JavaScript to reveal the subsequent actions. Better to show these upfront. Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* Note that download link sorting will be wrong for higher resolutions.Ben Sturmfels2021-03-091-0/+1
|
* Update video links to support multiple resolution transcoding [#5620].Ben Sturmfels2021-03-091-6/+10
| | | | | | | We may need to push download link creation into the view in the future to make it more fully featured, but this will solve the immediate issue with missing download links on new media after 0.10.0. Sorting of entries won't be right if your media is over 999p since it's alphabetical.
* Decode request.query_string before use.Ben Sturmfels2020-04-092-9/+9
| | | | | | | | | | Prior to this change, when pagination kicks in on the user management or report management panel, the following exception is raised: TypeError: a bytes-like object is required, not 'str' The cause is that `request.query_string` in the URL parameters in raw bytestring form as per Werkzeug documentation.
* Revert "Decode request.query_string before use."Ben Sturmfels2020-04-092-9/+9
| | | | This reverts commit b6fba854007bb4392846085a60178c44dbd7989e.
* Decode request.query_string before use.Ben Sturmfels2020-04-092-9/+9
| | | | | | | | | | | This doesn't seem to be an issue in my Guix SD/Python 3.7 testing, but hit an issue on Debian 9/Python3.5 where concatenating text to `request.query_string` was causing the error: TypeError: a bytes-like object is required, not 'str' This clearly hasn't been an issue in the past though, so I suspect there's a library somewhere that's on a different version and is behaving differently.
* Use items() for Python 3 support.Ben Sturmfels2019-11-271-1/+1
|
* Add datetime_format config option.Olivier Mehani2019-09-206-10/+10
| | | | | | | Moves the datetime_format used in various places to the config and allows a global override per site. Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* move subtitles out of media streams in htmlBoris Bobrov2018-07-121-4/+4
|
* Merge branch 'transcoding_progress'Boris Bobrov2018-07-122-14/+28
|\ | | | | | | This probably broke stuff
| * Show default resolution progress in processing panelvijeth-aradhya2017-08-221-1/+9
| |
| * Merge branch 'master' into 'multiple-qualities-frontend'Vijeth Aradhya2017-08-141-3/+1
| |\ | | | | | | | | | | | | Add multiple video qualities feature See merge request !2
| * | Add previous mg css to video playervijeth-aradhya2017-07-311-2/+21
| | |
| * | Modify video.html to add video-resolution-switcher pluginvijeth-aradhya2017-07-231-27/+14
| | |
| * | Revert "Modify video template to accomodate multiple resolutions"vijeth-aradhya2017-07-231-14/+27
| | | | | | | | | | | | This reverts commit f6ba0e561bfb62991d70a4c002edf142d9d7540c.
| * | Modify video template to accomodate multiple resolutionsvijeth-aradhya2017-07-161-27/+14
| | | | | | | | | | | | | | | | | | Add required JS/CSS plugin files. Add JS file to fire up the plugin. Modify video tag accordingly.
* | | Merge remote-tracking branch 'gsoc2016/Subtitle-1'Boris Bobrov2018-07-102-0/+5
|\ \ \
| * | | Deleted old templates filessaksham11152016-07-192-109/+0
| | | |
| * | | Fixed media.html by using plugin hooksaksham11152016-07-191-31/+1
| | | |
| * | | Deleted some filessaksham11152016-07-192-73/+0
| | | |
| * | | Only video uploader can edit their subtitlessaksham11152016-07-191-1/+3
| | | |
| * | | Removed option for adding subtitles for image etcsaksham11152016-07-191-25/+27
| | | |
| * | | Adding css to textareasaksham11152016-07-191-1/+4
| | | |
| * | | Converting the path to subtitle into a tuplesaksham11152016-07-191-1/+1
| | | |
| * | | Removing commented codesaksham11152016-07-191-2/+0
| | | |
| * | | Cleaning upsaksham11152016-07-192-7/+40
| | | |
| * | | Customizing Subs using Wtformssaksham11152016-07-192-1/+37
| | | |
| * | | Working for firefoxsaksham11152016-07-191-6/+9
| | | |
| * | | Loading subtitle files [Not working]saksham11152016-07-191-1/+34
| | | |
| * | | Customize Interface in progresssaksham11152016-07-192-2/+5
| | | |
| * | | Subtitle built over attachments : workingsaksham11152016-07-193-3/+99
| | | |
| * | | Subtitle interface using attachmentssaksham11152016-07-191-0/+4
| | | |
| * | | Lightbox effect for imagessaksham11152016-07-191-1/+5
| | | |
* | | | Add moderation panel thumbnail header [#5563]Andrew Browning2018-04-081-0/+1
| | | | | | | | | | | | | | | | Add moderation panel column header for thumbnail column.
* | | | Fix location of host-meta.xml file [#5543]Andrew Browning2017-10-311-0/+0
| |_|/ |/| |
* | | Apply button_warning style to blog delete buttonsAndrew Browning2017-06-191-1/+1
| | |
* | | Fix #830 - Remove exif from blog postsAndrew Browning2017-06-191-2/+0
| |/ |/|
* | Add register_captcha template hookAndrew Browning2017-06-061-0/+1
| |
* | Make play button a button instead of divBoris Bobrov2017-04-031-1/+1
| | | | | | | | More attempts to make mg acessible
* | Add aria attributes to audio playerBoris Bobrov2017-04-021-3/+3
| | | | | | | | I hope this helps a bit with mediagoblin accessibility
* | Move audio html out of jsBoris Bobrov2017-04-021-0/+6
| |
* | edit_profile.html: Consistency in the width of input fieldsvijeth-aradhya2017-02-141-2/+2
| | | | | | | | | | | | | | | | | | The width of all the input fields in user profile edit form (also forms which wtforms render div function) is 100% Fixes #996 Signed-off-by: Andrew Browning <ayleph@thisshitistemp.com>