372bf073c1 
								
							
								 
							
						 
						
							
							
								
								block event creation and room creation on hitting resource limits  
							
							
							
						 
						
							2018-08-16 21:25:16 +01:00  
				
					
						
							
							
								 
						
							
							
								3523f5432a 
								
							
								 
							
						 
						
							
							
								
								Don't expose default_room_version as config opt  
							
							
							
						 
						
							2018-08-07 12:51:57 +01:00  
				
					
						
							
							
								 
						
							
							
								0ca459ea33 
								
							
								 
							
						 
						
							
							
								
								Basic support for room versioning  
							
							... 
							
							
							
							This is the first tranche of support for room versioning. It includes:
 * setting the default room version in the config file
 * new room_version param on the createRoom API
 * storing the version of newly-created rooms in the m.room.create event
 * fishing the version of existing rooms out of the m.room.create event 
							
						 
						
							2018-08-03 16:08:32 +01:00  
				
					
						
							
							
								 
						
							
							
								e9b2d047f6 
								
									
								
							
								 
							
						 
						
							
							
								
								make /context lazyload & filter aware ( #3567 )  
							
							... 
							
							
							
							make /context lazyload & filter aware. 
							
						 
						
							2018-07-27 15:12:50 +01:00  
				
					
						
							
							
								 
						
							
							
								8b8c4f34a3 
								
							
								 
							
						 
						
							
							
								
								Replace usage of get_current_toke with StreamToken.START  
							
							... 
							
							
							
							This allows us to handle /context/ requests on the client_reader worker
without having to pull in all the various stream handlers (e.g.
precence, typing, pushers etc). The only thing the token gets used for
is pagination, and that ignores everything but the room portion of the
token. 
							
						 
						
							2018-07-24 16:49:17 +01:00  
				
					
						
							
							
								 
						
							
							
								bacdf0cbf9 
								
							
								 
							
						 
						
							
							
								
								Move RoomContextHandler out of Handlers  
							
							... 
							
							
							
							This is in preparation for moving GET /context/ to a worker 
							
						 
						
							2018-07-18 15:33:03 +01:00  
				
					
						
							
							
								 
						
							
							
								49af402019 
								
							
								 
							
						 
						
							
							
								
								run isort  
							
							
							
						 
						
							2018-07-09 16:09:20 +10:00  
				
					
						
							
							
								 
						
							
							
								19cd3120ec 
								
							
								 
							
						 
						
							
							
								
								Add error code to room creation error  
							
							... 
							
							
							
							This error code is mentioned in the documentation at https://matrix.org/docs/api/client-server/#!/Room32creation/createRoom  
							
						 
						
							2018-06-14 14:08:40 +02:00  
				
					
						
							
							
								 
						
							
							
								c936a52a9e 
								
									
								
							
								 
							
						 
						
							
							
								
								Consistently use six's iteritems and wrap lazy keys/values in list() if they're not meant to be lazy ( #3307 )  
							
							
							
						 
						
							2018-05-31 19:03:47 +10:00  
				
					
						
							
							
								 
						
							
							
								a5e2941aad 
								
							
								 
							
						 
						
							
							
								
								Reject attempts to send event before privacy consent is given  
							
							... 
							
							
							
							Returns an M_CONSENT_NOT_GIVEN error (cf
https://github.com/matrix-org/matrix-doc/issues/1252 ) if consent is not yet
given. 
							
						 
						
							2018-05-22 12:00:47 +01:00  
				
					
						
							
							
								 
						
							
							
								fed62e21ad 
								
							
								 
							
						 
						
							
							
								
								Infrastructure for a server notices room  
							
							... 
							
							
							
							Server Notices use a special room which the user can't dismiss. They are
created on demand when some other bit of the code calls send_notice.
(This doesn't actually do much yet becuse we don't call send_notice anywhere) 
							
						 
						
							2018-05-17 17:58:25 +01:00  
				
					
						
							
							
								 
						
							
							
								c46367d0d7 
								
							
								 
							
						 
						
							
							
								
								Move RoomCreationHandler out of synapse.handlers.Handlers  
							
							... 
							
							
							
							Handlers is deprecated nowadays, so let's move this out before I add a new
dependency on it.
Also fix the docstrings on create_room. 
							
						 
						
							2018-05-17 09:08:42 +01:00  
				
					
						
							
							
								 
						
							
							
								d4ffe61d4f 
								
							
								 
							
						 
						
							
							
								
								Remove ability for AS users to call /events and /sync  
							
							... 
							
							
							
							This functionality has been deprecated for a while as well as being
broken for a while. Instead of fixing it lets just remove it entirely.
See: https://github.com/matrix-org/matrix-doc/issues/1144  
							
						 
						
							2018-03-05 15:44:46 +00:00  
				
					
						
							
							
								 
						
							
							
								784f036306 
								
							
								 
							
						 
						
							
							
								
								Move RoomMemberHandler out of Handlers  
							
							
							
						 
						
							2018-03-01 14:36:50 +00:00  
				
					
						
							
							
								 
						
							
							
								3e1e69ccaf 
								
							
								 
							
						 
						
							
							
								
								Update copyright  
							
							
							
						 
						
							2018-02-06 16:40:38 +00:00  
				
					
						
							
							
								 
						
							
							
								3fa362502c 
								
							
								 
							
						 
						
							
							
								
								Update places where we create events  
							
							
							
						 
						
							2018-02-05 16:01:48 +00:00  
				
					
						
							
							
								 
						
							
							
								dfbc45302e 
								
									
								
							
								 
							
						 
						
							
							
								
								PEP8  
							
							
							
						 
						
							2017-11-28 15:23:26 +00:00  
				
					
						
							
							
								 
						
							
							
								c4c1d170af 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix wrong avatars when inviting multiple users when creating room  
							
							... 
							
							
							
							We reused the `content` dictionary between invite requests, which meant they could end up reusing the profile info for a previous user 
							
						 
						
							2017-11-28 15:19:15 +00:00  
				
					
						
							
							
								 
						
							
							
								eaaabc6c4f 
								
							
								 
							
						 
						
							
							
								
								replace 'except:' with 'except Exception:'  
							
							... 
							
							
							
							what could possibly go wrong 
							
						 
						
							2017-10-23 15:52:32 +01:00  
				
					
						
							
							
								 
						
							
							
								631d7b87b5 
								
							
								 
							
						 
						
							
							
								
								Remove pointless create() method  
							
							... 
							
							
							
							It just calls the constructor, so we may as well kill it rather than having
random codepaths. 
							
						 
						
							2017-10-20 22:14:55 +01:00  
				
					
						
							
							
								 
						
							
							
								78d4ced829 
								
							
								 
							
						 
						
							
							
								
								un-double indent  
							
							
							
						 
						
							2017-10-04 12:44:27 +01:00  
				
					
						
							
							
								 
						
							
							
								197c14dbcf 
								
							
								 
							
						 
						
							
							
								
								Add room creation checks to spam checker  
							
							... 
							
							
							
							Lets the spam checker deny attempts to create rooms and add aliases
to them. 
							
						 
						
							2017-10-04 10:47:54 +01:00  
				
					
						
							
							
								 
						
							
							
								b490299a3b 
								
							
								 
							
						 
						
							
							
								
								Change to create new room and join other users  
							
							
							
						 
						
							2017-06-19 14:10:13 +01:00  
				
					
						
							
							
								 
						
							
							
								b990b2fce5 
								
							
								 
							
						 
						
							
							
								
								Add per user ratelimiting overrides  
							
							
							
						 
						
							2017-05-10 11:05:43 +01:00  
				
					
						
							
							
								 
						
							
							
								17673404fb 
								
							
								 
							
						 
						
							
							
								
								Remove unused param  
							
							
							
						 
						
							2017-02-20 15:02:01 +00:00  
				
					
						
							
							
								 
						
							
							
								7f026792e1 
								
							
								 
							
						 
						
							
							
								
								Fix /context/ visibiltiy rules  
							
							
							
						 
						
							2017-02-20 14:54:50 +00:00  
				
					
						
							
							
								 
						
							
							
								54a79c1d37 
								
							
								 
							
						 
						
							
							
								
								Make presence.get_new_events a bit faster  
							
							... 
							
							
							
							We do this by caching the set of users a user shares rooms with. 
							
						 
						
							2017-02-02 13:07:18 +00:00  
				
					
						
							
							
								 
						
							
							
								9609c91e7d 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #653  from matrix-org/erikj/preset_guest_join  
							
							... 
							
							
							
							Enable guest access for private rooms by default 
							
						 
						
							2016-12-05 17:47:14 +00:00  
				
					
						
							
							
								 
						
							
							
								d04e2ff3a4 
								
							
								 
							
						 
						
							
							
								
								Fix incredubly slow back pagination query  
							
							... 
							
							
							
							If a client didn't specify a from token when paginating backwards
synapse would attempt to query the (global) maximum topological token.
This a) doesn't make much sense since they're room specific and b) there
are no indices that lets postgres do this efficiently. 
							
						 
						
							2016-10-24 13:35:51 +01:00  
				
					
						
							
							
								 
						
							
							
								9bfc617791 
								
							
								 
							
						 
						
							
							
								
								storage/appservice: make appservice methods only relying on the cache synchronous  
							
							
							
						 
						
							2016-10-06 15:24:59 +02:00  
				
					
						
							
							
								 
						
							
							
								a70a43bc51 
								
							
								 
							
						 
						
							
							
								
								Move RoomListHandler into a separate file  
							
							
							
						 
						
							2016-09-14 14:07:37 +01:00  
				
					
						
							
							
								 
						
							
							
								48a5a7552d 
								
							
								 
							
						 
						
							
							
								
								Add is_direct param to /createRoom  
							
							
							
						 
						
							2016-09-12 16:34:20 +01:00  
				
					
						
							
							
								 
						
							
							
								791658b576 
								
							
								 
							
						 
						
							
							
								
								Add server param to /publicRooms  
							
							
							
						 
						
							2016-09-08 11:53:05 +01:00  
				
					
						
							
							
								 
						
							
							
								248e6770ca 
								
							
								 
							
						 
						
							
							
								
								Cache federation state responses  
							
							
							
						 
						
							2016-07-21 10:30:12 +01:00  
				
					
						
							
							
								 
						
							
							
								81c07a32fd 
								
							
								 
							
						 
						
							
							
								
								Pull full state for each room all at once  
							
							
							
						 
						
							2016-06-08 15:51:49 +01:00  
				
					
						
							
							
								 
						
							
							
								e0deeff23e 
								
							
								 
							
						 
						
							
							
								
								Fix room list spidering  
							
							
							
						 
						
							2016-06-01 17:58:58 +01:00  
				
					
						
							
							
								 
						
							
							
								2a449fec4d 
								
							
								 
							
						 
						
							
							
								
								Add cache to remote room lists  
							
							... 
							
							
							
							Poll for updates from remote servers, waiting for the poll if there's no cache entry. 
							
						 
						
							2016-05-31 18:27:23 +01:00  
				
					
						
							
							
								 
						
							
							
								d240796ded 
								
							
								 
							
						 
						
							
							
								
								Basic, un-cached support for secondary_directory_servers  
							
							
							
						 
						
							2016-05-31 17:20:07 +01:00  
				
					
						
							
							
								 
						
							
							
								7e23476814 
								
							
								 
							
						 
						
							
							
								
								move filter_events_for_client out of base handler  
							
							
							
						 
						
							2016-05-11 13:42:37 +01:00  
				
					
						
							
							
								 
						
							
							
								424a7f48f8 
								
							
								 
							
						 
						
							
							
								
								Run filter_events_for_client  
							
							... 
							
							
							
							so we don't accidentally mail out events people shouldn't see 
							
						 
						
							2016-04-27 17:50:49 +01:00  
				
					
						
							
							
								 
						
							
							
								72f454b752 
								
							
								 
							
						 
						
							
							
								
								Don't return empty public rooms  
							
							
							
						 
						
							2016-04-12 16:06:18 +01:00  
				
					
						
							
							
								 
						
							
							
								b9ee5650b0 
								
							
								 
							
						 
						
							
							
								
								Move all the wrapper functions for distributor.fire  
							
							... 
							
							
							
							Move the functions inside the distributor and import them
where needed. This reduces duplication and makes it possible
for flake8 to detect when the functions aren't used in a
given file. 
							
						 
						
							2016-04-08 11:01:38 +01:00  
				
					
						
							
							
								 
						
							
							
								8d73cd502b 
								
							
								 
							
						 
						
							
							
								
								Add concurrently_execute function  
							
							
							
						 
						
							2016-04-01 14:06:00 +01:00  
				
					
						
							
							
								 
						
							
							
								d35780eda0 
								
							
								 
							
						 
						
							
							
								
								Split out RoomMemberHandler  
							
							
							
						 
						
							2016-03-31 13:08:45 +01:00  
				
					
						
							
							
								 
						
							
							
								5260db7663 
								
							
								 
							
						 
						
							
							
								
								Line length  
							
							
							
						 
						
							2016-03-31 10:49:27 +01:00  
				
					
						
							
							
								 
						
							
							
								73b6bf4629 
								
							
								 
							
						 
						
							
							
								
								Only forget room if you were in the room  
							
							
							
						 
						
							2016-03-30 15:09:18 +01:00  
				
					
						
							
							
								 
						
							
							
								fddb6fddc1 
								
							
								 
							
						 
						
							
							
								
								Require user to have left room to forget room  
							
							... 
							
							
							
							This dramatically simplifies the forget API code - in particular it no
longer generates a leave event. 
							
						 
						
							2016-03-30 11:03:00 +01:00  
				
					
						
							
							
								 
						
							
							
								54a546091a 
								
							
								 
							
						 
						
							
							
								
								Add a response cache for getting the public room list  
							
							
							
						 
						
							2016-03-24 18:02:10 +00:00  
				
					
						
							
							
								 
						
							
							
								84afeb41f3 
								
							
								 
							
						 
						
							
							
								
								Ensure all old public rooms have aliases  
							
							
							
						 
						
							2016-03-23 13:59:34 +00:00  
				
					
						
							
							
								 
						
							
							
								b2802a1351 
								
							
								 
							
						 
						
							
							
								
								Ensure published rooms have public join rules  
							
							
							
						 
						
							2016-03-23 13:59:31 +00:00