Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Decode request.query_string before use. | Ben Sturmfels | 2020-04-09 | 2 | -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 Sturmfels | 2020-04-09 | 2 | -3/+4 |
| | | | | This reverts commit b6fba854007bb4392846085a60178c44dbd7989e. | ||||
* | Decode request.query_string before use. | Ben Sturmfels | 2020-04-09 | 2 | -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 Sturmfels | 2019-11-27 | 1 | -1/+3 |
| | |||||
* | metadata_display: Refine spacing. | Ben Sturmfels | 2019-09-18 | 1 | -6/+1 |
| | |||||
* | metadata_display: Improve default alignment/spacing of metadata. | Ben Sturmfels | 2019-09-18 | 1 | -2/+7 |
| | |||||
* | Update metadata_display plugin for Python 3. | Ben Sturmfels | 2019-09-18 | 1 | -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 html | Boris Bobrov | 2018-07-12 | 1 | -0/+1 |
| | |||||
* | remove requirement for the file to be with single dot in name | Boris Bobrov | 2018-07-11 | 1 | -11/+2 |
| | |||||
* | Merge remote-tracking branch 'gsoc2016/Subtitle-1' | Boris Bobrov | 2018-07-10 | 8 | -0/+532 |
|\ | |||||
| * | Fixed Copyright Headers | saksham1115 | 2016-08-16 | 8 | -12/+12 |
| | | |||||
| * | Exceptional handling for customizing subitles | saksham1115 | 2016-08-13 | 2 | -24/+60 |
| | | |||||
| * | Added basic tests for the subtitle plugin | saksham1115 | 2016-08-12 | 2 | -41/+0 |
| | | |||||
| * | Started the unit tests | saksham1115 | 2016-08-12 | 2 | -0/+41 |
| | | |||||
| * | Using subtitle id instead of subitle path in the url | saksham1115 | 2016-08-06 | 5 | -23/+23 |
| | | |||||
| * | Some fixes | saksham1115 | 2016-08-02 | 2 | -5/+5 |
| | | |||||
| * | Renamed plugin from custom_subtitles to subtitles | saksham1115 | 2016-07-30 | 8 | -20/+20 |
| | | |||||
| * | Checking filename and extension of subtitle uploaded | saksham1115 | 2016-07-27 | 1 | -0/+18 |
| | | |||||
| * | Using with statement for editing files | saksham1115 | 2016-07-25 | 2 | -28/+15 |
| | | |||||
| * | Removed path_subtitle as a decorator | saksham1115 | 2016-07-19 | 1 | -5/+4 |
| | | |||||
| * | Added the feature for deleting the subtitle | saksham1115 | 2016-07-19 | 3 | -13/+39 |
| | | |||||
| * | Removed dependence on absolute path for editing | saksham1115 | 2016-07-19 | 2 | -45/+42 |
| | | |||||
| * | Creating plugins views.py | saksham1115 | 2016-07-19 | 1 | -0/+162 |
| | | |||||
| * | Creating plugin tools.py | saksham1115 | 2016-07-19 | 1 | -0/+20 |
| | | |||||
| * | Creating plugin templates | saksham1115 | 2016-07-19 | 3 | -0/+162 |
| | | |||||
| * | Creating models.py | saksham1115 | 2016-07-19 | 1 | -0/+49 |
| | | |||||
| * | Creating plugin forms.py | saksham1115 | 2016-07-19 | 1 | -0/+29 |
| | | |||||
| * | Making changes to plugins __init__.py | saksham1115 | 2016-07-19 | 1 | -0/+31 |
| | | |||||
| * | Starting Customize Interface | saksham1115 | 2016-07-19 | 1 | -0/+16 |
| | | |||||
* | | Remove backup file added in b5dd245 | Andrew Browning | 2018-04-04 | 1 | -60/+0 |
| | | |||||
* | | Update maps copyright notice to OSM | Olivier Mehani | 2016-09-18 | 1 | -2/+3 |
| | | | | | | | | Signed-off-by: Olivier Mehani <shtrom@ssji.net> | ||||
* | | Spell-check the entire documentation. | Ben Sturmfels | 2016-09-18 | 5 | -21/+21 |
| | | |||||
* | | Fix #928 - cleanup to avoid duplicated get_upload_file_limits | Loic Dachary | 2016-07-25 | 2 | -7/+1 |
| | | | | | | | | Signed-off-by: Loic Dachary <loic@dachary.org> | ||||
* | | No length check for login form | Jonathan Sandoval | 2016-04-07 | 1 | -1/+1 |
|/ | |||||
* | Fix #5451 - add_message inconsistencies | Andrew Browning | 2016-04-02 | 1 | -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 Webber | 2016-03-26 | 1 | -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 Webber | 2016-03-26 | 1 | -0/+32 |
| | | | | | * mediagoblin/plugins/archivalook/migrations/b10b5f822789_archivalook_plugin_initial_migration.py: New file. | ||||
* | OpenID plugin initial migration. | Christopher Allan Webber | 2016-03-26 | 1 | -0/+54 |
| | | | | | * mediagoblin/plugins/openid/migrations/071abb33d1da_openid_plugin_initial_migration.py: New file. | ||||
* | Persona plugin initial migration. | Christopher Allan Webber | 2016-03-26 | 1 | -0/+35 |
| | | | | | * mediagoblin/plugins/persona/migrations/c7d4840a5592_persona_plugin_initial_migration.py: New file. | ||||
* | Do not calculate processing info for anonymous user | Boris Bobrov | 2016-02-05 | 1 | -6/+7 |
| | |||||
* | Change `uploader` to `actor` | Boris Bobrov | 2016-02-01 | 1 | -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 panel | Boris Bobrov | 2016-02-01 | 1 | -4/+4 |
| | |||||
* | added a plugin to display information about entries in processing | Boris Bobrov | 2016-02-01 | 3 | -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 plugin | Christopher Allan Webber | 2016-01-21 | 1 | -1/+2 |
| | | | | Fix by jerome. Thank you! | ||||
* | Collection changes and migration for federation | Jessica Tallon | 2015-10-07 | 5 | -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 bugs | Jessica Tallon | 2015-08-24 | 2 | -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 model | Jessica Tallon | 2015-08-19 | 1 | -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 model | Jessica Tallon | 2015-07-31 | 6 | -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 #1102 | Berker Peksag | 2015-07-22 | 1 | -2/+2 |
| | |||||
* | Change all unicode() calls with six.text_type(). | Berker Peksag | 2015-06-25 | 1 | -2/+5 |
| | | | | Fixes #5329. |