Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ffa801254e 
							
						 
					 
					
						
						
							
							common: Fix faulty test  
						
						... 
						
						
						
						I broke it when making the tests easier to read 🙈  
						
						
					 
					
						2021-04-22 14:53:55 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fdc9d30652 
							
						 
					 
					
						
						
							
							common: Remove extraneous semicolons  
						
						
						
						
					 
					
						2021-04-21 13:33:16 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							32398d187b 
							
						 
					 
					
						
						
							
							common: Add Ruleset::get_match  
						
						
						
						
					 
					
						2021-04-17 17:58:53 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c4e918cfc4 
							
						 
					 
					
						
						
							
							common: Remove unneeded lifetime annotation  
						
						
						
						
					 
					
						2021-04-17 17:58:16 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eec58921ad 
							
						 
					 
					
						
						
							
							common: Add missing re-export of AnyPushRuleRef  
						
						
						
						
					 
					
						2021-04-17 17:56:26 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fca5d36402 
							
						 
					 
					
						
						
							
							common: Change the return type of Ruleset::get_actions to a slice  
						
						
						
						
					 
					
						2021-04-17 17:53:38 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							aa8e00f886 
							
						 
					 
					
						
						
							
							common: Add more useful methods to AnyPushRule, AnyPushRuleRef  
						
						
						
						
					 
					
						2021-04-17 17:44:24 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fc423b3620 
							
						 
					 
					
						
						
							
							common: Make push rules only apply if enabled  
						
						... 
						
						
						
						This only changes the behavior of `ConditionalPushRule::applies` and
`PatternedPushRule::applies_to`, `Ruleset::get_actions` was already
filtering out disabled rules. 
						
						
					 
					
						2021-04-17 17:36:57 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5d0fb3924e 
							
						 
					 
					
						
						
							
							common: Add PatternedPushRule::applies_to  
						
						
						
						
					 
					
						2021-04-17 17:30:27 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							045f610e30 
							
						 
					 
					
						
						
							
							common: Add conversions between AnyPushRule and AnyPushRuleRef  
						
						
						
						
					 
					
						2021-04-17 17:12:32 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ab42d379b8 
							
						 
					 
					
						
						
							
							common: Add borrowing iteration of push rulesets  
						
						
						
						
					 
					
						2021-04-17 16:57:47 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8171e34eac 
							
						 
					 
					
						
						
							
							common: Move AnyPushRule, RulesetIntoIter into separate module  
						
						
						
						
					 
					
						2021-04-17 16:38:08 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f86fa08f13 
							
						 
					 
					
						
						
							
							common: Rename RulesetIter to RulesetIntoIter  
						
						
						
						
					 
					
						2021-04-17 16:27:42 +02:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							19e849a82a 
							
						 
					 
					
						
						
							
							docs: Document uses of the unstable-pre-spec feature flag  
						
						
						
						
					 
					
						2021-04-12 11:31:01 +02:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d3ee7c4d74 
							
						 
					 
					
						
						
							
							docs: Fix some wording issues  
						
						
						
						
					 
					
						2021-04-07 16:55:59 +02:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							154f9b2d58 
							
						 
					 
					
						
						
							
							docs: Document compat feature uses  
						
						
						
						
					 
					
						2021-04-07 12:47:44 +02:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e049e45423 
							
						 
					 
					
						
						
							
							docs: Add missing dots  
						
						
						
						
					 
					
						2021-04-07 12:15:37 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							444239cc10 
							
						 
					 
					
						
						
							
							common: Use RoomId in PushConditionCtx  
						
						
						
						
					 
					
						2021-04-05 20:42:54 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1bf4157a89 
							
						 
					 
					
						
						
							
							Add favicon and logo URLs for rustdoc  
						
						
						
						
					 
					
						2021-04-05 11:42:07 +02:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
						
						
							
						
						
							71b358ccd6 
							
						 
					 
					
						
						
							
							common: Replace String with MxcUri for avatar_url  
						
						
						
						
					 
					
						2021-04-05 08:10:21 +02:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cd157885dd 
							
						 
					 
					
						
						
							
							common: Fix push::PushCondition::applies for empty value and pattern  
						
						
						
						
					 
					
						2021-04-03 17:00:04 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4a926e0e64 
							
						 
					 
					
						
						
							
							Consistently use int! macro to create js_int::Ints from literals  
						
						
						
						
					 
					
						2021-03-31 13:25:56 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d6bb977dba 
							
						 
					 
					
						
						
							
							common: Make NotificationPowerLevels non-exhaustive  
						
						
						
						
					 
					
						2021-03-31 13:12:34 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							171fcfa965 
							
						 
					 
					
						
						
							
							common: Remove redundant clones  
						
						
						
						
					 
					
						2021-03-31 13:11:19 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cd34fba6ad 
							
						 
					 
					
						
						
							
							common: Fix import ordering  
						
						
						
						
					 
					
						2021-03-31 13:11:02 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f91467d0b2 
							
						 
					 
					
						
						
							
							Use maplit::btreemap in tests  
						
						
						
						
					 
					
						2021-03-31 12:32:29 +02:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
						
						
							
						
						
							cdb998c83f 
							
						 
					 
					
						
						
							
							Move ruma_events::room::power_levels::NotificationPowerLevels to ruma-common  
						
						
						
						
					 
					
						2021-03-31 12:12:23 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							12686fe6e3 
							
						 
					 
					
						
						
							
							Clean up std::fmt imports  
						
						... 
						
						
						
						We were pretty inconsistent about them before. 
						
						
					 
					
						2021-03-25 16:32:08 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							922059c3e5 
							
						 
					 
					
						
						
							
							common: Borrow the rule ID in AnyPushRule::rule_id  
						
						
						
						
					 
					
						2021-03-22 20:53:17 +01:00 
						 
				 
			
				
					
						
							
							
								Kévin Commaille 
							
						 
					 
					
						
						
						
						
							
						
						
							945e085c7a 
							
						 
					 
					
						
						
							
							common: Add tests for push rules  
						
						
						
						
					 
					
						2021-03-22 20:42:25 +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 
						 
				 
			
				
					
						
							
							
								Takayuki Maeda 
							
						 
					 
					
						
						
						
						
							
						
						
							9cfa3b075c 
							
						 
					 
					
						
						
							
							deserialize empty string to none for avatar_url  
						
						
						
						
					 
					
						2021-03-15 16:46:15 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a20c75d536 
							
						 
					 
					
						
						
							
							Fix import grouping issues  
						
						
						
						
					 
					
						2021-02-25 20:55:19 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							42f1ddb222 
							
						 
					 
					
						
						
							
							common: Rename Medium::{MSISDN => Msisdn}  
						
						
						
						
					 
					
						2021-02-11 19:08:09 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							891db9083b 
							
						 
					 
					
						
						
							
							Clean up cargo features  
						
						
						
						
					 
					
						2021-02-02 19:21:45 +01:00 
						 
				 
			
				
					
						
							
							
								Devin Ragotzy 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8fad462d8c 
							
						 
					 
					
						
						
							
							Fix push rule precedence when converting to RulesIter  
						
						
						
						
					 
					
						2021-01-30 18:00:57 +01:00 
						 
				 
			
				
					
						
							
							
								Akshay 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							adeb545062 
							
						 
					 
					
						
						
							
							Add push rule for .m.rule.reaction  
						
						
						
						
					 
					
						2021-01-21 19:51:32 +01:00 
						 
				 
			
				
					
						
							
							
								Isaiah Inuwa 
							
						 
					 
					
						
						
						
						
							
						
						
							4831585223 
							
						 
					 
					
						
						
							
							Move TokenType to ruma-common  
						
						
						
						
					 
					
						2020-12-26 21:46:29 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Platte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5562a23aaa 
							
						 
					 
					
						
						
							
							Move Raw, Outgoing and all macro code from ruma-common to ruma-serde  
						
						
						
						
					 
					
						2020-11-28 03:45:39 +01:00 
						 
				 
			
				
					
						
							
							
								Ana Gelez 
							
						 
					 
					
						
						
						
						
							
						
						
							aab6ed9c94 
							
						 
					 
					
						
						
							
							Hide RulesetMember::add_to in the docs  
						
						
						
						
					 
					
						2020-11-27 20:53:51 +01:00 
						 
				 
			
				
					
						
							
							
								Ana Gelez 
							
						 
					 
					
						
						
						
						
							
						
						
							483fe8f940 
							
						 
					 
					
						
						
							
							Run cargo fmt  
						
						
						
						
					 
					
						2020-11-27 20:53:51 +01:00 
						 
				 
			
				
					
						
							
							
								Ana Gelez 
							
						 
					 
					
						
						
						
						
							
						
						
							57efd8cd5b 
							
						 
					 
					
						
						
							
							Custom iterator for Ruleset  
						
						
						
						
					 
					
						2020-11-27 20:53:34 +01:00 
						 
				 
			
				
					
						
							
							
								Ana Gelez 
							
						 
					 
					
						
						
						
						
							
						
						
							0e6d3f17c6 
							
						 
					 
					
						
						
							
							Seal the RulesetMember trait  
						
						... 
						
						
						
						+ use maplit instead of custom macro
+ fix two little issues in the documentation 
						
						
					 
					
						2020-11-27 20:52:06 +01:00 
						 
				 
			
				
					
						
							
							
								Ana Gelez 
							
						 
					 
					
						
						
						
						
							
						
						
							65ef5f21e5 
							
						 
					 
					
						
						
							
							Use Self constructors when possible  
						
						
						
						
					 
					
						2020-11-27 20:52:06 +01:00 
						 
				 
			
				
					
						
							
							
								Ana Gelez 
							
						 
					 
					
						
						
						
						
							
						
						
							1a29875fb4 
							
						 
					 
					
						
						
							
							Rename PushRule to SimplePushRule  
						
						
						
						
					 
					
						2020-11-27 20:52:06 +01:00 
						 
				 
			
				
					
						
							
							
								Ana Gelez 
							
						 
					 
					
						
						
						
						
							
						
						
							5d988db5e7 
							
						 
					 
					
						
						
							
							impl Extend for Ruleset  
						
						
						
						
					 
					
						2020-11-27 20:52:01 +01:00