summaryrefslogtreecommitdiffstats
path: root/forms.py
Commit message (Collapse)AuthorAgeFilesLines
* Use sqlalchemy, flask-migrate, flask-login and flask-scriptAlexander Sulfrian2016-01-101-31/+57
| | | | No peewee anymore. All dependencies are available as debian packages now.
* forms: add ChangePad to edit an existing padAlexander Sulfrian2014-11-191-0/+5
|
* forms: validate pad name uniqueness in CreatePadAlexander Sulfrian2014-11-191-2/+17
|
* forms: add CreatePadAlexander Sulfrian2014-11-191-2/+13
|
* forms: generalize DeleteGroup for generic confirmationAlexander Sulfrian2014-11-191-3/+2
| | | | | | | | Group deletion is now done with an extra confirmation step on a new page. There is a simple confirmation form that only contains a hidden field and the csrf magic. This commit also removes the direct deletion form on the group page and replace is with a simple button to the new confirmation page.
* group_change: add form/template/view to change a groupAlexander Sulfrian2014-11-191-2/+7
|
* widgets: add TextArea, that caches rows/cols until renderingAlexander Sulfrian2014-11-191-1/+4
|
* forms: use Form from flask.ext.wtf as base for all formsAlexander Sulfrian2014-11-191-2/+3
| | | | | Form from flask.ext.wtf has automatic csfr handling included. We need to hide this form fields but we get extra security for nothing more.
* forms: use models_form from wtfpeewee for CreateGroupAlexander Sulfrian2014-11-191-10/+12
|
* add public field for groupsAlexander Sulfrian2013-09-041-1/+2
|
* forms: group name should not start with special characterAlexander Sulfrian2013-09-041-0/+2
| | | | | | | | The route /<group_name>/ is used for displaying the group infos. If you want to support additional sites (like all public browsable groups), you need a possibility to recognize such urls. So the group name now has to start with a non special characters. So we could support paths like /_all/ for special pages.
* forms: fix regexpAlexander Sulfrian2013-09-041-1/+1
|
* add ability to delete groupsAlexander Sulfrian2013-09-041-1/+5
|
* add ability to create new groupsAlexander Sulfrian2013-09-041-0/+11