Browse Source

lock gopmfile

Unknwon 10 years ago
parent
commit
5d9ef2bb12
6 changed files with 15 additions and 13 deletions
  1. 10 10
      .gopmfile
  2. 1 1
      README.md
  3. 1 1
      README_ZH.md
  4. 1 1
      models/publickey.go
  5. 1 0
      public/ng/css/gogs.css
  6. 1 0
      public/ng/less/gogs/repository.less

+ 10 - 10
.gopmfile

@@ -7,21 +7,21 @@ github.com/beego/redigo = commit:856744a0d5
 github.com/Unknwon/cae = commit:2e70a1351b
 github.com/Unknwon/com = commit:2cbcbc6916
 github.com/Unknwon/goconfig = commit:0f8d8dc1c0
-github.com/Unknwon/i18n = 
-github.com/Unknwon/macaron = 
+github.com/Unknwon/i18n = commit:aec5f77857
+github.com/Unknwon/macaron = commit:5c8d1b7642
 github.com/codegangsta/cli = commit:7381bc4e62
 github.com/go-sql-driver/mysql = commit:8111ee3ec3
-github.com/go-xorm/core = 
-github.com/go-xorm/xorm = 
-github.com/gogits/go-gogs-client = 
+github.com/go-xorm/core = commit:3e0fa232ab
+github.com/go-xorm/xorm = commit:58d33844ce
+github.com/gogits/go-gogs-client = commit:a5c3262f5e
 github.com/gogits/oauth2 = commit:99cbec870a
 github.com/lib/pq = commit:b021d0ef20
-github.com/macaron-contrib/binding = 
-github.com/macaron-contrib/cache = 
-github.com/macaron-contrib/captcha = 
-github.com/macaron-contrib/csrf = 
+github.com/macaron-contrib/binding = commit:0e23661e7d
+github.com/macaron-contrib/cache = commit:0bb9e6c9ef
+github.com/macaron-contrib/captcha = commit:3567dc48b8
+github.com/macaron-contrib/csrf = commit:422b79675c
 github.com/macaron-contrib/i18n = commit:2246f45894
-github.com/macaron-contrib/session = 
+github.com/macaron-contrib/session = commit:f00d48fd4f
 github.com/macaron-contrib/toolbox = commit:57127bcc89
 github.com/mattn/go-sqlite3 = commit:a80c27ba33
 github.com/nfnt/resize = commit:581d15cb53

+ 1 - 1
README.md

@@ -5,7 +5,7 @@ Gogs(Go Git Service) is a painless self-hosted Git Service written in Go.
 
 ![Demo](https://gowalker.org/public/gogs_demo.gif)
 
-##### Current version: 0.5.7 Beta
+##### Current version: 0.5.8 Beta
 
 ### NOTICES
 

+ 1 - 1
README_ZH.md

@@ -5,7 +5,7 @@ Gogs(Go Git Service) 是一个基于 Go 语言的自助 Git 服务。
 
 ![Demo](https://gowalker.org/public/gogs_demo.gif)
 
-##### 当前版本:0.5.7 Beta
+##### 当前版本:0.5.8 Beta
 
 ## 开发目的
 

+ 1 - 1
models/publickey.go

@@ -81,7 +81,7 @@ type PublicKey struct {
 	Id                int64
 	OwnerId           int64     `xorm:"UNIQUE(s) INDEX NOT NULL"`
 	Name              string    `xorm:"UNIQUE(s) NOT NULL"`
-	Fingerprint       string    `xorm:"INDEX NOT NULL"`
+	Fingerprint       string    `xorm:"UNIQUE NOT NULL"`
 	Content           string    `xorm:"TEXT NOT NULL"`
 	Created           time.Time `xorm:"CREATED"`
 	Updated           time.Time

+ 1 - 0
public/ng/css/gogs.css

@@ -1427,6 +1427,7 @@ The register and sign-in page style
 }
 .code-view .lines-code > pre > ol.linenums > li {
   padding: 0 10px;
+  line-height: 20px;
 }
 .code-view .lines-code > pre > ol.linenums > li.active {
   background: #ffffdd;

+ 1 - 0
public/ng/less/gogs/repository.less

@@ -458,6 +458,7 @@
         border-left: 1px solid #ddd;
         > ol.linenums > li {
             padding: 0 10px;
+            line-height: 20px;
             &.active {
                 background: #ffffdd;
             }