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