ba897a7590 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix some test failures when frozen_dicts are enabled ( #6642 )  
							
							... 
							
							
							
							Fixes  #4026  
						
							2020-01-06 15:22:46 +00:00  
				
					
						
							
							
								 
						
							
							
								01c3c6c929 
								
							
								 
							
						 
						
							
							
								
								Fix power levels being incorrectly set in old and new rooms after a room upgrade ( #6633 )  
							
							... 
							
							
							
							Modify a copy of an upgraded room's PL before sending to the new room 
							
						 
						
							2020-01-06 09:53:07 +00:00  
				
					
						
							
							
								 
						
							
							
								fa780e9721 
								
									
								
							
								 
							
						 
						
							
							
								
								Change EventContext to use the Storage class ( #6564 )  
							
							
							
						 
						
							2019-12-20 10:32:02 +00:00  
				
					
						
							
							
								 
						
							
							
								6e8f8e14f2 
								
							
								 
							
						 
						
							
							
								
								Merge release-v1.7.1 into develop  
							
							
							
						 
						
							2019-12-18 09:51:51 +00:00  
				
					
						
							
							
								 
						
							
							
								02553901ce 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove unused `get_pagination_rows` methods. ( #6557 )  
							
							... 
							
							
							
							Remove unused get_pagination_rows methods 
							
						 
						
							2019-12-17 11:44:32 +00:00  
				
					
						
							
							
								 
						
							
							
								a820069549 
								
									
								
							
								 
							
						 
						
							
							
								
								Incorporate review  
							
							
							
						 
						
							2019-12-16 16:00:18 +00:00  
				
					
						
							
							
								 
						
							
							
								487f1bb49d 
								
									
								
							
								 
							
						 
						
							
							
								
								Use the filtered version of an event when responding to /context requests for that event  
							
							... 
							
							
							
							Sometimes the filtering function can return a pruned version of an event (on top of either the event itself or an empty list), if it thinks the user should be able to see that there's an event there but not the content of that event. Therefore, the previous logic of 'if filtered is empty then we can use the event we retrieved from the database' is flawed, and we should use the event returned by the filtering function. 
							
						 
						
							2019-12-16 12:14:12 +00:00  
				
					
						
							
							
								 
						
							
							
								9dc84b7989 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into babolivier/context_filters  
							
							
							
						 
						
							2019-12-04 14:23:44 +00:00  
				
					
						
							
							
								 
						
							
							
								08a436ecb2 
								
									
								
							
								 
							
						 
						
							
							
								
								Incorporate review  
							
							
							
						 
						
							2019-12-04 14:18:46 +00:00  
				
					
						
							
							
								 
						
							
							
								72078e4be5 
								
									
								
							
								 
							
						 
						
							
							
								
								Transfer power level state events on room upgrade ( #6237 )  
							
							
							
						 
						
							2019-12-02 15:11:32 +00:00  
				
					
						
							
							
								 
						
							
							
								eda14737cf 
								
									
								
							
								 
							
						 
						
							
							
								
								Also filter state events  
							
							
							
						 
						
							2019-11-06 18:14:03 +00:00  
				
					
						
							
							
								 
						
							
							
								cb2cbe4d26 
								
									
								
							
								 
							
						 
						
							
							
								
								Only filter if a filter was provided  
							
							
							
						 
						
							2019-11-05 15:28:36 +00:00  
				
					
						
							
							
								 
						
							
							
								f141af4c79 
								
									
								
							
								 
							
						 
						
							
							
								
								Update copyright  
							
							
							
						 
						
							2019-11-05 14:52:38 +00:00  
				
					
						
							
							
								 
						
							
							
								1dffa78701 
								
									
								
							
								 
							
						 
						
							
							
								
								Filter events_before and events_after in /context requests  
							
							... 
							
							
							
							While the current version of the spec doesn't say much about how this endpoint uses filters (see https://github.com/matrix-org/matrix-doc/issues/2338 ), the current implementation is that some fields of an EventFilter apply (the ones that are used when running the SQL query) and others don't (the ones that are used by the filter itself) because we don't call event_filter.filter(...). This seems counter-intuitive and probably not what we want so this commit fixes it. 
							
						 
						
							2019-11-05 12:21:59 +00:00  
				
					
						
							
							
								 
						
							
							
								ace947e8da 
								
									
								
							
								 
							
						 
						
							
							
								
								Depublish a room from the public rooms list when it is upgraded ( #6232 )  
							
							
							
						 
						
							2019-11-01 10:28:09 +00:00  
				
					
						
							
							
								 
						
							
							
								020add5099 
								
									
								
							
								 
							
						 
						
							
							
								
								Update black to 19.10b0 ( #6304 )  
							
							... 
							
							
							
							* update version of black and also fix the mypy config being overridden 
							
						 
						
							2019-11-01 02:43:24 +11:00  
				
					
						
							
							
								 
						
							
							
								dfe0cd71b6 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #6294  from matrix-org/erikj/add_state_storage  
							
							... 
							
							
							
							Add StateGroupStorage interface 
							
						 
						
							2019-10-31 16:17:53 +01:00  
				
					
						
							
							
								 
						
							
							
								54fef094b3 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove usage of deprecated logger.warn method from codebase ( #6271 )  
							
							... 
							
							
							
							Replace every instance of `logger.warn` with `logger.warning` as the former is deprecated. 
							
						 
						
							2019-10-31 10:23:24 +00:00  
				
					
						
							
							
								 
						
							
							
								69f0054ce6 
								
							
								 
							
						 
						
							
							
								
								Port to use state storage  
							
							
							
						 
						
							2019-10-30 14:46:54 +00:00  
				
					
						
							
							
								 
						
							
							
								b5b03b7079 
								
							
								 
							
						 
						
							
							
								
								Add domain validation when creating room with list of invitees ( #6121 )  
							
							
							
						 
						
							2019-10-10 13:05:48 +01:00  
				
					
						
							
							
								 
						
							
							
								9fc71dc5ee 
								
									
								
							
								 
							
						 
						
							
							
								
								Use the v2 Identity Service API for lookups (MSC2134 + MSC2140) ( #5976 )  
							
							... 
							
							
							
							This is a redo of https://github.com/matrix-org/synapse/pull/5897  but with `id_access_token` accepted.
Implements [MSC2134](https://github.com/matrix-org/matrix-doc/pull/2134 ) plus Identity Service v2 authentication ala [MSC2140](https://github.com/matrix-org/matrix-doc/pull/2140 ).
Identity lookup-related functions were also moved from `RoomMemberHandler` to `IdentityHandler`. 
							
						 
						
							2019-09-11 16:02:42 +01:00  
				
					
						
							
							
								 
						
							
							
								2a44782666 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove double return statements ( #5962 )  
							
							... 
							
							
							
							Remove all the "double return" statements which were a result of us removing all the instances of
```
defer.returnValue(...)
return
```
statements when we switched to python3 fully. 
							
						 
						
							2019-09-03 11:42:45 +01:00  
				
					
						
							
							
								 
						
							
							
								baee288fb4 
								
							
								 
							
						 
						
							
							
								
								Don't create broken room when power_level_content_override.users does not contain creator_id. ( #5633 )  
							
							
							
						 
						
							2019-08-15 09:45:57 +01:00  
				
					
						
							
							
								 
						
							
							
								4806651744 
								
									
								
							
								 
							
						 
						
							
							
								
								Replace returnValue with return ( #5736 )  
							
							
							
						 
						
							2019-07-23 23:00:55 +10:00  
				
					
						
							
							
								 
						
							
							
								ef8c62758c 
								
									
								
							
								 
							
						 
						
							
							
								
								Prevent multiple upgrades on the same room at once ( #5051 )  
							
							... 
							
							
							
							Closes  #4583 
Does slightly less than #5045 , which prevented a room from being upgraded multiple times, one after another. This PR still allows that, but just prevents two from happening at the same time.
Mostly just to mitigate the fact that servers are slow and it can take a moment for the room upgrade to actually complete. We don't want people sending another request to upgrade the room when really they just thought the first didn't go through. 
						
							2019-06-25 14:19:21 +01:00  
				
					
						
							
							
								 
						
							
							
								32e7c9e7f2 
								
									
								
							
								 
							
						 
						
							
							
								
								Run Black. ( #5482 )  
							
							
							
						 
						
							2019-06-20 19:32:02 +10:00  
				
					
						
							
							
								 
						
							
							
								187d2837a9 
								
							
								 
							
						 
						
							
							
								
								Add third party rules hook into create room  
							
							
							
						 
						
							2019-06-17 16:41:19 +01:00  
				
					
						
							
							
								 
						
							
							
								6368150a74 
								
									
								
							
								 
							
						 
						
							
							
								
								Add config option for setting homeserver's default room version ( #5223 )  
							
							... 
							
							
							
							Replaces DEFAULT_ROOM_VERSION constant with a method that first checks the config, then returns a hardcoded value if the option is not present.
That hardcoded value is now located in the server.py config file. 
							
						 
						
							2019-05-23 15:00:20 +01:00  
				
					
						
							
							
								 
						
							
							
								84196cb231 
								
							
								 
							
						 
						
							
							
								
								Add some limitations to alias creation  
							
							
							
						 
						
							2019-05-02 11:05:11 +01:00  
				
					
						
							
							
								 
						
							
							
								66e78700a2 
								
									
								
							
								 
							
						 
						
							
							
								
								Transfer related groups on room upgrade ( #4990 )  
							
							... 
							
							
							
							Transfers the m.room.related_groups state event on room upgrade. 
							
						 
						
							2019-04-02 17:15:24 +01:00  
				
					
						
							
							
								 
						
							
							
								54a87a7b08 
								
									
								
							
								 
							
						 
						
							
							
								
								Collect room-version variations into one place ( #4969 )  
							
							... 
							
							
							
							Collect all the things that make room-versions different to one another into
one place, so that it's easier to define new room versions. 
							
						 
						
							2019-04-01 10:24:38 +01:00  
				
					
						
							
							
								 
						
							
							
								34ac75ce2c 
								
							
								 
							
						 
						
							
							
								
								lint  
							
							
							
						 
						
							2019-02-18 18:23:37 +00:00  
				
					
						
							
							
								 
						
							
							
								f8b9ca53ce 
								
							
								 
							
						 
						
							
							
								
								Move member event processing and changelog fix  
							
							
							
						 
						
							2019-02-18 17:28:52 +00:00  
				
					
						
							
							
								 
						
							
							
								915421065b 
								
							
								 
							
						 
						
							
							
								
								Membership events are done later  
							
							
							
						 
						
							2019-02-18 14:02:09 +00:00  
				
					
						
							
							
								 
						
							
							
								9caab0c364 
								
							
								 
							
						 
						
							
							
								
								Transfer bans on room upgrade  
							
							
							
						 
						
							2019-02-18 13:52:51 +00:00  
				
					
						
							
							
								 
						
							
							
								a126f86eec 
								
							
								 
							
						 
						
							
							
								
								Transfer Server ACLs on room upgrade  
							
							
							
						 
						
							2019-02-11 11:30:37 +00:00  
				
					
						
							
							
								 
						
							
							
								3ed3cb4339 
								
							
								 
							
						 
						
							
							
								
								New function for getting room's create event  
							
							
							
						 
						
							2019-01-31 18:21:39 +00:00  
				
					
						
							
							
								 
						
							
							
								fb50934b8f 
								
							
								 
							
						 
						
							
							
								
								lint  
							
							
							
						 
						
							2019-01-31 11:34:45 +00:00  
				
					
						
							
							
								 
						
							
							
								d621c5562e 
								
							
								 
							
						 
						
							
							
								
								Copy over non-federatable trait on room upgrade  
							
							
							
						 
						
							2019-01-30 16:33:51 +00:00  
				
					
						
							
							
								 
						
							
							
								f1a04462eb 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4482  from matrix-org/erikj/event_auth_room_version  
							
							... 
							
							
							
							Pass through room version to event auth 
							
						 
						
							2019-01-28 20:09:38 +00:00  
				
					
						
							
							
								 
						
							
							
								ae2a957dba 
								
							
								 
							
						 
						
							
							
								
								Pass through room version to event auth  
							
							
							
						 
						
							2019-01-25 18:31:41 +00:00  
				
					
						
							
							
								 
						
							
							
								48951f437f 
								
							
								 
							
						 
						
							
							
								
								Join logic covers both room creator and arbitrary users  
							
							
							
						 
						
							2019-01-22 11:00:04 +00:00  
				
					
						
							
							
								 
						
							
							
								8c85f0833d 
								
							
								 
							
						 
						
							
							
								
								tags, m.direct copying over correctly  
							
							
							
						 
						
							2019-01-22 11:00:04 +00:00  
				
					
						
							
							
								 
						
							
							
								ea8903fcc9 
								
							
								 
							
						 
						
							
							
								
								Migrating dm and room tags work for migrator  
							
							
							
						 
						
							2019-01-22 11:00:04 +00:00  
				
					
						
							
							
								 
						
							
							
								887ca93a1b 
								
							
								 
							
						 
						
							
							
								
								Prevent crash on user who doesn't have any direct rooms  
							
							
							
						 
						
							2019-01-22 11:00:04 +00:00  
				
					
						
							
							
								 
						
							
							
								4ff6d22245 
								
							
								 
							
						 
						
							
							
								
								Preserve DM status of a room on upgrade  
							
							... 
							
							
							
							Signed-off-by: Andrew Morgan <andrew@amorgan.xyz> 
							
						 
						
							2019-01-22 11:00:04 +00:00  
				
					
						
							
							
								 
						
							
							
								75942af1db 
								
							
								 
							
						 
						
							
							
								
								Fix typo  
							
							
							
						 
						
							2019-01-22 11:00:04 +00:00  
				
					
						
							
							
								 
						
							
							
								702c4b750c 
								
							
								 
							
						 
						
							
							
								
								Migrate encryption state on room upgrade ( #4411 )  
							
							... 
							
							
							
							* Migrate encryption state on room upgrade
Signed-off-by: Andrew Morgan <andrew@amorgan.xyz>
* Add changelog file 
							
						 
						
							2019-01-21 20:42:58 +11:00  
				
					
						
							
							
								 
						
							
							
								d2f7c4e6b1 
								
									
								
							
								 
							
						 
						
							
							
								
								create support user ( #4141 )  
							
							... 
							
							
							
							Allow for the creation of a support user.
A support user can access the server, join rooms, interact with other users, but does not appear in the user directory nor does it contribute to monthly active user limits. 
							
						 
						
							2018-12-14 18:20:59 +00:00  
				
					
						
							
							
								 
						
							
							
								1729ba1650 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4101  from matrix-org/rav/aliases_for_upgrades  
							
							... 
							
							
							
							Attempt to move room aliases on room upgrades 
							
						 
						
							2018-10-31 17:52:18 +00:00