forked from gitea/gitea
1
0
Fork 0
新一代DevSecOps平台,包括项目管理,代码托管,代码审查,安全扫描,CI/CD,制品库等功能,把Github搬回家。
Go to file
Lanre Adelowo 6c1a31ffaa User shouldn't be able to approve or reject his/her own PR (#4729)
* Make sure author cannot reject/approve their own PR

* Disable buttons in templates too

* Remove unneccessary if check since the switch below catches it

* Fix IsOwner check

* Update template and remove new template variable

* Add alert template and redirect to diff page on review failure

* Redirect to files diff as a little update to #4632
2018-08-20 07:04:01 +02:00
.github Comment help text for issues (#2281) 2017-08-09 12:13:33 +08:00
assets Add task to generate images from SVG and change to new logo (#2194) 2017-07-28 13:51:20 +08:00
cmd cmd/serve: pprof cpu and memory profile dumps to disk (#4560) 2018-08-07 14:49:18 -04:00
contrib Add a basic SMF manifest for SunOS platforms (#4238) 2018-06-25 00:24:00 +03:00
custom/conf Disable merging a WIP Pull request (#4529) 2018-08-13 22:04:39 +03:00
docker Remove UsePrivilegeSeparation from the Docker sshd_config, see #2876 (#4722) 2018-08-16 01:58:12 +03:00
docs Disable merging a WIP Pull request (#4529) 2018-08-13 22:04:39 +03:00
integrations Disable merging a WIP Pull request (#4529) 2018-08-13 22:04:39 +03:00
models Fix failure on creating pull request with assignees (#4419) (#4583) 2018-08-16 19:52:51 +08:00
modules Improve URL validation for external wiki and external issues (#4710) 2018-08-15 09:29:37 +03:00
options User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
public Focus title input when clicking helper link (#4696) 2018-08-14 09:10:26 +03:00
routers User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
scripts Updating generate-licenses.go to fetch licenses from maintained repository. (#3484) 2018-02-12 20:20:30 +02:00
snap snap-packaging for gitea (#2568) 2018-05-09 22:52:51 +08:00
templates User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
vendor Update xorm to latest version and fix correct `user` table referencing in sql (#4473) 2018-07-20 10:10:17 +08:00
.changelog.yml Add changelog config file for generate changelog (#2461) 2017-09-04 13:07:57 +03:00
.drone.yml Enable swagger validation back as issue with it has been fixed upstream (#4673) 2018-08-11 20:08:17 -04:00
.editorconfig switch gitter to discord for drone. (#1971) 2017-06-15 10:47:42 +08:00
.gitattributes ignore static files statstics for linguist 2016-12-27 16:49:25 +01:00
.gitignore snap-packaging for gitea (#2568) 2018-05-09 22:52:51 +08:00
.lgtm refactor: ignore LGTM from author of pull request. (#3283) 2018-01-02 06:13:49 -06:00
BSDmakefile Add BSDmakefile to prevent errors when `make` is called under FreeBSD (#4446) 2018-07-16 20:45:51 +02:00
CHANGELOG.md Add 1.5.0 changelog (#4661) 2018-08-11 04:38:44 -04:00
CONTRIBUTING.md Add security advice to contrib guide (#4187) 2018-06-09 12:03:23 -04:00
DCO follow the advisor: add DCO and some improvements 2016-11-04 16:43:41 +08:00
Dockerfile Fix docker build (#4358) 2018-07-04 12:27:30 +03:00
Gopkg.lock Update xorm to latest version and fix correct `user` table referencing in sql (#4473) 2018-07-20 10:10:17 +08:00
Gopkg.toml Update xorm to latest version and fix correct `user` table referencing in sql (#4473) 2018-07-20 10:10:17 +08:00
LICENSE Fix typo 2016-11-08 08:42:05 +01:00
MAINTAINERS Add myself as a maintainer (#4345) 2018-07-01 09:02:18 +03:00
Makefile Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
README.md Added question for Gitea hosted Gitea (#4397) 2018-07-08 22:41:31 +02:00
README_ZH.md Add whitespace between chinese characters and english characters. (#4731) 2018-08-17 09:26:00 +08:00
main.go Add csv file render support defaultly (#4105) 2018-07-21 00:08:15 +03:00
package-lock.json Update npm dependencies, regenerate CSS (#4415) 2018-07-11 10:54:28 -04:00
package.json Update npm dependencies, regenerate CSS (#4415) 2018-07-11 10:54:28 -04:00

README.md

简体中文

Gitea - Git with a cup of tea

Build Status Join the Discord chat at https://discord.gg/NsatcWJ codecov Go Report Card GoDoc GitHub release Help Contribute to Open Source Become a backer/sponsor of gitea

Purpose

The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. Using Go, this can be done with an independent binary distribution across all platforms which Go supports, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. Want to try it before doing anything else? Do it with the online demo! This project has been forked from Gogs since 2016.11 but changed a lot.

Building

From the root of the source tree, run:

make generate all

More info: https://docs.gitea.io/en-us/install-from-source/

Using

./gitea web

NOTE: If you're interested in using our APIs, we have experimental support with documentation.

Contributing

Expected workflow is: Fork -> Patch -> Push -> Pull Request

NOTES:

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you have found a vulnerability in the project, please write privately to security@gitea.io. Thanks!

Further information

For more information and instructions about how to install Gitea, please look at our documentation. If you have questions that are not covered by the documentation, you can get in contact with us on our Discord server, or forum!

Authors

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

FAQ

How do you pronounce Gitea?

Gitea is pronounced /ɡɪti:/ as in "gi-tea" with a hard g.

Why is this not hosted on a Gitea instance?

We're working on it.

License

This project is licensed under the MIT License. See the LICENSE file for the full license text.

Screenshots

Looking for an overview of the interface? Check it out!

Dashboard Repository Commits History
Branches Issues Pull Request View
Releases Activity Wiki
Diff Organization Profile