1273 Commits

Author SHA1 Message Date
Christopher Allan Webber
f016fc6505 Adding slightly clearer docs to MountStorage. 2011-08-11 11:29:14 -05:00
Caleb Forbes Davis V
d07be8119d eliminates textarea handling since rows cols not required in HTML5 2011-08-11 10:15:30 -05:00
Caleb Forbes Davis V
f6bf68cae5 Feature #446 - Render the submission form using the render_divs macro
- Currently there are individual calls to wtforms_util.render_field_div
for each field in the media submit form, which is too verbose
- Matched the field ordering in submit/form.py to the verbose version
- hacks the correct textareafield rendering with hard-coded rows and
columns.
- TODO - figure out how to pass the textarea dimensions with **kwargs
2011-08-11 00:50:16 -05:00
Christopher Allan Webber
1b57c29082 Merge branch 'master' into processing 2011-08-10 21:04:55 -05:00
Christopher Allan Webber
f64e525090 Generate the ObjectId() manually instead of via .save() 2011-08-10 21:03:16 -05:00
Christopher Allan Webber
d990a37998 We should save the entry *after* we add the queued_task_id. 2011-08-10 20:26:22 -05:00
Christopher Allan Webber
852d5bb238 Merge branch 'master' into processing 2011-08-10 19:53:37 -05:00
Christopher Allan Webber
6d794f268b Updating translations 2011-08-10 18:31:29 -05:00
Christopher Allan Webber
5d2b00be87 Updating translations 2011-08-10 13:07:09 -05:00
Caleb Forbes Davis V
84abd2bbc4 Bug #372 - MediaEntry.thumbnail_file not used
- deleted the thumbnail_file from the media_entries collection
- added a migration to remove the field from previous db versions
2011-08-10 12:48:23 -05:00
Christopher Allan Webber
9bc564ff53 Minor change to indentation 2011-08-10 12:44:58 -05:00
Christopher Allan Webber
369fd2f972 Ooops! We should do a fake ugettext passthrough here also. 2011-08-10 12:28:42 -05:00
Christopher Allan Webber
ad4aef3a67 Removing a tab. This is a tab-free zone! 2011-08-10 12:08:14 -05:00
Christopher Allan Webber
7960ac985f Converting all forms to use the "fake/null" gettext conversion function
Gettext doesn't actually get run right in the form but we do need to
wrap the strings in _() so stuff extracts :)
2011-08-10 12:07:59 -05:00
Christopher Allan Webber
c22d624af3 Merge branch 'mergeme' 2011-08-10 10:51:44 -05:00
Christopher Allan Webber
db3e058349 Make it so that form fields and descriptions are actually translated 2011-08-10 10:50:42 -05:00
Christopher Allan Webber
1c266dc328 Utilities to lazily translate strings and also fake a translation for extraction 2011-08-10 10:48:02 -05:00
Christopher Allan Webber
ff0e4fd52b Joar updating a typo in the Swedish translations :) 2011-08-09 10:12:05 -05:00
Christopher Allan Webber
b811346a2a Compiling the translations files again 2011-08-09 09:48:06 -05:00
Christopher Allan Webber
7bc2d2e313 New translations including Swedish at 100% (again! now with python strings) 2011-08-09 09:41:16 -05:00
Elrond
f9b68f6efa Storage Config: Finally drop debug 2011-08-09 13:40:20 +02:00
Elrond
56fc718659 Storage config: Drop all Backward Compatibility
Chris Webber says not to care about backward compatibility
at this stage. So drop the last bits.
2011-08-09 13:18:22 +02:00
Elrond
f7d73aeb34 storage Config: Stop being backward compatible (beginning).
Chris Webber says "no backward compatibility for this".
So start removing the backward compat stuff.
2011-08-09 13:15:20 +02:00
Elrond
ed7970696e Storage Config: Use own section
Instead of configuring storage X by parameters in the main
section "X_class = backend" and "X_param = value", use a
new section in the config: "[storage:X]" and use "class =
backend" and "param = value" there.

This is the beginning, it includes a try at being backward
compatible. But that try isn't really fully useful anyway.
2011-08-09 13:13:04 +02:00
Christopher Allan Webber
d1e67890da Extracted translatable strings from python files. 2011-08-08 22:56:16 -05:00
Christopher Allan Webber
4b1adc132c Marked relevant strings in python views/forms for translation via ugettext 2011-08-08 22:53:39 -05:00
Christopher Allan Webber
03e5bd6d35 Provide a pass_to_ugettext method and set up gettext to default to English. 2011-08-08 22:51:03 -05:00
Christopher Allan Webber
1eec9c8844 mediagoblin/translations/ directory not used, mediagoblin/i18n/ is; removing former 2011-08-08 22:49:35 -05:00
Christopher Allan Webber
84f279649b We should pass ugettext instead of gettext into the jinja template env
Otherwise we might get UnicodeDecodeErrors :)
2011-08-08 22:32:28 -05:00
Christopher Allan Webber
df236d15c1 Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin 2011-08-08 22:27:51 -05:00
Christopher Allan Webber
956ba354c9 Once again compiling .po to .mo 2011-08-08 22:27:26 -05:00
Christopher Allan Webber
8951f822bf Actually I did *not* successfully check in our new languages (sr and sv); now fixed :) 2011-08-08 22:26:30 -05:00
Christopher Allan Webber
1bcf30faa9 Merge remote branch 'remotes/elrond/dev/mount_storage' 2011-08-08 20:12:27 -05:00
Joar Wandborg
2a233ae33f Feature 298 - Create environment tarball
Saving changes.
2011-08-09 03:09:42 +02:00
Christopher Allan Webber
4d989b5eaf Compiled the new Swedish translations.
I know Elrond wants 'no compiled crap in our repository'
but until I have a better solution...
2011-08-08 19:53:40 -05:00
Christopher Allan Webber
c65ea50fbd Swedish translations updated to 100% 2011-08-08 19:52:14 -05:00
Elrond
620fca5472 MountStorage: Improve mounting asserts
The asserts now differentiate between mounting on the same
path and mounting over a shorter path.
2011-08-08 21:51:11 +02:00
Elrond
255f02c486 MountStorage: Add docs. 2011-08-08 20:11:28 +02:00
Elrond
ff94b4ce38 Merge remote branch 'upstream/master' into dev/mount_storage
Conflicts:
	mediagoblin/storage.py
2011-08-08 20:00:57 +02:00
Christopher Allan Webber
4100798b86 New extracted strings from the templates! 2011-08-08 10:21:17 -05:00
Christopher Allan Webber
58b79b159e Just some indentation changes to the templates because I'm picky about such things :) 2011-08-08 10:19:21 -05:00
Christopher Allan Webber
03be33ab29 Merge remote branch 'remotes/osamak/master'
Conflicts:
	mediagoblin/templates/mediagoblin/user_pages/media.html
2011-08-08 09:47:10 -05:00
Christopher Allan Webber
dffbc4e099 Merge remote branch 'remotes/schendjes/master' 2011-08-08 09:44:00 -05:00
Caleb Forbes Davis V
d88e1d15c7 Bug #488 - email validation assumes active login
- loads username from user object instead of session to remove
  dependency on active login
2011-08-08 00:10:46 -05:00
Joar Wandborg
537afbb6db Merge branch 'master' of git://gitorious.org/mediagoblin/mediagoblin into f298_create_envball 2011-08-08 03:48:27 +02:00
Joar Wandborg
9188f3afe2 Feature #298 - Changed some defaults in gmg_commands.import_export 2011-08-08 03:47:17 +02:00
Osama Khalid
8f4c9b813d Adding {% trans %} to all fixed strings in the templates 2011-08-07 23:36:55 +03:00
Christopher Allan Webber
3965f0f5fa Correct version of the GNU MediaGoblin welcome string translated into German :) 2011-08-07 09:14:17 -05:00
Christopher Allan Webber
145922b8a4 Changed mediagoblin translations directory to the one we actually use. 2011-08-07 00:05:09 -05:00
Christopher Allan Webber
74a9c0eba5 MediaGoblin source translation, Transifex config file, German translation test :) 2011-08-06 23:57:49 -05:00