Commit Graph

110 Commits (blueprint_refactoring)

Author SHA1 Message Date
Simon Pirkelmann ca1de7f82d logging configuration 2022-12-28 17:47:14 +01:00
Simon Pirkelmann 786df6b552 skip empty lines in admins file 2022-12-28 17:10:06 +01:00
Simon Pirkelmann 7ec0ba251d moved back to pure setup.cfg based config, added console script 2022-09-17 22:25:32 +02:00
Simon Pirkelmann a13e7b3e29 changed encoding 2022-09-16 21:56:20 +02:00
Simon Pirkelmann 8d29fbe9cd require APPLICATION_SETTINGS to be set 2022-09-16 21:55:48 +02:00
Simon Pirkelmann 74c6661f0e updated Flask-Security-Too to most recent version 2022-09-16 21:53:10 +02:00
Simon Pirkelmann 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
Simon Pirkelmann d9a078a114 fixed typos 2022-09-12 22:24:21 +02:00
Simon Pirkelmann a88da152c1 removed KEY_FILE option (no longer used) 2022-09-12 22:23:56 +02:00
Simon Pirkelmann 118f492881 use config file instead of program arguments, added config option for port 2022-09-12 22:22:49 +02:00
Simon Pirkelmann 19d330b6d8 added log output 2022-09-12 22:21:56 +02:00
Simon Pirkelmann d53334efd4 fixed formatting 2022-09-12 22:21:28 +02:00
Simon Pirkelmann 7c29f847bc fixed formatting 2022-09-12 22:21:21 +02:00
Simon Pirkelmann 3a6ea5926b fixed formatting 2022-09-12 22:20:40 +02:00
Simon Pirkelmann 5fb652c1d2 fixed formatting 2022-09-12 22:20:06 +02:00
Simon Pirkelmann 6d9e90631a worked on docs 2022-02-04 23:08:52 +01:00
Simon Pirkelmann f66283c328 fixed incorrect indentation 2022-02-04 22:45:44 +01:00
Simon Pirkelmann f0be983a5a make setting APPLICATION_SETTINGS file via environment variable optional 2022-02-04 22:41:55 +01:00
Simon Pirkelmann e8c1effd15 simplified super admin creation 2022-02-04 22:40:56 +01:00
Simon Pirkelmann 4470d2fb82 use logger from flask 2022-02-04 22:40:14 +01:00
Simon Pirkelmann 856a72b0cc added security salt in default configuration 2022-02-04 22:38:26 +01:00
Simon Pirkelmann a77dcd1878 simplified app configuration process 2022-02-04 22:13:15 +01:00
Simon Pirkelmann fa7c878cab reformatting 2022-02-04 21:28:37 +01:00
Simon Pirkelmann 2f40732d0b fixed issue with non-typeable key 2022-02-02 21:40:17 +01:00
Simon Pirkelmann 47f378fe6e added tests for DoorHandle class 2022-02-02 21:39:52 +01:00
Simon Pirkelmann 1320fc55ca added test for ldap validation 2022-02-01 23:03:35 +01:00
Simon Pirkelmann 33779e31b4 generalized ldap authentication 2022-02-01 23:03:06 +01:00
Simon Pirkelmann 2855163948 added test for ldap authentication 2022-02-01 00:53:14 +01:00
Simon Pirkelmann 0c7821cbe5 test for deactivating super admin 2022-01-31 23:25:47 +01:00
Simon Pirkelmann e0bbe02bc1 reformatting 2022-01-31 23:06:49 +01:00
Simon Pirkelmann d0f093ac16 test for demoting super admin 2022-01-31 23:06:38 +01:00
Simon Pirkelmann 95f0ff3563 added test for backing up user datastore 2022-01-31 22:59:44 +01:00
Simon Pirkelmann f945b7f79e test for downloading token data + some formatting fixes 2022-01-31 22:40:43 +01:00
Simon Pirkelmann 3bbf60b42f tests for deleting and deactivating tokens 2022-01-31 22:27:38 +01:00
Simon Pirkelmann 8d02e669f8 changed error message 2022-01-31 08:03:47 +01:00
Simon Pirkelmann c941d383c1 added test for editing tokens 2022-01-31 08:03:31 +01:00
Simon Pirkelmann a621b6bb78 added dummy token log data for testing 2022-01-30 23:09:20 +01:00
Simon Pirkelmann ec1e843f57 added tests for token log and registration 2022-01-30 23:08:51 +01:00
Simon Pirkelmann 3caf17c861 removed use of session cookie for token creation and modification 2022-01-30 23:08:18 +01:00
Simon Pirkelmann f1eaf8af4e added configuration data for testing 2022-01-30 22:08:29 +01:00
Simon Pirkelmann 4b3aed25d2 moved models to auth module 2022-01-30 21:56:11 +01:00
Simon Pirkelmann 080ea0f3b0 added tests for modifying user permissions 2022-01-30 21:54:35 +01:00
Simon Pirkelmann ee6ee0e111 streamlined tests and added test for trying to access the door without authentication 2022-01-30 18:49:09 +01:00
Simon Pirkelmann 2879a69445 make database and security objects global so we can access them in routes 2022-01-29 23:48:58 +01:00
Simon Pirkelmann 97957e389c added tests for admin management operations, streamlined testing a bit 2022-01-29 23:46:20 +01:00
Simon Pirkelmann 8f8bdb8cc3 added instructions for running tests 2022-01-29 23:45:31 +01:00
Simon Pirkelmann b64b0c7bb6 access config from current_app object 2022-01-27 23:57:06 +01:00
Simon Pirkelmann b3c585bd27 updated routes for blueprint based app 2022-01-27 23:56:48 +01:00
Simon Pirkelmann 42345273dd removed requirements.txt now that we have setup.cfg 2022-01-27 23:49:32 +01:00
Simon Pirkelmann ace5868571 added test configuration fixtures 2022-01-27 23:48:31 +01:00