Kévin Commaille
ceba4586d6
identifiers: Remove link to previous version of spec in changelog
...
It doesn't pass the spec links checker anymore
and it doesn't seem worth it to try to solve this.
2024-06-21 18:10:14 +02:00
Kévin Commaille
b8e4d5b6a2
misc: Update spec links to latest version
2024-06-21 18:10:14 +02:00
Kévin Commaille
015a0c1c96
ci: Make spec links check output format easier to parse
2024-06-21 18:10:14 +02:00
Kévin Commaille
32d0e03575
ci: Change how we detect duplicate IDs for spec links
...
Starting with Matrix 1.11, the IDs are uniquified when generating
the HTML rather than in the browser with JavaScript,
so we need to check IDs that are already de-duplicated.
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
Kévin Commaille
644883eaf5
ci: Allow spec links to Matrix 1.11
2024-06-21 15:19:34 +02:00
Kévin Commaille
2dcc83278a
api: Add MatrixVersion::V1_11
2024-06-21 15:19:34 +02:00
Kévin Commaille
1910a7f092
api: Fix response macro docs
2024-06-19 14:35:48 +02:00
Mikoto
629b06e1e4
thirdparty: Implement Borrow/Hash/Eq for ThirdPartyIdentifier
2024-06-18 23:35:19 +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
Kévin Commaille
64b3838113
thirdparty: Fix unstable-unspecified feature being non-additive
2024-06-18 13:41:47 +02:00
Kévin Commaille
6347f547c1
events: Upgrade pulldown-cmark crate
2024-06-18 12:21:42 +02:00
Kévin Commaille
b367e42bd0
events: Remove unwanted pulldown-cmark cargo feature
2024-06-18 12:21:42 +02:00
Xiretza
5f0fc0aec2
signatures: enforce base64 for signature field in X-Matrix headers
2024-06-17 21:57:13 +02:00
Xiretza
230a90ef39
signatures: fix encoding of X-Matrix header
...
The values need to be escaped properly, just quoting them is not enough.
2024-06-17 21:57:13 +02:00
Xiretza
2df733997a
signatures: add explanatory comment to X-Matrix decoding
2024-06-17 21:57:13 +02:00
Timo
c218174369
events: Support new matrixRTC membership format
2024-06-13 10:58:50 +02:00
torrybr
f60c79727a
events: Unstable support for MSC 3489 live location sharing
2024-06-10 23:45:42 +02:00
Kévin Commaille
99b30fb9d4
docs: Document area prefix for commits
2024-06-10 22:59:40 +02:00
strawberry
fd686e7795
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-06-10 16:57:10 -04:00
Kévin Commaille
a397f0a327
ci: Allow Unicode-3.0 license
...
Due to new dependencies in the tree.
2024-06-10 22:54:57 +02:00
Kévin Commaille
dead69001c
ci: Use version 2 of cargo-deny config
...
Gets rid of deprecation warnings
2024-06-10 22:54:57 +02:00
June 🍓🦴
f8f6db89d8
Merge pull request #4 from jevolk/missing_send
...
Fix missing Send marker
2024-06-09 02:17:17 -04:00
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
Kévin Commaille
de20f0351f
ci: Run tests with compat features
2024-05-23 19:55:49 +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