db8d4e8dd6 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into key_distribution  
							
							
							
						 
						
							2015-04-20 16:24:21 +01:00  
				
					
						
							
							
								 
						
							
							
								399b5add58 
								
							
								 
							
						 
						
							
							
								
								Neater implementation of membership change auth checks, ensuring we can't forget to check if the calling user is a member of the room  
							
							
							
						 
						
							2015-04-15 18:40:23 +01:00  
				
					
						
							
							
								 
						
							
							
								e6e130b9ba 
								
							
								 
							
						 
						
							
							
								
								Ensure that non-room-members cannot ban others, even if they do have enough powerlevel (SYN-343)  
							
							
							
						 
						
							2015-04-15 18:07:33 +01:00  
				
					
						
							
							
								 
						
							
							
								d488463fa3 
								
							
								 
							
						 
						
							
							
								
								Add a version 2 of the key server api  
							
							
							
						 
						
							2015-04-14 16:04:52 +01:00  
				
					
						
							
							
								 
						
							
							
								ae8ff92e05 
								
							
								 
							
						 
						
							
							
								
								Fix a bug which causes a send event level of 0 to not be honoured.  
							
							... 
							
							
							
							Caused by a bad if check, which incorrectly executes for both 0 and None,
when None was the original intent. 
							
						 
						
							2015-04-07 15:48:20 +01:00  
				
					
						
							
							
								 
						
							
							
								ed4d44d833 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #109  from matrix-org/default_registration  
							
							... 
							
							
							
							Disable registration by default. Add script to register new users. 
							
						 
						
							2015-03-18 11:38:52 +00:00  
				
					
						
							
							
								 
						
							
							
								93978c5e2b 
								
							
								 
							
						 
						
							
							
								
								@cached() annotate get_user_by_token() - achieves a minor DB performance improvement  
							
							
							
						 
						
							2015-03-17 17:24:51 +00: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  
				
					
						
							
							
								 
						
							
							
								ab8229479b 
								
							
								 
							
						 
						
							
							
								
								Respect ban membership  
							
							
							
						 
						
							2015-03-16 00:17:25 +00:00  
				
					
						
							
							
								 
						
							
							
								69135f59aa 
								
							
								 
							
						 
						
							
							
								
								Implement registering with shared secret.  
							
							
							
						 
						
							2015-03-13 15:23:37 +00:00  
				
					
						
							
							
								 
						
							
							
								22399d3d8f 
								
							
								 
							
						 
						
							
							
								
								Add RegisterFallbackResource to /_matrix/static/client/register  
							
							... 
							
							
							
							Try to keep both forms of registration logic (native/fallback) close
together for sanity. 
							
						 
						
							2015-02-23 15:14:56 +00:00  
				
					
						
							
							
								 
						
							
							
								9978c5c103 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into application-services  
							
							
							
						 
						
							2015-02-11 10:03:24 +00:00  
				
					
						
							
							
								 
						
							
							
								d94f682a4c 
								
							
								 
							
						 
						
							
							
								
								During room intial sync, only calculate current state once.  
							
							
							
						 
						
							2015-02-09 17:41:29 +00:00  
				
					
						
							
							
								 
						
							
							
								5a7dd05818 
								
							
								 
							
						 
						
							
							
								
								Modify auth.get_user_by_req for authing appservices directly.  
							
							... 
							
							
							
							Add logic to map the appservice token to the autogenned appservice user ID.
Add unit tests for all forms of get_user_by_req (user/appservice,
valid/bad/missing tokens) 
							
						 
						
							2015-02-09 14:14:15 +00:00  
				
					
						
							
							
								 
						
							
							
								e426df8e10 
								
							
								 
							
						 
						
							
							
								
								Grant ASes the ability to create alias in their own namespace.  
							
							... 
							
							
							
							Add a new errcode type M_EXCLUSIVE when users try to create aliases inside
AS namespaces, and when ASes try to create aliases outside their own
namespace. 
							
						 
						
							2015-02-06 10:57:14 +00:00  
				
					
						
							
							
								 
						
							
							
								0227618d3c 
								
							
								 
							
						 
						
							
							
								
								Add m.login.application_service registration procedure.  
							
							... 
							
							
							
							This allows known application services to register any user ID under their
own user namespace(s). 
							
						 
						
							2015-02-05 17:29:27 +00:00  
				
					
						
							
							
								 
						
							
							
								5b99b471b2 
								
							
								 
							
						 
						
							
							
								
								Fix unit tests.  
							
							
							
						 
						
							2015-02-05 15:12:36 +00:00  
				
					
						
							
							
								 
						
							
							
								c163357f38 
								
							
								 
							
						 
						
							
							
								
								Add CS extension for masquerading as users within the namespaces specified by the AS.  
							
							
							
						 
						
							2015-02-05 15:00:33 +00:00  
				
					
						
							
							
								 
						
							
							
								951690e54d 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into application-services  
							
							
							
						 
						
							2015-02-05 14:28:03 +00:00  
				
					
						
							
							
								 
						
							
							
								d45e2302ed 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'signature_failures' of github.com:matrix-org/synapse into federation_client_retries  
							
							
							
						 
						
							2015-02-04 16:30:15 +00:00  
				
					
						
							
							
								 
						
							
							
								ae46f10fc5 
								
							
								 
							
						 
						
							
							
								
								Apply sanity to the transport client interface. Convert 'make_join' and 'send_join' to accept iterables of destinations  
							
							
							
						 
						
							2015-02-04 16:28:12 +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  
				
					
						
							
							
								 
						
							
							
								0dd3aea319 
								
							
								 
							
						 
						
							
							
								
								Keep around the old (buggy) version of the prune_event function so that we can use it to check signatures for events on old servers  
							
							
							
						 
						
							2015-02-03 14:58:30 +00:00  
				
					
						
							
							
								 
						
							
							
								c059c9fea5 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into application-services  
							
							... 
							
							
							
							Conflicts:
	synapse/handlers/__init__.py
	synapse/storage/__init__.py 
							
						 
						
							2015-02-02 15:57:59 +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  
				
					
						
							
							
								 
						
							
							
								e97f756a05 
								
							
								 
							
						 
						
							
							
								
								Use 'in' to test if the key exists, remove unused _filters_for_user  
							
							
							
						 
						
							2015-01-30 14:54:06 +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  
				
					
						
							
							
								 
						
							
							
								c562f237f6 
								
							
								 
							
						 
						
							
							
								
								Unused import  
							
							
							
						 
						
							2015-01-30 11:43:00 +00:00  
				
					
						
							
							
								 
						
							
							
								2ebf795c0a 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into rejections  
							
							... 
							
							
							
							Conflicts:
	synapse/storage/__init__.py
	synapse/storage/schema/delta/v12.sql 
							
						 
						
							2015-01-30 11:10:37 +00:00  
				
					
						
							
							
								 
						
							
							
								93ed31dda2 
								
							
								 
							
						 
						
							
							
								
								Create a separate filter object to do the actual filtering, so that we can  
							
							... 
							
							
							
							split the storage and management of filters from the actual filter code
and don't have to load a filter from the db each time we filter an event 
							
						 
						
							2015-01-29 17:45:07 +00:00  
				
					
						
							
							
								 
						
							
							
								295322048d 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into client_v2_filter  
							
							
							
						 
						
							2015-01-29 16:18:34 +00:00  
				
					
						
							
							
								 
						
							
							
								acb68a39e0 
								
							
								 
							
						 
						
							
							
								
								Code style fixes.  
							
							
							
						 
						
							2015-01-29 16:12:40 +00:00  
				
					
						
							
							
								 
						
							
							
								9150a0d62e 
								
							
								 
							
						 
						
							
							
								
								Fix code-style  
							
							
							
						 
						
							2015-01-29 16:01:14 +00:00  
				
					
						
							
							
								 
						
							
							
								9d8f798a3f 
								
							
								 
							
						 
						
							
							
								
								Merge changes from develop  
							
							
							
						 
						
							2015-01-29 14:55:27 +00:00  
				
					
						
							
							
								 
						
							
							
								83172487b0 
								
							
								 
							
						 
						
							
							
								
								Add basic filtering public API unit tests. Use defers in the right places.  
							
							
							
						 
						
							2015-01-29 12:20:59 +00:00  
				
					
						
							
							
								 
						
							
							
								777d9914b5 
								
							
								 
							
						 
						
							
							
								
								Implement filter algorithm. Add basic event type unit tests to assert it works.  
							
							
							
						 
						
							2015-01-29 11:38:06 +00:00  
				
					
						
							
							
								 
						
							
							
								50de1eaad9 
								
							
								 
							
						 
						
							
							
								
								Add filtering public API; outline filtering algorithm.  
							
							
							
						 
						
							2015-01-29 10:24:57 +00:00  
				
					
						
							
							
								 
						
							
							
								2a4fda7b88 
								
							
								 
							
						 
						
							
							
								
								Add filtering.filter_events function, with stub passes_filter function.  
							
							
							
						 
						
							2015-01-29 09:27:16 +00:00  
				
					
						
							
							
								 
						
							
							
								26c8fff19e 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #36  from matrix-org/device_id_from_access_token  
							
							... 
							
							
							
							Extract the device id and token id from the access token when autheniticating users 
							
						 
						
							2015-01-28 17:19:28 +00:00  
				
					
						
							
							
								 
						
							
							
								3cca61e006 
								
							
								 
							
						 
						
							
							
								
								Rename ClientID to ClientInfo since it is a pair of IDs rather than a single identifier  
							
							
							
						 
						
							2015-01-28 17:16:12 +00:00  
				
					
						
							
							
								 
						
							
							
								c18e551640 
								
							
								 
							
						 
						
							
							
								
								Add a : to the doc string after the type of the return value  
							
							
							
						 
						
							2015-01-28 17:08:53 +00:00  
				
					
						
							
							
								 
						
							
							
								388581e087 
								
							
								 
							
						 
						
							
							
								
								Extract the id token of the token when authing users, include the token and device_id in the internal meta data for the event along with the transaction id when sending events  
							
							
							
						 
						
							2015-01-28 16:58:23 +00:00  
				
					
						
							
							
								 
						
							
							
								c23e3db544 
								
							
								 
							
						 
						
							
							
								
								Add filter JSON sanity checks.  
							
							
							
						 
						
							2015-01-28 16:45:18 +00:00  
				
					
						
							
							
								 
						
							
							
								0ef5bfd6a9 
								
							
								 
							
						 
						
							
							
								
								Start implementing auth conflict res  
							
							
							
						 
						
							2015-01-28 16:16:53 +00:00  
				
					
						
							
							
								 
						
							
							
								c59bcabf0b 
								
							
								 
							
						 
						
							
							
								
								Return the device_id from get_auth_by_req  
							
							
							
						 
						
							2015-01-28 15:43:41 +00:00  
				
					
						
							
							
								 
						
							
							
								c291a4d522 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into pushers  
							
							... 
							
							
							
							Conflicts:
	synapse/handlers/events.py
	synapse/server.py 
							
						 
						
							2015-01-28 12:51:05 +00:00  
				
					
						
							
							
								 
						
							
							
								54e513b4e6 
								
							
								 
							
						 
						
							
							
								
								Move storage of user filters into real datastore layer; now have to mock it out in the REST-level tests  
							
							
							
						 
						
							2015-01-27 17:48:13 +00:00  
				
					
						
							
							
								 
						
							
							
								059651efa1 
								
							
								 
							
						 
						
							
							
								
								Have the Filtering API return Deferreds, so we can do the Datastore implementation nicely  
							
							
							
						 
						
							2015-01-27 16:17:56 +00:00  
				
					
						
							
							
								 
						
							
							
								05c7cba73a 
								
							
								 
							
						 
						
							
							
								
								Initial trivial implementation of an actual 'Filtering' object; move storage of user filters into there  
							
							
							
						 
						
							2015-01-27 14:28:56 +00:00