Beyond coding. We forge. https://forgejo.org
Find a file
6543 668eaf95d5 [Feature] Custom Reactions (#8886)
* add [ui] Reactions

* move contend check from form to go functions

* use else if

* check if reaction is allowed only on react
(so previous custom reaction can be still removed)

* use $.AllowedReactions in templates

* use ctx.Flash.Error

* use it there too

* add redirection

* back to server error
because a wrong reaction is a template issue ...

* add emoji list link

* add docs entry

* small wording nit
suggestions from @jolheiser - thx

* same reactions as github

* fix PR reactions

* handle error so template JS could check

* Add Integrations Test

* add REACTIONS setting to cheat-sheet doc page
2019-12-01 17:57:24 -05:00
.github
assets
cmd Graceful: Cancel Process on monitor pages & HammerTime (#9213) 2019-11-30 16:40:22 +02:00
contrib
custom/conf [Feature] Custom Reactions (#8886) 2019-12-01 17:57:24 -05:00
docker docker: ask s6 to stop all service when gitea stop (#9171) 2019-11-27 13:08:57 -05:00
docs [Feature] Custom Reactions (#8886) 2019-12-01 17:57:24 -05:00
integrations [Feature] Custom Reactions (#8886) 2019-12-01 17:57:24 -05:00
models Extract createComment (#9125) 2019-11-30 21:44:39 -05:00
modules [Feature] Custom Reactions (#8886) 2019-12-01 17:57:24 -05:00
options [skip ci] Updated translations via Crowdin 2019-12-01 13:59:18 +00:00
public Add comment highlight when target from url (#9047) 2019-11-25 11:50:46 +00:00
routers [Feature] Custom Reactions (#8886) 2019-12-01 17:57:24 -05:00
scripts
services Extract createComment (#9125) 2019-11-30 21:44:39 -05:00
snap
templates [Feature] Custom Reactions (#8886) 2019-12-01 17:57:24 -05:00
vendor upgrade levelqueue to 0.1.0 (#9192) 2019-11-28 23:37:33 +08:00
web_src Add comment highlight when target from url (#9047) 2019-11-25 11:50:46 +00:00
.changelog.yml
.drone.yml Check compiled files during build (#9042) 2019-11-16 14:15:07 +00:00
.editorconfig modernize js and use babel (#8973) 2019-11-14 21:39:51 +00:00
.eslintignore move semantic.dropdown.custom.js to webpack (#9064) 2019-11-21 18:30:14 -05:00
.eslintrc move semantic.dropdown.custom.js to webpack (#9064) 2019-11-21 18:30:14 -05:00
.gitattributes
.gitignore
.golangci.yml
.lgtm
.npmrc
.revive.toml
.stylelintrc
BSDmakefile
CHANGELOG.md
CONTRIBUTING.md
DCO
Dockerfile
go.mod upgrade levelqueue to 0.1.0 (#9192) 2019-11-28 23:37:33 +08:00
go.sum upgrade levelqueue to 0.1.0 (#9192) 2019-11-28 23:37:33 +08:00
LICENSE
main.go
MAINTAINERS
Makefile Check compiled files during build (#9042) 2019-11-16 14:15:07 +00:00
package-lock.json enable lazy-loading of gitgraph.js (#9036) 2019-11-17 23:39:06 +02:00
package.json enable lazy-loading of gitgraph.js (#9036) 2019-11-17 23:39:06 +02:00
README.md
README_ZH.md
tools.go
webpack.config.js enable lazy-loading of gitgraph.js (#9036) 2019-11-17 23:39:06 +02: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 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 User Profile Global Issues
Branches Web Editor Activity
New Migration Migrating Pull Request View
Pull Request Dark Diff Review Dark Diff Dark