Commit Graph

217 Commits

Author SHA1 Message Date
Nadja Reitzenstein
b8a9b64953 Remove removed schemata include 2021-09-19 15:58:37 +02:00
Gregor Reitzenstein
a1355aaa6a Fix all tests 2021-09-19 15:58:37 +02:00
Gregor Reitzenstein
8ceee0bd94 Better database abstraction 2021-09-19 15:58:37 +02:00
Gregor Reitzenstein
d0b73c9b49 make compile 2021-09-19 15:58:37 +02:00
Gregor Reitzenstein
8e1c0ea0a3 Setup new schema modules 2021-09-19 15:58:37 +02:00
Kai Kriegel
8d337248a8 only do a basic config check
Printing of normalized dhall will have to wait until i figure out how to supply the needed type info to the serializer
2021-08-28 23:20:41 +02:00
Kai Kriegel
fc614d7ce2 added config check 2021-08-27 21:51:44 +02:00
Gregor Reitzenstein
8ce5c2f6ff Minimal draft implementation of getGiveBack
It's untested but it should(TM) work.
2021-03-23 15:24:58 +01:00
Gregor Reitzenstein
1a241f1f7d Adds working GiveBack 2021-02-22 17:26:18 +01:00
Gregor Reitzenstein
131546e150 Start adding a Future ReturnToken 2021-02-22 17:26:18 +01:00
Gregor Reitzenstein
55dcf6dd80 Updates to allow use()ing stuff 2021-02-09 17:41:05 +00:00
Gregor Reitzenstein
d5b635025d Actually set the API user as well 2021-02-09 17:20:10 +00:00
Gregor Reitzenstein
38eb26b684 format an error 2021-02-09 08:52:07 +00:00
Gregor Reitzenstein
14eb9b048a Polling futures turns out to be a smart thing to do. Fixes #12 2021-02-08 18:28:27 +00:00
Gregor Reitzenstein
9c87c192fa We don't use remote roles for now 2021-01-27 14:40:33 +00:00
Gregor Reitzenstein
4aaa281303 Marks unused variables to cut down on warnings 2021-01-26 14:47:58 +00:00
Gregor Reitzenstein
bde889582b Fixes unecessary mut all over the place 2021-01-26 14:42:04 +00:00
Gregor Reitzenstein
c0618e949d Fixes unused import on macros 2021-01-26 14:39:57 +00:00
Gregor Reitzenstein
4c7359531d Finally switch over to Config instead of Settings 2021-01-26 14:39:16 +00:00
Gregor Reitzenstein
26f1de1907 Fixes all those unused import warnings 2021-01-26 14:36:55 +00:00
Gregor Reitzenstein
fbc661f478 Roles dumping 2021-01-26 14:11:50 +00:00
Gregor Reitzenstein
f387f55c06 Machine state change with access control 2021-01-22 15:25:26 +00:00
Gregor Reitzenstein
5295611563 only use internal role db for now 2021-01-20 12:39:04 +00:00
Gregor Reitzenstein
cda947a0e9 No more priority pls 2021-01-20 11:55:15 +00:00
Gregor Reitzenstein
53564b6bca Also point at the correct global config file... <.< 2020-12-16 14:47:13 +01:00
Gregor Reitzenstein
d4da25b0d7 Load passdb \o/ 2020-12-16 14:28:21 +01:00
Gregor Reitzenstein
d568d46212 Load roles into the accessdb 2020-12-16 14:04:50 +01:00
Gregor Reitzenstein
8f5cea673b Put the users in the db as well 2020-12-16 13:51:47 +01:00
Gregor Reitzenstein
78e7d45614 Users loading, noot noot! 2020-12-16 13:30:04 +01:00
Gregor Reitzenstein
a279a2ed48 Actually implement fill_info in a way that compiles. ^^' 2020-12-16 12:49:56 +01:00
Gregor Reitzenstein
cfa71f8be2 Implements fill_info 2020-12-16 12:42:14 +01:00
Gregor Reitzenstein
7bdbdac86b Properly stop api server 2020-12-16 12:27:34 +01:00
Gregor Reitzenstein
be73385758 Properly start api server 2020-12-16 12:24:19 +01:00
Gregor Reitzenstein
cca5bddbb8 Implement parts of the Machine API 2020-12-16 11:32:31 +01:00
Gregor Reitzenstein
ec20859f6d Pass Arc<Network> to everywhere 2020-12-15 13:12:22 +01:00
Gregor Reitzenstein
7b5d8de93f Pass network 2020-12-15 13:04:03 +01:00
Gregor Reitzenstein
6d5802c0a5 Fix dependency check error. Network now works. \o/ 2020-12-14 14:45:16 +01:00
Gregor Reitzenstein
1dc8dc4710 Even more improved init 2020-12-14 12:39:01 +01:00
Gregor Reitzenstein
5a42b34fe3 Better initialization 2020-12-14 11:02:46 +01:00
Gregor Reitzenstein
02570fea6f move config to Dhall 2020-12-12 13:58:04 +01:00
Gregor Reitzenstein
492aab630a Mark ToDo 2020-12-09 18:44:52 +01:00
Gregor Reitzenstein
fe6db0b045 Reimplements shelly 2020-12-09 11:14:45 +01:00
Gregor Reitzenstein
bb73b62722 Fixes that stupid error 2020-12-09 11:14:17 +01:00
Gregor Reitzenstein
21d6abda24 Move Sensor into initiator.rs 2020-12-09 10:51:47 +01:00
Gregor Reitzenstein
fc477d2d56 Move Actuator into actor.rs 2020-12-09 10:49:58 +01:00
Gregor Reitzenstein
a8af3b287e Move initialization and recon into network 2020-12-07 15:58:25 +01:00
Gregor Reitzenstein
81ea99405c Add EventNetwork manage struct 2020-12-07 14:39:35 +01:00
Gregor Reitzenstein
a16712c66f Load Machines 2020-12-07 12:27:53 +01:00
Gregor Reitzenstein
6fbf63a7b9 Remove unused handshake code 2020-12-07 12:13:50 +01:00
Gregor Reitzenstein
d0fe576d62 Status 2020-12-07 12:11:07 +01:00
Gregor Reitzenstein
c1c34aa703 Working statekeeping 2020-12-02 17:15:25 +01:00
Gregor Reitzenstein
c5d733d888 Make compile 2020-12-02 17:12:25 +01:00
Gregor Reitzenstein
5a4b03a16c Initiators first concept 2020-12-02 16:20:50 +01:00
Gregor Reitzenstein
fc1aea2f96 Shortcuts 2020-12-02 13:36:14 +01:00
Gregor Reitzenstein
8e3b8834c0 Async actor runs now 2020-12-02 11:46:46 +01:00
Gregor Reitzenstein
f4148d398f Sync Actor works now 2020-12-02 11:31:17 +01:00
Gregor Reitzenstein
6cf4b1d078 Turns out none of that works. 2020-12-01 16:06:39 +01:00
Gregor Reitzenstein
1041afd0ab Network'd 2020-12-01 10:21:39 +01:00
Gregor Reitzenstein
4ee94b260b Run the event network 2020-12-01 09:44:18 +01:00
Gregor Reitzenstein
8c1fbfd1a9 Machines refactor #2 2020-12-01 08:39:34 +01:00
Gregor Reitzenstein
737b05c012 Adds singleton machines 2020-11-30 16:12:52 +01:00
Gregor Reitzenstein
dcda1accfe Split out main further 2020-11-30 16:12:40 +01:00
Gregor Reitzenstein
a0d60a574f Main refactor #2 2020-11-30 15:05:25 +01:00
Gregor Reitzenstein
e08b9e43d8 Main refactor #1 2020-11-30 15:05:16 +01:00
Gregor Reitzenstein
cc40cde831 Refactor machines somewhat 2020-11-30 14:08:03 +01:00
Gregor Reitzenstein
65841f5046 Remove Handshake as C# can't handle it 2020-11-30 07:24:07 +01:00
Gregor Reitzenstein
7e9002aa94 Password DB and other shenanigans 2020-11-30 07:23:47 +01:00
Gregor Reitzenstein
7956616891 Actually make compile for once. 2020-11-24 15:57:23 +01:00
Gregor Reitzenstein
5c5a59a75c Make compile (well.. not really) 2020-11-24 14:41:19 +01:00
Gregor Reitzenstein
b203edf206 Status commit 2020-11-24 14:16:22 +01:00
Gregor Reitzenstein
9227b632e4 Ideas 2020-11-24 10:44:53 +01:00
Gregor Reitzenstein
2fbb1bb4b6 Whoops, forgot the handshake 2020-11-20 15:54:53 +01:00
Gregor Reitzenstein
cbb6242f89 Get an example to work — barely. 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
e7bbc7e001 Lots of changes for better API stuffs 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
f8b9874f08 Now with better file loading stuffs 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
4b9070fd17 Now with more better tests 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
3b63e654e5 Pushes code around until example loading compiles 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
5d9c1d5a64 Cleanup 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
5f75dd0925 Api restructure zum zweiten 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
220942b80a Session / Connection / Bootstrap split 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
a057ffa4d8 API cleanup 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
0fef683f41 Removes unused builtin.rs 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
378c184342 Module refactor for consistency 2020-11-20 15:44:02 +01:00
Gregor Reitzenstein
448cbbc98a Permission checking upgrades 2020-11-20 15:44:02 +01:00
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