summaryrefslogtreecommitdiff
path: root/spec/models/project_services
Commit message (Collapse)AuthorAgeFilesLines
* Merge dev.gitlab.org master into GitLab.com masterYorick Peterse2019-06-037-27/+35
|\
| * Protect Gitlab::HTTP against DNS rebinding attackDouwe Maan2019-05-307-27/+35
| | | | | | | | | | | | Gitlab::HTTP now resolves the hostname only once, verifies the IP is not blocked, and then uses the same IP to perform the actual request, while passing the original hostname in the `Host` header and SSL SNI field.
* | Add notify_only_default_branch option to PipelinesEmailServicePeter Marko2019-05-281-17/+59
|/
* Remove legacy Kubernetes #actual_namespace61935-remove-code-left-over-from-when-clusters-were-always-project-specificTiger2019-05-211-10/+12
| | | | | | | | | | | | | | | | | | When Kubernetes clusters were originally built they could only exist at the project level, and so there was logic included that assumed there would only ever be a single Kubernetes namespace per cluster. We now support clusters at the group and instance level, which allows multiple namespaces. This change consolidates various project-specific fallbacks to generate namespaces, and hands all responsibility to the Clusters::KubernetesNamespace model. There is now no concept of a single namespace for a Clusters::Platforms::Kubernetes; to retrieve a namespace a project must now be supplied in all cases. This simplifies upcoming work to use a separate Kubernetes namespace per project environment (instead of a namespace per project).
* Resolve "JIRA service: NoMethodError: undefined method `find' for nil:NilClass"Patrick Derichs2019-05-101-0/+7
|
* Update deployment chat message notificationJason Goodman2019-05-021-5/+8
| | | | | Include link to user and commit title. Rearrange text
* Merge branch 'use-keyword-args-for-databuilder-push' into 'master'Douglas Barbosa Alexandre2019-04-291-6/+5
|\ | | | | | | | | Use keyword args for databuilder push See merge request gitlab-org/gitlab-ce!24088
| * Use all keyword args for DataBuilder::Push.build()Jonathon Reinhart2019-04-251-6/+5
| |
* | Add deployment events to chat notification servicesJason Goodman2019-04-262-0/+156
|/ | | | | This enables sending a chat message to Slack or Mattermost upon a successful, failed, or canceled deployment
* Add frozen_string_literal to HipChat filesrestore-hipchatSean McGivern2019-04-101-0/+2
|
* Fix UrlBlocker specSean McGivern2019-04-101-1/+1
| | | | | | | | | | The newer version of HTTParty we now use will try harder to get a valid URL out of a relative one. Unfortunately, when there's no room (as was the case in this spec), the relative URL begins with `//`, which is actually a protocol-relative URL, not a simple path. Adding a room - which will always be the case in 'real life' - fixes this.
* Revert "Remove HipChat integration from GitLab"Sean McGivern2019-04-101-0/+408
| | | | This reverts commit a5378665a1dc0b9c8dc3a4fa279a0eb78aac5aac.
* Autocorrect with RSpec/ExampleWording copThong Kuah2019-04-052-15/+15
| | | | | | | - rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only"
* Add # frozen_string_literal to spec/modelsThong Kuah2019-04-0135-0/+70
| | | | Adds `# frozen_string_literal: true` to spec/models ruby files
* Update dashboards to additionally use new environment selectorJames Fargher2019-03-211-2/+3
| | | | | Deploy boards now will check for app.gitlab.com/env and app.gitlab.com/app
* Tweak kubernetes_service_spec for EE compatibilityTiger2019-03-151-2/+5
|
* Resolve "Mask the existing variables"Matija Čupić2019-03-071-1/+1
|
* Merge dev master into GitLab.com masterYorick Peterse2019-03-041-18/+43
|\
| * Check validity of prometheus_service before queryReuben Pereira2019-03-041-18/+43
| | | | | | | | | | | | | | Check validity before querying so that if the dns entry for the api_url has been changed to something invalid after the model was saved and checked for validity, it will not query. This is to solve a toctou (time of check to time of use) issue.
* | Jira: Make issue links title compactDouglas Barbosa Alexandre2019-02-281-1/+2
|/ | | | Port of a community contribution from @glensc to upstream.
* Merge branch 'add_YouTrack_integration' into 'master'Sean McGivern2019-02-261-0/+38
|\ | | | | | | | | | | | | Added YouTrack integration Closes #42595 See merge request gitlab-org/gitlab-ce!25361
| * Remove new_issue_url field from YouTrack integration serviceKotau Yauhen2019-02-211-3/+0
| |
| * Fix failed testYauhen Kotau2019-02-181-1/+1
| |
| * Added YouTrack integrationYauhen Kotau2019-02-181-0/+41
| | | | | | | | Fixes gitlab-org/gitlab-ce#42595
* | Move ChatOps to CoreJames Fargher2019-02-201-0/+7
|/ | | | ChatOps used to be in the Ultimate tier.
* Remove HipChat integration from GitLabNick Thomas2019-02-081-408/+0
|
* Fixed bug when external wiki is enabledFrancisco Javier López2019-01-311-21/+0
| | | | | | | | When the external wiki is enabled, the internal wiki link is replaced by the external wiki url. But the internal wiki is still accessible. In this change the external wiki will have its own tab in the sidebar and only if the services are disabled the tab (and access rights) will not be displayed.
* Support polymorphism of Bamboo REST API resultsAlex Lossent2019-01-301-4/+22
| | | | It may return single result or an array of results
* Enable the Layout/ExtraSpacing cop56392-enable-the-layout-extraspacing-copRémy Coutable2019-01-241-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use revision instead of build number for TC query.Willi Nesensohn2019-01-101-1/+1
|
* Merge branch 'security-2736-prometheus-ssrf' into 'master'Cindy Pallares2018-11-281-0/+17
| | | | | [master] Do not follow redirects in prometheus service See merge request gitlab/gitlabhq!2617
* Add support for surfacing a link to the branch or tag name in push message…Tony Castrogiovanni2018-11-191-12/+53
|
* Merge branch 'blackst0ne-add-discord-service' into 'master'Sean McGivern2018-11-122-242/+18
|\ | | | | | | | | | | | | Add Discord integration Closes #21635 See merge request gitlab-org/gitlab-ce!22684
| * Fix minor offensesblackst0ne-add-discord-serviceblackst0ne2018-11-101-1/+1
| |
| * Refactor specsblackst0ne2018-11-072-460/+11
| |
| * DRY specs, fix typos in docsblackst0ne2018-11-062-43/+24
| |
| * Fix frozen stringsblackst0ne2018-11-051-0/+2
| |
| * Add spec for DiscordServiceblackst0ne2018-11-051-0/+242
| |
* | Incorporates Kubernetes Namespace into Cluster's flowThong Kuah2018-11-021-3/+3
| |
* | Merge branch 'sh-fix-hipchat-ssrf' into 'master'Jan Provaznik2018-10-291-0/+18
|\ \ | |/ |/| | | | | [master] Prevent SSRF attacks in HipChat integration See merge request gitlab/gitlabhq!2530
| * Prevent SSRF attacks in HipChat integrationStan Hu2018-10-021-0/+18
| | | | | | | | | | | | | | This change monkey patches the HipChat client to use the GitLab HTTParty connection adapter, which can block access to certain hosts. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51142
* | Correctly process Bamboo API resultsAlex Lossent2018-10-191-1/+2
| | | | | | | | | | Bamboo API returns an array of results as per https://docs.atlassian.com/atlassian-bamboo/REST/6.2.5/#d2e786
* | Show available clusters when installed or updatedPeter Leitzen2018-10-161-6/+17
|/ | | | | Before this commit updating Prometheus (e.g. adding alerts) made it "updated" therefore not installed.
* Fix activity titles for MRs in chat notification servicesNick Thomas2018-09-201-0/+17
|
* Fix double title in merge request chat messagesKukovskii Vladimir2018-09-111-4/+4
|
* Move project services log to a separate fileFelipe Artur2018-09-061-3/+3
|
* Add tests for ChatNotificationService#executeTakuya Noguchi2018-08-311-0/+50
|
* Add JIRA service specs to commit objectFelipe Artur2018-08-211-121/+134
|
* Remove Gemnasium serviceGilbert Roulot2018-08-201-74/+0
|
* Allow multiple JIRA transition idsFelipe Artur2018-08-031-6/+47
|