summaryrefslogtreecommitdiff
path: root/lib/gitlab/hook_data/issue_builder.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42GitLab Bot2021-07-201-1/+3
|
* Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42GitLab Bot2021-06-161-0/+3
|
* Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot2021-05-191-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-301-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-181-2/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-131-0/+3
|
* Added labels_hook_attrs methodfix-labels-in-hooksJan Provaznik2019-06-241-1/+1
| | | | | Based on review comment fetching labels hook_attrs is now wrapped in an issue's model method.
* Fix label serialisation in issue and note hooksSean McGivern2019-06-201-1/+1
| | | | | We were not calling hook_attrs on the labels correctly. Specs were passing because the issues under test did not have any labels!
* Adding labels to note event payload.Sujay Patel2019-06-101-1/+2
|
* Fix whitespace in IssueBuilder/MergeRequestBuilderYorick Peterse2019-03-151-1/+1
|
* Enable even more frozen string for lib/gitlabgfyoung2018-11-161-0/+2
| | | | | | | | | | | | | | | | Enables frozen string for the following: * lib/gitlab/hook_data/**/*.rb * lib/gitlab/i18n/**/*.rb * lib/gitlab/import/**/*.rb * lib/gitlab/import_export/**/*.rb * lib/gitlab/kubernetes/**/*.rb * lib/gitlab/legacy_github_import/**/*.rb * lib/gitlab/manifest_import/**/*.rb * lib/gitlab/metrics/**/*.rb * lib/gitlab/middleware/**/*.rb Partially addresses gitlab-org/gitlab-ce#47424.
* Port of ccr/6274/add_weight_to_payload to CEChantal Rollison2018-08-211-32/+34
|
* Add base class for hook builders, and use it for notes and wikisSean McGivern2018-06-201-7/+3
|
* Passing absolute image urls in the markdown content in the webhooksSatish Perala2018-06-201-0/+1
|
* Remove soft removals related codeYorick Peterse2018-01-081-1/+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-151-0/+1
| | | | 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
* Introduce new hook data builders for Issue and MergeRequest34284-add-changes-to-issuable-webhook-dataRémy Coutable2017-10-091-0/+55
Signed-off-by: Rémy Coutable <remy@rymai.me>