Commit Graph

441 Commits

Author SHA1 Message Date
Nadja Reitzenstein
e6cb1a958d Fixing more warnings 2022-02-26 14:02:47 +01:00
Nadja Reitzenstein
68418161d7 Replaces paho_mqtt with rumqttc 2022-02-26 14:01:06 +01:00
Nadja Reitzenstein
53cdfeda5d Fix warnings 2022-02-26 14:00:00 +01:00
Nadja Reitzenstein
07e181b107 Update dependencies 2022-02-26 11:38:53 +01:00
Nadja Reitzenstein
a7d30930ba Don't default to MQTT 3.1 either 2022-02-26 11:31:46 +01:00
Nadja Reitzenstein
337e8aa563 Sets a 20 second MQTT keepalive intervall 2022-02-26 11:31:46 +01:00
Nadja Reitzenstein
2777645205 Make MQTT client try to reconnect on connection lost or disconnect 2022-02-26 11:31:45 +01:00
Nadja Reitzenstein
89b292a8ac Disclose machines that are used by yourself 2022-02-26 11:31:24 +01:00
Nadja Reitzenstein
b543b3b80d State commit 2022-02-14 17:38:48 +01:00
Nadja Reitzenstein
73162d278f Adds an example usecase for args 2022-01-17 20:00:40 +01:00
Nadja Reitzenstein
9fbacc171b Adds an example python process actor 2022-01-17 19:54:53 +01:00
Nadja Reitzenstein
4858a6a6fb Implement a simple audit log 2022-01-17 18:36:22 +01:00
Nadja Reitzenstein
19abba371e Delete outdated pass.toml 2022-01-17 18:36:22 +01:00
Nadja Reitzenstein
bf9fadbf74 Implement getAPIVersion and getServerRelease methods 2022-01-17 18:36:22 +01:00
Nadja Reitzenstein
0da3213395 Improve documentation around example setup
Fixes: #38
2022-01-17 18:36:22 +01:00
Nadja Reitzenstein
f524079914 Implement categories support 2022-01-17 18:36:22 +01:00
Nadja Reitzenstein
17005c0536 Properly parse optional config elements 2022-01-17 18:36:22 +01:00
Nadja Reitzenstein
70bfdbbf4e Update API files 2022-01-17 18:36:22 +01:00
Nadja Reitzenstein
a0c280eae4 Export some more version metadata 2022-01-17 18:36:22 +01:00
Joris
1020e21e24 Update INSTALL.md 2022-01-11 17:52:41 +00:00
Joris
ac6dbefa6f Update INSTALL.md 2022-01-11 17:50:20 +00:00
Nadja Reitzenstein
03ff3fcf86 Modules state commit 2022-01-05 21:56:32 +01:00
Nadja Reitzenstein
2c1b522021 Whoops, lost a commit or two there 2022-01-05 21:50:04 +01:00
Nadja Reitzenstein
4778c7a8d3 Commit current state 2021-12-17 16:43:31 +01:00
Nadja Reitzenstein
d7a66e2149 Actors, Initators, and Sensors first draft 2021-12-15 23:42:16 +01:00
Nadja Reitzenstein
f397e1e636 Better tls connection handling with smol::io::split 2021-12-09 21:54:57 +01:00
Nadja Reitzenstein
9571afbcc7 Add development cert/key files 2021-12-09 21:01:41 +01:00
Nadja Reitzenstein
83f5fe8265 Implement TLS handling 2021-12-09 20:54:54 +01:00
Nadja Reitzenstein
eb2e24a48c Add rustls dependencies 2021-12-09 20:54:43 +01:00
Nadja Reitzenstein
a09c3d3880 Fix #29 2021-12-07 23:02:26 +01:00
Nadja Reitzenstein
8db5580c90 Stuff 2021-12-06 21:53:42 +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
Kai Kriegel
fd7fec2cbe Revert "added first start logic to seed db and keep state"
This reverts commit ab3ac8f730.
2021-12-02 00:42:00 +01:00
Nadja Reitzenstein
bedde0e19f Allow static generation of schema code 2021-12-01 17:12:57 +01:00
Nadja Reitzenstein
2a57ce2c28 Lock! 2021-12-01 15:47:28 +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
8c28e50cac Start with API implementation 2021-11-26 22:11:24 +01:00
Nadja Reitzenstein
26b2888a09 DB Refactor 2021-11-26 21:01:43 +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
b16c660058 Clean up structure a bit 2021-11-26 02:25:48 +01:00
Kai Kriegel
ab3ac8f730 added first start logic to seed db and keep state 2021-11-25 23:53:04 +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
32894300f4 Kick out asyncio into an external crate for later 2021-11-25 23:36:17 +01:00
Nadja Reitzenstein
ad5c4061de more asyncio foo 2021-11-24 21:39:11 +01:00
Nadja Reitzenstein
ec78aa6fc9 . 2021-11-24 02:44:34 +01:00