aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tools
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |/ |/|
* | Fix #861 - Add unit test and documentation for email_smtp_force_starttlsJessica Tallon2014-08-121-1/+1
| |
* | Use the STARTTLS command to upgrade SMTP connections where possible.Matt Molyneaux2014-08-021-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | Adds the option `email_smtp_force_tls` which will cause `send_email` to error if it is unable to use the `STARTTLS` command (e.g. where the user knows the SMTPd supports `STARTTLS` and wishes to protect themselves against a downgrade attack) Setting both `email_smtp_user_ssl` and `email_smtp_force_tls` may result in undefined behaviour if the SMTPd has not been correctly configured. TODO: Unit tests? TODO: Documentation?
* | Fix #927 - Clean up federation code after Elrond's reviewJessica Tallon2014-07-301-0/+8
| | | | | | | | | | | | | | | | - Add json_error and use inplace of json_response where appropriate. - Add garbage_collection to config spec file. - Fix bugs in both garbage collection task and test - Handle /api/whoami when no user logged in and a test for such a case. - Validate ID is correct and user has comment privilege to comment.
* | Require uploader privileges to upload media to APIJessica Tallon2014-07-221-2/+16
| |
* | Add basic upload image capabilitiesxray72242014-07-221-1/+1
| |
* | Allow crypto.random_string to take optional alphabet paramJessica Tallon2014-07-081-3/+3
| |
* | removing zh and ja from RTL list. medicalwei reports they are not RTL ↵Christopher Allan Webber2014-06-021-1/+1
| | | | | | | | | | | | languages. This commit sponsored by Philipp Edelmann. Thanks!
* | Added 'dc:created' to the list of metadata columns being validated bytilly-Q2014-05-131-0/+4
| | | | | | | | jsonschema.
* | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin into metadatatilly-Q2014-05-131-1/+1
|\| | | | | | | | | Conflicts: mediagoblin/gmg_commands/__init__.py
* | Move the metadata display table over to being contained in a pluginChristopher Allan Webber2014-05-121-0/+5
| |
* | Splitting up compact_json from compact_and_validateChristopher Allan Webber2014-05-091-7/+20
| | | | | | | | This commit sponsored by Harry Rogoff. Thank you!
* | expand_json utility... yet another convenience function :)Christopher Allan Webber2014-05-091-0/+15
| | | | | | | | This commit sponsored by Benjamin Lebsanft. Thank you!
* | Compact and validate tools, loading internal json tools, much moreChristopher Allan Webber2014-05-091-7/+86
| | | | | | | | This commit sponsored by Caleb Nidey. Thank you!
* | Updating batchaddmedia to use new metadata toolsChristopher Allan Webber2014-05-071-2/+2
| |
* | Starting to add metadata tools, as well as mediagoblin's schemaChristopher Allan Webber2014-05-071-0/+106
|/
* No more EXIF, for real. Use exifread. This should fix recent import EXIF ↵Christopher Allan Webber2014-04-061-4/+1
| | | | | | failures. This commit sponsored by Aaron Whitehouse. Thank you!
* Fix Babel version restriction. Onward and upward!Christopher Allan Webber2014-03-221-1/+1
| | | | (Fix suggested by simonft... thanks!)