summaryrefslogtreecommitdiff
path: root/app/models/hooks/web_hook.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement web hooks loggingAlexander Randa2017-05-251-39/+4
| | | | | | | | * 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
* Merge branch 'bvl-rename-build-events-to-job-events' into 'master' cherry-pick-0663458cDouwe Maan2017-05-161-1/+1
| | | | | | | Rename `build_events` to `job_events` Closes #31620 See merge request !11287
* Revert "Merge branch 'bvl-rename-build-events-to-job-events' into 'master'"Douwe Maan2017-05-151-1/+1
| | | This reverts merge request !11287
* Rename `build_events` to `job_events` in codeBob Van Landuyt2017-05-151-1/+1
|
* Added repository_update hookGabriel Mazetto2017-05-121-0/+1
|
* Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-101-1/+1
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add option to confidential issues events to trigger WebhooksDouglas Barbosa Alexandre2016-08-311-0/+1
|
* Implement pipeline hooks, extracted from !5525Lin Jen-Shin2016-08-021-0/+1
| | | | Closes #20115
* Merge branch 'hook-docs-behavior' into 'master' Robert Speicher2016-05-111-1/+1
|\ | | | | | | | | | | | | | | Improve documentation and web test for web hooks Tips and documentation of actual hook behavior. Improved user feedback when testing hooks via the web UI. See merge request !4015
| * Remove extra sanitizationJacob Vosmaer2016-05-101-1/+1
| | | | | | | | | | Robert Speicher and I believe this string gets sanitized further down the stack anyway. Doing this in a model class feels wrong.
| * Improve documentation and web test for web hooksJacob Vosmaer2016-05-031-1/+1
| | | | | | | | | | I wanted to share what I learned trying to debug web hooks using netcat.
* | Remove the annotate gem and delete old annotationsJeroen van Baarsen2016-05-091-22/+0
| | | | | | | | | | | | | | | | | | In 8278b763d96ef10c6494409b18b7eb541463af29 the default behaviour of annotation has changes, which was causing a lot of noise in diffs. We decided in #17382 that it is better to get rid of the whole annotate gem, and instead let people look at schema.rb for the columns in a table. Fixes: #17382
* | Annotate modelsDmitriy Zaporozhets2016-05-061-0/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Annotate the modelsZeger-Jan van de Weg2016-05-061-1/+1
|/
* Backported minimal safewebhook implementation to GitLab CEGabriel Mazetto2016-04-301-9/+15
|
* moving overlapping scopes to webhookGabriel Mazetto2016-04-191-0/+3
|
* Raise hook url limitKirilll Zaycev2016-01-151-2/+2
|
* Use CGI.escape instead of URI.escape, because URI is obsoleted.Jason Lee2016-01-121-2/+2
| | | | ref: https://github.com/ruby/ruby/commit/238b979f1789f95262a267d8df6239806f2859cc
* Merge branch 'accept-2xx-status-codes-for-webhooks' into 'master' Dmitriy Zaporozhets2016-01-081-1/+1
|\ | | | | | | | | | | | | Accept 2xx status codes for successful Web hook triggers Closes https://github.com/gitlabhq/gitlabhq/issues/9956 See merge request !2332
| * Accept 2xx status codes for successful Web hook triggersStan Hu2016-01-071-1/+1
| | | | | | | | Closes https://github.com/gitlabhq/gitlabhq/issues/9956
* | Annotate modelsStan Hu2016-01-061-0/+1
|/
* Migrate CI::Services and CI::WebHooks to Services and WebHooksKamil Trzcinski2015-12-101-0/+1
|
* Add custom UrlValidatorRobert Speicher2015-12-071-2/+1
|
* Handle and report SSL errors in Web hook test. Check for status 200 for success.Stan Hu2015-12-041-17/+19
| | | | | | | | | If a Web hook test fails due to an SSL error or some other error, report the result back to the user instead of an Error 500. Closes #3656 Handle response
* Annotate modelsDmitriy Zaporozhets2015-11-131-12/+13
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* enable SSL by defaultenable_ssl_by_defaultValery Sizov2015-09-171-1/+1
|
* Enable SSL verification for Webhooksenable_ssl_verification_web_hookValery Sizov2015-08-261-2/+3
|
* Add support for Webhook note eventsStan Hu2015-05-211-0/+2
| | | | Closes https://github.com/gitlabhq/gitlabhq/issues/6745
* Added X-GitLab-Event header for web hooksbugagazavr2015-05-081-5/+11
|
* Revert "Added X-GitLab-Event header for web hooks"Valery Sizov2015-04-271-11/+5
| | | | This reverts commit 548f182814acd0f7a110e6c165c186e345901b00.
* Added X-GitLab-Event header for web hooksbugagazavr2015-04-251-5/+11
|
* Don't use URI.regexp to validate since it doens't have start/end anchors.Douwe Maan2015-04-111-1/+1
|
* Explicitly define ordering in models using default_scopeDmitriy Zaporozhets2015-02-051-0/+1
|
* Rescue connection reset for web hooksDmitriy Zaporozhets2015-02-031-1/+1
|
* Rubocop enabled for: Use spaces inside hash literal bracesDmitriy Zaporozhets2015-02-021-1/+1
|
* Rescue Net::OpenTimeout exception in web hookDmitriy Zaporozhets2014-12-291-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Handle web hook exceptionDmitriy Zaporozhets2014-12-041-1/+7
| | | | | | | | Write to log if web hook cant be executed. This prevents 500 error when test web hook with invalid URL and prevent exceptions and retries in sidekiq Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add tag_push_events to project hook apiKirill Zaitsev2014-10-031-0/+1
|
* Move hook models in separate dirDmitriy Zaporozhets2014-09-151-0/+52
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>