summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* base: Add missing parenthesesAlexander Sulfrian2016-09-291-1/+1
|
* 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-272-2/+20
|
* login: Add missing parenthesesAlexander Sulfrian2016-02-273-3/+3
|
* app: Initialize the backends lastAlexander Sulfrian2016-02-151-3/+3
| | | | | The backends need some data (f.e. app.all_services) also initalized in create_app(), so they need to be initialized later.
* Rename app to applicationAlexander Sulfrian2016-02-151-1/+1
| | | | | The app in the wsgi file should be called application (at least for the --wsgi-file option of uwsgi).
* forms: Fix typoAlexander Sulfrian2016-02-151-1/+1
|
* Code styleAlexander Sulfrian2016-02-027-53/+48
|
* forms: No need to supply request.form to the FormsAlexander Sulfrian2016-02-022-7/+8
| | | | The wtforms classes get the request data by default.
* manage.py: Replace contrib/create_accounts.pyAlexander Sulfrian2016-02-022-83/+42
| | | | Replace the contrib script with a command in the manage.py.
* utils/console: Add helper class to handle formsAlexander Sulfrian2016-02-021-0/+39
| | | | The wtforms classes need some helper to work on the command line.
* utils/console: Allow empty output with TablePrinterAlexander Sulfrian2016-02-021-1/+2
|
* Allow to manually load a config fileAlexander Sulfrian2016-02-022-2/+5
|
* Fix relative file paths in the configAlexander Sulfrian2016-02-021-1/+18
| | | | | Relative file paths in the config should be relative to the directory containing the config file itself.
* Code styleAlexander Sulfrian2016-02-021-4/+3
|
* templates/mail: Get all parts from the templateAlexander Sulfrian2016-02-0213-66/+113
| | | | | | | 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.
* utils: Drop custom url_forAlexander Sulfrian2016-02-022-15/+4
| | | | Since flask-0.9 we can use config.PREFERRED_URL_SCHEME.
* forms: Move regexp from utilsAlexander Sulfrian2016-02-022-5/+6
| | | | | The username and username_exclude regexp are only used in the forms, so we move the definition there.
* forms: Remove unused variableAlexander Sulfrian2016-02-021-5/+0
|
* manage.py: Fix url_for for console commandsAlexander Sulfrian2016-02-022-2/+20
|
* Use factory pattern to create appAlexander Sulfrian2016-02-023-22/+29
|
* manage.py: Add ListUsers commandAlexander Sulfrian2016-02-021-1/+29
|
* utils/login: Add create_login_managerAlexander Sulfrian2016-02-022-15/+21
|
* manage.py: Remove reference to appAlexander Sulfrian2016-02-021-7/+5
|
* utils/sessions: Automatic permanent sessionsAlexander Sulfrian2016-02-022-15/+15
|
* login: Customize login_messageAlexander Sulfrian2016-02-021-0/+1
|
* backend/user/ldap: New LdapBackendAlexander Sulfrian2016-02-022-156/+120
| | | | | | | | | | | | | | Change the schema used in the LDAP server. The service passwords are now associated by the hierarchy: dn: uid=test,ou=users,... dn: cn=service1,uid=test,ou=users,... dn: cn=service2,uid=test,ou=users,... ... This is the new structure used with the new Slapi plugin. Additional to that, the new backend uses the python-ldap3 module, because python-ldap has no python3 compatibility.
* Account: Support direct setting of attributesAlexander Sulfrian2016-02-023-3/+11
| | | | | | | | | | | | | | | 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.
* backend/user: Delete requires an Account nowAlexander Sulfrian2016-02-023-4/+3
| | | | | | delete does not support deletion by uid anymore. It requires an Account instance and get the password from the object. So we drop the additional password argument.
* manage: Add list-services commandAlexander Sulfrian2016-02-022-1/+78
|
* Use better defaults in settingsAlexander Sulfrian2016-02-021-2/+2
|
* Code styleAlexander Sulfrian2016-02-021-3/+3
|
* Get services from configAlexander Sulfrian2016-02-024-26/+31
|
* Create new login blueprintAlexander Sulfrian2016-02-027-45/+67
| | | | The login and logout view are now in the login blueprint.
* Redirect to login pageAlexander Sulfrian2016-02-023-5/+2
|
* Rename views: settings->index, index->loginAlexander Sulfrian2016-02-025-97/+97
|
* Fix commentAlexander Sulfrian2016-02-021-3/+2
|
* Fix sorting of importsAlexander Sulfrian2016-02-021-1/+1
|
* Update account password on change in dummy backendAlexander Sulfrian2016-02-021-5/+5
|
* Use Flask-Login for login handlingAlexander Sulfrian2016-02-029-104/+102
|
* Simplify configuration loadingAlexander Sulfrian2016-02-021-3/+1
|
* Use URLSafeTimedSerializer for confirmation tokenAlexander Sulfrian2016-02-023-90/+34
|
* Create models.py with Account and ServiceAlexander Sulfrian2016-02-024-76/+76
|
* Use consistent exceptions for all user backendsAlexander Sulfrian2016-02-025-11/+25
| | | | | | Now all backends raise custom exception types and does not forward the internal exception types. So there is no need to import the ldap module in other modules.
* Encrypt the session data by defaultAlexander Sulfrian2016-02-027-34/+71
| | | | | Before we just encrypted the password, now we encrypt the whole session information by default.
* Create utils packageAlexander Sulfrian2016-02-021-0/+0
|
* Bump flask versionAlexander Sulfrian2016-02-021-1/+1
| | | | Flask-0.10 has better support for signed sessions based on itsdangerous.
* Drop before first requestAlexander Sulfrian2016-02-021-7/+5
| | | | @app.before_first_request is the same as duing it runing app creation
* Remove context_processor with single useAlexander Sulfrian2016-02-022-7/+3
| | | | | If we need the variable only in a single view, we can simply supply this value for this single view.