Commit graph

54 commits

Author SHA1 Message Date
9172f56fd9 minor field renaming 2023-11-02 21:47:11 +01:00
8945fdeda3 add create_map, update_map and update_vec macros 2023-11-02 00:47:54 +01:00
0895f0892e Use Correct Error 2023-11-01 15:11:28 +01:00
0d5505597d Make TCP/UDP Port Single/Range an Enum 2023-11-01 04:47:52 +01:00
94f580996c add create vec thing macro 2023-11-01 04:39:02 +01:00
4b461d4cab fix incorrect rpc method names 2023-11-01 03:58:51 +01:00
7eb8b87952 rename all rpc methods to new schema 2023-11-01 03:37:45 +01:00
eecdb51509 Add RPC Delete Macro 2023-11-01 03:23:29 +01:00
1f9c2d62df split register_method calls into proper files 2023-10-30 22:49:55 +01:00
77e2430507 cleanup rust warnings 2023-10-30 22:19:55 +01:00
a9b99899c0 Replace duplicate get functions with macros 2023-10-30 22:11:17 +01:00
b90e56c508 remove ping method 2023-10-30 21:47:24 +01:00
18ef592c55 Add config Change tracking 2023-10-30 18:26:09 +01:00
56e5bf1f2c Handle Errors Properly 2023-10-30 18:25:25 +01:00
c7786cb58d Add get_user and update_user 2023-10-30 02:02:41 +01:00
e93c1cc438 Return null instead of skipping field on empty success response 2023-10-29 23:23:50 +01:00
c7e9e9dfee Add delete_user RPC Method 2023-10-29 22:52:28 +01:00
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