13 Commits

Author SHA1 Message Date
Kévin Commaille
357100883d common: Add a function to test an event against a Ruleset 2021-03-31 12:12:23 +02:00
Kévin Commaille
038f0eec6d common: Add a function to test an event against PushCondition 2021-03-31 12:12:23 +02:00
Jonas Platte
34484c0225
common: Update changelog 2021-03-22 20:56:30 +01:00
Kévin Commaille
c8c45d10fa common: Replace push rule kinds types with AnyPushRule variants 2021-03-22 20:42:25 +01:00
Kévin Commaille
b79ef0303a Move common::push::AnyPushRule to client_api::r0::push::PushRule 2021-03-22 20:42:25 +01:00
Kévin Commaille
22f7f28e1b common: Replace BTreeSet by IndexSet in push::Ruleset.
Keeps the JSON ordering for priority.

IndexSet are hashed by `rule_id` so its uniqueness is enforced.

A rule can be fetched by its `rule_id`.
2021-03-22 20:42:25 +01:00
Jonas Platte
ecfb8a4a4d
Relase ruma-common 0.3.0-alpha.1 2021-01-02 14:34:17 +01:00
Isaiah Inuwa
4831585223 Move TokenType to ruma-common 2020-12-26 21:46:29 +01:00
Jonas Platte
b4b9d28c8c
Update change log for ruma-common 2020-09-17 21:28:02 +02:00
Isaiah Inuwa
90af430d6b Copy shared directory types to ruma-common 2020-08-14 12:14:21 +02:00
Jonas Platte
0cd87a6c07
Update ruma-common changelog 2020-08-09 00:57:06 +02:00
Jonas Platte
30e73186e7
Bump dependencies 2020-08-07 19:13:00 +02:00
Jonas Platte
a74833a19b
ruma-common: Add a changelog 2020-07-24 20:56:42 +02:00