Commit Graph

183 Commits

Author SHA1 Message Date
Gregor Reitzenstein
5897161a3c Make compile 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
3a459fc098 Current state for tagging 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
8442a3d29d Slowly getting there 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
743de370ab Silences the dead cap'n proto code warnings 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
62e1e9276f Splits off MachineDB 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
7b9d3cd560 ununimpl API impl 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
4339537ec9 Make compile with tests 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
2027d9696e Make compile 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
d304ff40d4 Adds permission type 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
cd609df85f Further ideas on database restructure 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
72a9d8c639 Moves databases around a touch 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
c25983d48c Start Database restructure 2020-11-20 15:44:01 +01:00
Gregor Reitzenstein
f997c93c23 More work on the API implementation 2020-11-20 15:44:01 +01:00
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
Gregor Reitzenstein
dfdeaaefa6 Simple message exchange working 2020-05-11 18:21:45 +02:00
Gregor Reitzenstein
8b4296e749 Better Connection handling and some ideas 2020-05-10 17:23:43 +02:00
Gregor Reitzenstein
2c321d77b4 Small clarifications and comment fixes 2020-05-10 15:48:16 +02:00
Gregor Reitzenstein
7525fe49f6 Now it *actually* compiles again 2020-05-04 13:22:14 +02:00
Gregor Reitzenstein
f6f0f14081 Make compile 2020-04-28 18:40:50 +02:00
Gregor Reitzenstein
453111f0e4 Update schema and remove old impl 2020-04-28 16:51:08 +02:00
Gregor Reitzenstein
9a6b338070 Correct that 2020-03-10 19:37:04 +01:00
Gregor Reitzenstein
3ff68ceb2d Showcase impl: 2020-02-19 14:50:23 +01:00
Gregor Reitzenstein
9c4144ac66 Showcase version commit 2020-02-18 16:55:19 +01:00
Gregor Reitzenstein
796e957b27 more main cleanup 2020-02-18 13:06:25 +01:00
Gregor Reitzenstein
a3fa03f0ee Appease the borrow checker 2020-02-18 01:41:49 +01:00
Gregor Reitzenstein
764b08d4fa main.rs cleanup 2020-02-18 01:30:40 +01:00
Gregor Reitzenstein
f5b37f2006 Additional functionality 2020-02-17 21:07:50 +01:00
Gregor Reitzenstein
e135d7c8bd Logging 2020-02-17 15:07:55 +01:00
Gregor Reitzenstein
6152639564 (Unfinished) v2 implementation 2020-02-17 14:56:43 +01:00
Gregor Reitzenstein
73134d2fe9 Schema specialization 2020-02-17 03:49:19 +01:00
Gregor Reitzenstein
a4ce1bd28f Schema update 2020-02-17 03:44:02 +01:00
Gregor Reitzenstein
2547d02841 API update 2020-02-17 00:50:42 +01:00
Gregor Reitzenstein
46c06305b0 An initial working state
PoC, Authentication works but not much more
2020-02-16 16:02:03 +01:00
Gregor Reitzenstein
d5f92e41d1 Initial commit 2020-02-14 12:20:17 +01:00