Douglas Barbosa Alexandre
21f10af095
Scope hooks thal will run for confidential issues
2016-08-31 18:34:45 -03:00
Douglas Barbosa Alexandre
a103a5d9cc
Add option to confidential issues events to trigger Webhooks
2016-08-31 18:34:23 -03:00
Lin Jen-Shin
020ea32e76
Implement pipeline hooks, extracted from !5525
...
Closes #20115
2016-08-02 18:22:24 +08:00
Robert Speicher
d8415389de
Merge branch 'hook-docs-behavior' into 'master'
...
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
2016-05-11 16:34:00 +00:00
Jacob Vosmaer
ebf80db3ab
Remove extra sanitization
...
Robert Speicher and I believe this string gets sanitized further down
the stack anyway. Doing this in a model class feels wrong.
2016-05-10 11:14:46 +02:00
Jeroen van Baarsen
f1479b56b7
Remove the annotate gem and delete old annotations
...
In 8278b763d9 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
2016-05-09 18:00:28 +02:00
Dmitriy Zaporozhets
2dcd3f29dd
Annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-05-06 16:13:35 +02:00
Zeger-Jan van de Weg
47da013cf8
Annotate the models
2016-05-06 08:27:46 +02:00
Jacob Vosmaer
f4e0c56279
Improve documentation and web test for web hooks
...
I wanted to share what I learned trying to debug web hooks using
netcat.
2016-05-03 13:03:10 +02:00
Gabriel Mazetto
0cd5edf35c
Backported minimal safewebhook implementation to GitLab CE
2016-04-30 05:04:10 -03:00
Sebastian Klier
54661d3d44
add slack notifications for wiki pages
...
update changelog
2016-04-20 08:25:40 +08:00
Gabriel Mazetto
f6fa18668a
moving overlapping scopes to webhook
2016-04-19 11:00:30 +02:00
Gabriel Mazetto
ee1090e2b2
Added System Hooks for push and tag_push
...
Code is based on Project Webhooks, removing deprecations and without
commits listing.
2016-04-19 11:00:30 +02:00
Kirilll Zaycev
e80113593c
Raise hook url limit
2016-01-15 00:35:12 +03:00
Jason Lee
932a247f5f
Use CGI.escape instead of URI.escape, because URI is obsoleted.
...
ref: 238b979f17
2016-01-12 18:20:03 +08:00
Dmitriy Zaporozhets
08213ed4f5
Merge branch 'accept-2xx-status-codes-for-webhooks' into 'master'
...
Accept 2xx status codes for successful Web hook triggers
Closes https://github.com/gitlabhq/gitlabhq/issues/9956
See merge request !2332
2016-01-08 10:56:39 +00:00
Stan Hu
8386edafd1
Accept 2xx status codes for successful Web hook triggers
...
Closes https://github.com/gitlabhq/gitlabhq/issues/9956
2016-01-07 06:28:24 -08:00
Stan Hu
79c0e7212a
Annotate models
2016-01-06 13:09:55 +00:00
Kamil Trzcinski
2988e1fbf5
Migrate CI::Services and CI::WebHooks to Services and WebHooks
2015-12-10 16:04:08 +01:00
Robert Speicher
d5ea93469b
Add custom UrlValidator
2015-12-07 16:57:26 -05:00
Stan Hu
a120b78940
Handle and report SSL errors in Web hook test. Check for status 200 for success.
...
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
2015-12-04 07:13:28 -08:00
Dmitriy Zaporozhets
a237999f00
Annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-13 19:22:46 +01:00
Valery Sizov
ce4defaf2f
enable SSL by default
2015-09-17 09:51:24 +03:00
Valery Sizov
bafffb2d14
Enable SSL verification for Webhooks
2015-08-26 15:48:31 +03:00
Stan Hu
deeff56967
Add support for Webhook note events
...
Closes https://github.com/gitlabhq/gitlabhq/issues/6745
2015-05-21 23:48:16 -04:00
bugagazavr
acac788902
Added X-GitLab-Event header for web hooks
2015-05-08 16:49:03 +03:00
Valery Sizov
bc9ba5237c
Revert "Added X-GitLab-Event header for web hooks"
...
This reverts commit 548f182814 .
2015-04-27 16:29:31 +03:00
bugagazavr
548f182814
Added X-GitLab-Event header for web hooks
2015-04-25 21:31:52 +03:00
Douwe Maan
9e52a2dcab
Don't use URI.regexp to validate since it doens't have start/end anchors.
2015-04-11 11:38:14 +02:00
Dmitriy Zaporozhets
62ed1c537e
Explicitly define ordering in models using default_scope
2015-02-05 14:20:55 -08:00
Dmitriy Zaporozhets
a89d7adfa4
Rescue connection reset for web hooks
2015-02-03 13:57:28 -08:00
Dmitriy Zaporozhets
e890582681
Rubocop enabled for: Use spaces inside hash literal braces
2015-02-02 20:36:54 -08:00
Dmitriy Zaporozhets
b07802ab68
Rescue Net::OpenTimeout exception in web hook
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-29 16:41:10 +02:00
Dmitriy Zaporozhets
db2edff937
Handle web hook exception
...
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>
2014-12-04 15:07:01 +02:00
Kirill Zaitsev
b4963e9dda
Add tag_push_events to project hook api
2014-10-03 10:23:32 +04:00
Dmitriy Zaporozhets
38ed0deaac
Move hook models in separate dir
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-15 11:31:30 +03:00