Christopher Allan Webber [Mon, 22 Aug 2011 04:39:59 +0000 (23:39 -0500)]
Feature #506: link to original sized image if we scaled the image down.
Christopher Allan Webber [Mon, 22 Aug 2011 04:39:35 +0000 (23:39 -0500)]
I think the media entries' titles look nicer if they're a bit smaller.
Christopher Allan Webber [Mon, 22 Aug 2011 04:10:12 +0000 (23:10 -0500)]
Add titles to media entries in galleries
Christopher Allan Webber [Mon, 22 Aug 2011 04:02:21 +0000 (23:02 -0500)]
MediaGoblin favicon by Alex Camelio!!! OMG.
Christopher Allan Webber [Mon, 22 Aug 2011 03:23:03 +0000 (22:23 -0500)]
Changing the MediaGoblin Sphinx docs a bit...
- Removing the git guide, and moved it to the wiki
- moving mediagoblin.rst to about_mediagoblin.rst
Christopher Allan Webber [Mon, 22 Aug 2011 02:54:54 +0000 (21:54 -0500)]
Updating the mediagoblin manual's foreward:
- Removing contributors section of the foreward... we should have a
contributors list, but it doesn't belong here.
- Specifying that this manual is not contributor-oriented... it's for
local users/administrators
- Updating issue tracker link
- Adjusting the "living document" line to mention
http://docs.mediagoblin.org
Christopher Allan Webber [Sun, 21 Aug 2011 20:14:45 +0000 (15:14 -0500)]
Updating tests for new storage config code
Christopher Allan Webber [Sun, 21 Aug 2011 18:51:05 +0000 (13:51 -0500)]
Merge remote branch 'remotes/elrond/dev/storage_config'
Christopher Allan Webber [Sun, 21 Aug 2011 05:24:47 +0000 (00:24 -0500)]
Added a docstring to mgoblin_error_middleware
Christopher Allan Webber [Sun, 21 Aug 2011 05:11:54 +0000 (00:11 -0500)]
Better derp eyes for a 500 error in the ascii art :)
Christopher Allan Webber [Sun, 21 Aug 2011 05:09:29 +0000 (00:09 -0500)]
Slightly wrapping paste error middleware and turning it on
Now we can show a nice "borked goblin" error :)
Christopher Allan Webber [Sun, 21 Aug 2011 03:28:29 +0000 (22:28 -0500)]
Merge branch 'jwandborg-f298_create_envball'
Christopher Allan Webber [Sun, 21 Aug 2011 03:26:45 +0000 (22:26 -0500)]
We should use os.path.join to concatenate directories.
Christopher Allan Webber [Sun, 21 Aug 2011 03:22:54 +0000 (22:22 -0500)]
Import / export to a temporary directory if cache_path not provided.
Christopher Allan Webber [Sun, 21 Aug 2011 03:00:21 +0000 (22:00 -0500)]
Apparently we *should* _clean(args), that was commented out for debugging :)
Christopher Allan Webber [Sun, 21 Aug 2011 02:59:30 +0000 (21:59 -0500)]
Removing some print debugging from import_export
Christopher Allan Webber [Sun, 21 Aug 2011 02:36:08 +0000 (21:36 -0500)]
Use "with closing(tf)" since TarFile doesn't have .__exit__()
Christopher Allan Webber [Sat, 20 Aug 2011 21:49:57 +0000 (16:49 -0500)]
Merge remote branch 'remotes/schendje/master'
Christopher Allan Webber [Sat, 20 Aug 2011 21:48:29 +0000 (16:48 -0500)]
Removing unused imports
Christopher Allan Webber [Sat, 20 Aug 2011 21:34:18 +0000 (16:34 -0500)]
Marking the 404 page for translation
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.
Jef van Schendel [Sat, 20 Aug 2011 21:15:00 +0000 (23:15 +0200)]
Add 500.html page
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
Jef van Schendel [Sat, 20 Aug 2011 20:24:30 +0000 (22:24 +0200)]
Logout -> log out
Jef van Schendel [Sat, 20 Aug 2011 20:16:48 +0000 (22:16 +0200)]
Missed one thing for Bug #464
Jef van Schendel [Sat, 20 Aug 2011 20:12:44 +0000 (22:12 +0200)]
Feature #494: login vs. log in -- lots of incorrect usage
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 :)
Joar Wandborg [Fri, 12 Aug 2011 15:04:34 +0000 (17:04 +0200)]
Feature #298 - Create environment tarball
* Reviewed the code and fixed some bugs
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
Elrond [Fri, 12 Aug 2011 11:01:41 +0000 (13:01 +0200)]
Document changes to storage_system_from_config
Chris suggested changing the docs for
storage_system_from_config:
- The only param is a config section.
- The format of that section is much simpler, no prefix.
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
Joar Wandborg [Fri, 12 Aug 2011 00:13:58 +0000 (02:13 +0200)]
Feature #298 - Create environment tarball
* It's now possible to import/export your environment from/to a tarball.
./bin/gmg env_export [ -c mediagoblin_local.ini ] test.tar
and
./bin/gmg env_import [ -c mediagoblin_local.ini ] test.tar
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.