Commit graph

46 commits

Author SHA1 Message Date
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
fe34027edc
matrix: Update matrix-sdk to 0.6.2 2023-11-16 19:26:22 +02:00
9144f5d8ed
matrix: Add ping command 2023-11-15 20:52:19 +02:00
9fa148a939
acl: Provide generic API for all storage implementations 2023-09-25 20:13:31 +03:00
e1d1aa1ed8 Move ACL structs from labadoor-csv to labadoor-acl 2023-09-21 20:29:20 +03:00
321ab21f8e Create labadoor-acl crate 2023-09-21 20:26:40 +03:00
7466923d50 Add README.md 2023-09-17 21:23:18 +03:00
29997e3ba1 cli: Add default options for active_low and active_time arguments 2023-09-17 19:58:58 +03:00
58f9eec430 labadoor-csv: Integrate in main cli module 2023-09-17 19:54:48 +03:00
c8e412fa34 Add configuration options for GPIO 2023-06-30 20:44:37 +03:00
413568af5e Add binary to list of workspaces, cargo fmt 2023-06-30 20:21:10 +03:00
a07ff25a1e Read authentication tokens for bots from file and environment variables 2023-06-30 20:19:29 +03:00
ad7074ad03 matrix: Don't return a value, panic on failure 2023-06-30 18:10:57 +03:00
983456997b Rename library functions from "main" 2023-06-30 18:02:40 +03:00
6e6d4b227d matrix: Accept username and password as function parameters 2023-06-30 17:43:52 +03:00
3f36019dbd telegram: Accept token as function parameter 2023-06-30 17:42:39 +03:00
c7dcef1cd1 Add cli options and move structs in separate file 2023-06-30 17:40:12 +03:00
1eef68f859 Add crate features to select used functionality 2023-06-30 17:23:05 +03:00
ed628b2ee3 Create labadoor binary crate calling each librarie's main() 2023-06-30 17:12:24 +03:00
3abf7106fc Convert all crates to libraries 2023-06-30 17:00:39 +03:00
b8ec7ed5c6
labadoor-csv: Initial commit 2021-11-30 23:09:16 +02:00
aaf9b4b33b
gitignore: Add target/ 2021-11-30 00:08:04 +02:00
756979b00c
labadoor-telegram: Initial commit 2021-11-30 00:06:31 +02:00
cb847c1071
labadoor-gpio: Initial commit 2021-11-27 23:40:04 +02:00
ebeed8dcee
labadoor-matrix: Initial commit 2021-11-27 23:39:45 +02:00
6b575b1807
Add license 2021-11-27 23:15:25 +02:00