| 
							
							
								 Jonas Platte | 118aa8fc4a | state-res: Make usage of Arc optional | 2021-09-13 19:02:36 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | a4b8f3bc90 | state-res: Implement Event for Arc<T> where T: Event | 2021-09-13 19:02:36 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | f0cd82dae7 | state-res: Refactor test_utils | 2021-09-13 19:02:36 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 279322862c | state-res: Reduce public API to what Conduit uses | 2021-09-13 19:02:36 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | bc1e7eb1fc | state-res: Remove unused code from test_utils | 2021-09-13 19:02:36 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 3c0493bddf | state-res: Move tests into the crate and make test_utils private | 2021-09-13 19:02:36 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 3b9bd1fc76 | state-res: Simplify benchmark | 2021-09-13 19:02:36 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 2b7ab82401 | state-res: Remove unneeded .as_deref()call | 2021-09-13 19:02:36 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | d60b7bf814 | state-res: Filter out Nones from conflicted_state earlier | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | b31065827b | state-res: Allocate less when computing all_conflicted | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 6559681095 | state-res: Rewrite get_auth_chain_diff algorithm | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 3a04aea446 | state-res: Delete empty file | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 00a59d0528 | state-res: Reduce unnecessary Arc usage | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 2d83cf9a03 | state-res: Remove unused functions | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | f65b8b63e2 | state-res: Make most functions in event_auth private | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 355a493024 | state-res: Fix some docs | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 0cd91ed61e | state-res: Don't import-rename crate root | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 0ed0a620a3 | state-res: Refactor iterative_auth_check | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 1e19de9579 | state-res: Return borrows from Event::{prev_events, auth_events} | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 34a10b87c5 | state-res: Return borrows from Event::{event_type, state_key} | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 660cd97962 | state-res: Remove todo comment EventId has the same ordering as str. | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 91e6a1c65c | state-res: Use HashSet::retain | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 1a4b7903b8 | state-res: Replace if let with match | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 324fb58a62 | state-res: Simplify get_auth_chain_diff signature It never returned Err(_), so the return type shouldn't be Result<_>. | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 290c61820b | state-res: Remove unused function parameters | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 17ffade52b | state-res: Use named fields instead of multiline messages for tracing events | 2021-09-13 19:02:35 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 43c8df18ad | state-res: Use match instead of repeatedly comparing the same variable | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | b4c22d5783 | state-res: Further simplify valid_membership_change | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 22cee51e1a | state-res: Replace two uses of map_or with simpler match | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | d1fa58abb2 | state-res: Make logic a bit easier to read | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | d8637d3b30 | state-res: Replace map_or_else with simpler alternatives | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 4d0064330a | state-res: Inline get_named_level | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 8b4d019861 | state-res: More fetch_state deduplication | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | f9f4106757 | state-res: Don't call .to_string() for server name comparison | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 7f4eba5a5c | state-res: Inline get_user_power_level | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 4259e9ec0c | state-res: Deduplicate a few redundant function calls | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | f00b4a0984 | state-res: Remove fetch_state parameter from a few more functions | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 4bba58d781 | state-res: Move more fetch_state calls into auth_check (from sub-functions) | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | a6377067cd | state-res: Don't turn Int into i64 internally | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | b0d475eac3 | state-res: Inline can_send_invite | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 983ce8451f | state-res: Inline check_event_sender_in_room | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 359a0cb125 | state-res: Don't pass fetch_state to valid_membership_change | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 0a93780e83 | state-res: Move tests/utils.rs to src/test_utils.rs | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 6b1f027b88 | state-res: Raise an error (don't panic) on invalid power-levels event | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 40f99cb364 | state-res: Update verify_third_party_invite signature Use &UserId instead of &str. | 2021-09-13 19:02:34 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 76fa15f248 | state-res: Rename Event::kind to event_type | 2021-09-13 19:02:33 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | a56814a4f4 | state-res: Fix up doc comments | 2021-09-13 19:02:33 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | 4bea59caef | state-res: Remove StateResolution type … making its associated functions free instead. | 2021-09-13 19:02:33 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | cc9336e444 | state-res: Take ownership of events to sort in reverse_topological_power_sort Avoids clones. | 2021-09-13 19:02:33 +02:00 |  | 
			
				
					| 
							
							
								 Jonas Platte | ebd812bcda | Add missing semicolons | 2021-09-13 19:02:33 +02:00 |  |