diff options
author | David Schneiderbauer <daviian@users.noreply.github.com> | 2017-09-21 09:43:26 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-09-21 10:43:26 +0300 |
commit | 1eedd983ea0f387b6e72264b1cd195a4d3ea1253 (patch) | |
tree | d4bbb070df7df0d6f38e2f20a8baf52598623a6a /options | |
parent | 0d80af649a50c4b9e5e4ba764399872fc92f70f2 (diff) | |
download | gitea-1eedd983ea0f387b6e72264b1cd195a4d3ea1253.tar.gz gitea-1eedd983ea0f387b6e72264b1cd195a4d3ea1253.zip |
Complete push webhooks (#2530)
* implemented missing 'delete' push webhooks
moreover created ActionDeleteBranch and ActionDeleteTag
* add CommitRepoAction tests for tag/branch creation/deletion
* fixed error where push webhook not called if is new branch or tag
removed unnecessary code
* moved prepare unit test environment into separate method to be used across unit tests
* add missing if clause in pushUpdate
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
Diffstat (limited to 'options')
-rw-r--r-- | options/locale/locale_en-US.ini | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 6d4c79e8f5..f39ff0fa60 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1436,6 +1436,8 @@ comment_issue = `commented on issue <a href="%s/issues/%s">%s#%[2]s</a>` merge_pull_request = `merged pull request <a href="%s/pulls/%s">%s#%[2]s</a>` transfer_repo = transferred repository <code>%s</code> to <a href="%s">%s</a> push_tag = pushed tag <a href="%s/src/%s">%[2]s</a> to <a href="%[1]s">%[3]s</a> +delete_tag = deleted tag %[2]s from <a href="%[1]s">%[3]s</a> +delete_branch = deleted branch %[2]s from <a href="%[1]s">%[3]s</a> compare_commits = Compare %d commits [tool] |