Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Last two issues related to the python 3 merge tests: fixed! | Christopher Allan Webber | 2014-09-16 | 2 | -10/+15 |
| | | | | | | | - Fix the "pulling the error out of excinfo" stuff for py3 - The u"" only gets embedded in the string on py2. This commit sponsored by Jeff Gibson. Thanks, Jeff! :) | ||||
* | Annnnd another json decode fix for py3! On a roll with these! | Christopher Allan Webber | 2014-09-16 | 1 | -1/+1 |
| | | | | This commit sponsored by Ramana Kumar. Thanks! | ||||
* | decode to unicode before loading in json again, for py3 | Christopher Allan Webber | 2014-09-16 | 1 | -1/+1 |
| | | | | This commit sponsored by Chris Cormack. Thanks! | ||||
* | Much more nicely formed form error check | Christopher Allan Webber | 2014-09-16 | 1 | -2/+4 |
| | | | | | | This doesn't rely on checking HTML output... thus, cleaner. This commit sponsored by Alexandre Guédon. Thank you! | ||||
* | Fix error check in test_edit.py for python 3 | Christopher Allan Webber | 2014-09-16 | 1 | -1/+1 |
| | | | | | This isn't the nicest of checks... we should probably be checking the actual form passed into the context. But for now, it's a fix. | ||||
* | Fix exception catching on python 3 | Christopher Allan Webber | 2014-09-16 | 1 | -2/+2 |
| | | | | This commit sponsored by Paul Smith. Thank you! | ||||
* | Fix iteritems usage on python 3 | Christopher Allan Webber | 2014-09-16 | 1 | -1/+1 |
| | | | | This commit sponsored by Ben (Free Software Melbourne) Finney. Thanks! | ||||
* | json.loads(request.body) => json.loads(response.body.decode())) | Christopher Allan Webber | 2014-09-16 | 2 | -8/+8 |
| | | | | | | This fixes python 3 stuff. This commit sponsored by James Reilly. Thanks, James! | ||||
* | Import mock correctly on py3 | Christopher Allan Webber | 2014-09-16 | 1 | -1/+4 |
| | | | | This commit sponsored by Andrew McNicol. Thank you! | ||||
* | Simplify things here and use io.open | Christopher Allan Webber | 2014-09-16 | 1 | -1/+2 |
| | |||||
* | Fix test_legacy_api.py | Christopher Allan Webber | 2014-09-16 | 1 | -5/+6 |
| | | | | | | | Or rather, reimplement one of Berker's fixes and add one of mine: - add back the http_auth_headers fix Berker wrote - decode to json when testing the response.body, since we have no idea what the order will be here | ||||
* | Import mock from unittest if on py3 | Christopher Allan Webber | 2014-09-16 | 1 | -1/+4 |
| | |||||
* | Merge branch 'master' into merge-python3-port | Christopher Allan Webber | 2014-09-16 | 197 | -10485/+49746 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Raw image mediatype had a non-unicode logging call | Odin Hørthe Omdal | 2014-09-07 | 1 | -2/+2 |
| | | | | | | | | | | Was causing UnicodeDecodeError when file/folder was not ascii. Fixes bug #935. | ||||
| * | Add __repr__ for Collection and CollectionItem | Odin Hørthe Omdal | 2014-09-07 | 1 | -1/+15 |
| | | |||||
| * | Handle cr2 files through the raw_image media type | Christopher Allan Webber | 2014-09-06 | 2 | -2/+2 |
| | | | | | | | | | | This commit sponsored by Jim Campbell. Hey, I know that guy! Thanks Jim! :) | ||||
| * | now in the 0.7.1.dev cycle | Christopher Allan Webber | 2014-08-27 | 1 | -1/+1 |
| | | |||||
| * | At version 0.7.0, at last! | Christopher Allan Webber | 2014-08-25 | 1 | -1/+1 |
| | | |||||
| * | Committing extracted and compiled translations | Christopher Allan Webber | 2014-08-25 | 5 | -4/+4 |
| | | |||||
| * | Committing present MediaGoblin translations before pushing extracted messages | Christopher Allan Webber | 2014-08-25 | 4 | -532/+534 |
| | | |||||
| * | Make blog_post_listing easier to read | Jessica Tallon | 2014-08-19 | 1 | -1/+1 |
| | | | | | | | | | | | | This is Elronds change on #948. As 'blog_slug' is always set in request.matchdict there is no need to do a default-none get on the dictionary. This change just makes it easier to read. | ||||
| * | List blogs by URL user rather than request user | ayleph | 2014-08-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | The blog_post_listing function in mediagoblin/media_types/blow/views.py attempts to access blogs based on the requesting user rather than the url user. This results in server errors when an unauthenticated user attempts to follow a link from another user's blog post listing, and 404 errors when an authenticated user attempts to follow a link from another user's blog post listing. This change bases blog post listings on the URL user rather than the request user. | ||||
| * | Add new hook 'collection_add_media' | Odin Hørthe Omdal | 2014-08-18 | 1 | -7/+9 |
| | | |||||
| * | Tidy up federation code and add tests to cover more of the APIs | Jessica Tallon | 2014-08-18 | 10 | -241/+339 |
| | | |||||
| * | Use oauthlib's safe characters when generating client_key and client_secret | Jessica Tallon | 2014-08-18 | 1 | -4/+3 |
| | | |||||
| * | Fix a python2.6 compatibility issue. Removing a dict comprehension. | Christopher Allan Webber | 2014-08-18 | 1 | -1/+2 |
| | | | | | | | | This commit sponsored by Christopher Beppler. Thanks! | ||||
| * | Always remove the session when running check_db_up_to_date() | Christopher Allan Webber | 2014-08-15 | 1 | -5/+10 |
| | | | | | | | | This commit sponsored by Francois Marier. Thank you! | ||||
| * | Forgot to add starttls_config.ini | Jessica Tallon | 2014-08-12 | 1 | -0/+4 |
| | | |||||
| * | Fix #861 - Add unit test and documentation for email_smtp_force_starttls | Jessica Tallon | 2014-08-12 | 3 | -2/+44 |
| | | |||||
| * | Elrond keeps pointing out places I should "is not None" at :) | Christopher Allan Webber | 2014-08-08 | 1 | -2/+2 |
| | | |||||
| * | Okay, we don't know that indexes are falsey, so let's make it clearer. Yeek! | Christopher Allan Webber | 2014-08-08 | 1 | -1/+1 |
| | | |||||
| * | this negation needs parens. | Christopher Allan Webber | 2014-08-08 | 1 | -1/+1 |
| | | |||||
| * | Pull the indexes out of the dictionary directly | Christopher Allan Webber | 2014-08-08 | 1 | -8/+11 |
| | | | | | | | | Instead of checking for their keys and pulling them out later, that is. | ||||
| * | If the constraint already exists, roll back to a sane state. | Christopher Allan Webber | 2014-08-08 | 1 | -1/+1 |
| | | |||||
| * | Explaining why we're committing mid-migration | Christopher Allan Webber | 2014-08-08 | 1 | -0/+4 |
| | | |||||
| * | Only add the constraint if we need to. Catch an exception if we don't. | Christopher Allan Webber | 2014-08-07 | 1 | -6/+10 |
| | | | | | | | | Also, updating the comment about sqlite being crazy :) | ||||
| * | Document both migrations, comment out old migration | Christopher Allan Webber | 2014-08-07 | 1 | -9/+35 |
| | | |||||
| * | Add a new migration which removes/fixes the old migration | Christopher Allan Webber | 2014-08-07 | 2 | -1/+51 |
| | | | | | | | | | | | | | | The previous migration, as it turns out, was not needed, and there were many inconsistencies put in place by adding it. See issue #920. This commit sponsored by Gergő Tisza. Thank you! | ||||
| * | Committing extracted and compiled translations | Christopher Allan Webber | 2014-08-04 | 73 | -622/+688 |
| | | |||||
| * | Committing present MediaGoblin translations before pushing extracted messages | Christopher Allan Webber | 2014-08-04 | 4 | -57/+5045 |
| | | |||||
| * | Add more security checks when updating objects and tests | Jessica Tallon | 2014-08-04 | 2 | -37/+129 |
| | | |||||
| * | Use the STARTTLS command to upgrade SMTP connections where possible. | Matt Molyneaux | 2014-08-02 | 2 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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? | ||||
| * | Updated video thumbnail pipeline to use decodebin2 | ayleph | 2014-08-01 | 1 | -1/+1 |
| | | | | | | | | The video thumbnailer uses decodebin to automatically detect the file type in the thumbnail pipeline. However, decodebin does not properly demux theora streams, which causes the thumbnailer to fail for .ogv files. decodebin2 properly demuxes the theora stream and successfully creates thumbnails for .ogv files. | ||||
| * | Fix some security concerns regrding inpersonation in federation code. | Jessica Tallon | 2014-07-31 | 2 | -2/+98 |
| | | |||||
| * | Fix #927 - Clean up federation code after Elrond's review | Jessica Tallon | 2014-07-30 | 9 | -148/+182 |
| | | | | | | | | | | | | | | | | - 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. | ||||
| * | Fix #923 - add allow_admin to user_has_privilege decorator | Jessica Tallon | 2014-07-29 | 5 | -33/+35 |
| | | |||||
| * | Avoid "lego translations" on the nothing currently featured strings | Christopher Allan Webber | 2014-07-29 | 1 | -7/+9 |
| | | | | | | | | This commit sponsored by Vinzenz Vietzke. Thank you! | ||||
| * | Committing extracted and compiled translations | Christopher Allan Webber | 2014-07-29 | 71 | -3178/+12744 |
| | | |||||
| * | Committing present MediaGoblin translations before pushing extracted messages | Christopher Allan Webber | 2014-07-29 | 2 | -507/+1597 |
| | | |||||
| * | Make translatable table columns titles in media processing panel | Laura Arjona Reina | 2014-07-29 | 1 | -16/+16 |
| | |