Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use factory pattern to create app | Alexander Sulfrian | 2016-02-02 | 3 | -22/+29 | |
| | ||||||
* | manage.py: Add ListUsers command | Alexander Sulfrian | 2016-02-02 | 1 | -1/+29 | |
| | ||||||
* | utils/login: Add create_login_manager | Alexander Sulfrian | 2016-02-02 | 2 | -15/+21 | |
| | ||||||
* | manage.py: Remove reference to app | Alexander Sulfrian | 2016-02-02 | 1 | -7/+5 | |
| | ||||||
* | utils/sessions: Automatic permanent sessions | Alexander Sulfrian | 2016-02-02 | 2 | -15/+15 | |
| | ||||||
* | login: Customize login_message | Alexander Sulfrian | 2016-02-02 | 1 | -0/+1 | |
| | ||||||
* | backend/user/ldap: New LdapBackend | Alexander Sulfrian | 2016-02-02 | 2 | -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 attributes | Alexander Sulfrian | 2016-02-02 | 3 | -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 now | Alexander Sulfrian | 2016-02-02 | 3 | -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 command | Alexander Sulfrian | 2016-02-02 | 2 | -1/+78 | |
| | ||||||
* | Use better defaults in settings | Alexander Sulfrian | 2016-02-02 | 1 | -2/+2 | |
| | ||||||
* | Code style | Alexander Sulfrian | 2016-02-02 | 1 | -3/+3 | |
| | ||||||
* | Get services from config | Alexander Sulfrian | 2016-02-02 | 4 | -26/+31 | |
| | ||||||
* | Create new login blueprint | Alexander Sulfrian | 2016-02-02 | 7 | -45/+67 | |
| | | | | The login and logout view are now in the login blueprint. | |||||
* | Redirect to login page | Alexander Sulfrian | 2016-02-02 | 3 | -5/+2 | |
| | ||||||
* | Rename views: settings->index, index->login | Alexander Sulfrian | 2016-02-02 | 5 | -97/+97 | |
| | ||||||
* | Fix comment | Alexander Sulfrian | 2016-02-02 | 1 | -3/+2 | |
| | ||||||
* | Fix sorting of imports | Alexander Sulfrian | 2016-02-02 | 1 | -1/+1 | |
| | ||||||
* | Update account password on change in dummy backend | Alexander Sulfrian | 2016-02-02 | 1 | -5/+5 | |
| | ||||||
* | Use Flask-Login for login handling | Alexander Sulfrian | 2016-02-02 | 9 | -104/+102 | |
| | ||||||
* | Simplify configuration loading | Alexander Sulfrian | 2016-02-02 | 1 | -3/+1 | |
| | ||||||
* | Use URLSafeTimedSerializer for confirmation token | Alexander Sulfrian | 2016-02-02 | 3 | -90/+34 | |
| | ||||||
* | Create models.py with Account and Service | Alexander Sulfrian | 2016-02-02 | 4 | -76/+76 | |
| | ||||||
* | Use consistent exceptions for all user backends | Alexander Sulfrian | 2016-02-02 | 5 | -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 default | Alexander Sulfrian | 2016-02-02 | 7 | -34/+71 | |
| | | | | | Before we just encrypted the password, now we encrypt the whole session information by default. | |||||
* | Create utils package | Alexander Sulfrian | 2016-02-02 | 1 | -0/+0 | |
| | ||||||
* | Bump flask version | Alexander Sulfrian | 2016-02-02 | 1 | -1/+1 | |
| | | | | Flask-0.10 has better support for signed sessions based on itsdangerous. | |||||
* | Drop before first request | Alexander Sulfrian | 2016-02-02 | 1 | -7/+5 | |
| | | | | @app.before_first_request is the same as duing it runing app creation | |||||
* | Remove context_processor with single use | Alexander Sulfrian | 2016-02-02 | 2 | -7/+3 | |
| | | | | | If we need the variable only in a single view, we can simply supply this value for this single view. | |||||
* | Remove blueprint name for "blueprint-local" urls | Alexander Sulfrian | 2016-02-02 | 2 | -5/+5 | |
| | ||||||
* | Move general views into blueprint | Alexander Sulfrian | 2016-02-02 | 13 | -268/+269 | |
| | | | | The use of a default blueprint allows more independence of the app object. | |||||
* | Do not disbale csrf | Alexander Sulfrian | 2016-01-25 | 1 | -5/+5 | |
| | ||||||
* | Use validate_on_submit helper | Alexander Sulfrian | 2016-01-25 | 1 | -6/+6 | |
| | | | | | There is no need to validate the request.method by hand, the validate_on_submit helper does that. | |||||
* | Remove unused import | Alexander Sulfrian | 2016-01-25 | 1 | -1/+0 | |
| | ||||||
* | backend/user: Allow different backends for users | Alexander Sulfrian | 2016-01-25 | 9 | -344/+476 | |
| | ||||||
* | backend/mail: Allow different backends for mail | Alexander Sulfrian | 2016-01-25 | 8 | -38/+115 | |
| | ||||||
* | Account: Allow direct access to attribues | Alexander Sulfrian | 2016-01-25 | 1 | -0/+7 | |
| | ||||||
* | All forms should contain a non-empty action | Alexander Sulfrian | 2016-01-25 | 2 | -2/+2 | |
| | ||||||
* | Render most forms automatically, csrf is also only a field | Alexander Sulfrian | 2016-01-25 | 9 | -54/+54 | |
| | | | | | | Most forms could be rendered in a loop, so that it automatically contains all fields. The csrf field is only a field, too. So that it could be rendered with render_field, too. | |||||
* | Moved everything into a package | Alexander Sulfrian | 2016-01-25 | 30 | -2/+2 | |
| | ||||||
* | Add flask-script | Alexander Sulfrian | 2016-01-25 | 2 | -0/+19 | |
| | ||||||
* | Move admin interface into a blueprint | Alexander Sulfrian | 2016-01-25 | 9 | -85/+104 | |
| | ||||||
* | Bump flask version | Alexander Sulfrian | 2016-01-22 | 5 | -138/+8 | |
| | ||||||
* | improve wording about service passwords | Marian Sigler | 2015-12-07 | 1 | -4/+10 | |
| | ||||||
* | utils: also set envelop sender for mails | Alexander Sulfrian | 2014-01-10 | 1 | -1/+7 | |
| | ||||||
* | Added in about 'Wie kann ich einen Spline-Account löschen?' | Nico von Geyso | 2013-11-02 | 1 | -0/+7 | |
| | ||||||
* | Re-Enabled jabber service entry | mk | 2013-10-21 | 1 | -1/+1 | |
| | ||||||
* | remove a line I forgot to remove ... :/ | Marian Sigler | 2013-05-23 | 1 | -2/+0 | |
| | ||||||
* | use a constant time compare when verifying confirmation links | Marian Sigler | 2013-05-23 | 1 | -1/+27 | |
| | ||||||
* | add possibility to disable accounts | Marian Sigler | 2013-05-09 | 5 | -3/+84 | |
| |