summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* utils: Drop python-ldap in favour of ldap3HEADmasterAlexander Sulfrian2016-01-121-22/+18
| | | | The ldap3 library is python3 compatible and more future proof.
* forms: Try to disable autocomplete on forms with password fieldsAlexander Sulfrian2016-01-121-0/+12
| | | | | | | | By default browsers (at least chrome is very agressive) try to detect forms with password inputs and try to insert saved passwords (for example from the login page). The default attribute to disable this (autocomplete=off) is ignored sometimes. Therefore we add two hidden input fields, that disable the auto filling at least in chrome.
* forms: Fix customization of input fieldsAlexander Sulfrian2016-01-121-7/+0
| | | | | The sqlalchemy extension of wtforms does not allow to customize the generated field for specific columns, but only the generated widget.
* utils: Call __init__ from base class from TextAreaAlexander Sulfrian2016-01-121-0/+1
| | | | | The derived class should call __init__ from its base class. The call was missing in the extended TextArea.
* login: Do not redirect to /loginAlexander Sulfrian2016-01-111-1/+1
| | | | | If you accessed "/login" with "/login" as referrer, you got redirected to the login page again after successful login.
* Use sqlalchemy, flask-migrate, flask-login and flask-scriptAlexander Sulfrian2016-01-109-0/+304
No peewee anymore. All dependencies are available as debian packages now.