summaryrefslogtreecommitdiff
path: root/app/models/project_services
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-131-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-051-1/+24
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-222-23/+23
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-181-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-161-2/+6
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-111-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-111-2/+5
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-073-6/+6
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-011-0/+5
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-264-5/+5
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-251-5/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-183-8/+8
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-1610-53/+115
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-135-25/+38
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-134-0/+8
|
* Reduce amount of property definitions in ChatNotificationServicePeter Leitzen2019-09-021-6/+13
| | | | | | | Before this commit we redefined properties for supported events on each new instance of ChatNotificationService during "runtime". This commit defines the properties only once during "compile time".
* Fixing #65389Massimeddu Cireddu2019-09-023-2/+10
| | | | Wrong format on MS Teams integration push events with multi line commit messages
* Merge branch 'remove-unnecessary-freeze-in-app-models' into 'master'Stan Hu2019-09-013-3/+3
|\ | | | | | | | | Avoid calling freeze on already frozen strings in app/models See merge request gitlab-org/gitlab-ce!32499
| * Avoid calling freeze on already frozen strings in app/modelsdineshpanda2019-09-013-3/+3
| |
* | Merge branch 'improve-chatops-help' into 'master'Nick Thomas2019-09-011-1/+3
|\ \ | |/ |/| | | | | Improve chatops help output See merge request gitlab-org/gitlab-ce!32208
| * Improve chatops help outputimprove-chatops-helpYorick Peterse2019-08-291-1/+3
| | | | | | | | | | | | | | This improves the output produced when running an unknown command, running the "help" command, and when trying to run a command you are not allowed to run. The new help output includes links to the project of the chatops integration, and a link to the chatops documentation.
* | Merge branch 'security-fix_jira_ssrf_vulnerability' into 'master'GitLab Release Tools Bot2019-08-291-1/+6
|\ \ | |/ |/| | | | | Fix DNS rebind vulnerability for JIRA integration See merge request gitlab/gitlabhq!3266
| * Fix DNS rebind vulnerability for JIRA integrationFelipe Artur2019-08-081-1/+6
| | | | | | | | | | Uses Gitlab::HTTP for JIRA requests instead of Net::Http. Gitlab::Http comes with some built in SSRF protections.
* | Allow disabling group/project email notificationsBrett Walker2019-08-151-0/+1
| | | | | | | | | | | | - Adds UI to configure in group and project settings - Removes notification configuration for users when disabled at group or project level
* | Merge remote-tracking branch ↵John T Skarbek2019-08-141-0/+2
|\ \ | | | | | | | | | 'dev/security-2873-restrict-slash-commands-to-users-who-can-log-in'
| * | Restrict slash commands to users who can log inHordur Freyr Yngvason2019-07-191-0/+2
| | |
* | | Fix project image in Slack pipeline notifications66008-fix-project-image-in-slack-notificationsNathan Friend2019-08-131-1/+1
| | | | | | | | | | | | | | | | | | This commit fixes the project avatar images that are rendered in the footer of Slack pipeline notifications. Previously, the image URLs provided to Slack were relative URLs; now they are absolute.
* | | Final removal of KubernetesService39217-remove-kubernetes-service-integrationTiger2019-08-081-133/+0
| | | | | | | | | | | | | | | | | | Creating new records has been disabled, and all existing records been migrated to clusters as of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28534
* | | Use separate Kubernetes namespaces per environmentTiger Watson2019-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kubernetes deployments on new clusters will now have a separate namespace per project environment, instead of sharing a single namespace for the project. Behaviour of existing clusters is unchanged. All new functionality is controlled by the :kubernetes_namespace_per_environment feature flag, which is safe to enable/disable at any time.
* | | Convert RestClient to Gitlab::HTTP for Prometheus MonitorDavid Wilkins2019-08-071-4/+5
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Closes #60024 - Change PrometheusClient.new to accept a base url instead of an already created RestClient - Use Gitlab::HTTP in PrometheusClient instead of creating RestClient in PrometheusService - Move http_options from PrometheusService to PrometheusClient (follow_redirects: false) - ensure that base urls don't have the trailing slash - Created a `PrometheusClient#url` method that might not be strictly required - Change rescued exceptions from RestClient::* to HTTParty::ResponseError where possible and StandardError for the rest
* | Merge branch '32495-improve-slack-notification-on-pipeline-status' into 'master'Robert Speicher2019-07-261-14/+211
|\ \ | | | | | | | | | | | | | | | | | | Make pipeline failure Slack notifications prettier and more informative Closes #32495 See merge request gitlab-org/gitlab-ce!27683
| * | Improve pipeline status Slack notifications32495-improve-slack-notification-on-pipeline-statusNathan Friend2019-07-251-14/+211
| | | | | | | | | | | | | | | | | | This commit adds some formatting to the Slack notifications for pipeline statuses, as well as adds information about the stage and jobs that failed in the case of pipeline failure.
* | | Backport Jira issue key regexHeinrich Lee Yu2019-07-251-1/+1
|/ /
* | Handle trailing slashes when generating Jira URLs63833-fix-jira-issues-urlHeinrich Lee Yu2019-07-221-1/+7
|/ | | | Applies to issues_url and new_issue_url
* Fix message for successful jira testJarka Košanová2019-07-161-1/+1
|
* Upgrade to Rails 5.2upgrade-rails-5-2-ceHeinrich Lee Yu2019-07-122-2/+2
| | | | Updates changed method names and fixes spec failures
* Add OpenSSL::OpenSSLError to HTTP_ERRORSDouglas Barbosa Alexandre2019-07-051-2/+2
| | | | | | Some services can raise OpenSSL::X509::CertificateError due to an invalid SSL certificates, with OpenSSL::OpenSSLError we can handle these errors.
* Remove now unused KubernetesService methodsremove_unused_k8s_service_methodsJames Fargher2019-07-051-129/+0
| | | | | Now that KubernetesService can no longer be a DeploymentPlatform we can remove all kubernetes client code and KubernetesService edge cases.
* Use title and description fields for issue trackers63690-issue-trackers-titleJarka Košanová2019-07-027-65/+65
| | | | | - instead of using properties - backward compatibility has to be kept for now
* Replace 'JIRA' with 'Jira'Takuya Noguchi2019-06-281-12/+12
| | | | | | https://community.atlassian.com/t5/Jira-questions/Is-it-quot-JIRA-quot-or-quot-Jira-quot/qaq-p/681163 Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
* Extract common validations from ci servicesRaphael Tweitmann2019-06-212-48/+14
| | | | | | DroneCI and TeamCity shared the same validations methods on the data received. These validations were extracted into a concern
* Skip TeamCity on branch delete and add MR triggerNikolay Novikov2019-06-211-24/+66
| | | | | | | | | | | This is a take over from a community contribution: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20990 Skip TeamCity push event when related to branch delete Support merge request events for TeamCity service. Add checkbox for merge request triggers in the TeamCity configuration page.
* Update KubernetesService deprecation warningremove-kubernetes-service-deployment-platformTiger2019-06-211-7/+2
|
* Make KubernetesService readonlyJames Fargher2019-06-183-57/+47
| | | | | | | | We are deprecating this service in favor of instance wide clusters. Therefore we removed some code that is not anymore needed for a readonly cluster and also we added some flags to allow for this deprecation. These flags are to be removed in the next release when we finally completelly remove KubernetesService.
* Create models for issue trackers data58886-issue-tracker-fieldsJarka Košanová2019-06-133-0/+65
| | | | | - create tables for storing issue trackers properties - add model and basic logic & spec
* Allow lowercase prefix for Youtrack issue idsMatthias Baur2019-06-031-3/+3
| | | | | Relates to #42595. Fixes #62661.
* Add notify_only_default_branch option to PipelinesEmailServicePeter Marko2019-05-281-3/+15
|
* Remove legacy Kubernetes #actual_namespace61935-remove-code-left-over-from-when-clusters-were-always-project-specificTiger2019-05-211-10/+8
| | | | | | | | | | | | | | | | | | 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/+1
|
* Update deployment chat message notificationJason Goodman2019-05-021-2/+10
| | | | | Include link to user and commit title. Rearrange text