README: update Features list

[CI SKIP]
pull/5927/head
ᴜɴᴋɴᴡᴏɴ 2020-02-18 19:24:39 +08:00
parent f85b17a00e
commit 3797a4839d
No known key found for this signature in database
GPG Key ID: B43718D76E30A238
4 changed files with 32 additions and 38 deletions

View File

@ -32,24 +32,19 @@ The Gogs (`/gɑgz/`) project aims to build a simple, stable and extensible self-
## Features ## Features
- Activity timeline - User dashboard, user profile and activity timeline.
- SSH and HTTP/HTTPS protocols - Access repositories via SSH, HTTP and HTTPS protocols.
- SMTP/LDAP/Reverse proxy authentication - User, organization and repository management.
- Reverse proxy with sub-path - Repository and organization webhooks, including Slack, Discord and Dingtalk.
- Account/Organization/Repository management - Repository Git hooks and deploy keys.
- Add/Remove repository collaborators - Repository issues, pull requests, wiki, protected branches and collaboration.
- Repository/Organization webhooks (including Slack and Discord) - Migrate and mirror repositories with wiki from other code hosts.
- Repository Git hooks/deploy keys - Web editor for quick editing repository files and wiki.
- Repository issues, pull requests, wiki and protected branches - Jupyter Notebook and PDF rendering.
- Migrate and mirror repository and its wiki - Authentication via SMTP, LDAP, reverse proxy, GitHub.com and GitHub Enterprise with 2FA.
- Web editor for repository files and wiki - Customize HTML templates, static files and many others.
- Jupyter Notebook - Rich database backend, including PostgreSQL, MySQL, SQLite3, MSSQL and [TiDB](https://github.com/pingcap/tidb).
- Two-factor authentication - Have localization over [30 languages](https://crowdin.com/project/gogs).
- Gravatar and Federated avatar with custom source
- Mail service
- Administration panel
- Supports MySQL, PostgreSQL, SQLite3, MSSQL and [TiDB](https://github.com/pingcap/tidb) (via MySQL protocol)
- Multi-language support ([30 languages](https://crowdin.com/project/gogs))
## Hardware Requirements ## Hardware Requirements

View File

@ -13,26 +13,22 @@ Gogs`/gɑgz/`)项目旨在打造一个以最简便的方式搭建简单、
- 使用过程中遇到问题?尝试从 [故障排查](https://gogs.io/docs/intro/troubleshooting.html) 页面或 [用户论坛](https://discuss.gogs.io/) 获取帮助。 - 使用过程中遇到问题?尝试从 [故障排查](https://gogs.io/docs/intro/troubleshooting.html) 页面或 [用户论坛](https://discuss.gogs.io/) 获取帮助。
- 希望帮助多国语言界面的翻译吗?请立即访问 [详情页面](https://gogs.io/docs/features/i18n.html) - 希望帮助多国语言界面的翻译吗?请立即访问 [详情页面](https://gogs.io/docs/features/i18n.html)
## 功能特性 ## 主要特性
- 支持活动时间线 - 控制面板、用户页面以及活动时间线
- 支持 SSH 以及 HTTP/HTTPS 协议 - 通过 SSH、HTTP 和 HTTPS 协议操作仓库
- 支持 SMTP、LDAP 和反向代理的用户认证 - 管理用户、组织和仓库
- 支持反向代理子路径 - 仓库和组织级 Webhook包括 Slack、Discord 和钉钉
- 支持用户、组织和仓库管理系统 - 仓库 Git 钩子和部署密钥
- 支持添加和删除仓库协作者 - 仓库工单Issue、合并请求Pull Request、Wiki、保护分支和多人协作
- 支持仓库和组织级别 Web 钩子(包括 Slack 和 Discord 集成) - 从其它代码平台迁移和镜像仓库以及 Wiki
- 支持仓库 Git 钩子和部署密钥 - 在线编辑仓库文件和 Wiki
- 支持仓库工单Issue、合并请求Pull Request、Wiki 和保护分支 - Jupyter Notebook 和 PDF 的渲染
- 支持迁移和镜像仓库以及它的 Wiki - 通过 SMTP、LDAP、反向代理、GitHub.com 和 GitHub 企业版进行用户认证
- 支持在线编辑仓库文件和 Wiki - 开启两步验证2FA登录
- 支持自定义源的 Gravatar 和 Federated Avatar - 自定义 HTML 模板、静态文件和许多其它组件
- 支持 Jupyter Notebook - 多样的数据库后端,包括 PostgreSQL、MySQL、SQLite3、MSSQL 和 [TiDB](https://github.com/pingcap/tidb)
- 支持两步验证登录 - 超过[30 种语言](https://crowdin.com/project/gogs)的本地化
- 支持邮件服务
- 支持后台管理面板
- 支持 MySQL、PostgreSQL、SQLite3、MSSQL 和 [TiDB](https://github.com/pingcap/tidb)(通过 MySQL 协议)数据库
- 支持多语言本地化([30 种语言]([more](https://crowdin.com/project/gogs))
## 硬件要求 ## 硬件要求

3
go.sum
View File

@ -121,6 +121,7 @@ github.com/json-iterator/go v1.1.7 h1:KfgG9LzI+pYjr4xvmz/5H4FXjokeP+rlHLhv3iH62F
github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
github.com/jtolds/gls v4.2.1+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/jtolds/gls v4.2.1+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo=
github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
@ -220,9 +221,11 @@ github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPx
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
github.com/smartystreets/assertions v0.0.0-20190116191733-b6c0e53d7304/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/assertions v0.0.0-20190116191733-b6c0e53d7304/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
github.com/smartystreets/assertions v1.0.1 h1:voD4ITNjPL5jjBfgR/r8fPIIBrliWrWHeiJApdr3r4w=
github.com/smartystreets/assertions v1.0.1/go.mod h1:kHHU4qYBaI3q23Pp3VPrmWhuIUrLW/7eUrw0BU5VaoM= github.com/smartystreets/assertions v1.0.1/go.mod h1:kHHU4qYBaI3q23Pp3VPrmWhuIUrLW/7eUrw0BU5VaoM=
github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c/go.mod h1:XDJAKZRPZ1CvBcN2aX5YOUTYGHki24fSF0Iv48Ibg0s= github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c/go.mod h1:XDJAKZRPZ1CvBcN2aX5YOUTYGHki24fSF0Iv48Ibg0s=
github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337 h1:WN9BUFbdyOsSH/XohnWpXOlq9NBD5sGAB2FciQMUEe8=
github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf h1:pvbZ0lM0XWPBqUKqFU8cmavspvIl9nulOYwdy6IFRRo= github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf h1:pvbZ0lM0XWPBqUKqFU8cmavspvIl9nulOYwdy6IFRRo=
github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf/go.mod h1:RJID2RhlZKId02nZ62WenDCkgHFerpIOmW0iT7GKmXM= github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf/go.mod h1:RJID2RhlZKId02nZ62WenDCkgHFerpIOmW0iT7GKmXM=

View File

@ -116,7 +116,7 @@ func NewRepoContext() {
log.Fatal(2, "Failed to get Git version: %v", err) log.Fatal(2, "Failed to get Git version: %v", err)
} }
log.Info("Git Version: %s", setting.Git.Version) log.Info("Git version: %s", setting.Git.Version)
if version.Compare("1.8.3", setting.Git.Version, ">") { if version.Compare("1.8.3", setting.Git.Version, ">") {
log.Fatal(2, "Gogs requires Git version greater or equal to 1.8.3") log.Fatal(2, "Gogs requires Git version greater or equal to 1.8.3")
} }