gitea/models
David Schneiderbauer 1eedd983ea 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>
2017-09-21 10:43:26 +03:00
..
fixtures Improve issue search (#2387) 2017-09-16 23:16:21 +03:00
migrations Fix can_push value to false in protected_branch (#2560) 2017-09-20 17:52:23 +03:00
access_test.go Remove unit types commits and settings (#2161) 2017-07-17 10:04:43 +08:00
access.go
action_test.go Complete push webhooks (#2530) 2017-09-21 10:43:26 +03:00
action.go Complete push webhooks (#2530) 2017-09-21 10:43:26 +03:00
admin_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
admin.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
attachment_test.go
attachment.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
branches.go Fix can_push value to false in protected_branch (#2560) 2017-09-20 17:52:23 +03:00
consistency.go
error_oauth2.go
error.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
external_login_user.go
git_diff_test.go
git_diff.go
gpg_key_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
gpg_key.go Fix lint errors (#2547) 2017-09-19 11:08:30 +03:00
graph_test.go
graph.go
helper.go
issue_comment_test.go Fix issue updated_unix bug (#2204) 2017-07-27 09:20:38 +08:00
issue_comment.go Improve issue search (#2387) 2017-09-16 23:16:21 +03:00
issue_indexer.go Improve issue search (#2387) 2017-09-16 23:16:21 +03:00
issue_label_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
issue_label.go
issue_list_test.go
issue_list.go
issue_mail.go Restructure markup & markdown to prepare for multiple markup language… (#2411) 2017-09-16 20:17:57 +03:00
issue_milestone_test.go
issue_milestone.go
issue_stopwatch_test.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
issue_stopwatch.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
issue_test.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
issue_tracked_time_test.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
issue_tracked_time.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
issue_user_test.go
issue_user.go
issue_watch_test.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
issue_watch.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
issue.go Fix lint errors (#2547) 2017-09-19 11:08:30 +03:00
lfs.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
login_source.go Fix lint errors (#2547) 2017-09-19 11:08:30 +03:00
mail.go Add init support of orgmode document type on file view and readme (#2525) 2017-09-21 13:20:14 +08:00
main_test.go Fix counts on issues dashboard (#2215) 2017-08-03 13:09:16 +08:00
models_sqlite.go
models_test.go
models_tidb.go
models.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
notification_test.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
notification.go
oauth2.go Replace calls to xorm UseBool with Where (#2237) 2017-08-01 13:47:31 +08:00
org_team_test.go
org_team.go improve protected branch to add whitelist support (#2451) 2017-09-14 16:16:22 +08:00
org_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
org.go Fix lint errors (#2547) 2017-09-19 11:08:30 +03:00
pull_test.go Fix unit test race condition (#2516) 2017-09-15 10:54:25 +03:00
pull.go Improve issue search (#2387) 2017-09-16 23:16:21 +03:00
release.go Sync releases table with tags on push and for mirrors (#2459) 2017-09-20 13:26:49 +08:00
repo_branch.go
repo_collaboration_test.go
repo_collaboration.go
repo_editor.go Trigger sync webhooks on UI commit (#2302) 2017-08-17 15:22:08 +08:00
repo_issue.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
repo_list_test.go Fix "index out of range" runtime error in repo_list tests (#2376) 2017-08-28 09:33:38 +08:00
repo_list.go Fix missing collabrative repos (#2367) 2017-08-24 22:01:03 +08:00
repo_mirror.go Sync releases table with tags on push and for mirrors (#2459) 2017-09-20 13:26:49 +08:00
repo_redirect_test.go
repo_redirect.go
repo_test.go Restructure markup & markdown to prepare for multiple markup language… (#2411) 2017-09-16 20:17:57 +03:00
repo_unit.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
repo_watch_test.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
repo_watch.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
repo.go Sync releases table with tags on push and for mirrors (#2459) 2017-09-20 13:26:49 +08:00
ssh_key_test.go
ssh_key.go Fix lint errors (#2547) 2017-09-19 11:08:30 +03:00
star_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
star.go
status_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
status.go Display commit status on landing page of repo (#1784) 2017-09-14 14:51:31 +08:00
test_fixtures.go
token_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
token.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
twofactor.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
unit_tests.go Complete push webhooks (#2530) 2017-09-21 10:43:26 +03:00
unit.go Remove unit types commits and settings (#2161) 2017-07-17 10:04:43 +08:00
update_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
update.go Complete push webhooks (#2530) 2017-09-21 10:43:26 +03:00
user_follow_test.go
user_follow.go
user_mail_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
user_mail.go
user_openid_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
user_openid.go
user_test.go
user.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
webhook_discord.go Webhooks for repo creation/deletion (#1663) 2017-09-03 11:20:24 +03:00
webhook_slack.go Webhooks for repo creation/deletion (#1663) 2017-09-03 11:20:24 +03:00
webhook_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
webhook.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
wiki_test.go
wiki.go