Christopher Allan Webber [Sat, 20 Aug 2011 21:34:06 +0000 (16:34 -0500)]
Changing the welcome text based on IRC conversations and marking for translation.
Christopher Allan Webber [Sat, 20 Aug 2011 20:57:24 +0000 (15:57 -0500)]
Use render_404 EVERYWHERE!
Christopher Allan Webber [Sat, 20 Aug 2011 20:55:34 +0000 (15:55 -0500)]
Tacking on an empty matchdict when 404'ing just in case a template expects it
Christopher Allan Webber [Sat, 20 Aug 2011 20:55:08 +0000 (15:55 -0500)]
Adding and making use of the new 404 error page :)
Christopher Allan Webber [Sat, 20 Aug 2011 20:43:58 +0000 (15:43 -0500)]
Allow a user to pass in a status to render_to_response
Christopher Allan Webber [Sat, 20 Aug 2011 20:11:05 +0000 (15:11 -0500)]
Merge remote branch 'remotes/schendje/master'
Christopher Allan Webber [Sat, 20 Aug 2011 20:00:25 +0000 (15:00 -0500)]
Change the ordering of the app's __call__ method (attach things to request first)
This will make it easier for us to call something like a 404 page rendering method
before the matching check is done.
Jef van Schendel [Sat, 20 Aug 2011 19:59:40 +0000 (21:59 +0200)]
Bug #486: Generic submit button label
Jef van Schendel [Sat, 20 Aug 2011 19:47:44 +0000 (21:47 +0200)]
Bug #464 Font in text fields is inconsistent
Jef van Schendel [Sat, 20 Aug 2011 19:22:51 +0000 (21:22 +0200)]
Add 404 page and image
Jef van Schendel [Sat, 20 Aug 2011 18:54:41 +0000 (20:54 +0200)]
New layout for root.html
Jef van Schendel [Sat, 20 Aug 2011 14:42:15 +0000 (16:42 +0200)]
Small changes: adjust text color, add h2 text size
Jef van Schendel [Sat, 20 Aug 2011 14:09:12 +0000 (16:09 +0200)]
Small size correction for footer text and <input> button text
Christopher Allan Webber [Sat, 20 Aug 2011 14:04:21 +0000 (09:04 -0500)]
Changing datetime formatting from |format to .stftime()
Christopher Allan Webber [Sat, 20 Aug 2011 14:00:30 +0000 (09:00 -0500)]
Just a bit of spacing to make things easier to read by a little bit.
Christopher Allan Webber [Sat, 20 Aug 2011 13:56:21 +0000 (08:56 -0500)]
Removing this commented out </div><div> from the media template
Jef van Schendel [Sat, 20 Aug 2011 00:47:55 +0000 (02:47 +0200)]
First ugly push with Lato typeface
Christopher Allan Webber [Fri, 19 Aug 2011 17:34:40 +0000 (12:34 -0500)]
Merge branch 'processing'
Christopher Allan Webber [Fri, 19 Aug 2011 17:31:31 +0000 (12:31 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Fri, 19 Aug 2011 03:00:55 +0000 (22:00 -0500)]
Switch the grid over to using a... erk... table! :)
Also changes the gridification routine a bit.
Christopher Allan Webber [Fri, 19 Aug 2011 02:28:00 +0000 (21:28 -0500)]
Feed link, as an includable template!
Christopher Allan Webber [Fri, 19 Aug 2011 02:23:06 +0000 (21:23 -0500)]
More useful messages about when stuff isn't there on a user's homepage.
Christopher Allan Webber [Fri, 19 Aug 2011 02:16:50 +0000 (21:16 -0500)]
Give a message if the user hasn't filled in their profile yet.
Christopher Allan Webber [Fri, 19 Aug 2011 00:57:49 +0000 (19:57 -0500)]
Added an alt tag to the feed icons. Accessibility! Woo!
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.
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.
Jef van Schendel [Thu, 18 Aug 2011 16:17:53 +0000 (18:17 +0200)]
Added empty_space class for user profile placeholders
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
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
Jef van Schendel [Thu, 18 Aug 2011 13:26:00 +0000 (15:26 +0200)]
No longer center small images
Jef van Schendel [Thu, 18 Aug 2011 13:22:40 +0000 (15:22 +0200)]
Remove space at end of MediaGoblin logo link
Jef van Schendel [Thu, 18 Aug 2011 13:18:54 +0000 (15:18 +0200)]
Whole bunch of changes to base.css
Jef van Schendel [Tue, 16 Aug 2011 21:32:38 +0000 (23:32 +0200)]
Removed temporary logo image, replaced it with text for now
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
Christopher Allan Webber [Tue, 16 Aug 2011 13:38:36 +0000 (08:38 -0500)]
Pulled down latest translations
Christopher Allan Webber [Tue, 16 Aug 2011 13:18:38 +0000 (08:18 -0500)]
Pulled down latest translations
Christopher Allan Webber [Sun, 14 Aug 2011 14:12:43 +0000 (09:12 -0500)]
Malicious uploads test with fake but not really image files working! :)
Christopher Allan Webber [Sun, 14 Aug 2011 12:56:10 +0000 (07:56 -0500)]
Processing panel view
Now you can view your failed and in-process media items!
Christopher Allan Webber [Sun, 14 Aug 2011 12:55:08 +0000 (07:55 -0500)]
Method to get the failure exception object for a MediaEntry, if appropriate.
Christopher Allan Webber [Sun, 14 Aug 2011 12:53:24 +0000 (07:53 -0500)]
Switch BaseProcessingFail.exception_path's separator from period to colon
Also removing .generator_error_message() which doesn't make sense
really... we need to get the message when we don't have an instance of
the exception, and this method requires an instance.
Christopher Allan Webber [Sun, 14 Aug 2011 00:48:31 +0000 (19:48 -0500)]
Updated extracted translations
Christopher Allan Webber [Sat, 13 Aug 2011 17:52:56 +0000 (12:52 -0500)]
Converting multi-line-string-comment to a real comment.
Christopher Allan Webber [Sat, 13 Aug 2011 17:52:22 +0000 (12:52 -0500)]
@task decorator no longer used! Removing that import.
Christopher Allan Webber [Sat, 13 Aug 2011 17:21:06 +0000 (12:21 -0500)]
Capture and properly handle errors.
Handled in several places:
- In the run() of the ProcessMedia itself for
handled (BaseProcessingFail derived) errors (best to do these not
in on_failure because the errors are highlighted in celeryd in a
way that looks inappropriate for when the errors are well handled)
- In ProcessMedia.on_failure() for all other errors
- In the submit view where all exceptions are caught, media is marked
at having failed, then the error is re-raised. (The reason for
this is that users running in "lazy" mode will get errors
propagated by celery and so on_failure won't run for them.)
Christopher Allan Webber [Sat, 13 Aug 2011 15:59:34 +0000 (10:59 -0500)]
Proper handling of processor failures, working as hoped!
BaseProcessingFail based exceptions recorded and marked appropriately
in the database. Other exceptions also caught and marked (or rather
not marked) appropriately in the database as well.
Christopher Allan Webber [Sat, 13 Aug 2011 12:48:34 +0000 (07:48 -0500)]
Add fail_error and fail_metadata fields to MediaEntry and relevant migration
Christopher Allan Webber [Sat, 13 Aug 2011 00:59:19 +0000 (19:59 -0500)]
Create processing errors and raise BadMediaFail on failure to load the image
Christopher Allan Webber [Fri, 12 Aug 2011 18:14:35 +0000 (13:14 -0500)]
Missing multi=True closing this migration, oops :)
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
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
Christopher Allan Webber [Fri, 12 Aug 2011 03:54:11 +0000 (22:54 -0500)]
Merge branch 'master' into processing
Conflicts:
mediagoblin/db/migrations.py
Christopher Allan Webber [Fri, 12 Aug 2011 03:44:47 +0000 (22:44 -0500)]
PEP-8ing the keyword argument passing here
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'
Christopher Allan Webber [Fri, 12 Aug 2011 02:31:48 +0000 (21:31 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/b372_rmdbfield_thumbnail_file'
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
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.
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
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
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'
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
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
Christopher Allan Webber [Thu, 11 Aug 2011 16:29:14 +0000 (11:29 -0500)]
Adding slightly clearer docs to MountStorage.
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:04:55 +0000 (21:04 -0500)]
Merge branch 'master' into processing
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 [Thu, 11 Aug 2011 01:26:22 +0000 (20:26 -0500)]
We should save the entry *after* we add the queued_task_id.
Christopher Allan Webber [Thu, 11 Aug 2011 00:53:37 +0000 (19:53 -0500)]
Merge branch 'master' into processing
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
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
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'
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