Commit Graph

70 Commits

Author SHA1 Message Date
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
Markus 89a8cecb2a Implement user listing. 2016-03-22 01:06:25 +01:00
Markus dc2afe0e2a Fix user creation. 2016-03-22 00:41:31 +01:00
Markus be26efa343 Allow logins with fully qualified user names. 2016-03-21 23:35:11 +01:00
Markus 59962f53a1 Render buttons using a macro. 2016-03-21 23:16:50 +01:00
Xaver 3d82ce657a [TASK] Menu, logo and favicon 2016-03-21 22:54:08 +01:00
Markus 6dc0f4c98f Improve forms. 2016-03-21 21:43:25 +01:00
Markus 1c93fb0846 Add bootstrap-theme.min.css.map. 2016-03-21 20:48:12 +01:00
Markus ae02dc4944 Fix stupid bugs (dict in format). 2016-03-20 17:17:13 +01:00
Markus 60f6671d1d Better feedback (success/error). 2016-03-20 16:33:23 +01:00
Markus 8426e00037 Implement adding users. 2016-03-20 16:26:14 +01:00
Markus 85d4f414cc Make use of bootstrap glyphicons. 2016-03-20 16:16:05 +01:00