Commit Graph

1220 Commits

Author SHA1 Message Date
Flori 5f63f3cf36 Merge Dev changes into main (#428)
The changes in this branch include a ton of QoL improvements I have
discovered while working on the Client, using Chorus.
2023-09-10 11:46:14 +02:00
bitfl0wer c4b0891ec8 Make events module pub 2023-09-06 01:32:38 +02:00
bitfl0wer 33b99534ca Make WebsocketEvent send, Sznc, Debug 2023-09-05 22:29:04 +02:00
bitfl0wer 3e86460271 Implement UpdateMessage for GuildCreate 2023-09-05 14:41:02 +02:00
bitfl0wer c037c7907b Implement UpdateMessage for GuildDelete 2023-09-05 13:35:01 +02:00
bitfl0wer 59ab862b17 Simplify this loop 2023-09-05 13:34:22 +02:00
bitfl0wer 242021a50a Make the fields on this type public 2023-09-05 13:33:50 +02:00
bitfl0wer 7938f0295e Add source url field trait 2023-09-03 21:00:48 +02:00
bitfl0wer 13397eb68b Merge branch 'main' into dev 2023-09-03 20:23:03 +02:00
Flori 10b623dbf6 Update build_and_test.yml 2023-09-03 20:00:45 +02:00
Flori c822dc84bb Update rust-clippy.yml 2023-09-03 20:00:23 +02:00
bitfl0wer 78b21e9df3 Derive Default for Instance 2023-09-03 19:59:03 +02:00
bitfl0wer e6300b3e30 Impl PartialEq, Eq for Guild 2023-09-03 18:29:33 +02:00
bitfl0wer 1340a11a65 impl Hash for Guild 2023-09-03 17:09:44 +02:00
bitfl0wer b7ae75f7ce Add semicolon 2023-09-03 16:55:34 +02:00
bitfl0wer db533f9700 Make Errors Hash and Eq, bump version 2023-09-03 16:55:19 +02:00
kozabrada123 bc5e64b79d Add option to login with only a token (#427)
* Add login with token
2023-09-01 17:17:49 +02:00
bitfl0wer 47ba03102c Bugfix time 2023-09-01 15:02:57 +02:00
bitfl0wer c6fa385e28 Fix auth 2023-09-01 15:02:44 +02:00
bitfl0wer 635361a417 Bump version 2023-09-01 13:02:11 +02:00
bitfl0wer e17fcd9e0f Make login only take owned values 2023-09-01 13:01:50 +02:00
bitfl0wer a8bcb58493 Make auth functions take owned values, similar to the rest of the API 2023-09-01 12:12:07 +02:00
bitfl0wer 6e136fba83 Make ChorusError Clone 2023-09-01 01:17:23 +02:00
bitfl0wer 42f2f7bfbe Add Default to LoginSchema 2023-09-01 00:50:19 +02:00
bitfl0wer 9b0567ac9e Remove borrow 2023-09-01 00:50:07 +02:00
bitfl0wer a46ffc965c Bump dependencies 2023-09-01 00:49:59 +02:00
bitfl0wer c9c222664d Bump version 2023-09-01 00:49:42 +02:00
bitfl0wer fe8baeb699 Make UrlBundle `Hash` 2023-08-30 19:13:46 +02:00
fowb b949477b24 Bump Version 2023-08-30 15:29:14 +02:00
kozabrada123 0dfd622661 Fix failing build w/o client and move ratelimits (#426)
* Fix failing build without client feature

* Feature lock Updateable and Composite
2023-08-30 15:26:19 +02:00
kozabrada123 141dc32819 Error observer (also merge perpetual/gateway-dev) (#425)
* Add Webrtc Identify & Ready

* Test error observer

* Minor updates

* More derives

* Even more derives

* Small types update

* e
2023-08-29 16:38:26 +00:00
bitfl0wer 8c45355620 Bump version 2023-08-29 14:45:10 +02:00
Flori a36745c908 Make GatewayHandle Clone and remove Arc (#424)
As `GatewayHandle` in itself is just a bundle of refrences, this pr
makes it clonable and removes the `Arc` from `ChorusUser`.
2023-08-29 14:44:11 +02:00
kozabrada123 3d8d6b6f3b Make GatewayHandle Clone 2023-08-29 14:24:32 +02:00
bitfl0wer 560a0d8fd8 Fix typo 2023-08-29 00:08:59 +02:00
bitfl0wer 387991c605 Bump version 2023-08-29 00:06:17 +02:00
bitfl0wer 00faab4801 Change gateway to Arc::new(gateway) 2023-08-29 00:05:36 +02:00
bitfl0wer 17fe4f004f Make ChorusUser `Clone` 2023-08-29 00:05:16 +02:00
bitfl0wer 2b203f1a42 Bump version to 0.3.0 2023-08-28 18:24:23 +02:00
Flori 62a03d2280 Make `ChorusUser` `Send` (#423)
Replace `belongs_to: Rc<RefCell<Instance>>` with `Arc<RwLock<Instance>>`
to make `ChorusUser` `Send`
2023-08-28 18:23:36 +02:00
Flori 60aa559e6d Update Cargo.toml 2023-08-28 18:23:30 +02:00
bitfl0wer 4bbb22eb31 Replace `belongs_to: Rc<RefCell<Instance>>` with `Arc<RwLock<Instance>>` to make `ChorusUser` `Send` 2023-08-28 18:12:17 +02:00
bitfl0wer 54f907b12e Bump version to 0.2 2023-08-28 12:39:16 +02:00
bitfl0wer a8bea5d881 Clippy rules, docs logo 2023-08-28 12:27:38 +02:00
bitfl0wer 02212f95e3 Add Debug derives to all structs 2023-08-28 12:27:21 +02:00
bitfl0wer 9224278cd5 Change Status to Alpha 2023-08-27 13:21:45 +02:00
bitfl0wer f8c7fc84c4 Add website 2023-08-27 12:49:58 +02:00
Flori e7d444db71 Bump dependencies (#422) 2023-08-27 01:13:50 +02:00
bitfl0wer 93ad277f66 Merge branch 'enhancement/bump-deps' of https://github.com/polyphony-chat/chorus into enhancement/bump-deps 2023-08-27 01:13:36 +02:00
bitfl0wer 033c8c6a6f Merge branch 'enhancement/bump-deps' of https://github.com/polyphony-chat/chorus into enhancement/bump-deps 2023-08-27 01:11:52 +02:00