9e1b43bcbf 
								
							
								 
							
						 
						
							
							
								
								Comment  
							
							
							
						 
						
							2016-07-15 09:29:54 +01:00  
				
					
						
							
							
								 
						
							
							
								ebdafd8114 
								
							
								 
							
						 
						
							
							
								
								Check sender signed event  
							
							
							
						 
						
							2016-07-14 17:03:24 +01:00  
				
					
						
							
							
								 
						
							
							
								5bbc321588 
								
							
								 
							
						 
						
							
							
								
								Always use state cache entry if it exists  
							
							... 
							
							
							
							Also check if the resolved state matches an existing state group. 
							
						 
						
							2016-04-20 11:49:10 +01:00  
				
					
						
							
							
								 
						
							
							
								4cf4320593 
								
							
								 
							
						 
						
							
							
								
								Add some logging to state resolve_events  
							
							
							
						 
						
							2016-04-20 11:06:02 +01:00  
				
					
						
							
							
								 
						
							
							
								bf14883a04 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #689  from matrix-org/erikj/member  
							
							... 
							
							
							
							Do checks for memberships before creating events 
							
						 
						
							2016-04-04 11:56:40 +01:00  
				
					
						
							
							
								 
						
							
							
								89e6839a48 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #686  from matrix-org/markjh/doc_strings  
							
							... 
							
							
							
							Use google style doc strings. 
							
						 
						
							2016-04-01 16:20:09 +01:00  
				
					
						
							
							
								 
						
							
							
								c906f30661 
								
							
								 
							
						 
						
							
							
								
								Do checks for memberships before creating events  
							
							
							
						 
						
							2016-04-01 16:17:32 +01:00  
				
					
						
							
							
								 
						
							
							
								2a37467fa1 
								
							
								 
							
						 
						
							
							
								
								Use google style doc strings.  
							
							... 
							
							
							
							pycharm supports them so there is no need to use the other format.
Might as well convert the existing strings to reduce the risk of
people accidentally cargo culting the wrong doc string format. 
							
						 
						
							2016-04-01 16:12:07 +01:00  
				
					
						
							
							
								 
						
							
							
								dc4c1579d4 
								
							
								 
							
						 
						
							
							
								
								Remove outlier parameter from compute_event_context  
							
							... 
							
							
							
							Use event.internal_metadata.is_outlier instead. 
							
						 
						
							2016-03-31 15:32:24 +01:00  
				
					
						
							
							
								 
						
							
							
								9e2e994395 
								
							
								 
							
						 
						
							
							
								
								Reduce cache size  
							
							
							
						 
						
							2016-03-23 09:28:07 +00:00  
				
					
						
							
							
								 
						
							
							
								d531ebcb57 
								
							
								 
							
						 
						
							
							
								
								Key StateHandler._state_cache off of state groups  
							
							
							
						 
						
							2016-03-22 18:02:36 +00:00  
				
					
						
							
							
								 
						
							
							
								99f929f36b 
								
							
								 
							
						 
						
							
							
								
								Make StateHandler._state_cache only store event_ids.  
							
							
							
						 
						
							2016-03-22 16:06:04 +00:00  
				
					
						
							
							
								 
						
							
							
								d787e41b20 
								
							
								 
							
						 
						
							
							
								
								Measure StateHandler._resolve_events  
							
							
							
						 
						
							2016-03-22 14:44:48 +00:00  
				
					
						
							
							
								 
						
							
							
								d83d004ccd 
								
							
								 
							
						 
						
							
							
								
								Fix flake8 warnings for new flake8  
							
							
							
						 
						
							2016-02-02 17:18:50 +00:00  
				
					
						
							
							
								 
						
							
							
								6c28ac260c 
								
							
								 
							
						 
						
							
							
								
								copyrights  
							
							
							
						 
						
							2016-01-07 04:26:29 +00:00  
				
					
						
							
							
								 
						
							
							
								5dea4d37d1 
								
							
								 
							
						 
						
							
							
								
								Update some comments  
							
							... 
							
							
							
							Add a couple of type annotations, docstrings, and other comments, in the
interest of keeping track of what types I have.
Merged from pull request #370 . 
							
						 
						
							2015-11-13 10:31:15 +00:00  
				
					
						
							
							
								 
						
							
							
								78f6010207 
								
							
								 
							
						 
						
							
							
								
								Fix an issue with ignoring power_level changes on divergent graphs  
							
							... 
							
							
							
							Changes to m.room.power_levels events are supposed to be handled at a high
priority; however a typo meant that the relevant bit of code was never
executed, so they were handled just like any other state change - which meant
that a bad person could cause room state changes by forking the graph from a
point in history when they were allowed to do so. 
							
						 
						
							2015-11-12 15:24:59 +00:00  
				
					
						
							
							
								 
						
							
							
								82b8d4b86a 
								
							
								 
							
						 
						
							
							
								
								synapse/state.py:_get_state_key_from_event was unused  
							
							
							
						 
						
							2015-09-23 10:27:47 +01:00  
				
					
						
							
							
								 
						
							
							
								b105996fc1 
								
							
								 
							
						 
						
							
							
								
								Remove run_on_reactor  
							
							
							
						 
						
							2015-09-17 10:28:36 +01:00  
				
					
						
							
							
								 
						
							
							
								2df8dd9b37 
								
							
								 
							
						 
						
							
							
								
								Move all the caches into their own package, synapse.util.caches  
							
							
							
						 
						
							2015-08-11 18:00:59 +01:00  
				
					
						
							
							
								 
						
							
							
								07507643cb 
								
							
								 
							
						 
						
							
							
								
								Use dictionary cache to do group -> state fetching  
							
							
							
						 
						
							2015-08-05 15:11:42 +01:00  
				
					
						
							
							
								 
						
							
							
								3bbd0d0e09 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #180  from matrix-org/erikj/prev_state_context  
							
							... 
							
							
							
							Don't needlessly compute prev_state 
							
						 
						
							2015-06-03 17:20:56 +01:00  
				
					
						
							
							
								 
						
							
							
								55bf90b9e4 
								
							
								 
							
						 
						
							
							
								
								Don't needlessly compute prev_state  
							
							
							
						 
						
							2015-06-03 16:44:24 +01:00  
				
					
						
							
							
								 
						
							
							
								53f0bf85d7 
								
							
								 
							
						 
						
							
							
								
								Comment  
							
							
							
						 
						
							2015-06-03 16:43:40 +01:00  
				
					
						
							
							
								 
						
							
							
								1c3d844e73 
								
							
								 
							
						 
						
							
							
								
								Don't needlessly compute context  
							
							
							
						 
						
							2015-06-03 16:41:51 +01:00  
				
					
						
							
							
								 
						
							
							
								23c639ff32 
								
							
								 
							
						 
						
							
							
								
								Split a storage function in two so that we don't have to do extra work.  
							
							
							
						 
						
							2015-05-01 10:17:19 +01:00  
				
					
						
							
							
								 
						
							
							
								b2e6ee5b43 
								
							
								 
							
						 
						
							
							
								
								Remove concept of context.auth_events, instead use context.current_state  
							
							
							
						 
						
							2015-03-16 13:06:23 +00:00  
				
					
						
							
							
								 
						
							
							
								ea8590cf66 
								
							
								 
							
						 
						
							
							
								
								Make context.auth_events grap auth events from current state. Otherwise auth is wrong.  
							
							
							
						 
						
							2015-03-16 00:18:08 +00:00  
				
					
						
							
							
								 
						
							
							
								2674aeb96a 
								
							
								 
							
						 
						
							
							
								
								Factor out ExpiringCache from StateHandler  
							
							
							
						 
						
							2015-02-16 16:16:47 +00:00  
				
					
						
							
							
								 
						
							
							
								8c652a2b5f 
								
							
								 
							
						 
						
							
							
								
								When we see a difference in current state, actually use state conflict resolution algorithm  
							
							
							
						 
						
							2015-02-13 14:20:05 +00:00  
				
					
						
							
							
								 
						
							
							
								f8abbae99f 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary logging  
							
							
							
						 
						
							2015-02-10 15:45:50 +00:00  
				
					
						
							
							
								 
						
							
							
								c86ebe7673 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into state-chache  
							
							... 
							
							
							
							Conflicts:
	synapse/app/homeserver.py
	synapse/state.py 
							
						 
						
							2015-02-10 11:04:37 +00:00  
				
					
						
							
							
								 
						
							
							
								2b042ad67f 
								
							
								 
							
						 
						
							
							
								
								Oops, we do want to defer.return regardless of whether we are caching or not  
							
							
							
						 
						
							2015-02-10 11:03:16 +00:00  
				
					
						
							
							
								 
						
							
							
								d19e2ed02f 
								
							
								 
							
						 
						
							
							
								
								Move construction of object within if block  
							
							
							
						 
						
							2015-02-10 11:01:15 +00:00  
				
					
						
							
							
								 
						
							
							
								d94f682a4c 
								
							
								 
							
						 
						
							
							
								
								During room intial sync, only calculate current state once.  
							
							
							
						 
						
							2015-02-09 17:41:29 +00:00  
				
					
						
							
							
								 
						
							
							
								5bf318e9a6 
								
							
								 
							
						 
						
							
							
								
								Bug fixes.  
							
							
							
						 
						
							2015-02-06 16:52:22 +00:00  
				
					
						
							
							
								 
						
							
							
								b4886264a3 
								
							
								 
							
						 
						
							
							
								
								Bugfix cache layer  
							
							
							
						 
						
							2015-02-06 16:17:05 +00:00  
				
					
						
							
							
								 
						
							
							
								c4e3029d55 
								
							
								 
							
						 
						
							
							
								
								Add cache layer to state group resolution  
							
							
							
						 
						
							2015-02-06 16:08:13 +00:00  
				
					
						
							
							
								 
						
							
							
								650e32d455 
								
							
								 
							
						 
						
							
							
								
								Change context.auth_events to what the auth_events would be bases on context.current_state, rather than based on the auth_events from the event.  
							
							
							
						 
						
							2015-02-04 14:06:46 +00:00  
				
					
						
							
							
								 
						
							
							
								f275ba49bb 
								
							
								 
							
						 
						
							
							
								
								Fix state resolution to remember join_rules is a type of auth event.  
							
							
							
						 
						
							2015-02-04 10:36:28 +00:00  
				
					
						
							
							
								 
						
							
							
								7a1e881665 
								
							
								 
							
						 
						
							
							
								
								Remove debug logging  
							
							
							
						 
						
							2015-01-30 15:56:32 +00:00  
				
					
						
							
							
								 
						
							
							
								1bd540ef79 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into rejections  
							
							... 
							
							
							
							Conflicts:
	synapse/storage/schema/im.sql 
							
						 
						
							2015-01-30 15:16:38 +00:00  
				
					
						
							
							
								 
						
							
							
								3d7026e709 
								
							
								 
							
						 
						
							
							
								
								Add a slightly more helpful comment  
							
							
							
						 
						
							2015-01-30 14:37:31 +00:00  
				
					
						
							
							
								 
						
							
							
								c515d37797 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'replication_split' of github.com:matrix-org/synapse into rejections  
							
							... 
							
							
							
							Conflicts:
	synapse/storage/schema/delta/v12.sql 
							
						 
						
							2015-01-30 14:19:49 +00:00  
				
					
						
							
							
								 
						
							
							
								7a9f6f083e 
								
							
								 
							
						 
						
							
							
								
								Remove commented line  
							
							
							
						 
						
							2015-01-30 13:55:46 +00:00  
				
					
						
							
							
								 
						
							
							
								76d7fd39cd 
								
							
								 
							
						 
						
							
							
								
								Style changes.  
							
							
							
						 
						
							2015-01-30 13:52:02 +00:00  
				
					
						
							
							
								 
						
							
							
								a70a801184 
								
							
								 
							
						 
						
							
							
								
								Fix bug where we superfluously asked for current state. Change API of /query_auth/ so that we don't duplicate events in the response.  
							
							
							
						 
						
							2015-01-30 13:34:01 +00:00  
				
					
						
							
							
								 
						
							
							
								73dd81ca62 
								
							
								 
							
						 
						
							
							
								
								fix pyflakes  
							
							
							
						 
						
							2015-01-22 15:57:08 +00:00  
				
					
						
							
							
								 
						
							
							
								b390bf39f2 
								
							
								 
							
						 
						
							
							
								
								Remove unused function. Add comment.  
							
							
							
						 
						
							2015-01-21 16:44:04 +00:00  
				
					
						
							
							
								 
						
							
							
								6dcade97be 
								
							
								 
							
						 
						
							
							
								
								Implement new state resolution algorithm  
							
							
							
						 
						
							2015-01-21 16:27:04 +00:00