1356 Commits

Author SHA1 Message Date
Jonathan de Jong
936bb64e84
Update links to spec.matrix.org/v1.2 2022-02-18 19:45:04 +01:00
Kévin Commaille
01c1dab4e6 ruma: Re-export ruma_identifiers::matrix_uri 2022-02-18 19:11:26 +01:00
Kévin Commaille
f9b4958654 identifiers: Add MatrixToUri parsing 2022-02-18 19:11:26 +01:00
Kévin Commaille
1c23cd25b5 identifiers: Create MatrixId type for MatrixToUri 2022-02-18 19:11:26 +01:00
Kévin Commaille
52268b5dc2 identifiers: Rename MatrixToRef to matrix_uri::MatrixToUri 2022-02-18 19:11:26 +01:00
Kévin Commaille
c5a6cf033f
client-api: Rename UserIdentifier::MatrixId to UserIdOrLocalpart 2022-02-18 14:58:38 +00:00
Jonas Platte
48da0a1a12
client-api: Remove UIAA types m.login.oauth2 and m.login.token
Removed from the specification in v1.1.
2022-02-18 15:50:33 +01:00
Jonas Platte
fa2e3662a4
client-api: Add a borrowing iterator for SignedKeys 2022-02-18 14:56:00 +01:00
Jonathan de Jong
b3d4b27b91
federation-api: Set a consistent naming scheme for membership endpoints 2022-02-18 12:54:50 +00:00
Jonas Platte
5a35df2163
Update getting-started instructions to use 0.4.0 2022-02-18 13:09:58 +01:00
Jonas Platte
e337367304
common: Remove aliases from PublicRoomsChunk
It was removed as part of Matrix v1.2:
https://spec.matrix.org/v1.2/changelog/#client-server-api
2022-02-18 11:53:03 +01:00
Jonas Platte
2003948edb
federation-api: Wrap ServerSigningKeys in Raw
Instances might contain extra fields that need to be taken into account
for signature verification.
2022-02-18 11:44:29 +01:00
Jonas Platte
788ecba299
Add missing newlines 2022-02-18 11:37:10 +01:00
Jonas Platte
41d6bcc2a6
Format code in doc comments 2022-02-18 11:33:16 +01:00
Jonas Platte
215cb35806
Clean up import grouping / ordering 2022-02-18 11:20:39 +01:00
Jonas Platte
65e9259a80
client-api: Prefix self-imports / re-exports by 'self::' 2022-02-18 11:08:21 +01:00
Jonathan de Jong
4787bab6ac
client-api: Transition from r0 to versioned endpoints 2022-02-18 11:03:55 +01:00
Jonas Platte
c4d2eacc38
client-api: Update upload_signatures endpoint 2022-02-17 22:28:51 +01:00
Jonathan de Jong
7782e4f648 ruma-push-gateway-api: Refactor file structure and add docs 2022-02-17 21:49:38 +01:00
Jonathan de Jong
f0aad6cbe5 ruma-identity-service-api: Refactor file structure and add docs 2022-02-17 21:49:38 +01:00
Jonathan de Jong
5768f181ca ruma-federation-api: Refactor file structure and add docs 2022-02-17 21:49:38 +01:00
Jonathan de Jong
66b939e6b8 ruma-appservice-api: Refactor file structure and docs 2022-02-17 21:49:38 +01:00
Jonas Platte
2547db74e9
serde: Upgrade itoa 0.4 => 1.0 2022-02-17 16:27:43 +01:00
Jonas Platte
f9b9112d07
common: Disable push rule matching on numbers or booleans
Spec clarification: https://github.com/matrix-org/matrix-doc/pull/3690
2022-02-17 10:09:21 +01:00
Jonas Platte
7a70d96235
Remove PrivOwnedStr() from Debug formatting 2022-02-15 17:46:27 +01:00
Jonas Platte
4d1ff8de23
client: Add some tracing spans 2022-02-15 12:14:48 +01:00
Jonas Platte
f6d419298c
Revert "api: Allow cfg attributes on rate_limited and authentication metadata fields"
cfg-dependent metadata is no longer needed.
This reverts commit 1c0dab5a479737bc2ae83ff710321c191dd502f7.
2022-02-13 12:13:50 +01:00
Jonas Platte
aed0988694
api: Remove support for path metadata field 2022-02-13 11:44:32 +01:00
Jonas Platte
ea8d8fa981
push-gateway-api: Use new path metadata fields 2022-02-13 11:25:51 +01:00
Jonas Platte
ceccf74832
identity-service-api: Use new path metadata fields 2022-02-13 11:25:45 +01:00
Jonas Platte
c5e396216a
federation-api: Use new path metadata fields 2022-02-13 11:25:38 +01:00
Jonas Platte
ee99486978
client-api: Use new path metadata fields 2022-02-13 11:21:49 +01:00
Jonas Platte
7b7e6206bd
appservice-api: Use new path metadata fields 2022-02-13 11:16:32 +01:00
Jonas Platte
457726017b
api: Make metadata path field optional 2022-02-13 11:13:29 +01:00
Jonathan de Jong
4ccf79cb67
api: Add _path suffix to new path metadata keywords 2022-02-13 11:13:29 +01:00
Jonas Platte
bbda001072
appservice-api: Remove dead module 2022-02-13 11:13:11 +01:00
Jonathan de Jong
9000567a70
api: Remove incorrect attribute on compile test 2022-02-13 09:59:42 +01:00
Jonathan de Jong
f72d6601fc
ruma-api-macros: Fix argument ordering 2022-02-12 20:51:59 +01:00
Jonas Platte
ebb09589f9
Remove authors field from Cargo manifests
It's no longer necessary and authorship is much better tracked with git.
2022-02-12 13:46:44 +01:00
Jonathan de Jong
397727726e
api: Add multiple path support to OutgoingRequest 2022-02-12 13:44:11 +01:00
Jonas Platte
dad84ac1a0
client-api: Clean up invalid r0 paths
These routes never existed under r0.
2022-02-12 12:46:03 +01:00
Jonas Platte
59907ca579
identifiers: Add more From impls for non-validated opaque identifiers 2022-02-12 03:37:42 +01:00
Jonas Platte
f130d09daa
events: Remove Serialize implementations for event enums 2022-02-12 01:52:53 +01:00
Jonas Platte
510b8485d8
common: Remove more unnecessary bounds 2022-02-12 01:47:32 +01:00
Jonas Platte
8f1eae97ce
common: Remove unnecessary bound from FlattenedJson::from_raw 2022-02-12 01:44:57 +01:00
Jonas Platte
1b4234c505
serde: Add Raw::{cast, cast_ref} 2022-02-12 01:20:00 +01:00
Jonas Platte
bb99ec72fd
appservice-api: Simplify a test 2022-02-12 01:19:46 +01:00
Jonas Platte
d107e04096
client-api: Use Raw for knock_state.events 2022-02-12 01:07:57 +01:00
Jonas Platte
c5c90a50d5
federation-api: Use Raw for knock_room_state 2022-02-12 01:02:40 +01:00
Jonas Platte
2f84fdbd76
serde: Wrap base64::DecodeError to make base64 a private dependency 2022-02-12 00:36:20 +01:00