Vincent Junge
37de1d7b06
Fix various Clippy lints
2023-06-19 12:35:07 +02:00
Flori Weber
f4e0d520b1
Reformat entire project, optimize imports
2023-06-11 13:52:31 +02:00
bitfl0wer
a18eab1884
Change UserMeta: User instead of Option<User>
...
I do not know why I have made it optional in the first place. hm
2023-06-10 00:35:51 +02:00
bitfl0wer
9f21c06492
Change InstanceServerError to ChorusLibError
...
The name InstanceServerError was chosen without thinking about it too much, very early in development. The new name suits this custom Error type way better, in my opinion.
2023-06-08 22:16:23 +02:00
bitfl0wer
96c7c129f2
Finish refactor
2023-05-26 12:50:16 +02:00
bitfl0wer
513e2b0394
start porting over new types folder
2023-05-25 23:09:18 +02:00
bitfl0wer
3f27df7ac4
Replace &mut Instance with Rc<RefCell<Instance>>
...
Replace &mut Instance with Rc<RefCell<Instance>> on the User struct to represent the 1:n relation of Instance:User
2023-05-20 23:10:25 +02:00
kozabrada123
9f8ff96d1b
Small changes for merging
2023-05-13 16:43:29 +02:00
kozabrada123
4008d36763
Attempted reimpl
2023-05-11 22:47:31 +02:00
kozabrada123
9962dfdf81
Merge branch 'feature/gateway-observer' into main
2023-05-09 18:35:53 +00:00
bitfl0wer
8f3912c277
Remove unneccessary imports
2023-05-07 12:39:56 +02:00
bitfl0wer
b2fa6db492
Remove lifetime from Instance (see below)
...
Originally, it was planned, that the Instance object would store Users. I have identified, that this was not needed, as it goes beyond the scope of a library; Users of this library are expected to keep track of users themselves. The removal of this user storage also prevented further overcomplications.
2023-05-07 12:39:04 +02:00
kozabrada123
8414bbb1c2
Fixed instance lifetime parameter
2023-05-05 22:46:00 +02:00
kozabrada123
bc3e93ce5a
Readd gateway to instance
2023-05-05 22:04:57 +02:00
bitfl0wer
7445f1efc7
Add lifetime to Instance
2023-05-03 16:37:10 +02:00
bitfl0wer
7cb77bae0f
Improve readability
2023-04-25 17:41:14 +02:00
bitfl0wer
e52a646054
Split up schemas.rs
2023-04-25 17:32:30 +02:00
bitfl0wer
c9d5bb8b6e
Merge remote-tracking branch 'origin/main' into improvement/update-rate-limiter-implementation
2023-04-24 19:50:36 +02:00
bitfl0wer
17eab8169e
Change HashMap<> to Limits
2023-04-24 19:49:26 +02:00
bitfl0wer
eea118b623
Create internal User and API UserObject
2023-04-23 21:32:48 +02:00
bitfl0wer
d67cedc847
Remove boilerplate errors
2023-04-21 23:20:23 +02:00
bitfl0wer
8666aa34e5
add users hashmap
2023-04-19 23:32:02 +02:00
bitfl0wer
32f1365a54
make progress on instance object creation
2023-04-19 20:41:33 +02:00
bitfl0wer
7528a8eccd
remove token check, add username impl
2023-04-17 22:38:21 +02:00
bitfl0wer
38e3ee3afa
add Token struct and impl
2023-04-17 21:31:15 +02:00
bitfl0wer
5e3fb77911
add gateway object
2023-04-16 23:03:12 +02:00
bitfl0wer
4b129ee6a3
Rename client to instance
2023-04-16 22:16:22 +02:00