summaryrefslogtreecommitdiff
path: root/lib/gitlab/hook_data
Commit message (Collapse)AuthorAgeFilesLines
* Remove soft removals related codeYorick Peterse2018-01-082-2/+0
| | | | | | | | | | | | | | This removes all usage of soft removals except for the "pending delete" system implemented for projects. This in turn simplifies all the query plans of the models that used soft removals. Since we don't really use soft removals for anything useful there's no point in keeping it around. This _does_ mean that hard removals of issues (which only admins can do if I'm not mistaken) can influence the "iid" values, but that code is broken to begin with. More on this (and how to fix it) can be found in https://gitlab.com/gitlab-org/gitlab-ce/issues/31114. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37447
* Add total_time_spent to the `changes` hash in issuable Webhook payloads40122-only-one-note-webhook-is-triggered-when-a-comment-with-time-spent-is-addedRémy Coutable2017-11-152-0/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Clean up schema of the "issues" tablecleanup-issues-schemaYorick Peterse2017-11-091-1/+0
| | | | | | | | This adds various foreign key constraints, indexes, missing NOT NULL constraints, and changes some column types from timestamp to timestamptz. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/31811
* fix the failing specremove-ensure-ref-fetched-from-controllersmicael.bergeron2017-11-031-1/+0
|
* Introduce new hook data builders for Issue and MergeRequest34284-add-changes-to-issuable-webhook-dataRémy Coutable2017-10-093-2/+139
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Start adding Gitlab::HookData::IssuableBuilderRémy Coutable2017-10-091-0/+36
Signed-off-by: Rémy Coutable <remy@rymai.me>