5742 Commits

Author SHA1 Message Date
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
strawberry
11155e576a Merge remote-tracking branch 'upstream/main' into conduwuit-changes 2024-09-07 12:20:19 -04:00
morguldir
b432789838 use RoomTypeFilter instead of Option<RoomType>
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-09-07 12:19:59 -04:00
Kévin Commaille
8f288cc1f2 events: Replace deprecated lint in UI test 2024-09-07 17:11:13 +02:00
Kévin Commaille
733ee0d12d api: Remove warnings about types visibility in UI tests 2024-09-07 17:11:13 +02:00
Kévin Commaille
9203934fd7 serde: Improve docs for Raw<T> 2024-09-07 17:10:18 +02:00
Kévin Commaille
a56787e506 chore: Fix new clippy lint
The new lint that is handled here is
too_long_first_doc_paragraph.
2024-09-07 17:10:18 +02:00
Kévin Commaille
bafb5c60c0 ci: Bump the version of Rust nightly 2024-09-07 17:10:18 +02:00
Jonas Platte
4547da0b7b Fix CI by changing where deprecations are added and allowed 2024-09-07 14:31:24 +00:00
Jonas Platte
6a049c93a1 macros: Fix METADATA references in generated tests 2024-09-07 14:31:24 +00:00
Jonas Platte
83acca397b macros: Fix test cfg in macro output 2024-09-07 14:31:24 +00:00
strawberry
b003338b90 Merge remote-tracking branch 'upstream/main' into conduwuit-changes 2024-09-07 08:18:57 -04:00
Jonas Platte
037e37c5e7 ci: Exclude ruma-macros feature from stable-all 2024-09-07 07:57:30 +00:00
Jonas Platte
43abef7e1f ci: Update MSRV jobs
- Fix msrv-all enabling ruma-macros' nightly-only feature
- Test ruma-client in msrv-all, remove separate job
2024-09-07 07:57:30 +00:00
Jonas Platte
0e8388abab macros: Add __internal_macro_expand feature for better RA macro expansion 2024-09-07 07:57:30 +00:00
Jonas Platte
79025dfca4 macros: Improve internal assertions 2024-09-07 07:57:30 +00:00
Jonas Platte
de6b08a2b5 macros: Simplify internal derive macro input parsing 2024-09-07 07:57:30 +00:00
Kévin Commaille
88f56b0e00 html: Upgrade html5ever
Requires a complete change of the HTML tree, to have interior mutability
and be able to return borrowed data from a Handle.
It is now a Rc-based tree where each node has a weak reference to
its parent and strong references to its children.

This results ina few breaking changes to the public API.
2024-09-07 09:56:02 +02: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
0aa4cc4f9c add MSC4175 tz field to federation profile
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-09-06 23:19:16 -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
Kévin Commaille
dac38e4e17 events: Improve markdown syntax detection
We also detect backslash escapes and entity references.
2024-09-06 09:59:47 +02:00
Kévin Commaille
0ea496b138 events: Upgrade pulldown-cmark 2024-09-06 09:59:47 +02:00
Kévin Commaille
d568d579ad html: Remove support for name attribute
According to MSC4159.
2024-09-06 09:21:24 +02: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
June 🍓🦴
d7ddcd036f
Merge pull request #12 from morguldir/accountdata
accountdata: add an enum to allow returning both global and room accountdata
2024-08-30 07:41:44 -04:00
morguldir
8dd8aab29d
accountdata: add an enum to allow returning both global and room accountdata 2024-08-30 09:18:49 +02:00
Jason Volk
1de0f493e8 downgrade deprecation warns into debug_warns
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-28 15:41:56 +00:00
Jason Volk
89cee2d2d9 add missing Cow header in federation authenticated media
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-27 02:38:30 +00:00
Jason Volk
a0cc9a80dd add missing impl of PartialEq on media::Method
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-27 00:34:57 +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
June 🍓🦴
92291c0100
Merge pull request #11 from morguldir/conduwuit-changes
syncv3: use RoomType in sync filters
2024-08-24 00:20:51 -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
Timo
642c981f99
MatrixRTC: fix call member parsing by using the correct focus_active format. (#1888)
`focus_select` -> `focus_selection`
2024-08-21 17:51:12 +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
25fbd64b96 fix str to mxc conversion; add convenience OwnedMxcUri conversion
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-16 06:35:50 +00:00
June 🍓🦴
01e910dccf
Merge pull request #10 from jevolk/conduwuit-changes
structured Mxc type
2024-08-15 23:30:25 -04:00
Jason Volk
2d2deb4ca7 structured Mxc type
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-16 00:37:51 +00:00
June 🍓🦴
d23a8412bd
Merge pull request #9 from jevolk/conduwuit-changes 2024-08-15 07:49:15 -04: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
11cbd52af1 estimate and reserve capacity in outgoing headers map
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-14 02:11:25 -04: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
strawberry
3174097e35 Revert "estimate and reserve capacity in outgoing headers map"
This reverts commit a6e340e24d570b1d924fff52c68d1dea72946b68.
2024-08-14 01:44:42 -04:00