mediagoblin.git
13 years ago* Fix bad commit (oops!)
Mark Holmquist [Mon, 22 Aug 2011 10:35:44 +0000 (03:35 -0700)]
* Fix bad commit (oops!)
* Delete works now

13 years ago+ 'confirm' section for confirmation dialogues
Mark Holmquist [Mon, 22 Aug 2011 09:57:40 +0000 (02:57 -0700)]
+ 'confirm' section for confirmation dialogues
+ implemented delete functionality
* fixed several instances of 'must be an instance of unicode, not str'

13 years agoExperimentally putting logo in place
Christopher Allan Webber [Mon, 22 Aug 2011 05:33:33 +0000 (00:33 -0500)]
Experimentally putting logo in place

Combining MediaGoblin eared-M logo with Thorsten's handwritten text.
Well... looking nice to me :)

13 years agoFeature #506: link to original sized image if we scaled the image down.
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.

13 years agoI think the media entries' titles look nicer if they're a bit smaller.
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.

13 years agoAdd titles to media entries in galleries
Christopher Allan Webber [Mon, 22 Aug 2011 04:10:12 +0000 (23:10 -0500)]
Add titles to media entries in galleries

13 years agoMediaGoblin favicon by Alex Camelio!!! OMG.
Christopher Allan Webber [Mon, 22 Aug 2011 04:02:21 +0000 (23:02 -0500)]
MediaGoblin favicon by Alex Camelio!!! OMG.

13 years agoChanging the MediaGoblin Sphinx docs a bit...
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

13 years agoUpdating the mediagoblin manual's foreward:
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

13 years agoUpdating tests for new storage config code
Christopher Allan Webber [Sun, 21 Aug 2011 20:14:45 +0000 (15:14 -0500)]
Updating tests for new storage config code

13 years agoMerge remote branch 'remotes/elrond/dev/storage_config'
Christopher Allan Webber [Sun, 21 Aug 2011 18:51:05 +0000 (13:51 -0500)]
Merge remote branch 'remotes/elrond/dev/storage_config'

13 years agoAdded a docstring to mgoblin_error_middleware
Christopher Allan Webber [Sun, 21 Aug 2011 05:24:47 +0000 (00:24 -0500)]
Added a docstring to mgoblin_error_middleware

13 years agoBetter derp eyes for a 500 error in the ascii art :)
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 :)

13 years agoSlightly wrapping paste error middleware and turning it on
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 :)

13 years agoMerge branch 'jwandborg-f298_create_envball'
Christopher Allan Webber [Sun, 21 Aug 2011 03:28:29 +0000 (22:28 -0500)]
Merge branch 'jwandborg-f298_create_envball'

13 years agoWe should use os.path.join to concatenate directories.
Christopher Allan Webber [Sun, 21 Aug 2011 03:26:45 +0000 (22:26 -0500)]
We should use os.path.join to concatenate directories.

13 years agoImport / export to a temporary directory if cache_path not provided.
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.

13 years agoApparently we *should* _clean(args), that was commented out for debugging :)
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 :)

13 years agoRemoving some print debugging from import_export
Christopher Allan Webber [Sun, 21 Aug 2011 02:59:30 +0000 (21:59 -0500)]
Removing some print debugging from import_export

13 years agoUse "with closing(tf)" since TarFile doesn't have .__exit__()
Christopher Allan Webber [Sun, 21 Aug 2011 02:36:08 +0000 (21:36 -0500)]
Use "with closing(tf)" since TarFile doesn't have .__exit__()

13 years agoMerge remote branch 'remotes/schendje/master'
Christopher Allan Webber [Sat, 20 Aug 2011 21:49:57 +0000 (16:49 -0500)]
Merge remote branch 'remotes/schendje/master'

13 years agoRemoving unused imports
Christopher Allan Webber [Sat, 20 Aug 2011 21:48:29 +0000 (16:48 -0500)]
Removing unused imports

13 years agoMarking the 404 page for translation
Christopher Allan Webber [Sat, 20 Aug 2011 21:34:18 +0000 (16:34 -0500)]
Marking the 404 page for translation

13 years agoChanging the welcome text based on IRC conversations and marking 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.

13 years agoAdd 500.html page
Jef van Schendel [Sat, 20 Aug 2011 21:15:00 +0000 (23:15 +0200)]
Add 500.html page

13 years agoUse render_404 EVERYWHERE!
Christopher Allan Webber [Sat, 20 Aug 2011 20:57:24 +0000 (15:57 -0500)]
Use render_404 EVERYWHERE!

13 years agoTacking on an empty matchdict when 404'ing just in case a template expects it
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

13 years agoAdding and making use of the new 404 error page :)
Christopher Allan Webber [Sat, 20 Aug 2011 20:55:08 +0000 (15:55 -0500)]
Adding and making use of the new 404 error page :)

13 years agoAllow a user to pass in a status to render_to_response
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

13 years agoLogout -> log out
Jef van Schendel [Sat, 20 Aug 2011 20:24:30 +0000 (22:24 +0200)]
Logout -> log out

13 years agoMissed one thing for Bug #464
Jef van Schendel [Sat, 20 Aug 2011 20:16:48 +0000 (22:16 +0200)]
Missed one thing for Bug #464

13 years agoFeature #494: login vs. log in -- lots of incorrect usage
Jef van Schendel [Sat, 20 Aug 2011 20:12:44 +0000 (22:12 +0200)]
Feature #494: login vs. log in -- lots of incorrect usage

13 years agoMerge remote branch 'remotes/schendje/master'
Christopher Allan Webber [Sat, 20 Aug 2011 20:11:05 +0000 (15:11 -0500)]
Merge remote branch 'remotes/schendje/master'

13 years agoChange the ordering of the app's __call__ method (attach things to request first)
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.

13 years agoBug #486: Generic submit button label
Jef van Schendel [Sat, 20 Aug 2011 19:59:40 +0000 (21:59 +0200)]
Bug #486: Generic submit button label

13 years agoBug #464 Font in text fields is inconsistent
Jef van Schendel [Sat, 20 Aug 2011 19:47:44 +0000 (21:47 +0200)]
Bug #464 Font in text fields is inconsistent

13 years agoAdd 404 page and image
Jef van Schendel [Sat, 20 Aug 2011 19:22:51 +0000 (21:22 +0200)]
Add 404 page and image

13 years agoNew layout for root.html
Jef van Schendel [Sat, 20 Aug 2011 18:54:41 +0000 (20:54 +0200)]
New layout for root.html

13 years agoSmall changes: adjust text color, add h2 text size
Jef van Schendel [Sat, 20 Aug 2011 14:42:15 +0000 (16:42 +0200)]
Small changes: adjust text color, add h2 text size

13 years agoSmall size correction for footer text and <input> button text
Jef van Schendel [Sat, 20 Aug 2011 14:09:12 +0000 (16:09 +0200)]
Small size correction for footer text and <input> button text

13 years agoChanging datetime formatting from |format to .stftime()
Christopher Allan Webber [Sat, 20 Aug 2011 14:04:21 +0000 (09:04 -0500)]
Changing datetime formatting from |format to .stftime()

13 years agoJust a bit of spacing to make things easier to read by a little bit.
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.

13 years agoRemoving this commented out </div><div> from the media template
Christopher Allan Webber [Sat, 20 Aug 2011 13:56:21 +0000 (08:56 -0500)]
Removing this commented out </div><div> from the media template

13 years agoFirst ugly push with Lato typeface
Jef van Schendel [Sat, 20 Aug 2011 00:47:55 +0000 (02:47 +0200)]
First ugly push with Lato typeface

13 years agoMerge branch 'processing'
Christopher Allan Webber [Fri, 19 Aug 2011 17:34:40 +0000 (12:34 -0500)]
Merge branch 'processing'

13 years agoMerge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Fri, 19 Aug 2011 17:31:31 +0000 (12:31 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin

13 years agoSwitch the grid over to using a... erk... table! :)
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.

13 years agoFeed link, as an includable template!
Christopher Allan Webber [Fri, 19 Aug 2011 02:28:00 +0000 (21:28 -0500)]
Feed link, as an includable template!

13 years agoMore useful messages about when stuff isn't there on a user's homepage.
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.

13 years agoGive a message if the user hasn't filled in their profile yet.
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.

13 years agoAdded an alt tag to the feed icons. Accessibility! Woo!
Christopher Allan Webber [Fri, 19 Aug 2011 00:57:49 +0000 (19:57 -0500)]
Added an alt tag to the feed icons.  Accessibility!  Woo!

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 agoMalicious uploads test with fake but not really image files working! :)
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! :)

13 years agoProcessing panel view
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!

13 years agoMethod to get the failure exception object for a MediaEntry, if appropriate.
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.

13 years agoSwitch BaseProcessingFail.exception_path's separator from period to colon
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.

13 years agoUpdated extracted translations
Christopher Allan Webber [Sun, 14 Aug 2011 00:48:31 +0000 (19:48 -0500)]
Updated extracted translations

13 years agoConverting multi-line-string-comment to a real comment.
Christopher Allan Webber [Sat, 13 Aug 2011 17:52:56 +0000 (12:52 -0500)]
Converting multi-line-string-comment to a real comment.

13 years ago@task decorator no longer used! Removing that import.
Christopher Allan Webber [Sat, 13 Aug 2011 17:52:22 +0000 (12:52 -0500)]
@task decorator no longer used!  Removing that import.

13 years agoCapture and properly handle errors.
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.)

13 years agoProper handling of processor failures, working as hoped!
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.

13 years agoAdd fail_error and fail_metadata fields to MediaEntry and relevant migration
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

13 years agoCreate processing errors and raise BadMediaFail on failure to load the image
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

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 agoFeature #298 - Create environment tarball
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

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 agoDocument changes to storage_system_from_config
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.

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 agoFeature #298 - Create environment tarball
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

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