Commit Graph

393 Commits

Author SHA1 Message Date
Zertex 0d5e592ea4 Simplify locks 2023-05-26 11:54:07 -04:00
Zertex 02d1cc3b97 Simplify locks 2023-05-26 11:44:02 -04:00
Zertex d00f21cd3f Un-lock mod errors 2023-05-26 10:23:11 -04:00
Zertex 351d0ae6d2 Make client feature default 2023-05-26 10:16:24 -04:00
Zertex 38503aea57 Lock client specific code behind feature 2023-05-26 10:16:08 -04:00
Zertex e0518db6a9 Add features to Cargo.toml 2023-05-26 10:09:55 -04:00
Zertex 113db7575d Convert Channel::guild_id to Snowflake 2023-05-26 09:59:36 -04:00
Zertex f964a2d303 Serde_repr on ChannelType 2023-05-26 09:58:13 -04:00
bitfl0wer e3b4d3c56d
remove internal only attributes 2023-05-26 13:17:27 +02:00
bitfl0wer c214c8bd73
Prettify imports, remove outdated types/schemas 2023-05-26 12:59:32 +02:00
bitfl0wer 47b8960d15
Run cargo fix 2023-05-26 12:53:57 +02:00
bitfl0wer 04ae8fdf68
Remove unnecessary import 2023-05-26 12:51:18 +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 5dc1441ac6
Integrate polyphony-types into chorus 2023-05-25 21:11:08 +02:00
bitfl0wer 2eb7c8edbc
add types from polyphony-types 2023-05-25 18:46:59 +02:00
Flori 2a0211190a
Update README.md 2023-05-25 18:33:17 +02:00
bitfl0wer d762a25953
Move Channels::get() to channels.rs 2023-05-23 16:28:25 +02:00
bitfl0wer 377e619f77
Create channels.rs 2023-05-23 16:28:09 +02:00
bitfl0wer 8698fce7fc
Fix get_channel test 2023-05-23 16:25:31 +02:00
bitfl0wer fc1993894d
Fix: Used wrong rout to retrieve singular channel 2023-05-23 16:25:08 +02:00
bitfl0wer 43b099b5eb
Add get_channel integration test 2023-05-23 15:25:47 +02:00
bitfl0wer cdd0465a05
Make Channel type derive Eq, PartialEq recursively 2023-05-23 15:25:32 +02:00
bitfl0wer cc332847fb
Revert "Add ChannelType enum"
This reverts commit d100308dfd.
2023-05-23 15:17:04 +02:00
bitfl0wer de9040de80
try flattening the enum to fix CI 2023-05-23 15:10:56 +02:00
bitfl0wer 0c22e241fa
Add todo 2023-05-23 14:51:28 +02:00
bitfl0wer d100308dfd
Add ChannelType enum 2023-05-23 14:50:48 +02:00
bitfl0wer 71d5c229cf
Replace URL in errors with full route URL 2023-05-23 14:38:03 +02:00
bitfl0wer 8808e5554f
Implement get() for channel 2023-05-23 14:37:34 +02:00
bitfl0wer 9afce452a6
Start working on get() channel route 2023-05-23 14:31:21 +02:00
bitfl0wer 8030b7f152
Add teardown() call to guild_creation test 2023-05-23 14:28:45 +02:00
bitfl0wer 9fce6c4606
Delete Guild on test cleanup 2023-05-23 14:00:08 +02:00
bitfl0wer 4b4f863c03
Impl. instance, guild_id, channel to TestBundle 2023-05-23 13:57:02 +02:00
bitfl0wer b910f44e90
Change create channel method to return Channel
Previously returned a Response object.
2023-05-23 13:50:39 +02:00
bitfl0wer 0e3e26439d
Add instance, guild, channel to TestBundle 2023-05-23 13:15:57 +02:00
bitfl0wer 6af16490ab
Implement create channel methods 2023-05-23 13:06:09 +02:00
bitfl0wer 8d66e7d90d
start working on channel create 2023-05-22 23:22:34 +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
bitfl0wer 556976890d
Begin working on setup fn in tests/integration.rs 2023-05-20 12:22:54 +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