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-01-18Merge branch 'osw-enforces-project-removal-with-past-failed-attempts' into ↵Nick Thomas
'master' Cleanup stale +deleted repo paths on project removal (adjusts project removal bug) Closes #46146 See merge request gitlab-org/gitlab-ce!24269
2019-01-18Merge branch 'api-nested-group-permission' into 'master'Nick Thomas
Return the maximum group access level in the projects API Closes #43684 See merge request gitlab-org/gitlab-ce!24403
2019-01-18Cleanup stale +deleted repo paths on project removalOswaldo Ferreira
1. When removing projects, we can end-up leaving the +deleted repo path dirty and not successfully removing the non-deleted namespace (mv process is not atomic and can be killed without fully moving the path). 2. In order to solve that, we're adding a clean-up phase on ensure which will schedule possible staled +deleted path deletion. Note that we don't check the current state (if there is or not a repo) in order to schedule the deletion. That's intentional in order to leverage Gitlab::GitalyClient::NamespaceService#remove idempotency and ensure consistency.
2019-01-18Merge branch 'ce-issue_7526' into 'master'Fatih Acet
[EE Backport] Add notes filters for epics See merge request gitlab-org/gitlab-ce!24372
2019-01-18Add flat-square badge styleFabian Schneider
2019-01-18Don't check confidential issues for spamSean McGivern
Spam checks are meant for content that could be indexed by search engines. Confidential issues aren't indexed by search engines, so we don't need to do spam checks for them. We do need to check for spam when an issue changes from confidential to public, even if nothing else changed.
2019-01-18Merge branch 'an-dtracing-test-for-invalid-tracers' into 'master'Kamil Trzciński
Avoid overwriting default jaeger values with nil See merge request gitlab-org/gitlab-ce!24482
2019-01-18Merge branch 'fix-runner-eternal-loop-when-update-job-result' into 'master'Kamil Trzciński
Fix runner eternal loop when update job result Closes #56518 See merge request gitlab-org/gitlab-ce!24481
2019-01-18Merge branch 'diff-tree-collapse-directories' into 'master'Filipa Lacerda
Collapses directory structure in merge request tree Closes #53069 See merge request gitlab-org/gitlab-ce!24392
2019-01-18Avoid overwriting default jaeger values with nilAndrew Newdigate
During the review process for adding opentracing factories, a bug was introduced which caused Jaeger to initialize an invalid tracer. The bug was due to use sending nil through as a kwarg when the Jaeger initializer used a non-nil default value. This is fairly insidious as, the tracer looks like a tracer, but, when methods are invoked, it throws `NoMethodError` errors. To ensure that this issue does not happen in future, the tests have been changed to ensure that the tracer works as expected. This could avoid problems in future when upgrading to newer versions of Jaeger.
2019-01-18Fix runner eternal loop when update job resultShinya Maeda
Add spec Add changelog
2019-01-18Merge branch '55544-port-upgrade-command' into 'master'Kamil Trzciński
Port generic Helm upgrade functionality to CE See merge request gitlab-org/gitlab-ce!23924
2019-01-18Merge branch 'user-avatar-list-empty-text' into 'master'Kushal Pandya
Handle emptyText in user_avatar_list See merge request gitlab-org/gitlab-ce!24436
2019-01-18Update Helm to 2.12.2 to address Helm client vulnerabilityTakuya Noguchi
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-01-18Reorders migrations readme fileMayra Cabrera
The document is now split in two sections: - Testing an ActiveRecord migration - Testing an non-ActiveRecord migration Both sections have an example
2019-01-17Merge branch '26375-markdown-footnotes-not-working' into 'master'Lin Jen-Shin
Markdown footnotes not working Closes #26375 See merge request gitlab-org/gitlab-ce!24168
2019-01-17Merge branch 'cleanup-leagcy-artifact-migration' into 'master'Andreas Brandl
Cleanup legacy artifact background migration Closes #46866 See merge request gitlab-org/gitlab-ce!24144
2019-01-17Merge branch ↵Annabel Dunstone Gray
'42769-remove-expansion-hover-animation-from-status-icon-buttons' into 'master' Resolve "Remove expansion hover animation from status icon buttons" Closes #42769 See merge request gitlab-org/gitlab-ce!24268
2019-01-17Updated test for related merge request titleConstance Okoghenun
2019-01-17Refactoring and addressing review commentsBrett Walker
and additional spec
2019-01-17Merge branch '47988-improve-milestone-queries-with-subq' into 'master'Andreas Brandl
Improve MilestonesFinder to accept project and group relations Closes #47988 See merge request gitlab-org/gitlab-ce!24325
2019-01-17Show CI artifacts size with 3 significant digitsVladimir Shushlin
2019-01-17Remove animation from pipeline status icon buttonsNathan Friend
The expansion hover animation caused a number of layout headaches; this commit removes the animation and replaces them with hover/active/focus styles. Related issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/42769
2019-01-17Merge branch 'an-opentracing-factory' into 'master'Kamil Trzciński
Conditionally initialize the global opentracing tracer See merge request gitlab-org/gitlab-ce!24186
2019-01-17API for importing external reposBen
2019-01-17Conditionally initialize the global opentracing tracerAndrew Newdigate
This change will instantiate an OpenTracing tracer and configure it as the global tracer when the GITLAB_TRACING environment variable is configured. GITLAB_TRACING takes a "connection string"-like value, encapsulating the driver (eg jaeger, etc) and options for the driver. Since each service, whether it's written in Ruby or Golang, uses the same connection-string, it should be very easy to configure all services in a cluster, or even a single development machine to be setup to use tracing. Note that this change does not include instrumentation or propagation changes as this is a way of breaking a previous larger change into components. The instrumentation and propagation changes will follow in separate changes.
2019-01-17Merge branch 'remove-issues-import-csv-feature-flag' into 'master'Sean McGivern
Remove import_issues_csv feature flag See merge request gitlab-org/gitlab-ce!24324
2019-01-17Cleanup legacy artifact background migrationShinya Maeda
Add migration and spec commit 3cc12e1268a6865f524d8fab1804f018312fdf5a Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jan 8 19:34:31 2019 +0900 Add changelog to this change commit 5006fc96e38db514956a35f53ae8ee536548a2e9 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jan 8 19:32:56 2019 +0900 Remove partial index from ci_builds artifact_file ok Update schema commit 3c956bdc02b195bc67d0327bf3748a631ea5466d Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jan 7 21:41:27 2019 +0900 Add frozen_string_literal: true commit 8c827cd616890160e6e8908843403a6f20c03236 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jan 7 21:40:06 2019 +0900 Set batch size 100 commit aeee559777d3bdeadfd2b9bb61d460f2dc1fa8a6 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jan 4 18:33:05 2019 +0900 Cleanup legacy artifact background migration
2019-01-17Actually set raise_on_unfiltered_parameters to trueJasper Maes
2019-01-16Prevent checking protected_ref? for ambiguous refsMatija Čupić
2019-01-16Merge branch ↵Stan Hu
'56309-read-only-controller-doesn-t-account-for-relative-paths-for-admin-sidekiq-route' into 'master' Allow sidekiq admin requests, regardless of root Closes #56309 See merge request gitlab-org/gitlab-ce!24352
2019-01-16Merge branch 'fix-rubocop-ee-module-injection-detection' into 'master'Rémy Coutable
Fix detecting nested EE constants in RuboCop See merge request gitlab-org/gitlab-ce!24430
2019-01-16Return max group access level in the projects APIAlejandro Rodríguez
Currently if a project is inside a nested group and a user doesn't have specific permissions for that group but does have permissions on a parent group the `GET /projects/:id` API call will return the following permissions: ```json permissions: { project_access: null, group_access: null } ``` It could also happen that the group specific permissions are of lower level than the ones the user has in parent groups. This patch makes it so that the permission returned for `group_access` is the highest from amongst the hierarchy, which is (ostensibly) the information that the API user is interested in for that field.
2019-01-16Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqRobert Speicher
2019-01-16Merge branch 'security-2770-verify-bundle-import-files' into 'master'Yorick Peterse
[master] Validate bundle files before unpacking them Closes #2770 See merge request gitlab/gitlabhq!2772
2019-01-16Added specs for mutations & utils methodsPhil Hughes
2019-01-16Merge branch 'refactor-checking-personal-project-limits' into 'master'Nick Thomas
Refactor checking personal project limits See merge request gitlab-org/gitlab-ce!24396
2019-01-16Merge branch 'bvl-dont-use-factories-in-bg-migration-specs-ce' into 'master'Rémy Coutable
Enable FactoriesInMigration cop for background migrations See merge request gitlab-org/gitlab-ce!24425
2019-01-16Merge branch 'refactor-after-create-default-branch' into 'master'Nick Thomas
Refactor Project#after_create_default_branch See merge request gitlab-org/gitlab-ce!24329
2019-01-16Fix detecting nested EE constants in RuboCopYorick Peterse
The InjectEnterpriseEditionModule cop would not detect certain nested EE constants such as `EE::Foo::Bar::Baz`. This could result in it not enforcing `prepend` being placed on the last line. This commit fixes this by just performing a string match on the line, instead of relying on AST matching.
2019-01-16Handle emptyText in user_avatar_listPaul Slaughter
**Why?** To reduce duplicate code, it's helpful to encapsulate this behavior here.
2019-01-16Merge branch 'add-badge-count-to-projects-and-groups' into 'master'Lin Jen-Shin
Add badge count to projects Closes #29798 See merge request gitlab-org/gitlab-ce!18425
2019-01-16Refactor code for protecting default branchesYorick Peterse
This refactors some of the logic used for protecting default branches, in particular Project#after_create_default_branch. The logic for this method is moved into a separate service class. Ideally we'd get rid of Project#after_create_default_branch entirely, but unfortunately Project#after_import depends on it. This means it has to stick around until we also refactor Project#after_import. For branch protection levels we introduce Gitlab::Access::BranchProtection, which provides a small wrapper around Integer based branch protection levels. Using this class removes the need for having to constantly refer to Gitlab::Access::PROTECTION_* constants.
2019-01-16Resolve "In Merge Request diff screen, master is not a hyperlink"Natalia Tepluhina
2019-01-16Refactor checking personal project limitsYorick Peterse
This refactors the code used for checking if a user has exceeded the personal projects limit. As part of this refactor the method has been renamed from Project#check_limit to "check_personal_projects_limit", as this name makes it much more clear what the purpose of the method is. Standalone unit tests have also been added, as before we only had a single generic validation test that did not cover all cases. The old implementation of the refactored method also included a `rescue` statement. This code would only run when a project creator was not set. The error that would be added wasn't super useful, especially since there would already be errors for the creator not being present. As none of the other code in the "check_personal_projects_limit" raises, it has been removed.
2019-01-16Merge branch 'ac-pages-subgroups' into 'master'Nick Thomas
Enable Gitlab-Pages for subgroups See merge request gitlab-org/gitlab-ce!23505
2019-01-16Ignore existing offenses of FactoriesInMigrationBob Van Landuyt
2019-01-16Merge branch 'fix-part-of-44990' into 'master'Nick Thomas
Fix RSpec/FactoriesInMigrationSpecs in two files See merge request gitlab-org/gitlab-ce!24405
2019-01-16Merge branch 'shared_with_group_path' into 'master'Nick Thomas
Add group ful path to project's shared_with_groups See merge request gitlab-org/gitlab-ce!24052
2019-01-16Merge branch 'fix-user-merges-immediately-transient-spec' into 'master'Rémy Coutable
Fixed transient user merges immediately spec Closes gitlab-ee#9206 See merge request gitlab-org/gitlab-ce!24421