diff options
author | Lanre Adelowo <adelowomailbox@gmail.com> | 2019-02-10 20:27:19 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-02-10 21:27:19 +0200 |
commit | 9d8178b3ac5f86a64f67ab7b5dea99347a5afe72 (patch) | |
tree | ed560142815927211f7d52db859728b88f0d9734 /options/locale/locale_en-US.ini | |
parent | c0adb5ea8bd0b2551a8c414b54ef5bc67882de55 (diff) | |
download | gitea-9d8178b3ac5f86a64f67ab7b5dea99347a5afe72.tar.gz gitea-9d8178b3ac5f86a64f67ab7b5dea99347a5afe72.zip |
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
Diffstat (limited to 'options/locale/locale_en-US.ini')
-rw-r--r-- | options/locale/locale_en-US.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 5001247e6c..e0d5b64cfa 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1035,6 +1035,7 @@ settings.pulls.allow_rebase_merge_commit = Enable Rebasing with explicit merge c settings.pulls.allow_squash_commits = Enable Squashing to Merge Commits settings.admin_settings = Administrator Settings settings.admin_enable_health_check = Enable Repository Health Checks (git fsck) +settings.admin_enable_close_issues_via_commit_in_any_branch = Close an issue via a commit made in a non default branch settings.danger_zone = Danger Zone settings.new_owner_has_same_repo = The new owner already has a repository with same name. Please choose another name. settings.convert = Convert to Regular Repository |