Commit graph

37 commits

Author SHA1 Message Date
9dcd861a29 Make User create comment Optional 2023-10-29 22:43:20 +01:00
4edc1a494f Improve RPC handler error handling 2023-10-29 22:42:58 +01:00
30b314d16a Remove old test code 2023-10-29 22:22:13 +01:00
529a105bef Remove old Error conversion 2023-10-29 22:21:32 +01:00
f951718241 Start using anyhow 2023-10-29 22:20:32 +01:00
7fcf84f62e switch from custom_error to thiserror 2023-10-29 22:05:17 +01:00
c10f5529d6 Add Create User rpc method 2023-10-29 22:04:00 +01:00
2346e38ff4 config transacion add revert and drop start result 2023-10-29 22:03:10 +01:00
c75944f990 Add vpn get and config rpc calls 2023-10-28 21:02:31 +02:00
21c1f303aa add get rpc calls 2023-10-28 19:47:29 +02:00
2281803fa0 rename rpc methods 2023-10-28 18:33:47 +02:00
42cc14cb14 Get JsonRPC Working 2023-10-28 15:44:12 +02:00
0a603b6642 remove json_rpc modified crate 2023-10-28 14:14:48 +02:00
6b75341d03 WIP use jsonrpsee rpcmodule 2023-10-27 00:22:07 +02:00
9090f883af get jsonrpc working 2023-10-26 17:31:42 +02:00
4c3ce8208a Add shadow compatible password hashing 2023-10-26 13:08:17 +02:00
faf446d93a Add temp api handle 2023-10-26 00:28:44 +02:00
3a9be114d8 get Authentication and Sessions working 2023-10-26 00:28:17 +02:00
acfa0cc83a Add Default config generation 2023-10-26 00:27:28 +02:00
cadfd8cca9 Add Custom Error 2023-10-26 00:26:40 +02:00
2f48c42677 Pass AppState instead of Session State 2023-10-25 19:02:20 +02:00
46e7c143d6 Distribute Session State 2023-10-25 19:00:11 +02:00
93c5eca7cd Move Router to main, Setup AppState 2023-10-25 18:42:07 +02:00
eaf9f2d3b1 Add TODO's, Save pending config Changes 2023-10-25 18:13:59 +02:00
125c2d48d8 Make Config Manager Thread Safe and Cloneable 2023-10-25 18:06:07 +02:00
ed6d1fa3f0 wip auth 2023-10-23 23:51:34 +02:00
2a7c13d612 Move router to seperate file, add traceing 2023-10-22 22:16:35 +02:00
65bdbbbb53 Add tokio, axum and tower-http 2023-10-22 02:09:40 +02:00
5782514179 config manager testing 2023-10-21 23:34:45 +02:00
3247828672 add config manager 2023-10-21 23:34:27 +02:00
030555e721 move module 2023-10-21 23:33:38 +02:00
c17e076bc8 make rules public 2023-10-21 23:30:34 +02:00
bb1b4d78e4 Add Clone Traits 2023-10-21 23:30:15 +02:00
7c2210e26c Add firewall, service, system and vpn definitions 2023-10-20 23:35:51 +02:00
e67c7679a2 move definitions to seperate files 2023-10-20 23:35:05 +02:00
4fdfb151de add validator, fix service port 2023-10-20 18:13:05 +02:00
f6929c2575 Initial Rust test 2023-10-20 17:25:19 +02:00