summaryrefslogtreecommitdiffstats
path: root/accounts/views
Commit message (Collapse)AuthorAgeFilesLines
* Add some type annotationsJonah BrĂ¼chert2024-03-283-49/+56
|
* Update dependenciesJonah BrĂ¼chert2023-05-221-3/+3
|
* Updated Flask-Login => is_authenticated is not a method anymoreVincent Post2023-05-222-2/+2
|
* Flask-WTF renamed Form to FlaskFormVincent Post2023-05-221-1/+1
|
* pushed flask to 0.11Vincent Post2023-05-224-4/+4
|
* 2to3 -w accounts contribVincent Post2023-05-224-28/+28
|
* views: Use error handler for all exceptionsAlexander Sulfrian2016-10-041-1/+7
|
* index: Update user without admin rightsAlexander Sulfrian2016-04-051-1/+1
| | | | | The ACLs of the LDAP server are adjusted, so that an update does not require admin rights anymore.
* lost_password: Fix confirmationroot2016-02-291-1/+1
| | | | All confirmations return tuple with the data.
* login: Redirect to next url after loginAlexander Sulfrian2016-02-271-2/+18
|
* login: Add missing parenthesesAlexander Sulfrian2016-02-272-2/+2
|
* Code styleAlexander Sulfrian2016-02-021-5/+5
|
* forms: No need to supply request.form to the FormsAlexander Sulfrian2016-02-022-7/+8
| | | | The wtforms classes get the request data by default.
* templates/mail: Get all parts from the templateAlexander Sulfrian2016-02-022-34/+16
| | | | | | | Also render sender and subject with the mail template, so the mails can be created with only a template name, a recipient and the template args. The required confirmation links are also generated in the templates.
* Account: Support direct setting of attributesAlexander Sulfrian2016-02-022-3/+3
| | | | | | | | | | | | | | | Direct access to additional attributes was possible before, but setting the same value, created a new local property: >>> acc = Account(...) >>> acc.mail == acc.attributes['mail'] True >>> acc.mail = "foobar" >>> acc.mail == acc.attributes['mail'] False Not also assignments are possible and all assignments to unknown properties will create new attributes.
* Create new login blueprintAlexander Sulfrian2016-02-023-32/+50
| | | | The login and logout view are now in the login blueprint.
* Redirect to login pageAlexander Sulfrian2016-02-021-1/+1
|
* Rename views: settings->index, index->loginAlexander Sulfrian2016-02-021-17/+17
|
* Use Flask-Login for login handlingAlexander Sulfrian2016-02-022-32/+34
|
* Use URLSafeTimedSerializer for confirmation tokenAlexander Sulfrian2016-02-021-5/+6
|
* Create models.py with Account and ServiceAlexander Sulfrian2016-02-021-1/+1
|
* Encrypt the session data by defaultAlexander Sulfrian2016-02-021-2/+2
| | | | | Before we just encrypted the password, now we encrypt the whole session information by default.
* Remove context_processor with single useAlexander Sulfrian2016-02-021-1/+3
| | | | | If we need the variable only in a single view, we can simply supply this value for this single view.
* Move general views into blueprintAlexander Sulfrian2016-02-021-0/+246
| | | | The use of a default blueprint allows more independence of the app object.
* backend/user: Allow different backends for usersAlexander Sulfrian2016-01-251-1/+1
|
* backend/mail: Allow different backends for mailAlexander Sulfrian2016-01-251-2/+2
|
* Moved everything into a packageAlexander Sulfrian2016-01-252-0/+90