aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tools
Commit message (Collapse)AuthorAgeFilesLines
* Add Python 3 support in pagination.Ben Sturmfels2016-09-161-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 themesBoris Bobrov2016-07-311-5/+3
|
* Include original error in debug logJonathan Sandoval2016-04-081-4/+4
|
* Custom exception in mail.Jonathan Sandoval2016-04-081-4/+28
|
* Fix #5451 - add_message inconsistenciesAndrew Browning2016-04-021-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 Webber2016-02-251-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 issueChristopher Allan Webber2016-02-111-1/+2
|
* .iteritems() doesn't exist in Python 3, converted to .items()Christopher Allan Webber2016-02-111-1/+1
|
* Fix #5079 - tags unicity is on the slug, not the nameLoic Dachary2016-02-061-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 Sturmfels2016-01-211-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-141-1/+3
|
* Fix urlparse import in tools/routing.pyBerker Peksag2015-08-011-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 modelJessica Tallon2015-07-311-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 changesJessica Tallon2015-06-241-5/+9
|\
| * Fix removal of ActivityIntermediatory migrationJessica Tallon2015-06-241-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 migrationsJessica Tallon2015-05-261-3/+3
| |
| * Remove deprecated fields and fix activity creation in toolsJessica Tallon2015-05-261-2/+2
| |
* | Import urlparse from six.moves to work on both Python 2 and 3.Berker Peksag2015-06-051-1/+3
|/
* #5314 Prevent ZeroDivisionError in exif.pyChristopher Allan Webber2015-04-271-3/+8
|
* Use UTC for all timesince comparisonsayleph2015-03-121-13/+1
| | | | Signed-off-by: Jessica Tallon <jessica@megworld.co.uk>
* Fix #1056 - Add flag to accept URLs without a trailing slashJessica Tallon2014-12-121-3/+10
|
* Reforming get_jinja_env to make better use of the MediaGoblinAppChristopher Allan Webber2014-12-031-6/+5
|
* Starting to deprecate the app_config, global_config by attaching stuff to appChristopher Allan Webber2014-12-031-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 variablesChristopher Allan Webber2014-12-031-0/+21
|
* Fix #1024 - Correctly set generator on ActivitiesJessica Tallon2014-12-021-8/+36
|
* Fix #1025 - Make API IDs IRIsJessica Tallon2014-11-211-0/+15
|
* Clarifying the json processing callbacks even furtherChristopher Allan Webber2014-10-301-2/+2
|
* Fix misleading log message reported in #985.Rodrigo Rodrigues da Silva2014-10-301-2/+2
|
* Merge branch '905-activities'Jessica Tallon2014-10-071-0/+63
|\ | | | | | | | | | | Add Activity and Generator models which allow for activities to be created. This now works with the feed API.
| * Add __repr__ to Activity and Generator classJessica Tallon2014-10-071-2/+1
| |
| * Fix all the unit tests and clean up codeJessica Tallon2014-10-061-7/+10
| |
| * Oops forgot to add medigoblin.tools.federationJessica Tallon2014-08-271-0/+61
| |
* | Merge branch 'merge-python3-port'Christopher Allan Webber2014-09-2212-45/+65
|\ \ | | | | | | | | | | | | Conflicts: setup.py
| * | Simplify things here and use io.openChristopher Allan Webber2014-09-161-1/+2
| | |
| * | Merge branch 'master' into merge-python3-portChristopher Allan Webber2014-09-166-7/+262
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Has some issues, will iteratively fix! Conflicts: mediagoblin/gmg_commands/__init__.py mediagoblin/gmg_commands/deletemedia.py mediagoblin/gmg_commands/users.py mediagoblin/oauth/views.py mediagoblin/plugins/api/views.py mediagoblin/tests/test_api.py mediagoblin/tests/test_edit.py mediagoblin/tests/test_oauth1.py mediagoblin/tests/test_util.py mediagoblin/tools/mail.py mediagoblin/webfinger/views.py setup.py
| * | Fix another tests.Berker Peksag2014-08-071-1/+1
| | | | | | | | | | | | (forgot to commit earlier)
| * | Disable cache support of LazyProxy.Berker Peksag2014-07-281-3/+3
| | | | | | | | | | | | | | | Since Babel 1.0, there's a enable_cache keyword argument of LazyProxy, but we can't pass it directly.
| * | Cleanup mediagoblin._compat and fix translation tests.Berker Peksag2014-07-282-6/+14
| | |
| * | Fix tests on Python 3.Berker Peksag2014-07-141-3/+4
| | |
| * | Use six.iteritems() in tools/exif.py.Berker Peksag2014-06-081-1/+1
| | |
| * | The file() builtin has been removed in Python 3. Use open() instead.Berker Peksag2014-06-071-1/+1
| | |
| * | Change urllib and urllib import with six.moves.urllib.Berker Peksag2014-06-071-6/+5
| | |
| * | Use mediagoblin._compat.{ugettext, ungettext} on Python 3.Berker Peksag2014-06-021-4/+3
| | |
| * | Use six.moves.zip instead of itertools.izip.Berker Peksag2014-06-021-2/+4
| | |
| * | Add py2_unicode helper to mediagoblin._compat.Berker Peksag2014-06-021-4/+6
| | |
| * | Use six.text_type instead of unicode().Berker Peksag2014-06-021-1/+3
| | | | | | | | | | | | I will be switch to use ``from __future__ import unicode_literals`` later.
| * | Add ugettext and ungettext helpers to mediagoblin._compat.Berker Peksag2014-05-261-3/+2
| | |
| * | Use six.iteritems() instead of dict.iteritems().Berker Peksag2014-05-263-4/+9
| | |
| * | Continue to port GMG codebase.Berker Peksag2014-05-082-11/+13
| | |
* | | Add XRD+XML formatting for /.well-known/host-metaJessica Tallon2014-09-051-3/+4
| |/ |/|