mediagoblin.git
13 years agoSwitch "atom feed" to "Atom feed" and made the icons and text separate links
Christopher Allan Webber [Fri, 19 Aug 2011 00:57:24 +0000 (19:57 -0500)]
Switch "atom feed" to "Atom feed" and made the icons and text separate links

Before doing the latter there was an ugly underline spanning the icon
and the text.

13 years agoFrom Jef van Schendel: "here's a spot to tell others about yourself"
Christopher Allan Webber [Fri, 19 Aug 2011 00:17:14 +0000 (19:17 -0500)]
From Jef van Schendel: "here's a spot to tell others about yourself"

This should display if the user is logged in and they don't have anything in their profile yet.

13 years agoAdded empty_space class for user profile placeholders
Jef van Schendel [Thu, 18 Aug 2011 16:17:53 +0000 (18:17 +0200)]
Added empty_space class for user profile placeholders

13 years agoFix text sizes (use relative values), remove some unnecessary text sizes, add some...
Jef van Schendel [Thu, 18 Aug 2011 15:29:38 +0000 (17:29 +0200)]
Fix text sizes (use relative values), remove some unnecessary text sizes, add some spaces here and there

13 years agoReplace the Feed icon with a transparent one, put it next to the [atom feed] links
Jef van Schendel [Thu, 18 Aug 2011 13:53:52 +0000 (15:53 +0200)]
Replace the Feed icon with a transparent one, put it next to the [atom feed] links

13 years agoNo longer center small images
Jef van Schendel [Thu, 18 Aug 2011 13:26:00 +0000 (15:26 +0200)]
No longer center small images

13 years agoRemove space at end of MediaGoblin logo link
Jef van Schendel [Thu, 18 Aug 2011 13:22:40 +0000 (15:22 +0200)]
Remove space at end of MediaGoblin logo link

13 years agoWhole bunch of changes to base.css
Jef van Schendel [Thu, 18 Aug 2011 13:18:54 +0000 (15:18 +0200)]
Whole bunch of changes to base.css

13 years agoRemoved temporary logo image, replaced it with text for now
Jef van Schendel [Tue, 16 Aug 2011 21:32:38 +0000 (23:32 +0200)]
Removed temporary logo image, replaced it with text for now

13 years agoSmall changes to media.html: changed order of uploader/date and description, added...
Jef van Schendel [Tue, 16 Aug 2011 21:24:07 +0000 (23:24 +0200)]
Small changes to media.html: changed order of uploader/date and description, added css classes

13 years agoPulled down latest translations
Christopher Allan Webber [Tue, 16 Aug 2011 13:38:36 +0000 (08:38 -0500)]
Pulled down latest translations

13 years agoPulled down latest translations
Christopher Allan Webber [Tue, 16 Aug 2011 13:18:38 +0000 (08:18 -0500)]
Pulled down latest translations

13 years agoConverting object_gallery() from a block to a macro and updating usages of it
Christopher Allan Webber [Fri, 12 Aug 2011 14:55:50 +0000 (09:55 -0500)]
Converting object_gallery() from a block to a macro and updating usages of it

The main motivation here is that this lets us pass in a specific number of col_number

13 years agoadds feature #458 -- given a column number, limits the number of items in a row ...
Karen Rustad [Wed, 3 Aug 2011 01:01:02 +0000 (18:01 -0700)]
adds feature #458 -- given a column number, limits the number of items in a row (and adds divs saying so). No CSS styling to make these demarcations visible, though

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 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 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 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