Commit graph

22 commits

Author SHA1 Message Date
Khanh Ngo 8ea00b9484
Refactoring the code
- Use Flask blueprint
- Split model and views into smaller parts
- Bug fixes
- API adjustment
2019-12-02 10:32:03 +07:00
Khanh Ngo 1e6b668189
Fix changing user role js event 2018-12-03 09:39:02 +07:00
Khanh Ngo 5f049debe5 Adding Flask-SeaSurf module for CSRF protection. 2018-11-21 10:24:33 +07:00
Josh Soref 3c7da371d2 spelling: privilege 2018-10-02 07:23:41 +00:00
Khanh Ngo ccd2d8c31a Code adjustment as LGTM.com 2018-09-06 11:35:54 +07:00
Khanh Ngo 3457d9214a Adding Operator role 2018-08-31 11:57:06 +07:00
Khanh Ngo ada6f844ff
Read LDAP config from DB instead of file. Adjustment in site titles 2018-08-18 22:42:18 +07:00
Khanh Ngo 4b9349c83e
Create DB config for pdns and authentication setting 2018-08-18 18:41:59 +07:00
Thomas M Steenholdt 0ac33aa3c4 Add option to edit users from the comfort of the UI
Update user management feature to allow editing user details directly in the admin user interface.

Also added an option to reset the two factor authentication data of a user, for when that's needed (lost device, technical issues etc).

(cherry picked from commit 3139616282a18c11463c6ecf78888417b2ac1c35)
2018-08-12 07:47:37 -02:00
Thomas M Steenholdt ccec6c37b4 Restrict certain admin changes on the current user
Disable the admin toggle and delete operations from the current user, to avoid accidents.

(cherry picked from commit b0f5ac6df5d31f612dc833a88cfca8936c4137d7)
2018-06-06 09:15:25 -02:00
Khanh Ngo 6fa8ae37f0 Fix #180. Adjustment in table style. 2018-04-01 15:48:08 +07:00
Khanh Ngo ce6c3c21f1 Show user email address in user management table 2018-03-31 06:53:57 +07:00
Ivan Filippov ea79c01aff Added SCRIPT_ROOT parameter. Fixes #52.
Adds a new javascript parameter that holds the webroot of the app. This
allows the the javascript calls to properly identify that they're
running in a subfolder/different webroot and direct their queries there.
2016-07-05 21:34:21 -06:00
Ivan Filippov 9794e221aa Replace direct 'click' event binding with delegated binding. Fixes #58.
Direct binding only works for elements already in the DOM, delegated
binding works for all elements that match a filter even if created after
the DOM is fully loaded.
2016-07-01 16:31:14 -06:00
Khanh Ngo d837e878e4 Convert tabs to spaces in HTML template files. 2016-06-18 11:41:01 +07:00
Ivan Filippov 7f8b69765a Add 'create user' template and functionality. Fixes #39 2016-05-15 14:29:43 -06:00
Ivan Filippov 2b80339753 Standardize on btn-flat button style. 2016-05-10 18:11:17 -06:00
Khanh Ngo 76f2ffdee5 Small text/menu adjustment in templates 2016-04-28 10:24:18 +07:00
Ivan Filippov 1b2fd766bd Enable fancy DataTables functionality for users table in manageruser 2016-04-27 18:45:22 -06:00
Ivan Filippov f4ef99e047 Converted manageruser functionality to new template. 2016-04-27 18:45:22 -06:00
Ivan Filippov 7f01511d10 Fix 'Home' breadcrumb when running in a subdirectory. 2016-04-19 17:53:18 -06:00
Khanh Ngo 2dac8205f6 Initial commit 2015-12-13 16:34:12 +07:00