mediagoblin.git
13 years agoFeature #403 - Ability to delete media entries - Fixes according to feedback
Joar Wandborg [Tue, 30 Aug 2011 21:16:46 +0000 (23:16 +0200)]
Feature #403 - Ability to delete media entries - Fixes according to feedback

*   Moved `mediagoblin.confirm` stuff to `mediagoblin.user_pages`,
    templates too.
*   Removed route extension for `mediagoblin.confirm`
*   Created `delete_media_files` which deletes all media files
    on the public_store when the entry is deleted
*   Created a new decorator to check if a user has the permission
     to delete an entry.

13 years agoDeleted old `mediagoblin.confirm` files
Joar Wandborg [Tue, 30 Aug 2011 21:11:49 +0000 (23:11 +0200)]
Deleted old `mediagoblin.confirm` files

13 years agoAdded tests for delete/confirm_delete
Joar Wandborg [Tue, 30 Aug 2011 19:46:47 +0000 (21:46 +0200)]
Added tests for delete/confirm_delete

13 years agoI think confirm_delete deserves a url like /confirm-delete/ rather than /confirm/
Christopher Allan Webber [Mon, 29 Aug 2011 13:05:35 +0000 (08:05 -0500)]
I think confirm_delete deserves a url like /confirm-delete/ rather than /confirm/

Adjusting appropriately.

13 years agoMerge remote branch 'remotes/jwandborg/f403_ability_to_delete'
Christopher Allan Webber [Mon, 29 Aug 2011 03:05:54 +0000 (22:05 -0500)]
Merge remote branch 'remotes/jwandborg/f403_ability_to_delete'

Conflicts:
mediagoblin/edit/views.py
mediagoblin/templates/mediagoblin/user_pages/media.html
mediagoblin/user_pages/routing.py

13 years agoAdded notice that deletion of a media entry is *permanent*
Joar Wandborg [Sun, 28 Aug 2011 22:42:55 +0000 (00:42 +0200)]
Added notice that deletion of a media entry is *permanent*

13 years agoTesting logo without logo
Jef van Schendel [Sun, 28 Aug 2011 22:30:45 +0000 (17:30 -0500)]
Testing logo without logo

13 years agoPulling down latest translations
Christopher Allan Webber [Sun, 28 Aug 2011 14:42:46 +0000 (09:42 -0500)]
Pulling down latest translations

13 years agoMerge remote branch 'jwandborg/f519_cloudfiles_performance_fix'
Christopher Allan Webber [Sun, 28 Aug 2011 02:08:10 +0000 (21:08 -0500)]
Merge remote branch 'jwandborg/f519_cloudfiles_performance_fix'

13 years agoMerge remote branch 'refs/remotes/tychoish/master'
Christopher Allan Webber [Sun, 28 Aug 2011 02:07:19 +0000 (21:07 -0500)]
Merge remote branch 'refs/remotes/tychoish/master'

13 years agoDocumentation Revision, clarification, and editing.
tycho garen [Sat, 27 Aug 2011 21:43:14 +0000 (17:43 -0400)]
Documentation Revision, clarification, and editing.

- a line in the .gitignore file to ignore the built documentation
  tree.

- a complete revision/editorial pass of all non-technical documents
  that outline process, project fundamentals, and background. These
  edits clarified the text, unified the style, and elaborated on
  stubs.

13 years agoMerge remote branch 'remotes/jwandborg/configure_smtp'
Christopher Allan Webber [Sat, 27 Aug 2011 17:00:54 +0000 (12:00 -0500)]
Merge remote branch 'remotes/jwandborg/configure_smtp'

13 years agoFeature #489 - SMTP configuration options - Acts on feedback from cwebber.
Joar Wandborg [Thu, 25 Aug 2011 17:38:13 +0000 (19:38 +0200)]
Feature #489 - SMTP configuration options - Acts on feedback from cwebber.

http://bugs.foocorp.net/issues/489#note-2

13 years agoPulling down new translations
Christopher Allan Webber [Thu, 25 Aug 2011 12:43:31 +0000 (07:43 -0500)]
Pulling down new translations

13 years agoUpdating extracted translations
Christopher Allan Webber [Thu, 25 Aug 2011 12:41:42 +0000 (07:41 -0500)]
Updating extracted translations

13 years ago'<a>GNU project</a>' to '<a>GNU</a> project'
Christopher Allan Webber [Thu, 25 Aug 2011 12:41:07 +0000 (07:41 -0500)]
'<a>GNU project</a>' to '<a>GNU</a> project'

13 years agoPulling down new translations
Christopher Allan Webber [Thu, 25 Aug 2011 01:24:44 +0000 (20:24 -0500)]
Pulling down new translations

13 years agoUpdating extracted translation template
Christopher Allan Webber [Thu, 25 Aug 2011 01:21:23 +0000 (20:21 -0500)]
Updating extracted translation template

13 years agoAlso changing "Verification needed!" to "Email verification needed!"
Christopher Allan Webber [Thu, 25 Aug 2011 01:20:38 +0000 (20:20 -0500)]
Also changing "Verification needed!" to "Email verification needed!"

13 years agoChanging account "verified" to account "activated" in some points for clarity.
Christopher Allan Webber [Thu, 25 Aug 2011 01:17:06 +0000 (20:17 -0500)]
Changing account "verified" to account "activated" in some points for clarity.

13 years agoFeature/Bug #519 - CloudFilesStorage.get_file() performance issue - Fix
Joar Wandborg [Wed, 24 Aug 2011 23:05:49 +0000 (01:05 +0200)]
Feature/Bug #519 - CloudFilesStorage.get_file() performance issue - Fix

*   `CloudFilesStorage.get_file()` now guesses the filepath without connecting to cloudfiles. Huge profits for xDSL-hosted or slow net machines.

13 years agoStatic serving in test_paste.ini wasn't pointing at test_user_dev either
Christopher Allan Webber [Wed, 24 Aug 2011 04:20:20 +0000 (23:20 -0500)]
Static serving in test_paste.ini wasn't pointing at test_user_dev either

Not that it matters too much, but... should point it to the right
place :)

13 years agoMust switch queuestore_base_dir -> base_dir in test_mgoblin_app.ini
Christopher Allan Webber [Wed, 24 Aug 2011 03:56:22 +0000 (22:56 -0500)]
Must switch queuestore_base_dir -> base_dir in test_mgoblin_app.ini

13 years agoWe're no longer a GNU project in the making... we're a straight up GNU project!
Christopher Allan Webber [Tue, 23 Aug 2011 03:00:30 +0000 (22:00 -0500)]
We're no longer a GNU project in the making... we're a straight up GNU project!

13 years agoWrap "add attachment" in a paragraph for proper spacing.
Christopher Allan Webber [Tue, 23 Aug 2011 02:55:06 +0000 (21:55 -0500)]
Wrap "add attachment" in a paragraph for proper spacing.

13 years agoMerge branch 'master' into jwandborg-f482_media_attachments
Christopher Allan Webber [Tue, 23 Aug 2011 02:48:45 +0000 (21:48 -0500)]
Merge branch 'master' into jwandborg-f482_media_attachments

Conflicts:
mediagoblin/config_spec.ini
mediagoblin/edit/forms.py
mediagoblin/edit/views.py
mediagoblin/submit/views.py
mediagoblin/templates/mediagoblin/user_pages/media.html

13 years agoFeature #482 - Media attachments -
Joar Wandborg [Mon, 22 Aug 2011 16:06:28 +0000 (18:06 +0200)]
Feature #482 - Media attachments -

*   Moved attachment uploading to separate view
*   Support for multiple attachments!

13 years agoRemoving any chance of spaces in the logo link
Christopher Allan Webber [Mon, 22 Aug 2011 13:01:20 +0000 (08:01 -0500)]
Removing any chance of spaces in the logo link

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.