0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-29 14:14:25 +01:00
No description https://gitea.io
Find a file
Monty Taylor ee7b153dd9 Fix 500 when getting user as unauthenticated user (#8653)
When doing GET /api/v1/users/{user} as an unauthenticated user,
gitea throws a 500 because it's trying to dereference elements
from the context user. It wants to do this to see whether to
show the primary email and will do that if the logged in user
is admin or the user in question. However, if ctx.User is nil,
go gets really unhappy.
2019-10-24 09:18:41 +08:00
.github
assets
cmd Graceful fixes (#8645) 2019-10-23 16:32:19 +01:00
contrib Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
custom/conf [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00
docker
docs Docs: Added instructions for Docker fail2ban configuration. (#8642) 2019-10-23 15:07:32 +01:00
integrations Update heatmap fixtures to restore tests (#8615) 2019-10-21 21:19:53 +01:00
models Add 'Alt + click' feature to exclude labels (#8199) 2019-10-23 17:29:14 +01:00
modules Use AppSubUrl for more redirections (#8647) 2019-10-23 22:04:22 +01:00
options Use AppSubUrl for more redirections (#8647) 2019-10-23 22:04:22 +01:00
public Add 'Alt + click' feature to exclude labels (#8199) 2019-10-23 17:29:14 +01:00
routers Fix 500 when getting user as unauthenticated user (#8653) 2019-10-24 09:18:41 +08:00
scripts
services Move issue label operations to issue service package (#8553) 2019-10-19 12:48:29 +03:00
snap Use vfsgen instead of go-bindata (#7080) 2019-06-03 00:43:47 +03:00
templates Use AppSubUrl for more redirections (#8647) 2019-10-23 22:04:22 +01:00
vendor Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
.changelog.yml
.drone.yml
.editorconfig
.eslintrc
.gitattributes
.gitignore Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
.golangci.yml
.lgtm
.npmrc
.revive.toml
.stylelintrc
BSDmakefile
CHANGELOG.md Changelog for 1.10.0-RC1 (#8510) 2019-10-14 20:34:21 +01:00
CONTRIBUTING.md Correct some outdated statements in the contributing guidelines (#8612) 2019-10-21 19:45:53 -04:00
DCO
Dockerfile
go.mod Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
go.sum Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
LICENSE
main.go
MAINTAINERS
Makefile Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 2019-10-16 14:42:42 +01:00
package-lock.json
package.json
README.md Display Gitea logo in Readme (#8592) 2019-10-19 22:14:38 +01:00
README_ZH.md
tools.go

简体中文

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 Repository Commits History
Branches Issues Pull Request View
Releases Activity Wiki
Diff Organization Profile