1335 Commits

Author SHA1 Message Date
Christopher Allan Webber
6be33a7780 Removing description field cruft that mostly existed for testing purposes. :) 2011-09-04 22:26:57 -05:00
Nathan Yergler
0a8a3fc157 Issue 361: Include the CSRF token in all forms 2011-09-04 18:16:03 -07:00
Nathan Yergler
f1226c98c4 Issue 361 Initial implementation of CSRF protection middleware 2011-09-04 18:15:52 -07: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
Christopher Allan Webber
39b45e2035 I think confirm_delete deserves a url like /confirm-delete/ rather than /confirm/
Adjusting appropriately.
2011-08-29 08:05:35 -05:00
Caleb Forbes Davis V
e1105f5dcb 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!
2011-08-29 00:19:54 -05:00
Caleb Forbes Davis V
24966c43bd 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
2011-08-29 00:18:35 -05:00
Caleb Forbes Davis V
fac7b8c9b1 Changed phrasing, spelling, and added translations 2011-08-28 22:46:21 -05:00
Christopher Allan Webber
7dc3a66f92 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
2011-08-28 22:05:54 -05:00
Caleb Forbes Davis V
f85909c061 needed to access email_sender_address through mg_globals.app_config
instead of mg_globals.email_sender_address.
2011-08-28 21:41:42 -05:00
Caleb Forbes Davis V
6503073508 oops, uses Alejandro's fp_verification_key. my bad. 2011-08-28 21:13:07 -05:00
Alejandro Villanueva
25ba955e20 Adding fotgot password functionality 2011-08-28 20:08:14 -05:00
Joar Wandborg
46df0297e0 Added notice that deletion of a media entry is *permanent* 2011-08-29 00:42:55 +02:00
Jef van Schendel
ad56a4826b Testing logo without logo 2011-08-28 17:30:45 -05:00
Christopher Allan Webber
c35b8426f9 Pulling down latest translations 2011-08-28 09:42:46 -05:00
Christopher Allan Webber
1024d60208 Merge remote branch 'jwandborg/f519_cloudfiles_performance_fix' 2011-08-27 21:08:10 -05:00
Christopher Allan Webber
c710e38fc3 Merge remote branch 'refs/remotes/tychoish/master' 2011-08-27 21:07:19 -05:00