Commit Graph

461 Commits

Author SHA1 Message Date
Nadja Reitzenstein
d6858ab5a5 rustfmt 2022-05-05 19:22:02 +02:00
Nadja Reitzenstein
3078d5dab8 add pre-push hook to check formatting 2022-05-05 19:21:51 +02:00
Nadja Reitzenstein
481649c8d2 Update gitlab-ci.yml 2022-05-05 19:13:23 +02:00
Nadja Reitzenstein
f1c726f672 Make cargo test --tests only run integration tests 2022-05-05 18:02:56 +02:00
Nadja Reitzenstein
ce204b9bc1 Remove sincerely obsolete code 2022-05-05 17:51:51 +02:00
Nadja Reitzenstein
be5a600abf Move api/schema submodule to relative path 2022-05-05 17:36:53 +02:00
Nadja Reitzenstein
9e2be12fbd Make unit tests compile 2022-05-05 17:22:54 +02:00
Nadja Reitzenstein
76f59d7196 Remove things that should be in your global .gitignore 2022-05-05 15:57:29 +02:00
Nadja Reitzenstein
5f7397588a libgsasl is not required anymore 2022-05-05 15:53:11 +02:00
Nadja Reitzenstein
212f657289 add a version controlled git pre-commit hook 2022-05-05 15:52:03 +02:00
Nadja Reitzenstein
2d9f30b55b Run rustfmt 2022-05-05 15:50:44 +02:00
Nadja Reitzenstein
475cb9b9b4 Prepare for pushing 0.4.1 to main for public release
* main:
  stay on v0.2 compatible api version
  Don't default to MQTT 3.1 either
  Sets a 20 second MQTT keepalive intervall
  Make MQTT client try to reconnect on connection lost or disconnect
  Disclose machines that are used by yourself
  replace master with main in ci
  Update dependencies and move rsasl to ARM/AArch64-compatible version
  Stable release v0.2.1
2022-05-03 17:19:37 +02:00
Nadja Reitzenstein
3b0b4710f6 Correct CHANGELOG 2022-05-03 17:16:25 +02:00
Nadja Reitzenstein
cae3b3a83e Correcly dump and recreate user db on --load 2022-04-30 20:52:32 +02:00
Nadja Reitzenstein
cfaf4d509e Better error reporting for auth
Fixes: #49
2022-04-30 20:22:51 +02:00
Nadja Reitzenstein
c35d3bc6b1 User mgmnt api improvements 2022-04-28 21:00:03 +02:00
Nadja Reitzenstein
505afccbf8 Implement addUserFallible instead of addUser 2022-04-28 20:38:44 +02:00
Nadja Reitzenstein
ed10b15a10 Only set search cap for manage for now 2022-04-28 20:35:06 +02:00
Nadja Reitzenstein
869f3d5e5f Add user search impl 2022-04-28 20:33:46 +02:00
Nadja Reitzenstein
b6c9b61511 impl relevant proto changes 2022-04-27 20:27:14 +02:00
Nadja Reitzenstein
1070d9e6eb update schema submodule 2022-04-27 20:25:09 +02:00
Nadja Reitzenstein
46e3552e04 Implements a first bit of User management. 2022-04-27 20:19:04 +02:00
Nadja Reitzenstein
fe992a9446 Oh also update CHANGELOG 2022-04-27 19:22:07 +02:00
Nadja Reitzenstein
f4d793621c Remove doc warnings for now and fix others 2022-04-27 17:30:04 +02:00
Nadja Reitzenstein
4e10a981b2 Return full version string for --version
Fixes #53
2022-04-27 17:23:05 +02:00
Nadja Reitzenstein
4ca4dc124b Pinning rsasl version to commit 2022-04-27 17:21:07 +02:00
Kai Jan Kriegel
df64d43e03 ran cargo fix 2022-04-26 23:21:43 +02:00
Kai Jan Kriegel
ba99f6f131 fixed Dockerfile 2022-04-26 23:18:50 +02:00
Kai Jan Kriegel
2c4b3c9cd0 also build machine if user has read perm 2022-04-24 20:10:06 +02:00
Nadja Reitzenstein
846fb09433 Merge branch 'feature/api-0.3' into feature/cleanup
* feature/api-0.3: (37 commits)
  Rerun on changed BFFHD_BUILD_TAGGED_RELEASE env var
  Log version on start
  Make build step only use git info when not building a tagged release
  Reverse visibility check to properly disclose machines
  Only return `use` interface if machine is currently free or reserved by me
  allow bffh to build outside of a git repo
  enable mutistage auth
  Fix auth
  Update API
  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
  Improve TLS support
  Fixes warnings
  Port to rsasl2
  More cleanup.
  Makes rumqttc futures run on the tokio runtime as required.
  Use our own MQTT URL dissector so existing configs don't break
  Fixing more warnings
  ...
2022-04-22 20:14:59 +02:00
Nadja Reitzenstein
3300105082 Implement changes from fabaccess-api#24 2022-04-22 20:09:34 +02:00
Nadja Reitzenstein
047f7bc1de sensible search return values for non-existant/non-visible resources 2022-04-22 19:57:58 +02:00
Nadja Reitzenstein
15c878e1d2 comp 2022-04-21 23:04:07 +02:00
Nadja Reitzenstein
5538dd6751 User admin methods 2022-04-21 23:04:07 +02:00
Nadja Reitzenstein
3eab5b8702 Make auditlog log 2022-04-21 23:04:07 +02:00
Nadja Reitzenstein
c402c71abc Keep old config system 2022-04-21 23:04:07 +02:00
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