71fc04069a 
								
									
								
							
								 
							
						 
						
							
							
								
								Use the v2 lookup API for 3PID invites ( #5897 )  
							
							... 
							
							
							
							Fixes https://github.com/matrix-org/synapse/issues/5861 
Adds support for the v2 lookup API as defined in [MSC2134](https://github.com/matrix-org/matrix-doc/pull/2134 ). Currently this is only used for 3PID invites.
Sytest PR: https://github.com/matrix-org/sytest/pull/679  
							
						 
						
							2019-08-28 14:59:26 +02:00  
				
					
						
							
							
								 
						
							
							
								865077f1d1 
								
									
								
							
								 
							
						 
						
							
							
								
								Room Complexity Client Implementation ( #5783 )  
							
							
							
						 
						
							2019-07-30 02:47:27 +10:00  
				
					
						
							
							
								 
						
							
							
								4806651744 
								
									
								
							
								 
							
						 
						
							
							
								
								Replace returnValue with return ( #5736 )  
							
							
							
						 
						
							2019-07-23 23:00:55 +10:00  
				
					
						
							
							
								 
						
							
							
								57eacee4f4 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into babolivier/invite-json  
							
							
							
						 
						
							2019-07-08 15:49:23 +01:00  
				
					
						
							
							
								 
						
							
							
								f05c7d62bc 
								
									
								
							
								 
							
						 
						
							
							
								
								Lint  
							
							
							
						 
						
							2019-07-08 14:29:27 +01:00  
				
					
						
							
							
								 
						
							
							
								1a807dfe68 
								
									
								
							
								 
							
						 
						
							
							
								
								Use application/json when querying the IS's /store-invite endpoint  
							
							
							
						 
						
							2019-07-08 14:19:39 +01:00  
				
					
						
							
							
								 
						
							
							
								80cc82a445 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove support for invite_3pid_guest. ( #5625 )  
							
							... 
							
							
							
							This has never been documented, and I'm not sure it's ever been used outside
sytest.
It's quite a lot of poorly-maintained code, so I'd like to get rid of it.
For now I haven't removed the database table; I suggest we leave that for a
future clearout. 
							
						 
						
							2019-07-05 16:47:58 +01:00  
				
					
						
							
							
								 
						
							
							
								15d9fc31bd 
								
									
								
							
								 
							
						 
						
							
							
								
								Only ratelimit when sending the email  
							
							... 
							
							
							
							If we do the opposite, an event can arrive after or while sending the email and the 3PID invite event will get ratelimited. 
							
						 
						
							2019-06-28 16:04:05 +01:00  
				
					
						
							
							
								 
						
							
							
								01d0f8e701 
								
									
								
							
								 
							
						 
						
							
							
								
								Don't update the ratelimiter before sending a 3PID invite  
							
							... 
							
							
							
							This would cause emails being sent, but Synapse responding with a 429 when creating the event. The client would then retry, and with bad timing the same scenario would happen again. Some testing I did ended up sending me 10 emails for one single invite because of this. 
							
						 
						
							2019-06-28 15:22:16 +01:00  
				
					
						
							
							
								 
						
							
							
								32e7c9e7f2 
								
									
								
							
								 
							
						 
						
							
							
								
								Run Black. ( #5482 )  
							
							
							
						 
						
							2019-06-20 19:32:02 +10:00  
				
					
						
							
							
								 
						
							
							
								112cf5a73a 
								
							
								 
							
						 
						
							
							
								
								Add third party rules hook for 3PID invites  
							
							
							
						 
						
							2019-06-17 17:39:09 +01:00  
				
					
						
							
							
								 
						
							
							
								291e1eea5e 
								
							
								 
							
						 
						
							
							
								
								fix mapping of return values for get_or_register_3pid_guest ( #5177 )  
							
							... 
							
							
							
							* fix mapping of return values for get_or_register_3pid_guest 
							
						 
						
							2019-05-17 17:27:14 +01:00  
				
					
						
							
							
								 
						
							
							
								cd32375846 
								
							
								 
							
						 
						
							
							
								
								Add option to disable per-room profiles  
							
							
							
						 
						
							2019-05-16 14:34:28 +01:00  
				
					
						
							
							
								 
						
							
							
								176f31c2e3 
								
							
								 
							
						 
						
							
							
								
								Rate limit early  
							
							
							
						 
						
							2019-05-02 15:23:08 +01:00  
				
					
						
							
							
								 
						
							
							
								d6118c5be6 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into erikj/ratelimit_3pid_invite  
							
							
							
						 
						
							2019-04-26 18:14:23 +01:00  
				
					
						
							
							
								 
						
							
							
								28a81ed62f 
								
							
								 
							
						 
						
							
							
								
								Ratelimit 3pid invites  
							
							... 
							
							
							
							We do ratelimit sending the 3PID invite events, but that happens after
spamming the identity server. 
							
						 
						
							2019-04-26 18:06:25 +01:00  
				
					
						
							
							
								 
						
							
							
								8e85493b0c 
								
									
								
							
								 
							
						 
						
							
							
								
								Add config option to block users from looking up 3PIDs ( #5010 )  
							
							
							
						 
						
							2019-04-04 17:25:47 +01:00  
				
					
						
							
							
								 
						
							
							
								db265f0642 
								
									
								
							
								 
							
						 
						
							
							
								
								Prevent kicking users who aren't in the room ( #4999 )  
							
							... 
							
							
							
							Prevent kick events from succeeding if the user is not currently in the room. 
							
						 
						
							2019-04-04 13:05:51 +01:00  
				
					
						
							
							
								 
						
							
							
								aa959a6c07 
								
							
								 
							
						 
						
							
							
								
								Use flags  
							
							
							
						 
						
							2019-03-20 17:40:29 +00:00  
				
					
						
							
							
								 
						
							
							
								d42c81d724 
								
									
								
							
								 
							
						 
						
							
							
								
								Transfer local user's push rules on room upgrade ( #4838 )  
							
							... 
							
							
							
							Transfer push rules (notifications) on room upgrade 
							
						 
						
							2019-03-12 14:42:53 +00:00  
				
					
						
							
							
								 
						
							
							
								dbdc565dfd 
								
							
								 
							
						 
						
							
							
								
								Fix registration on workers ( #4682 )  
							
							... 
							
							
							
							* Move RegistrationHandler init to HomeServer
* Move post registration actions to RegistrationHandler
* Add post regisration replication endpoint
* Newsfile 
							
						 
						
							2019-02-20 18:47:31 +11:00  
				
					
						
							
							
								 
						
							
							
								b1fffca345 
								
							
								 
							
						 
						
							
							
								
								Remove event ID usage when checking if new room  
							
							... 
							
							
							
							The event ID is changing, so we can no longer get the domain from it. On
the other hand, the check is unnecessary. 
							
						 
						
							2019-01-29 16:15:02 +00:00  
				
					
						
							
							
								 
						
							
							
								f0e96ab66a 
								
							
								 
							
						 
						
							
							
								
								Change return syntax in doc string  
							
							
							
						 
						
							2019-01-28 14:09:45 +00:00  
				
					
						
							
							
								 
						
							
							
								1ce463963d 
								
							
								 
							
						 
						
							
							
								
								Reuse predecessor method  
							
							
							
						 
						
							2019-01-28 14:08:18 +00:00  
				
					
						
							
							
								 
						
							
							
								9244a3089e 
								
							
								 
							
						 
						
							
							
								
								Fixes  
							
							
							
						 
						
							2019-01-25 11:48:38 +00:00  
				
					
						
							
							
								 
						
							
							
								da0d2219d2 
								
							
								 
							
						 
						
							
							
								
								Clean up direct_rooms access  
							
							
							
						 
						
							2019-01-25 11:37:12 +00:00  
				
					
						
							
							
								 
						
							
							
								8265995498 
								
							
								 
							
						 
						
							
							
								
								Use python magic  
							
							
							
						 
						
							2019-01-25 11:26:06 +00:00  
				
					
						
							
							
								 
						
							
							
								c4cdafa81f 
								
							
								 
							
						 
						
							
							
								
								Destructure account data tuple before use  
							
							
							
						 
						
							2019-01-25 11:24:28 +00:00  
				
					
						
							
							
								 
						
							
							
								516456b763 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary null check  
							
							
							
						 
						
							2019-01-25 11:22:14 +00:00  
				
					
						
							
							
								 
						
							
							
								6f3fda79ce 
								
							
								 
							
						 
						
							
							
								
								Move room_tag declaration to be closer to its use  
							
							
							
						 
						
							2019-01-25 11:21:25 +00:00  
				
					
						
							
							
								 
						
							
							
								0862d35b8e 
								
							
								 
							
						 
						
							
							
								
								Move tag and direct state copying into separate function  
							
							
							
						 
						
							2019-01-25 11:09:34 +00:00  
				
					
						
							
							
								 
						
							
							
								766a172b99 
								
							
								 
							
						 
						
							
							
								
								lint  
							
							
							
						 
						
							2019-01-22 13:51:40 +00:00  
				
					
						
							
							
								 
						
							
							
								c4875d8c76 
								
							
								 
							
						 
						
							
							
								
								Prevent duplicate room IDs in m.direct  
							
							
							
						 
						
							2019-01-22 12:13:46 +00:00  
				
					
						
							
							
								 
						
							
							
								8086a5c05e 
								
							
								 
							
						 
						
							
							
								
								Fix comments  
							
							
							
						 
						
							2019-01-22 11:16:23 +00:00  
				
					
						
							
							
								 
						
							
							
								8c85f0833d 
								
							
								 
							
						 
						
							
							
								
								tags, m.direct copying over correctly  
							
							
							
						 
						
							2019-01-22 11:00:04 +00:00  
				
					
						
							
							
								 
						
							
							
								25d64a846a 
								
							
								 
							
						 
						
							
							
								
								Fix typos  
							
							
							
						 
						
							2019-01-22 11:00:04 +00:00  
				
					
						
							
							
								 
						
							
							
								a219ce8726 
								
									
								
							
								 
							
						 
						
							
							
								
								Use directory server for room joins ( #3899 )  
							
							... 
							
							
							
							When we do a join, always try the server we used for the alias lookup first.
Fixes  #2418  
							
						 
						
							2018-09-18 18:27:37 +01:00  
				
					
						
							
							
								 
						
							
							
								4d664278af 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into erikj/refactor_state_handler  
							
							
							
						 
						
							2018-08-20 14:49:43 +01:00  
				
					
						
							
							
								 
						
							
							
								e21c368b8b 
								
							
								 
							
						 
						
							
							
								
								Revert spurious change  
							
							
							
						 
						
							2018-08-20 13:54:51 +01:00  
				
					
						
							
							
								 
						
							
							
								b37c472419 
								
									
								
							
								 
							
						 
						
							
							
								
								Rename async to async_helpers because `async` is a keyword on Python 3.7 ( #3678 )  
							
							
							
						 
						
							2018-08-10 23:50:21 +10:00  
				
					
						
							
							
								 
						
							
							
								ce6db0e547 
								
							
								 
							
						 
						
							
							
								
								Choose state algorithm based on room version  
							
							
							
						 
						
							2018-08-09 14:58:47 +01:00  
				
					
						
							
							
								 
						
							
							
								87951d3891 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into t3chguy/default_inviter_display_name_3pid  
							
							
							
						 
						
							2018-07-24 17:17:46 +01:00  
				
					
						
							
							
								 
						
							
							
								e42510ba63 
								
							
								 
							
						 
						
							
							
								
								Use new getters  
							
							
							
						 
						
							2018-07-23 13:17:22 +01:00  
				
					
						
							
							
								 
						
							
							
								49af402019 
								
							
								 
							
						 
						
							
							
								
								run isort  
							
							
							
						 
						
							2018-07-09 16:09:20 +10:00  
				
					
						
							
							
								 
						
							
							
								94700e55fa 
								
									
								
							
								 
							
						 
						
							
							
								
								if inviter_display_name == ""||None then default to inviter MXID  
							
							... 
							
							
							
							to prevent email invite from "None" 
							
						 
						
							2018-06-13 10:31:01 +01:00  
				
					
						
							
							
								 
						
							
							
								757ed27258 
								
							
								 
							
						 
						
							
							
								
								Let users leave the server notice room after joining  
							
							... 
							
							
							
							They still can't reject invites, but we let them leave it. 
							
						 
						
							2018-05-25 11:07:21 +01:00  
				
					
						
							
							
								 
						
							
							
								08bfc48abf 
								
							
								 
							
						 
						
							
							
								
								custom error code for not leaving server notices room  
							
							
							
						 
						
							2018-05-22 17:27:27 +01:00  
				
					
						
							
							
								 
						
							
							
								26305788fe 
								
							
								 
							
						 
						
							
							
								
								Make sure we reject attempts to invite the notices user  
							
							
							
						 
						
							2018-05-18 11:18:39 +01:00  
				
					
						
							
							
								 
						
							
							
								88d3405332 
								
							
								 
							
						 
						
							
							
								
								fix missing yield for server_notices_room  
							
							
							
						 
						
							2018-05-17 18:33:45 +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