mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 02:02:25 -05:00 
			
		
		
		
	[feature] Allow editing domain blocks/allows, fix comment import (#3967)
* start implementing editing of existing domain permissions * [feature] Allow editing domain blocks/allows, fix comment import * [bugfix] Use "comment" via /api/v1/instance * fix the stuff
This commit is contained in:
		
					parent
					
						
							
								db4b857159
							
						
					
				
			
			
				commit
				
					
						b184432331
					
				
			
		
					 32 changed files with 1021 additions and 313 deletions
				
			
		|  | @ -136,7 +136,7 @@ func (suite *InstancePeersGetTestSuite) TestInstancePeersGetOnlySuspended() { | |||
|   { | ||||
|     "domain": "replyguys.com", | ||||
|     "suspended_at": "2020-05-13T13:29:12.000Z", | ||||
|     "public_comment": "reply-guying to tech posts" | ||||
|     "comment": "reply-guying to tech posts" | ||||
|   } | ||||
| ]`, dst.String()) | ||||
| } | ||||
|  | @ -186,7 +186,7 @@ func (suite *InstancePeersGetTestSuite) TestInstancePeersGetOnlySuspendedAuthori | |||
|   { | ||||
|     "domain": "replyguys.com", | ||||
|     "suspended_at": "2020-05-13T13:29:12.000Z", | ||||
|     "public_comment": "reply-guying to tech posts" | ||||
|     "comment": "reply-guying to tech posts" | ||||
|   } | ||||
| ]`, dst.String()) | ||||
| } | ||||
|  | @ -219,7 +219,7 @@ func (suite *InstancePeersGetTestSuite) TestInstancePeersGetAll() { | |||
|   { | ||||
|     "domain": "replyguys.com", | ||||
|     "suspended_at": "2020-05-13T13:29:12.000Z", | ||||
|     "public_comment": "reply-guying to tech posts" | ||||
|     "comment": "reply-guying to tech posts" | ||||
|   } | ||||
| ]`, dst.String()) | ||||
| } | ||||
|  | @ -263,12 +263,12 @@ func (suite *InstancePeersGetTestSuite) TestInstancePeersGetAllWithObfuscated() | |||
|   { | ||||
|     "domain": "o*g.*u**.t**.*or*t.*r**ev**", | ||||
|     "suspended_at": "2021-06-09T10:34:55.000Z", | ||||
|     "public_comment": "just absolutely the worst, wowza" | ||||
|     "comment": "just absolutely the worst, wowza" | ||||
|   }, | ||||
|   { | ||||
|     "domain": "replyguys.com", | ||||
|     "suspended_at": "2020-05-13T13:29:12.000Z", | ||||
|     "public_comment": "reply-guying to tech posts" | ||||
|     "comment": "reply-guying to tech posts" | ||||
|   } | ||||
| ]`, dst.String()) | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue