summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade rspec-rails to 3.8.2 and dependenciessh-bump-rspec-versionsDouglas Barbosa Alexandre2019-07-104-8/+11
| | | | | | | | This brings the rspec-core version in line with the Gitaly changes and introduces Rails 5.1/5.2 improvements. Full CHANGELOG: https://github.com/rspec/rspec-rails/blob/master/Changelog.md
* Merge branch '63044-cluster-health-group-refactor' into 'master'Douglas Barbosa Alexandre2019-07-102-19/+18
|\ | | | | | | | | | | | | Refactor common_metrics importer into a more extensible pattern Closes #63044 See merge request gitlab-org/gitlab-ce!30012
| * Remove unnecessary let in spec63044-cluster-health-group-refactorRyan Cobb2019-07-091-6/+3
| |
| * Rename Gitlab::Importers moduleRyan Cobb2019-07-092-4/+4
| | | | | | | | | | In order to avoid confusion between Gitlab::Importers module and other like named modules, this renamed it to Gitlab::DatabaseImporters.
| * Remove CommonMetricsImporter patchRyan Cobb2019-07-092-18/+20
| | | | | | | | | | | | Remove CommonMetricsImporter patch and change all references to CommonMetrics::Importer. Move specs into their appropriate folders. Also cleans up some common_metric importer namespacing.
| * Move importers to lib folderRyan Cobb2019-07-091-3/+3
| | | | | | | | | | This moves our metric importers into the lib folder. This will allow them to be autoloaded instead of having to explicitly require them.
| * Refactor common metrics importerRyan Cobb2019-07-091-4/+4
| | | | | | | | | | | | | | This refactors common metrics importer for two reasons. 1. To create a new pattern that can be followed by future importers that will minimize dependency collision and 2. To allow EE to more easily extend dependencies.
* | Merge branch 'prepare-cycle-analytics-for-group-level' into 'master'Douglas Barbosa Alexandre2019-07-1010-13/+19
|\ \ | | | | | | | | | | | | Prepare cycle analytics for group level See merge request gitlab-org/gitlab-ce!30356
| * | Add newline before subjectprepare-cycle-analytics-for-group-levelMałgorzata Ksionek2019-07-106-0/+6
| | | | | | | | | | | | Fix rubocop offences
| * | Add cr remarksMałgorzata Ksionek2019-07-099-9/+9
| | |
| * | Add code review remarksMałgorzata Ksionek2019-07-091-2/+2
| | |
| * | Update events specMałgorzata Ksionek2019-07-091-1/+1
| | |
| * | Move project level specsMałgorzata Ksionek2019-07-091-2/+2
| | |
| * | Update class callsMałgorzata Ksionek2019-07-097-7/+7
| | |
| * | Change constant pathMałgorzata Ksionek2019-07-091-1/+1
| | |
* | | Merge branch 'fixed-dropdown-hover-styles' into 'master'Annabel Dunstone Gray2019-07-101-2/+36
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fixed dropdown hover styles Closes #64330 and #64340 See merge request gitlab-org/gitlab-ce!30534
| * | | Fixed dropdown hover stylesPhil Hughes2019-07-091-2/+36
| | | | | | | | | | | | | | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64340
* | | | Workaround ESLint only resolving paths in test filesWinnie Hellmann2019-07-101-1/+1
| | | |
* | | | Merge branch ↵Clement Ho2019-07-101-0/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '64321-wrong-url-when-creating-milestones-from-instance-milestones-dashboard' into 'master' Fix wrong URL when creating milestones from instance milestones dashboard Closes #64321 See merge request gitlab-org/gitlab-ce!30512
| * | | | Fix invalid milestone URL for new milestone dropdown64321-wrong-url-when-creating-milestones-from-instance-milestones-dashboardDmitriy Zaporozhets2019-07-091-0/+14
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | | Expose metrics element for FE consumptionSarah Yasonik2019-07-103-0/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds GFM Pipline filters to insert a placeholder in the generated HTML from GFM based on the presence of a metrics dashboard link. The front end should look for the class 'js-render-metrics' to determine if it should replace the element with metrics charts. The data element 'data-dashboard-url' should be the endpoint the front end should hit in order to obtain a dashboard layout in order to appropriately render the charts.
* | | | | GraphQL support for Notes created in discussions62826-graphql-note-mutationsLuke Duncalfe2019-07-105-2/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new `discussion_id` argument on the `createNote` mutation allows people to create a note within that discussion. The ability to lazy-load Discussions has been added, so GraphQL.object_from_id can treat Discussions the same as AR objects and batch load them. https://gitlab.com/gitlab-org/gitlab-ce/issues/62826 https://gitlab.com/gitlab-org/gitlab-ee/issues/9489
* | | | | Expose diff_refs on MergeRequestTypeLuke Duncalfe2019-07-103-2/+11
| | | | | | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ee/issues/9489
* | | | | GraphQL mutations for managing NotesLuke Duncalfe2019-07-107-1/+376
| |_|_|/ |/| | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/issues/62826
* | | | Merge branch 'fix-unicorn-sampler-workers-count' into 'master'Stan Hu2019-07-091-10/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make unicorn_workers to return meaningful results Closes #63659 See merge request gitlab-org/gitlab-ce!30506
| * | | | Make unicorn_workers to return meaningful resultsfix-unicorn-sampler-workers-countKamil Trzciński2019-07-091-10/+23
| | |_|/ | |/| |
* | | | Merge branch 'project_api' into 'master'Douglas Barbosa Alexandre2019-07-093-5/+105
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | Improve Project API Closes #49938, #40892, and #35992 See merge request gitlab-org/gitlab-ce!28327
| * | | Merge branch 'master' into sathieu/gitlab-ce-project_apiDouglas Barbosa Alexandre2019-07-09109-3112/+4862
| |\ \ \
| * | | | Add auto_devops_* to project APIMathieu Parent2019-07-032-2/+43
| | | | | | | | | | | | | | | | | | | | | | | | | The auto_devops object sometimes doesn't exists. We may need to create it.
| * | | | Add build_git_strategy attribute to project APIMathieu Parent2019-07-032-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | We map the boolean to the string 'fetch' or 'clone', to be more explicit.
| * | | | Add *_access_level to project APIMathieu Parent2019-07-032-5/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - issues_access_level - repository_access_level - merge_requests_access_level - builds_access_level - wiki_access_level - snippets_access_level
* | | | | Merge branch 'jc-disable-can-use-disk-temp' into 'master'Stan Hu2019-07-091-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Disabling can_use_disk? temporarily See merge request gitlab-org/gitlab-ce!30526
| * | | | | Disabling can_use_disk? temporarilyJohn Cai2019-07-091-0/+2
| | |_|_|/ | |/| | |
* | | | | Merge branch 'osw-bypass-push-rules-for-merge-to-ref' into 'master'Stan Hu2019-07-092-0/+26
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | [CE port] Bypass push rules for merge to ref service See merge request gitlab-org/gitlab-ce!30426
| * | | | [CE port] Bypass push rules for merge to ref serviceosw-bypass-push-rules-for-merge-to-refOswaldo Ferreira2019-07-092-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns out push rules to validate commit message does not apply in the context of automatic merge to the refs/merge-requests/:iid/merge. Mainly because if it fails to merge to it, we currently can't give enough preemptive feedback to the user and it'll turn the merge request unmergeable (given we automatically mark it as unmergeable if we can't merge to the ref). In general, it's a systematic operation, which already bypasses user authorization and git hooks. Therefore, this commit makes it bypass the push rules at EE as well.
* | | | | Merge branch 'sh-redact-redis-perf-bar' into 'master'Sean McGivern2019-07-091-0/+36
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Perform more redactions in Redis performance bar traces Closes #64309 See merge request gitlab-org/gitlab-ce!30514
| * | | | | Perform more redactions in Redis performance bar tracesStan Hu2019-07-091-0/+36
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | HMSET and AUTH commands were not properly redacted. This commit does that and adds a test. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64309
* | | | | Skip spam check for task list updatesFelipe Artur2019-07-091-0/+16
| | | | | | | | | | | | | | | | | | | | Task list updates should not mark users action as spam on akismet.
* | | | | Merge branch 'dropdown-styling-fixes' into 'master'Mike Greiling2019-07-091-34/+0
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Fix dropdown styling issues Closes #64250 See merge request gitlab-org/gitlab-ce!30477
| * | | | Fix dropdown styling issuesPhil Hughes2019-07-091-34/+0
| | | | |
* | | | | Implemented frontend suggestionsNick Kipling2019-07-092-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Converted storage details into a small partial Reworded the storage details summary as suggested Updated pot file
* | | | | Remove `:graphql` feature flagcharlie ablett2019-07-092-33/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove `FeatureConstrainer` call wrapping api endpoint - Remove `Feature.enabled?(:graphql)` conditionals in back and frontend - Modify graphql test to be graphql flag agnostic - Remove api routing spec - Remove frontend feature flag via `gon`
* | | | | Merge branch 'fix-median-counting-for-cycle-analytics' into 'master'Andreas Brandl2019-07-091-0/+34
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add additional condition to count median properly See merge request gitlab-org/gitlab-ce!30229
| * | | | | Modify specs according to reviewfix-median-counting-for-cycle-analyticsMałgorzata Ksionek2019-07-041-9/+8
| | | | | |
| * | | | | Rearrange spec for readabilityMałgorzata Ksionek2019-07-041-22/+23
| | | | | |
| * | | | | Fix rubocop offenceMałgorzata Ksionek2019-07-041-1/+1
| | | | | |
| * | | | | Add where condition to count in median classMałgorzata Ksionek2019-07-041-0/+34
| | | | | |
* | | | | | CE Port of Allow bulk update for group issuesFatih Acet2019-07-092-240/+268
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a port MR for CE Original MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14141
* | | | | Fix subgroup url in search drop downFrancisco Javier López2019-07-091-62/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inside a subgroup scope, when the user clicks on the search drop down in the header, some options are displayed. Some of this links direct the user to the issues and merge requests linked to the subgroup. Nevertheless, the url was broken because they doesn't include the complete group namespace
* | | | | Updates on success of an MR the count on top and in other tabsTim Zallmann2019-07-095-0/+187
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New API endpoint for merge request count Updates all open tabs at the same time with one call Restructured API response API response changed to 401 if no current_user Added API + JS specs Fix for Static Check Updated Count on Open/Close, Assign/Unassign of MR's Checking if MR Count is refreshed Added # frozen_string_literal: true to spec Added Changelog