Jason Volk
ac37db212a
fix lints
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-01 22:20:39 +00:00
Jason Volk
54da128bbe
refactor owned identifiers using SmallVec
2024-12-28 01:06:09 +00:00
Kévin Commaille
ae3897cad8
identifiers: Allow to validate KeyId with any key name type
...
Use new trait bounds for KeyId to only allow specific types.
Change the KeyId validation to be generic over the key name type.
Remove the KeyName type and replace it with the more specific
ServerSigningKeyVersion.
2024-11-08 12:49:53 -05:00
strawberry
39c1addd37
implement MSC4210, add missing .m.rule.contains_user_name
check
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-10-26 15:55:42 -04:00
strawberry
b6f82a72b6
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-09-13 16:35:24 -04:00
Jonas Platte
1a138ed6c9
Use workspace lint configuration instead of rustflags hack
2024-09-11 07:13:32 +00:00
strawberry
69b2bc4b8c
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-08-14 01:47:43 -04:00
Kévin Commaille
9e8008f011
chore: Make rand a workspace dependency
2024-07-16 15:02:45 +02:00
Kévin Commaille
f9ae582b27
chore: Make bytes a workspace dependency
2024-07-16 15:02:45 +02:00
strawberry
fd686e7795
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-06-10 16:57:10 -04: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
strawberry
042444dc1d
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-05-21 21:31:00 -04:00
Damir Jelić
b7b9816314
Make the url crate a workspace dependency
2024-05-14 18:18:15 +02:00
strawberry
9e29e07ae1
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-05-09 11:29:29 -04:00
Kévin Commaille
75455d3e0f
Release ruma-common 0.13.0
2024-05-09 12:14:59 +02:00
strawberry
a938640491
add MSC3026 support (busy presence status)
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-05 17:48:02 -04:00
Jonas Platte
4a02b97aa3
Update website URL
2024-04-04 13:20:58 +02:00
Hubert Chathi
c5f8137ba9
ruma: Export web_time as time
2024-03-27 18:48:55 +01:00
Damir Jelić
ccd3b81557
Use web-time to return a SystemTime that works under WASM
...
The `MilliSecondsSinceUnixEpoch::to_system_time()` method returns the
`SystemTime` type from the standard library.
The `std::time::SystemTime::elapsed()` method sadly panics under WASM.
Instead of returning the `SystemTime` from the standard library we're
now returning a drop-in replacement of this type coming from the web-time
crate.
2024-03-20 12:19:18 +01:00
Jonas Platte
95707b86c3
Provide a more helpful Debug impl for timestamps
2024-03-16 00:23:31 +01:00
Kévin Commaille
b4133b7863
push: Stabilize support for MSC3958
2023-11-30 14:37:17 +01:00
Jonas Platte
5d7c1f5330
Release ruma-common 0.12.1
2023-11-16 10:43:15 +01:00
Jonas Platte
e658b8b128
Remove 'www.' from ruma.io URLs
2023-10-12 15:44:00 +02:00
Jonas Platte
7cee1787a2
Release ruma-common 0.12.0
2023-10-05 11:21:46 +02:00
Kévin Commaille
c12f2f4002
push: Update poll push rules
...
According to MSC3930
2023-09-28 11:46:38 +02:00
Jonas Platte
10f651916f
identifiers: Add a compat flag to allow arbitrary-length IDs
2023-09-27 16:33:53 +02:00
Kévin Commaille
31ae99cf52
Add support for suppress edits push rule
...
According to MSC3958
2023-09-15 13:33:07 +02:00
Jonas Platte
399adc911f
Use as_variant crate for shorter code
2023-08-28 19:31:39 +02:00
Jonas Platte
31331f3165
Bring back ruma-events
...
Co-authored-by: Kévin Commaille <zecakeh@tedomum.fr>
2023-08-28 10:23:54 +02:00
Kévin Commaille
24ce9d5e09
events: Move sanitize HTML features to new ruma-html crate
2023-08-24 14:00:07 +02:00
Jonas Platte
eea51d27fa
common: Reduce konst dependency feature set
2023-07-14 09:46:11 +02:00
Jonas Platte
f9ef276d41
common: Only depend on konst when needed
2023-07-14 09:38:03 +02:00
Benjamin Bouvier
2c8ece6bf2
events: Parse TagInfo::order
as a f64 or a stringified f64
2023-07-06 14:34:43 +02:00
Jonas Platte
650792bcb5
Upgrade konst to 0.3.5
2023-07-05 11:12:02 +02:00
Jonas Platte
a45ad6b41e
Upgrade indexmap to 2.0
2023-07-05 11:12:01 +02:00
Kévin Commaille
77d94caf11
chore: Use workspace-defined MSRV
2023-07-04 15:40:37 +02:00
Jonas Platte
ba5bf8cfce
Replace assert_matches by assert_matches2
2023-06-08 11:37:11 +02:00
Kévin Commaille
07ea09548f
events: Stabilize VoIP signalling improvements
2023-06-06 10:44:48 +02:00
Kévin Commaille
2d697fcc95
events: Stabilize annotations and reactions
2023-05-26 09:26:30 +02:00
Kévin Commaille
0bec1ad507
push: Stabilize event_property_contains
2023-05-26 09:26:09 +02:00
Kévin Commaille
b8668f863b
push: Stabilize event_property_is
2023-05-26 09:26:09 +02:00
Kévin Commaille
6df78e8aee
events: Move CalCapabilities behind feature unstable-msc2747
2023-05-24 17:53:32 +02:00
Jonas Platte
4c85fe9c78
Replace compat feature with more fine-grained compat-* features
...
… and document them.
2023-04-20 14:00:27 +02:00
Kévin Commaille
2ccc0323f6
push: Add support for event_property_contains push condition
...
According to MSC3966
2023-04-11 16:12:05 +02:00
Kévin Commaille
2e7b67bb23
push: Add support for event_property_is push condition
...
According to MSC3758
2023-04-11 16:12:05 +02:00
Kévin Commaille
41be6ac18b
events: Update types according to MSC3927 and changes in MSC3246
2023-02-27 20:28:38 +01:00
Kévin Commaille
8477efb2ef
events: Update types according to changes in MSCs 1767, 3954, 3955 and 3956
2023-02-27 20:28:38 +01:00
Kévin Commaille
f17f288a3f
Release ruma-common 0.11.3
2023-02-15 12:44:42 +01:00
Kévin Commaille
798c25e32a
events: Move MessageAuthenticationCode::HkdfHmacSha256V2 out of unstable-msc3783
2023-02-14 22:19:47 +01:00
Jonas Platte
94c01077c5
Release ruma-common 0.11.2
2023-02-07 21:04:39 +01:00