Commit Graph

107 Commits

Author SHA1 Message Date
a13e7b3e29 changed encoding 2022-09-16 21:56:20 +02:00
8d29fbe9cd require APPLICATION_SETTINGS to be set 2022-09-16 21:55:48 +02:00
74c6661f0e updated Flask-Security-Too to most recent version 2022-09-16 21:53:10 +02:00
48e076eb16 moved back to setup.py because buildroot does not seem to work with pure setup.cfg 2022-09-12 23:30:54 +02:00
d9a078a114 fixed typos 2022-09-12 22:24:21 +02:00
a88da152c1 removed KEY_FILE option (no longer used) 2022-09-12 22:23:56 +02:00
118f492881 use config file instead of program arguments, added config option for port 2022-09-12 22:22:49 +02:00
19d330b6d8 added log output 2022-09-12 22:21:56 +02:00
d53334efd4 fixed formatting 2022-09-12 22:21:28 +02:00
7c29f847bc fixed formatting 2022-09-12 22:21:21 +02:00
3a6ea5926b fixed formatting 2022-09-12 22:20:40 +02:00
5fb652c1d2 fixed formatting 2022-09-12 22:20:06 +02:00
6d9e90631a worked on docs 2022-02-04 23:08:52 +01:00
f66283c328 fixed incorrect indentation 2022-02-04 22:45:44 +01:00
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