Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix some unused imports and local variables. | Ben Sturmfels | 2021-09-23 | 1 | -2/+0 |
| | |||||
* | Apply pyupgrade --py36-plus. | Ben Sturmfels | 2021-09-23 | 5 | -8/+8 |
| | | | | This removes some 'u' prefixes and converts simple format() calls to f-strings. | ||||
* | Remove reference to jsonschema.compat now removed upstream. | Marco Pessotto | 2021-08-20 | 1 | -3/+2 |
| | | | | Signed-off-by: Ben Sturmfels <ben@sturm.com.au> | ||||
* | Remove redundant link to flask-wtf. | Ben Sturmfels | 2021-04-23 | 2 | -1/+0 |
| | |||||
* | Convert atom feeds to use feedgenerator library. | Ben Sturmfels | 2021-03-16 | 1 | -0/+38 |
| | | | | | | | | | | | | | | | Issue is that Werkzeug > 1.0.0 has removed werkzeug.contrib.atom.AtomFeed, making it difficult to use a distribution-packaged version of werkzeug. To solve this, I've replaced use of werkzeug.contrib.atom.AtomFeed with feedgenerator.Atom1Feed. After the change, the only major difference between the feeds before and after is that they use <summary> instead of <content>. Minor differences include no longer adding 'type="text/html"' on some <link> elements and no "xml:base" attribute on <entry> elements. I don't think these differences will have any noticable effect. Tested on Liferea feed reader. | ||||
* | Remove remaining Python 2 compatibility code. | Ben Sturmfels | 2021-03-05 | 2 | -4/+1 |
| | |||||
* | Remove remaining imports/calls to six not automatically removed by pyupgrade. | Ben Sturmfels | 2021-03-05 | 14 | -27/+5 |
| | |||||
* | Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code. | Ben Sturmfels | 2021-03-05 | 22 | -73/+66 |
| | |||||
* | Fix consistency in license list. | Ben Sturmfels | 2020-05-11 | 1 | -1/+1 |
| | |||||
* | finally fix url validator | Boris Bobrov | 2018-07-12 | 1 | -2/+2 |
| | |||||
* | fix typo | Boris Bobrov | 2018-07-11 | 1 | -1/+1 |
| | |||||
* | fix auth error and simplify url and email checks | Boris Bobrov | 2018-07-11 | 1 | -17/+9 |
| | |||||
* | Merge remote-tracking branch 'gsoc2016/Subtitle-1' | Boris Bobrov | 2018-07-10 | 2 | -0/+27 |
|\ | |||||
| * | Modified get_path function in tools/subtitles.py | saksham1115 | 2016-07-19 | 1 | -9/+6 |
| | | |||||
| * | Saing subtitle after edit | saksham1115 | 2016-07-19 | 1 | -1/+10 |
| | | |||||
| * | Removed ast and fixed comments | saksham1115 | 2016-07-19 | 1 | -16/+4 |
| | | |||||
| * | Opening ths subtitle using absolute path and open function | saksham1115 | 2016-07-19 | 1 | -2/+18 |
| | | |||||
| * | Converting the path to subtitle into a tuple | saksham1115 | 2016-07-19 | 1 | -0/+10 |
| | | |||||
| * | Subtitle built over attachments : working | saksham1115 | 2016-07-19 | 1 | -0/+7 |
| | | |||||
* | | Add Creative Commons 4.0 licenses [#955] | Dpg | 2018-05-24 | 1 | -10/+27 |
| | | | | | | | | Add CC version 4.0 licenses to SORTED_LICENSES. | ||||
* | | Fix EXIF rotation to make the image portrait on demand | chrysn | 2017-11-29 | 1 | -4/+9 |
| | | | | | | | | | | Closes: https://issues.mediagoblin.org/ticket/5525 Signed-off-by: Andrew Browning <ayleph@thisshitistemp.com> | ||||
* | | Fix #5524 Zero division error in exif.py | Andrew Browning | 2017-09-20 | 1 | -8/+4 |
| | | | | | | | | | | | | This patch implements the safe_gps_ratio_divide function for gps direction and altitude values to prevent a zero divide error on malformed GPS data. | ||||
* | | Add Python 3 support in pagination. | Ben Sturmfels | 2016-09-16 | 1 | -4/+3 |
| | | | | | | | | This issue was visible when attempting to view the home page of a MediaGoblin site with more than a single page worth of items, under Python 3. | ||||
* | | Fixing themes | Boris Bobrov | 2016-07-31 | 1 | -5/+3 |
| | | |||||
* | | Include original error in debug log | Jonathan Sandoval | 2016-04-08 | 1 | -4/+4 |
| | | |||||
* | | Custom exception in mail. | Jonathan Sandoval | 2016-04-08 | 1 | -4/+28 |
|/ | |||||
* | Fix #5451 - add_message inconsistencies | Andrew Browning | 2016-04-02 | 1 | -1/+3 |
| | | | | | Reformat add_message function calls for consistency and PEP8 line continuations. | ||||
* | Email debug mode on Python 3 was printing bytestring representation for ↵ | Christopher Allan Webber | 2016-02-25 | 1 | -1/+1 |
| | | | | | | | subject body There's nothing useful about seeing b'foo\nbar\nbaz' printing to stdout. That's not what the user should get! | ||||
* | Fix another python 3 and unicode issue | Christopher Allan Webber | 2016-02-11 | 1 | -1/+2 |
| | |||||
* | .iteritems() doesn't exist in Python 3, converted to .items() | Christopher Allan Webber | 2016-02-11 | 1 | -1/+1 |
| | |||||
* | Fix #5079 - tags unicity is on the slug, not the name | Loic Dachary | 2016-02-06 | 1 | -6/+6 |
| | | | | | Signed-off-by: Loic Dachary <loic@dachary.org> Signed-off-by: Andrew Browning <ayleph@thisshitistemp.com> | ||||
* | trac#5397: Allow decode_request to parse content-type headers with extra ↵ | Ben Sturmfels | 2016-01-21 | 1 | -2/+5 |
| | | | | | | options. It previously parsed "Content-Type: application/x-www-form-urlencoded", but not "Content-Type: application/x-www-form-urlencoded; charset=utf-8". | ||||
* | Use six.itervalues() in delete_media_files | 宋文武 | 2016-01-14 | 1 | -1/+3 |
| | |||||
* | Fix urlparse import in tools/routing.py | Berker Peksag | 2015-08-01 | 1 | -1/+1 |
| | | | | | | | urlparse is already a function, so we don't need to specify a module name. Refs #5339 | ||||
* | Change codebase to query or create correct User model | Jessica Tallon | 2015-07-31 | 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. | ||||
* | Merge branch Generic Foreign Key changes | Jessica Tallon | 2015-06-24 | 1 | -5/+9 |
|\ | |||||
| * | Fix removal of ActivityIntermediatory migration | Jessica Tallon | 2015-06-24 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | The migration had a problem where other tables still referenced the migration as well as a typo in an earlier migration. They have both been fixed and tested on PostgreSQL and SQLite3. This also fixes a bug where sometimes when creating an activity it'd raise an Exception as the object hadn't got an ID. This has been fixed globally with a fix to the create_activity federation tool. | ||||
| * | Fix some problems with activity mixins and migrations | Jessica Tallon | 2015-05-26 | 1 | -3/+3 |
| | | |||||
| * | Remove deprecated fields and fix activity creation in tools | Jessica Tallon | 2015-05-26 | 1 | -2/+2 |
| | | |||||
* | | Import urlparse from six.moves to work on both Python 2 and 3. | Berker Peksag | 2015-06-05 | 1 | -1/+3 |
|/ | |||||
* | #5314 Prevent ZeroDivisionError in exif.py | Christopher Allan Webber | 2015-04-27 | 1 | -3/+8 |
| | |||||
* | Use UTC for all timesince comparisons | ayleph | 2015-03-12 | 1 | -13/+1 |
| | | | | Signed-off-by: Jessica Tallon <jessica@megworld.co.uk> | ||||
* | Fix #1056 - Add flag to accept URLs without a trailing slash | Jessica Tallon | 2014-12-12 | 1 | -3/+10 |
| | |||||
* | Reforming get_jinja_env to make better use of the MediaGoblinApp | Christopher Allan Webber | 2014-12-03 | 1 | -6/+5 |
| | |||||
* | Starting to deprecate the app_config, global_config by attaching stuff to app | Christopher Allan Webber | 2014-12-03 | 1 | -3/+3 |
| | | | | | | - app.global_config, app.app_config - making setup_crypto use app.app_config - setting app.workbench_manager | ||||
* | An environment variable to transition towards removing global variables | Christopher Allan Webber | 2014-12-03 | 1 | -0/+21 |
| | |||||
* | Fix #1024 - Correctly set generator on Activities | Jessica Tallon | 2014-12-02 | 1 | -8/+36 |
| | |||||
* | Fix #1025 - Make API IDs IRIs | Jessica Tallon | 2014-11-21 | 1 | -0/+15 |
| | |||||
* | Clarifying the json processing callbacks even further | Christopher Allan Webber | 2014-10-30 | 1 | -2/+2 |
| | |||||
* | Fix misleading log message reported in #985. | Rodrigo Rodrigues da Silva | 2014-10-30 | 1 | -2/+2 |
| |