0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 12:34:35 +01:00
gitea/routers/repo
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
..
activity.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
attachment.go
branch.go branch: Trigger update when deleting branch via UI. (#5617) 2019-01-02 20:56:58 +08:00
commit.go fix commit page showing status for current default branch (#5650) 2019-01-06 16:32:00 +02:00
download.go Add raw blob endpoint to get objects by SHA ID (#5334) 2018-11-18 13:45:40 -05:00
editor.go SECURITY: protect DeleteFilePost et al with cleanUploadFileName (#5631) 2019-01-04 11:08:26 -05:00
editor_test.go fix bug on upload file name (#5571) 2018-12-20 21:32:11 -05:00
http.go Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05:00
issue.go Automatically clear stopwatch on merging a PR (#4327) 2019-02-05 13:38:11 +02:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_stopwatch.go Automatically clear stopwatch on merging a PR (#4327) 2019-02-05 13:38:11 +02:00
issue_timetrack.go
issue_watch.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
main_test.go
middlewares.go
milestone.go Issue is not overdue when it is on the same date #5566 (#5568) 2019-01-01 18:56:47 +01:00
pull.go Pull request conflict files detection (#5951) 2019-02-05 06:54:49 -05:00
pull_review.go Add comment replies (#5104) 2018-10-22 16:13:35 -04:00
release.go Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05:00
release_test.go
repo.go Refactor repo.isBare to repo.isEmpty #5629 (#5714) 2019-01-17 19:01:04 -05:00
search.go
setting.go Add option to close issues via commit on a non master branch (#5992) 2019-02-10 21:27:19 +02:00
setting_protected_branch.go Approvals at Branch Protection (#5350) 2018-12-11 19:28:37 +08:00
settings_test.go
topic.go
view.go Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05:00
webhook.go Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
wiki.go Fix serving of raw wiki files other than .md (#5814) 2019-02-05 20:58:55 -05:00
wiki_test.go Fix serving of raw wiki files other than .md (#5814) 2019-02-05 20:58:55 -05:00