Kévin Commaille
1aa2eadd70
client-api: Remove RuleScope
...
The `global` scope is hardcoded due to a clarification in the spec.
2024-10-19 14:58:59 -04:00
Kévin Commaille
2b986e1226
chore: Fix new rustfmt errors
2024-05-12 15:49:28 +02:00
Kévin Commaille
d6c4533b7d
chore: Fix new warnings
2024-05-12 15:49:28 +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
Jonas Platte
ba5bf8cfce
Replace assert_matches by assert_matches2
2023-06-08 11:37:11 +02:00
Nicolas Mauri
a2b64c20bc
client-api: Fix the http method of set_pushrule request serialization
...
… by using METADATA.method.
2023-06-05 19:23:20 +00: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
ff8ab6b085
Replace ruma_common::serde::urlencoded with serde_html_form
2023-01-02 17:47:33 +01:00
Jonas Platte
3211fccab0
Remove borrowing in requests
2022-11-28 14:02:35 +01:00
Kévin Commaille
e8bec10c6d
push: Make SimplePushRule generic over the type of the rule_id
2022-11-12 10:59:52 +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
2500e8f8fa
api: Make query_string parameter of make_endpoint_url non-optional
...
When Some(_), the argument would often be an empty string. By always
using the empty string to mean "no query", we avoid trailing a `?` on
URLs without having two parameter values that mean the same thing.
2022-11-11 11:27:07 +01:00
Jonas Platte
d25e40764b
client-api: Fix warnings when compiling with client and without server feature
2022-11-11 11:09:32 +01:00
Kévin Commaille
aa2e905ce3
client-api: Use an enum to construct set_pushrule's Request
2022-11-09 14:45:12 +01:00
Kévin Commaille
f31530e02c
client-api: Use an enum for the scope of the push rule endpoints
2022-11-09 14:45:12 +01:00
Kévin Commaille
2bd5c131f4
client-api: Make PusherKind contain the pusher data
...
Since it depends on the kind
2022-11-07 10:21:48 +01:00
Kévin Commaille
801d9bf212
client-api: Use an enum to differentiate when deleting a pusher
2022-11-07 10:21:48 +01:00
Kévin Commaille
045861441a
doc: Update Matrix spec links to v1.4
2022-10-21 10:41:20 +02:00
Jonas Platte
914e5c21e9
events: Rename Any[Sync]RoomEvent to Any[Sync]TimelineEvent
2022-08-24 17:43:42 +02:00
Jonas Platte
efc869ce9d
client-api: Use new owned ID types
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
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
4787bab6ac
client-api: Transition from r0 to versioned endpoints
2022-02-18 11:03:55 +01:00