1
0
mirror of https://github.com/moepman/bk-dss synced 2024-12-22 18:24:27 +01:00
Commit Graph

74 Commits

Author SHA1 Message Date
a8b5a68a8c dss.py: use FlaskForm instead of deprecated Form 2020-09-10 11:18:41 +02:00
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
16642ffea4 templates: update Flask URL 2020-09-09 16:56:44 +02:00
233bcfa3e0 templates: move imports after extends statement 2020-09-09 16:17:05 +02:00
37e82e9648 Update README, add requirements file 2019-11-07 22:13:51 +01:00
bd41078ac3 Update bootstrap to 3.4.1 2019-11-07 21:26:37 +01:00
e33150507d list: also display numberic uid 2019-05-16 16:13:05 +02:00
b643c6ca18 dss: refactor ReadOnlyField 2019-04-01 19:29:06 +02:00
ccb9861dc2 add LICENSE 2019-04-01 19:28:03 +02:00
3d65393f19 Properly protect create and list functionality 2019-03-22 12:57:02 +01:00
e4ed76957f Add another missing encode() 2019-02-26 14:04:19 +01:00
251dc90ce8 Remove unused variable 2019-02-25 09:59:37 +01:00
9e0275eef2 Improve uwsgi example config 2019-02-12 09:42:07 +01:00
1c573cd15b Fix source URL in footer 2019-02-12 09:40:20 +01:00
c4ce7c41ea Be compatible with Flask-WTF 0.12.x 2019-02-12 09:39:56 +01:00
41b8689033 fix byte string and error handling 2019-02-11 16:16:40 +01:00
f88da30fe6 fix account listing for python3 2019-02-11 15:53:17 +01:00
c1cd8bded1 Refactor function names according to PEP8. 2019-02-09 13:30:05 +01:00
8d7b72bf07 Indention and imports according to PEP8. 2019-02-09 13:23:36 +01:00
f8ef1ec006 Bump requirements, drop py- prefix. 2018-10-08 14:20:53 +02:00
2a616874d8 Use FlaskForm instead of deprecated Form. 2018-10-08 13:57:50 +02:00
187bfe4f42 dss.py: remove superfluous assignment
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-17 22:26:49 +02:00
8a6ddb479c dss.py: simplify credential handling
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-17 22:25:18 +02:00
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
cb18911ce4 dss.py: minor stylistic fixup
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-17 22:23:04 +02:00
110fad8605 dss.py: remove superfluous newline
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-17 22:23:00 +02:00
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
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
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
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
ca364a7dd4 Ingore venv directory. 2017-03-20 17:10:32 +01:00
6c69d9f622 Prepare for uWSGI usage. 2017-03-20 16:56:56 +01:00
b1e0035e83 Minor cleanup. 2017-01-21 18:48:33 +01:00
c0e3a3558a Remove unused import. 2017-01-21 18:44:11 +01:00
6297785546 Add support for custom CA certificates. 2017-01-21 18:24:14 +01:00
8667f788f1 Add password support 2016-11-10 08:11:25 +01:00
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
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
5aabd7ed6d Rename ReadOnlyStringField to ReadOnlyField. 2016-04-16 21:06:19 +02:00
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
9420e9913d Use the correct css.map file. 2016-03-22 13:25:58 +01:00
c792b687e0 Use error glypchicon in form errors. 2016-03-22 13:23:10 +01:00
7ba6c86e2d Minor text improvements. 2016-03-22 01:09:35 +01:00
89a8cecb2a Implement user listing. 2016-03-22 01:06:25 +01:00
dc2afe0e2a Fix user creation. 2016-03-22 00:41:31 +01:00
be26efa343 Allow logins with fully qualified user names. 2016-03-21 23:35:11 +01:00
59962f53a1 Render buttons using a macro. 2016-03-21 23:16:50 +01:00
3d82ce657a [TASK] Menu, logo and favicon 2016-03-21 22:54:08 +01:00
6dc0f4c98f Improve forms. 2016-03-21 21:43:25 +01:00
1c93fb0846 Add bootstrap-theme.min.css.map. 2016-03-21 20:48:12 +01:00