Unknown před 11 roky
rodič
revize
40b22822fc
3 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 1 0
      README.md
  2. 1 0
      README_ZH.md
  3. 1 1
      models/repo.go

+ 1 - 0
README.md

@@ -53,6 +53,7 @@ There are two ways to install Gogs:
 - Mail Service, modules design is inspired by [WeTalk](https://github.com/beego/wetalk).
 - System Monitor Status is inspired by [GoBlog](https://github.com/fuxiaohei/goblog).
 - Usage and modification from [beego](http://beego.me) modules.
+- Thanks [gobuild.io](http://gobuild.io) for providing binary compile and download service.
 
 ## Contributors
 

+ 1 - 0
README_ZH.md

@@ -49,6 +49,7 @@ Gogs 完全使用 Go 语言来实现对 Git 数据的操作,实现 **零** 依
 - 基于 [GoBlog](https://github.com/fuxiaohei/goblog) 修改的系统监视状态。
 - [beego](http://beego.me) 模块的使用与修改。
 - [martini](http://martini.codegangsta.io/) 的路由与中间件机制。
+- 感谢 [gobuild.io](http://gobuild.io) 提供二进制编译与下载服务。
 
 ## 贡献成员
 

+ 1 - 1
models/repo.go

@@ -109,7 +109,7 @@ func IsRepositoryExist(user *User, repoName string) (bool, error) {
 
 var (
 	// Define as all lower case!!
-	illegalPatterns = []string{"[.][Gg][Ii][Tt]", "user", "help", "stars", "issues", "pulls", "commits", "admin", "repo", "template", "admin"}
+	illegalPatterns = []string{"[.][Gg][Ii][Tt]", "raw", "user", "help", "stars", "issues", "pulls", "commits", "admin", "repo", "template", "admin"}
 )
 
 // IsLegalName returns false if name contains illegal characters.