1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-18 03:53:55 +01:00
Git with a cup of tea, painless self-hosted git service https://gitea.io/
Go to file
Lanre Adelowo 126ba796dc Force user to change password (#4489)
* redirect to login page after successfully activating account

* force users to change password if account was created by an admin

* force users to change password if account was created by an admin

* fixed build

* fixed build

* fix pending issues with translation and wrong routes

* make sure path check is safe

* remove unneccessary newline

* make sure users that don't have to view the form get redirected

* move route to use /settings prefix so as to make sure unauthenticated users can't view the page

* update as per @lafriks review

* add necessary comment

* remove unrelated changes

* support redirecting to location the user actually want to go to before being forced to change his/her password

* run make fmt

* added tests

* improve assertions

* add assertion

* fix copyright year

Signed-off-by: Lanre Adelowo <yo@lanre.wtf>
2018-09-13 15:04:25 +03:00
.github
assets
cmd Add/remove/list oauth providers via cli (#4591) 2018-09-12 10:46:02 -04:00
contrib
custom/conf MySQL TLS (#4642) 2018-08-23 18:42:02 -04:00
docker Remove UsePrivilegeSeparation from the Docker sshd_config, see #2876 (#4722) 2018-08-16 01:58:12 +03:00
docs Add/remove/list oauth providers via cli (#4591) 2018-09-12 10:46:02 -04:00
integrations feat(repo): support search repository by topic name (#4505) 2018-09-13 10:33:48 +08:00
models Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
modules Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
options Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
public fix: Crippled diff (#4726) (#4900) 2018-09-09 20:11:49 +02:00
routers Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
scripts
snap
templates Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
vendor Add push webhook support for mirrored repositories (#4127) 2018-09-06 22:06:09 -04:00
.changelog.yml
.drone.yml update image used for build-without-gcc step (#4818) 2018-08-29 10:01:58 -04:00
.editorconfig
.gitattributes
.gitignore
.lgtm
BSDmakefile
CHANGELOG.md Backport 1.5.1 changelog (#4854) 2018-09-03 01:17:10 -04:00
CONTRIBUTING.md
DCO
Dockerfile
Gopkg.lock Add push webhook support for mirrored repositories (#4127) 2018-09-06 22:06:09 -04:00
Gopkg.toml add letsencrypt to Gitea (#4189) 2018-08-21 09:56:50 -04:00
LICENSE
main.go
MAINTAINERS Add myself to maintainers (#4777) 2018-08-23 14:12:57 -04:00
Makefile Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
package-lock.json
package.json
README_ZH.md Move README_ZH.md Screenshots to Bottom (#4895) 2018-09-09 12:13:48 +08: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