forked from gitea/gitea
1
0
Fork 0
新一代DevSecOps平台,包括项目管理,代码托管,代码审查,安全扫描,CI/CD,制品库等功能,把Github搬回家。
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 Comment help text for issues (#2281) 2017-08-09 12:13:33 +08:00
assets Add task to generate images from SVG and change to new logo (#2194) 2017-07-28 13:51:20 +08:00
cmd Add/remove/list oauth providers via cli (#4591) 2018-09-12 10:46:02 -04:00
contrib Add a basic SMF manifest for SunOS platforms (#4238) 2018-06-25 00:24:00 +03:00
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 Updating generate-licenses.go to fetch licenses from maintained repository. (#3484) 2018-02-12 20:20:30 +02:00
snap snap-packaging for gitea (#2568) 2018-05-09 22:52:51 +08:00
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 Add changelog config file for generate changelog (#2461) 2017-09-04 13:07:57 +03:00
.drone.yml update image used for build-without-gcc step (#4818) 2018-08-29 10:01:58 -04: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 snap-packaging for gitea (#2568) 2018-05-09 22:52:51 +08:00
.lgtm refactor: ignore LGTM from author of pull request. (#3283) 2018-01-02 06:13:49 -06:00
BSDmakefile Add BSDmakefile to prevent errors when `make` is called under FreeBSD (#4446) 2018-07-16 20:45:51 +02:00
CHANGELOG.md Backport 1.5.1 changelog (#4854) 2018-09-03 01:17:10 -04:00
CONTRIBUTING.md Add security advice to contrib guide (#4187) 2018-06-09 12:03:23 -04:00
DCO follow the advisor: add DCO and some improvements 2016-11-04 16:43:41 +08:00
Dockerfile Fix docker build (#4358) 2018-07-04 12:27:30 +03:00
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 Fix typo 2016-11-08 08:42:05 +01:00
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
README.md Added question for Gitea hosted Gitea (#4397) 2018-07-08 22:41:31 +02:00
README_ZH.md Move README_ZH.md Screenshots to Bottom (#4895) 2018-09-09 12:13:48 +08:00
main.go Add csv file render support defaultly (#4105) 2018-07-21 00:08:15 +03:00
package-lock.json Update npm dependencies, regenerate CSS (#4415) 2018-07-11 10:54:28 -04:00
package.json Update npm dependencies, regenerate CSS (#4415) 2018-07-11 10:54:28 -04: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