aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | Headers for collection itemsBoris Bobrov2017-01-291-1/+4
| | | | | | | | Fixes issue #776
* | oob.html: Removed line breaks around the verifier codevijeth-aradhya2017-01-291-3/+1
| | | | | | | | | | | | | | | | | | There was an extra space that was displayed after the verfication code which caused verification to fail when just copied. Hence, any line breaks or spaces has been removed Fixes #5476
* | post_comment.js, media.html: Add AJAX for posting commentsvijeth-aradhya2017-01-291-0/+3
| | | | | | | | | | | | | | Stop reloading the page when a comment is posted which helps in not stopping the media being played (for example, a song) Fixes https://issues.mediagoblin.org/ticket/868
* | Fix #5484 - Add video icon to collection thumbnailAndrew Browning2017-01-161-0/+3
| |
* | Add media_titleinfo template hookayleph2017-01-151-0/+1
| | | | | | | | | | | | This patch is based on work by cmichi to add a template hook near the media title section of the page. I rearranged the code in the original patch to match the current media.html page.
* | Fix typo in user processing panelAndrew Browning2016-10-161-1/+1
| | | | | | | | Thanks to Storm_dragon for reporting this typo.
* | use is_rtl variable to detect rtl localesLeah Velleman2016-06-201-1/+1
| |
* | fixed 'older' and 'newer' arrows for rtl localesLeah Velleman2016-06-201-4/+11
|/
* Fix comment ID links on blog media pageAndrew Browning2016-03-051-4/+5
| | | | | Change the comment ID behaviour and source of user_pages/blog_media.html to match user_pages/media.html as of #5376.
* Fix comment ID links on media comment report pageAndrew Browning2016-03-051-18/+12
| | | | | Change the comment ID behaviour and source of user_pages/report.html to match user_pages/media.html as of #5376.
* Fix #5432 - Comment report link doens't workAndrew Browning2016-03-021-1/+1
| | | | | This builds on work done for #5376 and associates the correct comment ID with comment report links.