aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/user_pages/forms.py
Commit message (Collapse)AuthorAgeFilesLines
* More/better translation.Elrond2012-03-171-1/+1
| | | | | | - Try to preserve some translations (somehow). - Mark "Tagged with" again for translation. - Do not translate the empty string
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* Lots of changes to media page; rearranged things, added new styles, added ↵Jef van Schendel2011-12-091-1/+1
| | | | jquery bits, gave the comment section a refresh
* Moved common, translation, template, and url code out of util.py and into ↵Aaron Williamson2011-10-011-1/+1
| | | | tools/[file].py
* Updating the confirm delete form: checkboxes shouldn't be required, make ↵Christopher Allan Webber2011-09-051-2/+2
| | | | translatable
* Page Redesign to Delete confirmation pageShawn Khan2011-09-051-4/+2
|
* 508. Updates copyright/license informationWill Kahn-Greene2011-09-011-1/+1
|
* Feature #403 - Ability to delete media entries - Fixes according to feedbackJoar Wandborg2011-08-301-0/+7
| | | | | | | | | | * 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.
* Minor change to indentationChristopher Allan Webber2011-08-101-2/+2
|
* Ooops! We should do a fake ugettext passthrough here also.Christopher Allan Webber2011-08-101-1/+1
|
* Converting all forms to use the "fake/null" gettext conversion functionChristopher Allan Webber2011-08-101-3/+6
| | | | | Gettext doesn't actually get run right in the form but we do need to wrap the strings in _() so stuff extracts :)
* Updated `MediaCommentForm.field_comment` => `MediaCommentForm.comment_content`Joar Wandborg2011-07-071-21/+22
| | | | * Also changed file encoding of `user_pages/forms.py` from dos to unix.
* Issue #431 - Prevent comment link expiry - Added functionality for comment ↵Joar Wandborg2011-07-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | linking * `media.html` * Changed comment textarea handle from `comment` => `field_comment` * Active comment is hilighted with the CSS class name `comment_active` and also with the hyperlink anchor #comment * Changed media.html so that pagination always uses Route('mediagoblin.user_pages.media_home') as base_url * `user_pages/forms.py` * Renamed MediaComment form field `comment` => `field_comment` * `user_pages/routing.py` * Added route for `/u/joar/m/123..456/c/234..567/`, points to `media_home` * `user_pages/views.py` * `media_home` now checks if the request contains a comment id parameter then acts accordingly with pagination whether to call it with a `jump_to_id` or not. * `media_post_comment` - Updated MediaCommentForm field name `comment` => `field_comment` * `util.py` * `redirect` now supports querystring arguments. - NOT USED (should we keep it? I think so, it might be useful, sometime [don't call me a code hoarder]). * `Pagination.__init__` now accepts one further argument, the `jump_to_id`. It assist the comment linking functionality in finding and returning the proper page for a comment. This feature will work for all kinds of objects. It might not be optimal, but it is well functional :)
* Issue #362 - Added new `wtforms.Form`; `MediaCommentForm()`Joar Wandborg2011-06-291-0/+21
* ADDED `MediaCommentForm` is a form for `MediaComment` user entry and posting.