Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-20Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-15Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-01-21Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-01-16Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-19Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-16Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-05Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-03Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-22Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-17Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-11Add source and merge_request fields to pipeline event webhookBian Jiaping
2019-08-13Reduce Gitaly calls in PostReceiveStan Hu
This commit reduces I/O load and memory utilization during PostReceive for the common case when no project hooks or services are set up. We saw a Gitaly N+1 issue in `CommitDelta` when many tags or branches are pushed. We can reduce this overhead in the common case because we observe that most new projects do not have any Web hooks or services, especially when they are first created. Previously, `BaseHooksService` unconditionally iterated through the last 20 commits of each ref to build the `push_data` structure. The `push_data` structured was used in numerous places: 1. Building the push payload in `EventCreateService` 2. Creating a CI pipeline 3. Executing project Web or system hooks 4. Executing project services 5. As the return value of `BaseHooksService#execute` 6. `BranchHooksService#invalidated_file_types` We only need to generate the full `push_data` for items 3, 4, and 6. Item 1: `EventCreateService` only needs the last commit and doesn't actually need the commit deltas. Item 2: In addition, `Ci::CreatePipelineService` only needed a subset of the parameters. Item 5: The return value of `BaseHooksService#execute` also wasn't being used anywhere. Item 6: This is only used when pushing to the default branch, so if many tags are pushed we can save significant I/O here. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65878 Fic
2019-07-26Add frozen_string_literal to spec/lib (part 1)Thong Kuah
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-06-20Fix label serialisation in issue and note hooksSean McGivern
We were not calling hook_attrs on the labels correctly. Specs were passing because the issues under test did not have any labels!
2019-06-10Adding labels to note event payload.Sujay Patel
2019-05-28Use source ref for pipeline webhookShinya Maeda
When user uses Pipelines for merge requests, the pipeline is a run on a merge request ref instead of branch ref. However, we should send source ref as a webhook in order to respect the original behavior.
2019-05-02Update deployment chat message notificationJason Goodman
Include link to user and commit title. Rearrange text
2019-04-29Merge branch 'use-keyword-args-for-databuilder-push' into 'master'Douglas Barbosa Alexandre
Use keyword args for databuilder push See merge request gitlab-org/gitlab-ce!24088
2019-04-27Add deployment events to chat notification servicesJason Goodman
This enables sending a chat message to Slack or Mattermost upon a successful, failed, or canceled deployment
2019-04-25Use all keyword args for DataBuilder::Push.build()Jonathon Reinhart
2019-01-31Fix private user email being visible in tag webhooksLuke Duncalfe
Fixes #54721
2019-01-31Prefer build() rather than create()Luke Duncalfe
2019-01-29Re-enable MethodCallWithoutArgsParentheses CopAndrew Newdigate
Re-enables and autocorrects all instances of the Style/MethodCallWithoutArgsParentheses rule
2018-10-01Add variables on pipeline webhookPierre Tardy
2018-08-20Test for failure_reason in job webhookMaciej Sokolowski
2018-06-27Rails5 fix MySQL milliseconds problem in specsJasper Maes
2018-05-07Bump Gitaly to 0.98.0Zeger-Jan van de Weg
Hooks were run for wikis, but given the internal API wasn't responding failures happended, as seen on: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18693
2018-04-05Merge branch 'jej/mattermost-notification-confidentiality-10-6' into ↵Douwe Maan
'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-03-07Backport changes from EE's GithubService integrationJames Edwards-Jones
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-05Replace deprecated name_with_namespace with full_name in app and specDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-09-12Resolve "Error 500 in non-UTF8 branch names"Micael Bergeron
2017-08-11Enable the RSpec/HookArgument cop and auto-correct offensesRobert Speicher
2017-07-27Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-20Wrong data type when testing webhooksAlexander Randa
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-05-11Add username field to push webhookDavid Turner
Signed-off-by: David Turner <novalis@novalis.org>
2017-02-17Merge branch '26500-informative-slack-notifications' into 'master' Kamil Trzciński
Adding links to user & build stage in a Build message Closes #26500 See merge request !8641
2017-01-25Use `:empty_project` where possible throughout spec/libRobert Speicher
2017-01-25Adding links to user & build in Chat NotificationsPoornima M
2016-10-11refactors tests because of gitlab-test repository changestiagonbotelho
2016-08-12Simplify the name for data builder, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13671791
2016-08-12Prefer described_class, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13810811 And other similar places.
2016-08-11Enhance a pipeline event tests to analyse number of returned buildsKamil Trzcinski
2016-08-04Move those builders to their own namespace, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13540099
2016-08-02Implement pipeline hooks, extracted from !5525Lin Jen-Shin
Closes #20115