Elrond
eabe6b678a
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.
2011-11-15 11:32:13 +01:00
Elrond
7cbddc96a8
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
2011-11-15 11:32:13 +01:00
Elrond
a9c7af9040
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.
2011-11-15 11:21:15 +01:00
Joar Wandborg
b33701b851
moved from videoscale => ffvideoscale *and* put queus before video and audio pipes
2011-11-15 00:27:21 +01:00
Christopher Allan Webber
2b7aa99d3c
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 ;)
2011-11-13 20:39:42 -06:00
Christopher Allan Webber
ee91c2b88d
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
2011-11-13 20:23:26 -06:00
Christopher Allan Webber
4671fda345
Improving <title> on tag page *and* adjusting translation for RTL reasons
...
Basically moving the variable inside the translation to give
translators more flexibility
2011-11-13 14:48:51 -06:00
Christopher Allan Webber
ab56689017
Enhanced title on the user's main media gallery
2011-11-13 14:42:03 -06:00
Christopher Allan Webber
7fc25d2720
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 :)
2011-11-13 14:40:11 -06:00
Christopher Allan Webber
017d6ca350
Enhanced title for user profile page
2011-11-13 14:38:40 -06:00
Christopher Allan Webber
688f56c2dc
Improved title block on media page
2011-11-13 14:34:22 -06:00
Christopher Allan Webber
7f851c655e
Merge remote-tracking branch 'remotes/nyergler/issue-653-csrf-exception'
2011-11-13 14:20:16 -06:00
Nathan Yergler
d9ed3aeb40
Issue 653: This time for sure!
2011-11-13 12:07:09 -08:00
Nathan Yergler
ad3f1233df
Issue 653: Handle the case where request.vary is None
2011-11-13 11:59:24 -08:00
Nathan Yergler
b97ae0fd7d
Issue 653: Don't throw exception if response has no vary header.
2011-11-13 11:41:43 -08:00
Elrond
efd0a42ca1
Mark two strings for translation
2011-11-13 19:51:11 +01:00
Christopher Allan Webber
d0504cfa87
Final step for non-force-conversion to jpeg
2011-11-12 15:12:39 -06:00
Christopher Allan Webber
0cf5b8ad24
Don't force-convert resized images to JPEG.
...
That's just not nice for those of us who like transparency!
2011-11-12 13:55:00 -06:00
Elrond
8daf78db4e
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
2011-11-12 13:39:50 +01:00
Elrond
33d11e995d
Move TestingMiddleware to tests/tools.py
...
This middleware isn't needed outside of the tests, so let's
just put it there.
2011-11-12 13:21:41 +01:00
Elrond
34b0874d9a
Some docs for the TestingMiddleware
...
To make the TestingMiddleware actually more useful in the
future, start to document it.
2011-11-12 13:10:48 +01:00
Christopher Allan Webber
76dd312ff5
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
2011-11-04 08:23:48 -05:00
Christopher Allan Webber
d871f4e0d1
Updating translations
2011-11-04 08:23:28 -05:00
Jef van Schendel
da76a8cbaa
Tiny padding change to vertically center navigation button arrows
2011-11-04 02:34:00 +01:00
Jef van Schendel
80c9a7ee51
Small style changes to navigation buttons
2011-11-04 02:30:07 +01:00
Jef van Schendel
1b36a8e80c
On second thought, let's use this title for forgot_password.html
2011-11-04 02:20:26 +01:00
Jef van Schendel
560af7ba43
Text edits and rearrangements to login.html
2011-11-04 02:19:35 +01:00
Jef van Schendel
b4b10a222d
Add translation brackety things to forgot-password page, I forgot those
2011-11-04 02:15:52 +01:00
Jef van Schendel
d1bee08d5a
Text changes to forgot-paddword page
2011-11-04 02:14:19 +01:00
Jef van Schendel
726afba3bb
Text changes to front page, as described in ticket #637
2011-11-04 02:06:33 +01:00
Jef van Schendel
157c60267e
Several small changes (reordering/restyling) for media descriptions and comments
2011-11-04 01:54:41 +01:00
Christopher Allan Webber
a81912ecd0
0.1.0!
2011-11-02 09:08:45 -05:00
Christopher Allan Webber
98308e61b6
Removed the bloof print debugging
2011-11-02 08:55:02 -05:00
Christopher Allan Webber
95e12bf231
Make sure you can't force comments on entries that don't exist.
...
See: http://bugs.foocorp.net/issues/621
2011-11-02 08:53:33 -05:00
Christopher Allan Webber
3d670ed035
Updated logo from Thorsten Wilms!
2011-11-01 23:55:19 -05:00
Christopher Allan Webber
502c25639f
Updated translations
2011-11-01 23:15:37 -05:00
Joar Wandborg
315266b42f
Minor fixes
...
- Added error handling for PyGTK import
- Added 'mkv' to the video media manager
2011-11-01 23:00:35 +01:00
Christopher Allan Webber
91903aa601
[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.
2011-10-29 17:04:19 -05:00
Christopher Allan Webber
9d0a613be9
Default to mediagoblin_local.ini if available in ./bin/gmg commands
2011-10-29 16:24:52 -05:00
Jef van Schendel
3c486f3f68
Small style changes: decrease button text size, change navigation button background color
2011-10-29 14:27:14 -05:00
Christopher Allan Webber
b20fa83bc0
Removing this extra padding after form_field_box.
...
Maybe I'm wrong to do this, but it does seem excessive to me.
I should talk to Jef about it probably :)
2011-10-29 14:13:19 -05:00
Christopher Allan Webber
6f73c51e3c
Removing comment_form link which doesn't do anything?
2011-10-29 14:11:45 -05:00
Christopher Allan Webber
18909d5994
Unclosed anchor tags in the tags! Fixed :)
2011-10-27 13:53:32 -05:00
Christopher Allan Webber
e360a99276
Only show the "post a comment" link if there's a logged in user
2011-10-27 13:13:19 -05:00
Christopher Allan Webber
ecc56c0afb
Renamed "Temporary button holder" to "actions"
2011-10-27 10:52:18 -05:00
Joar Wandborg
206ef74943
Added new thumbnailer, renamed old.
2011-10-27 02:55:12 +02:00
Christopher Allan Webber
c57b42a130
Removed suggestion that the user run ./bin/buildout
2011-10-26 11:24:39 -05:00
Christopher Allan Webber
4a4035c8af
Added an extra warning about wipealldata being pretty inflexible.
2011-10-26 11:21:25 -05:00
Christopher Allan Webber
839aeaa944
Merge remote branch 'remotes/elrond/misc/add_db_field'
2011-10-23 15:38:38 -05:00
Christopher Allan Webber
c0e1a70975
Merge remote branch 'remotes/elrond/refactor/gmg_cf_option'
2011-10-23 15:22:18 -05:00