0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 06:34:58 +01:00
gitea/routers
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
..
admin Support reverse proxy providing email (#5554) 2018-12-18 12:05:48 -05:00
api/v1 Fix #5799 - swagger for mergePullRequest (#5996) 2019-02-08 08:08:38 +00:00
dev
org
private Fix ssh deploy and user key constraints (#1357) (#5939) 2019-02-03 23:56:53 +00:00
repo Add option to close issues via commit on a non master branch (#5992) 2019-02-10 21:27:19 +02:00
routes Allow Macaron to be set to log through to gitea.log (#5667) 2019-02-05 22:06:41 -05:00
user Feature - #3031 - search for org repos (#5986) 2019-02-08 11:45:43 -05:00
utils
home.go
init.go Ensure error is logged on db reconnection attempts (#5780) 2019-01-20 09:30:37 +00:00
install.go
metrics.go Fix metrics auth token detection (#6006) 2019-02-09 00:58:31 -05:00
swagger_json.go