Commit graph

26 commits

Author SHA1 Message Date
Douwe Maan
52967b107b
Merge branch 'jej/mattermost-notification-confidentiality-10-6' into 'security-10-6'
[10.6] Prevent notes on confidential issues from being sent to chat

See merge request gitlab/gitlabhq!2366
# Conflicts:
#	app/helpers/services_helper.rb
2018-04-05 08:41:56 +02:00
Douwe Maan
7734e85bc6 Merge branch 'ce-jej/github-project-service-for-ci' into 'master'
Backport changes from introducing GithubService interation in EE

See merge request gitlab-org/gitlab-ce!17607
2018-03-08 00:39:27 +00:00
James Edwards-Jones
6253d4456a Backport changes from EE's GithubService integration
Adds detailed_status to pipeline hook data
Adds detailed_description option for Services
Integration edit page renders 404 if a service is disabled
2018-03-07 17:50:10 +00:00
Dmitriy Zaporozhets
aeab4e6263
Use Project#full_name instead of name_with_namespace
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-03-07 16:07:09 +02:00
Vitaliy @blackst0ne Klachkov
614bfc3afb Use full URL of user avatar on webhook push 2017-10-05 23:54:56 +11:00
Andrew Newdigate
9f71ea0d4d Workaround for #38259 2017-09-22 18:54:35 +00:00
Stan Hu
1e53f40c25 Simplify system hook testing and guarantee test will fire
The change in !11728 would cause an arbitrary project to be chosen to test
system hooks, and it's likely that the project would not have any commits or
relevant commits to test the hook. This would prevent admins from verifying
that the hook fired. Instead of trying to create a representative hook
dynamically, just send static data to guarantee the hook will actually be
tested.

Closes #37067
2017-08-27 15:50:20 -07:00
Douwe Maan
0e355e5c92 Load and process at most 100 commits when pushing into default branch 2017-07-28 17:23:13 +02:00
Alexander Randa
e0ab5618a0 Wrong data type when testing webhooks 2017-07-20 15:12:06 +00:00
Grzegorz Bizon
c00d72b6f3 Rename pipeline methods related to legacy stages 2017-06-01 11:55:18 +02: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
Gabriel Mazetto
f661980904 Added repository_update hook 2017-05-12 23:26:48 +01: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
Rémy Coutable
d40e1f547e Enable the Style/TrailingCommaInLiteral cop
Use the EnforcedStyleForMultiline: no_comma option.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10 18:25:45 +02:00
Tiago Botelho
6368072fd7 improves test settings for chat notification services for empty projects 2017-04-27 18:36:10 +01:00
Grzegorz Bizon
ac5bd3b73c Reinstitute a core manual status for manual actions 2017-03-06 10:04:04 +01:00
Poornima M
d5fa77d53d Adding links to user & build in Chat Notifications 2017-01-25 21:48:57 +05:30
Kamil Trzcinski
953a10947b Added Ci::Stage specs 2016-12-06 16:04:30 +01:00
Kamil Trzcinski
d865aedafc Introduce Ci::Stage, right now this is artificial object that is build dynamically. 2016-12-06 14:13:21 +01:00
Alejandro Rodríguez
fa3bbd449e Fix lightweight tags not processed correctly by GitTagPushService
When we updated gitlab_git to 10.4.1, `tag.target` changed from pointing
to the sha of the tag to the sha of the commit the tag points to. The
problem is that only annotated tags have `object_sha`s, lightweight tags
don't (it's nil), so (only) in their case we still need to use
`tag.target`.
2016-10-28 13:53:18 -03:00
Lin Jen-Shin
d5264e8804 Simplify the name for data builder, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13671791
2016-08-12 16:09:29 +08:00
Lin Jen-Shin
0a20897bbe Prefer extend self over module_function, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13672004
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13810498
2016-08-12 15:33:28 +08:00
Kamil Trzcinski
ffa75a497a Remove stage parameter from send payload 2016-08-11 17:23:07 +02:00
Lin Jen-Shin
f88d4523f3 We still need to skip loading config_processor if skip_ci? 2016-08-05 13:53:43 +08:00
Lin Jen-Shin
984367f957 Move those builders to their own namespace, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13540099
2016-08-04 23:44:27 +08:00
Lin Jen-Shin
020ea32e76 Implement pipeline hooks, extracted from !5525
Closes #20115
2016-08-02 18:22:24 +08:00