Commit Graph

304 Commits

Author SHA1 Message Date
Nadja Reitzenstein
75c449c83a Fix auth 2022-03-13 23:58:03 +01:00
Nadja Reitzenstein
15f31ffd7c Update API 2022-03-13 23:31:00 +01:00
Nadja Reitzenstein
0531156b9e Improve TLS support 2022-03-09 02:40:38 +01:00
Nadja Reitzenstein
c8623fd62b Fixes warnings 2022-03-02 17:28:41 +01:00
Nadja Reitzenstein
e130e59651 Port to rsasl2
Closes #45
2022-03-02 17:21:22 +01:00
Nadja Reitzenstein
4306b5b691 More cleanup.
Also, this MR closes #48
2022-02-26 14:45:17 +01:00
Nadja Reitzenstein
ea863e71af Makes rumqttc futures run on the tokio runtime as required. 2022-02-26 14:30:06 +01:00
Nadja Reitzenstein
e9b1ba1f50 Use our own MQTT URL dissector so existing configs don't break 2022-02-26 14:16:46 +01:00
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
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
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
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
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
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
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
7bcb0712ae Implement wiki and URN links 2021-10-20 09:43:39 +02:00
Nadja Reitzenstein
4d2b0ea29c Update schema 2021-10-18 11:41:10 +02:00
Nadja Reitzenstein
14f7ad32f3 Alpha Release 0.3.0 2021-09-30 10:10:33 +02:00
Nadja Reitzenstein
14402d627c Be consistent in the api 2021-09-21 22:57:50 +02:00
Nadja Reitzenstein
75f8911c1f cleanup 2021-09-21 22:57:50 +02:00