Commit Graph

162 Commits

Author SHA1 Message Date
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