mediagoblin.git
13 years agoMissing multi=True closing this migration, oops :)
Christopher Allan Webber [Fri, 12 Aug 2011 18:14:35 +0000 (13:14 -0500)]
Missing multi=True closing this migration, oops :)

13 years agoMerge branch 'master' into processing
Christopher Allan Webber [Fri, 12 Aug 2011 03:54:11 +0000 (22:54 -0500)]
Merge branch 'master' into processing

Conflicts:
mediagoblin/db/migrations.py

13 years agoPEP-8ing the keyword argument passing here
Christopher Allan Webber [Fri, 12 Aug 2011 03:44:47 +0000 (22:44 -0500)]
PEP-8ing the keyword argument passing here

13 years agoMerge remote branch 'remotes/gullydwarf-cfdv/b488_email_validation_assumes_active_login'
Christopher Allan Webber [Fri, 12 Aug 2011 03:44:21 +0000 (22:44 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/b488_email_validation_assumes_active_login'

13 years agoMerge remote branch 'remotes/gullydwarf-cfdv/b372_rmdbfield_thumbnail_file'
Christopher Allan Webber [Fri, 12 Aug 2011 02:31:48 +0000 (21:31 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/b372_rmdbfield_thumbnail_file'

13 years agoIf both the username and the email checks fail, warn about both at the same time
Christopher Allan Webber [Fri, 12 Aug 2011 01:37:21 +0000 (20:37 -0500)]
If both the username and the email checks fail, warn about both at the same time

13 years agoAlso normalize user's emails to .lower() when we accept the user.
Christopher Allan Webber [Fri, 12 Aug 2011 01:34:12 +0000 (20:34 -0500)]
Also normalize user's emails to .lower() when we accept the user.

13 years agoChecks if the email(lowercase) have been used before to register a user
Alejandro Villanueva [Tue, 14 Jun 2011 16:03:56 +0000 (11:03 -0500)]
Checks if the email(lowercase) have been used before to register a user

13 years agoMaking the users_with_username function call in the register view slightly cleaner
Christopher Allan Webber [Fri, 12 Aug 2011 01:15:55 +0000 (20:15 -0500)]
Making the users_with_username function call in the register view slightly cleaner

13 years agoMerge remote branch 'remotes/gullydwarf-cfdv/f446_use_render_divs_once_per_form'
Christopher Allan Webber [Fri, 12 Aug 2011 01:06:39 +0000 (20:06 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/f446_use_render_divs_once_per_form'

13 years agouses render_divs for the comments form in media.html for completeness
Caleb Forbes Davis V [Fri, 12 Aug 2011 00:17:56 +0000 (19:17 -0500)]
uses render_divs for the comments form in media.html for completeness

13 years agoMoving things around a bit/commenting in the submit view to make the workflow clearer
Christopher Allan Webber [Thu, 11 Aug 2011 16:30:26 +0000 (11:30 -0500)]
Moving things around a bit/commenting in the submit view to make the workflow clearer

13 years agoAdding slightly clearer docs to MountStorage.
Christopher Allan Webber [Thu, 11 Aug 2011 16:29:14 +0000 (11:29 -0500)]
Adding slightly clearer docs to MountStorage.

13 years agoeliminates textarea handling since rows cols not required in HTML5
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

13 years agoFeature #446 - Render the submission form using the render_divs macro
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

13 years agoMerge branch 'master' into processing
Christopher Allan Webber [Thu, 11 Aug 2011 02:04:55 +0000 (21:04 -0500)]
Merge branch 'master' into processing

13 years agoGenerate the ObjectId() manually instead of via .save()
Christopher Allan Webber [Thu, 11 Aug 2011 02:03:16 +0000 (21:03 -0500)]
Generate the ObjectId() manually instead of via .save()

13 years agoWe should save the entry *after* we add the queued_task_id.
Christopher Allan Webber [Thu, 11 Aug 2011 01:26:22 +0000 (20:26 -0500)]
We should save the entry *after* we add the queued_task_id.

13 years agoMerge branch 'master' into processing
Christopher Allan Webber [Thu, 11 Aug 2011 00:53:37 +0000 (19:53 -0500)]
Merge branch 'master' into processing

13 years agoUpdating translations
Christopher Allan Webber [Wed, 10 Aug 2011 23:31:29 +0000 (18:31 -0500)]
Updating translations

13 years agoUpdating translations
Christopher Allan Webber [Wed, 10 Aug 2011 18:07:09 +0000 (13:07 -0500)]
Updating translations

13 years agoBug #372 - MediaEntry.thumbnail_file not used
Caleb Forbes Davis V [Wed, 10 Aug 2011 17:48:23 +0000 (12:48 -0500)]
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

13 years agoMinor change to indentation
Christopher Allan Webber [Wed, 10 Aug 2011 17:44:58 +0000 (12:44 -0500)]
Minor change to indentation

13 years agoOoops! We should do a fake ugettext passthrough here also.
Christopher Allan Webber [Wed, 10 Aug 2011 17:28:42 +0000 (12:28 -0500)]
Ooops!  We should do a fake ugettext passthrough here also.

13 years agoRemoving a tab. This is a tab-free zone!
Christopher Allan Webber [Wed, 10 Aug 2011 17:08:14 +0000 (12:08 -0500)]
Removing a tab.  This is a tab-free zone!

13 years agoConverting all forms to use the "fake/null" gettext conversion function
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 :)

13 years agoMerge branch 'mergeme'
Christopher Allan Webber [Wed, 10 Aug 2011 15:51:44 +0000 (10:51 -0500)]
Merge branch 'mergeme'

13 years agoMake it so that form fields and descriptions are actually translated
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

13 years agoUtilities to lazily translate strings and also fake a translation for extraction
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

13 years agoJoar updating a typo in the Swedish translations :)
Christopher Allan Webber [Tue, 9 Aug 2011 15:12:05 +0000 (10:12 -0500)]
Joar updating a typo in the Swedish translations :)

13 years agoCompiling the translations files again
Christopher Allan Webber [Tue, 9 Aug 2011 14:48:06 +0000 (09:48 -0500)]
Compiling the translations files again

13 years agoNew translations including Swedish at 100% (again! now with python strings)
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)

13 years agoExtracted translatable strings from python files.
Christopher Allan Webber [Tue, 9 Aug 2011 03:56:16 +0000 (22:56 -0500)]
Extracted translatable strings from python files.

13 years agoMarked relevant strings in python views/forms for translation via ugettext
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

13 years agoProvide a pass_to_ugettext method and set up gettext to default to English.
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.

13 years agomediagoblin/translations/ directory not used, mediagoblin/i18n/ is; removing former
Christopher Allan Webber [Tue, 9 Aug 2011 03:49:35 +0000 (22:49 -0500)]
mediagoblin/translations/ directory not used, mediagoblin/i18n/ is; removing former

13 years agoWe should pass ugettext instead of gettext into the jinja template env
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 :)

13 years agoMerge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Tue, 9 Aug 2011 03:27:51 +0000 (22:27 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin

13 years agoOnce again compiling .po to .mo
Christopher Allan Webber [Tue, 9 Aug 2011 03:27:26 +0000 (22:27 -0500)]
Once again compiling .po to .mo

13 years agoActually I did *not* successfully check in our new languages (sr and sv); now fixed :)
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 :)

13 years agoMerge remote branch 'remotes/elrond/dev/mount_storage'
Christopher Allan Webber [Tue, 9 Aug 2011 01:12:27 +0000 (20:12 -0500)]
Merge remote branch 'remotes/elrond/dev/mount_storage'

13 years agoCompiled the new Swedish translations.
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...

13 years agoSwedish translations updated to 100%
Christopher Allan Webber [Tue, 9 Aug 2011 00:52:14 +0000 (19:52 -0500)]
Swedish translations updated to 100%

13 years agoMountStorage: Improve mounting asserts
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.

13 years agoMountStorage: Add docs.
Elrond [Mon, 8 Aug 2011 18:11:28 +0000 (20:11 +0200)]
MountStorage: Add docs.

13 years agoMerge remote branch 'upstream/master' into dev/mount_storage
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

13 years agoNew extracted strings from the templates!
Christopher Allan Webber [Mon, 8 Aug 2011 15:21:17 +0000 (10:21 -0500)]
New extracted strings from the templates!

13 years agoJust some indentation changes to the templates because I'm picky about such things :)
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 :)

13 years agoMerge remote branch 'remotes/osamak/master'
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

13 years agoMerge remote branch 'remotes/schendjes/master'
Christopher Allan Webber [Mon, 8 Aug 2011 14:44:00 +0000 (09:44 -0500)]
Merge remote branch 'remotes/schendjes/master'

13 years agoBug #488 - email validation assumes active login
Caleb Forbes Davis V [Mon, 8 Aug 2011 05:10:46 +0000 (00:10 -0500)]
Bug #488 - email validation assumes active login

- loads username from user object instead of session to remove
  dependency on active login

13 years agoAdding {% trans %} to all fixed strings in the templates
Osama Khalid [Sun, 7 Aug 2011 20:36:55 +0000 (23:36 +0300)]
Adding {% trans %} to all fixed strings in the templates

13 years agoCorrect version of the GNU MediaGoblin welcome string translated into German :)
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 :)

13 years agoChanged mediagoblin translations directory to the one we actually use.
Christopher Allan Webber [Sun, 7 Aug 2011 05:05:09 +0000 (00:05 -0500)]
Changed mediagoblin translations directory to the one we actually use.

13 years agoMediaGoblin source translation, Transifex config file, German translation test :)
Christopher Allan Webber [Sun, 7 Aug 2011 04:53:34 +0000 (23:53 -0500)]
MediaGoblin source translation, Transifex config file, German translation test :)

13 years agoTools to extract translation from python files and templates
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

13 years agoMerge remote branch 'remotes/jwandborg/f477_cloudfiles'
Christopher Allan Webber [Fri, 5 Aug 2011 03:16:49 +0000 (22:16 -0500)]
Merge remote branch 'remotes/jwandborg/f477_cloudfiles'

13 years agoFeature #477 - Cloud Files public storage
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

13 years agoFeature 477 - Support 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`

13 years agoMerge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Wed, 3 Aug 2011 23:01:17 +0000 (18:01 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin

13 years agoJoar points out that these are "local" rather than "user" config
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.

13 years agoMountStorage: Better error reporting
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.

13 years agoMountStorage: drop u'' nonsense from mount method
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.

13 years agoSidebar changes: correct tags header to be <h3>, show action buttons header only...
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

13 years agoMountStorage: Create all the wrappers
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.

13 years agoMountStorage: Some small fixups/changes.
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.

13 years agoFirst start at MountStorage.
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.

13 years agoRemoves .pyc files from mgext directory after building
Will Kahn-Greene [Mon, 1 Aug 2011 16:20:31 +0000 (12:20 -0400)]
Removes .pyc files from mgext directory after building

13 years agoUpdating version to 0.0.4.
Will Kahn-Greene [Mon, 1 Aug 2011 16:17:03 +0000 (12:17 -0400)]
Updating version to 0.0.4.

13 years agoAdds additional metadata to setup.py
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
* ...

13 years agoUpdates documentation section in the README
Will Kahn-Greene [Mon, 1 Aug 2011 16:12:41 +0000 (12:12 -0400)]
Updates documentation section in the README

13 years agoMake index page paginated
Christopher Allan Webber [Mon, 1 Aug 2011 15:49:05 +0000 (10:49 -0500)]
Make index page paginated

13 years agoMake sure there's a break between the object gallery and its pagination.
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.

13 years agoPhrasing update: "own your data" -> "free your data from proprietary control"
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"

13 years agoget_test_app() should turn on testing buckets
Christopher Allan Webber [Mon, 1 Aug 2011 14:11:14 +0000 (09:11 -0500)]
get_test_app() should turn on testing buckets

13 years agoUpdating tests to reflect we redirect to the user's page after verification now.
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.

13 years agoMoves hacking howto and design decisions docs to wiki
Will Kahn-Greene [Mon, 1 Aug 2011 03:07:13 +0000 (23:07 -0400)]
Moves hacking howto and design decisions docs to wiki

13 years ago"needs verification"->"verify your email"
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.

13 years agouser pages atom feed not enclosed properly in div, fixing.
Christopher Allan Webber [Mon, 1 Aug 2011 02:24:54 +0000 (21:24 -0500)]
user pages atom feed not enclosed properly in div, fixing.

13 years agoAdded tags atom feed and linked it in the appropriate places
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

13 years agoFor no good reason, I feel like 15 is a good number of default feed items.
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.

13 years agoAlign image in media detail to center
Christopher Allan Webber [Mon, 1 Aug 2011 01:54:21 +0000 (20:54 -0500)]
Align image in media detail to center

13 years agoMerge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Mon, 1 Aug 2011 01:53:29 +0000 (20:53 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin

13 years agoUpdated media detail view to linkify the tags. Adjusted tag link styling.
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.

13 years agoAdded tag listing views.
Christopher Allan Webber [Mon, 1 Aug 2011 01:45:49 +0000 (20:45 -0500)]
Added tag listing views.

Also added routing, added templates, etc.

13 years agoAdds release-related bits; fixes arg handling
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

13 years agoMoves docs files around so we build from source/ directory
Will Kahn-Greene [Sun, 31 Jul 2011 21:54:54 +0000 (17:54 -0400)]
Moves docs files around so we build from source/ directory

13 years ago270. Adds symlinks for 960.gs stuff
Will Kahn-Greene [Sun, 31 Jul 2011 21:09:09 +0000 (17:09 -0400)]
270. Adds symlinks for 960.gs stuff

13 years agoRenaming "StatusNet" -> MediaGoblin in the extlib policy
Christopher Allan Webber [Sun, 31 Jul 2011 20:51:55 +0000 (15:51 -0500)]
Renaming "StatusNet" -> MediaGoblin in the extlib policy

13 years agoMerge remote branch 'remotes/willkg/459_lgpl'
Christopher Allan Webber [Sun, 31 Jul 2011 20:50:25 +0000 (15:50 -0500)]
Merge remote branch 'remotes/willkg/459_lgpl'

13 years agoShow the message about nothing exiting either if media_entries object not there or...
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

13 years agoWe should redirect after verify_email to the user's homepage
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

13 years agoGive a more usful message if no media is available.
Christopher Allan Webber [Sun, 31 Jul 2011 20:07:43 +0000 (15:07 -0500)]
Give a more usful message if no media is available.

13 years agoAdd a clear div between the object gallery and the "user's media" / atom feed
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

13 years agoUpdating tests to reflect not having a 'tags_case_sensitive' option.
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.

13 years agoRemoving option to make tags lowercase
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

13 years agoMerge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Sun, 31 Jul 2011 02:51:15 +0000 (21:51 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin

13 years agotags field should be last on the submission form
Christopher Allan Webber [Sun, 31 Jul 2011 02:45:11 +0000 (21:45 -0500)]
tags field should be last on the submission form

13 years agoTOO_LONG_TAG_WARNING isn't needed in this module
Christopher Allan Webber [Sun, 31 Jul 2011 02:44:36 +0000 (21:44 -0500)]
TOO_LONG_TAG_WARNING isn't needed in this module

13 years ago270. Moves 960.gs stuff to extlib/ per policy
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.