Jason Volk
920148dca1
add allowed_rooms() utility to JoinRule
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-04-04 00:32:31 +00:00
Jason Volk
db8fe2f361
ignore legacy mentions related tests
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-04-03 21:42:36 +00:00
Jason Volk
88836c95fa
add granular ACL content examination tools
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-04-03 21:23:24 +00:00
June Clementine Strawberry
edbdc79e56
remove non_exhaustive on signatures upload failures struct type
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-04-03 12:53:56 -04:00
June Clementine Strawberry
0701341a2f
add msc4190 to appservice registration
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-04-03 11:32:16 -04:00
June Clementine Strawberry
80bcb24b1f
fix ancient matrix-nio bot compat with e2ee reqs
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-04-03 10:58:44 -04:00
June Clementine Strawberry
ea12786571
allow no event_id in predecessor like synapse
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-04-02 19:47:42 -04:00
June Clementine Strawberry
7c97c2b1a2
update our MSC3266 implementation
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-04-02 19:47:40 -04:00
Ginger
8c74682395
Check room_types in Filter::is_empty
2025-03-12 15:51:11 -04:00
June Clementine Strawberry
24d018a001
add knock membership event filter
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-11 21:13:49 -04:00
Kévin Commaille
35b0054059
signatures: Use KeyId
and SigningKeyAlgorithm
to parse key IDs
2025-03-11 20:53:13 -04:00
Kévin Commaille
4f5cda56b7
identifiers: Generate 10 chars long DeviceId by default
...
This is the length that is usually used in homeserver implementations,
and this is the minimal length accepted by MAS.
2025-03-11 19:29:04 -04:00
gnieto
cd133c2c15
common: Allow to configure exhaustive types when environment variable is set
...
Allow to configure exhaustive types via the
`RUMA_UNSTABLE_EXHAUSTIVE_TYPES` environment variable in the same way as
it's done in other crates.
ruma-common contains at least `NewPushRule` which may be configured
as exhaustive. `ruma-client-api` uses the mentioned type and, when the
environment variable is set, it fails to compile the project.
2025-03-11 18:07:50 -04:00
June Clementine Strawberry
f5ab6302aa
fix threads include not defaulting properly
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-10 12:22:10 -04:00
June Clementine Strawberry
d577100f54
default to an empty signatures, alias msc2732 fallback_keys, add random unspecced field to device_keys
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-09 00:34:44 -05:00
June Clementine Strawberry
bb42118bd8
fix building after crate removals
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-05 23:13:55 -05:00
Kévin Commaille
cd420fd7c9
federation-api: Remove unnecessary dev dependency
...
It's already declared as a regular dependency.
2025-03-05 23:04:47 -05:00
Kévin Commaille
14645a9857
federation-api: Merge ruma-server-util into ruma-federation-api
...
XMatrix is available in the authentication module of
ruma-federation-api.
2025-03-05 23:03:07 -05:00
Kévin Commaille
0d58964877
Remove ruma-client
...
It now lives in its own repository at
<https://github.com/ruma/ruma-client >.
2025-03-05 22:58:07 -05:00
June Clementine Strawberry
8347cc08ef
stop building ruma-state-res as it now lives inside conduwuit
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-05 22:54:00 -05:00
June Clementine Strawberry
406bb2845b
fix lint
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-05 22:53:29 -05:00
June Clementine Strawberry
252257f89f
run cargo nightly fmt
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-05 22:53:12 -05:00
June Clementine Strawberry
a2adc6ffa7
nuke tf out of skip_serializing_if on power levels to improve client compatibility
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-05 22:41:49 -05:00
June Clementine Strawberry
b40e765286
fix few compilation things after merging new upstream changes
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-02-28 20:37:59 -05:00
Kévin Commaille
90d81c2330
signatures: Do not check signature of invite that result from third-party invite
...
It seems that the spec was misinterpreted. It is not the server of the
sender of `m.room.third_party_invite` events that must not be checked,
but the server of the sender of `m.room.member` invite events that
result from a third-party invite.
2025-02-28 20:09:39 -05:00
Yiming Lu
72871a8e50
api: Implement PartialEq, Eq, PartialOrd and Ord for media::Method
2025-02-28 20:01:52 -05:00
Benjamin Kampmann
0e84b0ab99
events: Expose missing url preview image types
...
`PreviewImage` and `PreviewImageSource` were not properly exposed, making it impossible for anyone to actually use them.
2025-02-28 11:56:01 -05:00
Matthias Ahouansou
f80d04d6a8
common: Implement IntoIterator for Signatures
2025-02-28 11:55:48 -05:00
Kévin Commaille
2fa2acb1d1
events: Upgrade pulldown-cmark
2025-02-28 11:53:32 -05:00
Kévin Commaille
7ae5c1e9da
thirdparty: Move instance_id field out of unstable-unspecified
...
Requires to have two different ProtocolInstance types, as this field is added by the homeserver to the response returned by the appservice.
2025-02-28 11:48:28 -05:00
Kévin Commaille
8065ef2a10
client-api: Add GrantType::DeviceCode
...
It is necessary for MSC4108.
2025-02-28 11:45:34 -05:00
Aiden McClelland
599fb39100
better error reporting
2025-02-17 16:57:13 -07:00
morguldir
82b666ae33
derive PartialEq for CrossSigningKey and identifiers::Signatures
...
Signed-off-by: morguldir <morguldir@protonmail.com>
2025-02-17 00:35:35 +01:00
morguldir
d2e1b510a0
move or_empty deserializer to ruma-common, add tests
...
Signed-off-by: morguldir <morguldir@protonmail.com>
2025-02-17 00:33:55 +01:00
strawberry
6b24abc2d1
add stable paths of profile fields MSC
...
Signed-off-by: strawberry <june@girlboss.ceo>
2025-02-16 17:47:33 -05:00
=?UTF-8?q?K=C3=A9vin=20Commaille?=
b9d9a2abcc
client-api: Fix string representation of CodeChallengeMethod
...
Signed-off-by: strawberry <june@girlboss.ceo>
2025-02-16 17:28:15 -05:00
Kévin Commaille
674d54381f
api: Fix location of changelog
...
It was put in the wrong place when the ruma-common 0.15.1 release was merged back into main.
2025-02-16 17:26:34 -05:00
Kévin Commaille
bed66a04d9
client-api: Add support for authorization server metadata endpoint
...
According to the latest draft of MSC2965.
2025-02-16 17:26:25 -05:00
Kévin Commaille
2953f51991
events: Fix test for compat-encrypted-stickers
2025-02-16 17:22:37 -05:00
Kévin Commaille
f4bb2b713c
client-server-api: Return a BTreeSet for get_supported_versions::Response::known_versions()
2025-02-16 17:18:36 -05:00
Kévin Commaille
0533699453
identity-service-api: Return a BTreeSet for get_supported_versions::Response::known_versions()
2025-02-16 17:18:24 -05:00
Kévin Commaille
990d01b19d
api: Replace Display implementation of MatrixVersion with as_str() method
...
Because it is not correct to convert V1_0 to a string.
2025-02-16 17:17:24 -05:00
=?UTF-8?q?K=C3=A9vin=20Commaille?=
b91034f8a0
api: Implement PartialOrd and Ord for MatrixVersion
...
Signed-off-by: strawberry <june@girlboss.ceo>
2025-02-16 17:15:36 -05:00
=?UTF-8?q?K=C3=A9vin=20Commaille?=
a1035ece48
signatures: Dont enable getrandom feature of rand
...
Signed-off-by: strawberry <june@girlboss.ceo>
2025-02-16 16:40:33 -05:00
Kévin Commaille
e58a1396ef
api: Clarify MatrixVersion::v1_0 docs and add support for Identity Service API versions
2025-02-16 16:38:36 -05:00
=?UTF-8?q?K=C3=A9vin=20Commaille?=
c24850bd71
common: Enable getrandom dependency with rand
...
Signed-off-by: strawberry <june@girlboss.ceo>
2025-02-16 16:38:12 -05:00
strawberry
bb2b381cad
merge bunch of identifier changes from upstream
...
Signed-off-by: strawberry <june@girlboss.ceo>
2025-02-16 16:29:46 -05:00
strawberry
6770d56166
fix weird compilation issues
...
Signed-off-by: strawberry <june@girlboss.ceo>
2025-02-16 16:21:19 -05:00
strawberry
0795861123
fix key and key_name ruma_path mismatch in profile fields
...
Signed-off-by: strawberry <june@girlboss.ceo>
2025-02-16 16:14:25 -05:00
Jonas Platte
0b3139b567
events: Fix broken list item in message module docs
...
… by using un-ambiguous markdown syntax.
I don't get why this was broken before, but rustdoc caught it! \o/
2025-02-16 15:24:18 -05:00