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/lib
AgeCommit message (Collapse)Author
2019-04-26Add ProjectMetricsDashboardSetting model and tableReuben Pereira
This new table will be used to store the external_dashboard_url which allows users to add a link to their external dashboards (ex Grafana) to the Metrics dashboard.
2019-04-25Merge branch 'winh-typo-blob_spec' into 'master'Lin Jen-Shin
Fix typo in blob_spec.rb See merge request gitlab-org/gitlab-ce!27661
2019-04-25Merge branch 'get-rid-of-user-namespace-method' into 'master'Dmitriy Zaporozhets
Get rid of the user_namespace API helper method See merge request gitlab-org/gitlab-ce!27636
2019-04-25Fix typo in blob_spec.rbWinnie Hellmann
2019-04-25Added list_pages method to avoid loading all wiki pages contentFrancisco Javier López
Inside a wiki, when we show the sidebar or browse to the `pages`, all page contents are retrieved from Gitaly and that is a waste of resources, since no content from that pages are going to be showed. This MR introduces the method `ProjectWiki#list_pages`, which uses new wiki_list_pages RPC call to retrieve pages without content Also in the `WikisController` we're using the method to show pages in the sidebar and also on the `pages` page.
2019-04-24Get rid of the user_namespace API helper methodRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-24Fix bug when project export to remote url failsFrancisco Javier López
2019-04-24Merge branch '60800-properly-authorize-our-own-graphql-scalar-types' into ↵Dmitriy Zaporozhets
'master' Properly authorize our own GraphQL scalar types Closes #60800 See merge request gitlab-org/gitlab-ce!27563
2019-04-23Merge branch ↵Michael Kozono
'ce-11199-add-a-rake-task-to-seed-insights-data-for-a-given-project' into 'master' Provide a new gitlab:seed:issues task See merge request gitlab-org/gitlab-ce!27454
2019-04-23Merge branch 'support-negative-matches' into 'master'Grzegorz Bizon
Support negative matches See merge request gitlab-org/gitlab-ce!27510
2019-04-23Add feature flag to disable LFS checkIgor
2019-04-23Support negative matchesKamil Trzciński
This adds support for != and !~ operators giving more flexibility in comparing values
2019-04-23Merge branch 'upgrade-to-rails-5-1' into 'master'Rémy Coutable
Upgrade Rails to 5.1 See merge request gitlab-org/gitlab-ce!27480
2019-04-23Provide a new gitlab:seed:issues taskRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-23Merge branch 'sh-avoid-fetching-temp-refs-within-project' into 'master'Douwe Maan
Don't create a temp reference for branch comparisons within project Closes #58315 See merge request gitlab-org/gitlab-ce!24038
2019-04-23Upgrade Rails to 5.1.6.1Jasper Maes
Model.new.attributes now also returns encrypted attributes.
2019-04-23Check for all scalar typesBrett Walker
2019-04-22Remove protected_branch_creation feature flagPatrick Bajao
2019-04-19Make use of local ref if it is reachableOswaldo Ferreira
2019-04-19Merge branch 'retry-review-deploy-twice' into 'master'Lin Jen-Shin
Retry the review-deploy job twice and make the Review App cleanup more efficient See merge request gitlab-org/gitlab-ce!27489
2019-04-19Merge branch 'bvl-graphql-only-authorize-rendered-fields' into 'master'Lin Jen-Shin
Only check abilities on rendered GraphQL nodes Closes #58647 and #60355 See merge request gitlab-org/gitlab-ce!27273
2019-04-19Make the Review App cleanup more efficientRémy Coutable
Ensure that the cleanup starts right away. Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-19Check that source and target branch existStan Hu
This ensures the return value is consistent if the source and/or branch do not exist.
2019-04-19Remove source_branch_name commit checkStan Hu
This should already be done in Gitlab::Git:Compare.
2019-04-19Don't create a temp reference for branch comparisons within projectStan Hu
A temp reference is only needed to fetch a branch from another project, as in the case for forked repositories. For branch comparisons within the same project, we can just use the existing branch names to do the comparison. Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/38689#note_126107862
2019-04-18Only check abilities on rendered GraphQL nodesBob Van Landuyt
With this we only check abilities on the rendered edges of a GraphQL connection instead of all the nodes in it.
2019-04-18Migrate correlation and tracing code to LabKitAndrew Newdigate
This change is a fairly straightforward refactor to extract the tracing and correlation-id code from the gitlab rails codebase into the new LabKit-Ruby project. The corresponding import into LabKit-Ruby was in https://gitlab.com/gitlab-org/labkit-ruby/merge_requests/1 The code itself remains very similar for now. Extracting it allows us to reuse it in other projects, such as Gitaly-Ruby. This will give us the advantages of correlation-ids and distributed tracing in that project too.
2019-04-17Merge branch ↵Kamil Trzciński
'60500-disable-jit-kubernetes-resource-creation-for-project-level-clusters' into 'master' Disable JIT Kubernetes resource creation for project level clusters Closes #60500 See merge request gitlab-org/gitlab-ce!27352
2019-04-17Put four flaky specs in quanrantineRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-17Merge branch 'sh-backport-list-commits-by-oid-rugged' into 'master'Douwe Maan
Bring back Rugged implementation of ListCommitsByOid See merge request gitlab-org/gitlab-ce!27441
2019-04-17Bring back Rugged implementation of ListCommitsByOidStan Hu
This brings back changes in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20432. For users using Gitaly on top of NFS, accessing the Git data directly via Rugged may be faster than going through than Gitaly. This merge request introduces the feature flag `rugged_list_commits_by_oid` to activate the Rugged method. For one customer, we saw that ListCommitsByOid was the second highest used endpoint that may be causing increased load.
2019-04-16Add a feature flag for subdirectory archivesNick Thomas
2019-04-16JSON-encoded binary fields should use Base64::encode64Nick Thomas
It is not interoperable to use Base64::urlsafe_encode64 for fields in JSON that contain binary (as opposed to UTF8-safe) data. For instance, the Golang JSON decoder (which is what gitlab-workhorse uses) insists upon the standard base64 encoding.
2019-04-16Revert "Revert "Merge branch '24704-download-repository-path' into 'master'""Nick Thomas
This reverts commit 171818df0a72097aa1a804c8213666b3f66b0966.
2019-04-16Merge branch 'gt-fix-styling-for-pages-status' into 'master'Filipa Lacerda
Fix styling for `app/assets/stylesheets/pages/status.scss` Closes #59929 See merge request gitlab-org/gitlab-ce!26875
2019-04-16Merge branch '53138-add-metrics-usage-ping' into 'master'Grzegorz Bizon
Adds instance metrics to usage ping Closes #53138 See merge request gitlab-org/gitlab-ce!27238
2019-04-16Rename CI related selectorsGeorge Tsiolis
2019-04-16Merge branch 'helm_uninstall_command' into 'master'Sean McGivern
Helm DeleteCommand See merge request gitlab-org/gitlab-ce!27348
2019-04-16Merge branch 'ci-lint-ssl-error' into 'master'Kamil Trzciński
Reporting SSL certificate verify errors in CI external config See merge request gitlab-org/gitlab-ce!26750
2019-04-16Disable JIT resource creation for project clustersTiger
JIT resource creation blocks deployments if a user is self-managing their cluster, as it will fail the build if unable to create a namespace and service account. Using a custom namespace and service account was previously supported for project level clusters, so we should preserve this functionality. https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/27352
2019-04-16Implement commands to uninstall cluster applicationsThong Kuah
This is the backend part which just allows uninstalling Prometheus for now.
2019-04-15catching and cleanly reporting SSL errors in Ci::Config::External::Processordrew cimino
2019-04-15Merge branch 'forbid-the-usage-of-reload' into 'master'Lin Jen-Shin
Forbid the usage of reload Closes #60218 See merge request gitlab-org/gitlab-ce!27125
2019-04-15Merge branch 'osw-remote-multi-line-suggestions-ff' into 'master'Lin Jen-Shin
Remove multi-line suggestions feature flag Closes #59178 See merge request gitlab-org/gitlab-ce!27219
2019-04-15Merge branch 'sh-validate-ref-name-in-commit' into 'master'Rémy Coutable
Validate refs used in controllers don't have spaces Closes #58572 and gitaly#1425 See merge request gitlab-org/gitlab-ce!24037
2019-04-15Added write_repository scope for personal access tokenHoratiu Eugen Vlad
2019-04-15Forbid the use of `#reload` and prefer `#reset`Kamil Trzciński
The `#reload` makes to load all objects into memory, and the main purpose of `#reload` is to drop the association cache. The `#reset` seems to solve exactly that case.
2019-04-15Un-quarantine specKamil Trzciński
2019-04-15Merge branch 'require-all-templates-to-include-default-stages' into 'master'Sean McGivern
Require all templates to use default stages Closes #59992 See merge request gitlab-org/gitlab-ce!26954 (cherry picked from commit 39eb16aab2dbac3347f61f83fb60f5448d44e965) e0df05cf Require all templates to use default stages
2019-04-15Validate refs used in controllers don't have spacesStan Hu
This avoids an unnecessary call to Gitaly and reduces gRPC errors. * Closes https://gitlab.com/gitlab-org/gitaly/issues/1425 * Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58572