strawberry
9900d06765
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-09-17 17:55:49 -04:00
Benjamin Lee
92a35381b5
client-api: fix build when unstable-msc4168 feature is disabled ( #1910 )
...
Without this feature, the v5 module does not exist.
2024-09-16 08:17:11 +02:00
strawberry
b6f82a72b6
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-09-13 16:35:24 -04:00
Ivan Enderlin
7cfa3be0c6
client-api: Implement MSC4186. ( #1907 )
...
* client-api: Derive `Default` for `v4::SyncList`.
* client-api: Implement MSC4186.
2024-09-12 07:12:49 +00:00
Jonas Platte
1a138ed6c9
Use workspace lint configuration instead of rustflags hack
2024-09-11 07:13:32 +00:00
strawberry
25c6d8b2ad
cargo fmt
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-09-09 22:40:40 -04:00
strawberry
f621b318c5
support generic KV pairs of MSC4133
...
still GET/PUT/DELETE for now
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-09-09 22:40:32 -04:00
Johannes Marbach
0c00b90b22
client-api: Replace server_name with via in knock_room and join_room_by_id_or_alias
...
According to MSC4156
Co-authored-by: Kévin Commaille <76261501+zecakeh@users.noreply.github.com>
2024-09-09 11:26:23 +02:00
morguldir
b432789838
use RoomTypeFilter
instead of Option<RoomType>
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-09-07 12:19:59 -04:00
strawberry
83a9bf7366
add DELETE impl of MSC4133 for MSC4175
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-09-06 23:25:12 -04:00
strawberry
bf93f9caa6
partial impl GET/PUT for MSC4133 and MSC4175
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-09-06 23:13:31 -04:00
strawberry
c8a2d06e24
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-09-06 21:10:32 -04:00
morguldir
d6890ef00c
client-api: use a RoomTypeFilter for syncv3 (not_)room_types filters
...
Signed-off-by: morguldir <morguldir@protonmail.com>
2024-09-05 19:48:18 +00:00
morguldir
f1fbfb12ea
client-api: use RoomType for syncv3 filters instead of strings
...
(cherry picked from commit 5b2ce304010d7c4d1dc1b53af5d49eb1171422ed)
Signed-off-by: morguldir <morguldir@protonmail.com>
2024-09-05 19:48:18 +00:00
strawberry
000d1e3732
add missing other piece to ThreepidMediumNotSupported
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-08-24 13:15:34 -04:00
morguldir
5b2ce30401
syncv3: use RoomType in sync filters
...
Signed-off-by: morguldir <morguldir@protonmail.com>
2024-08-23 20:45:20 +02:00
strawberry
cd2de49c87
add M_THREEPID_MEDIUM_NOT_SUPPORTED, per MSC4178
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-08-17 02:19:44 -04:00
Jason Volk
2d2deb4ca7
structured Mxc type
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-16 00:37:51 +00:00
Jason Volk
3f06ade0fd
Revert "Revert "optimize for optional static response headers zero-copy zero-alloc""
...
This reverts commit 6bdc5ad326029e84fe05ed2591d9ba442bab8ff5.
Revert "Revert "Fix assumptions about header value types""
This reverts commit 03037f6c92ffb43388022d288e5a36f20a8559dd.
2024-08-15 05:20:21 +00:00
Jason Volk
6e5e96cba3
add missing ContentDisposition header; fix non-upstreamed ContentDisposition strong type
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-15 01:07:28 +00:00
Jason Volk
e312768a66
add missing corp/cache-control headers to client authenticated media
...
Signed-off-by: Jason Volk <jason@zemos.net>
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-08-14 02:09:52 -04:00
strawberry
69b2bc4b8c
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-08-14 01:47:43 -04:00
strawberry
6bdc5ad326
Revert "optimize for optional static response headers zero-copy zero-alloc"
...
This reverts commit fd11fee88d937d69f557fa3d6ef09639c7b2e2f7.
2024-08-14 01:46:35 -04:00
strawberry
959048c0c4
Revert "add missing corp/cache-control headers to authenticated media"
...
This reverts commit 9d25b0d5c27dbcc62a70fbaacb80632bf6bc9ebc.
2024-08-14 01:46:10 -04:00
Jason Volk
9d25b0d5c2
add missing corp/cache-control headers to authenticated media
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-12 23:03:07 +00:00
Jason Volk
fd11fee88d
optimize for optional static response headers zero-copy zero-alloc
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-12 22:59:57 +00:00
Timo
878d2b287b
events: update future endpoints and rename future to delay
...
To match the latest version of the MSC
2024-07-29 16:38:38 +02:00
Kévin Commaille
14d7415f0d
client-api: Do not send request body for logout and logout_all
...
Due to a clarification in the spec.
2024-07-16 20:21:29 +02:00
Kévin Commaille
586668806e
client-api: Move some media types and helpers to ruma-common
...
Without breaking changes.
2024-07-16 15:02:45 +02:00
Kévin Commaille
f9ae582b27
chore: Make bytes a workspace dependency
2024-07-16 15:02:45 +02:00
Kévin Commaille
463f89b0eb
client-api: Add a type for the Content-Disposition HTTP header
2024-07-14 12:28:48 +02:00
strawberry
c51ccb2c68
fix incorrect MSC3266 room summary API endpoint
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-07-03 15:42:44 -04:00
strawberry
9a5bfad849
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-06-30 11:54:39 -04:00
Timo
862be071d2
client-api: Add future endpoints
2024-06-25 12:45:15 +02:00
Kévin Commaille
bc39c04af9
client-api: Add support for terms of service at registration
...
According to MSC1692 / Matrix 1.11
2024-06-22 11:05:57 +02:00
Kévin Commaille
ba76e0ee3a
client-api: Stabilize support for animated thumbnails
...
According to Matrix 1.11
2024-06-22 10:58:13 +02:00
Kévin Commaille
968c52b117
api: Rename request macro attribute query_map to query_all
...
Remove its IntoIterator bound to allow to represent
the query fields as a single struct or enum.
2024-06-21 19:15:59 +02:00
Kévin Commaille
b8e4d5b6a2
misc: Update spec links to latest version
2024-06-21 18:10:14 +02:00
Kévin Commaille
46781d70ef
client-api: Deprecate non-authenticated media endpoints
...
According to MSC3916 / Matrix 1.11
2024-06-21 17:55:34 +02:00
Kévin Commaille
44b474a6f1
client-api: Stabilize authenticated media endpoints
...
According to Matrix 1.11
2024-06-21 15:48:56 +02:00
Mikoto
afb5ae0102
client-api: Make id_server
and id_access_token
in ThirdpartyIdCredentials
optional fields
2024-06-18 23:19:22 +02:00
Kévin Commaille
b8f0cb8fac
client-api: Fix changelog
2024-06-18 19:15:05 +02:00
Kévin Commaille
b7bc7d4873
client-api: Make authentication optional for change_password and
...
deactivate
2024-06-18 18:35:17 +02:00
strawberry
fd686e7795
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-06-10 16:57:10 -04:00
strawberry
e9302a9556
add legacy Element Android/iOS hack for UIAA
...
legacy element android and ios use the unspecced/invalid "user"
field instead of identifier for UIAA.
this has broken at least password resets[1]
[1]: https://github.com/element-hq/element-android/issues/8043
[2]: https://github.com/element-hq/element-ios/issues/7405
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-06-06 03:16:23 -04:00
Matthias Ahouansou
ef40b184b7
client-api: make user_id of SlidingSyncRoomHero mandatory ( #1832 )
2024-06-05 13:22:08 +02:00
Kévin Commaille
73535a7dd3
client-api: Add support for authenticated media endpoints
...
According to MSC3916
2024-06-05 12:41:41 +02:00
Matthias Ahouansou
f323f4f960
client-api: rename avatar to avatar_url for SlidingSyncRoomHero ( #1833 )
2024-06-05 11:41:26 +02:00
Jonas Platte
d91e6d7e63
Simplify docsrs feature usage
...
- Don't instruct docs.rs to set it, it does so by default now:
https://github.com/rust-lang/docs.rs/pull/2390
- Because of that, check-cfg also recognizes it and does not need
extra configuration either.
2024-05-30 10:35:07 +02:00
Jonas Platte
d9f08f585c
Change Box<ClientSecret> types to OwnedClientSecret
2024-05-30 10:28:59 +02:00