mediagoblin.git
13 years agoIssue 361: Include the CSRF token in all forms
Nathan Yergler [Mon, 5 Sep 2011 01:16:03 +0000 (18:16 -0700)]
Issue 361: Include the CSRF token in all forms

13 years agoIssue 361 Initial implementation of CSRF protection middleware
Nathan Yergler [Mon, 5 Sep 2011 01:15:52 +0000 (18:15 -0700)]
Issue 361 Initial implementation of CSRF protection middleware

13 years agoIssue 569: Initial framework for application middleware.
Nathan Yergler [Mon, 5 Sep 2011 01:15:32 +0000 (18:15 -0700)]
Issue 569: Initial framework for application middleware.

13 years agoUpdates version number in docs
Will Kahn-Greene [Fri, 2 Sep 2011 01:10:33 +0000 (21:10 -0400)]
Updates version number in docs

13 years agoAdds another contributor
Will Kahn-Greene [Fri, 2 Sep 2011 01:05:03 +0000 (21:05 -0400)]
Adds another contributor

13 years ago508. Updates copyright/license information
Will Kahn-Greene [Fri, 2 Sep 2011 00:49:54 +0000 (20:49 -0400)]
508. Updates copyright/license information

13 years ago508. Updates COPYING file; adds translations bit
Will Kahn-Greene [Thu, 1 Sep 2011 23:52:41 +0000 (19:52 -0400)]
508. Updates COPYING file; adds translations bit

13 years agoSwitches to Zooko's version method
Will Kahn-Greene [Thu, 1 Sep 2011 23:35:31 +0000 (19:35 -0400)]
Switches to Zooko's version method

This centralizes the version number into a single place but makes it
available in the code as well as in setup.py.

Based on the recipe found at
http://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package/7071358#7071358

13 years agoGet this confirm_routing import out of here.. it doesn't exist! :)
Joar Wandborg [Fri, 2 Sep 2011 00:49:50 +0000 (19:49 -0500)]
Get this confirm_routing import out of here.. it doesn't exist! :)

13 years agoBug #532 - CloudFiles StorageObjectWrapper AttributeError - Fix + More
Joar Wandborg [Thu, 1 Sep 2011 22:50:13 +0000 (17:50 -0500)]
Bug #532 - CloudFiles StorageObjectWrapper AttributeError - Fix + More

Additionally:
Extended get_file to accept both *args and **kwargs and to
pass that further down the line to StorageObjectWrapper.
Might be useful in the future.

13 years agoI feel pretty strongly about the buttons being bold.
Christopher Allan Webber [Thu, 1 Sep 2011 04:44:01 +0000 (23:44 -0500)]
I feel pretty strongly about the buttons being bold.

Jef and I can debate this on-channel later... for now we'll keep it
like this as we make screenshots.  I'm extremely pleased with the
design in all other regards. ;)

13 years agoRemove the inner-classing-ness of StorageObjectWrapper
Christopher Allan Webber [Thu, 1 Sep 2011 02:36:24 +0000 (21:36 -0500)]
Remove the inner-classing-ness of StorageObjectWrapper

13 years agoAdded a bit of clarification about what the medium.jpg corruption
Christopher Allan Webber [Thu, 1 Sep 2011 02:20:41 +0000 (21:20 -0500)]
Added a bit of clarification about what the medium.jpg corruption
issue was, specifically.

13 years agoMerge remote branch 'remotes/jwandborg/cloudfiles_storage_object_wrapper'
Christopher Allan Webber [Thu, 1 Sep 2011 02:08:20 +0000 (21:08 -0500)]
Merge remote branch 'remotes/jwandborg/cloudfiles_storage_object_wrapper'

13 years agoMade a wrapper for cloudfiles.storage_object.Object
Joar Wandborg [Thu, 1 Sep 2011 01:22:59 +0000 (03:22 +0200)]
Made a wrapper for cloudfiles.storage_object.Object

 - `medium.jpg` issue should no longer exist.

13 years agoPulled down latest translations.
Christopher Allan Webber [Wed, 31 Aug 2011 03:53:11 +0000 (22:53 -0500)]
Pulled down latest translations.

13 years agoExtracted translations
Christopher Allan Webber [Wed, 31 Aug 2011 03:51:56 +0000 (22:51 -0500)]
Extracted translations

13 years agoMight as well be consistent about "<a>GNU</a> project" in the footer too
Christopher Allan Webber [Wed, 31 Aug 2011 03:51:05 +0000 (22:51 -0500)]
Might as well be consistent about "<a>GNU</a> project" in the footer too

13 years agoMerge remote branch 'remotes/schendje/master'
Christopher Allan Webber [Wed, 31 Aug 2011 03:48:07 +0000 (22:48 -0500)]
Merge remote branch 'remotes/schendje/master'

13 years agoMake edit and delete links a bit prettier by making them separate links
Christopher Allan Webber [Wed, 31 Aug 2011 03:47:33 +0000 (22:47 -0500)]
Make edit and delete links a bit prettier by making them separate links

This avoids underlines under the images and between the images and text.

13 years agoMerge remote branch 'remotes/gullydwarf-cfdv/b503_remove_inert_prev_nav_buttons'
Christopher Allan Webber [Wed, 31 Aug 2011 03:41:51 +0000 (22:41 -0500)]
Merge remote branch 'remotes/gullydwarf-cfdv/b503_remove_inert_prev_nav_buttons'

13 years agoCaution the admins about deleting the users' media though.
Christopher Allan Webber [Wed, 31 Aug 2011 03:38:09 +0000 (22:38 -0500)]
Caution the admins about deleting the users' media though.

13 years agoAlso allow admins to delete other users' media.
Christopher Allan Webber [Wed, 31 Aug 2011 03:37:54 +0000 (22:37 -0500)]
Also allow admins to delete other users' media.

13 years agoMerge remote branch 'remotes/jwandborg/f403_ability_to_delete'
Christopher Allan Webber [Wed, 31 Aug 2011 01:16:47 +0000 (20:16 -0500)]
Merge remote branch 'remotes/jwandborg/f403_ability_to_delete'

13 years agoBug #530 - CloudFiles - Incorrect MIMEtypes - Fixed!
Joar Wandborg [Tue, 30 Aug 2011 21:56:39 +0000 (23:56 +0200)]
Bug #530 - CloudFiles - Incorrect MIMEtypes - Fixed!

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 agoStyle changes for form labels and descriptions
Jef van Schendel [Mon, 29 Aug 2011 17:33:00 +0000 (19:33 +0200)]
Style changes for form labels and descriptions

13 years agoGiving schendje some auth registration descriptions so he can style them!
Christopher Allan Webber [Mon, 29 Aug 2011 15:43:11 +0000 (10:43 -0500)]
Giving schendje some auth registration descriptions so he can style them!

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 agoonly remove the inert Xs when the user has one item
Caleb Forbes Davis V [Sun, 21 Aug 2011 06:03:02 +0000 (01:03 -0500)]
only remove the inert Xs when the user has one item

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 agoBug #503 - removes inert navigation buttons
Caleb Forbes Davis V [Sun, 21 Aug 2011 05:09:28 +0000 (00:09 -0500)]
Bug #503 - removes inert navigation buttons

- the grey X navigation buttons indicating the first and last media
entries should not appear since they do not do anything

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