Commit graph

75 commits

Author SHA1 Message Date
921a31b769
matrix: Commit forgotten uses 2023-12-02 14:41:20 +02:00
a85c27acc2
main: Handle trigger field in to_config 2023-12-02 14:39:43 +02:00
9af48cfea1
main,matrix: Read file paths from variables 2023-12-02 14:36:46 +02:00
695b152c7e
Commit forgotten dependencies in Cargo.toml 2023-12-02 14:33:35 +02:00
8e0e311874
main: Fix warnings caused by conditional compilation 2023-12-02 14:30:19 +02:00
2c4ac96893 open,common: Fix unused values and mut 2023-12-02 14:28:46 +02:00
8bb070811f csv: Enable conditional compilation for ACL and Logging 2023-12-02 14:14:12 +02:00
fb8183e14a main: use only for selected features 2023-12-02 14:13:59 +02:00
64f7e467e8
main: Use full path for crate::cli types 2023-12-02 13:45:08 +02:00
de257231a7
csv: Fix unused_variables warning 2023-12-02 13:41:37 +02:00
30525d4408
open: Call logging binary found from configuration 2023-11-30 20:56:09 +02:00
3938e5c0c8
common: Add helper function for running logging command 2023-11-30 20:50:26 +02:00
c078a13c8e
log: Add structs for cli arguments and configuration 2023-11-30 20:49:13 +02:00
e32d6ce118 Update configuration with auth.csv and log sections 2023-11-30 17:18:00 +02:00
9811fe5676
main: Add minor forgotten edits in struct fields 2023-11-30 17:11:27 +02:00
e6f62255cb
log: Initialize wrapper crate for using Logging implementations 2023-11-30 17:09:16 +02:00
cc958d3d93
csv: Add initial implentation of Logging trait 2023-11-30 16:59:38 +02:00
8573516f4f
Initialize crate for the Logging trait 2023-11-30 16:57:45 +02:00
892650a544
csv: Move ACL implementation to separate file 2023-11-30 16:54:44 +02:00
74edd5bdac
matrix: Use labadoor-open and labadoor-common::run_bin() 2023-11-28 18:13:58 +02:00
6ece32b40e
telegram: Use labadoor-open and labadoor-common::run_bin() 2023-11-28 17:12:56 +02:00
0ab168b7f7
Create labadoor-common and move run_bin() in it 2023-11-28 16:50:12 +02:00
924224c7fa
open: Capture stdout of child processes 2023-11-28 16:29:40 +02:00
3ef5627a0f
open,main: Improve error handling logic and use ExitCode 2023-11-28 15:42:43 +02:00
30b7e5bfe3
Create new open module for calling auth and gpio appropriately 2023-11-27 20:44:37 +02:00
e65e086b90
auth,main: Use exit status to indicate authentication failure 2023-11-27 19:07:54 +02:00
7a294ee146
auth: Enable backends based on the configuration or --backends 2023-11-25 18:08:56 +02:00
eebb4ca762
main: Add cli arguments as a configuration source 2023-11-24 18:05:26 +02:00
e7c34865c5
main: Use labadoor-auth instead of the CSV module directly 2023-11-22 19:44:10 +02:00
2caad2a5ef
Use struct for passing module arguments: csv 2023-11-22 19:41:16 +02:00
5013fdcf1c
Create labadoor-auth, for wrapping storage backends 2023-11-22 18:40:16 +02:00
104d8a862d
Use struct for passing module arguments: gpio 2023-11-21 21:39:48 +02:00
bace7ef138
Use struct for passing module arguments: matrix 2023-11-21 21:30:56 +02:00
ee3a9c41ba
Use struct for passing module arguments: telegram 2023-11-21 21:22:32 +02:00
f09de29ee4 acl: cargo fmt 2023-11-20 21:41:20 +02:00
3215630aab
acl: Return details to caller when authenticating user 2023-11-20 21:41:11 +02:00
6d752cd050
csv: Don't panic when needle is not found 2023-11-20 21:26:08 +02:00
96ef1d6a4c
main: Use the new CSV struct and ACL trait 2023-11-20 21:09:19 +02:00
3923654c94
acl: Implement query functions 2023-11-20 21:07:01 +02:00
02fbb6804e
acl: Implement CSV struct with the ACL trait 2023-11-20 21:05:54 +02:00
d7e7ad5e0c
acl: Use Options instead of Results 2023-11-20 20:57:59 +02:00
26714d24f6
acl: Accept &self as a function parameter 2023-11-20 20:57:25 +02:00
c3cc8a2bd5
acl: Add PartialEq for the structs 2023-11-20 20:52:22 +02:00
f1294480b0
telegram: Update teloxide and tokio to their latest versions 2023-11-19 17:43:21 +02:00
278bae953a
matrix: Add handler for accepting invitations 2023-11-18 20:15:04 +02:00
e06b720d43
matrix: Ignore messages sent by the bot 2023-11-18 20:12:38 +02:00
4889318e54
matrix: Use new event types in message handler 2023-11-18 20:10:55 +02:00
df3d04eb87
matrix: SyncSettings uses previous client token by default now 2023-11-18 20:06:50 +02:00
a087d2774f
matrix: Specify client id when logging in and store the state with sled 2023-11-18 20:04:36 +02:00
ac59bc31b5
matrix: Minor fixes and fmt 2023-11-16 19:28:34 +02:00