mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Web editor: support upload files
This commit is contained in:
		@@ -316,7 +316,7 @@ func (f *EditPreviewDiffForm) Validate(ctx *macaron.Context, errs binding.Errors
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
type UploadRepoFileForm struct {
 | 
			
		||||
	TreeName      string `binding:MaxSize(500)"`
 | 
			
		||||
	TreePath      string `binding:MaxSize(500)"`
 | 
			
		||||
	CommitSummary string `binding:"MaxSize(100)`
 | 
			
		||||
	CommitMessage string
 | 
			
		||||
	CommitChoice  string `binding:"Required;MaxSize(50)"`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user