52 Commits

Author SHA1 Message Date
strawberry
7f345bf39d fix building without unstable-msc2409 feature
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-10-02 21:52:14 -04:00
strawberry
e2d576677e add missing receive_ephemeral appservice registration bool as part of MSC2409
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-10-01 10:29:20 -04:00
Kévin Commaille
968c52b117 api: Rename request macro attribute query_map to query_all
Remove its IntoIterator bound to allow to represent
the query fields as a single struct or enum.
2024-06-21 19:15:59 +02:00
Jonas Platte
4a02b97aa3
Update website URL 2024-04-04 13:20:58 +02:00
Kévin Commaille
9a5142052c appservice-api: Make the url field of Registration an Option
It was always possible to set it to `null`, according to the Matrix
spec.
2024-01-03 18:40:40 +01:00
Jonas Platte
e658b8b128
Remove 'www.' from ruma.io URLs 2023-10-12 15:44:00 +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
7239be4fcb appservice-api: Add support for the appservice ping mechanism
According to MSC2659
2023-05-30 20:58:24 +02:00
Jonas Platte
45857ed6fa
appservice: Implement useful traits for ReceiptContent 2023-02-22 17:32:39 +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
Jonas Platte
3211fccab0
Remove borrowing in requests 2022-11-28 14:02:35 +01:00
Jonas Platte
ae3394a6df api: Turn metadata name and description fields into docstrings 2022-11-12 10:17:24 +01:00
Jonas Platte
80c060cb69 Remove usage of ruma_api! 2022-11-12 10:17:24 +01:00
Jonas Platte
a83a8e7170
appservice: Move msc2409 types from push_events to push_events::v1
… for consistency with other types.
2022-10-31 11:09:47 +01:00
Jonas Platte
0afba1a5d0
appservice-api: Fix push_events test not compiling with unstable features 2022-10-31 10:55:05 +01:00
Emelie Graven
920e51b468
appservice-api: Add types for MSC2409 2022-10-28 08:40:38 +00:00
Kévin Commaille
045861441a doc: Update Matrix spec links to v1.4 2022-10-21 10:41:20 +02:00
Emelie Graven
27f27d5298
feat: Add MSC3202 types for E2EE appservices 2022-10-18 12:26:48 +02:00
Kévin Commaille
19a388a923 appservice-api: Add support for using the Authorization header
According to MSC2832
2022-10-02 15:08:31 +02:00
Jonas Platte
914e5c21e9
events: Rename Any[Sync]RoomEvent to Any[Sync]TimelineEvent 2022-08-24 17:43:42 +02:00
Johannes Becker
d37a9316bc
appservice-api: Remove sync conversion helper 2022-06-03 13:00:45 +02:00
Jonas Platte
8912182c56
Increase usage of implicit named arguments in format strings 2022-06-03 10:06:28 +02:00
Jonas Platte
1db07a2022
appservice-api: Remove PartialEq impl for Namespace 2022-05-23 18:35:07 +02:00
Jonas Platte
efc869ce9d client-api: Use new owned ID types 2022-04-20 10:39:36 +02:00
Jonas Platte
ab94bed1dc api: Change Incoming derive to use owned ID types
… except for a few ID types that don't have an owned variant yet.
2022-04-20 10:39:36 +02:00
Kévin Commaille
bdcf07be87
common: Merge ruma-serde into ruma-common 2022-03-10 12:11:00 +01:00
Kévin Commaille
088d1872b7
common: Merge ruma-identifiers into ruma-common 2022-03-09 17:46:51 +00:00
homersimpsons
2ec50bd03c
doc: migrate links from matrix-doc to matrix-spec(-proposals) 2022-03-08 10:24:26 +01:00
Kévin Commaille
4cefb9ef62 appservice-api: Fix helper_tests 2022-03-04 13:34:57 +01:00
Kévin Commaille
c3f9a3cb70
common: Merge ruma-events into ruma-common 2022-03-04 11:45:07 +00:00
Kévin Commaille
f32dcb9254
common: Merge ruma-api into ruma-common 2022-03-03 14:01:51 +01:00
Jonathan de Jong
936bb64e84
Update links to spec.matrix.org/v1.2 2022-02-18 19:45:04 +01:00
Jonas Platte
215cb35806
Clean up import grouping / ordering 2022-02-18 11:20:39 +01:00
Jonathan de Jong
4787bab6ac
client-api: Transition from r0 to versioned endpoints 2022-02-18 11:03:55 +01:00
Jonathan de Jong
66b939e6b8 ruma-appservice-api: Refactor file structure and docs 2022-02-17 21:49:38 +01:00
Jonas Platte
7b7e6206bd
appservice-api: Use new path metadata fields 2022-02-13 11:16:32 +01:00
Jonas Platte
bbda001072
appservice-api: Remove dead module 2022-02-13 11:13:11 +01:00
Jonathan de Jong
397727726e
api: Add multiple path support to OutgoingRequest 2022-02-12 13:44:11 +01:00
Jonas Platte
bb99ec72fd
appservice-api: Simplify a test 2022-02-12 01:19:46 +01:00
Jonas Platte
ef6728abde
Add a TransactionId type 2022-01-16 23:17:23 +01:00
Jonas Platte
75283845bc
appservice-api: Remove pointless import 2021-12-09 22:59:50 +01:00
Jonas Platte
2d4dbfe42f
identifiers: Make RoomId a DST 2021-11-26 00:04:28 +01:00
Jonas Platte
aa5fdf9d22
Merge serde attributes and improve docs 2021-10-08 12:49:13 +02:00
Jonas Platte
da14fdaf17
serde: Remove impl From<T> for Raw<T> 2021-09-15 20:36:20 +02:00
Jonas Platte
9b2602649f
Stop special-casing zero fields in macro code 2021-07-09 15:10:22 +02:00
Devin Ragotzy
5d0803f63d
app/identity: Make all pub structs non_exhaustive 2021-06-18 11:15:51 +00:00
Jonas Platte
16e8f498b4
serde: Add Raw::deserialize_as 2021-05-15 15:02:03 +02:00
Jonas Platte
60d4ea027f
Use serde_json::Result alias 2021-05-15 15:02:02 +02:00
Jonas Platte
7adc141aa0
appservice-api: Replace use of AnyEvent in push_events with AnyRoomEvent 2021-05-09 21:04:13 +02:00
Devin Ragotzy
5090c11843
Enable non-default clippy lints 2021-05-06 11:07:31 +00:00