Aaron Williamson [Sat, 1 Oct 2011 22:09:49 +0000 (18:09 -0400)]
Merge branch 'mediagoblin-upstream' into bug444_fix_utils_py_redux
Aaron Williamson [Sat, 1 Oct 2011 22:05:44 +0000 (18:05 -0400)]
Finished 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.
Aaron Williamson [Sat, 1 Oct 2011 13:32:43 +0000 (09:32 -0400)]
Merge branch 'mediagoblin-upstream' into bug444_fix_utils_py_redux
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
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.
Christopher Allan Webber [Wed, 28 Sep 2011 22:33:03 +0000 (17:33 -0500)]
Merge remote branch 'remotes/elrond/misc/use_staticdirect'
Christopher Allan Webber [Mon, 26 Sep 2011 01:31:00 +0000 (20:31 -0500)]
Updating translations
Christopher Allan Webber [Mon, 26 Sep 2011 01:26:06 +0000 (20:26 -0500)]
Stripping out whitespace on these translation blocks.
{% trans -%}
;o
{%- endtrans %}
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.
Christopher Allan Webber [Wed, 14 Sep 2011 09:57:19 +0000 (04:57 -0500)]
Merge remote branch 'remotes/jwandborg/f587-split_storage_into_submodules'
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.
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`
Christopher Allan Webber [Sun, 11 Sep 2011 21:20:10 +0000 (16:20 -0500)]
Extracted, pushed, pulled, compiled translations
Christopher Allan Webber [Sun, 11 Sep 2011 21:13:27 +0000 (16:13 -0500)]
Marking some things on the frontpage for translation.
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'
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.
Christopher Allan Webber [Sat, 10 Sep 2011 22:33:41 +0000 (17:33 -0500)]
Adding Nathan Yergler, another recent contributor, to the AUTHORS list.
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* :)
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!
Joar Wandborg [Sat, 10 Sep 2011 15:55:53 +0000 (10:55 -0500)]
Refractored gmg_commands.import_export
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.
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
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.
Christopher Allan Webber [Thu, 8 Sep 2011 04:51:41 +0000 (23:51 -0500)]
Adding a small docstring
Christopher Allan Webber [Thu, 8 Sep 2011 04:48:10 +0000 (23:48 -0500)]
Keys in mongodb should be unicode, here...
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
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
Christopher Allan Webber [Thu, 8 Sep 2011 04:32:15 +0000 (23:32 -0500)]
Adding additional check that verification key exists, and updating indentation
Christopher Allan Webber [Thu, 8 Sep 2011 04:25:46 +0000 (23:25 -0500)]
Adjusting indentation a bit
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.
Christopher Allan Webber [Thu, 8 Sep 2011 04:23:26 +0000 (23:23 -0500)]
Updating calls to recall password URLs to respect changed routing
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
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!
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/
Christopher Allan Webber [Thu, 8 Sep 2011 00:37:25 +0000 (19:37 -0500)]
Adjusting spacing between function arguments
Christopher Allan Webber [Tue, 6 Sep 2011 04:34:20 +0000 (23:34 -0500)]
Updating translations
Christopher Allan Webber [Tue, 6 Sep 2011 04:28:41 +0000 (23:28 -0500)]
Merge branch 'i507_beaker_cache'
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.
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.
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
Christopher Allan Webber [Tue, 6 Sep 2011 03:57:52 +0000 (22:57 -0500)]
Caching test... pretty basic.
Christopher Allan Webber [Tue, 6 Sep 2011 02:14:22 +0000 (21:14 -0500)]
Merge remote branch 'remotes/jwandborg/f571_closing_storage_objects'
Christopher Allan Webber [Tue, 6 Sep 2011 02:03:54 +0000 (21:03 -0500)]
A couple of tweaks to the checkbox styling... pretty minor.
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 ;))
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.
Shawn Khan [Mon, 5 Sep 2011 23:12:53 +0000 (19:12 -0400)]
Page Redesign to Delete confirmation page
Caleb Forbes Davis V [Mon, 5 Sep 2011 23:57:06 +0000 (18:57 -0500)]
for readability, and adds unit test for expired token
Christopher Allan Webber [Mon, 5 Sep 2011 23:19:24 +0000 (18:19 -0500)]
Mark description field's label for translation
Caleb Forbes Davis V [Mon, 5 Sep 2011 22:33:01 +0000 (17:33 -0500)]
added unit tests for lost password code
Joar Wandborg [Mon, 5 Sep 2011 20:33:27 +0000 (22:33 +0200)]
Changed `*args` => `*exc_info` in CloudFilesStorageObjectWrapper
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()`)
Caleb Forbes Davis V [Mon, 5 Sep 2011 19:02:23 +0000 (14:02 -0500)]
refactors verify_forgot_password
Christopher Allan Webber [Mon, 5 Sep 2011 18:53:30 +0000 (13:53 -0500)]
Merge branch 'remotes/merge-requests/21' (early part)
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.
Christopher Allan Webber [Mon, 5 Sep 2011 03:26:57 +0000 (22:26 -0500)]
Removing description field cruft that mostly existed for testing purposes. :)
Nathan Yergler [Mon, 5 Sep 2011 01:15:32 +0000 (18:15 -0700)]
Issue 569: Initial framework for application middleware.
Christopher Allan Webber [Sun, 4 Sep 2011 23:26:28 +0000 (18:26 -0500)]
I can't believe I checked in my debugging garbage, removed!
Christopher Allan Webber [Sun, 4 Sep 2011 23:24:04 +0000 (18:24 -0500)]
delete_media_files() might as well use itervalues (thx Elrond)
Christopher Allan Webber [Sun, 4 Sep 2011 23:22:22 +0000 (18:22 -0500)]
#i536: Removing attachments stuff from edit_media(), in its own method now
Christopher Allan Webber [Sun, 4 Sep 2011 21:38:12 +0000 (16:38 -0500)]
Make "newer" "older" translatable
Christopher Allan Webber [Sun, 4 Sep 2011 21:37:38 +0000 (16:37 -0500)]
Make "newer" and "older" arrows not have underlined gap between image / text
Caleb Forbes Davis V [Fri, 2 Sep 2011 16:14:52 +0000 (11:14 -0500)]
Bug #534 - well, we don't really have collections or favorites yet
Will Kahn-Greene [Fri, 2 Sep 2011 01:10:33 +0000 (21:10 -0400)]
Updates version number in docs
Will Kahn-Greene [Fri, 2 Sep 2011 01:05:03 +0000 (21:05 -0400)]
Adds another contributor
Will Kahn-Greene [Fri, 2 Sep 2011 00:49:54 +0000 (20:49 -0400)]
508. Updates copyright/license information
Will Kahn-Greene [Thu, 1 Sep 2011 23:52:41 +0000 (19:52 -0400)]
508. Updates COPYING file; adds translations bit
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
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! :)
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.
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. ;)
Christopher Allan Webber [Thu, 1 Sep 2011 02:36:24 +0000 (21:36 -0500)]
Remove the inner-classing-ness of StorageObjectWrapper
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.
Christopher Allan Webber [Thu, 1 Sep 2011 02:08:20 +0000 (21:08 -0500)]
Merge remote branch 'remotes/jwandborg/cloudfiles_storage_object_wrapper'
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.
Christopher Allan Webber [Wed, 31 Aug 2011 03:53:11 +0000 (22:53 -0500)]
Pulled down latest translations.
Christopher Allan Webber [Wed, 31 Aug 2011 03:51:56 +0000 (22:51 -0500)]
Extracted translations
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
Christopher Allan Webber [Wed, 31 Aug 2011 03:48:07 +0000 (22:48 -0500)]
Merge remote branch 'remotes/schendje/master'
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.
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'
Christopher Allan Webber [Wed, 31 Aug 2011 03:38:09 +0000 (22:38 -0500)]
Caution the admins about deleting the users' media though.
Christopher Allan Webber [Wed, 31 Aug 2011 03:37:54 +0000 (22:37 -0500)]
Also allow admins to delete other users' media.
Christopher Allan Webber [Wed, 31 Aug 2011 01:16:47 +0000 (20:16 -0500)]
Merge remote branch 'remotes/jwandborg/f403_ability_to_delete'
Joar Wandborg [Tue, 30 Aug 2011 21:56:39 +0000 (23:56 +0200)]
Bug #530 - CloudFiles - Incorrect MIMEtypes - Fixed!
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.
Joar Wandborg [Tue, 30 Aug 2011 21:11:49 +0000 (23:11 +0200)]
Deleted old `mediagoblin.confirm` files
Joar Wandborg [Tue, 30 Aug 2011 19:46:47 +0000 (21:46 +0200)]
Added tests for delete/confirm_delete
Jef van Schendel [Mon, 29 Aug 2011 17:33:00 +0000 (19:33 +0200)]
Style changes for form labels and descriptions
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!
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.
Caleb Forbes Davis V [Mon, 29 Aug 2011 05:00:59 +0000 (00:00 -0500)]
Generalizes error model for change password verification
- 404s instead of 'user not found' will limit leaking user profile
information to the browser.
- Also fixed the wording on the login page to make it clear you are
changing the password, not sending yourself your old one!
Caleb Forbes Davis V [Mon, 29 Aug 2011 03:57:51 +0000 (22:57 -0500)]
Avoids informing browser whether the username or email is a match
- pretends to have sent the email with the URL to change the password
regardless of whether or not the email was actually sent. This
avoids leaking user information to the browser
Caleb Forbes Davis V [Mon, 29 Aug 2011 03:46:21 +0000 (22:46 -0500)]
Changed phrasing, spelling, and added translations
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
Caleb Forbes Davis V [Mon, 29 Aug 2011 02:41:42 +0000 (21:41 -0500)]
needed to access email_sender_address through mg_globals.app_config
instead of mg_globals.email_sender_address.
Caleb Forbes Davis V [Mon, 29 Aug 2011 02:13:07 +0000 (21:13 -0500)]
oops, uses Alejandro's fp_verification_key. my bad.
Alejandro Villanueva [Thu, 21 Jul 2011 16:55:41 +0000 (11:55 -0500)]
Adding fotgot password functionality
Joar Wandborg [Sun, 28 Aug 2011 22:42:55 +0000 (00:42 +0200)]
Added notice that deletion of a media entry is *permanent*
Jef van Schendel [Sun, 28 Aug 2011 22:30:45 +0000 (17:30 -0500)]
Testing logo without logo