aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit/forms.py
Commit message (Collapse)AuthorAgeFilesLines
* Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.Ben Sturmfels2021-03-051-6/+6
|
* Fix #994: Also set self.data when no change made to URL.Ben Sturmfels2015-09-081-1/+2
| | | | This partially reverts 2a1082e3
* Use StringField.process_formdata() if valuelist is empty.Berker Peksag2015-08-251-4/+6
|
* Fix #994: Don't require users to type the website URL scheme when updating ↵Ben Sturmfels2015-08-251-2/+18
| | | | | | | profile. Adds 'http://' if no scheme is provided. Eg. If you enter 'www.example.com', this will be updated to 'http://www.example.com'.
* wtforms.fields.TextField was deprecatedJakob Kramer2015-03-121-11/+11
| | | | | | | WTForms documentation: > The TextField alias for StringField is deprecated. Signed-off-by: Berker Peksag <berker.peksag@gmail.com>
* Add location model and migrationsJessica Tallon2014-10-091-0/+1
|
* Fixes #899 : DeprecationWarning about Required going away in WTForms 3.0. ↵Loïc Le Ninan2014-06-131-7/+7
| | | | Replaced Required with InputRequired.
* Tweaked the metadata edit screen to run jsonschema validators against the data.tilly-Q2014-05-141-2/+30
|
* Made some changes so that the metadata editing page works well with the updatedtilly-Q2014-05-121-3/+0
| | | | metadata tools.
* Changed the format of the wtforms table slightlytilly-Q2014-05-121-2/+2
|
* Created a UI for editting a media's metadata. Had to add a new macro totilly-Q2014-05-061-5/+6
| | | | wtforms.html in the process.
* Set up the metadata editor formstilly-Q2014-05-061-2/+8
|
* Created the media metadata editor pagetilly-Q2014-05-061-0/+5
|
* Fixing ALL THE BROKEN TESTS. I probably broke most of them.Christopher Allan Webber2013-09-291-1/+1
| | | | | | | | | | - We've now broken out user.html and user_nonactive.html but the tests didn't reflect it - the location of one of the module imports broke, but I didn't notice because of .pyc files ;) This commit sponsored by Tiberiu C. Turbureanu (ceata.org). Thank you!
* Merge remote-tracking branch 'refs/remotes/rodney757/auth_refactor'Christopher Allan Webber2013-09-191-0/+1
|\ | | | | | | | | | | | | Conflicts: mediagoblin/auth/views.py mediagoblin/edit/forms.py mediagoblin/templates/mediagoblin/edit/edit_account.html
| * moved change_pass to basic_auth and fixed some typos with the moving of ↵Rodney Ewing2013-08-161-13/+0
| | | | | | | | forgot pass
* | Improve checkbox descriptionSebastian Spaeth2013-09-041-1/+1
| | | | | | | | Do not Enable/Disable next to a checkbox. So what does an enabled checkbox do then?
* | Merge remote-tracking branch 'refs/remotes/rodney757/email'Christopher Allan Webber2013-08-251-4/+12
|\ \
| * | maybe have change password and email on same pageRodney Ewing2013-08-201-4/+12
| |/
* / add user prefrence for insite notificationsRodney Ewing2013-08-201-0/+2
|/
* fix for boolean fieldsRodney Ewing2013-07-111-1/+0
|
* added feature to render_divs where if field.label == '' then it will render ↵Rodney Ewing2013-06-251-2/+3
| | | | form.description the same a render_label
* Removing the "enter your password to change your email" bit.Christopher Allan Webber2013-06-211-6/+0
| | | | | | | A good idea, though it feels fairly clumsy in the form, and I think if you're logged in you can already sabotage the user pretty well. This commit sponsored by Sergey Matveev. Thanks!
* added support for user to change email addressRodney Ewing2013-05-241-1/+13
|
* fixed translation, and changed tabs to spaces, and change it so the user can ↵Rodney Ewing2013-05-211-1/+2
| | | | view their password as they're typing.
* moved change pass to a seperate view and fixed issues 709Rodney Ewing2013-05-201-11/+12
|
* Fix-bug-667-Use-lazy_pass_to_ugettext-for-forms.Aditi Mittal2013-04-241-1/+1
|
* 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
|