1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
Go to file
Moritz Heiber 7e12aac61c Only allow token authentication with 2FA enabled (#2184)
* Don't allow for plain username/password authentication when 2FA is enabled

* Removed debugging statement

* Don't assume a token belongs to a given user, handle two-factor errors properly

* Simplified user/token matching, refactored error handling for two-factor authentication

* Change authentication response to avoid bruteforcing

* Add TODO item as a comment for changing the response for security purposes
2017-07-26 15:33:16 +08:00
.github Add link to forum in issue template (#2070) 2017-06-28 09:33:37 +08:00
cmd Set TMPDIR enviroment variable for dump command (#1915) 2017-06-08 19:24:15 -05:00
conf Only show SSH clone URL if signed in (#2169) (#2170) 2017-07-15 22:21:51 +08:00
contrib Fix service description in Debian init file (#1538) 2017-04-25 19:30:42 +02:00
docker Use sqlite3 database as default for Docker image (#2182) 2017-07-26 15:21:23 +08:00
integrations Remove unit types commits and settings (#2161) 2017-07-17 10:04:43 +08:00
models Fix compiling without sqlite and gcc (#2177) 2017-07-26 15:27:30 +08:00
modules Fix profile update for non-local users (#2178) 2017-07-19 09:36:37 +08:00
options Revert "Add ability to fork your own repos (#761)" (#2193) 2017-07-26 15:17:38 +08:00
public Remove unit types commits and settings (#2161) 2017-07-17 10:04:43 +08:00
routers Only allow token authentication with 2FA enabled (#2184) 2017-07-26 15:33:16 +08:00
scripts Make sure both scripts/ can live side by side (#1264) 2017-03-15 16:11:26 +01:00
templates Revert "Add ability to fork your own repos (#761)" (#2193) 2017-07-26 15:17:38 +08:00
vendor Update code.gitea.io/git dependency (#2149) 2017-07-12 22:35:21 -05:00
.dockerignore Bug fixed for .dockerignore (#329) 2016-12-01 23:05:28 +08:00
.drone.yml Add verify changed less-file step to Makefile (#1861) 2017-07-12 04:28:57 +02:00
.drone.yml.sig Add verify changed less-file step to Makefile (#1861) 2017-07-12 04:28:57 +02: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 Coverage reports for integration tests (#1960) 2017-06-15 17:38:33 +08:00
.lgtm Added ignore_maintainers_file option to .lgtm 2016-11-07 16:36:37 +01:00
CHANGELOG.md [ci skip] add 1.1.2 change log. 2017-06-12 17:07:52 +08:00
CONTRIBUTING.md Update links to Discord server 2017-06-11 19:42:08 +02:00
DCO follow the advisor: add DCO and some improvements 2016-11-04 16:43:41 +08:00
Dockerfile Revert "Reduce number of layer" (#2086) 2017-06-30 01:10:37 -05:00
Dockerfile.aarch64 Realy don't cache apk index 2017-05-09 15:34:33 +02:00
Dockerfile.rpi Fix missing backslash in Dockerfile.rpi (#1952) 2017-06-13 10:07:11 +08:00
LICENSE Fix typo 2016-11-08 08:42:05 +01:00
main.go Fix for #828: Embed build tags (#1051) 2017-02-28 08:40:02 +08:00
MAINTAINERS Add myself as a maintainer (#1948) 2017-06-12 08:11:50 -05:00
Makefile fix: replace tmp with TMPDIR. (#2152) 2017-07-13 14:09:29 +03:00
README_ZH.md Update links to Discord server 2017-06-11 19:42:08 +02:00
README.md Add discourse link (#2027) 2017-06-22 09:07:13 +08:00

简体中文

Gitea - Git with a cup of tea

Build Status Join the chat at https://img.shields.io/discord/322538954119184384.svg Coverage Status Go Report Card GoDoc Release

Dashboard Repository Commits History
Profile Admin Dashboard Diff
Issues Releases Organization

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.

Notes

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you found a vulnerability in the project, please write privately to security@gitea.io. Thanks!
  3. If you're interested in using our APIs, we have experimental support with documentation.

Docs

For more information and instructions about how to install Gitea please look at our documentation. If you cannot find some specific information, then head over to our Discord server to chat with us or use the forum.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

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