Commit Graph

37 Commits

Author SHA1 Message Date
DeAndre Harris 89431a9f96 Add troubleshooting steps for "local issuer certificate" error 2019-02-15 11:30:54 +00:00
Marcel Amirault 9d6a8003e0 Docs: Realign more CE docs that diverged from EE unnecessarily (second MR) 2019-02-12 12:39:48 +00:00
Evan Read 20146580a0 Resolve Markdown ordered lists not conforming to styleguide 2018-11-13 10:53:38 +10:00
Sean McGivern 5e8f1e06b6 Web hook -> webhook 2018-10-16 10:55:04 +01:00
Sean McGivern 0bcfd0adb3 Fix image webhook rewriting for uploads
This rewrote URLs to be absolute URLs. However, for uploads (the most
common case), we actually need them to point to not just the GitLab
instance, but the project they're from. Thankfully, we can normally get
that information from the object we're building the hook for.
2018-10-16 10:54:49 +01:00
Pierre Tardy 57a4ee88ae Add variables on pipeline webhook 2018-10-01 17:22:41 +00:00
Marcel Amirault fd7358a8cd Correct Gitlab to GitLab in docs 2018-09-25 04:57:57 +00:00
James Ramsay 518947a896 Add webhook branch filtering docs 2018-09-20 16:05:46 +00:00
Brett Walker b0be58a1b3 Resolve "CE documentation is not CommonMark compliant" 2018-09-06 16:52:18 +00:00
Dmitriy Zaporozhets 464b0de1ac Merge branch 'filter-web-hooks-by-branch' into 'master'
Filter web hooks by branch

See merge request gitlab-org/gitlab-ce!19513
2018-09-05 13:39:41 +00:00
Maciej Sokolowski 7b2ead6ce8 Documentation for failure_reason in job webhook 2018-08-20 13:04:22 +02:00
Duana Saskia ece6a1ea6e Filter project hooks by branch
Allow specificying a branch filter for a project hook and only trigger
a project hook if either the branch filter is blank or the branch matches.
Only supported for push_events for now.
2018-08-13 13:20:58 +02:00
Andreas Rammhold 6077c7c122 docs: removed duplicate `git_ssh_url` field from build event example
Previously the key `git_ssh_url` was listed twice in the example payload of an Build Event web hook.
2018-08-09 23:04:05 +00:00
Sean McGivern 35d2a058e5 Clarify web hook image rewriting doc example 2018-07-17 10:37:37 +01:00
Sean McGivern 827712e78e Merge branch 'master' into satishperala/gitlab-ce-20720_webhooks_full_image_url 2018-07-06 11:41:03 +01:00
Sean McGivern 0d9ef34a25 Add documentation and specs for webhook URL rewriting 2018-07-06 11:35:30 +01:00
Yorick Peterse 75316348c5
Prune web hook logs older than 90 days
This adds a recurring Sidekiq job that removes up to 50 000 old web hook
logs per hour, if they are older than 90 days. This will prevent the
web_hook_logs table from growing indefinitely.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/46120
2018-07-02 12:48:57 +02:00
Ville Skyttä 0cbbb08e79 doc: Spelling fixes 2018-01-19 12:09:59 +02:00
Drew Blessing e5eb6710cb Add note about only 20 commits being included in push payload 2017-12-27 20:06:50 +00:00
Sean McGivern 4ebbfe5d3e Remove serialised diff and commit columns
The st_commits and st_diffs columns on merge_request_diffs historically held the
YAML-serialised data for a merge request diff, in a variety of formats.

Since 9.5, these have been migrated in the background to two new tables:
merge_request_diff_commits and merge_request_diff_files. That has the advantage
that we can actually query the data (for instance, to find out how many commits
we've stored), and that it can't be in a variety of formats, but must match the
new schema.

This is the final step of that journey, where we drop those columns and remove
all references to them. This is a breaking change to the importer, because we
can no longer import diffs created in the old format, and we cannot guarantee
the export will be in the new format unless it was generated after this commit.
2017-11-28 16:13:40 +00:00
Cindy Pallares 🦉 d57ab8b00d Add extra webhook troubleshooting steps
Add information on duplicate or multiple triggers caused by a slow response time.
2017-11-01 13:16:26 +00:00
Jacopo 2cad283018 Adds project_id to pipeline hook data
Pipeline hook data now includes the project_id
2017-10-30 22:02:33 +01:00
Rémy Coutable f070265a6d
Introduce new hook data builders for Issue and MergeRequest
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-09 16:44:47 +02:00
Rémy Coutable 67d5ca9f92 Include the changes in issuable webhook payloads
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-09 15:07:10 +02:00
Oswaldo Ferreira 0640b3d1d8 Store MergeWorker JID on merge request, and clean up stuck merges 2017-08-07 15:23:37 -03:00
Alexander Randa e0ab5618a0 Wrong data type when testing webhooks 2017-07-20 15:12:06 +00:00
Diego de Souza Mendes 08b3f79865 Hint about the wiki page hook actions. Fixes #34242 2017-06-23 10:49:53 -03:00
Achilleas Pipinellis 39710abc62 Remove references to old settings location 2017-06-06 12:45:55 +02:00
Alexander Randa 330789c23c Implement web hooks logging
* implemented logging of project and system web hooks
* implemented UI for user area (project hooks)
* implemented UI for admin area (system hooks)
* implemented retry of logged webhook
* NOT imeplemented log remover
2017-05-25 10:07:52 +03:00
Rémy Coutable c48554edc2 Merge branch 'dturner/username' into 'master'
add username field to push webhook

Closes #32136

See merge request !11272
2017-05-15 07:28:58 +00:00
David Turner 47b8516c15 Add username field to push webhook
Signed-off-by: David Turner <novalis@novalis.org>
2017-05-10 17:11:36 -04:00
Valery Sizov 387c4b2c21 Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
Luke "Jared" Bennett f2be76f3e8
Added labels to the issue web hook 2017-03-17 12:14:26 +00:00
Achilleas Pipinellis a084437b5c Rename builds to jobs in docs
[ci skip]
2017-02-15 12:12:35 +01:00
Mark Fletcher 1fc6f6cc71 Execute web hooks for WikiPage delete operation
* Add a new DestroyService for Wiki Pages
* Alter WikiPagesController to use the new service
2017-02-14 12:07:11 +05:30
Achilleas Pipinellis 761ff1f859 Add info about the new location of Integrations
[ci skip]
2017-02-07 22:32:08 +01:00
Achilleas Pipinellis 8063628b90 Move webhooks to new a location under Integrations 2017-02-03 19:26:48 +01:00