1198 Commits

Author SHA1 Message Date
Christopher Allan Webber
7624c641cd Updating the confirm delete form: checkboxes shouldn't be required, make translatable 2011-09-05 23:20:08 -05:00
Christopher Allan Webber
284ebca0b2 Caching test... pretty basic. 2011-09-05 22:57:52 -05:00
Christopher Allan Webber
949c7afd37 Merge remote branch 'remotes/jwandborg/f571_closing_storage_objects' 2011-09-05 21:14:22 -05:00
Christopher Allan Webber
e8b517924e A couple of tweaks to the checkbox styling... pretty minor. 2011-09-05 21:03:54 -05:00
Christopher Allan Webber
677f55cc51 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 ;))
2011-09-05 21:01:22 -05:00
Shawn Khan
b7f7c13b6d Created a Cancel Button, if you don't want to delete Media. 2011-09-05 20:37:08 -05:00
Shawn Khan
8daef28dc7 Page Redesign to Delete confirmation page 2011-09-05 20:37:08 -05:00
Caleb Forbes Davis V
4bcaf9f32a for readability, and adds unit test for expired token 2011-09-05 18:57:06 -05:00
Christopher Allan Webber
a237735a70 Mark description field's label for translation 2011-09-05 18:19:24 -05:00
Caleb Forbes Davis V
65a8304794 added unit tests for lost password code 2011-09-05 17:33:01 -05:00
Joar Wandborg
213285cd85 Changed *args => *exc_info in CloudFilesStorageObjectWrapper 2011-09-05 22:33:27 +02:00
Joar Wandborg
c2b862d134 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()`)
2011-09-05 22:06:47 +02:00
Caleb Forbes Davis V
8d1c9863b6 refactors verify_forgot_password 2011-09-05 14:06:01 -05:00
Christopher Allan Webber
0bc86f8e5c Merge branch 'remotes/merge-requests/21' (early part) 2011-09-05 13:53:30 -05:00
Christopher Allan Webber
7b80685ac5 Added a description to the slug field on the media entry form. 2011-09-04 23:05:06 -05:00
Christopher Allan Webber
6be33a7780 Removing description field cruft that mostly existed for testing purposes. :) 2011-09-04 22:26:57 -05:00
Nathan Yergler
0c8a30e61d Issue 569: Initial framework for application middleware. 2011-09-04 18:15:32 -07:00
Christopher Allan Webber
b998d80be4 I can't believe I checked in my debugging garbage, removed! 2011-09-04 18:26:28 -05:00
Christopher Allan Webber
63e7abdf0f delete_media_files() might as well use itervalues (thx Elrond) 2011-09-04 18:24:04 -05:00
Christopher Allan Webber
7084661d5b #i536: Removing attachments stuff from edit_media(), in its own method now 2011-09-04 18:22:22 -05:00
Christopher Allan Webber
5a17728bd5 Make "newer" "older" translatable 2011-09-04 16:38:12 -05:00
Christopher Allan Webber
8775f68d33 Make "newer" and "older" arrows not have underlined gap between image / text 2011-09-04 16:37:38 -05:00
Caleb Forbes Davis V
d9d1d50bf3 Bug #534 - well, we don't really have collections or favorites yet 2011-09-02 11:14:52 -05:00
Will Kahn-Greene
05d5d45bf9 Updates version number in docs 2011-09-01 21:10:33 -04:00
Will Kahn-Greene
5312c6caf0 Adds another contributor 2011-09-01 21:05:03 -04:00
Will Kahn-Greene
12a100e4d8 508. Updates copyright/license information 2011-09-01 20:50:19 -04:00
Will Kahn-Greene
9f552f449b 508. Updates COPYING file; adds translations bit 2011-09-01 20:50:19 -04:00
Will Kahn-Greene
cf37fffc11 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
2011-09-01 20:50:19 -04:00
Joar Wandborg
41a695c418 Get this confirm_routing import out of here.. it doesn't exist! :) 2011-09-01 19:49:50 -05:00
Joar Wandborg
bf821aef56 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.
2011-09-01 17:50:13 -05:00
Christopher Allan Webber
ce5db609f9 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. ;)
2011-08-31 23:44:01 -05:00
Christopher Allan Webber
4dea708cd3 Remove the inner-classing-ness of StorageObjectWrapper 2011-08-31 21:36:24 -05:00
Christopher Allan Webber
781be9ee6f Added a bit of clarification about what the medium.jpg corruption
issue was, specifically.
2011-08-31 21:20:41 -05:00
Christopher Allan Webber
9674a9d4f6 Merge remote branch 'remotes/jwandborg/cloudfiles_storage_object_wrapper' 2011-08-31 21:08:20 -05:00
Joar Wandborg
b5e7b967bb Made a wrapper for cloudfiles.storage_object.Object
- `medium.jpg` issue should no longer exist.
2011-09-01 03:22:59 +02:00
Christopher Allan Webber
56f4953c9e Pulled down latest translations. 2011-08-30 22:53:11 -05:00
Christopher Allan Webber
9d92ebe5be Extracted translations 2011-08-30 22:51:56 -05:00
Christopher Allan Webber
9341f8b8c8 Might as well be consistent about "<a>GNU</a> project" in the footer too 2011-08-30 22:51:05 -05:00
Christopher Allan Webber
91e484565a Merge remote branch 'remotes/schendje/master' 2011-08-30 22:48:07 -05:00
Christopher Allan Webber
15144d068e 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.
2011-08-30 22:47:33 -05:00
Christopher Allan Webber
f305707e7c Merge remote branch 'remotes/gullydwarf-cfdv/b503_remove_inert_prev_nav_buttons' 2011-08-30 22:41:51 -05:00
Christopher Allan Webber
7a4c0126df Caution the admins about deleting the users' media though. 2011-08-30 22:38:09 -05:00
Christopher Allan Webber
53c5e0b028 Also allow admins to delete other users' media. 2011-08-30 22:37:54 -05:00
Christopher Allan Webber
2886b340d3 Merge remote branch 'remotes/jwandborg/f403_ability_to_delete' 2011-08-30 20:16:47 -05:00
Joar Wandborg
13b9f054f9 Bug #530 - CloudFiles - Incorrect MIMEtypes - Fixed! 2011-08-30 23:56:39 +02:00
Joar Wandborg
502073f2bf 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.
2011-08-30 23:16:46 +02:00
Joar Wandborg
7d0efbae29 Deleted old mediagoblin.confirm files 2011-08-30 23:16:15 +02:00
Joar Wandborg
afe4e513f7 Added tests for delete/confirm_delete 2011-08-30 21:46:47 +02:00
Jef van Schendel
feb3c4c347 Style changes for form labels and descriptions 2011-08-29 19:33:00 +02:00
Christopher Allan Webber
04a7b06d61 Giving schendje some auth registration descriptions so he can style them! 2011-08-29 10:43:11 -05:00