89cfc3dd98 
								
									
								
							
								 
							
						 
						
							
							
								
								[pyupgrade] `tests/` ( #10347 )  
							
							
							
						 
						
							2021-07-13 11:43:15 +01:00  
				
					
						
							
							
								 
						
							
							
								4b965c862d 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove redundant "coding: utf-8" lines ( #9786 )  
							
							... 
							
							
							
							Part of #9744 
Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now.
`Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` 
							
						 
						
							2021-04-14 15:34:27 +01:00  
				
					
						
							
							
								 
						
							
							
								e7b769aea1 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert storage test cases to HomeserverTestCase. ( #9736 )  
							
							
							
						 
						
							2021-04-06 07:21:02 -04:00  
				
					
						
							
							
								 
						
							
							
								4c6c56dc58 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert simple_select_one and simple_select_one_onecol to async ( #8162 )  
							
							
							
						 
						
							2020-08-26 07:19:32 -04:00  
				
					
						
							
							
								 
						
							
							
								b3a97d6dac 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert some of the data store to async. ( #7976 )  
							
							
							
						 
						
							2020-07-30 07:20:41 -04:00  
				
					
						
							
							
								 
						
							
							
								3345c166a4 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert storage layer to async/await. ( #7963 )  
							
							
							
						 
						
							2020-07-28 16:09:53 -04:00  
				
					
						
							
							
								 
						
							
							
								b975fa2e99 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert state resolution to async/await ( #7942 )  
							
							
							
						 
						
							2020-07-24 10:59:51 -04:00  
				
					
						
							
							
								 
						
							
							
								491f0dab1b 
								
									
								
							
								 
							
						 
						
							
							
								
								Add delete room admin endpoint ( #7613 )  
							
							... 
							
							
							
							The Delete Room admin API allows server admins to remove rooms from server
and block these rooms.
`DELETE /_synapse/admin/v1/rooms/<room_id>`
It is a combination and improvement of "[Shutdown room](https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/shutdown_room.md )" and "[Purge room](https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/purge_room.md )" API.
Fixes : #6425  
It also fixes a bug in [synapse/storage/data_stores/main/room.py](synapse/storage/data_stores/main/room.py) in ` get_room_with_stats`.
It should return `None` if the room is unknown. But it returns an `IndexError`.
901b1fa561/synapse/storage/data_stores/main/room.py (L99-L105)#5575 
- https://github.com/Awesome-Technologies/synapse-admin/issues/17 
Signed-off-by: Dirk Klimpel dirk@klimpel.org  
							
						 
						
							2020-07-14 12:36:23 +01:00  
				
					
						
							
							
								 
						
							
							
								a4a5ec4096 
								
									
								
							
								 
							
						 
						
							
							
								
								Add room details admin endpoint ( #7317 )  
							
							
							
						 
						
							2020-05-07 15:33:07 -04:00  
				
					
						
							
							
								 
						
							
							
								8df862e45d 
								
									
								
							
								 
							
						 
						
							
							
								
								Add `rooms.room_version` column ( #6729 )  
							
							... 
							
							
							
							This is so that we don't have to rely on pulling it out from `current_state_events` table. 
							
						 
						
							2020-01-27 14:30:57 +00:00  
				
					
						
							
							
								 
						
							
							
								3ca4c7c516 
								
							
								 
							
						 
						
							
							
								
								Use new EventPersistenceStore  
							
							
							
						 
						
							2019-10-23 16:15:03 +01:00  
				
					
						
							
							
								 
						
							
							
								32e7c9e7f2 
								
									
								
							
								 
							
						 
						
							
							
								
								Run Black. ( #5482 )  
							
							
							
						 
						
							2019-06-20 19:32:02 +10:00  
				
					
						
							
							
								 
						
							
							
								99dd975dae 
								
									
								
							
								 
							
						 
						
							
							
								
								Run tests under PostgreSQL ( #3423 )  
							
							
							
						 
						
							2018-08-13 16:47:46 +10:00  
				
					
						
							
							
								 
						
							
							
								8b3d9b6b19 
								
							
								 
							
						 
						
							
							
								
								Run black.  
							
							
							
						 
						
							2018-08-10 23:54:09 +10:00  
				
					
						
							
							
								 
						
							
							
								49af402019 
								
							
								 
							
						 
						
							
							
								
								run isort  
							
							
							
						 
						
							2018-07-09 16:09:20 +10:00  
				
					
						
							
							
								 
						
							
							
								700487a7c7 
								
							
								 
							
						 
						
							
							
								
								Fix flake8 warnings for tests  
							
							
							
						 
						
							2016-02-19 15:34:38 +00:00  
				
					
						
							
							
								 
						
							
							
								f8aae79a72 
								
							
								 
							
						 
						
							
							
								
								Simplify get_rooms  
							
							
							
						 
						
							2016-02-03 13:24:35 +00:00  
				
					
						
							
							
								 
						
							
							
								6c28ac260c 
								
							
								 
							
						 
						
							
							
								
								copyrights  
							
							
							
						 
						
							2016-01-07 04:26:29 +00:00  
				
					
						
							
							
								 
						
							
							
								cf437900e0 
								
							
								 
							
						 
						
							
							
								
								Return world_readable and guest_can_join in /publicRooms  
							
							
							
						 
						
							2015-11-10 17:10:27 +00:00  
				
					
						
							
							
								 
						
							
							
								7213588083 
								
							
								 
							
						 
						
							
							
								
								Implement configurable stats reporting  
							
							... 
							
							
							
							SYN-287
This requires that HS owners either opt in or out of stats reporting.
When --generate-config is passed, --report-stats must be specified
If an already-generated config is used, and doesn't have the
report_stats key, it is requested to be set. 
							
						 
						
							2015-09-22 12:57:40 +01:00  
				
					
						
							
							
								 
						
							
							
								7e282a53a5 
								
							
								 
							
						 
						
							
							
								
								Tidy up _simple_... methods  
							
							
							
						 
						
							2015-03-20 15:05:10 +00:00  
				
					
						
							
							
								 
						
							
							
								896253e085 
								
							
								 
							
						 
						
							
							
								
								Factor out some of the common homeserver setup code into a  
							
							... 
							
							
							
							setup_test_homeserver function in utils. 
							
						 
						
							2015-02-11 11:37:30 +00:00  
				
					
						
							
							
								 
						
							
							
								ada711504e 
								
							
								 
							
						 
						
							
							
								
								Replace hs.parse_roomalias with RoomAlias.from_string  
							
							
							
						 
						
							2015-01-23 13:21:58 +00:00  
				
					
						
							
							
								 
						
							
							
								1c06c48ce2 
								
							
								 
							
						 
						
							
							
								
								Replace hs.parse_roomid with RoomID.from_string  
							
							
							
						 
						
							2015-01-23 11:55:12 +00:00  
				
					
						
							
							
								 
						
							
							
								5759bec43c 
								
							
								 
							
						 
						
							
							
								
								Replace hs.parse_userid with UserID.from_string  
							
							
							
						 
						
							2015-01-23 11:47:15 +00:00  
				
					
						
							
							
								 
						
							
							
								3891597eb3 
								
							
								 
							
						 
						
							
							
								
								Remove unused functions  
							
							
							
						 
						
							2015-01-13 15:57:26 +00:00  
				
					
						
							
							
								 
						
							
							
								3c77d13aa5 
								
							
								 
							
						 
						
							
							
								
								Kill off synapse.api.events.*  
							
							
							
						 
						
							2014-12-16 11:29:05 +00:00  
				
					
						
							
							
								 
						
							
							
								2fcce3b3c5 
								
							
								 
							
						 
						
							
							
								
								Remove stale tests  
							
							
							
						 
						
							2014-11-05 13:43:36 +00:00  
				
					
						
							
							
								 
						
							
							
								bcf5121937 
								
							
								 
							
						 
						
							
							
								
								Neaten more of the storage layer tests with assertObjectHasAttributes; more standardisation on test layout  
							
							
							
						 
						
							2014-09-17 16:58:59 +01:00  
				
					
						
							
							
								 
						
							
							
								b588ce920d 
								
							
								 
							
						 
						
							
							
								
								Unit tests for (some) room events via the RoomStore  
							
							
							
						 
						
							2014-09-17 16:31:11 +01:00  
				
					
						
							
							
								 
						
							
							
								ba41ca45fa 
								
							
								 
							
						 
						
							
							
								
								Use new assertObjectHasAttributes() in tests/storage/test_room.py  
							
							
							
						 
						
							2014-09-17 16:04:05 +01:00  
				
					
						
							
							
								 
						
							
							
								de14853237 
								
							
								 
							
						 
						
							
							
								
								More RoomStore tests  
							
							
							
						 
						
							2014-09-17 15:33:10 +01:00  
				
					
						
							
							
								 
						
							
							
								e32cfed1d8 
								
							
								 
							
						 
						
							
							
								
								Initial pass at a RoomStore test  
							
							
							
						 
						
							2014-09-15 18:41:24 +01:00