Commit Graph

1336 Commits

Author SHA1 Message Date
Flori 2e910cf407
Update README.md 2023-05-22 22:21:27 +02:00
kozabrada123 c56dc42cd7 Add Voice StateUpdate and ServerUpdate events 2023-05-22 18:42:12 +02:00
kozabrada123 27ff0116d6 Add GuildScheduledEvent Events (pt 2) 2023-05-22 16:46:49 +02:00
kozabrada123 115c5ab29f Add GuildScheduledEvent Events 2023-05-22 16:43:06 +02:00
kozabrada123 128f66c100 Remove unused 2023-05-22 15:57:37 +02:00
kozabrada123 68e47f03e7 Merge branch 'main' 2023-05-22 13:30:19 +02:00
Flori fc57c57fb4
Merge pull request #63 from polyphony-chat/refactor/restructuring-of-tests
Refactor/restructuring of tests
2023-05-21 21:20:28 +02:00
bitfl0wer 301ac320c6
move integration test from guild to integration.rs 2023-05-21 16:02:54 +02:00
bitfl0wer 31ff7b9243
Derive Debug, add comment 2023-05-21 15:51:24 +02:00
bitfl0wer dd6cc2f45e
Register testuser on setup(), delete on teardown() 2023-05-21 15:49:52 +02:00
bitfl0wer 849acf798e
Add delete() to User 2023-05-21 15:05:02 +02:00
bitfl0wer 8cb26929ce
Create teardown() 2023-05-21 00:47:40 +02:00
Flori c63c571b9b
Merge pull request #62 from polyphony-chat/main
Merge main into refactor branch.
2023-05-20 23:31:13 +02:00
Flori e59e9808ab
Merge pull request #61 from polyphony-chat/refactor/instance-user-connection
Replace &mut Instance with Rc<RefCell<Instance>>
2023-05-20 23:30:21 +02:00
bitfl0wer 825c822791
Fix 'already borrowed: BorrowMutError' 2023-05-20 23:21:24 +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
bitfl0wer b5b032c37e
Create integration.rs, is broken right now 2023-05-20 21:04:03 +02:00
kozabrada123 9ee0b51757 Add Guild Audit Log Entry Create 2023-05-20 13:03:44 +02:00
kozabrada123 5550186ca3 Add Invite Create & Delete 2023-05-20 12:50:05 +02:00
bitfl0wer 556976890d
Begin working on setup fn in tests/integration.rs 2023-05-20 12:22:54 +02:00
kozabrada123 c2320b263b Add Passive Update V1 2023-05-20 09:35:48 +02:00
kozabrada123 d18ac32d20 Duplicate VoiceState 2023-05-20 08:59:14 +02:00
kozabrada123 ea4dfc82d5 Update dependencies, deserialize errors 2023-05-20 08:39:02 +02:00
kozabrada123 78ab26b9ad
Merge pull request #60 from polyphony-chat/main
Rebase feature/fgc
2023-05-20 08:37:34 +02:00
Flori 62508ab9ec
Merge pull request #59 from polyphony-chat/feature/user-profile-customization
Feature/user profile customization
2023-05-19 17:34:24 +02:00
kozabrada123 dad2ad3bec Solve deserialization problem semi optimally 2023-05-17 18:16:47 +02:00
kozabrada123 048a74f0d1 Revert "Deserialize from String" (Ugh)
This reverts commit 3b21445e34.

If course I can't just do that, ugh
Keeping the formatting would require using RawValue, but as we use one struct for sending an recieving, having to make RawValue to send would be pretty dumb
2023-05-17 17:24:29 +02:00
kozabrada123 3b21445e34 Deserialize from String instead of Value 2023-05-17 17:03:03 +02:00
kozabrada123 2b22c50a89 Some minor changes 2023-05-17 16:24:04 +02:00
bitfl0wer 0c22571660
Implement modify(), untested as of now 2023-05-16 15:59:23 +02:00
bitfl0wer 8e58f7a54d
Add UserModifySchema 2023-05-16 15:59:06 +02:00
bitfl0wer d17c046480
Add PasswordRequiredError 2023-05-16 15:58:51 +02:00
bitfl0wer 44f27f7a0e
Start working on User::modify(). 2023-05-15 23:20:23 +02:00
kozabrada123 30aeb26cfd Fix spelling mistake, add minor docs 2023-05-15 20:54:16 +02:00
kozabrada123 28d3a7d924 Fix some deser errors, add CHANNEL_UNREAD_UPDATE 2023-05-15 20:45:33 +02:00
kozabrada123 4a8cff6fd9
Merge pull request #58 from polyphony-chat/main
Bring full-gateway-coverage up to date from main
2023-05-15 12:42:06 +00:00
Flori 36c9a8658e
Merge pull request #55 from polyphony-chat/feature/guild-creation-deletion
Feature/guild creation deletion
2023-05-14 22:54:53 +02:00
bitfl0wer 5e6a5e946e
remove accidental doctests 2023-05-14 22:47:34 +02:00
bitfl0wer 48cd701fbe
make fields on GuildCreateSchema pub 2023-05-14 22:45:55 +02:00
bitfl0wer 8f8bd641c4
add type guildcreateresponse 2023-05-14 22:45:42 +02:00
bitfl0wer c0602b4158
Remove unused import 2023-05-14 22:45:31 +02:00
bitfl0wer ad09bfca40
Change function signatures, add tests 2023-05-14 22:45:18 +02:00
kozabrada123 02570b8c91 Fix some gateway deserialization errors 2023-05-14 19:55:43 +02:00
kozabrada123 c7dea3a81b Add some Guild, Integration and Webhook events 2023-05-14 15:55:20 +02:00
kozabrada123 0b641e8e9b
Merge pull request #56 from polyphony-chat/feature/rest-of-discord-types
Add session, guild event types
2023-05-14 13:38:37 +00:00
kozabrada123 ac38963c0e Add session, guild event types 2023-05-14 15:37:30 +02:00
bitfl0wer 269d73ce87
Add guild delete route 2023-05-14 14:16:21 +02:00
kozabrada123 91ea829381
Merge pull request #53 from polyphony-chat/feature/rest-of-discord-types
Merge added types to gateway coverage
2023-05-14 12:06:03 +00:00
kozabrada123 cb30e1b904
Merge branch 'feature/full-gateway-coverage' into feature/rest-of-discord-types 2023-05-14 12:05:26 +00:00
kozabrada123 1930229a90 Add Readies to Events, try to fix msg_create error 2023-05-14 14:03:18 +02:00