mediagoblin.git
13 years agoMerge remote branch 'remotes/elrond/refactor/gmg_cf_option'
Christopher Allan Webber [Sun, 23 Oct 2011 20:22:18 +0000 (15:22 -0500)]
Merge remote branch 'remotes/elrond/refactor/gmg_cf_option'

13 years agoAdd a flup server option to the default paste.ini to make deployment a bit easier.
Christopher Allan Webber [Sun, 23 Oct 2011 20:21:15 +0000 (15:21 -0500)]
Add a flup server option to the default paste.ini to make deployment a bit easier.

13 years agoShould be Lato-Regular.ttf not Lato-Regular.woff (why was it even working?)
Christopher Allan Webber [Sun, 23 Oct 2011 19:59:58 +0000 (14:59 -0500)]
Should be Lato-Regular.ttf not Lato-Regular.woff (why was it even working?)

13 years agoMake gmg's -cf option a global option
Elrond [Sun, 23 Oct 2011 19:33:52 +0000 (21:33 +0200)]
Make gmg's -cf option a global option

All gmg's subcommands used to have a -cf option to set the
config file. Instead make this a gmg global option.
This means:
  bin/gmg migrate -cf mediagoblin_2.ini
gets
  bin/gmg -cf mediagoblin_2.ini migrate

13 years agoRefactor gmg's cf option into a function
Elrond [Sun, 23 Oct 2011 10:47:25 +0000 (12:47 +0200)]
Refactor gmg's cf option into a function

Many (all?) gmg subcommands take a -cf option to change the
used config file. This options used to be created in each
subcommand's parse_setup. Add a helper function and use it
around.

13 years agoRequire an older version of WebOb as a stopgap fix for Issue #622
Christopher Allan Webber [Tue, 18 Oct 2011 22:50:24 +0000 (17:50 -0500)]
Require an older version of WebOb as a stopgap fix for Issue #622

Hopefully they'll release a new version with my patch soon!

13 years agoNow that we're encouraging in-package virtualenv use, we should update
Christopher Allan Webber [Sat, 15 Oct 2011 22:44:22 +0000 (17:44 -0500)]
Now that we're encouraging in-package virtualenv use, we should update
.gitignore.  Done! ;)

13 years agoHotfix: Renaming cookie broke unit tests
Elrond [Sat, 15 Oct 2011 22:25:59 +0000 (00:25 +0200)]
Hotfix: Renaming cookie broke unit tests

The name of the cookie was hardcoded in the unit tests and
while renaming the cookie this part was missed.

So now read the cookie_name from the config in the test.
This also tests for the config item existing!

13 years agoSupport for older webobs and newer webobs both in accept language mess :)
Christopher Allan Webber [Sat, 15 Oct 2011 21:57:45 +0000 (16:57 -0500)]
Support for older webobs and newer webobs both in accept language mess :)

13 years agoFixes issue662, MediaGoblin was broken by recent WebOb release.
Christopher Allan Webber [Sat, 15 Oct 2011 21:46:04 +0000 (16:46 -0500)]
Fixes issue662, MediaGoblin was broken by recent WebOb release.

From WebOb release notes:

  "Accept.best_matches() is gone; use list(request.accept) or
  request.accept.best_match(..) instead (applies to all Accept-*
  headers) or similar with request.accept_language."

... seems that's what borked it...

13 years agoMerge remote branch 'remotes/elrond/misc/i592_use_full_path'
Christopher Allan Webber [Sat, 15 Oct 2011 16:07:13 +0000 (11:07 -0500)]
Merge remote branch 'remotes/elrond/misc/i592_use_full_path'

13 years agoMerge remote branch 'remotes/elrond/idea/csrf_improvement'
Christopher Allan Webber [Sat, 15 Oct 2011 15:28:37 +0000 (10:28 -0500)]
Merge remote branch 'remotes/elrond/idea/csrf_improvement'

13 years agoMerge remote branch 'aaronw/bug601_blank_comments'
Elrond [Sat, 15 Oct 2011 12:59:52 +0000 (14:59 +0200)]
Merge remote branch 'aaronw/bug601_blank_comments'

* aaronw/bug601_blank_comments:
  Make Comment posted! translatable.
  Update english translation file.
  Added a check to prevent blank messages from being posted.

Conflicts:
mediagoblin/i18n/en/LC_MESSAGES/mediagoblin.po

13 years agoMerge remote branch 'aaronw/bug608_checkbox_labels'
Elrond [Sat, 15 Oct 2011 12:15:36 +0000 (14:15 +0200)]
Merge remote branch 'aaronw/bug608_checkbox_labels'

* aaronw/bug608_checkbox_labels:
  No need to translate label name.
  Add label tag to fix translation issue.
  Update english translation file.
  Checkbox label is being translated in the form definition -- translating it in the template is redundant and breaks <label> functionality.

Conflicts:
mediagoblin/i18n/en/LC_MESSAGES/mediagoblin.po

13 years agoImprove indentation a bit
Elrond [Sat, 15 Oct 2011 11:31:43 +0000 (13:31 +0200)]
Improve indentation a bit

Only change: Indentation, nothing else!

13 years agoMerge remote branch 'aaronw/feature469_comment_form_under_comments'
Elrond [Sat, 15 Oct 2011 11:54:58 +0000 (13:54 +0200)]
Merge remote branch 'aaronw/feature469_comment_form_under_comments'

* aaronw/feature469_comment_form_under_comments:
  Put the trans tag in the right place.
  Move comment form below comments.

13 years agoPut the trans tag in the right place.
Aaron Williamson [Fri, 14 Oct 2011 23:33:48 +0000 (19:33 -0400)]
Put the trans tag in the right place.

13 years agoSome mostly cosmetic changes to CSRF
Elrond [Mon, 3 Oct 2011 22:12:03 +0000 (00:12 +0200)]
Some mostly cosmetic changes to CSRF

* remove max_age - A session cookie is better, because it's
  a session thing, really.
* Call the cookie mediagoblin_csrftoken, much clearer.
* Use the SCRIPT_NAME for the path of the cookie, so that
  the cookie is sent back to the right place only.
  Alternatively the path= parameter could be removed, so
  that it defaults to '/'.
* call the randomness function only once, instead of twice.
  64 bits should be enough. If really more bits are needed,
  increase the number.
* Just give the number as cookie. No point in md5 and
  hexdigest in my view (those functions just make another
  representation).
* getrandbits gets a bit count directly, simpler API

13 years agoOverhauls docs
Will Kahn-Greene [Thu, 6 Oct 2011 03:08:53 +0000 (23:08 -0400)]
Overhauls docs

* Removes a bunch of content that doesn't need to be in the suer manual
  anymore.
* Fixes issues so it's more readable in source form.
* Adds help chapter.
* Moves links out of paragraphs to reduce line length.
* Cleans up some language.
* Fixes some links.

13 years agoFixing 404s, related to recent util refactoring.
Christopher Allan Webber [Thu, 6 Oct 2011 01:57:02 +0000 (20:57 -0500)]
Fixing 404s, related to recent util refactoring.

13 years agoMake Comment posted! translatable.
Aaron Williamson [Tue, 4 Oct 2011 20:32:41 +0000 (16:32 -0400)]
Make Comment posted! translatable.

13 years agoNo need to translate label name.
Aaron Williamson [Tue, 4 Oct 2011 20:12:43 +0000 (16:12 -0400)]
No need to translate label name.

13 years agoAdd label tag to fix translation issue.
Aaron Williamson [Tue, 4 Oct 2011 20:11:47 +0000 (16:11 -0400)]
Add label tag to fix translation issue.

13 years agoMove comment form below comments.
Aaron Williamson [Tue, 4 Oct 2011 01:32:36 +0000 (21:32 -0400)]
Move comment form below comments.

13 years agoUpdate english translation file.
Aaron Williamson [Tue, 4 Oct 2011 01:06:28 +0000 (21:06 -0400)]
Update english translation file.

13 years agoUpdate english translation file.
Aaron Williamson [Tue, 4 Oct 2011 01:05:23 +0000 (21:05 -0400)]
Update english translation file.

13 years agoAdded a check to prevent blank messages from being posted.
Aaron Williamson [Tue, 4 Oct 2011 01:03:36 +0000 (21:03 -0400)]
Added a check to prevent blank messages from being posted.

13 years agoCheckbox label is being translated in the form definition -- translating it in the...
Aaron Williamson [Tue, 4 Oct 2011 00:47:39 +0000 (20:47 -0400)]
Checkbox label is being translated in the form definition -- translating it in the template is redundant and breaks <label> functionality.

13 years agoi592: Use full path in various places
Elrond [Mon, 3 Oct 2011 12:01:13 +0000 (14:01 +0200)]
i592: Use full path in various places

When running mediagoblin in a sub path on a web server,
most things inside mediagoblin need the "inside path", but
when generating URLs for the webbrowser, full paths are
needed.

urlgen and routes already do that.

Some (mostly pagination and login) need the URL of the
current page. They used request.path_info. But this is the
"inside" path, not the full.

So now there is request.full_path and its used in various
places.

13 years agoAdding csrf token fields to the forgot password calls
Christopher Allan Webber [Sun, 2 Oct 2011 02:31:14 +0000 (21:31 -0500)]
Adding csrf token fields to the forgot password calls

13 years agoFixing indentation in start.html
Christopher Allan Webber [Sun, 2 Oct 2011 02:30:41 +0000 (21:30 -0500)]
Fixing indentation in start.html

13 years agoMerge remote branch 'remotes/aaronw/bug444_fix_utils_py_redux'
Christopher Allan Webber [Sun, 2 Oct 2011 02:27:36 +0000 (21:27 -0500)]
Merge remote branch 'remotes/aaronw/bug444_fix_utils_py_redux'

Conflicts:
mediagoblin/util.py

13 years agoMerge remote branch 'remotes/jwandborg/storage_split_fix'
Christopher Allan Webber [Sun, 2 Oct 2011 01:54:24 +0000 (20:54 -0500)]
Merge remote branch 'remotes/jwandborg/storage_split_fix'

13 years agoMerge remote branch 'remotes/nyergler/569-application-middleware'
Christopher Allan Webber [Sun, 2 Oct 2011 01:45:43 +0000 (20:45 -0500)]
Merge remote branch 'remotes/nyergler/569-application-middleware'

13 years agoMerge remote branch 'remotes/elrond/misc/f602_client_cache_improvement'
Christopher Allan Webber [Sun, 2 Oct 2011 01:38:07 +0000 (20:38 -0500)]
Merge remote branch 'remotes/elrond/misc/f602_client_cache_improvement'

13 years agoMerge branch 'mediagoblin-upstream' into bug444_fix_utils_py_redux
Aaron Williamson [Sat, 1 Oct 2011 22:09:49 +0000 (18:09 -0400)]
Merge branch 'mediagoblin-upstream' into bug444_fix_utils_py_redux

13 years agoFinished splitting util.py into separate files.
Aaron Williamson [Sat, 1 Oct 2011 22:05:44 +0000 (18:05 -0400)]
Finished splitting util.py into separate files.

13 years agoFinished splitting util.py into separate files.
Aaron Williamson [Sat, 1 Oct 2011 22:05:17 +0000 (18:05 -0400)]
Finished splitting util.py into separate files.

13 years ago#361: Removing additional secret key, per CW's request.
Nathan Yergler [Sat, 1 Oct 2011 21:24:49 +0000 (14:24 -0700)]
#361: Removing additional secret key, per CW's request.

13 years ago#361 Unit tests for CSRF Middleware
Nathan Yergler [Sat, 1 Oct 2011 21:21:02 +0000 (14:21 -0700)]
#361 Unit tests for CSRF Middleware

13 years ago#361: Don't test for CSRF token if we're running unit tests.
Nathan Yergler [Sat, 1 Oct 2011 20:13:14 +0000 (13:13 -0700)]
#361: Don't test for CSRF token if we're running unit tests.

13 years agoPEP8-ification.
Nathan Yergler [Sat, 1 Oct 2011 19:48:43 +0000 (12:48 -0700)]
PEP8-ification.

13 years agoMerge remote-tracking branch 'refs/remotes/upstream/master' into 569-application...
Nathan Yergler [Sat, 1 Oct 2011 19:08:58 +0000 (12:08 -0700)]
Merge remote-tracking branch 'refs/remotes/upstream/master' into 569-application-middleware

Conflicts:
mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html

13 years agoMerge branch 'mediagoblin-upstream' into bug444_fix_utils_py_redux
Aaron Williamson [Sat, 1 Oct 2011 13:32:43 +0000 (09:32 -0400)]
Merge branch 'mediagoblin-upstream' into bug444_fix_utils_py_redux

13 years agoMoved common, translation, template, and url code out of util.py and into tools/...
Aaron Williamson [Sat, 1 Oct 2011 13:31:42 +0000 (09:31 -0400)]
Moved common, translation, template, and url code out of util.py and into tools/[file].py

13 years agoGive debug message in email debug mode
Elrond [Fri, 30 Sep 2011 20:27:47 +0000 (22:27 +0200)]
Give debug message in email debug mode

If the server is running in email debug mode (current
default), users have often asked where the mail is. So tell
them in the web browser that their mail is on the console.

13 years agoWhen using paste's static content server to serve media
Elrond [Thu, 29 Sep 2011 18:15:53 +0000 (20:15 +0200)]
When using paste's static content server to serve media
entries and other files the client should have some idea on
how long it can cache those files locally before asking
again for them.

The old setting was: Don't allow the client to cache.

New setting:
  1 week for the media entries (they don't change, ever)
  1 day for css/logos, etc. They change on an update, so
    people might want to see the new design soon.

13 years agoMerge remote branch 'remotes/elrond/misc/use_staticdirect'
Christopher Allan Webber [Wed, 28 Sep 2011 22:33:03 +0000 (17:33 -0500)]
Merge remote branch 'remotes/elrond/misc/use_staticdirect'

13 years agoUpdating translations
Christopher Allan Webber [Mon, 26 Sep 2011 01:31:00 +0000 (20:31 -0500)]
Updating translations

13 years agoStripping out whitespace on these translation blocks.
Christopher Allan Webber [Mon, 26 Sep 2011 01:26:06 +0000 (20:26 -0500)]
Stripping out whitespace on these translation blocks.

{% trans -%}
  ;o
{%- endtrans %}

13 years agomountstorage - Changed typo in import
Joar Wandborg [Thu, 15 Sep 2011 11:19:25 +0000 (13:19 +0200)]
mountstorage - Changed typo in import

13 years agoTemplates: Use request.staticdirect instead of /mgoblin_static
Elrond [Wed, 14 Sep 2011 17:52:47 +0000 (19:52 +0200)]
Templates: Use request.staticdirect instead of /mgoblin_static

Any reference to static, shipped content should use
request.staticdirect instead of the default path.

Especially if hosting mediagoblin via fastcgi, the paths
might need changing.

13 years agoMerge remote branch 'remotes/jwandborg/f587-split_storage_into_submodules'
Christopher Allan Webber [Wed, 14 Sep 2011 09:57:19 +0000 (04:57 -0500)]
Merge remote branch 'remotes/jwandborg/f587-split_storage_into_submodules'

13 years agoFixed ./bin/gmg. import_export would not find BasicFileStorage, and ./bin/gmg would...
Joar Wandborg [Wed, 14 Sep 2011 00:08:01 +0000 (02:08 +0200)]
Fixed ./bin/gmg. import_export would not find BasicFileStorage, and ./bin/gmg would throw an error no matter what command you tried to run.

13 years agoFeature #587 - Split storage.py into submodules
Joar Wandborg [Mon, 12 Sep 2011 00:32:03 +0000 (02:32 +0200)]
Feature #587 - Split storage.py into submodules

*   Removed storage.py
*   Created submodules for filestorage, cloudfiles, mountstorage
*   Changed test_storage to reflect the changes made in the storage
    module structure
*   Added mediagoblin.storage.filestorage.BasicFileStorage as a
    default for both publicstore and queuestore's `storage_class`

13 years agoExtracted, pushed, pulled, compiled translations
Christopher Allan Webber [Sun, 11 Sep 2011 21:20:10 +0000 (16:20 -0500)]
Extracted, pushed, pulled, compiled translations

13 years agoMarking some things on the frontpage for translation.
Christopher Allan Webber [Sun, 11 Sep 2011 21:13:27 +0000 (16:13 -0500)]
Marking some things on the frontpage for translation.

13 years agoMerge remote branch 'remotes/elrond/idea/use_media_url_for_self'
Christopher Allan Webber [Sat, 10 Sep 2011 22:42:50 +0000 (17:42 -0500)]
Merge remote branch 'remotes/elrond/idea/use_media_url_for_self'

13 years agoAdding MIT.txt to the 960.gs extlib/ checkout.
Christopher Allan Webber [Sat, 10 Sep 2011 22:39:10 +0000 (17:39 -0500)]
Adding MIT.txt to the 960.gs extlib/ checkout.

Free software developers!  You don't already have 80000 copies of
these license texts in your distro, let's give you 50 more.

13 years agoAdding Nathan Yergler, another recent contributor, to the AUTHORS list.
Christopher Allan Webber [Sat, 10 Sep 2011 22:33:41 +0000 (17:33 -0500)]
Adding Nathan Yergler, another recent contributor, to the AUTHORS list.

13 years agoAdding Shawn to the contributor list. By the way, it's Shawn *Khan* :)
Christopher Allan Webber [Sat, 10 Sep 2011 22:33:06 +0000 (17:33 -0500)]
Adding Shawn to the contributor list.  By the way, it's Shawn *Khan* :)

13 years agoUsing Local Fonts instead of Remote Fonts linked to Google.
Christopher Allan Webber [Sat, 10 Sep 2011 22:27:47 +0000 (17:27 -0500)]
Using Local Fonts instead of Remote Fonts linked to Google.

Thanks to Shawn Kahn for help on / original version of this patch!

13 years agoRefractored gmg_commands.import_export
Joar Wandborg [Sat, 10 Sep 2011 15:55:53 +0000 (10:55 -0500)]
Refractored gmg_commands.import_export

13 years agoUse media.url_for_self() instead of generating it
Elrond [Fri, 9 Sep 2011 21:59:32 +0000 (23:59 +0200)]
Use media.url_for_self() instead of generating it

Some places used to generate the URL for a media entry on
their own instead of calling media.url_for_self() to do
that. The later handles missing slugs better.

13 years agoMerge branch 'gullydwarf-cfdv-f357_lost_password_functionality'
Christopher Allan Webber [Thu, 8 Sep 2011 13:12:43 +0000 (08:12 -0500)]
Merge branch 'gullydwarf-cfdv-f357_lost_password_functionality'

Conflicts:
mediagoblin/auth/routing.py

13 years agoRenaming request.[GET|POST] as formdata instead of session; that's more accurate.
Christopher Allan Webber [Thu, 8 Sep 2011 13:10:27 +0000 (08:10 -0500)]
Renaming request.[GET|POST] as formdata instead of session; that's more accurate.

13 years agoAdding a small docstring
Christopher Allan Webber [Thu, 8 Sep 2011 04:51:41 +0000 (23:51 -0500)]
Adding a small docstring

13 years agoKeys in mongodb should be unicode, here...
Christopher Allan Webber [Thu, 8 Sep 2011 04:48:10 +0000 (23:48 -0500)]
Keys in mongodb should be unicode, here...

13 years agoAlso nullify verification key after verifying in the email confirmation step
Christopher Allan Webber [Thu, 8 Sep 2011 04:46:41 +0000 (23:46 -0500)]
Also nullify verification key after verifying in the email confirmation step

13 years agoIf the user hasn't verified their email or account inactive give a special warning
Christopher Allan Webber [Thu, 8 Sep 2011 04:45:14 +0000 (23:45 -0500)]
If the user hasn't verified their email or account inactive give a special warning

13 years agoAdding additional check that verification key exists, and updating indentation
Christopher Allan Webber [Thu, 8 Sep 2011 04:32:15 +0000 (23:32 -0500)]
Adding additional check that verification key exists, and updating indentation

13 years agoAdjusting indentation a bit
Christopher Allan Webber [Thu, 8 Sep 2011 04:25:46 +0000 (23:25 -0500)]
Adjusting indentation a bit

13 years agoAvoiding using '$or' query modifier since that's newer-mongo only.
Christopher Allan Webber [Thu, 8 Sep 2011 04:23:44 +0000 (23:23 -0500)]
Avoiding using '$or' query modifier since that's newer-mongo only.

13 years agoUpdating calls to recall password URLs to respect changed routing
Christopher Allan Webber [Thu, 8 Sep 2011 04:23:26 +0000 (23:23 -0500)]
Updating calls to recall password URLs to respect changed routing

13 years agouser_add_forgot_password_token_and_expires migration should set new fields to None...
Christopher Allan Webber [Thu, 8 Sep 2011 01:18:17 +0000 (20:18 -0500)]
user_add_forgot_password_token_and_expires migration should set new fields to None/null

13 years agoResent verification email template and view aren't used anymore. Removing!
Christopher Allan Webber [Thu, 8 Sep 2011 00:42:56 +0000 (19:42 -0500)]
Resent verification email template and view aren't used anymore.  Removing!

13 years agoChanging the forgot password urls so they all start under /auth/forgot_password/
Christopher Allan Webber [Thu, 8 Sep 2011 00:40:00 +0000 (19:40 -0500)]
Changing the forgot password urls so they all start under /auth/forgot_password/

13 years agoAdjusting spacing between function arguments
Christopher Allan Webber [Thu, 8 Sep 2011 00:37:25 +0000 (19:37 -0500)]
Adjusting spacing between function arguments

13 years agoUpdating translations
Christopher Allan Webber [Tue, 6 Sep 2011 04:34:20 +0000 (23:34 -0500)]
Updating translations

13 years agoMerge branch 'i507_beaker_cache'
Christopher Allan Webber [Tue, 6 Sep 2011 04:28:41 +0000 (23:28 -0500)]
Merge branch 'i507_beaker_cache'

13 years agoTurning on caching for mediagoblin testing after all?
Christopher Allan Webber [Tue, 6 Sep 2011 04:28:11 +0000 (23:28 -0500)]
Turning on caching for mediagoblin testing after all?

Maybe we'll add a way to toggle this.

13 years agoFixing the confirm delete unit test
Christopher Allan Webber [Tue, 6 Sep 2011 04:20:50 +0000 (23:20 -0500)]
Fixing the confirm delete unit test

Now it's updated for the new checkbox-for-confirm code.

13 years agoUpdating the confirm delete form: checkboxes shouldn't be required, make translatable
Christopher Allan Webber [Tue, 6 Sep 2011 04:20:08 +0000 (23:20 -0500)]
Updating the confirm delete form: checkboxes shouldn't be required, make translatable

13 years agoCaching test... pretty basic.
Christopher Allan Webber [Tue, 6 Sep 2011 03:57:52 +0000 (22:57 -0500)]
Caching test... pretty basic.

13 years agoMerge remote branch 'remotes/jwandborg/f571_closing_storage_objects'
Christopher Allan Webber [Tue, 6 Sep 2011 02:14:22 +0000 (21:14 -0500)]
Merge remote branch 'remotes/jwandborg/f571_closing_storage_objects'

13 years agoA couple of tweaks to the checkbox styling... pretty minor.
Christopher Allan Webber [Tue, 6 Sep 2011 02:03:54 +0000 (21:03 -0500)]
A couple of tweaks to the checkbox styling... pretty minor.

13 years agoA couple more delete UI tweaks
Christopher Allan Webber [Tue, 6 Sep 2011 02:01:22 +0000 (21:01 -0500)]
A couple more delete UI tweaks

 - Adjusting HTML indentation
 - Making the cancel button a link rather than a button (a bit
   missized though it seems... maybe a feature ;))

13 years agoCreated a Cancel Button, if you don't want to delete Media.
Shawn Khan [Mon, 5 Sep 2011 23:35:25 +0000 (19:35 -0400)]
Created a Cancel Button, if you don't want to delete Media.

13 years agoPage Redesign to Delete confirmation page
Shawn Khan [Mon, 5 Sep 2011 23:12:53 +0000 (19:12 -0400)]
Page Redesign to Delete confirmation page

13 years agofor readability, and adds unit test for expired token
Caleb Forbes Davis V [Mon, 5 Sep 2011 23:57:06 +0000 (18:57 -0500)]
for readability, and adds unit test for expired token

13 years agoMark description field's label for translation
Christopher Allan Webber [Mon, 5 Sep 2011 23:19:24 +0000 (18:19 -0500)]
Mark description field's label for translation

13 years agoadded unit tests for lost password code
Caleb Forbes Davis V [Mon, 5 Sep 2011 22:33:01 +0000 (17:33 -0500)]
added unit tests for lost password code

13 years agoChanged `*args` => `*exc_info` in CloudFilesStorageObjectWrapper
Joar Wandborg [Mon, 5 Sep 2011 20:33:27 +0000 (22:33 +0200)]
Changed `*args` => `*exc_info` in CloudFilesStorageObjectWrapper

13 years agoFeature #571 - Closing storage objects - Removed closing(), renamed
Joar Wandborg [Mon, 5 Sep 2011 20:06:47 +0000 (22:06 +0200)]
Feature #571 - Closing storage objects - Removed closing(), renamed
StorageObjectWrapper, added with-support to CloudFilesStorageWrapper

*   Removed custom `closing()` method
*   Removed usage of `closing()` in process_media/__init__.py
*   Renamed StorageObjectWrapper -> CloudFilesStorageObject wrapper
    In my first version of the StorageOjbectWrapper it was located
    inside the CloudFilesStorage object, things have changed since
    then but there has been no renaming, thank you Elrond for the
    good point.
*   CloudFilesStorageObjectWrapper now supports context manager
    methods such as `__enter__()` and `__exit__()` (and `close()`)

13 years agorefactors verify_forgot_password
Caleb Forbes Davis V [Mon, 5 Sep 2011 19:02:23 +0000 (14:02 -0500)]
refactors verify_forgot_password

13 years agoMerge branch 'remotes/merge-requests/21' (early part)
Christopher Allan Webber [Mon, 5 Sep 2011 18:53:30 +0000 (13:53 -0500)]
Merge branch 'remotes/merge-requests/21' (early part)

13 years agoAdded a description to the slug field on the media entry form.
Christopher Allan Webber [Mon, 5 Sep 2011 04:05:06 +0000 (23:05 -0500)]
Added a description to the slug field on the media entry form.

13 years agoRemoving description field cruft that mostly existed for testing purposes. :)
Christopher Allan Webber [Mon, 5 Sep 2011 03:26:57 +0000 (22:26 -0500)]
Removing description field cruft that mostly existed for testing purposes. :)

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