aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
Commit message (Collapse)AuthorAgeFilesLines
* defaults now pulled from a mashup of mediagoblin.ini and config_spec.iniChristopher Allan Webber2014-09-241-9/+24
| | | | This commit sponsored by Thomas Løcke. Thank you!
* Switch print statement to print functionChristopher Allan Webber2014-09-241-1/+1
|
* Fix Content-Disposition error for retrieving OAuth request tokensJessica Tallon2014-09-241-4/+0
|
* Making alembic happen with python 3 only... for now.Christopher Allan Webber2014-09-221-1/+6
| | | | We want to make sure it works nicely first.
* Merge branch 'merge-python3-port'Christopher Allan Webber2014-09-2294-373/+776
|\ | | | | | | | | Conflicts: setup.py
| * Last two issues related to the python 3 merge tests: fixed!Christopher Allan Webber2014-09-162-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 Webber2014-09-161-1/+1
| | | | | | | | This commit sponsored by Ramana Kumar. Thanks!
| * decode to unicode before loading in json again, for py3Christopher Allan Webber2014-09-161-1/+1
| | | | | | | | This commit sponsored by Chris Cormack. Thanks!
| * Much more nicely formed form error checkChristopher Allan Webber2014-09-161-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 3Christopher Allan Webber2014-09-161-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 3Christopher Allan Webber2014-09-161-2/+2
| | | | | | | | This commit sponsored by Paul Smith. Thank you!
| * Fix iteritems usage on python 3Christopher Allan Webber2014-09-161-1/+1
| | | | | | | | This commit sponsored by Ben (Free Software Melbourne) Finney. Thanks!
| * json.loads(request.body) => json.loads(response.body.decode()))Christopher Allan Webber2014-09-162-8/+8
| | | | | | | | | | | | This fixes python 3 stuff. This commit sponsored by James Reilly. Thanks, James!
| * Import mock correctly on py3Christopher Allan Webber2014-09-161-1/+4
| | | | | | | | This commit sponsored by Andrew McNicol. Thank you!
| * Simplify things here and use io.openChristopher Allan Webber2014-09-161-1/+2
| |
| * Fix test_legacy_api.pyChristopher Allan Webber2014-09-161-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 py3Christopher Allan Webber2014-09-161-1/+4
| |
| * Merge branch 'master' into merge-python3-portChristopher Allan Webber2014-09-16197-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
| * | Fix unicode error in pdf media typeChristopher Allan Webber2014-09-121-1/+1
| | | | | | | | | | | | (we're checking against bytestrings, so make that explicit)
| * | Implement ServeCommand.{loadserver, loadapp}.Berker Peksag2014-08-151-4/+7
| | | | | | | | | | | | This is partly port from PasteScript.
| * | Add an initial "gmg serve" implementation.Berker Peksag2014-08-152-0/+67
| | | | | | | | | | | | The CLI is similar to "paster serve".
| * | Improve mediagoblin._compat.py2_unicode.Berker Peksag2014-08-151-10/+22
| | | | | | | | | | | | | | | | | | | | | - Encode obj.__repr__() to bytestring if its type is unicode in Python 2. - Add internal encode_to_utf8() decorator. - Do not raise an exception if a class does not have an __str__() method, just warn.
| * | Move the AlembicMigrationManager to top of the module.Berker Peksag2014-08-151-2/+2
| | | | | | | | | | | | Also, add a simple docstring.
| * | Provide a better manager API for Alembic.Berker Peksag2014-08-151-6/+27
| | |
| * | Add initial Alembic migrations.Berker Peksag2014-08-136-0/+131
| | |
| * | Fix dict.keys() in Python 3.Berker Peksag2014-08-131-1/+1
| | |
| * | Fix a comment.Berker Peksag2014-08-131-1/+1
| | |
| * | Fix another tests.Berker Peksag2014-08-0713-33/+28
| | | | | | | | | | | | (forgot to commit earlier)
| * | mbox_message.get_payload() returns bytestring.Berker Peksag2014-08-041-2/+2
| | |
| * | Make sort_keys True to avoid hash randomize feature in Python 3.Berker Peksag2014-08-041-1/+1
| | |
| * | Use isinstance and six.text_type to check types of an object.Berker Peksag2014-07-281-2/+4
| | |
| * | Fix urlparse import.Berker Peksag2014-07-281-1/+1
| | |
| * | 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-286-24/+25
| | |
| * | Skip test_sql_migrations on Python 3 for now.Berker Peksag2014-07-281-3/+7
| | |
| * | Remove an usage of deprecated cgi.parse_qs().Berker Peksag2014-07-281-3/+1
| | |
| * | func_name removed in Python 3.Berker Peksag2014-07-281-1/+1
| | |
| * | Remove paste.server dependency from tests.Berker Peksag2014-07-181-28/+6
| | |
| * | Fix tests on Python 3.Berker Peksag2014-07-1414-45/+81
| | |
| * | Remove Paste#http, Paste#urlmap and Paste#static dependencies.Berker Peksag2014-06-291-0/+4
| | | | | | | | | | | | | | | | | | | | | Changes: * Paste#http -> Gunicorn * Paste#urlmap and Paste#static -> werkzeug.wsgi.SharedDataMiddleware
| * | Fix print statements.Berker Peksag2014-06-293-29/+36
| | |
| * | Remove sqlalchemy-migrate imports from the codebase. Do not touch tests yet.Berker Peksag2014-06-273-13/+1
| | |
| * | Use new-style class.Berker Peksag2014-06-251-1/+1
| | |
| * | Use new-style classes. The old-style classes are deprecated in Python 3.Berker Peksag2014-06-081-2/+2
| | |
| * | Use six.iteritems() in tools/exif.py.Berker Peksag2014-06-081-1/+1
| | |
| * | Fix an usage of file().Berker Peksag2014-06-081-1/+1
| | |
| * | Update a comment.Berker Peksag2014-06-071-1/+2
| | |
| * | The file() builtin has been removed in Python 3. Use open() instead.Berker Peksag2014-06-078-19/+19
| | |
| * | Change urllib and urllib import with six.moves.urllib.Berker Peksag2014-06-072-12/+11
| | |
| * | Sync py2_unicode decorator with Django.Berker Peksag2014-06-031-2/+5
| | |