Commit Graph

25 Commits

Author SHA1 Message Date
Markus 404fc51fd6 allow to select the primary group for a new user 2020-09-11 10:58:10 +02:00
Markus 70af9f56dd refactore more single character variable names 2020-09-10 12:53:05 +02:00
Markus d827884fbf refactor variable names to improve readability 2020-09-10 12:14:17 +02:00
Markus a8b5a68a8c dss.py: use FlaskForm instead of deprecated Form 2020-09-10 11:18:41 +02:00
Markus e33150507d list: also display numberic uid 2019-05-16 16:13:05 +02:00
Markus b643c6ca18 dss: refactor ReadOnlyField 2019-04-01 19:29:06 +02:00
Markus 3d65393f19 Properly protect create and list functionality 2019-03-22 12:57:02 +01:00
Markus e4ed76957f Add another missing encode() 2019-02-26 14:04:19 +01:00
Markus 251dc90ce8 Remove unused variable 2019-02-25 09:59:37 +01:00
Markus c4ce7c41ea Be compatible with Flask-WTF 0.12.x 2019-02-12 09:39:56 +01:00
Markus 41b8689033 fix byte string and error handling 2019-02-11 16:16:40 +01:00
Markus f88da30fe6 fix account listing for python3 2019-02-11 15:53:17 +01:00
Markus c1cd8bded1 Refactor function names according to PEP8. 2019-02-09 13:30:05 +01:00
Markus 8d7b72bf07 Indention and imports according to PEP8. 2019-02-09 13:23:36 +01:00
Markus 2a616874d8 Use FlaskForm instead of deprecated Form. 2018-10-08 13:57:50 +02:00
Ralf Ramsauer 187bfe4f42 dss.py: remove superfluous assignment
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-17 22:26:49 +02:00
Ralf Ramsauer 8a6ddb479c dss.py: simplify credential handling
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-17 22:25:18 +02:00
Ralf Ramsauer 1f88227664 dss.py: automatically decode REDIS responses
... as UTF-8

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-17 22:23:13 +02:00
Ralf Ramsauer cb18911ce4 dss.py: minor stylistic fixup
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-17 22:23:04 +02:00
Ralf Ramsauer 110fad8605 dss.py: remove superfluous newline
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-17 22:23:00 +02:00
Ralf Ramsauer 44dbd1d36c dss.py: fix python3 ldap exception handling
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-17 22:22:56 +02:00
Ralf Ramsauer be150eb06f dss.py: Use DataRequired() instead of Required()
Required() is deprecated.

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-17 22:22:51 +02:00
Ralf Ramsauer d2f1b94964 dss.py: reorder imports statements
Increases readability.

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-17 22:22:46 +02:00
Ralf Ramsauer a2da0092c6 dss.py: enforce python3
Some systems come with python2 as default interpreter.

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-17 22:22:42 +02:00
Markus 6c69d9f622 Prepare for uWSGI usage. 2017-03-20 16:56:56 +01:00