Commit Graph

101 Commits (118f492881728531ac9f658339cc7986bf6cb251)

Author SHA1 Message Date
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
Simon Pirkelmann a104a3d00f attach door object to flask application and use application's logger 2022-01-27 23:46:45 +01:00
Simon Pirkelmann ff9d21bcd5 moved creation of initial admin user to separate function 2022-01-27 23:45:17 +01:00
Simon Pirkelmann 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
Simon Pirkelmann ba9379449a added tests for opening and closing the door via button 2022-01-25 19:38:19 +01:00
Simon Pirkelmann bb022fd1ce added login tests (headless and with selenium) 2022-01-25 00:09:14 +01:00
Simon Pirkelmann e0a22f770d added testing dependencies 2022-01-25 00:08:25 +01:00
Simon Pirkelmann 03e7425b2a newer versions of wtforms use html5 by default 2022-01-23 12:33:57 +01:00
Simon Pirkelmann b4f9e4525b use setup.cfg based package setup script 2022-01-23 12:33:20 +01:00
Simon Pirkelmann 8e868f1674 display time since unregistered token was read 2021-08-30 21:15:32 +02:00