1710 Commits

Author SHA1 Message Date
Kévin Commaille
e653912e22 xtask: Disallow linking to the latest spec when a link uses a non-unique ID
These IDs can change from one version to the other if another heading
with the same name is added before, so the link would not
point to the proper part of the spec anymore.
2023-02-12 12:39:24 +01:00
Kévin Commaille
f159776f52 chore: Make all applicable spec links use the latest spec instead of a specific version 2023-02-12 12:39:24 +01:00
HKalbasi
270f8196bc
identifiers: Don't allow invalid characters in RoomVersionId 2023-02-12 11:05:33 +01:00
Kévin Commaille
efc60d6a64 docs: Fix invalid link to the spec 2023-02-11 12:14:33 +01:00
Kévin Commaille
5344521105 federation-api: Note that create_join_event v2 should include heroes for nameless rooms
According to MSC3943
2023-02-10 11:54:21 +01:00
Kévin Commaille
699c2daf39
events: Remove mixed types and conversion functions for extensible events
Mixed types have been removed from MSC1767.
2023-02-09 16:25:51 +01:00
Benjamin Kampmann
6cd3935280
client-api: Fix event type inside sync_events::v4 required_state fields 2023-02-08 09:03:31 +01:00
Jonas Platte
94c01077c5
Release ruma-common 0.11.2 2023-02-07 21:04:39 +01:00
Jonas Platte
3013ca0dc1
identifiers: Don't accept colons in user-id localparts, even in compat 2023-02-07 20:56:22 +01:00
Jonas Platte
9c65a7dcae
events: Use input visibility for generated types in EventContent derive 2023-02-07 20:55:53 +01:00
Kévin Commaille
e58b9fcd92 tests: Remove unnecessary borrows 2023-02-06 19:11:06 +01:00
Kévin Commaille
ad86f4603a events: Derive Hash for ReceiptType and ReceiptThread
Since uniqueness of receipts is determined per type and per thread
it's common to use them as keys of a map.
2023-02-06 19:11:06 +01:00
Jonas Platte
093c231792
Release ruma-common 0.11.1 2023-02-02 13:02:45 +01:00
Jonas Platte
1249dda583
common: Implement Debug manually for [Milli]SecondsSinceUnixEpoch 2023-02-02 12:10:29 +01:00
Jonas Platte
19006cd047
Clean up code blocks in doc strings 2023-02-01 16:58:47 +01:00
Jonas Platte
457b5187a7
Fix a typo 2023-02-01 15:07:47 +01:00
Jonas Platte
49c8172ccb
Release ruma 0.8.1 2023-02-01 14:47:11 +01:00
Jonas Platte
75744f4c40
Make cargo-sort happy 2023-02-01 14:29:12 +01:00
Jonas Platte
0903289387
Release ruma 0.8.0 2023-02-01 14:24:03 +01:00
Jonas Platte
85d42896af
Release ruma-client 0.11.0 2023-02-01 14:20:41 +01:00
Jonas Platte
b0967d9053
Re-export ruma-server-util from ruma with a feature flag 2023-02-01 14:19:28 +01:00
Jonas Platte
250d7f84dc
Release ruma-state-res 0.9.0 2023-02-01 14:17:10 +01:00
Jonas Platte
0d689f0a76
Release ruma-signatures 0.13.0 2023-02-01 14:14:16 +01:00
Jonas Platte
fa5240b5e7
Release ruma-server-util 0.1.0 2023-02-01 14:12:59 +01:00
Jonas Platte
d2c47b84aa
Release ruma-push-gateway-api 0.7.0 2023-02-01 14:08:37 +01:00
Jonas Platte
14331541e6
Release ruma-identity-service-api 0.7.0 2023-02-01 14:07:02 +01:00
Jonas Platte
cbb7d8ca1c
Release ruma-federation-api 0.7.0 2023-02-01 14:04:33 +01:00
Jonas Platte
a6c8a4eddd
Release ruma-client-api 0.16.0 2023-02-01 14:02:40 +01:00
Jonas Platte
0a9a6c5f33
Release ruma-appservice-api 0.8.0 2023-02-01 14:01:40 +01:00
Jonas Platte
9bbe06aa3f
Release ruma-common 0.11.0 2023-02-01 13:26:09 +01:00
Jonas Platte
706bbf1753
Remove no-op default-features = false 2023-02-01 13:24:43 +01:00
Jonas Platte
b6f0a43fa3
Use workspace dependencies for path dependencies 2023-02-01 12:37:45 +01:00
Jonas Platte
de448ead01
Upgrade toml, toml_edit 2023-01-31 18:17:58 +01:00
Jonas Platte
fe5077b1a5
Upgrade base64 to 0.21 2023-01-31 18:01:01 +01:00
Benjamin Kampmann
00045e559f
client-api: Upgrade to Sliding Sync JSON Layout 0.99
… and implement typing and receipt extensions.
2023-01-31 12:48:47 +00:00
Jonas Platte
e37d064306
macros: Update expected trybuild test output 2023-01-30 16:34:26 +01:00
Jonas Platte
31671da257
events: Simplify membership_change match 2023-01-26 11:26:37 +01:00
Jonas Platte
bf4520a2a9
events: Restrict what counts as MembershipChange::ProfileChanged 2023-01-26 11:25:09 +01:00
Jonas Platte
69337d1f4e
events: Add custom PossiblyRedactedRoomTombstoneEventContent
The auto-generated type would look different based on whether the compat
feature is active or not previously.
2023-01-25 16:46:37 +01:00
Doug
47450cecc9
Add unstable support for discovering a sliding sync proxy (MSC3575) 2023-01-24 20:53:22 +01:00
Kévin Commaille
06820cdc92 common: Use the same percent encoding set consistently 2023-01-24 20:15:09 +01:00
Zwelf
3d74117dd4
events: Add Serialize back to InitialStateEvent 2023-01-24 16:04:47 +00:00
digital
c79f9a97e1 client-api: add support for appservice login 2023-01-19 16:12:22 +01:00
digital
6c00e03c19 client-api: correct typos in comments 2023-01-19 16:12:22 +01:00
Jonas Platte
f99ff2a83c
events: Remove unused Serialize, Deserialize impls 2023-01-18 09:30:47 +01:00
Jonas Platte
62ed200a56
events: Use possibly-redacted content for StrippedStateEvent 2023-01-16 21:28:53 +01:00
Jonas Platte
2eba14f0cc
events: Rework the content traits 2023-01-16 21:28:53 +01:00
Jonas Platte
49a0650f62
events: Remove EventKind
The EventType associated type on EventContent practically provides the
same information.
2023-01-16 21:17:00 +01:00
Damir Jelić
19f68065f1
common: Derive PartialEq and Eq for the KeyUsage enum 2023-01-16 16:13:10 +01:00
Kévin Commaille
48288865db
api: Only percent-encode reserved characters in endpoint URL path 2023-01-16 13:07:33 +01:00