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-29make test of note app with comments disabled dryManeschi Romain
2019-08-29DRY check progress servicesJoão Cunha
Extract duplicated code from two similar classes into a parent one.
2019-08-29Merge branch 'resolve-new-qa-differences' into 'master'Rémy Coutable
Fix CE to EE differences in the qa/ directory See merge request gitlab-org/gitlab-ce!32354
2019-08-29Allow project feature permissions to be overridden during importGeorge Koltsov
2019-08-29Handle invalid mirror urlLee Tickett
2019-08-29Merge branch 'local-test-failures' into 'master'Robert Speicher
git-user-related local test failures See merge request gitlab-org/gitlab-ce!31437
2019-08-29Merge branch '60071-remove-gitlab-keys-usage' into 'master'Nick Thomas
Remove usage of gitlab-shell gitlab-keys script See merge request gitlab-org/gitlab-ce!32138
2019-08-29Merge branch 'sh-fix-snippet-visibility-api' into 'master'Rémy Coutable
Fix snippets API not working with visibility level Closes #66050 See merge request gitlab-org/gitlab-ce!32286
2019-08-29Merge branch 'chore/unnecessary-css-class-removal' into 'master'Paul Slaughter
Remove unnecessary CSS class Closes #66163 See merge request gitlab-org/gitlab-ce!32320
2019-08-29Merge branch 'sh-support-content-for-snippets-api' into 'master'Kamil Trzciński
Standardize use of `content` parameter in snippets API Closes #66673 See merge request gitlab-org/gitlab-ce!32296
2019-08-29Merge branch '66524-issue-due-notification-emails-are-threaded-incorrectly' ↵Kamil Trzciński
into 'master' Resolve "Issue due notification emails are threaded incorrectly" See merge request gitlab-org/gitlab-ce!32325
2019-08-29Auto create authorized_keys file if doesn't existPatrick Bajao
Utilize the auto repair functionality of system checks.
2019-08-29Refactor specs to use one-liner expectationPatrick Bajao
2019-08-29Add system check for authorized_keys file permPatrick Bajao
This check is being removed from gitlab-shell as the file is now being managed by gitlab-rails.
2019-08-29Remove the fallback path from gitlab-cePatrick Bajao
2019-08-29Merge branch 'mk/simplify-internal-post-receive-messages' into 'master'Grzegorz Bizon
Simplify internal post receive messages Closes #59808 See merge request gitlab-org/gitlab-ce!31640
2019-08-29Merge branch 'ce-xanf-move-auto-merge-failed-to-jest' into 'master'Kushal Pandya
Resolve "Migrate spec/javascripts/vue_mr_widget/components/states/mr_widget_auto_merge_failed_spec.js to Jest" See merge request gitlab-org/gitlab-ce!32282
2019-08-29Merge branch ↵Kushal Pandya
'56130-operations-environments-shows-incorrect-deployment-date-for-manual-deploy-jobs' into 'master' Show correct deployment date for a manual job Closes #56130 See merge request gitlab-org/gitlab-ce!32072
2019-08-29Merge branch ↵James Lopez
'62284-follow-up-from-resolve-api-to-get-all-project-group-members-returns-duplicates' into 'master' Resolve "Follow-up from "Resolve "API to get all project/group members returns duplicates""" Closes #62284 See merge request gitlab-org/gitlab-ce!28887
2019-08-29Standardize use of `content` parameter in snippets APIStan Hu
There was some confusion over whether `code` or `content` is the right parameter for snippets. Internally, the database stores `content`. However: 1. Project snippets use `code`. `code` gets remapped in `content` in `lib/api/project_snippets.rb`. 2. Personal snippets use `content`. To unify these APIs, allow an alias of `content` to work for project snippets. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66673
2019-08-29Fix snippets API not working with visibility levelStan Hu
When a restricted visibility level of `private` is set in the instance, creating a snippet with the `visibility` level would always fail. This happened because: 1. `params[:visibility]` was a string (e.g. "public") 2. `CreateSnippetService` and `UpdateSnippetService` only looked at `params[:visibility_level]`, which was `nil`. To fix this, we: 1. Make `CreateSnippetService` look at the newly-built `snippet.visibility_level`, since the right value is assigned by the `VisibilityLevel#visibility=` method. 2. Modify `UpdateSnippetService` to handle both `visibility_level` and `visibility` parameters. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66050
2019-08-29Merge branch 'performance-bar-warnings' into 'master'Stan Hu
Add warnings to performance bar response See merge request gitlab-org/gitlab-ce!31054
2019-08-29Fix issue due notification emails threadingHeinrich Lee Yu
It should not be a start to a new thread but rather a reply to an existing thread
2019-08-29Simplify internal post receive messagesMichael Kozono
Instead of sending varied data to Gitaly, and making Gitaly construct various messages, build the messages first and have Gitaly print either basic messages or alert messages, in the order they come. Depends on https://gitlab.com/gitlab-org/gitaly/merge_requests/1410
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-28Uses projects_authorizations.access_level in MembersFinderJacopo
2019-08-28Add top-level warnings key to performance bar responseSean McGivern
This key is useful to reduce the amount of logic needed on the frontend: if `has_warnings` is true, then the frontend knows that the request in question has warnings for some metric.
2019-08-28Return warnings for performance bar from backendSean McGivern
For each DetailedView subclass, we add a `warnings` array to: 1. The top-level response. 2. Each individual call under the `details` key. We use the `.thresholds` hash on the DetailedView to determine what's a warning. If that hash is empty (the default), then the warnings array will always be empty.
2019-08-28Fix InjectEnterpriseEditionModule cop for qa/Yorick Peterse
This ensures the InjectEnterpriseEditionModule cop is able to detect the prepend patterns used in the qa/ directory. Previously it would not detect them as all EE QA modules reside in QA::EE, and not the top-level EE namespace.
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-28Show correct deployment date for a manual jobjakeburden
Only display time if the job has deployed Update JS tests for displaying job deployment time Simplify boolean check in deployedDate
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-28Remove unnecessary CSS classArun Kumar Mohan
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