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
path: root/spec
AgeCommit message (Collapse)Author
2019-07-10Allow disk access if we can access storage directlyjc-allow-disk-accessJohn Cai
Move the methods to detect if we can access disk directly into StorageSettings. This reduces complexity by no longer needing synchronization, as well as being able to bypass the disk access check.
2019-07-09Merge branch 'jc-disable-can-use-disk-temp' into 'master'Stan Hu
Disabling can_use_disk? temporarily See merge request gitlab-org/gitlab-ce!30526
2019-07-09Merge branch 'osw-bypass-push-rules-for-merge-to-ref' into 'master'Stan Hu
[CE port] Bypass push rules for merge to ref service See merge request gitlab-org/gitlab-ce!30426
2019-07-09Disabling can_use_disk? temporarilyJohn Cai
2019-07-09[CE port] Bypass push rules for merge to ref serviceOswaldo Ferreira
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.
2019-07-09Merge branch 'sh-redact-redis-perf-bar' into 'master'Sean McGivern
Perform more redactions in Redis performance bar traces Closes #64309 See merge request gitlab-org/gitlab-ce!30514
2019-07-09Skip spam check for task list updatesFelipe Artur
Task list updates should not mark users action as spam on akismet.
2019-07-09Merge branch 'dropdown-styling-fixes' into 'master'Mike Greiling
Fix dropdown styling issues Closes #64250 See merge request gitlab-org/gitlab-ce!30477
2019-07-09Perform more redactions in Redis performance bar tracesStan Hu
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
2019-07-09Implemented frontend suggestionsNick Kipling
Converted storage details into a small partial Reworded the storage details summary as suggested Updated pot file
2019-07-09Remove `:graphql` feature flagcharlie ablett
- 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`
2019-07-09Merge branch 'fix-median-counting-for-cycle-analytics' into 'master'Andreas Brandl
Add additional condition to count median properly See merge request gitlab-org/gitlab-ce!30229
2019-07-09CE Port of Allow bulk update for group issuesFatih Acet
This is a port MR for CE Original MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14141
2019-07-09Fix subgroup url in search drop downFrancisco Javier López
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
2019-07-09Updates on success of an MR the count on top and in other tabsTim Zallmann
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
2019-07-09Fix dropdown styling issuesPhil Hughes
2019-07-09Merge branch 'pb-fix-confidential-mr-dropdown-typo' into 'master'Phil Hughes
Fix typo on confidential MR dropdown See merge request gitlab-org/gitlab-ce!30499
2019-07-09Fix WorkhorseHelpers module is missingShinya Maeda
This interferes spec execution on local environment.
2019-07-09Fix typo on confidential MR dropdownPatrick Bajao
Change issues to issue's
2019-07-09Fixed editing formNatalia Tepluhina
- applied functional component patch - fixed border radius for list - fixed Karma test to take a correct li amount
2019-07-09Merge branch 'allow-reactive-caching-of-nil' into 'master'Stan Hu
Allow ReactiveCaching to support nil value See merge request gitlab-org/gitlab-ce!30456
2019-07-08Schedule namespace aggregation in other contextsMayra Cabrera
Schedules a Namespace::AggregationSchedule worker if some of the project statistics are refreshed. The worker is only executed if the feature flag is enabled.
2019-07-08Allow ReactiveCaching to support nil valueFabio Pitino
When :calculate_reactive_caching returns a nil value this caused ReactiveCaching to schedule a worker every time the code using :with_reactive_cache was called. This issue caused an increasing amount of Sidekiq jobs being created continuously. Implementing this fix behind feature flag :reactive_caching_check_key_exists
2019-07-08Merge branch 'run-pipeline-for-merge-train-at-train-ref-ce' into 'master'Kamil Trzciński
CE Port: Fix race condition of `refs/merge` competing overwrite See merge request gitlab-org/gitlab-ce!30308
2019-07-08Merge branch 'jc-detect-nfs-for-rugged' into 'master'Dmitriy Zaporozhets
Use Rugged if we detect storage is NFS and we can access the disk See merge request gitlab-org/gitlab-ce!29725
2019-07-08Merge branch '63475-fix-n-1' into 'master'Lin Jen-Shin
Reduce N+1 queries in MergeRequestsController#ci_environment_status See merge request gitlab-org/gitlab-ce!30224
2019-07-08Merge branch '40379-CJK-search-min-chars' into 'master'Andreas Brandl
Remove minimum required characters for fuzzy search if no trigram is used See merge request gitlab-org/gitlab-ce!29810
2019-07-08Add retry:0 for controller specs n+1Thong Kuah
As a workaround for https://gitlab.com/gitlab-org/gitlab-ce/issues/64116
2019-07-08Merge branch '60213-fix-is-ee-webpack-checks' into 'master'Filipa Lacerda
Replace runtime isEE check with compile time one Closes #60213 See merge request gitlab-org/gitlab-ce!30351
2019-07-08Fix race condition on merge train ref generationShinya Maeda
Today, Pipelines for merge train run on `refs/merge`, however, this causes a race condition that it can be overwritten by CheckMergeabilityService. This patch fixes the problem by generating `refs/train` for those pipelines.
2019-07-08Merge branch '60856-deleting-binary-file' into 'master'Kushal Pandya
Resolve "Removing an image via Web IDE shows binary data" Closes #60856 See merge request gitlab-org/gitlab-ce!30314
2019-07-08Create CTE query for clusters hierarchyThong Kuah
- This enables us to use a scope to query all clusters in group hierarchy order in one query, and also enables us to union to instance clusters later. - Handle case where clusters not present at level. In which case the query should go ahead and return the next level's clusters. - Swap with new CTE query behind Feature flag. This FF is default disabled.
2019-07-08Restore fallback to deployment_platform_clusterThong Kuah
In 12.2 we will remove this fallback.
2019-07-08Remove un-used methodThong Kuah
We stopped calling the fallback so we can remove this now
2019-07-08Could not address last 5 queriesThong Kuah
Split into followup issue
2019-07-08Extract deployment_metrics into own objectThong Kuah
We can now share project so that we don't have to load project twice. Also, this extracts non-relevant logic out of Deployment. Update DeploymentsController accordingly
2019-07-08Share project object in EnvironmentStatusThong Kuah
Otherwise, each EnvironmentStatus object instantiates its own project when really they are the same. Improves query count performance
2019-07-08Remove fallback to project.deployment_platformThong Kuah
This improves query performance of MergeRequestsController#ci_environments_status a lot. However this means old deployments that deployed to kubernetes clusters with prometheus installations will no longer show performance metrics as we cannot backfill cluster_id from deployment_platform with certainty (clusters may be edited/added/deleted, which changes the results of deployment_platform).
2019-07-08Add failing test showing N+1Thong Kuah
We have an N+1 problem where N is environments.
2019-07-06Prevent amplification of ReactiveCachingWorker jobs upon failuresStan Hu
When `ReactiveCachingWorker` hits an SSL or other exception that occurs quickly and reliably, automatically rescheduling a new worker could lead to excessive number of jobs being scheduled. This happens because not only does the failed job get rescheduled in a minute, but each Sidekiq retry will also add even more rescheduled jobs. In busy instances, this can become an issue because large numbers of `ReactiveCachingWorker` running can cause high rates of `ExclusiveLease` reads to occur and possibly saturate the Redis server with queries. We now disable this automatic retry and rely on Sidekiq to perform its 3 retries with a backoff period. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64176
2019-07-06Remove applySuggestion from notes serviceWinnie Hellmann
2019-07-06Add OpenSSL::OpenSSLError to HTTP_ERRORSDouglas Barbosa Alexandre
Some services can raise OpenSSL::X509::CertificateError due to an invalid SSL certificates, with OpenSSL::OpenSSLError we can handle these errors.
2019-07-05Use Rugged if we detect storage is NFS and we can access the diskJohn Cai
Add a module we use as a singleton to determine whether or not rails is able to access the disk
2019-07-05Replace runtime isEE check with compile time oneLukas Eipert
This has the benefit that CE bundles will remove dead code in CE only builds. We have a follow-up issue to get rid of this completely: https://gitlab.com/gitlab-org/gitlab-ce/issues/64173
2019-07-05Merge branch '51794-add-ordering-to-runner-jobs-api' into 'master'Lin Jen-Shin
Adding order by to list runner jobs api. Closes #51794 See merge request gitlab-org/gitlab-ce!29629
2019-07-05Initiate editor for any file without contentDenys Mishunov
Important to get file data for any file that has no content set yet: we need this information in order to build a previe for changed/staged files if they were not yet opened in the editor
2019-07-05Merge branch 'create-merge-train-ref-ce' into 'master'Douwe Maan
CE Port: Extend `MergeToRefService` to create merge ref from an arbitrary ref See merge request gitlab-org/gitlab-ce!30361
2019-07-05Merge branch 'make-explicit-endpoint-abort-in-auto-merge-ce' into 'master'Kamil Trzciński
CE Port: Split AutoMergeService interfaces into two `cancel` and `abort` See merge request gitlab-org/gitlab-ce!30249
2019-07-05Merge branch 'fetch-forked-projects-create-mr' into 'master'Filipa Lacerda
Create private merge requests in forks Closes #58583 See merge request gitlab-org/gitlab-ce!29984
2019-07-05Merge branch 'fix-divergence-graph-error' into 'master'Filipa Lacerda
Fix divergence graph loading error Closes #64143 See merge request gitlab-org/gitlab-ce!30393