bitfl0wer
fdc1da9af7
Remove print statement
2023-05-28 23:08:05 +02:00
bitfl0wer
a3c800c3d9
Move tests to tests/-dir
2023-05-27 22:46:27 +02:00
bitfl0wer
ba93db0be8
Run cargo fix
2023-05-26 12:53:57 +02:00
bitfl0wer
5b324db391
Finish refactor
2023-05-26 12:50:16 +02:00
bitfl0wer
8a1c1f0a41
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
bitfl0wer
9fd3f733f7
Mark unused var as unused
2023-05-12 12:34:00 +02:00
bitfl0wer
5a7d5e0a4c
Change register test
2023-05-10 18:44:10 +02:00
bitfl0wer
3011b1164f
Change test_registration
2023-05-09 19:30:52 +02:00
bitfl0wer
1bc8081655
Make register and login return UserObject
2023-05-09 17:19:41 +02:00
bitfl0wer
aaf454ffa7
remove println
2023-05-09 17:19:04 +02:00
bitfl0wer
f06b43a8fe
Make register and login return User
2023-05-09 14:05:03 +02:00
bitfl0wer
240882ffdf
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
bitfl0wer
5edc92524c
Add lifetime to Instance
2023-05-03 16:37:10 +02:00
bitfl0wer
3b8891b2dd
Improve readability
2023-04-25 17:41:14 +02:00
bitfl0wer
c67c23f6b4
Improve readability
2023-04-25 17:33:35 +02:00
bitfl0wer
6f2dac6695
Split up schemas.rs
2023-04-25 17:32:30 +02:00
bitfl0wer
a5943197d4
separate User and Instance limits.
2023-04-24 20:58:45 +02:00
bitfl0wer
30742380b9
Change HashMap<> to Limits
2023-04-24 19:49:26 +02:00
bitfl0wer
c11ae79fe2
comment out test until spacebar pr is merged
2023-04-23 20:21:36 +02:00
bitfl0wer
fe3c582d09
Implement Login
2023-04-23 20:11:14 +02:00
bitfl0wer
242eddd5c8
make compiler happy
2023-04-23 14:01:02 +02:00
bitfl0wer
22adda7aa6
start working on login
2023-04-23 14:00:27 +02:00
bitfl0wer
48333cf854
Make send_request return Result
2023-04-23 13:58:17 +02:00
bitfl0wer
8b40b4c3b2
Made test pass
2023-04-23 13:45:52 +02:00
bitfl0wer
83ebd482e5
Made AuthEmail, Password and Username reusable
2023-04-23 11:58:45 +02:00
bitfl0wer
1bdf202745
Register function with good errors!
2023-04-22 22:12:56 +02:00
bitfl0wer
c6ded56510
push progress
2023-04-22 11:32:44 +02:00
bitfl0wer
752c885c10
Remove boilerplate errors
2023-04-21 23:20:23 +02:00
bitfl0wer
aacba2d2a2
impl register
2023-04-21 18:20:57 +02:00
bitfl0wer
1c2a60613b
Replace Custom Error boilerplate with macro
2023-04-21 15:04:58 +02:00
bitfl0wer
dd97341886
Add TODO
2023-04-21 14:30:03 +02:00
bitfl0wer
d98316b3ee
Fix bad build
2023-04-21 14:27:56 +02:00
bitfl0wer
fec52f506d
begin working on register
2023-04-20 00:14:11 +02:00
bitfl0wer
dc5cd09091
start working on register
2023-04-16 23:03:24 +02:00
bitfl0wer
7dc25dd4c6
add auth module
2023-04-16 15:07:15 +02:00