Go to file
silverwind fd094eea95 fix commit view JS features, reimplement folding (#9968)
* fix commit view JS features, reimplement folding

File content folding was not working so I reimplemented it in a saner
way. Then I noticed the issue was actually because of missing JS
libraries (seen on the console of every commit with error
'SimpleMDE is not defined').

Fixed the libraries. I think the reimplementation is worth to keep.

* add .closest polyfill

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-01-26 08:17:25 +00:00
.github Improve stale message (#9920) 2020-01-22 12:55:27 +02:00
assets
cmd API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
contrib Add Privacy Policy and Terms of Service Page (#9513) 2020-01-14 14:34:40 +01:00
custom/conf Make archive prefixing configurable with a global setting (#9943) 2020-01-22 23:46:46 +00:00
docker
docs Update migration instructions (#9955) 2020-01-24 14:23:38 +00:00
integrations Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) 2020-01-25 10:48:22 +08:00
models Fix wrong paging on org members (#9990) 2020-01-26 15:32:53 +08:00
modules Sanitize credentials in mirror form (#9975) 2020-01-25 10:57:42 +00:00
options [skip ci] Updated translations via Crowdin 2020-01-25 19:02:32 +00:00
public Change font to Roboto to support more charsets (#9803) 2020-01-25 23:47:42 +02:00
routers fix commit view JS features, reimplement folding (#9968) 2020-01-26 08:17:25 +00:00
scripts Fix regexp ranges (#9977) 2020-01-25 14:49:47 +00:00
services Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) 2020-01-25 10:48:22 +08:00
snap Remove explicit 'generate' calls, fix release task (#9288) 2019-12-08 18:56:59 +02:00
templates fix commit view JS features, reimplement folding (#9968) 2020-01-26 08:17:25 +00:00
vendor Add support for database schema in PostgreSQL (#8819) 2020-01-20 16:45:14 +01:00
web_src fix commit view JS features, reimplement folding (#9968) 2020-01-26 08:17:25 +00:00
.changelog.yml Changelog 1.10.3 (#9832) (#9850) 2020-01-17 17:03:07 -05:00
.drone.yml combine make calls on drone (#9979) 2020-01-25 16:42:38 +00:00
.editorconfig
.eslintignore
.eslintrc
.gitattributes
.gitignore Use npm to manage fomantic and only build needed components (#9561) 2020-01-21 13:17:58 +08:00
.golangci.yml
.ignore remove promise-polyfill (#9812) 2020-01-16 22:52:07 +00:00
.lgtm
.npmrc add package-lock=true in .npmrc (#9736) 2020-01-13 00:11:43 +01:00
.revive.toml
.stylelintrc
BSDmakefile
CHANGELOG.md Changelog 1.11.0-rc2 (#9853) (#9940) 2020-01-22 15:51:38 -05:00
CONTRIBUTING.md Update date for new year (#9644) 2020-01-07 23:06:45 -05:00
DCO
Dockerfile alpine 3.11 (#9440) 2019-12-26 19:52:32 -05:00
go.mod Add support for database schema in PostgreSQL (#8819) 2020-01-20 16:45:14 +01:00
go.sum Add support for database schema in PostgreSQL (#8819) 2020-01-20 16:45:14 +01:00
LICENSE
main.go chore: update default version (#9916) 2020-01-25 13:21:22 +00:00
MAINTAINERS Update Owners for upcoming year (#9290) 2019-12-07 21:51:55 -05:00
Makefile Change font to Roboto to support more charsets (#9803) 2020-01-25 23:47:42 +02:00
package-lock.json add css extraction and minification to webpack (#9944) 2020-01-25 16:41:34 +08:00
package.json add css extraction and minification to webpack (#9944) 2020-01-25 16:41:34 +08:00
README.md Remove explicit 'generate' calls, fix release task (#9288) 2019-12-08 18:56:59 +02:00
README_ZH.md
semantic.json Use npm to manage fomantic and only build needed components (#9561) 2020-01-21 13:17:58 +08:00
tools.go
webpack.config.js add css extraction and minification to webpack (#9944) 2020-01-25 16:41:34 +08:00

简体中文

logo 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 License: MIT Crowdin

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:

TAGS="bindata" make build

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 User Profile Global Issues
Branches Web Editor Activity
New Migration Migrating Pull Request View
Pull Request Dark Diff Review Dark Diff Dark