Caleb Forbes Davis V [Thu, 11 Aug 2011 15:15:30 +0000 (10:15 -0500)]
eliminates textarea handling since rows cols not required in HTML5
Caleb Forbes Davis V [Thu, 11 Aug 2011 05:50:16 +0000 (00:50 -0500)]
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
Christopher Allan Webber [Thu, 11 Aug 2011 02:03:16 +0000 (21:03 -0500)]
Generate the ObjectId() manually instead of via .save()
Christopher Allan Webber [Wed, 10 Aug 2011 23:31:29 +0000 (18:31 -0500)]
Updating translations
Christopher Allan Webber [Wed, 10 Aug 2011 18:07:09 +0000 (13:07 -0500)]
Updating translations
Christopher Allan Webber [Wed, 10 Aug 2011 17:44:58 +0000 (12:44 -0500)]
Minor change to indentation
Christopher Allan Webber [Wed, 10 Aug 2011 17:28:42 +0000 (12:28 -0500)]
Ooops! We should do a fake ugettext passthrough here also.
Christopher Allan Webber [Wed, 10 Aug 2011 17:08:14 +0000 (12:08 -0500)]
Removing a tab. This is a tab-free zone!
Christopher Allan Webber [Wed, 10 Aug 2011 17:07:59 +0000 (12:07 -0500)]
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 :)
Christopher Allan Webber [Wed, 10 Aug 2011 15:51:44 +0000 (10:51 -0500)]
Merge branch 'mergeme'
Christopher Allan Webber [Wed, 10 Aug 2011 15:50:42 +0000 (10:50 -0500)]
Make it so that form fields and descriptions are actually translated
Christopher Allan Webber [Wed, 10 Aug 2011 15:48:02 +0000 (10:48 -0500)]
Utilities to lazily translate strings and also fake a translation for extraction
Christopher Allan Webber [Tue, 9 Aug 2011 15:12:05 +0000 (10:12 -0500)]
Joar updating a typo in the Swedish translations :)
Christopher Allan Webber [Tue, 9 Aug 2011 14:48:06 +0000 (09:48 -0500)]
Compiling the translations files again
Christopher Allan Webber [Tue, 9 Aug 2011 14:41:16 +0000 (09:41 -0500)]
New translations including Swedish at 100% (again! now with python strings)
Christopher Allan Webber [Tue, 9 Aug 2011 03:56:16 +0000 (22:56 -0500)]
Extracted translatable strings from python files.
Christopher Allan Webber [Tue, 9 Aug 2011 03:53:39 +0000 (22:53 -0500)]
Marked relevant strings in python views/forms for translation via ugettext
Christopher Allan Webber [Tue, 9 Aug 2011 03:51:03 +0000 (22:51 -0500)]
Provide a pass_to_ugettext method and set up gettext to default to English.
Christopher Allan Webber [Tue, 9 Aug 2011 03:49:35 +0000 (22:49 -0500)]
mediagoblin/translations/ directory not used, mediagoblin/i18n/ is; removing former
Christopher Allan Webber [Tue, 9 Aug 2011 03:32:28 +0000 (22:32 -0500)]
We should pass ugettext instead of gettext into the jinja template env
Otherwise we might get UnicodeDecodeErrors :)
Christopher Allan Webber [Tue, 9 Aug 2011 03:27:51 +0000 (22:27 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Tue, 9 Aug 2011 03:27:26 +0000 (22:27 -0500)]
Once again compiling .po to .mo
Christopher Allan Webber [Tue, 9 Aug 2011 03:26:30 +0000 (22:26 -0500)]
Actually I did *not* successfully check in our new languages (sr and sv); now fixed :)
Christopher Allan Webber [Tue, 9 Aug 2011 01:12:27 +0000 (20:12 -0500)]
Merge remote branch 'remotes/elrond/dev/mount_storage'
Christopher Allan Webber [Tue, 9 Aug 2011 00:53:40 +0000 (19:53 -0500)]
Compiled the new Swedish translations.
I know Elrond wants 'no compiled crap in our repository'
but until I have a better solution...
Christopher Allan Webber [Tue, 9 Aug 2011 00:52:14 +0000 (19:52 -0500)]
Swedish translations updated to 100%
Elrond [Mon, 8 Aug 2011 19:51:11 +0000 (21:51 +0200)]
MountStorage: Improve mounting asserts
The asserts now differentiate between mounting on the same
path and mounting over a shorter path.
Elrond [Mon, 8 Aug 2011 18:11:28 +0000 (20:11 +0200)]
MountStorage: Add docs.
Elrond [Mon, 8 Aug 2011 18:00:57 +0000 (20:00 +0200)]
Merge remote branch 'upstream/master' into dev/mount_storage
Conflicts:
mediagoblin/storage.py
Christopher Allan Webber [Mon, 8 Aug 2011 15:21:17 +0000 (10:21 -0500)]
New extracted strings from the templates!
Christopher Allan Webber [Mon, 8 Aug 2011 15:19:21 +0000 (10:19 -0500)]
Just some indentation changes to the templates because I'm picky about such things :)
Christopher Allan Webber [Mon, 8 Aug 2011 14:47:10 +0000 (09:47 -0500)]
Merge remote branch 'remotes/osamak/master'
Conflicts:
mediagoblin/templates/mediagoblin/user_pages/media.html
Christopher Allan Webber [Mon, 8 Aug 2011 14:44:00 +0000 (09:44 -0500)]
Merge remote branch 'remotes/schendjes/master'
Osama Khalid [Sun, 7 Aug 2011 20:36:55 +0000 (23:36 +0300)]
Adding {% trans %} to all fixed strings in the templates
Christopher Allan Webber [Sun, 7 Aug 2011 14:14:17 +0000 (09:14 -0500)]
Correct version of the GNU MediaGoblin welcome string translated into German :)
Christopher Allan Webber [Sun, 7 Aug 2011 05:05:09 +0000 (00:05 -0500)]
Changed mediagoblin translations directory to the one we actually use.
Christopher Allan Webber [Sun, 7 Aug 2011 04:53:34 +0000 (23:53 -0500)]
MediaGoblin source translation, Transifex config file, German translation test :)
Christopher Allan Webber [Sun, 7 Aug 2011 03:00:49 +0000 (22:00 -0500)]
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
Christopher Allan Webber [Fri, 5 Aug 2011 03:16:49 +0000 (22:16 -0500)]
Merge remote branch 'remotes/jwandborg/f477_cloudfiles'
Joar Wandborg [Thu, 4 Aug 2011 12:49:12 +0000 (14:49 +0200)]
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
Joar Wandborg [Wed, 3 Aug 2011 23:32:34 +0000 (01:32 +0200)]
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`
Christopher Allan Webber [Wed, 3 Aug 2011 23:01:17 +0000 (18:01 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Wed, 3 Aug 2011 23:01:00 +0000 (18:01 -0500)]
Joar points out that these are "local" rather than "user" config
files, so changing .gitignore.
See http://wiki.mediagoblin.org/ConfigureMediaGoblin for details.
Elrond [Wed, 3 Aug 2011 21:13:58 +0000 (23:13 +0200)]
MountStorage: Better error reporting
Created a new resolver frontend function, that raises and
error, when no backend is found. Useful for all the
wrappers.
Elrond [Wed, 3 Aug 2011 21:11:42 +0000 (23:11 +0200)]
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.
Jef van Schendel [Tue, 2 Aug 2011 19:17:30 +0000 (21:17 +0200)]
Sidebar changes: correct tags header to be <h3>, show action buttons header only to owner
Elrond [Sat, 23 Jul 2011 13:29:22 +0000 (15:29 +0200)]
MountStorage: Create all the wrappers
All those methods just call the appropiate method of the
relevant backend.
Elrond [Sat, 23 Jul 2011 13:27:02 +0000 (15:27 +0200)]
MountStorage: Some small fixups/changes.
1) A bit more assert.
2) Change __repr__ to use lists for the recursion parameter.
Elrond [Mon, 18 Jul 2011 12:07:03 +0000 (14:07 +0200)]
First start at MountStorage.
This includes the mounttab, a resolver and adding mount entries.
Will Kahn-Greene [Mon, 1 Aug 2011 16:20:31 +0000 (12:20 -0400)]
Removes .pyc files from mgext directory after building
Will Kahn-Greene [Mon, 1 Aug 2011 16:17:03 +0000 (12:17 -0400)]
Updating version to 0.0.4.
Will Kahn-Greene [Mon, 1 Aug 2011 16:13:02 +0000 (12:13 -0400)]
Adds additional metadata to setup.py
* trove classifiers
* long description
* url and download_url
* ...
Will Kahn-Greene [Mon, 1 Aug 2011 16:12:41 +0000 (12:12 -0400)]
Updates documentation section in the README
Christopher Allan Webber [Mon, 1 Aug 2011 15:49:05 +0000 (10:49 -0500)]
Make index page paginated
Christopher Allan Webber [Mon, 1 Aug 2011 15:46:44 +0000 (10:46 -0500)]
Make sure there's a break between the object gallery and its pagination.
Christopher Allan Webber [Mon, 1 Aug 2011 14:54:09 +0000 (09:54 -0500)]
Phrasing update: "own your data" -> "free your data from proprietary control"
Christopher Allan Webber [Mon, 1 Aug 2011 14:11:14 +0000 (09:11 -0500)]
get_test_app() should turn on testing buckets
Christopher Allan Webber [Mon, 1 Aug 2011 13:34:50 +0000 (08:34 -0500)]
Updating tests to reflect we redirect to the user's page after verification now.
Will Kahn-Greene [Mon, 1 Aug 2011 03:07:13 +0000 (23:07 -0400)]
Moves hacking howto and design decisions docs to wiki
Christopher Allan Webber [Mon, 1 Aug 2011 02:33:01 +0000 (21:33 -0500)]
"needs verification"->"verify your email"
willkg says "needs verification" isn't a verb, so it's a weird link.
Good point.
Christopher Allan Webber [Mon, 1 Aug 2011 02:24:54 +0000 (21:24 -0500)]
user pages atom feed not enclosed properly in div, fixing.
Christopher Allan Webber [Mon, 1 Aug 2011 02:24:33 +0000 (21:24 -0500)]
Added tags atom feed and linked it in the appropriate places
Christopher Allan Webber [Mon, 1 Aug 2011 02:05:35 +0000 (21:05 -0500)]
For no good reason, I feel like 15 is a good number of default feed items.
Christopher Allan Webber [Mon, 1 Aug 2011 01:54:21 +0000 (20:54 -0500)]
Align image in media detail to center
Christopher Allan Webber [Mon, 1 Aug 2011 01:53:29 +0000 (20:53 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Mon, 1 Aug 2011 01:48:13 +0000 (20:48 -0500)]
Updated media detail view to linkify the tags. Adjusted tag link styling.
Christopher Allan Webber [Mon, 1 Aug 2011 01:45:49 +0000 (20:45 -0500)]
Added tag listing views.
Also added routing, added templates, etc.
Will Kahn-Greene [Mon, 1 Aug 2011 01:03:01 +0000 (21:03 -0400)]
Adds release-related bits; fixes arg handling
* fixes arg handling
* adds -h support
* builds html and texinfo docs and puts them in the right place
* puts the resulting tarball and any work done in a tmp/ directory
* fixes messages so it tells you what it's doing
Will Kahn-Greene [Sun, 31 Jul 2011 21:54:54 +0000 (17:54 -0400)]
Moves docs files around so we build from source/ directory
Will Kahn-Greene [Sun, 31 Jul 2011 21:09:09 +0000 (17:09 -0400)]
270. Adds symlinks for 960.gs stuff
Christopher Allan Webber [Sun, 31 Jul 2011 20:51:55 +0000 (15:51 -0500)]
Renaming "StatusNet" -> MediaGoblin in the extlib policy
Christopher Allan Webber [Sun, 31 Jul 2011 20:50:25 +0000 (15:50 -0500)]
Merge remote branch 'remotes/willkg/459_lgpl'
Christopher Allan Webber [Sun, 31 Jul 2011 20:22:54 +0000 (15:22 -0500)]
Show the message about nothing exiting either if media_entries object not there or empty
Christopher Allan Webber [Sun, 31 Jul 2011 20:09:52 +0000 (15:09 -0500)]
We should redirect after verify_email to the user's homepage
Christopher Allan Webber [Sun, 31 Jul 2011 20:07:43 +0000 (15:07 -0500)]
Give a more usful message if no media is available.
Christopher Allan Webber [Sun, 31 Jul 2011 20:00:42 +0000 (15:00 -0500)]
Add a clear div between the object gallery and the "user's media" / atom feed
Christopher Allan Webber [Sun, 31 Jul 2011 03:15:54 +0000 (22:15 -0500)]
Updating tests to reflect not having a 'tags_case_sensitive' option.
I should probably update the tags of things when I change them.
Christopher Allan Webber [Sun, 31 Jul 2011 02:54:18 +0000 (21:54 -0500)]
Removing option to make tags lowercase
...that's basically handled by the slugification
Christopher Allan Webber [Sun, 31 Jul 2011 02:51:15 +0000 (21:51 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Sun, 31 Jul 2011 02:45:11 +0000 (21:45 -0500)]
tags field should be last on the submission form
Christopher Allan Webber [Sun, 31 Jul 2011 02:44:36 +0000 (21:44 -0500)]
TOO_LONG_TAG_WARNING isn't needed in this module
Will Kahn-Greene [Sun, 31 Jul 2011 02:27:46 +0000 (22:27 -0400)]
270. Moves 960.gs stuff to extlib/ per policy
This adds the README.txt from the tarball for 960.gs and also moves the
files and fixes the symlinks.
Will Kahn-Greene [Sat, 30 Jul 2011 23:52:19 +0000 (19:52 -0400)]
270, 459. extlib policy, JS -> lgpl, ...
* adds README to extlib/
* changes javascript to lgpl
* also fixes the agplv3 text so that it says "agplv3 or later"
* moves license files into licenses/
* adds lgplv3 license
Will Kahn-Greene [Sat, 30 Jul 2011 20:25:44 +0000 (16:25 -0400)]
460. Adds texinfo output bits
Building texinfo version of the manual only works with Sphinx from hg
tip at present.
Also, there are some minor issues and someone should go through the
manual and read it to make sure there aren't issues.
Christopher Allan Webber [Sat, 30 Jul 2011 18:37:33 +0000 (13:37 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/f360_tagging' into mergetags
Conflicts:
mediagoblin/tests/test_submission.py
Christopher Allan Webber [Sat, 30 Jul 2011 18:09:01 +0000 (13:09 -0500)]
Merge branch 'remotes/gullydwarf-cfdv/f360_tagging' (early part) into mergetags
Conflicts:
mediagoblin/config_spec.ini
mediagoblin/edit/views.py
mediagoblin/util.py
Christopher Allan Webber [Sat, 30 Jul 2011 17:33:57 +0000 (12:33 -0500)]
Let users know when their migrations are from the future :O
Will Kahn-Greene [Wed, 27 Jul 2011 23:21:21 +0000 (16:21 -0700)]
Tweaks import lines switching \ for ( ).
Will Kahn-Greene [Wed, 27 Jul 2011 23:16:05 +0000 (16:16 -0700)]
Adds license header
Will Kahn-Greene [Wed, 27 Jul 2011 22:38:47 +0000 (15:38 -0700)]
Moves destroy_environment to wipealldata command
Will Kahn-Greene [Wed, 27 Jul 2011 22:20:07 +0000 (15:20 -0700)]
Adds license/copyright header to maketarball.sh
Will Kahn-Greene [Wed, 27 Jul 2011 22:19:51 +0000 (15:19 -0700)]
Cosmetic. Tweaks spacing.
Will Kahn-Greene [Wed, 27 Jul 2011 22:16:42 +0000 (15:16 -0700)]
Tweaks maketarball.sh
This tweaks maketarball.sh so that it takes a -d argument which adds
the date to the filename and parent directory.
Also, this changes maketarball.sh so it requires a rev-ish--no more
"by default, grabs master".
Will Kahn-Greene [Wed, 27 Jul 2011 22:02:30 +0000 (15:02 -0700)]
Minor tweaks to README.
Caleb Forbes Davis V [Fri, 29 Jul 2011 18:56:40 +0000 (13:56 -0500)]
Adds tag unit testing
- overrides default tag parsing globals in test_mgoblin_app.ini
- piggybacks on existing test_submission code to check correct tag
parsing and storage in the database
- verifies expected behavior given different delimiters, case
sensitivities, tags that are too long, and extra whitespace
- verifies list-of-dict database storage and tag slugification
Christopher Allan Webber [Fri, 29 Jul 2011 13:44:47 +0000 (08:44 -0500)]
Remove this superfluous "registration successful" message
Christopher Allan Webber [Fri, 29 Jul 2011 13:43:59 +0000 (08:43 -0500)]
Log in user after regitration
Christopher Allan Webber [Fri, 29 Jul 2011 13:36:35 +0000 (08:36 -0500)]
Adding spaces after the colon in our CSS file.
Discussed this style change with Jef van Schendel and got his buy-in ;)
Christopher Allan Webber [Fri, 29 Jul 2011 13:27:32 +0000 (08:27 -0500)]
Don't need the register success template anymore
Christopher Allan Webber [Fri, 29 Jul 2011 13:25:32 +0000 (08:25 -0500)]
Fixing an indentation issue on the login button