Commit Graph

70 Commits

Author SHA1 Message Date
Gregor Reitzenstein
87102b9f5d More Schema updates 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
91a17e6b57 Updates rsasl 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
36745683e0 Updates schema 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
691338aca7 Move signal handler away from tokio 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
ce8ba084d5 Remove in-promptu test code 2020-09-18 13:20:04 +02:00
Gregor Reitzenstein
9d7ba0eeda MachineDB dump/load 2020-09-18 13:14:24 +02:00
Gregor Reitzenstein
026aa40019 Look ma, an event network! 2020-09-18 12:34:18 +02:00
Gregor Reitzenstein
7a876a538d Status commit 2020-09-17 21:12:30 +02:00
Gregor Reitzenstein
e0c1ce868d Make Actuator trait non-async 2020-09-17 16:05:46 +02:00
Gregor Reitzenstein
173ef6d055 Ensure the task polling a shelly stream gets woken up if shelly is subscribed to something 2020-09-17 16:01:56 +02:00
Gregor Reitzenstein
33d9d76755 Cleanup 2020-09-17 15:47:41 +02:00
Gregor Reitzenstein
f4d5a70841 Actually make the shellies switch 2020-09-17 15:45:43 +02:00
Gregor Reitzenstein
4bd62216e2 Subscriber is Actuator now 2020-09-17 15:36:42 +02:00
Gregor Reitzenstein
0ea9177e14 Moves actuators to be coroutines 2020-09-17 15:34:35 +02:00
Gregor Reitzenstein
7e6748ad15 Error is not Send ¯\(ツ)/¯ 2020-09-17 14:34:57 +02:00
Gregor Reitzenstein
c943e78cc6 Move modules back to threadpool 2020-09-17 14:32:53 +02:00
Gregor Reitzenstein
267ff63016 Improves lifetimes to be more ergonomic 2020-09-17 11:57:45 +02:00
Gregor Reitzenstein
637490bd75 Add sensors registry to global registries 2020-09-17 11:46:05 +02:00
Gregor Reitzenstein
fc1480314f Adds Sensors registry 2020-09-17 11:43:55 +02:00
Gregor Reitzenstein
406cebadb8 Sensor implementation draft 2020-09-17 11:20:55 +02:00
Gregor Reitzenstein
2686ea112f Refines machines 2020-09-17 10:51:51 +02:00
Gregor Reitzenstein
5bd5cd57df Using events 2020-09-17 10:18:02 +02:00
Gregor Reitzenstein
053cf5498a rustc is forgiving but I still don't like it 2020-09-17 09:10:10 +02:00
Gregor Reitzenstein
f53b4eac8e Adds an event network draft 2020-09-17 09:01:00 +02:00
Gregor Reitzenstein
9e7b18e742 Writing down ideas for event networks and their handling 2020-09-15 17:17:00 +02:00
Gregor Reitzenstein
da5452f90f Signal deduping 2020-09-15 17:04:13 +02:00
Gregor Reitzenstein
245bb7962e Status needs to impl Copy for Signal 2020-09-15 16:37:50 +02:00
Gregor Reitzenstein
ca826de5de Clarify ideas on the machine interface 2020-09-15 16:35:37 +02:00
Gregor Reitzenstein
940a5d4fe0 Make compile 2020-09-15 15:34:36 +02:00
Gregor Reitzenstein
e1c5a009ad Machines are a event transformer in a complex event networkwhile . 2020-09-15 15:29:55 +02:00
Gregor Reitzenstein
7ffa2933e5 Remove old interface 2020-09-15 14:49:22 +02:00
Gregor Reitzenstein
13e784cf7a Simple machine lmdb interface 2020-09-15 14:48:59 +02:00
Gregor Reitzenstein
4fde079986 Move MachineDB into LMDB 2020-09-15 14:41:50 +02:00
Gregor Reitzenstein
76ccddb4cb Improves access::init documentation 2020-09-15 14:34:48 +02:00
Gregor Reitzenstein
c742fb0a5d Better configuration stuff 2020-09-15 14:31:10 +02:00
Gregor Reitzenstein
ff981a768b Actuator draft that is actually implementable 2020-09-15 11:38:15 +02:00
Gregor Reitzenstein
73c24456d4 Registries draft 2020-09-14 10:37:51 +02:00
Gregor Reitzenstein
eb4e164c79 Don't fail if the dump directories already exist
e.g. because of a previous dump
2020-09-11 10:34:18 +02:00
Gregor Reitzenstein
d4ed885dc7 Implements loading of roles and users 2020-09-11 10:18:43 +02:00
Gregor Reitzenstein
bf3a3474db Implements dumping of perms and users as well 2020-09-11 10:12:54 +02:00
Gregor Reitzenstein
b8559e1d64 Adds --load/--dump. Role dumping implemented already
These mutually exclusive flags allow dumping and loading of database
contents in a textual format
2020-09-11 09:57:03 +02:00
Gregor Reitzenstein
5f78685fb2 Allows permission read/write as well 2020-09-10 12:32:33 +02:00
Gregor Reitzenstein
8e10381fbd Allows Access to write to the underlying database 2020-09-10 12:30:32 +02:00
Gregor Reitzenstein
565a5ed278 Implements a simple permission check 2020-09-10 11:53:47 +02:00
Gregor Reitzenstein
7f6e4c0759 Make compile 2020-09-10 10:44:16 +02:00
Gregor Reitzenstein
808386d17a Starts using LMDB 2020-09-10 10:39:46 +02:00
Gregor Reitzenstein
3ac60bacb0 Library update and compile 2020-09-08 09:56:40 +02:00
Gregor Reitzenstein
dad99eb5dc Starting code update 2020-09-07 17:23:42 +02:00
Gregor Reitzenstein
5a94720c2b Fix compilation error and cleaned up imports 2020-09-07 09:45:55 +02:00
Gregor Reitzenstein
0c5dda057e Message order flip 2020-05-14 23:19:26 +02:00