summaryrefslogtreecommitdiff
path: root/app/models/project_services
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '18040-rubocop-line-break-after-guard-clause' into 'master'Rémy Coutable2017-11-203-0/+4
|\ | | | | | | | | | | | | Adds Rubocop rule for line break after guard clause Closes #18040 See merge request gitlab-org/gitlab-ce!15188
| * Adds Rubocop rule for line break after guard clauseJacopo2017-11-163-0/+4
| | | | | | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
* | Resolve "Internationalization support for Prometheus Service Configuration"Jose Ivan Vargas Lopez2017-11-151-3/+3
|/
* Merge branch 'master' into 38464-k8s-appsShinya Maeda2017-11-071-1/+1
|\
| * Fix issue reopen Mattermost / Slack message39791-when-reopening-an-issue-the-mattermost-notification-has-no-context-to-the-issueSean McGivern2017-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | When an issue is reopened, the action is 'reopen', but the state is 'opened' (as we don't have a separate 'reopened' state any more). Because we checked the action in one method and the state in another, this lead to a weird case where the mesage neither linked to the issue, nor contained an attachment with its details. Just checking the action is fine, as it's the most granular.
* | Improve backend structure of dataKamil Trzcinski2017-11-021-4/+2
| |
* | Merge branch 'refactor-clusters' into 38464-k8s-appsKamil Trzcinski2017-11-023-1/+71
|\ \ | |/
| * Merge branch 'add-packagist-project-service' into 'master'Kamil Trzciński2017-10-311-0/+65
| |\ | | | | | | | | | | | | Add Packagist project service See merge request gitlab-org/gitlab-ce!14493
| | * Add Packagist project serviceMatt Coleman2017-10-131-0/+65
| | |
| * | Merge branch 'ac-k8s-namespace-validator' into 'master'Rémy Coutable2017-10-271-1/+4
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Sanitize k8s default_namespace Closes #38692 See merge request gitlab-org/gitlab-ce!15053
| | * | Add KubernetesService#default_namespace testsac-k8s-namespace-validatorAlessio Caiazza2017-10-261-9/+2
| | | |
| | * | namespace should be lowercased in kubernetes. This is also true for the ↵Mircea Danila Dumitrescu2017-10-041-1/+11
| | | | | | | | | | | | | | | | scenario where the namespace is generated from the project group-name.
| * | | Validate username/pw for Jiraservice, require them in the APIRobert Schilling2017-10-241-0/+2
| | |/ | |/|
* | | Install k8s application with helm running inside the clusterAlessio Caiazza2017-11-021-0/+6
|/ /
* | Include GitLab full name with username in Slack messagessh-show-all-slack-namesStan Hu2017-10-067-16/+26
|/ | | | | | | | We used to include the first and last name of the user, but !6624 modified this to include only the username. Let's compromise and add both in the form of `First Last (username)`. Closes #38865
* Also treat newlines as separator, as people would do thatLin Jen-Shin2017-09-131-1/+1
| | | | | Before this fix, I don't know if those emails would work having newlines in them.
* replace `is_update?` with `update?`Maxim Rydkin2017-08-292-6/+6
|
* Enfouce namespace for Kubernetes to lowercaseShinya Maeda2017-08-221-0/+6
|
* Whitelist or fix additional `Gitlab/PublicSend` cop violationsrs-more-public-send-whitelistsRobert Speicher2017-08-142-2/+2
| | | | | An upcoming update to rubocop-gitlab-security added additional violations.
* Ensure `JIRA::Resource::Issue` responds to `resolution` before calling itMehdi Lahmam2017-08-031-2/+6
|
* Rename many path_with_namespace -> full_pathGabriel Mazetto2017-08-012-4/+4
|
* Merge issuable "reopened" state into "opened"merge-issuable-reopened-into-opened-stateYorick Peterse2017-07-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having two states that essentially mean the same thing is very much like having a boolean "true" and boolean "mostly-true": it's rather silly. This commit merges the "reopened" state into the "opened" state while taking care of system notes still showing messages along the lines of "Alice reopened this issue". A big benefit from having only two states (opened and closed) is that indexing and querying becomes simpler and more performant. For example, to get all the opened queries we no longer have to query both states: SELECT * FROM issues WHERE project_id = 2 AND state IN ('opened', 'reopened'); Instead we can query a single state directly, which can be much faster: SELECT * FROM issues WHERE project_id = 2 AND state = 'opened'; Further, only having two states makes indexing easier as we will only ever filter (and thus scan an index) using a single value. Partial indexes could help but aren't supported on MySQL, complicating the development process and not being helpful for MySQL.
* Display specific error message when JIRA test fails32483-jira-errorJarka Kadlecova2017-07-271-2/+6
|
* Remove project_key from the Jira configurationJarka Kadlecova2017-07-251-15/+3
|
* Support both internal and external issue trackersJarka Kadlecova2017-07-242-3/+7
|
* Resolve "Clarify k8s service keys"Dimitrie Hoekstra2017-07-191-10/+10
|
* Fix external issue trackers redirectissue_35132Felipe Artur2017-07-182-3/+3
|
* Include new URL helpers retroactively into includers of Gitlab::Routingdm-fix-project-path-helpers-productionDouwe Maan2017-07-072-2/+2
|
* Merge branch '33360-generate-kubeconfig' into 'master'Kamil Trzciński2017-07-061-1/+12
|\ | | | | | | | | | | | | Generate KUBECONFIG in KubernetesService#predefined_variables Closes #33360 See merge request !12223
| * Rename KUBECONFIG_FILE to KUBECONFIGLin Jen-Shin2017-07-061-1/+1
| |
| * Merge remote-tracking branch 'upstream/master' into 33360-generate-kubeconfigLin Jen-Shin2017-07-069-38/+49
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (888 commits) Fix Rubocop offense Use a previous approach for cycle analytics dummy pipeline Allow admin to disable all restricted visibility levels Removes file_name_regex from Gitlab::Regex Remove IIFEs around several javascript classes Update CHANGELOG.md for 9.3.5 Add ProjectPathHelper cop Create and use project path helpers that only need a project, no namespace Handles realtime with 2 states for environments table Revert "Merge branch '18000-remember-me-for-oauth-login' into 'master'" Allow creation of files and directories with spaces in web UI Disable Flipper memoizer in tests to avoid transient failures Introduce cache policies for CI jobs fix sidebar padding for full-width items (Time Tracking help) Replace 'snippets/snippets.feature' spinach with rspec Rename ci_config_file to ci_config_path Add back Pipeline#ci_yaml_file_path due to all the troubles Revert change to design. Go back to scrollable page Fix cycle analytics tests by making pipeline valid Fixes the column widths for the new navigation options in settings ...
| * | Changelog entry, doc, and only pass KUBECONFIG_FILELin Jen-Shin2017-06-161-2/+1
| | |
| * | Generate KUBECONFIG in KubernetesService#predefined_variablesLin Jen-Shin2017-06-161-1/+13
| | |
* | | Added Cop to blacklist the use of `dependent:`Yorick Peterse2017-07-061-1/+1
| |/ |/| | | | | | | | | | | | | This is allowed for existing instances so we don't end up 76 offenses right away, but for new code one should _only_ use this if they _have_ to remove non database data. Even then it's usually better to do this in a service class as this gives you more control over how to remove the data (e.g. in bulk).
* | Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-053-9/+9
| |
* | Improve support for external issue referencesadam-external-issue-references-spikeAdam Niedzielski2017-06-302-2/+5
| |
* | Fix bug where Service `created_at` time was used instead of deployment time.33933-fix-deployment-indicator-datePawel Chojnacki2017-06-221-1/+1
| |
* | Merge remote-tracking branch 'upstream/master' into ↵28717-additional-metrics-review-branchPawel Chojnacki2017-06-225-10/+10
|\ \ | | | | | | | | | 28717-additional-metrics-review-branch
| * | Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-2/+2
| | |
| * | Remove backticks from chat messages because they're not rendered as codedm-chat-message-backticksDouwe Maan2017-06-192-3/+3
| | |
| * | Rename "Slash commands" to "Quick actions"Eric Eastwood2017-06-153-5/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27070 Deprecate "chat commands" in favor of "slash commands" We looked for things like: - `slash commmand` - `slash_command` - `slash-command` - `SlashCommand`
* | Merge remote-tracking branch 'upstream/master' into ↵Pawel Chojnacki2017-06-161-19/+18
|\ \ | |/ | | | | 28717-additional-metrics-review-branch
| * Backport EE changes to the Kubernetes serviceNick Thomas2017-06-141-19/+18
| |
* | Test Additional metrics parser and fix query checking testsPawel Chojnacki2017-06-091-4/+0
| |
* | Fix Additional metrics filteringPawel Chojnacki2017-06-081-1/+5
| | | | | | | | + remove test button that was leftover after a bad merge
* | Merge remote-tracking branch 'upstream/master' into ↵Pawel Chojnacki2017-06-0723-47/+65
|\ \ | |/ | | | | | | | | | | | | 28717-additional-metrics-review-branch # Conflicts: # app/models/project_services/prometheus_service.rb # app/views/projects/services/_form.html.haml
| * Address MR commentsJarka Kadlecova2017-06-014-1/+13
| |
| * Add feature tests for improved JIRA settingsJarka Kadlecova2017-06-012-8/+0
| |
| * simplify test&save actions when setting a service integrationJarka Kadlecova2017-06-0121-37/+42
| |
| * Don’t create comment on JIRA if link already existsJarka Kadlecova2017-05-301-3/+12
| |