Commit Graph

903 Commits

Author SHA1 Message Date
bitfl0wer 8136bfa9a5 Fix: Used wrong rout to retrieve singular channel 2023-05-23 16:25:08 +02:00
bitfl0wer 797af67d3a Add get_channel integration test 2023-05-23 15:25:47 +02:00
bitfl0wer 368152e092 Make Channel type derive Eq, PartialEq recursively 2023-05-23 15:25:32 +02:00
bitfl0wer f4f01a00cc Revert "Add ChannelType enum"
This reverts commit b293f5ed96.
2023-05-23 15:17:04 +02:00
bitfl0wer 420f3798f4 try flattening the enum to fix CI 2023-05-23 15:10:56 +02:00
bitfl0wer 64693c8770 Add todo 2023-05-23 14:51:28 +02:00
bitfl0wer b293f5ed96 Add ChannelType enum 2023-05-23 14:50:48 +02:00
bitfl0wer 912d8043d0 Replace URL in errors with full route URL 2023-05-23 14:38:03 +02:00
bitfl0wer 9a6a08bb67 Implement get() for channel 2023-05-23 14:37:34 +02:00
bitfl0wer fd0442dcc9 Start working on get() channel route 2023-05-23 14:31:21 +02:00
bitfl0wer 985e180c65 Add teardown() call to guild_creation test 2023-05-23 14:28:45 +02:00
bitfl0wer d486442813 Delete Guild on test cleanup 2023-05-23 14:00:08 +02:00
bitfl0wer b05c5b1224 Impl. instance, guild_id, channel to TestBundle 2023-05-23 13:57:02 +02:00
bitfl0wer 81885cffc0 Change create channel method to return Channel
Previously returned a Response object.
2023-05-23 13:50:39 +02:00
bitfl0wer 12095132d5 Add instance, guild, channel to TestBundle 2023-05-23 13:15:57 +02:00
bitfl0wer fc55a53ed5 Implement create channel methods 2023-05-23 13:06:09 +02:00
bitfl0wer 69425f18ac start working on channel create 2023-05-22 23:22:34 +02:00
Flori a445341e68 Update README.md 2023-05-22 22:21:27 +02:00
kozabrada123 ae21139213 Add Voice StateUpdate and ServerUpdate events 2023-05-22 18:42:12 +02:00
kozabrada123 d2b5fb7d72 Add GuildScheduledEvent Events (pt 2) 2023-05-22 16:46:49 +02:00
kozabrada123 e54ad258f8 Add GuildScheduledEvent Events 2023-05-22 16:43:06 +02:00
kozabrada123 5dec2dbf36 Remove unused 2023-05-22 15:57:37 +02:00
kozabrada123 73a9e5b0fc Merge branch 'main' 2023-05-22 13:30:19 +02:00
Flori f599a3f229 Merge pull request #63 from polyphony-chat/refactor/restructuring-of-tests
Refactor/restructuring of tests
2023-05-21 21:20:28 +02:00
bitfl0wer 5af2216882 move integration test from guild to integration.rs 2023-05-21 16:02:54 +02:00
bitfl0wer f897351994 Derive Debug, add comment 2023-05-21 15:51:24 +02:00
bitfl0wer 45bd52dc9b Register testuser on setup(), delete on teardown() 2023-05-21 15:49:52 +02:00
bitfl0wer 5e5be4a9b4 Add delete() to User 2023-05-21 15:05:02 +02:00
bitfl0wer 1b89f66d15 Create teardown() 2023-05-21 00:47:40 +02:00
Flori e55cd7176c Merge pull request #62 from polyphony-chat/main
Merge main into refactor branch.
2023-05-20 23:31:13 +02:00
Flori e4a75a2809 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 8aa4dea9c4 Fix 'already borrowed: BorrowMutError' 2023-05-20 23:21:24 +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 0847821f5e Create integration.rs, is broken right now 2023-05-20 21:04:03 +02:00
kozabrada123 ed144e723d Add Guild Audit Log Entry Create 2023-05-20 13:03:44 +02:00
kozabrada123 6ceaee4f14 Add Invite Create & Delete 2023-05-20 12:50:05 +02:00
bitfl0wer 64ed7cd2aa Begin working on setup fn in tests/integration.rs 2023-05-20 12:22:54 +02:00
kozabrada123 b207521bbd Add Passive Update V1 2023-05-20 09:35:48 +02:00
kozabrada123 1a98e7db6b Duplicate VoiceState 2023-05-20 08:59:14 +02:00
kozabrada123 50fb208023 Update dependencies, deserialize errors 2023-05-20 08:39:02 +02:00
kozabrada123 2bc24ed949 Merge pull request #60 from polyphony-chat/main
Rebase feature/fgc
2023-05-20 08:37:34 +02:00
Flori 06362cdb6e Merge pull request #59 from polyphony-chat/feature/user-profile-customization
Feature/user profile customization
2023-05-19 17:34:24 +02:00
kozabrada123 f33411e6c3 Solve deserialization problem semi optimally 2023-05-17 18:16:47 +02:00
kozabrada123 ae06991be6 Revert "Deserialize from String" (Ugh)
This reverts commit 79eb3e3b30.

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 79eb3e3b30 Deserialize from String instead of Value 2023-05-17 17:03:03 +02:00
kozabrada123 57dd0978dd Some minor changes 2023-05-17 16:24:04 +02:00
bitfl0wer 376ae83f58 Implement modify(), untested as of now 2023-05-16 15:59:23 +02:00
bitfl0wer 29318e9085 Add UserModifySchema 2023-05-16 15:59:06 +02:00
bitfl0wer a1397cf46f Add PasswordRequiredError 2023-05-16 15:58:51 +02:00
bitfl0wer fbd9170806 Start working on User::modify(). 2023-05-15 23:20:23 +02:00