Commit Graph

93 Commits

Author SHA1 Message Date
f0be983a5a make setting APPLICATION_SETTINGS file via environment variable optional 2022-02-04 22:41:55 +01:00
e8c1effd15 simplified super admin creation 2022-02-04 22:40:56 +01:00
4470d2fb82 use logger from flask 2022-02-04 22:40:14 +01:00
856a72b0cc added security salt in default configuration 2022-02-04 22:38:26 +01:00
a77dcd1878 simplified app configuration process 2022-02-04 22:13:15 +01:00
fa7c878cab reformatting 2022-02-04 21:28:37 +01:00
2f40732d0b fixed issue with non-typeable key 2022-02-02 21:40:17 +01:00
47f378fe6e added tests for DoorHandle class 2022-02-02 21:39:52 +01:00
1320fc55ca added test for ldap validation 2022-02-01 23:03:35 +01:00
33779e31b4 generalized ldap authentication 2022-02-01 23:03:06 +01:00
2855163948 added test for ldap authentication 2022-02-01 00:53:14 +01:00
0c7821cbe5 test for deactivating super admin 2022-01-31 23:25:47 +01:00
e0bbe02bc1 reformatting 2022-01-31 23:06:49 +01:00
d0f093ac16 test for demoting super admin 2022-01-31 23:06:38 +01:00
95f0ff3563 added test for backing up user datastore 2022-01-31 22:59:44 +01:00
f945b7f79e test for downloading token data + some formatting fixes 2022-01-31 22:40:43 +01:00
3bbf60b42f tests for deleting and deactivating tokens 2022-01-31 22:27:38 +01:00
8d02e669f8 changed error message 2022-01-31 08:03:47 +01:00
c941d383c1 added test for editing tokens 2022-01-31 08:03:31 +01:00
a621b6bb78 added dummy token log data for testing 2022-01-30 23:09:20 +01:00
ec1e843f57 added tests for token log and registration 2022-01-30 23:08:51 +01:00
3caf17c861 removed use of session cookie for token creation and modification 2022-01-30 23:08:18 +01:00
f1eaf8af4e added configuration data for testing 2022-01-30 22:08:29 +01:00
4b3aed25d2 moved models to auth module 2022-01-30 21:56:11 +01:00
080ea0f3b0 added tests for modifying user permissions 2022-01-30 21:54:35 +01:00
ee6ee0e111 streamlined tests and added test for trying to access the door without authentication 2022-01-30 18:49:09 +01:00
2879a69445 make database and security objects global so we can access them in routes 2022-01-29 23:48:58 +01:00
97957e389c added tests for admin management operations, streamlined testing a bit 2022-01-29 23:46:20 +01:00
8f8bdb8cc3 added instructions for running tests 2022-01-29 23:45:31 +01:00
b64b0c7bb6 access config from current_app object 2022-01-27 23:57:06 +01:00
b3c585bd27 updated routes for blueprint based app 2022-01-27 23:56:48 +01:00
42345273dd removed requirements.txt now that we have setup.cfg 2022-01-27 23:49:32 +01:00
ace5868571 added test configuration fixtures 2022-01-27 23:48:31 +01:00
a104a3d00f attach door object to flask application and use application's logger 2022-01-27 23:46:45 +01:00
ff9d21bcd5 moved creation of initial admin user to separate function 2022-01-27 23:45:17 +01:00
38164aca4b started refactoring:
- use blueprint
- read configuration from file (default_app_config.py) and additional file specified by APPLICATION_SETTINGS environment variable
2022-01-25 21:42:35 +01:00
ba9379449a added tests for opening and closing the door via button 2022-01-25 19:38:19 +01:00
bb022fd1ce added login tests (headless and with selenium) 2022-01-25 00:09:14 +01:00
e0a22f770d added testing dependencies 2022-01-25 00:08:25 +01:00
03e7425b2a newer versions of wtforms use html5 by default 2022-01-23 12:33:57 +01:00
b4f9e4525b use setup.cfg based package setup script 2022-01-23 12:33:20 +01:00
8e868f1674 display time since unregistered token was read 2021-08-30 21:15:32 +02:00
8a9a667429 adjusted layout 2021-08-30 21:03:30 +02:00
8bc0a642a3 clarified time zone 2021-08-30 20:43:49 +02:00
7cf4e3ce36 added guide for token registration 2021-08-24 18:48:54 +02:00
79b9b69ef8 encode string 2021-08-23 21:10:43 +02:00
4307d54505 check Keyholder status of users 2021-08-23 21:06:18 +02:00
14c783b2c1 pass on username to nfc socket when opening and closing door 2021-08-23 21:05:42 +02:00
2ccec6fe32 fixed typo causing door status not being displayed correctly 2021-08-23 20:31:18 +02:00
5afcf1f10a added default argument for super admin file 2021-08-23 20:30:50 +02:00