Commit Graph

4308 Commits

Author SHA1 Message Date
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
6502e4e378 Enable automatic field init shorthand in rustfmt 2022-02-18 11:37:50 +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
cd905e01fd Enable CI caching 2022-02-15 11:01:49 +01:00
Jonas Platte
a39d734540 joke_bot: Rename handle_messages to handle_message
… since it only handles one message.
2022-02-13 15:39:58 +01:00
Jonas Platte
459010939d joke_bot: Replace match with only one non-empty branch with if let 2022-02-13 15:39:24 +01:00
Jonas Platte
07ed3da86a joke_bot: Introduce some concurrency 2022-02-13 15:39:24 +01:00
Jonas Platte
3da7e53156 examples: Rename crate to match directory name 2022-02-13 15:39:24 +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 1c0dab5a47.
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
Jonas Platte
8d15c3d0f9 signatures: Merge SplitError into Error 2022-02-11 23:55:04 +01:00