Pārlūkot izejas kodu

[GIN] Remove dav support

M. Sonntag 4 gadi atpakaļ
vecāks
revīzija
4c824c42b6

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 5 - 5
internal/assets/public/public_gen.go


+ 58 - 58
internal/assets/templates/templates_gen.go

@@ -241,7 +241,7 @@ func adminAuthEditTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "admin/auth/edit.tmpl", size: 10533, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "admin/auth/edit.tmpl", size: 10533, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3a, 0x7e, 0x85, 0x71, 0x56, 0xd, 0x56, 0xd7, 0x5d, 0x60, 0xf4, 0xa5, 0xf, 0xcb, 0xf, 0xe4, 0x61, 0xe5, 0x35, 0xfd, 0x45, 0x44, 0xd7, 0x3b, 0x77, 0xd3, 0x38, 0x53, 0xd8, 0x8b, 0x2c, 0xa6}}
 	return a, nil
 }
@@ -341,7 +341,7 @@ func adminConfigTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "admin/config.tmpl", size: 23039, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "admin/config.tmpl", size: 23039, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x10, 0xcf, 0x8e, 0x71, 0x7, 0x6b, 0x2, 0xcd, 0xf3, 0x52, 0x48, 0xa4, 0x55, 0xc, 0xa1, 0x1a, 0xbe, 0x27, 0x50, 0x5a, 0xca, 0xf9, 0xf4, 0x61, 0xe8, 0x6b, 0x30, 0x2, 0x7f, 0xea, 0xcd, 0x21}}
 	return a, nil
 }
@@ -361,7 +361,7 @@ func adminDashboardTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "admin/dashboard.tmpl", size: 6934, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "admin/dashboard.tmpl", size: 6934, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfd, 0x19, 0x82, 0xd8, 0xa2, 0xc7, 0x34, 0x8f, 0x60, 0x56, 0x87, 0x7c, 0x36, 0x18, 0xba, 0xf4, 0x64, 0x28, 0xc3, 0xbc, 0x16, 0x51, 0xb1, 0x7f, 0xba, 0x3f, 0x32, 0x3, 0x60, 0x38, 0x13, 0x51}}
 	return a, nil
 }
@@ -461,7 +461,7 @@ func adminRepoListTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "admin/repo/list.tmpl", size: 2348, mode: os.FileMode(0664), modTime: time.Unix(1607018361, 0)}
+	info := bindataFileInfo{name: "admin/repo/list.tmpl", size: 2348, mode: os.FileMode(0664), modTime: time.Unix(1607334181, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd2, 0x46, 0x98, 0xbe, 0xda, 0xb7, 0xda, 0x95, 0xf0, 0x9e, 0x8c, 0x56, 0xf8, 0xda, 0x27, 0x79, 0x31, 0xb1, 0xc2, 0xd2, 0xcb, 0x8a, 0x5e, 0x54, 0x88, 0x75, 0x5e, 0xbf, 0x16, 0xbb, 0xde, 0x3b}}
 	return a, nil
 }
@@ -481,7 +481,7 @@ func adminUserEditTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "admin/user/edit.tmpl", size: 5459, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "admin/user/edit.tmpl", size: 5459, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x48, 0xc8, 0xaf, 0x78, 0x1a, 0x1b, 0x9c, 0x2d, 0x51, 0xd, 0x90, 0x2e, 0x42, 0xa, 0xdb, 0xb7, 0xf8, 0x77, 0x89, 0xb5, 0x62, 0x41, 0x6, 0x8, 0x27, 0x5c, 0x50, 0xd5, 0x7c, 0x55, 0x1c, 0x90}}
 	return a, nil
 }
@@ -581,7 +581,7 @@ func baseFooterTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "base/footer.tmpl", size: 3661, mode: os.FileMode(0664), modTime: time.Unix(1607018338, 0)}
+	info := bindataFileInfo{name: "base/footer.tmpl", size: 3661, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc2, 0x39, 0x90, 0x32, 0xcf, 0x29, 0x25, 0xef, 0xd, 0x2a, 0xdb, 0xe8, 0x12, 0x52, 0xbb, 0xc8, 0x14, 0xe, 0x71, 0xf3, 0x9, 0xa8, 0x6a, 0xaf, 0xe5, 0x74, 0x45, 0x19, 0x41, 0x97, 0xf6, 0xf4}}
 	return a, nil
 }
@@ -601,7 +601,7 @@ func baseHeadTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "base/head.tmpl", size: 9117, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "base/head.tmpl", size: 9117, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc1, 0x43, 0x63, 0x7a, 0x7f, 0x61, 0x67, 0x84, 0x91, 0xe5, 0x63, 0x63, 0x63, 0xad, 0x86, 0x60, 0x74, 0xf8, 0x3, 0x71, 0x8f, 0xec, 0x84, 0x35, 0xdf, 0xe3, 0xd8, 0x1b, 0x1d, 0x24, 0xf9, 0x79}}
 	return a, nil
 }
@@ -621,7 +621,7 @@ func exploreBlob_listTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "explore/blob_list.tmpl", size: 853, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "explore/blob_list.tmpl", size: 853, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x85, 0xdc, 0xb1, 0x78, 0x76, 0xf4, 0x1b, 0x12, 0xc1, 0xdf, 0xf1, 0xe7, 0x5, 0x78, 0x8d, 0xe6, 0xbf, 0xfe, 0xfe, 0x32, 0x4d, 0x44, 0x62, 0x54, 0xe1, 0x9b, 0x9b, 0x3d, 0xe5, 0x8e, 0x59, 0xbb}}
 	return a, nil
 }
@@ -641,7 +641,7 @@ func exploreCommit_listTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "explore/commit_list.tmpl", size: 769, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "explore/commit_list.tmpl", size: 769, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd2, 0x45, 0xd6, 0x61, 0xb5, 0x76, 0xc3, 0x78, 0xc9, 0xf8, 0x29, 0xa6, 0x1d, 0xa5, 0x54, 0x87, 0xbc, 0x25, 0xcc, 0xcf, 0xc1, 0x45, 0x5d, 0xa8, 0x45, 0x6a, 0xc4, 0xc7, 0xaa, 0x7d, 0x22, 0x3e}}
 	return a, nil
 }
@@ -661,7 +661,7 @@ func exploreCommitsTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "explore/commits.tmpl", size: 360, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "explore/commits.tmpl", size: 360, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb2, 0xfb, 0x18, 0x4b, 0xaf, 0xd3, 0x1a, 0x71, 0x56, 0x33, 0x6e, 0xb5, 0xef, 0x72, 0xfe, 0x54, 0x97, 0xbe, 0x9, 0x0, 0x20, 0xb3, 0x18, 0xaf, 0xcb, 0x4e, 0x15, 0x4c, 0xc5, 0xc, 0x63, 0x14}}
 	return a, nil
 }
@@ -681,7 +681,7 @@ func exploreDataTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "explore/data.tmpl", size: 362, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "explore/data.tmpl", size: 362, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1a, 0xfa, 0x79, 0xea, 0x11, 0x13, 0x99, 0x90, 0x65, 0xf5, 0xd8, 0x22, 0x36, 0x96, 0xa0, 0xf9, 0x3d, 0x2, 0xee, 0xb8, 0x4d, 0x51, 0x97, 0x3f, 0xd0, 0x95, 0x79, 0x1a, 0x3b, 0x95, 0x44, 0xa3}}
 	return a, nil
 }
@@ -701,7 +701,7 @@ func exploreNavbarTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "explore/navbar.tmpl", size: 1239, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "explore/navbar.tmpl", size: 1239, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1b, 0xd, 0xea, 0x35, 0x98, 0x6e, 0xfc, 0x13, 0xfd, 0xa6, 0xcd, 0xcb, 0x35, 0x83, 0x7e, 0xdd, 0xc0, 0xb0, 0xb2, 0x77, 0xab, 0x52, 0xdc, 0x10, 0x51, 0xd3, 0x82, 0x6a, 0xb1, 0xd1, 0xa9, 0x5b}}
 	return a, nil
 }
@@ -761,7 +761,7 @@ func exploreRepo_listTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "explore/repo_list.tmpl", size: 1442, mode: os.FileMode(0664), modTime: time.Unix(1607006240, 0)}
+	info := bindataFileInfo{name: "explore/repo_list.tmpl", size: 1442, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb5, 0x96, 0xf4, 0x9d, 0xb9, 0x48, 0x2d, 0x78, 0xb1, 0xfa, 0x4c, 0x89, 0x51, 0x49, 0xd4, 0x1f, 0x71, 0x64, 0x7c, 0x7f, 0x9, 0x4b, 0xd5, 0x21, 0x40, 0x4a, 0x90, 0xad, 0x61, 0x62, 0x3, 0x38}}
 	return a, nil
 }
@@ -801,7 +801,7 @@ func exploreSearchTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "explore/search.tmpl", size: 277, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "explore/search.tmpl", size: 277, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc9, 0xd, 0x91, 0xa0, 0x58, 0x62, 0xdd, 0x3, 0x47, 0x50, 0x34, 0x3f, 0x1a, 0x53, 0x2b, 0x9a, 0x37, 0xa7, 0x12, 0xae, 0x79, 0x34, 0xe, 0x2b, 0xa5, 0x12, 0xfd, 0x83, 0xeb, 0x41, 0x38, 0x56}}
 	return a, nil
 }
@@ -821,7 +821,7 @@ func exploreSearch_extTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "explore/search_ext.tmpl", size: 1162, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "explore/search_ext.tmpl", size: 1162, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xeb, 0xb, 0x3c, 0xde, 0x65, 0x93, 0xea, 0xcf, 0x6c, 0xd1, 0x74, 0xda, 0x44, 0xa4, 0xfb, 0xd0, 0x5d, 0xf9, 0x38, 0x47, 0x7b, 0xc1, 0xaa, 0x2f, 0x24, 0xd5, 0xd3, 0xf9, 0x75, 0x9c, 0x6e, 0xc8}}
 	return a, nil
 }
@@ -841,7 +841,7 @@ func exploreUsersTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "explore/users.tmpl", size: 896, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "explore/users.tmpl", size: 896, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfe, 0x82, 0xfd, 0xec, 0xed, 0xe7, 0xff, 0x71, 0x2d, 0xb, 0xa7, 0x32, 0x6b, 0x81, 0xa3, 0x52, 0x66, 0x94, 0xc2, 0xa, 0x84, 0xf8, 0x67, 0x42, 0x4e, 0xec, 0x92, 0x3d, 0x1c, 0x7d, 0x49, 0x1f}}
 	return a, nil
 }
@@ -861,7 +861,7 @@ func homeTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "home.tmpl", size: 2233, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "home.tmpl", size: 2233, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf5, 0xa5, 0x20, 0x96, 0x5b, 0x28, 0x9d, 0xa4, 0xc4, 0xbf, 0x9e, 0x5a, 0xb1, 0xe1, 0xd7, 0xd7, 0x96, 0x5e, 0x54, 0x57, 0x2e, 0x14, 0x4, 0x9c, 0xc6, 0x41, 0xa5, 0xa, 0xb0, 0x2, 0xec, 0xa6}}
 	return a, nil
 }
@@ -901,7 +901,7 @@ func injectHeadTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "inject/head.tmpl", size: 1696, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "inject/head.tmpl", size: 1696, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc1, 0x6c, 0xb3, 0xa6, 0x8a, 0x50, 0xdc, 0xe5, 0xba, 0x8d, 0xde, 0xe7, 0xa8, 0x47, 0xd9, 0xbc, 0x20, 0x68, 0x23, 0x26, 0x4, 0x94, 0x6c, 0x47, 0x79, 0x19, 0x9f, 0xc5, 0xe9, 0x42, 0xc8, 0x29}}
 	return a, nil
 }
@@ -921,7 +921,7 @@ func installTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "install.tmpl", size: 14499, mode: os.FileMode(0664), modTime: time.Unix(1607001048, 0)}
+	info := bindataFileInfo{name: "install.tmpl", size: 14499, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x84, 0xa8, 0x1f, 0xf0, 0x87, 0xa7, 0xc9, 0xe2, 0x46, 0xf1, 0x70, 0xfa, 0x81, 0x83, 0x13, 0xc1, 0x15, 0xfb, 0xb8, 0x98, 0xa8, 0xda, 0x59, 0x2d, 0x35, 0x88, 0x18, 0xeb, 0xe0, 0x73, 0x69, 0x2b}}
 	return a, nil
 }
@@ -981,7 +981,7 @@ func mailAuthInvite_emailTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "mail/auth/invite_email.tmpl", size: 985, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "mail/auth/invite_email.tmpl", size: 985, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf0, 0x2a, 0x1d, 0x37, 0xac, 0x80, 0xd8, 0xb5, 0x31, 0xc5, 0xb3, 0x86, 0xa9, 0xd5, 0x48, 0x53, 0xbd, 0x7, 0xa8, 0xf1, 0x7e, 0x60, 0x80, 0xad, 0xd9, 0xf0, 0x8d, 0x49, 0x93, 0xe3, 0x32, 0xe6}}
 	return a, nil
 }
@@ -1021,7 +1021,7 @@ func mailAuthReset_passwdTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "mail/auth/reset_passwd.tmpl", size: 621, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "mail/auth/reset_passwd.tmpl", size: 621, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5e, 0xe3, 0x82, 0x85, 0x37, 0x62, 0x5f, 0x10, 0x2b, 0xdb, 0x7b, 0x9a, 0xb6, 0x54, 0xd5, 0xa, 0xbf, 0x8d, 0x3e, 0x72, 0x7b, 0x3a, 0xc2, 0xc1, 0xf0, 0xb0, 0xbb, 0x78, 0x3c, 0x60, 0xc8, 0x93}}
 	return a, nil
 }
@@ -1041,7 +1041,7 @@ func mailIssueCommentTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "mail/issue/comment.tmpl", size: 385, mode: os.FileMode(0664), modTime: time.Unix(1607017473, 0)}
+	info := bindataFileInfo{name: "mail/issue/comment.tmpl", size: 385, mode: os.FileMode(0664), modTime: time.Unix(1607334181, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x37, 0xc4, 0x73, 0xf3, 0xaa, 0xc0, 0xcd, 0x6a, 0x41, 0xb9, 0xe2, 0x63, 0x64, 0xc3, 0x80, 0x75, 0x5c, 0x40, 0x8e, 0xf, 0x92, 0x84, 0xe8, 0x5c, 0x3, 0xe1, 0xa5, 0x87, 0x3b, 0x86, 0x2f, 0xf6}}
 	return a, nil
 }
@@ -1061,7 +1061,7 @@ func mailIssueMentionTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "mail/issue/mention.tmpl", size: 431, mode: os.FileMode(0664), modTime: time.Unix(1607017473, 0)}
+	info := bindataFileInfo{name: "mail/issue/mention.tmpl", size: 431, mode: os.FileMode(0664), modTime: time.Unix(1607334181, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb4, 0xb7, 0x7e, 0x51, 0x65, 0x23, 0x92, 0x39, 0xd7, 0x4d, 0xf6, 0x72, 0x79, 0xf0, 0xa3, 0xdf, 0xab, 0xf5, 0x9a, 0x19, 0x3b, 0xd7, 0x5f, 0x84, 0xba, 0xaf, 0xbd, 0xed, 0x24, 0x77, 0xa, 0x79}}
 	return a, nil
 }
@@ -1081,7 +1081,7 @@ func mailNotifyCollaboratorTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "mail/notify/collaborator.tmpl", size: 444, mode: os.FileMode(0664), modTime: time.Unix(1607017473, 0)}
+	info := bindataFileInfo{name: "mail/notify/collaborator.tmpl", size: 444, mode: os.FileMode(0664), modTime: time.Unix(1607334181, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3a, 0x70, 0x74, 0x5b, 0x5e, 0x31, 0x1e, 0x45, 0xe3, 0xb1, 0x3e, 0x73, 0x63, 0x41, 0x4f, 0x12, 0xd6, 0x2a, 0xf7, 0xc9, 0x40, 0x22, 0xe6, 0x88, 0x25, 0xa9, 0xf8, 0xb1, 0x3a, 0xbb, 0xf7, 0x63}}
 	return a, nil
 }
@@ -1401,7 +1401,7 @@ func repoBareTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/bare.tmpl", size: 2931, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "repo/bare.tmpl", size: 2931, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x41, 0xc2, 0x99, 0xf2, 0xbb, 0xaa, 0xa6, 0x96, 0x3d, 0x72, 0x35, 0xe7, 0x27, 0xdd, 0xc1, 0xc, 0xc1, 0x58, 0xbb, 0xb8, 0x80, 0x40, 0xf5, 0xfb, 0x58, 0xf2, 0x81, 0xb7, 0x83, 0x2a, 0x69, 0xce}}
 	return a, nil
 }
@@ -1521,7 +1521,7 @@ func repoCommits_tableTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/commits_table.tmpl", size: 3074, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/commits_table.tmpl", size: 3074, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8, 0xd, 0x2f, 0xee, 0xde, 0xc0, 0xf0, 0x3b, 0x7b, 0x6b, 0x27, 0x4a, 0xbe, 0x99, 0xdf, 0x1e, 0xa2, 0x93, 0x77, 0x72, 0xe9, 0x48, 0xee, 0x6f, 0xb9, 0x74, 0xdd, 0xd2, 0xd, 0x27, 0xe5, 0x92}}
 	return a, nil
 }
@@ -1541,7 +1541,7 @@ func repoCreateTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/create.tmpl", size: 5223, mode: os.FileMode(0664), modTime: time.Unix(1607006240, 0)}
+	info := bindataFileInfo{name: "repo/create.tmpl", size: 5223, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4e, 0xba, 0x35, 0x18, 0x14, 0xff, 0x5, 0x23, 0x90, 0xb7, 0xc6, 0x86, 0x97, 0xd5, 0x82, 0xac, 0x69, 0xc9, 0xd4, 0x8c, 0xbc, 0x80, 0xbc, 0xe9, 0xd0, 0x31, 0xc7, 0x1d, 0x28, 0xa5, 0x91, 0xfd}}
 	return a, nil
 }
@@ -1561,7 +1561,7 @@ func repoDiffBoxTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/diff/box.tmpl", size: 6683, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/diff/box.tmpl", size: 6683, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfa, 0xbf, 0xac, 0xd5, 0xea, 0x25, 0x2, 0xe9, 0x98, 0xb1, 0xc6, 0x1e, 0x41, 0x64, 0xc8, 0xf0, 0x9d, 0x13, 0xdc, 0xbd, 0x7d, 0x5e, 0xd9, 0x81, 0xf6, 0x93, 0xeb, 0x17, 0xe0, 0x98, 0xd, 0x6}}
 	return a, nil
 }
@@ -1601,7 +1601,7 @@ func repoDiffSection_unifiedTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/diff/section_unified.tmpl", size: 918, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/diff/section_unified.tmpl", size: 918, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc0, 0xb7, 0x77, 0x2d, 0x3b, 0x94, 0x4e, 0x53, 0xfa, 0x2c, 0xea, 0xfe, 0xa2, 0xd1, 0xf6, 0x1e, 0x5, 0xe7, 0x9b, 0x6d, 0x9b, 0x72, 0x39, 0x6e, 0x61, 0x2, 0x1b, 0x7, 0x2a, 0x6e, 0x64, 0x8d}}
 	return a, nil
 }
@@ -1621,7 +1621,7 @@ func repoDoifileTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/doifile.tmpl", size: 1507, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "repo/doifile.tmpl", size: 1507, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x11, 0xd8, 0x41, 0x1d, 0x5e, 0x9c, 0xdd, 0x29, 0x4a, 0x9f, 0xaa, 0x9c, 0xb3, 0x52, 0x89, 0xf8, 0xa4, 0xed, 0x97, 0x36, 0x79, 0x4f, 0x29, 0x82, 0x99, 0x94, 0x1a, 0x5a, 0xf8, 0xd5, 0x6c, 0x78}}
 	return a, nil
 }
@@ -1641,7 +1641,7 @@ func repoDownloadTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/download.tmpl", size: 908, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "repo/download.tmpl", size: 908, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0x89, 0xfe, 0xa8, 0xcd, 0xb8, 0x8e, 0x6e, 0x29, 0x6, 0xaf, 0x25, 0x6e, 0x8, 0xab, 0x37, 0x66, 0x2f, 0x46, 0x36, 0x9d, 0x36, 0xb3, 0x7b, 0x43, 0x1b, 0xb8, 0xa, 0xe7, 0xb8, 0x58, 0x5c}}
 	return a, nil
 }
@@ -1721,7 +1721,7 @@ func repoEditorEditTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/editor/edit.tmpl", size: 5281, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "repo/editor/edit.tmpl", size: 5281, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb2, 0x6b, 0x45, 0x21, 0x9a, 0x34, 0x43, 0x0, 0xd1, 0xb5, 0x68, 0x2f, 0x10, 0xa4, 0x65, 0x7f, 0xb1, 0xd9, 0x29, 0x93, 0xde, 0x24, 0x65, 0x5b, 0x77, 0x28, 0xda, 0xf, 0xf5, 0x36, 0x25, 0xf6}}
 	return a, nil
 }
@@ -1741,7 +1741,7 @@ func repoEditorUploadTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/editor/upload.tmpl", size: 2127, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "repo/editor/upload.tmpl", size: 2127, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7d, 0x5c, 0x21, 0x91, 0xc3, 0x94, 0x1a, 0xcb, 0xa1, 0x74, 0xb7, 0x56, 0x7e, 0xde, 0xc3, 0xe, 0x28, 0x9c, 0x44, 0x2b, 0xd4, 0x17, 0xb0, 0xad, 0xb5, 0x9a, 0xf, 0x80, 0xee, 0xf4, 0xd4, 0x1d}}
 	return a, nil
 }
@@ -1781,7 +1781,7 @@ func repoHeaderTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/header.tmpl", size: 4832, mode: os.FileMode(0664), modTime: time.Unix(1607006240, 0)}
+	info := bindataFileInfo{name: "repo/header.tmpl", size: 4832, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x95, 0x94, 0x20, 0x59, 0x9, 0xa6, 0xc0, 0x96, 0x42, 0x9c, 0x8, 0xcc, 0x82, 0x0, 0x19, 0x9c, 0x1a, 0x5b, 0x79, 0x7f, 0x12, 0x64, 0xc6, 0x8, 0x1, 0x42, 0xe, 0xb1, 0x17, 0xac, 0x8a, 0xdc}}
 	return a, nil
 }
@@ -1801,7 +1801,7 @@ func repoHeader_ginTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/header_gin.tmpl", size: 1975, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "repo/header_gin.tmpl", size: 1975, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd1, 0xa9, 0x67, 0x4e, 0x5c, 0x29, 0x1, 0x9f, 0x5e, 0x8b, 0xff, 0x90, 0xdb, 0x32, 0x5b, 0xd8, 0x5f, 0x40, 0x14, 0xd8, 0x54, 0x53, 0xb4, 0xc6, 0x44, 0x8b, 0x4a, 0x3, 0xa5, 0xa0, 0x42, 0x93}}
 	return a, nil
 }
@@ -1821,7 +1821,7 @@ func repoHomeTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/home.tmpl", size: 5506, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/home.tmpl", size: 5506, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x0, 0xbd, 0x38, 0x26, 0x6f, 0xd8, 0xa6, 0x25, 0x78, 0xb0, 0x2d, 0xb7, 0xc3, 0xe7, 0x87, 0x35, 0x8c, 0x21, 0x3a, 0x7f, 0xb2, 0x8b, 0xf5, 0xe4, 0xce, 0x4d, 0x27, 0x72, 0x91, 0xc5, 0x4a, 0x1f}}
 	return a, nil
 }
@@ -1841,7 +1841,7 @@ func repoIssueComment_tabTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/issue/comment_tab.tmpl", size: 1406, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/issue/comment_tab.tmpl", size: 1406, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x82, 0xaf, 0x1e, 0x31, 0x30, 0x23, 0x12, 0x84, 0x59, 0x19, 0x20, 0x50, 0x6e, 0x73, 0x48, 0x62, 0x4f, 0xc, 0x11, 0x57, 0xfb, 0xc, 0x8a, 0x3b, 0x44, 0x15, 0x2d, 0x75, 0x5f, 0x70, 0x6b, 0xa3}}
 	return a, nil
 }
@@ -2081,7 +2081,7 @@ func repoMigrateTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/migrate.tmpl", size: 4435, mode: os.FileMode(0664), modTime: time.Unix(1607006240, 0)}
+	info := bindataFileInfo{name: "repo/migrate.tmpl", size: 4435, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb2, 0x15, 0x78, 0xa, 0x6, 0x31, 0xbc, 0x99, 0xec, 0x67, 0xd3, 0x99, 0x8a, 0x8d, 0x7b, 0x27, 0x11, 0xde, 0x74, 0x10, 0xeb, 0xcb, 0x84, 0x65, 0xfd, 0xda, 0x3f, 0x3c, 0x51, 0x65, 0x8e, 0xf0}}
 	return a, nil
 }
@@ -2161,7 +2161,7 @@ func repoPullsForkTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/pulls/fork.tmpl", size: 2868, mode: os.FileMode(0664), modTime: time.Unix(1607006240, 0)}
+	info := bindataFileInfo{name: "repo/pulls/fork.tmpl", size: 2868, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf2, 0x90, 0xd9, 0x47, 0xea, 0xcc, 0xee, 0xf6, 0x80, 0xf9, 0xa1, 0xdb, 0xe, 0x24, 0x59, 0xc6, 0x13, 0x96, 0x73, 0x2b, 0x7f, 0xef, 0x5, 0x60, 0xa1, 0x88, 0xad, 0xf8, 0x4a, 0xb5, 0x1f, 0xf5}}
 	return a, nil
 }
@@ -2261,7 +2261,7 @@ func repoSettingsCollaborationTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/settings/collaboration.tmpl", size: 3503, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "repo/settings/collaboration.tmpl", size: 3503, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3f, 0x7a, 0x6a, 0xbd, 0xc, 0x75, 0xaf, 0xe9, 0xb7, 0x37, 0x81, 0x67, 0x4a, 0x72, 0xd, 0xce, 0xcb, 0xd9, 0xef, 0xb9, 0x3a, 0xc0, 0x87, 0xa5, 0x38, 0x8d, 0xd0, 0xae, 0x32, 0xee, 0xed, 0x71}}
 	return a, nil
 }
@@ -2301,7 +2301,7 @@ func repoSettingsGithook_editTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/settings/githook_edit.tmpl", size: 1329, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/settings/githook_edit.tmpl", size: 1329, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf0, 0xeb, 0x95, 0x30, 0x68, 0x11, 0xd0, 0x90, 0xf0, 0xa9, 0x96, 0x9d, 0xe1, 0x87, 0x21, 0x81, 0xcc, 0x5a, 0x89, 0xbb, 0xb2, 0x20, 0xd3, 0x57, 0x40, 0x35, 0x19, 0x3d, 0x3b, 0x89, 0xf7, 0x10}}
 	return a, nil
 }
@@ -2321,7 +2321,7 @@ func repoSettingsGithooksTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/settings/githooks.tmpl", size: 928, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/settings/githooks.tmpl", size: 928, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x2b, 0x8c, 0xe3, 0x3f, 0xe3, 0x4b, 0xcc, 0x73, 0x4c, 0x9e, 0xc2, 0x69, 0x51, 0x5d, 0x74, 0x56, 0x49, 0xe3, 0x87, 0x9, 0x7e, 0x2c, 0xc4, 0x38, 0xf1, 0x68, 0x96, 0x99, 0xa7, 0x1e, 0xbf, 0x87}}
 	return a, nil
 }
@@ -2361,7 +2361,7 @@ func repoSettingsOptionsTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/settings/options.tmpl", size: 19174, mode: os.FileMode(0664), modTime: time.Unix(1607006240, 0)}
+	info := bindataFileInfo{name: "repo/settings/options.tmpl", size: 19174, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9b, 0x9c, 0x6a, 0x6a, 0xba, 0xc1, 0xb6, 0x72, 0xed, 0xc3, 0xba, 0xfb, 0xaa, 0xdc, 0x17, 0x10, 0x76, 0xd2, 0xd0, 0x33, 0xe, 0xda, 0xa1, 0xfe, 0x8a, 0x27, 0x64, 0x86, 0x3d, 0x9c, 0x77, 0x6f}}
 	return a, nil
 }
@@ -2441,7 +2441,7 @@ func repoSettingsWebhookDingtalkTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/settings/webhook/dingtalk.tmpl", size: 665, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/settings/webhook/dingtalk.tmpl", size: 665, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf9, 0x8d, 0xcf, 0x8d, 0x6b, 0xf9, 0x4, 0xe0, 0xcb, 0xdc, 0x54, 0x4d, 0x49, 0x8a, 0xf1, 0x61, 0xba, 0x5e, 0x76, 0x48, 0x2, 0x3, 0xa6, 0xb5, 0xc5, 0xd8, 0x20, 0x67, 0xc1, 0x98, 0x73, 0x37}}
 	return a, nil
 }
@@ -2461,7 +2461,7 @@ func repoSettingsWebhookDiscordTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/settings/webhook/discord.tmpl", size: 1217, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/settings/webhook/discord.tmpl", size: 1217, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x49, 0x5f, 0xec, 0x8, 0x7c, 0xb0, 0xcb, 0x7f, 0x47, 0xc9, 0xe8, 0x35, 0x65, 0xbe, 0x44, 0xd4, 0x36, 0x34, 0xd7, 0x47, 0x2, 0xcc, 0xf3, 0x7f, 0xdf, 0xa6, 0xe3, 0x30, 0x5a, 0x7a, 0xf2, 0xe6}}
 	return a, nil
 }
@@ -2481,7 +2481,7 @@ func repoSettingsWebhookGogsTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/settings/webhook/gogs.tmpl", size: 1478, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/settings/webhook/gogs.tmpl", size: 1478, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbf, 0x26, 0xa8, 0x9, 0xef, 0xbe, 0x27, 0x7c, 0x4c, 0x80, 0x9f, 0x72, 0x94, 0xa7, 0x13, 0x74, 0xe9, 0x2, 0x4d, 0x5e, 0x6b, 0x67, 0x13, 0x91, 0x49, 0xdd, 0xb8, 0xea, 0x3e, 0x94, 0x2, 0x4c}}
 	return a, nil
 }
@@ -2521,7 +2521,7 @@ func repoSettingsWebhookListTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/settings/webhook/list.tmpl", size: 2048, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/settings/webhook/list.tmpl", size: 2048, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x27, 0xc4, 0xff, 0x53, 0xd3, 0x99, 0x7c, 0xfb, 0x28, 0x44, 0x9f, 0xb5, 0x7c, 0xe7, 0xb0, 0xad, 0xbe, 0xe4, 0x77, 0x7b, 0x25, 0xc4, 0x63, 0x9, 0xd2, 0x35, 0x28, 0x7a, 0xb4, 0x24, 0x19, 0x46}}
 	return a, nil
 }
@@ -2561,7 +2561,7 @@ func repoSettingsWebhookSettingsTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/settings/webhook/settings.tmpl", size: 5012, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/settings/webhook/settings.tmpl", size: 5012, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x47, 0xca, 0xf8, 0xb1, 0x40, 0xb, 0x78, 0xcc, 0x74, 0x3e, 0x89, 0xde, 0xfa, 0xda, 0x23, 0x76, 0x81, 0xda, 0xb1, 0x3f, 0xef, 0xec, 0x3d, 0x98, 0xa7, 0xd0, 0xa8, 0x16, 0xea, 0x3d, 0x8d, 0x45}}
 	return a, nil
 }
@@ -2581,7 +2581,7 @@ func repoSettingsWebhookSlackTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/settings/webhook/slack.tmpl", size: 1480, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/settings/webhook/slack.tmpl", size: 1480, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd0, 0x90, 0xae, 0xea, 0xe4, 0x8, 0x4, 0xfe, 0x98, 0xe6, 0xa3, 0x79, 0x5e, 0x79, 0x21, 0xdb, 0x16, 0xc8, 0xcd, 0x46, 0x18, 0x7a, 0xb2, 0xea, 0x2e, 0xd2, 0xa5, 0xe1, 0xf5, 0x99, 0xab, 0xf9}}
 	return a, nil
 }
@@ -2621,7 +2621,7 @@ func repoView_fileTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/view_file.tmpl", size: 8360, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/view_file.tmpl", size: 8360, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0xb5, 0x3d, 0x63, 0x9f, 0x21, 0x82, 0xe8, 0xba, 0xae, 0xda, 0x1b, 0xb2, 0x89, 0x8c, 0x41, 0x6a, 0x1b, 0xae, 0x8c, 0x2b, 0x7b, 0x0, 0x86, 0xa, 0x29, 0x8d, 0xb8, 0x1d, 0xf8, 0x87, 0x3e}}
 	return a, nil
 }
@@ -2641,7 +2641,7 @@ func repoView_listTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/view_list.tmpl", size: 2335, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "repo/view_list.tmpl", size: 2335, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x99, 0xeb, 0x16, 0x33, 0xee, 0x2c, 0xe3, 0xa8, 0x6, 0xe, 0x34, 0x58, 0xb8, 0x41, 0x3f, 0x1c, 0x79, 0xf8, 0x14, 0xf9, 0xd4, 0x29, 0x38, 0xfa, 0x4a, 0xaf, 0x3e, 0x48, 0x2a, 0xc0, 0x76, 0xfd}}
 	return a, nil
 }
@@ -2741,7 +2741,7 @@ func repoWikiViewTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "repo/wiki/view.tmpl", size: 3376, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "repo/wiki/view.tmpl", size: 3376, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x33, 0x94, 0xdc, 0xc3, 0xa6, 0x74, 0x9e, 0xac, 0x2f, 0x9, 0x3b, 0x49, 0x56, 0xe, 0xea, 0xe, 0x9c, 0xa6, 0x19, 0x7e, 0x85, 0x7, 0xde, 0x3d, 0x27, 0xc, 0x31, 0x89, 0x42, 0xbc, 0xab, 0x81}}
 	return a, nil
 }
@@ -2761,7 +2761,7 @@ func status404Tmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "status/404.tmpl", size: 417, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "status/404.tmpl", size: 417, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x27, 0x7d, 0xff, 0x8d, 0x77, 0xe3, 0xef, 0x9c, 0x93, 0xcf, 0x9c, 0x53, 0x9d, 0x2a, 0x3, 0xd9, 0x6e, 0x7b, 0xac, 0x4f, 0x35, 0xb, 0x76, 0x8b, 0x8a, 0xad, 0xfb, 0xcc, 0x64, 0xd, 0x4e, 0xc6}}
 	return a, nil
 }
@@ -2781,7 +2781,7 @@ func status500Tmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "status/500.tmpl", size: 349, mode: os.FileMode(0664), modTime: time.Unix(1607006119, 0)}
+	info := bindataFileInfo{name: "status/500.tmpl", size: 349, mode: os.FileMode(0664), modTime: time.Unix(1607335966, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfb, 0x82, 0xf3, 0xa4, 0xe, 0xfe, 0x45, 0x27, 0xdc, 0x60, 0xc3, 0xca, 0x25, 0x9e, 0x21, 0x86, 0xdb, 0xe1, 0xec, 0xd0, 0x73, 0x1b, 0xab, 0xcd, 0x83, 0x40, 0xf8, 0x56, 0xc7, 0x2f, 0x8c, 0xfb}}
 	return a, nil
 }
@@ -2901,7 +2901,7 @@ func userAuthSignupTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "user/auth/signup.tmpl", size: 3040, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "user/auth/signup.tmpl", size: 3040, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x83, 0xc4, 0x7f, 0xff, 0x79, 0x5e, 0x8e, 0x7f, 0x42, 0x6f, 0xc8, 0x22, 0xb8, 0x4e, 0x11, 0xe4, 0xff, 0x18, 0x41, 0xd7, 0x9f, 0xd7, 0x71, 0x26, 0xdf, 0x54, 0xae, 0x97, 0x2f, 0xd0, 0xae, 0x14}}
 	return a, nil
 }
@@ -2961,7 +2961,7 @@ func userDashboardDashboardTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "user/dashboard/dashboard.tmpl", size: 5177, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "user/dashboard/dashboard.tmpl", size: 5177, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb8, 0x3, 0x6c, 0xdb, 0x7, 0x2b, 0xd4, 0xe0, 0x47, 0x8, 0x20, 0xce, 0x8, 0x39, 0x74, 0xfb, 0xac, 0xd5, 0x1a, 0x5b, 0x53, 0xf0, 0xbc, 0xea, 0x1, 0x16, 0xf0, 0x98, 0x9b, 0xaf, 0xb0, 0x87}}
 	return a, nil
 }
@@ -3101,7 +3101,7 @@ func userProfileTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "user/profile.tmpl", size: 3861, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "user/profile.tmpl", size: 3861, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x18, 0xf7, 0x2e, 0x15, 0x57, 0x84, 0x54, 0xb2, 0xca, 0x8, 0xf, 0x7e, 0x54, 0xd7, 0xef, 0xc1, 0x5b, 0x32, 0x5, 0x3f, 0x7a, 0x14, 0x70, 0x96, 0x6c, 0x1f, 0xb7, 0x6d, 0x52, 0xdb, 0xcd, 0x2d}}
 	return a, nil
 }
@@ -3261,7 +3261,7 @@ func userSettingsProfileTmpl() (*asset, error) {
 		return nil, err
 	}
 
-	info := bindataFileInfo{name: "user/settings/profile.tmpl", size: 2072, mode: os.FileMode(0664), modTime: time.Unix(1606515612, 0)}
+	info := bindataFileInfo{name: "user/settings/profile.tmpl", size: 2072, mode: os.FileMode(0664), modTime: time.Unix(1607333250, 0)}
 	a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb, 0xa5, 0xb9, 0x41, 0x94, 0x4a, 0x36, 0xe0, 0x3d, 0xed, 0x67, 0x3, 0x55, 0x33, 0x1c, 0x2f, 0xbb, 0xd5, 0x54, 0xc8, 0x7c, 0x4, 0xe3, 0xcc, 0x2c, 0x5b, 0x86, 0xf5, 0xed, 0x9c, 0xd9, 0xfa}}
 	return a, nil
 }

+ 0 - 9
internal/cmd/web.go

@@ -34,7 +34,6 @@ import (
 	"github.com/G-Node/gogs/internal/assets/templates"
 	"github.com/G-Node/gogs/internal/conf"
 	"github.com/G-Node/gogs/internal/context"
-	"github.com/G-Node/gogs/internal/dav"
 	"github.com/G-Node/gogs/internal/db"
 	"github.com/G-Node/gogs/internal/form"
 	"github.com/G-Node/gogs/internal/osutil"
@@ -47,7 +46,6 @@ import (
 	"github.com/G-Node/gogs/internal/route/repo"
 	"github.com/G-Node/gogs/internal/route/user"
 	"github.com/G-Node/gogs/internal/template"
-	"golang.org/x/net/webdav"
 )
 
 var Web = cli.Command{
@@ -155,11 +153,6 @@ func newMacaron() *macaron.Macaron {
 		},
 	}))
 
-	// GIN specifc code: Webdav handler todo: implement
-	h := &webdav.Handler{FileSystem: &dav.GinFS{BasePath: conf.Repository.Root}, LockSystem: webdav.NewMemLS(),
-		Logger: dav.Logger}
-	m.Map(h)
-
 	return m
 }
 
@@ -422,8 +415,6 @@ func runWeb(c *cli.Context) error {
 			m.Combo("/fork/:repoid").Get(repo.Fork).
 				Post(bindIgnErr(form.CreateRepo{}), repo.ForkPost)
 		}, reqSignIn)
-		m.Any("/:username/:reponame/_dav/*", dav.DavMiddle(), dav.Dav) // GIN specific code
-		m.Any("/:username/:reponame/_dav", dav.DavMiddle(), dav.Dav) // GIN specific code
 
 		m.Group("/:username/:reponame", func() {
 			m.Group("/settings", func() {

+ 0 - 2
internal/conf/conf.go

@@ -403,8 +403,6 @@ func Init(customConf string) error {
 		return errors.Wrap(err, "mapping [doi] section")
 	} else if err = File.Section("cliconfig").MapTo(&CLIConfig); err != nil {
 		return errors.Wrap(err, "mapping [cliconfig] section")
-	} else if err = File.Section("dav").MapTo(&WebDav); err != nil {
-		return errors.Wrap(err, "mapping [dav] section")
 	}
 
 	HasRobotsTxt = osutil.IsFile(filepath.Join(CustomDir(), "robots.txt"))

+ 0 - 6
internal/conf/static.go

@@ -378,12 +378,6 @@ var (
 	CLIConfig struct {
 		RSAHostKey string
 	}
-
-	WebDav struct {
-		On        bool
-		Logged    bool
-		AuthRealm string
-	}
 )
 
 type ServerOpts struct {

+ 0 - 364
internal/dav/dav.go

@@ -1,364 +0,0 @@
-package dav
-
-import (
-	"fmt"
-	"io"
-	"net/http"
-	"os"
-	"regexp"
-	"strings"
-	"time"
-
-	"io/ioutil"
-
-	"github.com/G-Node/git-module"
-	"github.com/G-Node/gogs/internal/conf"
-	gctx "github.com/G-Node/gogs/internal/context"
-	"github.com/G-Node/gogs/internal/db"
-	"github.com/G-Node/gogs/internal/tool"
-	"github.com/G-Node/libgin/libgin/annex"
-	"golang.org/x/net/context"
-	"golang.org/x/net/webdav"
-	log "gopkg.in/clog.v1"
-)
-
-var (
-	RE_GETRNAME = regexp.MustCompile(`.+\/(.+)\/_dav`)
-	RE_GETROWN  = regexp.MustCompile(`\/(.+)\/.+\/_dav`)
-	RE_GETFPATH = regexp.MustCompile("/_dav/(.+)")
-)
-
-const ANNEXPEEKSIZE = 1024
-
-func Dav(c *gctx.Context, handler *webdav.Handler) {
-	if !conf.WebDav.On {
-		c.WriteHeader(http.StatusUnauthorized)
-		return
-	}
-	if checkPerms(c) != nil {
-		Webdav401(c)
-		return
-	}
-	handler.ServeHTTP(c.Resp, c.Req.Request)
-	return
-}
-
-// GinFS implements webdav (it implements webdav.Habdler) read only access to a repository
-type GinFS struct {
-	BasePath string
-}
-
-// Mkdir not implemented: Just return an error. -> Read Only
-func (fs *GinFS) Mkdir(ctx context.Context, name string, perm os.FileMode) error {
-	return fmt.Errorf("Mkdir not implemented for read only gin FS")
-}
-
-// RemoveAll not implemented: Just return an error. -> Read Only
-func (fs *GinFS) RemoveAll(ctx context.Context, name string) error {
-	return fmt.Errorf("RemoveAll not implemented for read only gin FS")
-}
-
-// Rename not implemented: Just return an error. -> Read Only
-func (fs *GinFS) Rename(ctx context.Context, oldName, newName string) error {
-	return fmt.Errorf("Rename not implemented for read only gin FS")
-}
-
-// OpenFile returns a named file from the repository
-func (fs *GinFS) OpenFile(ctx context.Context, name string, flag int, perm os.FileMode) (webdav.File, error) {
-	//todo: catch all the errors
-	rname, err := getRName(name)
-	if err != nil {
-		return nil, err
-	}
-
-	oname, err := getOName(name)
-	if err != nil {
-		return nil, err
-	}
-
-	path, _ := getFPath(name)
-
-	rpath := fmt.Sprintf("%s/%s/%s.git", fs.BasePath, oname, rname)
-	grepo, err := git.OpenRepository(rpath)
-	if err != nil {
-		return nil, err
-	}
-	com, err := grepo.GetBranchCommit("master")
-	if err != nil {
-		return nil, err
-	}
-	tree, _ := com.SubTree(path)
-	trentry, _ := com.GetTreeEntryByPath(path)
-	return &GinFile{trentry: trentry, tree: tree, LChange: com.Committer.When, rpath: rpath}, nil
-}
-
-func (fs *GinFS) Stat(ctx context.Context, name string) (os.FileInfo, error) {
-	f, err := fs.OpenFile(ctx, name, 0, 0)
-	if err != nil {
-		return nil, err
-	}
-	return f.Stat()
-}
-
-type GinFile struct {
-	tree      *git.Tree
-	trentry   *git.TreeEntry
-	dirrcount int
-	seekoset  int64
-	LChange   time.Time
-	rpath     string
-	afp       *os.File
-}
-
-func (f *GinFile) Write(p []byte) (n int, err error) {
-	return 0, fmt.Errorf("write to GinFile not implemented (read only)")
-}
-
-func (f *GinFile) Close() error {
-	if f.afp != nil {
-		return f.afp.Close()
-	}
-	return nil
-}
-
-func (f *GinFile) read(p []byte) (int, error) {
-	if f.trentry == nil {
-		return 0, fmt.Errorf("File not found")
-	}
-	if f.trentry.Type != git.OBJECT_BLOB {
-		return 0, fmt.Errorf("not a blob")
-	}
-	data, err := f.trentry.Blob().Data()
-	if err != nil {
-		return 0, err
-	}
-	// todo: read with pipes
-	io.CopyN(ioutil.Discard, data, f.seekoset)
-	n, err := data.Read(p)
-	if err != nil {
-		return n, err
-	}
-	return n, nil
-}
-func (f *GinFile) Read(p []byte) (int, error) {
-	if f.afp != nil {
-		return f.afp.Read(p)
-	}
-	tmp := make([]byte, len(p))
-	n, err := f.read(tmp)
-	tmp = tmp[:n]
-	if err != nil {
-		return n, err
-	}
-
-	annexed := tool.IsAnnexedFile(tmp)
-	if annexed {
-		af, err := annex.NewAFile(f.rpath, "annex", f.trentry.Name(), tmp)
-		if err != nil {
-			return n, err
-		}
-		f.afp, _ = af.Open()
-		f.afp.Seek(f.seekoset, io.SeekStart)
-		return f.afp.Read(p)
-	}
-	copy(p, tmp)
-	f.Seek(int64(n), io.SeekCurrent)
-	return n, nil
-}
-
-func (f *GinFile) Seek(offset int64, whence int) (int64, error) {
-	if f.afp != nil {
-		return f.afp.Seek(offset, whence)
-	}
-	st, err := f.Stat()
-	if err != nil {
-		return f.seekoset, err
-	}
-	switch whence {
-	case io.SeekStart:
-		if offset > st.Size() || offset < 0 {
-			return 0, fmt.Errorf("cannot seek to %d, only %d big", offset, st.Size())
-		}
-		f.seekoset = offset
-		return f.seekoset, nil
-	case io.SeekCurrent:
-		noffset := f.seekoset + offset
-		if noffset > st.Size() || noffset < 0 {
-			return 0, fmt.Errorf("cannot seek to %d, only %d big", offset, st.Size())
-		}
-		f.seekoset = noffset
-		return f.seekoset, nil
-	case io.SeekEnd:
-		fsize := st.Size()
-		noffset := fsize - offset
-		if noffset > fsize || noffset < 0 {
-			return 0, fmt.Errorf("cannot seek to %d, only %d big", offset, st.Size())
-		}
-		f.seekoset = noffset
-		return f.seekoset, nil
-	}
-	return f.seekoset, fmt.Errorf("seeking failed")
-}
-
-func (f *GinFile) Readdir(count int) ([]os.FileInfo, error) {
-	ents, err := f.tree.ListEntries()
-	if err != nil {
-		return nil, err
-	}
-	// give back all the stuff
-	if count <= 0 {
-		return f.getFInfos(ents)
-	}
-	// user requested a bufferrd read
-	switch {
-	case count > len(ents):
-		infos, err := f.getFInfos(ents)
-		if err != nil {
-			return nil, err
-		}
-		return infos, io.EOF
-	case f.dirrcount >= len(ents):
-		return nil, io.EOF
-	case f.dirrcount+count >= len(ents):
-		infos, err := f.getFInfos(ents[f.dirrcount:])
-		if err != nil {
-			return nil, err
-		}
-		f.dirrcount = len(ents)
-		return infos, io.EOF
-	case f.dirrcount+count < len(ents):
-		infos, err := f.getFInfos(ents[f.dirrcount : f.dirrcount+count])
-		if err != nil {
-			return nil, err
-		}
-		f.dirrcount = f.dirrcount + count
-		return infos, nil
-	}
-	return nil, nil
-}
-
-func (f *GinFile) getFInfos(ents []*git.TreeEntry) ([]os.FileInfo, error) {
-	infos := make([]os.FileInfo, len(ents))
-	for c, ent := range ents {
-		finfo, err := GinFile{trentry: ent, rpath: f.rpath}.Stat()
-		if err != nil {
-			return nil, err
-		}
-		infos[c] = finfo
-	}
-	return infos, nil
-}
-func (f GinFile) Stat() (os.FileInfo, error) {
-	if f.trentry == nil {
-		return nil, fmt.Errorf("File not found")
-	}
-	if f.trentry.Type != git.OBJECT_BLOB {
-		return GinFinfo{TreeEntry: f.trentry, LChange: f.LChange}, nil
-	}
-	peek := make([]byte, ANNEXPEEKSIZE)
-	offset := f.seekoset
-	f.seekoset = 0
-	n, err := f.read(peek)
-	f.seekoset = offset
-	if err != nil {
-		return nil, err
-	}
-	peek = peek[:n]
-	if tool.IsAnnexedFile(peek) {
-		af, err := annex.NewAFile(f.rpath, "annex", f.trentry.Name(), peek)
-		if err != nil {
-			return nil, err
-		}
-		f.trentry.SetSize(af.Info.Size())
-	}
-	return GinFinfo{TreeEntry: f.trentry, LChange: f.LChange}, nil
-}
-
-type GinFinfo struct {
-	*git.TreeEntry
-	LChange time.Time
-}
-
-func (i GinFinfo) Mode() os.FileMode {
-	return 0
-}
-
-func (i GinFinfo) ModTime() time.Time {
-	return i.LChange
-}
-
-func (i GinFinfo) Sys() interface{} {
-	return nil
-}
-
-func checkPerms(c *gctx.Context) error {
-	if !c.Repo.HasAccess() {
-		return fmt.Errorf("no access")
-	}
-	if !conf.WebDav.Logged {
-		return nil
-	}
-	if !c.IsLogged {
-		return fmt.Errorf("no access")
-	}
-	return nil
-}
-
-func getRepo(path string) (*db.Repository, error) {
-	oID, err := getROwnerID(path)
-	if err != nil {
-		return nil, err
-	}
-
-	rname, err := getRName(path)
-	if err != nil {
-		return nil, err
-	}
-
-	return db.GetRepositoryByName(oID, rname)
-}
-
-func getRName(path string) (string, error) {
-	name := RE_GETRNAME.FindStringSubmatch(path)
-	if len(name) > 1 {
-		return strings.ToLower(name[1]), nil
-	}
-	return "", fmt.Errorf("could not determine repo name")
-}
-
-func getOName(path string) (string, error) {
-	name := RE_GETROWN.FindStringSubmatch(path)
-	if len(name) > 1 {
-		return strings.ToLower(name[1]), nil
-	}
-	return "", fmt.Errorf("could not determine repo owner")
-}
-
-func getFPath(path string) (string, error) {
-	name := RE_GETFPATH.FindStringSubmatch(path)
-	if len(name) > 1 {
-		return name[1], nil
-	}
-	return "", fmt.Errorf("could not determine file path from %s", name)
-}
-
-func getROwnerID(path string) (int64, error) {
-	name := RE_GETROWN.FindStringSubmatch(path)
-	if len(name) > 1 {
-		db.GetUserByName(name[1])
-	}
-	return -100, fmt.Errorf("could not determine repo owner")
-}
-
-func Webdav401(c *gctx.Context) {
-	c.Header().Add("WWW-Authenticate", fmt.Sprintf("Basic realm=\"%s\"", conf.WebDav.AuthRealm))
-	c.WriteHeader(http.StatusUnauthorized)
-	return
-}
-
-func Logger(req *http.Request, err error) {
-	if err != nil {
-		log.Info("davlog: err:%+v", err)
-		log.Trace("davlog: req:%+v", req)
-	}
-}

+ 0 - 100
internal/dav/middle.go

@@ -1,100 +0,0 @@
-package dav
-
-import (
-	"net/http"
-	"strings"
-
-	"github.com/G-Node/gogs/internal/context"
-	"github.com/G-Node/gogs/internal/db"
-	"github.com/gogs/git-module"
-	"gopkg.in/macaron.v1"
-)
-
-// DavMiddle initialises and returns a WebDav middleware handler (macaron.Handler)
-// [0]: issues, [1]: wiki
-func DavMiddle() macaron.Handler {
-	return func(c *context.Context) {
-		var (
-			owner *db.User
-			err   error
-		)
-
-		ownerName := c.Params(":username")
-		repoName := strings.TrimSuffix(c.Params(":reponame"), ".git")
-
-		// Check if the user is the same as the repository owner
-		if c.IsLogged && c.User.LowerName == strings.ToLower(ownerName) {
-			owner = c.User
-		} else {
-			owner, err = db.GetUserByName(ownerName)
-			if err != nil {
-				Webdav401(c)
-				return
-			}
-		}
-		c.Repo.Owner = owner
-
-		repo, err := db.GetRepositoryByName(owner.ID, repoName)
-		if err != nil {
-			Webdav401(c)
-			return
-		}
-
-		c.Repo.Repository = repo
-		c.Repo.RepoLink = repo.Link()
-
-		// Admin has super access.
-		if c.IsLogged && c.User.IsAdmin {
-			c.Repo.AccessMode = db.AccessModeOwner
-		} else {
-			mode, err := db.UserAccessMode(c.UserID(), repo)
-			if err != nil {
-				c.WriteHeader(http.StatusInternalServerError)
-				return
-			}
-			c.Repo.AccessMode = mode
-		}
-
-		if repo.IsMirror {
-			c.Repo.Mirror, err = db.GetMirrorByRepoID(repo.ID)
-			if err != nil {
-				c.WriteHeader(http.StatusInternalServerError)
-				return
-			}
-		}
-
-		gitRepo, err := git.Open(db.RepoPath(ownerName, repoName))
-		if err != nil {
-			c.WriteHeader(http.StatusInternalServerError)
-			return
-		}
-		c.Repo.GitRepo = gitRepo
-
-		tags, err := c.Repo.GitRepo.Tags()
-		if err != nil {
-			c.WriteHeader(http.StatusInternalServerError)
-			return
-		}
-		c.Repo.Repository.NumTags = len(tags)
-
-		// repo is bare and display enable
-		if c.Repo.Repository.IsBare {
-			return
-		}
-
-		brs, err := c.Repo.GitRepo.Branches()
-		if err != nil {
-			c.WriteHeader(http.StatusInternalServerError)
-			return
-		}
-		// If not branch selected, try default one.
-		// If default branch doesn't exists, fall back to some other branch.
-		if len(c.Repo.BranchName) == 0 {
-			if len(c.Repo.Repository.DefaultBranch) > 0 && gitRepo.HasBranch(c.Repo.Repository.DefaultBranch) {
-				c.Repo.BranchName = c.Repo.Repository.DefaultBranch
-			} else if len(brs) > 0 {
-				c.Repo.BranchName = brs[0]
-			}
-		}
-	}
-}

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
public/css/gogs.min.css.map


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels