mirror of
1
Fork 0
forgejo/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 Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
org Improve team members and repositories settings UI (#5457) 2018-12-09 08:42:11 +02:00
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 Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go feat(repo): support search repository by topic name (#4505) 2018-09-13 10:33:48 +08:00
init.go Ensure error is logged on db reconnection attempts (#5780) 2019-01-20 09:30:37 +00:00
install.go Remove traces of embedded TiDB (#4906) 2018-09-11 10:42:40 -04:00
metrics.go Fix metrics auth token detection (#6006) 2019-02-09 00:58:31 -05:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00