Jason Volk
bc6855707b
Fix missing Send marker
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-06-09 06:04:29 +00: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
Matthias Ahouansou
a8025de761
server-util: make destination parameter of XMatrix::new mandatory
2024-05-30 10:03:52 +01: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
Matthias Ahouansou
2a4b3f5668
client-api: Fix comment on async upload declaring incorrect http method
2024-05-29 14:59:08 -04:00
Kévin Commaille
ba9a492fde
client-api: Fix position of entry in changelog
2024-05-23 20:07:40 +02:00
Benjamin Bouvier
75e8829bec
client-api: RoomSummary::heroes
must be OwnedUserId
s, in fact
...
This is imprecise from the spec wording [1], apart from a hint [2], but
these should really be user ids. In practice, this is what Synapse
returns too
[1]https://spec.matrix.org/latest/client-server-api/#_matrixclientv3sync_roomsummary
[2] "The list must never include the client’s own user ID."
2024-05-23 19:41:00 +02:00
Marco Antonio Alvarez
6cd3af9b86
events: Add support for encrypted stickers
2024-05-23 15:49:15 +02:00
Ivan Enderlin
ee5e6b8c9e
feat(client-api): v4::SyncRequestList
has a new include_heroes
field ( #1818 )
2024-05-23 09:57:13 +00:00
Ivan Enderlin
1c1cfe9a7e
feat: Add heros support for sliding sync room. ( #1691 )
...
This patch is only based on https://github.com/matrix-org/sliding-sync/
pull/304 since the specification wasn't updated. I'm basically guessing
what a request and a response _should_ look like:
* `RoomSubscription` gains a new field: `include_heros`,
* `SlidingSyncRoom` gains a new field: `heros`,
* `SlidingSyncRoomHero` is a new type.
2024-05-22 08:14:11 +00:00
strawberry
042444dc1d
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-05-21 21:31:00 -04:00
Damir Jelić
1c4f26af74
client-api: Add support for MSC4108 OIDC sign in and E2EE set up via QR code
2024-05-14 18:18:15 +02:00
Damir Jelić
a12c38c532
common: Add a error variant for unexpected header values
2024-05-14 18:18:15 +02:00
Damir Jelić
b7b9816314
Make the url crate a workspace dependency
2024-05-14 18:18:15 +02:00
Kévin Commaille
64f19d21c7
Release ruma 0.10.1
2024-05-13 15:25:29 +02:00
Kévin Commaille
4ec2d68fc0
Release ruma-events 0.28.1
2024-05-13 15:18:09 +02:00
Kévin Commaille
0f38daacef
events: Handle existing mentions in make_replacement
...
Allows to use add_mentions before calling it.
Deprecates set_mentions.
2024-05-13 15:07:26 +02:00
strawberry
62aca1e976
feat: add undocumented org.matrix.room.preview_urls
room state event
...
this is an undocumented room state event that at least Element uses to
disable/enable URL previews by default for the entire room. we'd like
to use this to disable URL previews in the conduwuit admin room where we
have large message blocks with some text that clients may render as URLs,
or a list of domains from the server config output.
also see https://github.com/matrix-org/matrix-spec/issues/394
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-05-12 17:12:19 -04:00
Kévin Commaille
42bec95cdc
events: Move all methods to construct a relation to RoomMessageEventContentWithoutRelation
2024-05-12 19:53:27 +02:00
Kévin Commaille
f535ce700d
macros: Remove dead code
2024-05-12 15:49:28 +02:00
Kévin Commaille
2b986e1226
chore: Fix new rustfmt errors
2024-05-12 15:49:28 +02:00
Kévin Commaille
d6c4533b7d
chore: Fix new warnings
2024-05-12 15:49:28 +02:00
Kévin Commaille
8699c174a9
ruma: Add missing feature reexports
2024-05-11 12:11:35 +02:00
strawberry
9e29e07ae1
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-05-09 11:29:29 -04:00
Kévin Commaille
5b882208ef
Release ruma 0.10.0
2024-05-09 13:17:10 +02:00
Kévin Commaille
8ed8267e5d
Release ruma-state-res 0.11.0
2024-05-09 13:09:14 +02:00
Kévin Commaille
f4433c1ff0
Release ruma-client 0.13.0
2024-05-09 13:05:46 +02:00
Kévin Commaille
8a8c0adff9
Release ruma-push-gateway-api 0.9.0
2024-05-09 13:03:52 +02:00
Kévin Commaille
42f20a4e8d
Release ruma-signatures 0.15.0
2024-05-09 13:01:32 +02:00
Kévin Commaille
699053d629
Release ruma-federation-api 0.9.0
2024-05-09 12:55:58 +02:00
Kévin Commaille
00a332b037
Release ruma-client-api 0.18.0
2024-05-09 12:53:11 +02:00
Kévin Commaille
84c174da49
Release ruma-appservice-api 0.10.0
2024-05-09 12:50:40 +02:00
Kévin Commaille
3799aef382
Release ruma-identity-service-api 0.9.0
2024-05-09 12:46:20 +02:00
Kévin Commaille
cee4a3f779
Release ruma-events 0.28.0
2024-05-09 12:39:10 +02:00
Kévin Commaille
38369dc53b
Release ruma-server-util 0.3.0
2024-05-09 12:36:45 +02:00
Kévin Commaille
2b46250c8b
Release ruma-html 0.2.0
2024-05-09 12:31:49 +02:00
Kévin Commaille
75455d3e0f
Release ruma-common 0.13.0
2024-05-09 12:14:59 +02:00
Kévin Commaille
efd0b4f308
Release ruma-macros 0.13.0
2024-05-09 12:11:41 +02:00
Kévin Commaille
d2d64f32c2
Release ruma-identifiers-validation 0.9.5
2024-05-09 11:49:30 +02:00
Kévin Commaille
10c7e59c57
client-api: Add helper methods to convert SystemTime from/to a HTTP date
2024-05-08 19:09:13 +02:00
Kévin Commaille
b4d0ab42a3
client-api: Make get_uiaa_fallback::v3::Response
an enum
...
It is now either a redirect or a HTML page,
with the proper status code, headers and body.
2024-05-07 17:22:17 +02:00
Kévin Commaille
fcaf4bd54a
client-api: Return proper status code for SSO login endpoints
2024-05-07 08:59:08 +02:00
Kévin Commaille
cae00cfff8
client-api: Return proper content type in login_fallback::Response
2024-05-07 08:49:16 +02:00
strawberry
e6e8462c05
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-05-06 12:21:06 -04:00
Kévin Commaille
b6dcb421bf
html: Re-export html5ever types used in our public API
2024-05-06 14:56:53 +02:00
Kévin Commaille
bd56071587
html: Add more settings to SanitizerConfig
...
Allows to use it with a whitelist or a blacklist,
and extend or reduce the lists from the Matrix spec.
2024-05-06 14:56:53 +02:00