942 Commits

Author SHA1 Message Date
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
7bc2d2e313 New translations including Swedish at 100% (again! now with python strings) 2011-08-09 09:41:16 -05: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
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
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
Christopher Allan Webber
fbeeacd7ae Tools to extract translation from python files and templates
- Added pybabel script to entry points
 - Added babel.ini, which we'll use to extract stuff
2011-08-06 22:00:49 -05:00
Christopher Allan Webber
f40d79714a Merge remote branch 'remotes/jwandborg/f477_cloudfiles' 2011-08-04 22:16:49 -05:00
Joar Wandborg
aa797ca130 Feature #477 - Cloud Files public storage
*   mediagoblin.storage is now fully PEP-8 compliant.
*   mediagoblin.storage:BaseFileStorage precedes CloudFilesStorage
*   Removed all the cloudfiles-specific options from mediagoblin.ini, now it's in the wiki, http://wiki.mediagoblin.org/ConfigureMediaGoblin#Setting_up_Cloud_Files_public_storage
2011-08-04 14:49:12 +02:00
Joar Wandborg
851c51a354 Feature 477 - Support Cloud Files public storage
*   Added configuration options to mediagoblin.ini
*   process_media supports the python-cloudfiles
    almost-file-like objects by wrapping them in a
    contextlib.contextmanager-decorated func.
*   storage now has the CloudFilesStorage
*   New dependency added to setup.py; `python-cloudfiles`
2011-08-04 01:32:34 +02:00
Christopher Allan Webber
e69bb23b4c Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin 2011-08-03 18:01:17 -05:00
Christopher Allan Webber
5bb1f9b0ef Joar points out that these are "local" rather than "user" config
files, so changing .gitignore.

See http://wiki.mediagoblin.org/ConfigureMediaGoblin for details.
2011-08-03 18:01:00 -05:00
Elrond
eea315623f MountStorage: Better error reporting
Created a new resolver frontend function, that raises and
error, when no backend is found. Useful for all the
wrappers.
2011-08-03 23:13:58 +02:00
Elrond
926aec1473 MountStorage: drop u'' nonsense from mount method
My old resolver couldn't handle empty lists, so for the
mount resolving I appeneded a u'' as dummy element.
Not needed any more.
2011-08-03 23:11:42 +02:00
Jef van Schendel
aaa46f5a15 Sidebar changes: correct tags header to be <h3>, show action buttons header only to owner 2011-08-02 21:17:30 +02:00
Elrond
937e2c8811 MountStorage: Create all the wrappers
All those methods just call the appropiate method of the
relevant backend.
2011-08-01 23:50:39 +02:00
Elrond
93b2796c7e MountStorage: Some small fixups/changes.
1) A bit more assert.

2) Change __repr__ to use lists for the recursion parameter.
2011-08-01 23:50:39 +02:00
Elrond
68cf996c1d First start at MountStorage.
This includes the mounttab, a resolver and adding mount entries.
2011-08-01 23:50:39 +02:00
Will Kahn-Greene
4d74812dfc Removes .pyc files from mgext directory after building 2011-08-01 12:20:31 -04:00
Will Kahn-Greene
c7f0b6fab0 Updating version to 0.0.4. 2011-08-01 12:17:03 -04:00
Will Kahn-Greene
b7e57b1f76 Adds additional metadata to setup.py
* trove classifiers
* long description
* url and download_url
* ...
2011-08-01 12:13:02 -04:00
Will Kahn-Greene
21cdb64656 Updates documentation section in the README 2011-08-01 12:12:41 -04:00
Christopher Allan Webber
2542aa30c0 Make index page paginated 2011-08-01 10:49:05 -05:00
Christopher Allan Webber
db2b07eeb7 Make sure there's a break between the object gallery and its pagination. 2011-08-01 10:46:44 -05:00
Christopher Allan Webber
cd57611f95 Phrasing update: "own your data" -> "free your data from proprietary control" 2011-08-01 09:54:09 -05:00
Christopher Allan Webber
0419d0da24 get_test_app() should turn on testing buckets 2011-08-01 09:11:14 -05:00
Christopher Allan Webber
a656ccd561 Updating tests to reflect we redirect to the user's page after verification now. 2011-08-01 08:34:50 -05:00
Will Kahn-Greene
65e7ce634c Moves hacking howto and design decisions docs to wiki 2011-07-31 23:07:13 -04:00
Christopher Allan Webber
f9372f6c8b "needs verification"->"verify your email"
willkg says "needs verification" isn't a verb, so it's a weird link.
Good point.
2011-07-31 21:33:01 -05:00
Christopher Allan Webber
b855b010d0 user pages atom feed not enclosed properly in div, fixing. 2011-07-31 21:24:54 -05:00
Christopher Allan Webber
1a89706872 Added tags atom feed and linked it in the appropriate places 2011-07-31 21:24:33 -05:00
Christopher Allan Webber
a5303e4791 For no good reason, I feel like 15 is a good number of default feed items. 2011-07-31 21:05:35 -05:00