=?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
8d277cc66e
Add wasm32-unknown-unknown target to rust-toolchain.toml
...
This makes `cargo xtask ci` work with less local preparation.
2025-02-16 15:24:33 -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
Jonas Platte
e42e9568d9
Bump nightly toolchain
2025-02-16 15:23:11 -05:00
Kévin Commaille
6a1377bda2
events: Remove test duplicates
2025-02-16 15:22:35 -05:00
Kévin Commaille
b992cbed99
events: Add is_redacted accessor to event enums
...
Allows to know if an event is redacted without calling `original_content()`,
which clones the content.
2025-02-16 15:22:33 -05:00
Ivan Enderlin
5b14122d44
fix: Use unstable-msc4186
without unstable-msc3575
( #1995 )
2025-02-16 15:21:52 -05:00
Kévin Commaille
9410bb7cdd
client-api: Use AuthType in get_uiaa_fallback_page's Request
2025-02-16 15:21:46 -05:00
=?UTF-8?q?K=C3=A9vin=20Commaille?=
57564e3ee1
client-api: Use rename_all for IdentityProviderBrand
...
Signed-off-by: strawberry <june@girlboss.ceo>
2025-02-16 15:21:30 -05:00
Kévin Commaille
1f35dfbf09
events: Fix backported test
2025-02-16 15:19:19 -05:00
Kévin Commaille
040ef73073
xtask: Add lint to detect unused cargo features
2025-02-16 15:14:20 -05:00
Kévin Commaille
c6e9d4d0ed
xtask: Add logs for release dry run
2025-02-16 15:14:13 -05:00
Kévin Commaille
64ea3d0437
xtask: Fix finding changes when version title exists in changelog
2025-02-16 15:14:10 -05:00
Kévin Commaille
8994a00246
events: Update trybuild output
...
Warnings are added because of the `unexpected_cfgs` lint.
2025-02-16 15:13:59 -05:00
Kévin Commaille
4e1b646050
api: Update trybuild output
...
Some wording has changed and warnings are added because of the `unexpected_cfgs` lint.
2025-02-16 15:13:55 -05:00
Kévin Commaille
42a21b3c03
client-api: Add unstable support for OIDC-aware compatibility
...
According to MSC3824.
2025-02-16 15:12:05 -05:00
Hubert Chathi
52f9ed6954
client-api: Add support for new dehydrated device format
2025-02-16 15:11:19 -05:00
Benjamin Bouvier
09c19275b4
events: add mentions in the plain edit event when replacing an event with no initial mentions
2025-02-16 15:10:45 -05:00
June Clementine Strawberry 🍓🦴
e7789868c4
Merge pull request #16 from dr-bonez/bugfix/allow-empty-auth
...
simple fix to allow `auth: {}` from element
2025-02-15 15:11:54 -05:00
Aiden McClelland
d045b5aa37
simple fix to allow auth: {}
from element
2025-02-13 17:37:07 -07:00
Jason Volk
e7a793b720
permit conversions to state event types
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-08 05:50:55 +00:00
strawberry
f5667c6292
dont fail req deserialisation over empty push response body
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2025-02-07 17:59:02 -05:00
Jason Volk
7da56bf7f4
fix some tests
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-05 11:26:08 +00:00
Jason Volk
0120acc116
fix doc lints
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-05 10:34:43 +00:00
Jason Volk
fa3abc9431
fix missing api feature for ruma-common from ruma-server-util
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-05 10:33:32 +00:00
Jason Volk
8cfc0a6bc6
fix missing pushrules in test
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-05 10:17:16 +00:00
strawberry
517ac45722
dont alias receive_ephemeral to de.sorunome.msc2409.push_ephemeral
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2025-02-05 01:25:09 -05:00
Jason Volk
010ae6daad
add missing TimelineEventType -> StateEventType conversion replacing anti-pattern to_string().into()
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-29 23:03:04 +00:00
Jason Volk
b560338b2a
reduce several tracing spans to debug level
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-23 04:36:37 +00:00
Jason Volk
427877d5bc
identifiers: add clone from owned reference
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-22 06:30:05 +00:00
Kévin Commaille
c4f55b3990
client-api: Fix deserialization of KnockedRoom
...
`knock_state` in `KnockedRoom` and `events` in `KnockState` are no longer
required during deserialization and are no longer serialized if they are empty.
This was a deviation from the spec, those fields were never required.
2025-01-02 18:44:25 -05:00
Yorusaka Miyabi
ec42dd491a
events: Add unstable support for MSC2545 for image packs
2025-01-02 18:44:08 -05:00
Kévin Commaille
0a37df11cd
events: Add unstable support for is_animated image flag
...
According to MSC4230.
2025-01-02 18:44:00 -05:00
Kévin Commaille
6441d823dd
Remove unnecessary allow attribute
...
It seems like it was fixed in clippy.
2025-01-02 18:42:44 -05:00
Kévin Commaille
9e9b59819c
chore: Fix links to rich reply fallback section
...
Since they were remove in Matrix 1.13, the section was removed and the information is now in an info box.
2025-01-02 18:42:32 -05:00
Kévin Commaille
3321286242
events: Do not generate reply fallbacks anymore
...
According to MSC2781.
The helper methods for the relevant relations have been simplified to
only take the necessary data.
2025-01-02 18:42:26 -05:00
Kévin Commaille
ea0cdc6318
api: Add MatrixVersion::V1_13
2025-01-02 18:41:55 -05:00
Kévin Commaille
cbad1a414a
xtask: Allow links to v1.13 of the Matrix spec
2025-01-02 18:41:34 -05:00
Jason Volk
ac37db212a
fix lints
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-01 22:20:39 +00:00
Jason Volk
814df8faf2
add capacity() and missing len() to Owned identifier interface
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-01 21:52:10 +00:00
Jason Volk
30a08ff7be
various identifiers macro optimizations
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-12-28 23:43:56 +00:00
Jason Volk
6e4d02b9c0
add errors for feature not implemented or disabled
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-12-28 23:43:56 +00:00
Jason Volk
54da128bbe
refactor owned identifiers using SmallVec
2024-12-28 01:06:09 +00:00
Jason Volk
d3ed3194eb
replace constant with function parameter for io-parallelism
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-12-24 13:52:53 +00:00