Christopher Allan Webber [Mon, 21 Nov 2011 04:03:38 +0000 (22:03 -0600)]
Made the image processing use intermediary conversion file.
This should fix the problem with PIL and the cloudfiles storage system
fighting.
Christopher Allan Webber [Mon, 21 Nov 2011 04:02:02 +0000 (22:02 -0600)]
Slightly clearer docs on copy_local_to_storage
Christopher Allan Webber [Mon, 21 Nov 2011 04:01:43 +0000 (22:01 -0600)]
copy_local_to_storage, both general and specialized-for-BasicFileStorage versions
This utility should allow for easy copying from a local filesystem to
the storage instance.
Jakob Kramer [Sun, 20 Nov 2011 20:40:51 +0000 (21:40 +0100)]
fixed identation
Jakob Kramer [Sun, 20 Nov 2011 20:30:46 +0000 (21:30 +0100)]
eyecandy for programmers
Jakob Kramer [Sun, 20 Nov 2011 20:15:07 +0000 (21:15 +0100)]
don't use 'and' anymore, if there is only one tag
Elrond [Sun, 20 Nov 2011 19:15:21 +0000 (20:15 +0100)]
Fix redirect to logical path
redirects should in nearly all cases go to a logical path
like 'mediagoblin.auth.login' and not to an absolute path
like "/auth/login".
Elrond [Sun, 20 Nov 2011 19:00:08 +0000 (20:00 +0100)]
Merge remote branch 'remotes/aaronw/bug614_verification_crash'
* remotes/aaronw/bug614_verification_crash:
Update english translation file.
Reverse order of sanity checks: check email_verified after making sure there's a user in the request.
Make sure user isn't already verified before resending verification.
Check request.user to determine if user is logged in.
Regenerated English .po file to include new string.
Display and error and redirect to login page if unauthenticated user tries to access resend_verification.
Conflicts:
mediagoblin/i18n/en/LC_MESSAGES/mediagoblin.po
Jef van Schendel [Sun, 20 Nov 2011 16:01:23 +0000 (17:01 +0100)]
Navigation buttons edits. Removed images as they are no longer needed. Related: bug #504
Jef van Schendel [Sun, 20 Nov 2011 15:45:45 +0000 (16:45 +0100)]
Remove Edit/Delete icons, since they are not required yet.
Jef van Schendel [Sun, 20 Nov 2011 15:18:27 +0000 (16:18 +0100)]
Change tag list from a list to a paragraph. Wrap text for translation.
Jef van Schendel [Sun, 20 Nov 2011 14:34:40 +0000 (15:34 +0100)]
Fix for bug #467, "Add explanatory copy to add/edit picture pages saying that tags are comma-separated"
Jef van Schendel [Sun, 20 Nov 2011 00:57:29 +0000 (01:57 +0100)]
Slight style changes to button_action_highlight
Jef van Schendel [Sun, 20 Nov 2011 00:57:02 +0000 (01:57 +0100)]
Small correction, this button should be button_action, not button_form
Jef van Schendel [Sun, 20 Nov 2011 00:46:21 +0000 (01:46 +0100)]
Slight change to error wording
Jef van Schendel [Sun, 20 Nov 2011 00:43:48 +0000 (01:43 +0100)]
Another change to button style. Renamed header_submit, header_submit_highlight and button classes, correct all references to these
Jef van Schendel [Sun, 20 Nov 2011 00:12:10 +0000 (01:12 +0100)]
Change to background of "empty_space", it now uses an image
Jakob Kramer [Sat, 19 Nov 2011 23:35:09 +0000 (00:35 +0100)]
added unittests, now using form errors and fixed bug when no GET parameter is given for /edit/profile/
Jakob Kramer [Sat, 19 Nov 2011 21:17:21 +0000 (22:17 +0100)]
added support for changing the password, issue #643
Jef van Schendel [Sat, 19 Nov 2011 23:28:19 +0000 (00:28 +0100)]
Change button style a bit
Jef van Schendel [Sat, 19 Nov 2011 22:46:42 +0000 (23:46 +0100)]
Change form structure and add relevant CSS rules
Christopher Allan Webber [Sat, 19 Nov 2011 20:06:48 +0000 (14:06 -0600)]
Added back the title block
Christopher Allan Webber [Sat, 19 Nov 2011 20:04:56 +0000 (14:04 -0600)]
Merge remote branch 'remotes/inconexo/613_custom_title'
Christopher Allan Webber [Sat, 19 Nov 2011 20:03:01 +0000 (14:03 -0600)]
Added Pablo Santos to the AUTHORS file
Christopher Allan Webber [Sat, 19 Nov 2011 20:01:38 +0000 (14:01 -0600)]
Allow user to set whether comments are ascending or descending
Christopher Allan Webber [Sat, 19 Nov 2011 19:54:49 +0000 (13:54 -0600)]
Merge remote branch 'remotes/inconexo/441_comment_order'
Christopher Allan Webber [Sat, 19 Nov 2011 19:42:30 +0000 (13:42 -0600)]
Added Corey Farwell to the list of contributors
Corey Farwell [Sat, 19 Nov 2011 18:43:31 +0000 (10:43 -0800)]
incorrect path in nginx config
Pablo J. Urbano Santos [Sat, 19 Nov 2011 18:15:41 +0000 (19:15 +0100)]
media_home: order comments by ascending date.
Pablo J. Urbano Santos [Sat, 19 Nov 2011 18:11:42 +0000 (19:11 +0100)]
Added parameter ascending to MediaEntry::get_comments, if true, comments
will be ordered ascending, otherwise descending
Pablo J. Urbano Santos [Sat, 19 Nov 2011 16:07:41 +0000 (17:07 +0100)]
Allow instance owners to customize html titles of page:
Added html_title config option.
Made base.html template use html_title option as page title.
Christopher Allan Webber [Sat, 19 Nov 2011 14:33:29 +0000 (08:33 -0600)]
Add app_config and global_config to the template environment
Christopher Allan Webber [Sat, 19 Nov 2011 14:31:37 +0000 (08:31 -0600)]
Adding app_config and global_config to the template environment
Christopher Allan Webber [Fri, 18 Nov 2011 15:34:09 +0000 (09:34 -0600)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Conflicts:
mediagoblin/templates/mediagoblin/user_pages/user.html
Christopher Allan Webber [Wed, 16 Nov 2011 23:53:46 +0000 (17:53 -0600)]
Accidentally had user['profile'] where it shoulda been user['bio']
Elrond [Mon, 14 Nov 2011 16:11:37 +0000 (17:11 +0100)]
Dot-Notation: x._id = ObjectId() doesn't seem to work properly
For whatever reason, this does not work as expected:
entry._id = ObjectId()
Need to go this way:
entry['_id'] = ObjectId()
Elrond [Sun, 13 Nov 2011 18:25:06 +0000 (19:25 +0100)]
Dot-Notation for "_id"
Note: Migrations can't use "Dot Notation"!
Migrations run on pymongo, not mongokit.
So they can't use the "Dot Notation".
This isn't really a big issue, as migrations are anyway
quite mongo specific.
Elrond [Mon, 14 Nov 2011 13:21:06 +0000 (14:21 +0100)]
Enable mongokit's "Dot notation"
mongokit documents can allow to use x.FIELD instead of
x["FIELD"].
First it looks a lot more pythonic.
Second it might allow us an easier migration path towards
an sqlalchemy database backend.
Docs: http://namlook.github.com/mongokit/tutorial.html#dot-notation
Elrond [Tue, 15 Nov 2011 10:21:15 +0000 (11:21 +0100)]
export: Handle Unicode titles better in logging
log("ascii %s" % unicode_string) tries to convert unicode
to ascii, which might fail.
Better use log(u"unicode format %s" % unicode_string) and
let the logging framework handle the conversion. This works
much better and the exceptions still happening aren't
stopping the main app.
Also remove one useless import.
Christopher Allan Webber [Mon, 14 Nov 2011 02:39:42 +0000 (20:39 -0600)]
Only show "post a comment" link if comments already exist
The purpose of the link is to help you jump past comments to the
comment box, and so...
Even with this new conditional, I'm not entirely sure I like that link ;)
Christopher Allan Webber [Mon, 14 Nov 2011 02:23:26 +0000 (20:23 -0600)]
Merge remote-tracking branch 'remotes/nyergler/pep8-ification'
Conflicts:
mediagoblin/db/migrations.py
mediagoblin/db/models.py
mediagoblin/user_pages/views.py
mediagoblin/util.py
Christopher Allan Webber [Sun, 13 Nov 2011 20:48:51 +0000 (14:48 -0600)]
Improving <title> on tag page *and* adjusting translation for RTL reasons
Basically moving the variable inside the translation to give
translators more flexibility
Christopher Allan Webber [Sun, 13 Nov 2011 20:42:03 +0000 (14:42 -0600)]
Enhanced title on the user's main media gallery
Christopher Allan Webber [Sun, 13 Nov 2011 20:40:11 +0000 (14:40 -0600)]
If the gallery view makes sure we have a user anyway, do we need this check?
Seems like the classic annoying "SHOULD NEVER HAPPEN" else: statement :)
Christopher Allan Webber [Sun, 13 Nov 2011 20:38:40 +0000 (14:38 -0600)]
Enhanced title for user profile page
Christopher Allan Webber [Sun, 13 Nov 2011 20:34:22 +0000 (14:34 -0600)]
Improved title block on media page
Christopher Allan Webber [Sun, 13 Nov 2011 20:20:16 +0000 (14:20 -0600)]
Merge remote-tracking branch 'remotes/nyergler/issue-653-csrf-exception'
Nathan Yergler [Sun, 13 Nov 2011 20:07:09 +0000 (12:07 -0800)]
Issue 653: This time for sure!
Nathan Yergler [Sun, 13 Nov 2011 19:59:24 +0000 (11:59 -0800)]
Issue 653: Handle the case where request.vary is None
Nathan Yergler [Sun, 13 Nov 2011 19:41:43 +0000 (11:41 -0800)]
Issue 653: Don't throw exception if response has no vary header.
Elrond [Sun, 13 Nov 2011 18:51:11 +0000 (19:51 +0100)]
Mark two strings for translation
Christopher Allan Webber [Sat, 12 Nov 2011 21:12:39 +0000 (15:12 -0600)]
Final step for non-force-conversion to jpeg
Christopher Allan Webber [Sat, 12 Nov 2011 19:35:41 +0000 (13:35 -0600)]
Don't force-convert resized images to JPEG.
That's just not nice for those of us who like transparency!
Christopher Allan Webber [Sat, 12 Nov 2011 14:10:46 +0000 (08:10 -0600)]
Probably should have MANIFEST.in checked in, for doing python sdists
Elrond [Sat, 12 Nov 2011 13:26:35 +0000 (14:26 +0100)]
640: Configuration files should mention their _local versions
Thanks go to Aleksej Serdjukov for bringing this up and
providing the patch in the bug!
Elrond [Sat, 12 Nov 2011 12:39:50 +0000 (13:39 +0100)]
Merge branch 'idea/check_mgoblin_static'
* idea/check_mgoblin_static:
Move TestingMiddleware to tests/tools.py
Some docs for the TestingMiddleware
591: Let Testing Middleware check for staticdirect() usage
Elrond [Sat, 12 Nov 2011 12:21:41 +0000 (13:21 +0100)]
Move TestingMiddleware to tests/tools.py
This middleware isn't needed outside of the tests, so let's
just put it there.
Elrond [Sun, 30 Oct 2011 19:51:55 +0000 (20:51 +0100)]
Some docs for the TestingMiddleware
To make the TestingMiddleware actually more useful in the
future, start to document it.
Christopher Allan Webber [Fri, 4 Nov 2011 13:23:48 +0000 (08:23 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Fri, 4 Nov 2011 13:23:28 +0000 (08:23 -0500)]
Updating translations
Jef van Schendel [Fri, 4 Nov 2011 01:34:00 +0000 (02:34 +0100)]
Tiny padding change to vertically center navigation button arrows
Jef van Schendel [Fri, 4 Nov 2011 01:30:07 +0000 (02:30 +0100)]
Small style changes to navigation buttons
Jef van Schendel [Fri, 4 Nov 2011 01:20:26 +0000 (02:20 +0100)]
On second thought, let's use this title for forgot_password.html
Jef van Schendel [Fri, 4 Nov 2011 01:19:35 +0000 (02:19 +0100)]
Text edits and rearrangements to login.html
Jef van Schendel [Fri, 4 Nov 2011 01:15:52 +0000 (02:15 +0100)]
Add translation brackety things to forgot-password page, I forgot those
Jef van Schendel [Fri, 4 Nov 2011 01:14:19 +0000 (02:14 +0100)]
Text changes to forgot-paddword page
Jef van Schendel [Fri, 4 Nov 2011 01:06:33 +0000 (02:06 +0100)]
Text changes to front page, as described in ticket #637
Jef van Schendel [Fri, 4 Nov 2011 00:54:41 +0000 (01:54 +0100)]
Several small changes (reordering/restyling) for media descriptions and comments
Christopher Allan Webber [Thu, 3 Nov 2011 22:10:39 +0000 (17:10 -0500)]
Correcting the mediagoblin static/media aliases in the deployment guide
Christopher Allan Webber [Thu, 3 Nov 2011 15:59:47 +0000 (10:59 -0500)]
A correct but compact set of instructions for fastcgi on nginx
Christopher Allan Webber [Thu, 3 Nov 2011 15:27:39 +0000 (10:27 -0500)]
Indentation was off by one ;)
Christopher Allan Webber [Thu, 3 Nov 2011 15:23:53 +0000 (10:23 -0500)]
We left out a critical fastcgi variable from the nginx config
Christopher Allan Webber [Thu, 3 Nov 2011 14:41:48 +0000 (09:41 -0500)]
Recommendation to install flup!
Christopher Allan Webber [Wed, 2 Nov 2011 14:09:35 +0000 (09:09 -0500)]
0.1.0, also in the docs file! ;)
Christopher Allan Webber [Wed, 2 Nov 2011 14:08:45 +0000 (09:08 -0500)]
0.1.0!
Christopher Allan Webber [Wed, 2 Nov 2011 13:55:02 +0000 (08:55 -0500)]
Removed the bloof print debugging
Christopher Allan Webber [Wed, 2 Nov 2011 13:53:33 +0000 (08:53 -0500)]
Make sure you can't force comments on entries that don't exist.
See: http://bugs.foocorp.net/issues/621
Christopher Allan Webber [Wed, 2 Nov 2011 04:55:19 +0000 (23:55 -0500)]
Updated logo from Thorsten Wilms!
Christopher Allan Webber [Wed, 2 Nov 2011 04:15:37 +0000 (23:15 -0500)]
Updated translations
Christopher Allan Webber [Tue, 1 Nov 2011 04:42:12 +0000 (23:42 -0500)]
Merge remote branch 'remotes/j1mc/master'
Christopher Allan Webber [Tue, 1 Nov 2011 03:42:30 +0000 (22:42 -0500)]
Added configuration to the index
Christopher Allan Webber [Tue, 1 Nov 2011 03:40:39 +0000 (22:40 -0500)]
A cop-out section for all other config changes
Christopher Allan Webber [Tue, 1 Nov 2011 03:26:47 +0000 (22:26 -0500)]
Enabling email notifications documentation!
Jim Campbell [Tue, 1 Nov 2011 03:20:00 +0000 (22:20 -0500)]
docs - tweaked configuration.rst for style.
Christopher Allan Webber [Tue, 1 Nov 2011 03:08:30 +0000 (22:08 -0500)]
Making docs changes per Jim's suggestions.
Christopher Allan Webber [Tue, 1 Nov 2011 03:07:12 +0000 (22:07 -0500)]
Added the "making local copies" section to configuration.rst
Christopher Allan Webber [Tue, 1 Nov 2011 02:58:21 +0000 (21:58 -0500)]
First section of configuring mediagoblin
Christopher Allan Webber [Mon, 31 Oct 2011 04:29:06 +0000 (23:29 -0500)]
Configuring MediaGoblin, a loose sketch of documentation.
tycho garen [Mon, 31 Oct 2011 04:21:30 +0000 (00:21 -0400)]
docs: editing/tweaking deployment documentation
Christopher Allan Webber [Sun, 30 Oct 2011 23:59:07 +0000 (18:59 -0500)]
Added notes on a more permanent mediagoblin process.
Christopher Allan Webber [Sun, 30 Oct 2011 23:37:32 +0000 (18:37 -0500)]
Make sure we run fcgi in forked mode... mediagoblin is not currently thread safe!
Christopher Allan Webber [Sun, 30 Oct 2011 21:59:15 +0000 (16:59 -0500)]
No reason to include commented-out things.
Christopher Allan Webber [Sun, 30 Oct 2011 21:47:39 +0000 (16:47 -0500)]
Recommend that users use a non-privelaged user (thanks Elrond for the text)
Christopher Allan Webber [Sun, 30 Oct 2011 21:43:12 +0000 (16:43 -0500)]
Let's comply with the Filesystem Hierarchy Standard
... and make elrond and tychoish happy :)
Christopher Allan Webber [Sun, 30 Oct 2011 21:22:35 +0000 (16:22 -0500)]
If I"m telling people to use fastcgi, we should probably use fastcgi ;)
Christopher Allan Webber [Sun, 30 Oct 2011 21:07:48 +0000 (16:07 -0500)]
Hook mediagoblin up to nginx
Christopher Allan Webber [Sun, 30 Oct 2011 18:58:54 +0000 (13:58 -0500)]
More easy options for deploying without having to modify paste.ini...
Christopher Allan Webber [Sun, 30 Oct 2011 16:55:41 +0000 (11:55 -0500)]
Added a lot more details to deploying.rst
Christopher Allan Webber [Sun, 30 Oct 2011 16:51:40 +0000 (11:51 -0500)]
Added a "broadcast" server config and a bit of helpful commenting (I hope!)
Christopher Allan Webber [Sat, 29 Oct 2011 22:04:19 +0000 (17:04 -0500)]
[620] Allow for multiple mediagoblin configs to be set in config.ini, use first
This way we can copy paste.ini into paste_local.ini but not have to
update it to find mediagoblin_local.ini.