Commit Graph

315 Commits

Author SHA1 Message Date
Nadja Reitzenstein
80ceb4af34 Log version on start 2022-03-16 15:16:51 +01:00
Nadja Reitzenstein
dae9d0c93b Make build step only use git info when not building a tagged release 2022-03-16 15:13:30 +01:00
Nadja Reitzenstein
cc2b43a9f2 Reverse visibility check to properly disclose machines
Machines that you have disclose on are always shown.
Machines you *don't* have `disclose` on are *also* show *iff* you are using them.
2022-03-16 15:10:13 +01:00
Nadja Reitzenstein
069819bb9a Only return use interface if machine is currently free or reserved by me 2022-03-16 15:10:13 +01:00
Kai Jan Kriegel
4feb21e7fc allow bffh to build outside of a git repo 2022-03-16 05:42:56 +01:00
Kai Jan Kriegel
27539429f7 enable mutistage auth 2022-03-16 05:42:19 +01:00
Nadja Reitzenstein
c317101b93 Merge remote-tracking branch 'origin/feature/desfire-auth' into feature/api-0.3
* origin/feature/desfire-auth:
  update desfire crate to version on crates.io
  working Desfire auth in the api!
  fix stupid logic error
  initial integration of the X-FABFIRE mechnism
2022-03-15 18:58:51 +01:00
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
Kai Jan Kriegel
926d200c93 update desfire crate to version on crates.io 2022-03-13 18:05:36 +01:00
Kai Jan Kriegel
5c5c9710c5 working Desfire auth in the api! 2022-03-12 10:45:09 +01:00
Kai Jan Kriegel
37db05a557 fix stupid logic error 2022-03-12 00:51:42 +01:00
Kai Jan Kriegel
4611ed5b48 initial integration of the X-FABFIRE mechnism
Integrates the fabfire mechanism for use with the jorisdevice and desfire cards
2022-03-12 00:45:59 +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