Commit Graph

81 Commits

Author SHA1 Message Date
Markus 0819407a6a Use https URL for link to bootstrap 2023-01-09 10:21:24 +01:00
Markus 0a439325df ignore pycharm and python cache files 2023-01-06 23:58:04 +01:00
Markus 3ad423575b add settings for secure cookies 2023-01-06 23:54:09 +01:00
Markus c66250daaf add some missing attributes and settings 2023-01-06 23:54:05 +01:00
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 933443f30e upgrdae to bootstrap 4
adjust classes to look okay with bootstrap 4
replace glyphicons with inline svgs from bootstrap-icons
2020-09-10 10:50:47 +02:00
Markus 16642ffea4 templates: update Flask URL 2020-09-09 16:56:44 +02:00
Markus 233bcfa3e0 templates: move imports after extends statement 2020-09-09 16:17:05 +02:00
Markus 37e82e9648 Update README, add requirements file 2019-11-07 22:13:51 +01:00
Markus bd41078ac3 Update bootstrap to 3.4.1 2019-11-07 21:26:37 +01: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 ccb9861dc2 add LICENSE 2019-04-01 19:28:03 +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 9e0275eef2 Improve uwsgi example config 2019-02-12 09:42:07 +01:00
Markus 1c573cd15b Fix source URL in footer 2019-02-12 09:40:20 +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 f8ef1ec006 Bump requirements, drop py- prefix. 2018-10-08 14:20:53 +02: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 ca364a7dd4 Ingore venv directory. 2017-03-20 17:10:32 +01:00
Markus 6c69d9f622 Prepare for uWSGI usage. 2017-03-20 16:56:56 +01:00
Markus b1e0035e83 Minor cleanup. 2017-01-21 18:48:33 +01:00
Markus c0e3a3558a Remove unused import. 2017-01-21 18:44:11 +01:00
Markus 6297785546 Add support for custom CA certificates. 2017-01-21 18:24:14 +01:00
Markus 8667f788f1 Add password support 2016-11-10 08:11:25 +01:00
Markus 9669790224 Improve error handling.
Some LDAPErrors might not contain a info or desc value, only add them
tothe message if they exist.
2016-04-16 21:15:58 +02:00
Markus 46e560cef9 Rename function list to list_users.
The function list shadowed the built-in type list leading to weird
TypeError exceptions in the user creation.

While at it list the users cn before the dn to improve readability.
2016-04-16 21:06:19 +02:00
Markus 5aabd7ed6d Rename ReadOnlyStringField to ReadOnlyField. 2016-04-16 21:06:19 +02:00
Markus a01d33d989 Change navigation handling.
Use a tuple instead of a single string so that the name can differ
significantly from the function that is called.
2016-04-16 21:06:15 +02:00
Markus 9420e9913d Use the correct css.map file. 2016-03-22 13:25:58 +01:00
Markus c792b687e0 Use error glypchicon in form errors. 2016-03-22 13:23:10 +01:00
Markus 7ba6c86e2d Minor text improvements. 2016-03-22 01:09:35 +01:00