mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 06:21:11 +00:00 
			
		
		
		
	[GITEA] Allow user to select email for file operations in Web UI
- Add a dropdown to the web interface for changing files to select which Email should be used for the commit. It only shows (and verifies) that a activated mail can be used, while this isn't necessary, it's better to have this already in place. - Added integration testing. - Resolves https://codeberg.org/forgejo/forgejo/issues/281 (cherry picked from commit564e701f40) (cherry picked from commitde8f2e03cc) (cherry picked from commit0182cff12e) (cherry picked from commit9c74254d46) (cherry picked from commit2f0b68f821) (cherry picked from commit079b995d49) (cherry picked from commit6952ea6ee3) (cherry picked from commit6c7d5a5d14) (cherry picked from commit49c39f0ed5)
This commit is contained in:
		
					parent
					
						
							
								4611e10e6a
							
						
					
				
			
			
				commit
				
					
						a8f9727388
					
				
			
		
					 9 changed files with 302 additions and 25 deletions
				
			
		|  | @ -26,11 +26,12 @@ func TestRepoLanguages(t *testing.T) { | |||
| 
 | ||||
| 		// Save new file to master branch | ||||
| 		req = NewRequestWithValues(t, "POST", "/user2/repo1/_new/master/", map[string]string{ | ||||
| 			"_csrf":         doc.GetCSRF(), | ||||
| 			"last_commit":   lastCommit, | ||||
| 			"tree_path":     "test.go", | ||||
| 			"content":       "package main", | ||||
| 			"commit_choice": "direct", | ||||
| 			"_csrf":          doc.GetCSRF(), | ||||
| 			"last_commit":    lastCommit, | ||||
| 			"tree_path":      "test.go", | ||||
| 			"content":        "package main", | ||||
| 			"commit_choice":  "direct", | ||||
| 			"commit_mail_id": "3", | ||||
| 		}) | ||||
| 		session.MakeRequest(t, req, http.StatusSeeOther) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue