Commit Graph

575 Commits

Author SHA1 Message Date
Nadja Reitzenstein
e6682ca8a8 Remove copyright for now 2022-04-21 23:04:07 +02:00
Nadja Reitzenstein
b02afe5575 Splitting config 2022-04-21 23:04:07 +02:00
Kai Jan Kriegel
28d90f1078 bump base image 2022-03-29 19:55:09 +02:00
Kai Jan Kriegel
831b18128d fix fabfire mechanism integration and improve logging 2022-03-19 06:00:21 +01:00
Kai Jan Kriegel
41f8b83cd5 log outcome of loading user db 2022-03-19 05:54:18 +01:00
Kai Jan Kriegel
9bd1b917a2 modified dockerfile 2022-03-17 16:37:49 +01:00
Kai Jan Kriegel
8c6b53d050 reduce rsasl to minimal required features 2022-03-17 02:13:09 +01:00
Nadja Reitzenstein
33e8a62d2a Implement more API to make Borepin happier 2022-03-16 20:17:59 +01:00
Nadja Reitzenstein
b88c6f69cd Updating rsasl version 2022-03-16 19:32:19 +01:00
Nadja Reitzenstein
538b0b28f1 Importing X-FABFIRE auth mechanism 2022-03-16 19:32:03 +01:00
Nadja Reitzenstein
cb8cda39cd Rerun on changed BFFHD_BUILD_TAGGED_RELEASE env var 2022-03-16 19:14:24 +01:00
Nadja Reitzenstein
bd8c2d2173 Make build step only use git info when not building a tagged release 2022-03-16 19:14:24 +01:00
Kai Jan Kriegel
ba005b3f9f allow bffh to build outside of a git repo 2022-03-16 19:10:55 +01:00
Nadja Reitzenstein
29a44bdb6a Make capnp machines api work again 2022-03-16 19:01:09 +01:00
Nadja Reitzenstein
2b7044d498 Compile with new DB system 2022-03-16 18:10:59 +01:00
Nadja Reitzenstein
7f362c7ab4 Rerun on changed BFFHD_BUILD_TAGGED_RELEASE env var 2022-03-16 15:17:09 +01:00
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
1156174d7a Remove DB code that assumes alignment 2022-03-15 21:53:21 +01:00
Nadja Reitzenstein
a145efc948 LMDB does not guarantee alignment. 2022-03-15 21:24:21 +01:00
Nadja Reitzenstein
648026574f Commit on useradd 2022-03-15 20:00:52 +01:00
Nadja Reitzenstein
c0b311e14c Cargo fix 2022-03-15 20:00:43 +01:00
Nadja Reitzenstein
2e5f343d52 Tracing and dumping 2022-03-15 19:56:41 +01:00
Nadja Reitzenstein
48003ef51c Cleanup authentication 2022-03-15 19:16:33 +01:00
Nadja Reitzenstein
a111a86266 Impl roles 2022-03-15 19:14:04 +01:00
Nadja Reitzenstein
d7467989ef Splitting bffhd setup routines 2022-03-15 19:13:55 +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
5c9b72c37d Session initialization 2022-03-15 17:52:47 +01:00
Nadja Reitzenstein
2e9c7fbc19 Make Users DB a global resource 2022-03-15 16:28:11 +01:00
Nadja Reitzenstein
4ff0abd161 DB indexing code 2022-03-15 16:27:52 +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
Nadja Reitzenstein
ddd8add270 User db & loading 2022-03-13 22:50:37 +01:00
Nadja Reitzenstein
c4dac55b23 Copy actor types 2022-03-13 21:54:48 +01:00
Nadja Reitzenstein
613e62c7e6 Actor loading & configuring 2022-03-13 21:34:05 +01:00
Nadja Reitzenstein
bd98f13f67 Simplify Actor impl to have a static source 2022-03-13 20:38:11 +01:00
Nadja Reitzenstein
07a7cbe42b Resources lookup impl 2022-03-13 20:33:26 +01:00
Nadja Reitzenstein
d5833f30c4 Adding machines back to config 2022-03-13 20:14:50 +01:00
Nadja Reitzenstein
cc48dcca17 DB up/down/sidegrade 2022-03-13 20:11:37 +01:00
Kai Jan Kriegel
926d200c93 update desfire crate to version on crates.io 2022-03-13 18:05:36 +01:00
Nadja Reitzenstein
df5ee9a0a1 Api framework impl 2022-03-13 17:29:21 +01:00
Nadja Reitzenstein
999463e0e9 Merge branch 'development' into feature/cleanup
* development: (21 commits)
  Update INSTALL.md
  Update INSTALL.md
  Better tls connection handling with smol::io::split
  Add development cert/key files
  Implement TLS handling
  Add rustls dependencies
  Fix #29
  Set previous user on all state changes if required
  Fix URN
  Config improvements and make shellies have a topic parameter
  Fix Machines using their name instead of their id
  Revert "added first start logic to seed db and keep state"
  Lock!
  Make machine correctly load state and set previous/current use in API
  Also catch SIGQUIT and SIGTERM and clean up properly
  Returns current user
  added first start logic to seed db and keep state
  Implement getting a machine by URN
  Also set URN and wiki links on machine lists
  Implement wiki and URN links
  ...
2022-03-12 17:31:58 +01:00
Nadja Reitzenstein
87af5fde94 Implement more API 2022-03-12 17:31:53 +01:00
Nadja Reitzenstein
ee57c2b275 Update schema 2022-03-12 15:02:15 +01:00
Nadja Reitzenstein
c5852d50fb Cleaning up code 2022-03-12 14:23:07 +01:00
Kai Jan Kriegel
5c5c9710c5 working Desfire auth in the api! 2022-03-12 10:45:09 +01:00