aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Add Search plugin: indexedsearchJesús2022-02-2814-0/+1330
|
* Add plyr as player default and remove NodeJS, npm and videojsJesús2022-02-283-53/+117
|
* Replace py-bcrypt with bcrypt.Elisei Roca2021-10-111-5/+4
| | | | | | | | | Almost a drop-in replacement, only needed some str - byte conversions. The former has not seen a release since 2013, the latter is active with a last release on Aug. 16th 2020. Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* Fix some unused imports and local variables.Ben Sturmfels2021-09-239-24/+19
|
* Apply pyupgrade --py36-plus.Ben Sturmfels2021-09-238-10/+10
| | | | This removes some 'u' prefixes and converts simple format() calls to f-strings.
* Set videos to preload="metadata" to prevent upfront download [trac#5625].Michael McMahon2021-09-202-7/+7
| | | | | | | | | | | | | | | | 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>
* Remove additional mentions of persona in templates and docs.Ben Sturmfels2021-04-232-4/+2
|
* Remove Mozilla Persona plugin [#5512].jgart2021-04-2313-698/+0
| | | | | | Mozilla persona is RIP since 2016. Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
* Run LDAP, OpenID and PDF tests under Docker.Ben Sturmfels2021-03-091-1/+1
|
* Remove remaining imports/calls to six not automatically removed by pyupgrade.Ben Sturmfels2021-03-0513-24/+1
|
* Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.Ben Sturmfels2021-03-0523-101/+100
|
* Make ldap plugin python3 compatibleOlivier Mehani2020-05-062-2/+2
| | | | Signed-off-by: Olivier Mehani <shtrom+mediagoblin@ssji.net>
* subtitles: Add documentation, limit uploads to *.vtt files, only show for ↵Ben Sturmfels2020-04-304-5/+35
| | | | video [#5589].
* Decode request.query_string before use.Ben Sturmfels2020-04-092-2/+2
| | | | | | | | | | 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-3/+4
| | | | This reverts commit b6fba854007bb4392846085a60178c44dbd7989e.
* Decode request.query_string before use.Ben Sturmfels2020-04-092-4/+3
| | | | | | | | | | | 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.
* Extend install instructions for raven plugin.Ben Sturmfels2019-11-271-1/+3
|
* metadata_display: Refine spacing.Ben Sturmfels2019-09-181-6/+1
|
* metadata_display: Improve default alignment/spacing of metadata.Ben Sturmfels2019-09-181-2/+7
|
* Update metadata_display plugin for Python 3.Ben Sturmfels2019-09-181-1/+1
| | | | | | | Switching from iteritems() to items() is technically less memory efficient on Python 2, but this appeared be a significantly cleaner approach than adding six to the template context. It's also the right choice assuming the project will at some point go Python 3 only.
* close tag in subtitles htmlBoris Bobrov2018-07-121-0/+1
|
* remove requirement for the file to be with single dot in nameBoris Bobrov2018-07-111-11/+2
|
* Merge remote-tracking branch 'gsoc2016/Subtitle-1'Boris Bobrov2018-07-108-0/+532
|\
| * Fixed Copyright Headerssaksham11152016-08-168-12/+12
| |
| * Exceptional handling for customizing subitlessaksham11152016-08-132-24/+60
| |
| * Added basic tests for the subtitle pluginsaksham11152016-08-122-41/+0
| |
| * Started the unit testssaksham11152016-08-122-0/+41
| |
| * Using subtitle id instead of subitle path in the urlsaksham11152016-08-065-23/+23
| |
| * Some fixessaksham11152016-08-022-5/+5
| |
| * Renamed plugin from custom_subtitles to subtitlessaksham11152016-07-308-20/+20
| |
| * Checking filename and extension of subtitle uploadedsaksham11152016-07-271-0/+18
| |
| * Using with statement for editing filessaksham11152016-07-252-28/+15
| |
| * Removed path_subtitle as a decoratorsaksham11152016-07-191-5/+4
| |
| * Added the feature for deleting the subtitlesaksham11152016-07-193-13/+39
| |
| * Removed dependence on absolute path for editingsaksham11152016-07-192-45/+42
| |
| * Creating plugins views.pysaksham11152016-07-191-0/+162
| |
| * Creating plugin tools.pysaksham11152016-07-191-0/+20
| |
| * Creating plugin templatessaksham11152016-07-193-0/+162
| |
| * Creating models.pysaksham11152016-07-191-0/+49
| |
| * Creating plugin forms.pysaksham11152016-07-191-0/+29
| |
| * Making changes to plugins __init__.pysaksham11152016-07-191-0/+31
| |
| * Starting Customize Interfacesaksham11152016-07-191-0/+16
| |
* | Remove backup file added in b5dd245Andrew Browning2018-04-041-60/+0
| |
* | Update maps copyright notice to OSMOlivier Mehani2016-09-181-2/+3
| | | | | | | | Signed-off-by: Olivier Mehani <shtrom@ssji.net>
* | Spell-check the entire documentation.Ben Sturmfels2016-09-185-21/+21
| |
* | Fix #928 - cleanup to avoid duplicated get_upload_file_limitsLoic Dachary2016-07-252-7/+1
| | | | | | | | Signed-off-by: Loic Dachary <loic@dachary.org>
* | No length check for login formJonathan Sandoval2016-04-071-1/+1
|/
* Fix #5451 - add_message inconsistenciesAndrew Browning2016-04-021-11/+16
| | | | | Reformat add_message function calls for consistency and PEP8 line continuations.
* Only run archivalook migration if the tables aren't there.Christopher Allan Webber2016-03-261-0/+5
| | | | | | | | Standard for anything existing before the Alembic move-over, but I forgot this one. * mediagoblin/plugins/archivalook/migrations/b10b5f822789_archivalook_plugin_initial_migration.py (upgrade): Add has_table check, skip if such a table already exists.
* Archivalook plugin initial migration.Christopher Allan Webber2016-03-261-0/+32
| | | | | * mediagoblin/plugins/archivalook/migrations/b10b5f822789_archivalook_plugin_initial_migration.py: New file.