0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-10-30 02:39:24 +01:00
gitea/modules/auth
Lanre Adelowo 9d8178b3ac Add option to close issues via commit on a non master branch (#5992)
* fixes #5957

* add tests to make sure config option is respected

* use already defined struct

* - use migration to make the flag repo wide not for the entire gitea instance
Also note that the config value can still be set so as to be able to control the value for new repositories that are to be created

- fix copy/paste error in copyright header year and rearrange import

- use repo config instead of server config value to determine if a commit should close an issue

- update testsuite

* use global config only when creating a new repository

* allow repo admin toggle feature via UI

* fix typo and improve testcase

* fix fixtures

* add DEFAULT prefix to config value

* fix test
2019-02-10 21:27:19 +02:00
..
ldap Request for public keys only if LDAP attribute is set (#5816) 2019-01-24 01:25:33 +02:00
oauth2 Discord Oauth2 support (#4476) 2019-01-13 14:06:22 -05:00
openid
pam
admin.go Allow admin toggle forcing a password change for newly created users (#4563) 2018-09-13 12:34:36 -04:00
auth.go Support reverse proxy providing email (#5554) 2018-12-18 12:05:48 -05:00
auth_form.go
org.go
repo_branch_form.go
repo_form.go Add option to close issues via commit on a non master branch (#5992) 2019-02-10 21:27:19 +02:00
repo_form_test.go
user_form.go Allow for user specific themes (#5668) 2019-01-09 12:22:57 -05:00
user_form_auth_openid.go
user_form_test.go Block registration based on email domain (#5157) 2018-11-14 20:00:04 -05:00