Commit Graph

248 Commits

Author SHA1 Message Date
bitfl0wer 17eab8169e
Change HashMap<> to Limits 2023-04-24 19:49:26 +02:00
bitfl0wer 3e9aebf7ee
Implement Limits::new() and more logic 2023-04-24 19:38:42 +02:00
Flori 8fa85e42fb
Merge pull request #14 from polyphony-chat/improvement/user-on-instance
Create internal User and API UserObject
2023-04-24 15:11:36 +02:00
bitfl0wer eea118b623
Create internal User and API UserObject 2023-04-23 21:32:48 +02:00
Flori 3932df005b
Update README.md 2023-04-23 20:34:40 +02:00
Flori 5914df129e
Merge pull request #10 from polyphony-chat/feature/register-login
Implement Login, close feature branch
2023-04-23 20:26:26 +02:00
bitfl0wer 2880097cb2
comment out test until spacebar pr is merged 2023-04-23 20:21:36 +02:00
Flori 0c2a549f41
Update README.md 2023-04-23 20:16:39 +02:00
bitfl0wer f3f70ba131
Implement Login 2023-04-23 20:11:14 +02:00
Flori 5f9a182aa5
Update README.md 2023-04-23 14:05:44 +02:00
Flori 163b215329
Merge pull request #9 from polyphony-chat/feature/register-login
Bring main up-to-date
2023-04-23 14:05:05 +02:00
bitfl0wer fc4a0a4533
make compiler happy 2023-04-23 14:01:02 +02:00
bitfl0wer d9c82d5bfa
start working on login 2023-04-23 14:00:27 +02:00
bitfl0wer cfed349c03
Make send_request return Result 2023-04-23 13:58:17 +02:00
bitfl0wer 82bfec0612
Made test pass 2023-04-23 13:45:52 +02:00
bitfl0wer d1d8b6f237
Add documentation 2023-04-23 12:06:51 +02:00
bitfl0wer 1e00296dc9
Made AuthEmail, Password and Username reusable 2023-04-23 11:58:45 +02:00
bitfl0wer 152cc9dca9
Update readme 2023-04-23 11:06:43 +02:00
Flori ba692ef6cc
Merge pull request #8 from polyphony-chat/bitfl0wer-patch-1
Update README.md
2023-04-22 22:56:59 +02:00
Flori 3245885133
Update README.md 2023-04-22 22:56:51 +02:00
Flori 29d2cf8b81
Add register feature
Feature/register
2023-04-22 22:56:32 +02:00
bitfl0wer 2e52fb71d4
Register function with good errors! 2023-04-22 22:12:56 +02:00
bitfl0wer fbfa4fda94
push progress 2023-04-22 11:32:44 +02:00
bitfl0wer d67cedc847
Remove boilerplate errors 2023-04-21 23:20:23 +02:00
bitfl0wer b18e38a5fc
impl register 2023-04-21 18:20:57 +02:00
bitfl0wer 1418b67921
add error 2023-04-21 18:20:49 +02:00
bitfl0wer f96bcb87f6
Move custom errros to central file 2023-04-21 16:18:20 +02:00
Flori 9f25e45c3b
Merge pull request #6 from polyphony-chat/feature/register-login
Replace Custom Error boilerplate with macro
2023-04-21 15:32:56 +02:00
bitfl0wer 552b43f80b
Replace Custom Error boilerplate with macro 2023-04-21 15:04:58 +02:00
Flori 44e3cef58a
Merge pull request #5 from polyphony-chat/feature/register-login
Update main
2023-04-21 14:35:54 +02:00
bitfl0wer fff71f0529
create errors.rs 2023-04-21 14:30:10 +02:00
bitfl0wer 950eba2ae7
Add TODO 2023-04-21 14:30:03 +02:00
bitfl0wer ff6874abcb
Fix bad build 2023-04-21 14:27:56 +02:00
bitfl0wer 4f745c958c
Have AuthRegister and AbsoluteRegister cancel each other out 2023-04-20 20:11:12 +02:00
bitfl0wer 897df7adce
Change comment 2023-04-20 19:47:20 +02:00
bitfl0wer e43b3934e4
Improve limit check 2023-04-20 19:47:08 +02:00
bitfl0wer 27c111fd99
begin working on register 2023-04-20 00:14:11 +02:00
bitfl0wer 8666aa34e5
add users hashmap 2023-04-19 23:32:02 +02:00
Flori 389a509bfc
Merge pull request #3 from polyphony-chat/feature/register-login
Bring main up-to-date
2023-04-19 21:42:04 +02:00
bitfl0wer 9e10ce05a9
add await to fix test error 2023-04-19 20:58:14 +02:00
bitfl0wer bc3083bcf6
add additional documentation and TODO 2023-04-19 20:42:28 +02:00
bitfl0wer 33b5d6d57c
create new() method 2023-04-19 20:42:11 +02:00
bitfl0wer 1d25fdffcb
Include new file 2023-04-19 20:41:52 +02:00
bitfl0wer 32f1365a54
make progress on instance object creation 2023-04-19 20:41:33 +02:00
bitfl0wer f45193fc40
implement getting InstancePoliciesSchema
Co-authored-by: sky <skyrina@users.noreply.github.com>
2023-04-19 20:41:15 +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 0f424a9c53
start working on register 2023-04-16 23:03:24 +02:00
bitfl0wer 5e3fb77911
add gateway object 2023-04-16 23:03:12 +02:00
Flori ccbe7122fe
Merge pull request #2 from polyphony-chat/feature/client
Feature/client
2023-04-16 22:53:20 +02:00