Commit Graph

196 Commits

Author SHA1 Message Date
Nadja Reitzenstein
83f5fe8265 Implement TLS handling 2021-12-09 20:54:54 +01:00
Nadja Reitzenstein
a09c3d3880 Fix #29 2021-12-07 23:02:26 +01:00
Nadja Reitzenstein
6b88191dc5 Set previous user on all state changes if required
Fixes: #30
2021-12-05 23:43:36 +01:00
Nadja Reitzenstein
6e91295cc0 Fix URN 2021-12-05 23:38:05 +01:00
Nadja Reitzenstein
6d3e08955a Config improvements and make shellies have a topic parameter 2021-12-05 19:23:35 +01:00
Nadja Reitzenstein
eeb0ff306b Fix Machines using their name instead of their id 2021-12-05 18:53:02 +01:00
Nadja Reitzenstein
47781b445e Make machine correctly load state and set previous/current use in API 2021-12-01 15:46:52 +01:00
Nadja Reitzenstein
9fcb7664aa Also catch SIGQUIT and SIGTERM and clean up properly 2021-11-26 03:42:30 +01:00
Nadja Reitzenstein
200179f621 Returns current user 2021-11-26 02:21:35 +00:00
Nadja Reitzenstein
76a1def456 Implement getting a machine by URN 2021-11-26 00:08:24 +01:00
Nadja Reitzenstein
80df913089 Also set URN and wiki links on machine lists 2021-11-25 23:45:00 +01:00
Nadja Reitzenstein
7bcb0712ae Implement wiki and URN links 2021-10-20 09:43:39 +02:00
Nadja Reitzenstein
14402d627c Be consistent in the api 2021-09-21 22:57:50 +02:00
Nadja Reitzenstein
ba73fe80c5 Re-enable MQTT 2021-09-21 18:45:35 +02:00
Nadja Reitzenstein
04052b6193 better output and examples 2021-09-21 09:22:54 +02:00
Nadja Reitzenstein
aa58657122 Let's not break, shall we? ^^' 2021-09-21 09:06:49 +02:00
Nadja Reitzenstein
bd635d97ac Make work 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
f4fead00e6 Only return caps the user can have 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
27791ed19b Move around Ownership until it compiles 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
e678e67d32 Pointerwise moving is even easier 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
d29b0c207d Unused lifetime parameter are unused. 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
4e3bb44040 Start the user API 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
006ae0af68 Better user 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
2fe6aa41c1 Dump RoleIdentifier the right way around 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
bf840a2c94 GetMachine impl 2021-09-19 20:34:03 +02:00
Nadja Reitzenstein
ba7a59c3de Stuff to make work 2021-09-19 19:48:16 +02:00
Nadja Reitzenstein
abc9126137 Fix clippy lints 2021-09-19 19:48:16 +02:00
Nadja Reitzenstein
660fe5ed9e Most of Machine implemented 2021-09-19 15:58:37 +02:00
Nadja Reitzenstein
e5903961d1 More API implementation 2021-09-19 15:58:37 +02:00
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