aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* OpenID plugin initial migration.Christopher Allan Webber2016-03-261-0/+54
| | | | | * mediagoblin/plugins/openid/migrations/071abb33d1da_openid_plugin_initial_migration.py: New file.
* Persona plugin initial migration.Christopher Allan Webber2016-03-261-0/+35
| | | | | * mediagoblin/plugins/persona/migrations/c7d4840a5592_persona_plugin_initial_migration.py: New file.
* Do not calculate processing info for anonymous userBoris Bobrov2016-02-051-6/+7
|
* Change `uploader` to `actor`Boris Bobrov2016-02-011-3/+3
| | | | | Class User doesn't have field `uploader` any more, instead there `actor`. Fix several uses of `uploader` to `actor`.
* added filtering by entry state in processing panelBoris Bobrov2016-02-011-4/+4
|
* added a plugin to display information about entries in processingBoris Bobrov2016-02-013-0/+87
| | | | | | Conflicts: mediagoblin/templates/mediagoblin/base.html -- resolved by using the original file and manually adding pieces from my commit
* Issue #5394: Wrong url for forgot_password in basic_auth pluginChristopher Allan Webber2016-01-211-1/+2
| | | | Fix by jerome. Thank you!
* Collection changes and migration for federationJessica Tallon2015-10-075-14/+14
| | | | | | | - Adds a "type" column to the Collection object and allows the CollectionItem model to contain any object. - Changes "items" to "num_items" as per TODO - Renames "uploader", "creator" and "user" to a common "actor" in most places
* Fix some unit tests and bugsJessica Tallon2015-08-242-2/+2
| | | | | | | | | | | | | | | | | | This fixes a lot of the issues with the LocalUser changes that were merged recently. There was a problem where the attributes of LocalUser were not being eagerly loaded and because the Session was detached an exception was being raised when they were accessed. This also fixes some typo's which were introduced. Finally this adds a temporary fix for a potential SQLAlchemy bug, this is a bug where doing: User.query.filter(LocalUser.username == "some_username").first() does NOT yeild a user with the username "some_username" but all users on the site. The temp fix is to just query the LocalUser, this should be resolved when bug is confirmed and fixed upstream.
* Change codebase to query or create correct User modelJessica Tallon2015-08-191-1/+0
| | | | | | | The code base had many references to User.username and other specific to LocalUser attributes as that was the way it use to exist. This updates those to query on the generic User model but filtering by attributes on the LocalUser.
* Change codebase to query or create correct User modelJessica Tallon2015-07-316-22/+23
| | | | | | | The code base had many references to User.username and other specific to LocalUser attributes as that was the way it use to exist. This updates those to query on the generic User model but filtering by attributes on the LocalUser.
* Fix typos reported in #1102Berker Peksag2015-07-221-2/+2
|
* Change all unicode() calls with six.text_type().Berker Peksag2015-06-251-2/+5
| | | | Fixes #5329.