kozabrada123
4c4ae516a4
minor changes to READY_SUPPLEMENTAL
2024-06-16 10:10:25 +02:00
kozabrada123
f3ee3a8d8a
add wasm impl for RawMessage
2024-06-16 08:47:38 +02:00
kozabrada123
2887794b0e
feat: implement zlib-stream compression
...
This also changes how gateway messages work.
Now each gateway backend converts its message into an
intermediary RawGatewayMessage, from which we inflate
and parse GatewayMessages.
Thanks to ByteAlex and their zlib-stream-rs crate, which
helped me understand how to parse a compressed websocket stream
2024-06-16 08:01:02 +02:00
kozabrada123
007fa657ba
feat: add GatewayOptions
2024-06-16 07:04:03 +02:00
kozabrada123
3237db708c
Backend/invites ( #503 )
...
- Adds implementation to convert `Guild` to `InviteGuild`
- Adds GetInviteSchema
- Replaces primitives with distinct types on `InviteGuild`
2024-06-07 06:54:33 +02:00
Quat3rnion
83a8f080b7
Update docs aesthetics
...
Co-authored-by: kozabrada123 <59031733+kozabrada123@users.noreply.github.com>
2024-06-07 00:46:53 -04:00
Quat3rnion
a0cddbf3ae
Fix compile error
2024-06-05 21:10:29 -04:00
Quat3rnion
556fbb9ded
Add forgotten import and pub use.
2024-06-05 14:50:38 -04:00
Quat3rnion
eb87bd6ffc
Add `GetInvitesSchema`
2024-06-05 14:50:10 -04:00
Quat3rnion
5110e9bfdb
Implement `From<Guild> for InviteGuild`
2024-06-05 14:49:34 -04:00
Quat3rnion
c8bde0c9ec
Use distinct types in `InviteGuild` object.
2024-06-05 14:49:17 -04:00
kozabrada123
5154d04d4a
Invites ( #502 )
...
- Modify Invite entity to work with symfonia
- Adds custom deserialization to InviteFlags
2024-06-05 19:57:26 +02:00
Quat3rnion
dfd6b371f3
Merge branch 'dev' into backend
2024-06-05 13:25:44 -04:00
Quat3rnion
0d01536f59
Remove double bound for E
2024-06-05 00:46:29 -04:00
Quat3rnion
c34b1da8d0
Add InviteFlags::VIEWED
2024-06-04 23:53:21 -04:00
Quat3rnion
0f1e693d60
Clear warnings
2024-06-04 23:45:22 -04:00
Quat3rnion
cab4cb1ce6
Write custom serialize/deserialize impl's for InviteFlags
2024-06-04 23:43:12 -04:00
Quat3rnion
9f281879a9
Update derive for backend/sqlx compatibility.
2024-06-04 22:24:28 -04:00
Quat3rnion
450aa9f440
Update fields for backend/sqlx compatibility.
2024-06-04 22:24:03 -04:00
Quat3rnion
133b03f1c8
Use distinct type `DefaultReaction`
2024-06-04 22:22:39 -04:00
Quat3rnion
6c1493f362
Add sqlx Type, Encode, Decode impl for InviteFlags bitflag object.
2024-06-04 22:21:48 -04:00
Quat3rnion
c96dcd5c33
Distinguish InviteType and InviteTargetType
2024-06-04 22:19:48 -04:00
Quat3rnion
a5a0459d70
Backend related updates ( #501 )
...
(by Quat3rnion)
Some updates relating to usage with Symfonia:
* Using distinct types instead of primitives on some objects
* Add sqlx derives and implementations
* Make a facade type for Shared to be used in non-client contexts
2024-06-04 19:41:50 +02:00
Quat3rnion
0bf5091f3c
Fix oversight for premium_since
2024-06-04 13:35:28 -04:00
Quat3rnion
cb905d0a83
Expand documentation to explain facade type
2024-06-04 13:34:58 -04:00
Quat3rnion
82c8f570f2
Update Cargo.lock
2024-06-04 13:33:40 -04:00
Quat3rnion
0c9e9cf367
clear warnings
2024-06-04 13:01:51 -04:00
Quat3rnion
32677b8cd9
actually fix linux tests
2024-06-04 13:01:51 -04:00
Quat3rnion
50c5c29cae
update dev-dependencies
2024-06-04 13:01:51 -04:00
Quat3rnion
2db91e8538
Fix errors in documentation tests
2024-06-04 13:01:51 -04:00
Quat3rnion
fcda4cc2ca
Remove final usages of erroneous serde impl
2024-06-04 13:01:51 -04:00
Quat3rnion
119a09ae88
Revert c4452132
2024-06-04 00:38:59 -04:00
Quat3rnion
2b4e9fa149
Remove unused imports
2024-06-04 00:38:49 -04:00
Quat3rnion
f178e517d3
Use distinct type for explicit_content_filter
2024-06-04 00:22:52 -04:00
Quat3rnion
2b06742a62
Add feature sqlx locks for user, roles on GuildMember
2024-06-04 00:22:12 -04:00
Quat3rnion
97f10aaa61
Add From<Vec<GuildFeatures>> impl for GuildFeaturesList
2024-06-04 00:21:38 -04:00
Quat3rnion
4d75aa89c9
Remove erroneous serde with attributes
2024-06-03 23:59:21 -04:00
Quat3rnion
40bdafd1a3
Feature lock Shared, so backend feature gets a facade type
2024-06-03 23:56:17 -04:00
Quat3rnion
179b8d228a
Use ChannelType enum on ChannelModifySchema
2024-06-03 23:54:17 -04:00
Quat3rnion
7d55bbea4b
Use Snowflake in Claims
2024-06-03 23:53:15 -04:00
Quat3rnion
85aa854953
Implement sqlx Encode, Decode, Type for Rights bitflag object.
2024-06-03 22:58:05 -04:00
Quat3rnion
7548f0e592
merge latest dev
2024-06-03 01:55:12 -04:00
Quat3rnion
d6ad68c044
remove dep: prefix in backend feature list
2024-06-03 01:42:31 -04:00
Quat3rnion
0bc54ce46f
Add sqlx::FromRow derive to GuildMember
2024-06-03 01:41:52 -04:00
kozabrada123
eb087938ed
Fix some iso timestamps being strings, not DateTime<Utc> ( #499 )
...
* fix: some iso timestamps being strings
* fix: register uses dates, not datetimes
2024-06-03 07:32:11 +02:00
Quat3rnion
eefdd4aebf
Remove serde(with) for message timestamps
2024-06-02 20:17:48 -04:00
Quat3rnion
a75701d9c6
Allow last_pin_timestamp to default if field is not in responses.
2024-06-02 20:06:01 -04:00
Quat3rnion
8c5d80d3f1
Allow joined_at to default if field is not in responses.
2024-06-02 19:18:43 -04:00
Quat3rnion
08952db014
Fix tests
2024-06-02 19:02:36 -04:00
Quat3rnion
ab4435a79f
Update tests to use DateTime's for timestamps
2024-06-02 18:12:52 -04:00