Commit Graph

94 Commits

Author SHA1 Message Date
Nadja Reitzenstein
a79293add1 Better error wrapper type 2022-07-11 12:14:56 +02:00
Nadja Reitzenstein
c9a8ef7db4 Return a better error when --load is given a directory
Closes: #55
2022-06-24 15:16:46 +02:00
Nadja Reitzenstein
257fbf5506 Output plentiful trace info for API calls 2022-06-24 14:35:31 +02:00
Nadja Reitzenstein
1ff3f2afb7 log all api calls with TRACE level 2022-06-24 13:57:51 +02:00
Nadja Reitzenstein
13bbe2bee9 Add a connection-specific span to each API handler 2022-06-24 12:25:52 +02:00
Nadja Reitzenstein
77e0935945 Allow tracking cgroups with futures 2022-06-23 21:19:38 +02:00
Nadja Reitzenstein
e7358838d5 Oh whoops handle that 2022-06-23 17:31:57 +02:00
Nadja Reitzenstein
18d69063fd Even more console shenanigans 2022-06-22 19:01:58 +02:00
Nadja Reitzenstein
2d8d6f9938 tracing more data 2022-06-22 14:43:14 +02:00
Nadja Reitzenstein
287ca9806d Console is attached and compiles 2022-06-21 22:24:40 +02:00
Nadja Reitzenstein
58f40d98ed Implement PermissionSystem::getRoleList()
Closes: #62
2022-06-20 15:20:00 +02:00
Nadja Reitzenstein
a66303566a Process initiator working 2022-06-18 16:52:30 +02:00
Nadja Reitzenstein
6d8d1384d9 Reimplement the dummy initiator 2022-06-07 14:05:57 +02:00
Nadja Reitzenstein
5f2214abe9 Switch out anyhow for miette 2022-06-02 17:46:36 +02:00
Nadja Reitzenstein
17fd08b7e5 More trace output of role checking 2022-05-31 13:45:51 +02:00
Nadja Reitzenstein
a43c38c118 Better errors when the db directory is missing 2022-05-31 13:11:48 +02:00
Kai Jan Kriegel
50b4394cfd update fabfire desfire appid 2022-05-24 23:41:42 +02:00
Nadja Reitzenstein
f905b1f375 Slightly more logging during authentication 2022-05-20 18:19:05 +02:00
Nadja Reitzenstein
25df5bf5b2 Switch to shadow-rs
Closes #58
2022-05-18 17:01:24 +02:00
Nadja Reitzenstein
c435f76d08 --version talks about API version too 2022-05-14 15:36:32 +02:00
Nadja Reitzenstein
d591daa884 Start on improving a few version thingies 2022-05-14 15:09:35 +02:00
Nadja Reitzenstein
d6858ab5a5 rustfmt 2022-05-05 19:22:02 +02:00
Nadja Reitzenstein
9e2be12fbd Make unit tests compile 2022-05-05 17:22:54 +02:00
Nadja Reitzenstein
2d9f30b55b Run rustfmt 2022-05-05 15:50:44 +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
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
46e3552e04 Implements a first bit of User management. 2022-04-27 20:19:04 +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
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
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
831b18128d fix fabfire mechanism integration and improve logging 2022-03-19 06:00:21 +01:00
Nadja Reitzenstein
33e8a62d2a Implement more API to make Borepin happier 2022-03-16 20:17:59 +01:00
Nadja Reitzenstein
538b0b28f1 Importing X-FABFIRE auth mechanism 2022-03-16 19:32:03 +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
1156174d7a Remove DB code that assumes alignment 2022-03-15 21:53:21 +01:00