Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Merge branch '905-activities' | Jessica Tallon | 2014-10-07 | 1 | -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 class | Jessica Tallon | 2014-10-07 | 1 | -2/+1 |
| | | |||||
| * | Fix all the unit tests and clean up code | Jessica Tallon | 2014-10-06 | 1 | -7/+10 |
| | | |||||
| * | Oops forgot to add medigoblin.tools.federation | Jessica Tallon | 2014-08-27 | 1 | -0/+61 |
| | | |||||
* | | Merge branch 'merge-python3-port' | Christopher Allan Webber | 2014-09-22 | 12 | -45/+65 |
|\ \ | | | | | | | | | | | | | Conflicts: setup.py | ||||
| * | | Simplify things here and use io.open | Christopher Allan Webber | 2014-09-16 | 1 | -1/+2 |
| | | | |||||
| * | | Merge branch 'master' into merge-python3-port | Christopher Allan Webber | 2014-09-16 | 6 | -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 Peksag | 2014-08-07 | 1 | -1/+1 |
| | | | | | | | | | | | | (forgot to commit earlier) | ||||
| * | | Disable cache support of LazyProxy. | Berker Peksag | 2014-07-28 | 1 | -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 Peksag | 2014-07-28 | 2 | -6/+14 |
| | | | |||||
| * | | Fix tests on Python 3. | Berker Peksag | 2014-07-14 | 1 | -3/+4 |
| | | | |||||
| * | | Use six.iteritems() in tools/exif.py. | Berker Peksag | 2014-06-08 | 1 | -1/+1 |
| | | | |||||
| * | | The file() builtin has been removed in Python 3. Use open() instead. | Berker Peksag | 2014-06-07 | 1 | -1/+1 |
| | | | |||||
| * | | Change urllib and urllib import with six.moves.urllib. | Berker Peksag | 2014-06-07 | 1 | -6/+5 |
| | | | |||||
| * | | Use mediagoblin._compat.{ugettext, ungettext} on Python 3. | Berker Peksag | 2014-06-02 | 1 | -4/+3 |
| | | | |||||
| * | | Use six.moves.zip instead of itertools.izip. | Berker Peksag | 2014-06-02 | 1 | -2/+4 |
| | | | |||||
| * | | Add py2_unicode helper to mediagoblin._compat. | Berker Peksag | 2014-06-02 | 1 | -4/+6 |
| | | | |||||
| * | | Use six.text_type instead of unicode(). | Berker Peksag | 2014-06-02 | 1 | -1/+3 |
| | | | | | | | | | | | | I will be switch to use ``from __future__ import unicode_literals`` later. | ||||
| * | | Add ugettext and ungettext helpers to mediagoblin._compat. | Berker Peksag | 2014-05-26 | 1 | -3/+2 |
| | | | |||||
| * | | Use six.iteritems() instead of dict.iteritems(). | Berker Peksag | 2014-05-26 | 3 | -4/+9 |
| | | | |||||
| * | | Continue to port GMG codebase. | Berker Peksag | 2014-05-08 | 2 | -11/+13 |
| | | | |||||
* | | | Add XRD+XML formatting for /.well-known/host-meta | Jessica Tallon | 2014-09-05 | 1 | -3/+4 |
| |/ |/| | |||||
* | | Fix #861 - Add unit test and documentation for email_smtp_force_starttls | Jessica Tallon | 2014-08-12 | 1 | -1/+1 |
| | | |||||
* | | Use the STARTTLS command to upgrade SMTP connections where possible. | Matt Molyneaux | 2014-08-02 | 1 | -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 review | Jessica Tallon | 2014-07-30 | 1 | -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 API | Jessica Tallon | 2014-07-22 | 1 | -2/+16 |
| | | |||||
* | | Add basic upload image capabilities | xray7224 | 2014-07-22 | 1 | -1/+1 |
| | | |||||
* | | Allow crypto.random_string to take optional alphabet param | Jessica Tallon | 2014-07-08 | 1 | -3/+3 |
| | | |||||
* | | removing zh and ja from RTL list. medicalwei reports they are not RTL ↵ | Christopher Allan Webber | 2014-06-02 | 1 | -1/+1 |
| | | | | | | | | | | | | languages. This commit sponsored by Philipp Edelmann. Thanks! | ||||
* | | Added 'dc:created' to the list of metadata columns being validated by | tilly-Q | 2014-05-13 | 1 | -0/+4 |
| | | | | | | | | jsonschema. | ||||
* | | Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin into metadata | tilly-Q | 2014-05-13 | 1 | -1/+1 |
|\| | | | | | | | | | Conflicts: mediagoblin/gmg_commands/__init__.py |