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
2018-05-01fixed file specPhil Hughes
2018-05-01Fix spec/features/admin/admin_runners_spec.rb + test style improvementsDylan Griffith
2018-05-01Merge branch 'jej/exclude-group-saml-buttons' into 'master'Douwe Maan
[CE] Exclude LDAP from OmniauthCallbackController base methods See merge request gitlab-org/gitlab-ce!18619
2018-05-01show only groups an admin is a member of in dashboards/gropsRoger Rüttimann
2018-05-01Use group_type? where possible during transition periodDylan Griffith
2018-05-01use getters to correctly get the counts for both unstaged & staged changesPhil Hughes
2018-05-01[Rails5] Fix spec/models/notification_setting_spec.rbblackst0ne
In Rails 5 assigning a value which is not explicitly `true` or `false` to a boolean column transforms it to `true`. In Rails 4 it transforms the value to `false` with the deprecation warning: ``` DEPRECATION WARNING: You attempted to assign a value which is not explicitly `true` or `false` ("nil") to a boolean column. Currently this value casts to `false`. This will change to match Ruby's semantics, and will cast to `true` in Rails 5. If you would like to maintain the current behavior, you should explicitly handle the values you would like cast to `false`. ``` This commit fixes the spec that expects to receive Rails 4 behavior.
2018-05-01Fix spec/features/projects/issues/user_toggles_subscription_spec.rbblackst0ne
2018-05-01Use persisted diff data instead fetching Git on discussionsOswaldo Ferreira
Today, when fetching diffs of a note, we always go to Gitaly in order to diff between commits and return the diff of each discussion note. With this change we avoid doing that for notes on the "current version" of the MR.
2018-04-30Merge branch '10-7-security_issue_42029' into 'security-10-7'Phil Hughes
Sanitize user name to avoid XSS attacks See merge request gitlab/gitlabhq!2373
2018-04-30Merge branch 'security-45689-fix-archive-cache-bug' into 'security-10-7'Douwe Maan
Serve archive requests with the correct file in all cases (10.7) See merge request gitlab/gitlabhq!2376
2018-04-30Exclude LDAP from OmniauthCallbackController base methodsJames Edwards-Jones
2018-04-30Merge branch 'bvl-fix-openid-redirect' into 'master'Douwe Maan
Skip `authenticate_user!` for Doorkeeper controllers Closes #44639 See merge request gitlab-org/gitlab-ce!18599
2018-04-30Remove unnecessary API specs for group runners since we do not have API ↵Dylan Griffith
support yet
2018-04-30Add alpine mirrors while operating on k8s clusterAlessio Caiazza
2018-04-30Revert changes to User#ci_authorized_users to defer group runner API changes ↵Dylan Griffith
to later
2018-04-30Merge branch '45481-sane-pages-artifacts' into 'master'Kamil Trzciński
Don't automatically remove artifacts for pages jobs after pages:deploy has run Closes #45481 See merge request gitlab-org/gitlab-ce!18628
2018-04-30Merge branch 'fix-namespaceless-project-destroy-worker-specs' into 'master'Douwe Maan
Makes namespaceless project destroy worker spec not depend on a specific migration version See merge request gitlab-org/gitlab-ce!18650
2018-04-30Define custom base controller for DoorkeeperBob Van Landuyt
Since we only need the `can?` view helpers there, it's better to include those in a separate controller. If we inherit from `ApplicationController` we also need to deal with authentication, that needs to be done in some, but not all doorkeeper controllers.
2018-04-30Makes namespaceless project destroy worker spec not depend on a specific ↵Tiago Botelho
migration version
2018-04-30Merge branch 'add-jwt-strategy-to-gitlab-suite' into 'master'Douwe Maan
Ports omniauth-jwt gem onto GitLab OmniAuth Strategies suite See merge request gitlab-org/gitlab-ce!18580
2018-04-30Merge branch '45572-members-invitations-scheduled-before-commit' into 'master'Douwe Maan
Resolve "Members invitations scheduled before commit" Closes #45572 See merge request gitlab-org/gitlab-ce!18538
2018-04-30Merge branch 'move-notification-service-calls-to-sidekiq' into 'master'Douwe Maan
Move NotificationService calls to Sidekiq Closes #43106 See merge request gitlab-org/gitlab-ce!18535
2018-04-30Merge branch 'master' into ide-tree-changes-countPhil Hughes
2018-04-30Rename Runner#group? -> #assigned_to_group? and Runner#project? -> ↵Dylan Griffith
#assigned_to_project?
2018-04-30Fix up db/schema.rb changes leftover and comments out of dateDylan Griffith
2018-04-30Revert fair scheduling for all buildsDylan Griffith
Per discussion in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9646#note_65730532 this logic is being optimized elsewhere and it will simplify things if we make less changes to this code right now.
2018-04-29Merge branch 'jramsay-44880-filter-pipelines-by-sha' into 'master'Kamil Trzciński
Add sha filter to list pipelines Closes #44880 See merge request gitlab-org/gitlab-ce!18125
2018-04-29[Rails5] Fix `undefined method 'downcase'` errors in requests specsblackst0ne
In Rails 5.0 headers are no longer inherited from Hash. This commit fixes errors in requests specs like: ``` 1) API::V3::Builds GET /projects/:id/builds/:build_id/artifacts job with artifacts when artifacts are stored locally authorized user returns specific job artifacts Failure/Error: expect(response.headers).to include(download_headers) NoMethodError: undefined method `downcase' for #<Hash:0x000055e8bccc23b0> # ./spec/requests/api/v3/builds_spec.rb:235:in `block (6 levels) in <top (required)>' ```
2018-04-27Don't automatically remove artifacts for pages jobs after pages:deploy has runNick Thomas
2018-04-27Remove IDE image upload specPhil Hughes
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/45045
2018-04-27Merge branch 'jivl-revert-system-notes-can-be-confusing' into 'master'Nick Thomas
Remove comma from the time system notes See merge request gitlab-org/gitlab-ce!18593
2018-04-27Merge branch 'zj-repository-exist-mandatory' into 'master'Nick Thomas
Repository#exists? can only be queried with Gitaly Closes gitaly#314 See merge request gitlab-org/gitlab-ce!18567
2018-04-27Add gitlab-pages admin ping rake taskJacob Vosmaer (GitLab)
2018-04-27Add sha filter to list pipelinesJames Ramsay
To find the pipeline for a specific sha requires scanning the list of all pipelines for a ref that contains the sha. This makes it hard to find the pipeline id needed to access a trace for a specific job run in the pipeline using the API.
2018-04-27Rename `runner.belonging_to_group(project.id) -> ↵Dylan Griffith
runner.belonging_to_parent_group_of_project(project.id)`
2018-04-27Add extra spec for Project#any_runners? to test block properlyDylan Griffith
2018-04-27Tag runner_spec tests for subgroups with nested_groupsDylan Griffith
2018-04-27Replace time_ago_in_words with JS-based oneTakuya Noguchi
2018-04-27Clear refresh interval when MRWidgetFailedToMerge component is destroyedWinnie Hellmann
2018-04-26Reset milestone filter when clicking "Any Milestone" in dashboardWinnie Hellmann
2018-04-26Adds spec for omni_auth jwt strategyTiago Botelho
2018-04-26Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceNick Thomas
2018-04-26Merge branch 'ide-relative-url-fix' of gitlab.com:gitlab-org/gitlab-ceNick Thomas
2018-04-26Merge branch 'ide-temp-file-folder-fixes' into 'master'Filipa Lacerda
Fixed bugs with IDE new directory Closes #44838 See merge request gitlab-org/gitlab-ce!18274
2018-04-26Merge branch 'performance/gb/improve-pipeline-creation-service' into 'master'Kamil Trzciński
Improve pipeline creation service performance Closes #37987 See merge request gitlab-org/gitlab-ce!18582
2018-04-26Fix spec/models/user_spec.rb for #ci_authorized_runnersDylan Griffith
2018-04-26Ensure member notifications are sent after the member actual creation/update ↵Rémy Coutable
in the DB Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-26Remove spec/factories/project_settings.rb since model no longer existsDylan Griffith
2018-04-26Increase PipelineSerializer query limit count to support new group runner ↵Dylan Griffith
queries