aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit/forms.py
Commit message (Collapse)AuthorAgeFilesLines
* Add a license preference fieldMark Holmquist2013-01-171-1/+12
| | | | | | | | | | | | | This feature is absolutely necessary. Now a user can simply define their default license and quickly go through a form, as opposed to stopping to click on the select and choosing the same option over and over again. Also added DB migration for the field, so that's working now, too. Rebased by Sebastian and made the default value to be unicode. Reviewed-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Don't put checkbox text on separate line (#475)LotusEcho2012-11-131-2/+1
| | | | | | | | | | | | | | | | Manually render the "notify me" checkbox line in the account settings to not put the form label as a heading but in the same line as the checkbox. Edit forms.py to use the label attribute for the caption. Original patch modified by Sebastian Spaeth to 1) not translate the checkbox label in the template, it is translated in forms.py already. 2) Simplify the HTML, manually constructing the <label> tag is not necessary, WTforms does it automatically. Author: LotusEcho <Emma.C.Echo@gmail.com> Modified-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Added basic collection functionalityAaron Williamson2012-09-181-0/+16
|
* Edit comment-notification textJef van Schendel2012-07-201-2/+2
|
* Merge remote-tracking branch ↵Joar Wandborg2012-06-101-3/+4
|\ | | | | | | | | | | | | 'is_derek/bug405_email_notifications_for_comments' into notifications-merge Conflicts: mediagoblin/db/mongo/migrations.py
| * Updates to send email comments, included translation, better validation.Derek Moore2012-03-251-5/+1
| |
| * These are changes for issue #405, add email comment notification.Derek Moore2012-03-151-0/+5
| |
* | use _ function on some now untranslatable stringsJakob Kramer2012-04-191-1/+1
|/
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* Fix unit tests with new license supportElrond2012-01-211-0/+1
| | | | | Make the license field in the forms optional and let them properly be defaulted to "".
* Merged changes with upstreamAaron Williamson2012-01-171-5/+27
|\
| * Remove unnecessary piece of text in media.html. Fix "Markdown text" ↵Jef van Schendel2012-01-131-4/+3
| | | | | | | | indentation so they are the same.
| * Make show-password-js work for change password tooElrond2012-01-051-1/+2
| | | | | | | | | | | | | | | | The show password js depends on the password field to have an id of "password". So give it a proper id. Also fixed the label generation for the case of field.name and field.id being different.
| * Create edit_account.htmlJef van Schendel2012-01-051-12/+11
| |
| * Add Markdown for submit page, edit page, profile edit page; thus fixing ↵Jef van Schendel2012-01-041-2/+10
| | | | | | | | ticket #690
| * Fix #715: On media submit page, "Separate" is misspelledJef van Schendel2011-12-301-1/+1
| |
| * Fix the text "Seperate tags by commas and spaces" since spaces are not used ↵Manuel Urbano Santos2011-11-271-1/+1
| | | | | | | | to seperate anymore.
| * Fix for bug #467, "Add explanatory copy to add/edit picture pages saying ↵Jef van Schendel2011-11-201-1/+3
| | | | | | | | that tags are comma-separated"
| * added support for changing the password, issue #643Jakob Kramer2011-11-201-0/+13
| |
* | First crack at basic license support.Aaron Williamson2012-01-171-1/+4
|/
* Finished splitting util.py into separate files.Aaron Williamson2011-10-011-4/+2
|
* Added a description to the slug field on the media entry form.Christopher Allan Webber2011-09-041-3/+8
|
* 508. Updates copyright/license informationWill Kahn-Greene2011-09-011-1/+1
|
* Merge branch 'master' into jwandborg-f482_media_attachmentsChristopher Allan Webber2011-08-221-6/+9
|\ | | | | | | | | | | | | | | | | Conflicts: mediagoblin/config_spec.ini mediagoblin/edit/forms.py mediagoblin/edit/views.py mediagoblin/submit/views.py mediagoblin/templates/mediagoblin/user_pages/media.html
| * Converting all forms to use the "fake/null" gettext conversion functionChristopher Allan Webber2011-08-101-1/+1
| | | | | | | | | | Gettext doesn't actually get run right in the form but we do need to wrap the strings in _() so stuff extracts :)
| * Marked relevant strings in python views/forms for translation via ugettextChristopher Allan Webber2011-08-081-7/+10
| |
* | Feature #482 - Media attachments -Joar Wandborg2011-08-221-4/+6
| | | | | | | | | | * Moved attachment uploading to separate view * Support for multiple attachments!
* | Feature #482 - Media attachmentsJoar Wandborg2011-08-051-0/+4
|/
* Merge branch 'remotes/gullydwarf-cfdv/f360_tagging' (early part) into mergetagsChristopher Allan Webber2011-07-301-0/+4
|\ | | | | | | | | | | | | Conflicts: mediagoblin/config_spec.ini mediagoblin/edit/views.py mediagoblin/util.py
| * raises tag length error in form context instead of in message queueCaleb Forbes Davis V2011-07-211-1/+4
| |
| * uses standard functions instead of form filters and fixes taglist defaultCaleb Forbes Davis V2011-07-121-2/+0
| | | | | | | | | | | | | | | | | | - seems simpler to use the same tag field processing procedures on media submit and edit, so now processing with a regular function instead of a form filter. Filters run on form load and post by default. - moved tags to sidebar - taglist defaults to [] instead of None - adds case sensitivity toggle
| * displays the tags on edit correctly nowCaleb Forbes Davis V2011-07-121-1/+1
| | | | | | | | | | | | | | | | -before it was running the tags field through the submit filter. that was kind of dumb -removes the filter function from the edit form -adds unicode syntax in the filter function -uses split correctly when saving the edited tags to mongodb
| * adds filter function to parse and clean tags field inputCaleb Forbes Davis V2011-07-121-2/+3
| | | | | | | | | | - for some reason the tags are showing up in the media edit form with u'..' and surrounded with []. I don't know why, grr
| * F360(tagging) - adds tag fields for submission, edit and displayCaleb Forbes Davis V2011-07-081-0/+2
| |
* | Bug #437 - adds required validator to slug field for media edit'Caleb Forbes Davis V2011-07-071-1/+2
|/ | | | otherwise we get a 404 because we navigate to blank slug
* B #429 - form validation allows blank profile urlCaleb Forbes Davis V2011-07-051-1/+2
|
* Several small UI changes to edit profile page: moved header, changed form ↵Jef van Schendel2011-06-221-3/+3
| | | | wording, changed css class
* baby step towards enabling profile editscfdv2011-06-181-0/+7
| | | | | | | | | | | | | | | adds * url and bio fields to database * form for editing the user profile * route to the edit profile controller * view for the profile editing page * template for the profile editing page * link to edit profile in the welcome page still needs * thorough inspection to see if it makes sense * tests * ?
* Starting "edit" functionality.Elrond2011-05-261-0/+27
This adds a link to the "edit" form, the form, the view for displaying the form and that's about it.