Berker Peksag [Fri, 15 Aug 2014 20:07:35 +0000 (23:07 +0300)]
Implement ServeCommand.{loadserver, loadapp}.
This is partly port from PasteScript.
Berker Peksag [Fri, 15 Aug 2014 20:02:22 +0000 (23:02 +0300)]
Add an initial "gmg serve" implementation.
The CLI is similar to "paster serve".
Berker Peksag [Fri, 15 Aug 2014 19:35:22 +0000 (22:35 +0300)]
Restore different server options.
Berker Peksag [Fri, 15 Aug 2014 15:57:48 +0000 (18:57 +0300)]
Improve mediagoblin._compat.py2_unicode.
- 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.
Berker Peksag [Fri, 15 Aug 2014 12:40:35 +0000 (15:40 +0300)]
Move the AlembicMigrationManager to top of the module.
Also, add a simple docstring.
Berker Peksag [Fri, 15 Aug 2014 12:39:45 +0000 (15:39 +0300)]
Provide a better manager API for Alembic.
Berker Peksag [Wed, 13 Aug 2014 16:30:23 +0000 (19:30 +0300)]
Add initial Alembic migrations.
Berker Peksag [Wed, 13 Aug 2014 16:27:49 +0000 (19:27 +0300)]
Fix dict.keys() in Python 3.
Berker Peksag [Wed, 13 Aug 2014 16:27:23 +0000 (19:27 +0300)]
Fix a comment.
Berker Peksag [Thu, 7 Aug 2014 10:12:38 +0000 (13:12 +0300)]
Update TODOs in setup.py.
Berker Peksag [Thu, 7 Aug 2014 10:08:42 +0000 (13:08 +0300)]
Fix another tests.
(forgot to commit earlier)
Berker Peksag [Mon, 4 Aug 2014 19:08:23 +0000 (22:08 +0300)]
mbox_message.get_payload() returns bytestring.
Berker Peksag [Mon, 4 Aug 2014 19:06:40 +0000 (22:06 +0300)]
Make sort_keys True to avoid hash randomize feature in Python 3.
Berker Peksag [Mon, 28 Jul 2014 12:26:13 +0000 (15:26 +0300)]
Use isinstance and six.text_type to check types of an object.
Berker Peksag [Mon, 28 Jul 2014 12:25:20 +0000 (15:25 +0300)]
Fix urlparse import.
Berker Peksag [Mon, 28 Jul 2014 12:24:49 +0000 (15:24 +0300)]
Disable cache support of LazyProxy.
Since Babel 1.0, there's a enable_cache keyword argument of LazyProxy,
but we can't pass it directly.
Berker Peksag [Mon, 28 Jul 2014 10:29:26 +0000 (13:29 +0300)]
Update .gitignore.
Berker Peksag [Mon, 28 Jul 2014 10:27:19 +0000 (13:27 +0300)]
Cleanup mediagoblin._compat and fix translation tests.
Berker Peksag [Mon, 28 Jul 2014 10:24:17 +0000 (13:24 +0300)]
Update dependency list.
Berker Peksag [Mon, 28 Jul 2014 10:22:42 +0000 (13:22 +0300)]
Skip test_sql_migrations on Python 3 for now.
Berker Peksag [Mon, 28 Jul 2014 09:54:59 +0000 (12:54 +0300)]
Remove an usage of deprecated cgi.parse_qs().
Berker Peksag [Mon, 28 Jul 2014 07:35:14 +0000 (10:35 +0300)]
func_name removed in Python 3.
Berker Peksag [Fri, 18 Jul 2014 09:39:13 +0000 (12:39 +0300)]
Remove paste.server dependency from tests.
Berker Peksag [Fri, 18 Jul 2014 08:05:11 +0000 (11:05 +0300)]
Add tox.ini.
Berker Peksag [Mon, 14 Jul 2014 02:49:38 +0000 (05:49 +0300)]
Fix tests on Python 3.
Berker Peksag [Sun, 29 Jun 2014 01:23:50 +0000 (04:23 +0300)]
Remove Paste#http, Paste#urlmap and Paste#static dependencies.
Changes:
* Paste#http -> Gunicorn
* Paste#urlmap and Paste#static -> werkzeug.wsgi.SharedDataMiddleware
Berker Peksag [Sun, 29 Jun 2014 01:13:23 +0000 (04:13 +0300)]
Fix print statements.
Berker Peksag [Fri, 27 Jun 2014 00:17:12 +0000 (03:17 +0300)]
Remove sqlalchemy-migrate imports from the codebase. Do not touch tests yet.
Berker Peksag [Wed, 25 Jun 2014 18:10:37 +0000 (21:10 +0300)]
Use new-style class.
Berker Peksag [Sun, 8 Jun 2014 05:20:17 +0000 (08:20 +0300)]
Use new-style classes. The old-style classes are deprecated in Python 3.
Berker Peksag [Sun, 8 Jun 2014 05:19:32 +0000 (08:19 +0300)]
Use six.iteritems() in tools/exif.py.
Berker Peksag [Sun, 8 Jun 2014 05:19:04 +0000 (08:19 +0300)]
Fix an usage of file().
Berker Peksag [Sat, 7 Jun 2014 11:00:27 +0000 (14:00 +0300)]
Update a comment.
Berker Peksag [Sat, 7 Jun 2014 10:51:42 +0000 (13:51 +0300)]
The file() builtin has been removed in Python 3. Use open() instead.
Berker Peksag [Sat, 7 Jun 2014 10:49:39 +0000 (13:49 +0300)]
Change urllib and urllib import with six.moves.urllib.
Berker Peksag [Mon, 2 Jun 2014 22:41:44 +0000 (01:41 +0300)]
Sync py2_unicode decorator with Django.
Berker Peksag [Mon, 2 Jun 2014 19:25:27 +0000 (22:25 +0300)]
Use mediagoblin._compat.{ugettext, ungettext} on Python 3.
Berker Peksag [Mon, 2 Jun 2014 18:03:56 +0000 (21:03 +0300)]
Use six.moves.zip instead of itertools.izip.
Berker Peksag [Mon, 2 Jun 2014 18:01:48 +0000 (21:01 +0300)]
Add py2_unicode helper to mediagoblin._compat.
Berker Peksag [Mon, 2 Jun 2014 17:59:28 +0000 (20:59 +0300)]
Use six.text_type instead of unicode().
I will be switch to use ``from __future__ import unicode_literals`` later.
Berker Peksag [Mon, 26 May 2014 16:53:10 +0000 (19:53 +0300)]
Add ugettext and ungettext helpers to mediagoblin._compat.
Berker Peksag [Mon, 26 May 2014 16:52:18 +0000 (19:52 +0300)]
Use six.moves.urllib.parse instead of the urlparse module.
Berker Peksag [Mon, 26 May 2014 16:50:38 +0000 (19:50 +0300)]
Use six.iteritems() instead of dict.iteritems().
Berker Peksag [Wed, 19 Mar 2014 14:44:34 +0000 (16:44 +0200)]
Continue to port GMG codebase.
Berker Peksag [Fri, 7 Mar 2014 13:20:16 +0000 (15:20 +0200)]
Add mediagoblin._compat module.
Berker Peksag [Fri, 7 Mar 2014 13:19:53 +0000 (15:19 +0200)]
Update install_requires.
* Add PasteDeploy
* Upgrade Babel
Berker Peksag [Fri, 7 Mar 2014 13:19:23 +0000 (15:19 +0200)]
Fix some compat issues in mediagoblin/db/models.py.
Berker Peksag [Fri, 28 Feb 2014 19:39:51 +0000 (21:39 +0200)]
Ignore *.egg/ directories.
Berker Peksag [Fri, 28 Feb 2014 19:08:17 +0000 (21:08 +0200)]
Make GNU MediaGoblin installable on Python 3.
Jessica Tallon [Mon, 5 May 2014 16:24:32 +0000 (17:24 +0100)]
Add lib64/ directory to .gitignore file.
Christopher Allan Webber [Thu, 10 Apr 2014 20:27:42 +0000 (15:27 -0500)]
Adding Berker to the AUTHORS list
Berker Peksag [Sun, 23 Feb 2014 12:47:09 +0000 (14:47 +0200)]
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.
Berker Peksag [Sun, 23 Feb 2014 14:20:03 +0000 (16:20 +0200)]
Issue #824: Add gmg deletemedia command.
Berker Peksag [Fri, 21 Feb 2014 08:20:03 +0000 (10:20 +0200)]
Tweak the trim whitespace plugin documentation.
- Fix code highlighting
- Wrap all lines to 80 chars
- Add more markup (eg. Response() to ``Response()``)
Christopher Allan Webber [Mon, 7 Apr 2014 21:58:54 +0000 (16:58 -0500)]
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! :)
Christopher Allan Webber [Sun, 6 Apr 2014 18:58:47 +0000 (13:58 -0500)]
No more EXIF, for real. Use exifread. This should fix recent import EXIF failures.
This commit sponsored by Aaron Whitehouse. Thank you!
Christopher Allan Webber [Thu, 3 Apr 2014 19:20:44 +0000 (14:20 -0500)]
specify older sqlalchemy-migrate because pbr ruins everything.
Christopher Allan Webber [Thu, 3 Apr 2014 15:13:02 +0000 (10:13 -0500)]
Move ./bootstrap.sh to experimental-bootstrap.sh
Christopher Allan Webber [Sat, 29 Mar 2014 17:28:19 +0000 (12:28 -0500)]
Make the MediaGoblin databse user creation more deterministic.
Thanks RuiSeabra for the suggestion!
This commit sponsored by Chad Glendenin. Thanks, Chad!
Christopher Allan Webber [Thu, 27 Mar 2014 20:04:18 +0000 (15:04 -0500)]
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!
Christopher Allan Webber [Wed, 26 Mar 2014 21:41:56 +0000 (16:41 -0500)]
Okay, nm, that didn't fix it. Setting it back. Sigh.
Christopher Allan Webber [Wed, 26 Mar 2014 21:35:46 +0000 (16:35 -0500)]
I guess this also fixes it and is nicer
Christopher Allan Webber [Wed, 26 Mar 2014 21:17:29 +0000 (16:17 -0500)]
six==1.5.2
Christopher Allan Webber [Wed, 26 Mar 2014 19:17:18 +0000 (14:17 -0500)]
Babel now requires >= 1.0
Christopher Allan Webber [Wed, 26 Mar 2014 17:07:42 +0000 (12:07 -0500)]
EXIF returns less data than it used to...
Christopher Allan Webber [Sat, 22 Mar 2014 16:00:10 +0000 (11:00 -0500)]
Fix Babel version restriction. Onward and upward!
(Fix suggested by simonft... thanks!)
Christopher Allan Webber [Fri, 21 Mar 2014 04:25:25 +0000 (23:25 -0500)]
Fix version conflicts we were hitting with six
Boris Bobrov [Tue, 11 Mar 2014 11:23:58 +0000 (16:23 +0500)]
fixes to blog url generation
Christopher Allan Webber [Tue, 11 Mar 2014 16:28:46 +0000 (11:28 -0500)]
The default failures are just way too verbose. Quieting them down a bit.
This commit sponsored by Chad Glendenin. Thanks!
Christopher Allan Webber [Tue, 11 Mar 2014 16:07:35 +0000 (11:07 -0500)]
Adding Boris to AUTHORS
Boris Bobrov [Tue, 11 Mar 2014 10:50:01 +0000 (15:50 +0500)]
added new slugify with unidecode
Christopher Allan Webber [Sun, 9 Mar 2014 19:13:04 +0000 (14:13 -0500)]
Remove mention of blog plugin in config
Christopher Allan Webber [Sat, 8 Mar 2014 18:38:41 +0000 (12:38 -0600)]
Explicitly use /bin/bash even if shell is /bin/false
Christopher Allan Webber [Sat, 8 Mar 2014 18:28:23 +0000 (12:28 -0600)]
Changing "su -" to just "su"... considerably simpler.
I don't think inheriting environment stuff is a serious issue.
Alon Levy [Sat, 1 Mar 2014 19:52:14 +0000 (21:52 +0200)]
make exif a submodule
Updates it to latest which includes a fix for a 100% hang on a jpg without any EXIF data:
https://www.dropbox.com/s/m5l185qxq9w5mzk/raspberry-pi-gpio-cheat-sheet.jpg
Signed-off-by: Alon Levy <alon@pobox.com>
Christopher Allan Webber [Thu, 20 Feb 2014 20:06:36 +0000 (14:06 -0600)]
Tyops in deployment docs as pointed out by @latchkeyed@identi.ca.
Thanks for noticing and correcting!
Christopher Allan Webber [Wed, 19 Feb 2014 23:30:07 +0000 (17:30 -0600)]
mediagoblin -> mediagoblin
Thanks Luismi for pointing this out!
tilly-Q [Thu, 13 Feb 2014 19:10:11 +0000 (14:10 -0500)]
fixed my mistaken use of => from last commit >__<
tilly-Q [Thu, 13 Feb 2014 19:00:09 +0000 (14:00 -0500)]
Changed setup.py install_requirements to require sqlalchemy at least of version
0.8.0. Our code was crashing when running with sqlalchemy 0.7.4 because of
imports like sqlalchemy.orm.with_polymorphic
Christopher Allan Webber [Sun, 9 Feb 2014 19:40:59 +0000 (13:40 -0600)]
robogoblins.xcf
Christopher Allan Webber [Sun, 9 Feb 2014 19:33:57 +0000 (13:33 -0600)]
robogoblins source
Christopher Allan Webber [Sun, 9 Feb 2014 18:56:16 +0000 (12:56 -0600)]
updated COPYING file for current data in this directory
Christopher Allan Webber [Fri, 7 Feb 2014 01:00:12 +0000 (19:00 -0600)]
Source files for some of the test submission artwork.
Christopher Allan Webber [Mon, 27 Jan 2014 19:48:56 +0000 (13:48 -0600)]
jpope's been helping a bunch, so of course we need to put him in AUTHORS!
Christopher Allan Webber [Sun, 26 Jan 2014 19:08:01 +0000 (13:08 -0600)]
Fixing the STL media page for post-skeleton merge
Christopher Allan Webber [Thu, 23 Jan 2014 15:32:54 +0000 (09:32 -0600)]
Okay that broke the build process(?), testing if this fixes it
Christopher Allan Webber [Thu, 23 Jan 2014 15:23:51 +0000 (09:23 -0600)]
Once we can, that is.
Christopher Allan Webber [Thu, 23 Jan 2014 15:23:38 +0000 (09:23 -0600)]
Setting a specific pbr version in setup.py
Christopher Allan Webber [Tue, 14 Jan 2014 18:13:36 +0000 (12:13 -0600)]
Have the hook handle happen in the root_view proxy view itself
This way it isn't set in stone at a module level, especially if this
gets imported before the whole application inits, or if run during
tests and possibly imported multiple times.
Christopher Allan Webber [Tue, 14 Jan 2014 18:03:07 +0000 (12:03 -0600)]
Merge remote-tracking branch 'refs/remotes/tilly-q/variable-front-page'
jpope [Mon, 13 Jan 2014 21:04:02 +0000 (15:04 -0600)]
fixes #829 plus a little more that was somewhat related
jpope [Mon, 13 Jan 2014 17:37:36 +0000 (11:37 -0600)]
adjust exif info alignment
jpope [Mon, 13 Jan 2014 14:14:00 +0000 (08:14 -0600)]
adjust exif to match other sections and remove extra css
jpope777 [Sat, 11 Jan 2014 06:26:28 +0000 (00:26 -0600)]
Merge remote-tracking branch 'upstream/skeletongobblin' into skeleton
jpope [Sat, 11 Jan 2014 05:46:32 +0000 (23:46 -0600)]
another airy update
jpope [Sat, 11 Jan 2014 05:38:34 +0000 (23:38 -0600)]
minor updates for airy
tilly-Q [Thu, 9 Jan 2014 23:17:38 +0000 (18:17 -0500)]
This is a very minor change that makes it possible for plugins to provide an
alternative to the default root_view.
jpope777 [Wed, 8 Jan 2014 06:08:55 +0000 (00:08 -0600)]
Merge remote-tracking branch 'upstream/skeletongobblin' into skeleton
jpope [Wed, 8 Jan 2014 06:08:11 +0000 (00:08 -0600)]
move "wide" view to seperate branch
jpope [Wed, 8 Jan 2014 05:23:53 +0000 (23:23 -0600)]
rename couple of css classes