3957 Commits

Author SHA1 Message Date
Berker Peksag
173099ad2b Update dependency list. 2014-07-28 13:24:17 +03:00
Berker Peksag
88ed537a9e Skip test_sql_migrations on Python 3 for now. 2014-07-28 13:22:42 +03:00
Berker Peksag
fe6f82be23 Remove an usage of deprecated cgi.parse_qs(). 2014-07-28 12:54:59 +03:00
Berker Peksag
98d8b365af func_name removed in Python 3. 2014-07-28 10:35:14 +03:00
Berker Peksag
88a5739d36 Remove paste.server dependency from tests. 2014-07-18 12:39:13 +03:00
Berker Peksag
c9cbc7e8a7 Add tox.ini. 2014-07-18 11:05:11 +03:00
Berker Peksag
9459fa3ced Fix tests on Python 3. 2014-07-14 05:49:38 +03:00
Berker Peksag
19baab1b03 Remove Paste#http, Paste#urlmap and Paste#static dependencies.
Changes:

* Paste#http -> Gunicorn
* Paste#urlmap and Paste#static -> werkzeug.wsgi.SharedDataMiddleware
2014-06-29 04:23:50 +03:00
Berker Peksag
f9d93c0e9a Fix print statements. 2014-06-29 04:13:23 +03:00
Berker Peksag
e2cb0f86fe Remove sqlalchemy-migrate imports from the codebase. Do not touch tests yet. 2014-06-27 03:17:12 +03:00
Berker Peksag
e6aab20dc7 Use new-style class. 2014-06-25 21:10:37 +03:00
Berker Peksag
ef3badb3b4 Use new-style classes. The old-style classes are deprecated in Python 3. 2014-06-08 08:20:17 +03:00
Berker Peksag
bda76c420d Use six.iteritems() in tools/exif.py. 2014-06-08 08:19:32 +03:00
Berker Peksag
03d4be0e39 Fix an usage of file(). 2014-06-08 08:19:04 +03:00
Berker Peksag
f1d9a62a4b Update a comment. 2014-06-07 14:00:27 +03:00
Berker Peksag
d9aced73f1 The file() builtin has been removed in Python 3. Use open() instead. 2014-06-07 13:51:42 +03:00
Berker Peksag
120fa4ae95 Change urllib and urllib import with six.moves.urllib. 2014-06-07 13:49:39 +03:00
Berker Peksag
dce76c3ee7 Sync py2_unicode decorator with Django. 2014-06-03 01:41:44 +03:00
Berker Peksag
f9a7201c32 Use mediagoblin._compat.{ugettext, ungettext} on Python 3. 2014-06-02 22:25:27 +03:00
Berker Peksag
5a239cb7b8 Use six.moves.zip instead of itertools.izip. 2014-06-02 21:03:56 +03:00
Berker Peksag
0b2572b9a8 Add py2_unicode helper to mediagoblin._compat. 2014-06-02 21:01:48 +03:00
Berker Peksag
e49b7e02b2 Use six.text_type instead of unicode().
I will be switch to use ``from __future__ import unicode_literals`` later.
2014-06-02 20:59:28 +03:00
Berker Peksag
a80c74bbcc Add ugettext and ungettext helpers to mediagoblin._compat. 2014-05-26 19:53:10 +03:00
Berker Peksag
fd19da346b Use six.moves.urllib.parse instead of the urlparse module. 2014-05-26 19:52:18 +03:00
Berker Peksag
386c9c7c55 Use six.iteritems() instead of dict.iteritems(). 2014-05-26 19:50:38 +03:00
Berker Peksag
7f342c72f6 Continue to port GMG codebase. 2014-05-08 20:33:14 +03:00
Berker Peksag
74e77c3688 Add mediagoblin._compat module. 2014-05-08 20:33:14 +03:00
Berker Peksag
03ff865c42 Update install_requires.
* Add PasteDeploy
* Upgrade Babel
2014-05-08 20:33:14 +03:00
Berker Peksag
f6a700e8ae Fix some compat issues in mediagoblin/db/models.py. 2014-05-08 20:32:02 +03:00
Berker Peksag
353f593500 Ignore *.egg/ directories. 2014-05-08 20:32:02 +03:00
Berker Peksag
897354e6e4 Make GNU MediaGoblin installable on Python 3. 2014-05-08 20:32:02 +03:00
Jessica Tallon
cabbd95a0d Add lib64/ directory to .gitignore file. 2014-05-05 17:25:14 +01:00
Christopher Allan Webber
e36bb0ee18 Adding Berker to the AUTHORS list 2014-04-10 15:27:42 -05:00
Berker Peksag
de6a313c5a Issue #686: Create User.url_for_self() method.
*Note from cwebber on merge of this branch:*
  Thanks also to Sturm who provided an early version of this patch.
2014-04-10 15:23:09 -05:00
Berker Peksag
521824da5c Issue #824: Add gmg deletemedia command. 2014-04-10 15:08:29 -05:00
Berker Peksag
f4a5325e67 Tweak the trim whitespace plugin documentation.
- Fix code highlighting
- Wrap all lines to 80 chars
- Add more markup (eg. Response() to ``Response()``)
2014-04-10 13:28:27 -05:00
Christopher Allan Webber
2edd6b0b91 Adding a general purpose context hook for the media display page.
Since the media template name gets swapped out for each media
type, normal context hooks don't work if you want to affect all
media displays.  This gives a general purpose hook.

This commit sponsored by Kẏra.  Thanks! :)
2014-04-07 16:58:54 -05:00
Christopher Allan Webber
bfb99d65f4 No more EXIF, for real. Use exifread. This should fix recent import EXIF failures.
This commit sponsored by Aaron Whitehouse.  Thank you!
2014-04-06 13:58:47 -05:00
Christopher Allan Webber
b19491c535 specify older sqlalchemy-migrate because pbr ruins everything. 2014-04-03 14:20:44 -05:00
Christopher Allan Webber
4a0778b3c1 Move ./bootstrap.sh to experimental-bootstrap.sh 2014-04-03 10:13:02 -05:00
Christopher Allan Webber
5526150e1a Make the MediaGoblin databse user creation more deterministic.
Thanks RuiSeabra for the suggestion!

This commit sponsored by Chad Glendenin.  Thanks, Chad!
2014-03-29 12:28:19 -05:00
Christopher Allan Webber
052d3d985a Removing extlib submodule and switching it to being a package.
Much nicer!

This commit sponsored by Cameron Merkel.  Thanks Cameron!  Good luck
with yer projects!
2014-03-27 15:05:25 -05:00
Christopher Allan Webber
9caaff48af Okay, nm, that didn't fix it. Setting it back. Sigh. 2014-03-26 16:41:56 -05:00
Christopher Allan Webber
a946908d0f I guess this also fixes it and is nicer 2014-03-26 16:35:46 -05:00
Christopher Allan Webber
0b3b9a291f six==1.5.2 2014-03-26 16:17:29 -05:00
Christopher Allan Webber
5d04469315 Babel now requires >= 1.0 2014-03-26 14:17:18 -05:00
Christopher Allan Webber
6d27a79271 EXIF returns less data than it used to... 2014-03-26 12:07:42 -05:00
Christopher Allan Webber
023cda0974 Fix Babel version restriction. Onward and upward!
(Fix suggested by simonft... thanks!)
2014-03-22 11:02:24 -05:00
Christopher Allan Webber
c07bb3123c Fix version conflicts we were hitting with six 2014-03-20 23:25:25 -05:00
Boris Bobrov
36990574cf fixes to blog url generation 2014-03-11 11:29:09 -05:00