aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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-22100-468/+945
|\ | | | | | | | | 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-16215-10537/+50247
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Temporarily disabling the mediagoblin errors middlewareChristopher Allan Webber2014-09-151-1/+2
| | | | | | | | | | | | We don't have paste (core) in py3, so....
| * | No reason to wrap the rest of the options in a quoteChristopher Allan Webber2014-09-151-1/+1
| | | | | | | | | | | | This commit sponsored by Thane Williams. Thank you!
| * | Upgrading gunicorn. Referenced issue is resolved.Christopher Allan Webber2014-09-151-3/+1
| | | | | | | | | | | | | | | | | | Also, upgrading seems to fix weird "RuntimeError: dictionary changed size during iteration" issues I was seeing. (Looked like a gunicorn issue, not ours.)
| * | py2.7 compatibility with open(..., encoding="utf-8"), use io.openChristopher Allan Webber2014-09-121-0/+1
| | | | | | | | | | | | This commit sponsored by Peter Baumgarten. Thank you!
| * | Explicitly open READMEFILE as utf-8Christopher Allan Webber2014-09-121-1/+1
| | |
| * | Fix unicode error in pdf media typeChristopher Allan Webber2014-09-121-1/+1
| | | | | | | | | | | | (we're checking against bytestrings, so make that explicit)
| * | Set up tox.ini to run more properly:Christopher Allan Webber2014-09-121-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Don't run dbupdate... the tests themselves do this, and we might mess up someone's db - We shouldn't run setup.py develop because that installs a new *live* db... the tests do isolation, so... - Install the package's dependencies by the package itself... it seems that removing "skipsdist = True" fixes this - Run py.test manually rather than use runtests.sh (which itself uses ./bin/py.test if it can)
| * | 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".
| * | Restore different server options.Berker Peksag2014-08-151-0/+24
| | |
| * | 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-138-0/+191
| | |
| * | Fix dict.keys() in Python 3.Berker Peksag2014-08-131-1/+1
| | |
| * | Fix a comment.Berker Peksag2014-08-131-1/+1
| | |
| * | Update TODOs in setup.py.Berker Peksag2014-08-071-2/+4
| | |
| * | 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.
| * | Update .gitignore.Berker Peksag2014-07-281-0/+4
| | |
| * | Cleanup mediagoblin._compat and fix translation tests.Berker Peksag2014-07-286-24/+25
| | |
| * | Update dependency list.Berker Peksag2014-07-281-10/+8
| | |
| * | 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-183-29/+8
| | |
| * | Add tox.ini.Berker Peksag2014-07-181-0/+15
| | |
| * | Fix tests on Python 3.Berker Peksag2014-07-1414-45/+81
| | |
| * | Remove Paste#http, Paste#urlmap and Paste#static dependencies.Berker Peksag2014-06-293-59/+20
| | | | | | | | | | | | | | | | | | | | | 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
| | |