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-08-29Do not persist translated system notesSean McGivern
2019-08-29Reduce the number of SQL requests on MR-showIgor
- Extract MR fields for notes into a separate serializer - Check if pipelines are empty via count
2019-08-28Merge branch 'ce-xanf-move-file-icon-spec-to-jest' into 'master'Clement Ho
Resolve "Migrate spec/javascripts/vue_shared/components/file_icon_spec.js to Jest" See merge request gitlab-org/gitlab-ce!32278
2019-08-28Save board lists collapsed settingFelipe Artur
Persists if a board list is collapsed for each user.
2019-08-28Refactored Karma spec to Jest for file_iconIllya Klymov
2019-08-28Support Gitaly feature flags in workhorseJacob Vosmaer
2019-08-28Merge branch 'csslab-removal' into 'master'Clement Ho
Remove csslab Closes #66661 See merge request gitlab-org/gitlab-ce!32330
2019-08-28Update CE files for GSD projects filterVictor Zagorodny
A new param with_security_reports was added to GET /groups/:id/projects API and the code to support this logic in GroupProjectsFinder and Project model. Also, a DB index was added to ci_job_artifacts table to speed up the search of security reports artifacts for projects
2019-08-28Adding NOT NULL constraint to private_profileAdam Hegyi
This change sets NOT NULL constraint to users.private profile. closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57538
2019-08-28Merge branch 'add-rubocop-check-for-be-success' into 'master'Grzegorz Bizon
Add rubocop check for be success See merge request gitlab-org/gitlab-ce!32091
2019-08-28Merge branch 'sh-lfs-object-batches' into 'master'Rémy Coutable
Makes LFS object link process OIDs in batches Closes #66274 See merge request gitlab-org/gitlab-ce!32268
2019-08-28Remove csslabArun Kumar Mohan
2019-08-28Apply bindings to querys from QueryRecorderDavid Wilkins
- local tests that assume certain parameters to queries from QueryRecorder fail. These same tests don't fail in the runners, and I can't tell why. This fixes the local failures
2019-08-28Remove token field from runners edit formPayton Burdette
Add changelog entry Remove unnecessary test checking for form value Translations updated for gitlab.pot Use proper format on changelog entry
2019-08-28Merge branch 'id-change-total-notes-calculation' into 'master'Ash McKenzie
Change the way totalNotes is calculated See merge request gitlab-org/gitlab-ce!32191
2019-08-28Merge branch 'sh-fix-issue-move-api' into 'master'Grzegorz Bizon
Fix moving issues API failing when text includes commit URLs Closes #66666 See merge request gitlab-org/gitlab-ce!32317
2019-08-28Fix moving issues API failing when text includes commit URLsStan Hu
When a issue is moved from one project to another, all associated Markdown text is rewritten in the context of the new project. If the note contained a link to a commit URL, `CommitRewriter#rewrite` would fail because `Commit#link_reference_pattern` would match `nil` `commit` values in the HTML generated from the Markdown. These `nil` values were passed along to `Project#commits_by` because `Commit#reference_valid?` was always returning `true`. To prevent this issue from happening, we tighten up the check for `Commit#reference_valid?` to look for valid SHA values. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66666
2019-08-28Replace it_behaves_like with include_examplesVitali Tatarintev
Improve specs output readability by replacing `it_behaves_like` with `include_examples` in `BeSuccessMatcher`
2019-08-28Changes snowplow to use cookies for sessionsJeremy Jackson
This also restructures how and where the configuration for Snowplow lives.
2019-08-28Remove Rubocop::SpecHelper fileVitali Tatarintev
2019-08-28Inline shared examples for BeSuccessMatcherVitali Tatarintev
Former shared examples were used only once. Inlining them makes tests more clear.
2019-08-28Refactor BeSuccessMatcher specs for readabilityVitali Tatarintev
2019-08-28Utilize Rubocop's Include for BeSuccessMatcherVitali Tatarintev
Use Rubocop's Include instead of manually checking the matcher in controllers specs.
2019-08-28Add support of not_to/to_not to BeSuccessMatcherVitali Tatarintev
BeSuccessMatcher now supports following examples: ``` expect(response).to be_success expect(response).to_not be_success expect(response).not_to be_success is_expected.to be_success is_expected.to_not be_success is_expected.not_to be_success ```
2019-08-28Refactor BeSuccessMatcher specsVitali Tatarintev
2019-08-28Replace double quotes with single quotesVitali Tatarintev
2019-08-28Enable frozen string literalVitali Tatarintev
2019-08-28Autocorrect `be_success` to `be_successful`Vitali Tatarintev
2019-08-28Add Rubocop check to avoid using `be_success`Vitali Tatarintev
Prevent using `be_success` call in controller specs to avoid getting following deprecation warning: ``` DEPRECATION WARNING: The success? predicate is deprecated and will be removed in Rails 6.0. Please use successful? as provided by Rack::Response::Helpers. ```
2019-08-28Merge branch 'todos/include-issue-mr-titles' into 'master'Stan Hu
Add Issue and Merge Request titles to Todo items Closes #63488 See merge request gitlab-org/gitlab-ce!30435
2019-08-28Change the way totalNotes is calculatedIgor Drozdov
totalNotes is only used to prerender a number of skeleton containers until real notes are loaded issuable.discussions makes multiple requests, so too expensive for this This commit uses mere notes for this and sends actual totalNotes number if it's less than 10; otherwise it sends 10 - it allows us to avoid bunch of skeleton prerenderings, which are not necessary since they doesn't fit into the whole screen and disappear quite fast
2019-08-28Rename dev, org, com helperDoug Stull
2019-08-28Add Issue and Merge Request titles to Todo itemsArun Kumar Mohan
Only displays the todo body if the todo has a note. This is to avoid redundant Issue or Merge Request titles displayed both in the Todo title and body.
2019-08-28Makes LFS object linker process OIDs in batchesStan Hu
During a project import, `LfsLinkService` attempts to link `LfsObjects` that have not already been associated with a project. It's possible for a large repo to have thousands of OIDs, which can cause long database query and parsing times. By processing a batch of 1000 at a time, we can reduce that time at the expense of a few more SQL queries. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66274
2019-08-27CE-specific changes for designs `user_notes_count`Luke Duncalfe
Notes call `#after_note_created` and `#after_note_destroyed` on their noteable in callbacks, so the noteable can perform tasks particular to them, like cache expiry. This is in preparation of the EE-specific class `DesignManagement::Design` clearing its `user_notes_count` cache when its note are created or destroyed. Refactoring Rspec behaviour testing of a counter caching service into a shared example. https://gitlab.com/gitlab-org/gitlab-ee/issues/13353
2019-08-27Fix a nil error in Gitlab::Danger::TeammateRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-08-27Move gke_cluster_dropdowns to create_cluster dirEnrique Alcantara
This commit creates a create_cluster directory to collect all Vue applications related to creating kubernetes applications using gitlab. It also moves the gke_cluster_dropdowns collection of apps to the create_cluster directory. gke_cluster_dropdowns contains dropdown components used to select configuration options to create a Kubernetes cluster in Google Cloud.
2019-08-27Merge branch ↵Lin Jen-Shin
'65312-use-group-labels-instead-of-legacy-team-labels-for-danger-picking-test-reviewers' into 'master' Detect the new stage labels in `Gitlab::Danger::Teammate` Closes #65312 See merge request gitlab-org/gitlab-ce!32261
2019-08-27Merge branch ↵Jan Provaznik
'66641-broken-master-real-http-connections-are-disabled-unregistered-request' into 'master' Use `stub_full_request` to fix spec failure Closes #66641 See merge request gitlab-org/gitlab-ce!32259
2019-08-27Use `stub_full_request` to fix spec failureHeinrich Lee Yu
Also change test URL sequest to .test TLD
2019-08-27Merge branch '13806-fix' into 'master'Lin Jen-Shin
Add nil check for Gitlab.config.prometheus Closes #13806 See merge request gitlab-org/gitlab-ce!32201
2019-08-27Detect the new stage labels in Gitlab::Danger::TeammateRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-08-27Merge branch '57657-promote-label-to-group-label-via-api-endpoint' into 'master'Sean McGivern
Promote Label to Group Label via API endpoint Closes #57657 See merge request gitlab-org/gitlab-ce!25218
2019-08-27Merge branch 'sh-project-feature-nplus-one' into 'master'Jan Provaznik
Remove N+1 SQL query loading project feature in dashboard Closes #66482 See merge request gitlab-org/gitlab-ce!32169
2019-08-27Merge branch '63502-encrypt-deploy-token' into 'master'Stan Hu
Resolve "Store deploy tokens encrypted" Closes #63502 See merge request gitlab-org/gitlab-ce!30679
2019-08-27Update docs and comments about saml with allow_bypass_two_factordodocat
allow_bypass_two_factor configration dose not work with saml provider
2019-08-27Updated call to find deploy tokenEtienne Baqué
2019-08-27Added EncryptDeployTokensTokens spec fileEtienne Baqué
2019-08-27Merge branch 'sh-fix-piwik-template' into 'master'Ash McKenzie
Fix Piwik not working Closes #66627 See merge request gitlab-org/gitlab-ce!32234
2019-08-27Fix Piwik not workingStan Hu
Due to indentation, the changes in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31402 broke the templating of Piwik script header. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66627