mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 23:22:26 -05:00 
			
		
		
		
	[feature] Self-serve email change for users (#2957)
* [feature] Email change * frontend stuff for changing email * docs * tests etc * differentiate more clearly between local user+account and account * populate user
This commit is contained in:
		
					parent
					
						
							
								131020faeb
							
						
					
				
			
			
				commit
				
					
						bcda048eab
					
				
			
		
					 50 changed files with 1118 additions and 309 deletions
				
			
		|  | @ -64,7 +64,7 @@ func (suite *AccountUpdateTestSuite) TestAccountUpdateSimple() { | |||
| 
 | ||||
| 	// Profile update. | ||||
| 	suite.Equal(ap.ActivityUpdate, msg.APActivityType) | ||||
| 	suite.Equal(ap.ObjectProfile, msg.APObjectType) | ||||
| 	suite.Equal(ap.ActorPerson, msg.APObjectType) | ||||
| 
 | ||||
| 	// Correct account updated. | ||||
| 	if msg.Origin == nil { | ||||
|  | @ -114,7 +114,7 @@ func (suite *AccountUpdateTestSuite) TestAccountUpdateWithMention() { | |||
| 
 | ||||
| 	// Profile update. | ||||
| 	suite.Equal(ap.ActivityUpdate, msg.APActivityType) | ||||
| 	suite.Equal(ap.ObjectProfile, msg.APObjectType) | ||||
| 	suite.Equal(ap.ActorPerson, msg.APObjectType) | ||||
| 
 | ||||
| 	// Correct account updated. | ||||
| 	if msg.Origin == nil { | ||||
|  | @ -170,7 +170,7 @@ func (suite *AccountUpdateTestSuite) TestAccountUpdateWithMarkdownNote() { | |||
| 
 | ||||
| 	// Profile update. | ||||
| 	suite.Equal(ap.ActivityUpdate, msg.APActivityType) | ||||
| 	suite.Equal(ap.ObjectProfile, msg.APObjectType) | ||||
| 	suite.Equal(ap.ActorPerson, msg.APObjectType) | ||||
| 
 | ||||
| 	// Correct account updated. | ||||
| 	if msg.Origin == nil { | ||||
|  | @ -255,7 +255,7 @@ func (suite *AccountUpdateTestSuite) TestAccountUpdateWithFields() { | |||
| 
 | ||||
| 	// Profile update. | ||||
| 	suite.Equal(ap.ActivityUpdate, msg.APActivityType) | ||||
| 	suite.Equal(ap.ObjectProfile, msg.APObjectType) | ||||
| 	suite.Equal(ap.ActorPerson, msg.APObjectType) | ||||
| 
 | ||||
| 	// Correct account updated. | ||||
| 	if msg.Origin == nil { | ||||
|  | @ -312,7 +312,7 @@ func (suite *AccountUpdateTestSuite) TestAccountUpdateNoteNotFields() { | |||
| 
 | ||||
| 	// Profile update. | ||||
| 	suite.Equal(ap.ActivityUpdate, msg.APActivityType) | ||||
| 	suite.Equal(ap.ObjectProfile, msg.APObjectType) | ||||
| 	suite.Equal(ap.ActorPerson, msg.APObjectType) | ||||
| 
 | ||||
| 	// Correct account updated. | ||||
| 	if msg.Origin == nil { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue