Commit Graph

272 Commits

Author SHA1 Message Date
Kai Kriegel
2f2d2216af switch docker build to buildx for multiarch 2021-12-13 23:57:14 +00: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
Kai Kriegel
c5f72d9508 added volume for adapter scripts 2021-09-21 19:17:48 +02:00
Nadja Reitzenstein
ba73fe80c5 Re-enable MQTT 2021-09-21 18:45:35 +02:00
Nadja Reitzenstein
73f63238a8 state 2021-09-21 17:49:21 +02:00
Nadja Reitzenstein
04052b6193 better output and examples 2021-09-21 09:22:54 +02:00
Nadja Reitzenstein
aa58657122 Let's not break, shall we? ^^' 2021-09-21 09:06:49 +02:00
Nadja Reitzenstein
bd635d97ac Make work 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
143416a308 Update example config 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
f4fead00e6 Only return caps the user can have 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
27791ed19b Move around Ownership until it compiles 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
e678e67d32 Pointerwise moving is even easier 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
d29b0c207d Unused lifetime parameter are unused. 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
4e3bb44040 Start the user API 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
006ae0af68 Better user 2021-09-21 07:54:18 +02:00
Nadja Reitzenstein
2fe6aa41c1 Dump RoleIdentifier the right way around 2021-09-21 07:54:18 +02:00
Kai Kriegel
ce7f678afa added a docker volume for bffh db 2021-09-20 20:21:34 +00:00
Nadja Reitzenstein
c2fa76de42 update schema submodule 2021-09-19 21:55:06 +02:00
Kai Kriegel
3709c13af5 fix config file for docker 2021-09-19 19:45:52 +00:00
Nadja Reitzenstein
bf840a2c94 GetMachine impl 2021-09-19 20:34:03 +02:00
Nadja Reitzenstein
ba7a59c3de Stuff to make work 2021-09-19 19:48:16 +02:00
Nadja Reitzenstein
abc9126137 Fix clippy lints 2021-09-19 19:48:16 +02:00
Kai Kriegel
b033b6dc07 Update docker build system 2021-09-19 16:30:14 +00:00
Kai Kriegel
7d2213f239 Update .gitlab-ci.yml 2021-09-19 16:27:33 +00:00
Kai Kriegel
1cab3ab264 Update .gitlab-ci.yml 2021-09-19 16:24:58 +00:00
Nadja Reitzenstein
660fe5ed9e Most of Machine implemented 2021-09-19 15:58:37 +02:00
Nadja Reitzenstein
e5903961d1 More API implementation 2021-09-19 15:58:37 +02:00
Nadja Reitzenstein
b8a9b64953 Remove removed schemata include 2021-09-19 15:58:37 +02:00
Gregor Reitzenstein
a1355aaa6a Fix all tests 2021-09-19 15:58:37 +02:00
Gregor Reitzenstein
8ceee0bd94 Better database abstraction 2021-09-19 15:58:37 +02:00
Gregor Reitzenstein
d0b73c9b49 make compile 2021-09-19 15:58:37 +02:00
Gregor Reitzenstein
05cbfc7199 Update schema to latest main 2021-09-19 15:58:37 +02:00
Gregor Reitzenstein
4362eaf36d Commit updated Cargo.lock 2021-09-19 15:58:37 +02:00
Gregor Reitzenstein
8e1c0ea0a3 Setup new schema modules 2021-09-19 15:58:37 +02:00