Browse Source

vendor: update github.com/go-macaron/captcha

[CI SKIP]
pull/4300/merge
Unknwon 8 years ago
parent
commit
aff55ff105
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 2
      README.md
  2. 2
      README_ZH.md
  3. 2
      vendor/github.com/go-macaron/captcha/captcha.go
  4. 6
      vendor/vendor.json

2
README.md

@ -50,7 +50,7 @@ The goal of this project is to make the easiest, fastest, and most painless way
- Gravatar and Federated avatar with custom source
- Mail service
- Administration panel
- Supports MySQL, PostgreSQL, SQLite3, MSSQL and [TiDB](https://github.com/pingcap/tidb) (experimental)
- Supports MySQL, PostgreSQL, SQLite3, MSSQL and [TiDB](https://github.com/pingcap/tidb) (via MySQL protocol)
- Multi-language support ([23 languages](https://crowdin.com/project/gogs))
## Hardware Requirements

2
README_ZH.md

@ -31,7 +31,7 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
- 支持 Jupyter Notebook
- 支持邮件服务
- 支持后台管理面板
- 支持 MySQL、PostgreSQL、SQLite3、MSSQL 和 [TiDB](https://github.com/pingcap/tidb)(实验性支持) 数据库
- 支持 MySQL、PostgreSQL、SQLite3、MSSQL 和 [TiDB](https://github.com/pingcap/tidb)(通过 MySQL 协议)数据库
- 支持多语言本地化([23 种语言]([more](https://crowdin.com/project/gogs)))
## 硬件要求

2
vendor/github.com/go-macaron/captcha/captcha.go generated vendored

@ -68,7 +68,7 @@ func (c *Captcha) CreateHtml() template.HTML {
panic(fmt.Errorf("fail to create captcha: %v", err))
}
return template.HTML(fmt.Sprintf(`<input type="hidden" name="%s" value="%s">
<a class="captcha" href="javascript:">
<a class="captcha" href="javascript:" tabindex="-1">
<img onclick="this.src=('%s%s%s.png?reload='+(new Date()).getTime())" class="captcha-img" src="%s%s%s.png">
</a>`, c.FieldIdName, value, c.SubURL, c.URLPrefix, value, c.SubURL, c.URLPrefix, value))
}

6
vendor/vendor.json vendored

@ -75,10 +75,10 @@
"revisionTime": "2015-10-13T08:11:02Z"
},
{
"checksumSHA1": "ifjG+PNGY7+sNm3WoA3UntmUTa4=",
"checksumSHA1": "kWnClaQsy/2YLvx2SrSUGgSyhzk=",
"path": "github.com/go-macaron/captcha",
"revision": "8aa5919789ab301e865595eb4b1114d6b9847deb",
"revisionTime": "2015-11-23T22:51:53Z"
"revision": "a9d45b762e2537878323cd8a4147644378f09be1",
"revisionTime": "2017-03-28T22:26:02Z"
},
{
"checksumSHA1": "i52HJHpyI3avut3QAIrrD0h7gmY=",

Loading…
Cancel
Save