1
0
mirror of https://github.com/moepman/bk-dss synced 2024-06-02 01:32:33 +02:00
Commit Graph

56 Commits

Author SHA1 Message Date
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
ae02dc4944 Fix stupid bugs (dict in format). 2016-03-20 17:17:13 +01:00
60f6671d1d Better feedback (success/error). 2016-03-20 16:33:23 +01:00
8426e00037 Implement adding users. 2016-03-20 16:26:14 +01:00
85d4f414cc Make use of bootstrap glyphicons. 2016-03-20 16:16:05 +01:00
365b313544 Make more use of bootstrap. 2016-03-20 16:10:00 +01:00
71bfe671ed Start implementation of a create user dialog. 2016-02-10 17:03:09 +01:00
4fff031fc4 Refactor navigation. 2016-02-10 17:00:40 +01:00
516b448422 Simplify form validation. 2016-02-10 16:56:54 +01:00
42718082a1 Rename Project. 2016-02-10 16:52:01 +01:00
f465f7cade Update bootstrap to v3.3.6. 2016-02-01 08:28:29 +01:00
89b96293ec Improve error-handling. 2016-02-01 08:27:43 +01:00
23c88975ca Add some error messages and improve edit dialog. 2015-10-01 17:06:33 +02:00
60e5380d37 Refactor isLoggedin. 2015-10-01 16:39:19 +02:00
3dde9cb790 Minor cleanup. 2015-09-30 16:31:27 +02:00
c3c76ec772 Fix navigation if session expired. 2015-09-28 23:28:55 +02:00
33e5432c5e Implement password changing and configurable session timeout. 2015-09-28 21:27:56 +02:00
6705ce83cc First edit implementation (doesn't do too much). 2015-06-18 19:14:24 +02:00
b75552b0b3 Working login/logout. Generate navigation based on login status. 2015-06-17 20:34:30 +02:00