bb70ce7057
Add http sent event client
2020-10-08 22:43:35 +02:00
7676f957c5
Remove socket.io dependency and use http server sent events instead
...
Signed-off-by: Thomas Schmid <tom@binary-kitchen.de>
2020-10-08 22:43:35 +02:00
9828534eae
Config: Move SYSCONFDIR and PREFIX to Config
...
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2019-06-15 22:42:01 +02:00
1e5f7c3ec4
Config: allow multiple config topics
...
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2019-06-15 22:42:01 +02:00
a774262a3c
pydoorlock: Config: Only use one config file
...
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2019-06-14 22:49:40 +02:00
bdfcf29075
move Config class to pydoorlock module
...
Signed-off-by: Thomas Schmid <tom@binary-kitchen.de>
2019-06-14 22:01:33 +02:00
263fc0c687
pydoorlock: use definitions in Protocol.py
...
We now share definitions. Use them.
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2019-06-14 21:37:48 +02:00
e69c314f97
pydoorlock: Doorlock: use run instead of Popen
...
Popen created an object that we need to wait for, run won't. Use a
pseudo-shell, and spawn the process in the background.
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2019-06-14 00:49:53 +02:00
0511fac330
improve authentication log messages
...
Signed-off-by: Thomas Schmid <tom@binary-kitchen.de>
2019-06-14 00:29:03 +02:00
eaf2537d83
Authenticator: automatically choose authentication backend
...
and test other backends, if one fails.
Written-by: Rudolf Mayerhofer <rm@eightyfive.net>
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
[ralf: also remove the authentication method from any other code path]
2018-12-08 01:29:51 +01:00
4a0c096331
pydoorlock: Align API requests to latest changes
...
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-16 21:26:05 +02:00
f294617e7f
pydoorlock: Add license headers
...
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-16 21:26:04 +02:00
4609fa52f5
pydoorlock: minor stylistic fixups
...
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-16 21:25:56 +02:00
92b791a835
pydoorlock: doorlockd: make callbacks running again
...
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-16 21:25:51 +02:00
9e94d858ec
pydoorlock: Doorlock: remove redundant parentheses
...
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-16 21:25:44 +02:00
d6d90e9f70
doorlockd: move DoorHandler to Doorlock.py
...
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-16 21:25:40 +02:00
00f74d69f9
pydoorlock: Refactor LogicResponse to DoorlockResponse
...
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-16 21:25:23 +02:00
5b296b777d
pydoorlock: WebApp: outsource WebApp
...
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-16 21:25:17 +02:00
badeb1945b
pydoorlock: Authenticator: Move all auth-related logic to Authenticator
...
By passing the configuration
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-16 21:25:10 +02:00
aaaad9b6ef
pydoorlock: Extract WebApp pt. 1
...
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-16 21:25:02 +02:00
d1855bf77d
pydoorlock: extract DoorState
...
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-16 21:24:54 +02:00
55205ad247
doorlockd: First steps towards pydoorlock module
...
Extract Authenticator platform from doorlockd.
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-16 21:24:51 +02:00