summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Correctly detect multiple issue URLs after 'Closes...' in MR descriptionsdm-closing-issue-urlsDouwe Maan2017-09-211-2/+2
|
* Merge branch '37220-es-modules' into 'master'Phil Hughes2017-09-215-336/+363
|\ | | | | | | | | Use modules in common utils See merge request gitlab-org/gitlab-ce!14074
| * Merge branch 'master' into 37220-es-modulesMike Greiling2017-09-18112-2246/+3943
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (148 commits) Remove gaps under nav on build page Replace the 'project/snippets.feature' spinach test with an rspec analog Use correct group members path for members flyout link Replace the 'project/commits/revert.feature' spinach test with an rspec analog Merge branch 'rs-incoming-email-domain-docs' into 'security-10-0' Replace the 'project/archived.feature' spinach test with an rspec analog Fix broken link in docs/api/wiki.md Fixed the new sidebars width when browser has scrollbars Improve 'spec/features/profiles/*' specs Replace the 'search.feature' spinach test with an rspec analog dedupe yarn packages add dependency approvals (all MIT license) update build image to latest with node 8.x, yarn 1.0.2, and chrome 61 Ensure we use `Entities::User` for non-admin `users/:id` API requests Minor update to address Sean McGivern's comment. Add data migration Fix setting share_with_group_lock created services for keys Prepare Repository#merge for migration to Gitaly Never connect to webpack-dev-server over SSL ...
| * | fixed mr widget options specPhil Hughes2017-09-131-3/+2
| | |
| * | fixed todos specPhil Hughes2017-09-121-17/+9
| | |
| * | Merge branch 'master' into 37220-es-modulesFilipa Lacerda2017-09-1223-265/+982
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (35 commits) Use WikiPages::CreateService in spec/features/projects/wiki/user_updates_wiki_page_spec.rb Replace the 'project/merge_requests/revert.feature' spinach test with an rspec analog Docs group mrs list view search bar Replace the project/milestone.feature spinach test with an rspec analog Make all the tooltips in the same direction on the commit info box Reset all connection schema cache after migration tests Emoji was rendered as italic Adds Event polyfill for IE Add gitaly to patch update doc Document how to swap database tables. Replace 'project/wiki.feature' spinach test with an rspec analog Check for sidebar cookie instead of class when resizing window update installation and update instructions for 10.0 Replace the 'project/merge_requests/accept.feature' spinach test with an rspec analog Remove confidential toggle checkbox and related code as no longer necessary Bump grape_logging gem to 1.7.0 to get status codes for error messages Expand filtered parameters to include `token` Replace the project/team_management.feature spinach test with an rspec analog Replace the profile/emails.feature spinach test with an rspec analog Replace project/group_links.feature spinach test with an rspec analog ...
| * | | fixed location.pathname not being resetPhil Hughes2017-09-121-1/+1
| | | |
| * | | Import modules instead of using the ones in global namespaceFilipa Lacerda2017-09-095-85/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes set favicon related methods from global scope Improves test related with favicon Removes convertPermissionToBoolean from global scope. Adds tests for convertPermissionToBoolean - were non existant Removes setParamInURL from gl.utils Removes parseIntPagination from gl.utils namespace Remove normalizeCRLFHeaders from gl.utils namespace Removes normalizeHeaders from gl.utils namespace Use gl.utils for filtered search Fix bad import Fix broken test by cleaning window.history namespace Adds changelog
| * | | Use modules in common utilsFilipa Lacerda2017-09-091-309/+307
| | | |
* | | | Merge branch '38088-remove-banner-to-customize-experience' into 'master'Douwe Maan2017-09-213-139/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Remove banner to customize experience" Closes #38088 See merge request gitlab-org/gitlab-ce!14384
| * | | | Deleted another Fixture due to User Callout38088-remove-banner-to-customize-experienceTim Zallmann2017-09-201-30/+0
| | | | |
| * | | | Fixture Creation removedTim Zallmann2017-09-201-5/+0
| | | | |
| * | | | Deleted Karma Specs for userCalloutTim Zallmann2017-09-201-49/+0
| | | | |
| * | | | Removed User Callout for Customer ExperienceTim Zallmann2017-09-201-55/+0
| | | | |
* | | | | Merge branch 'remove-use-key-worker' into 'master'Rémy Coutable2017-09-213-45/+77
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Stop using Sidekiq for updating Key#last_used_at Closes #36663 See merge request gitlab-org/gitlab-ce!14391
| * | | | Stop using Sidekiq for updating Key#last_used_atremove-use-key-workerYorick Peterse2017-09-203-45/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes things simpler as no scheduling is involved. Further we remove the need for running a SELECT + UPDATE just to get the key and update it, whereas we only need an UPDATE when setting last_used_at directly in a request. The added service class takes care of updating Key#last_used_at without using Sidekiq. Further it makes sure we only try to obtain a Redis lease if we're confident that we actually need to do so, instead of always obtaining it. We also make sure to _only_ update last_used_at instead of also updating updated_at. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36663
* | | | | Merge branch 'gitlab-git-popen' into 'master'Douwe Maan2017-09-203-5/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use Gitlab::Git's Popen on that module's code Closes gitaly#597 See merge request gitlab-org/gitlab-ce!14237
| * | | | | Use Gitlab::Git's Popen on that module's codegitlab-git-popenAlejandro Rodríguez2017-09-203-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the current Gitaly migration to depend on less code outside of the Gitlab::Git module
* | | | | | Merge branch '32796-tighten-up-remove-old-while-backing-up-gitlab' into 'master'Rémy Coutable2017-09-201-9/+37
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tighten up remove_old regex from gitlab backup manager. Closes #32796 See merge request gitlab-org/gitlab-ce!14333
| * | | | | | Tighten up remove_old regex from gitlab backup manager.32796-tighten-up-remove-old-while-backing-up-gitlabTiago Botelho2017-09-201-9/+37
| | |_|_|/ / | |/| | | |
* | | | | | Merge branch 'fix-counts-caching' into 'master'Douwe Maan2017-09-206-6/+13
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix refreshing of issues/MR count caches Closes #38061 See merge request gitlab-org/gitlab-ce!14363
| * | | | | Fix refreshing of issues/MR count cachesfix-counts-cachingYorick Peterse2017-09-196-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures the open issues/MR count caches are refreshed properly when creating new issues or MRs. This MR also includes a change to the cache keys to ensure all caches are rebuilt on the fly. This particular problem was not caught in the test suite due to a null cache being used, resulting in all calls that would use a cache using the underlying data directly. In production the code would fail because a newly saved record returns an empty hash in #changes meaning checks such as `state_changed? || confidential_changed?` would return false for new rows, thus never updating the counters. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/38061
* | | | | | Fix rewriting issue references with group milestonesGrzegorz Bizon2017-09-204-21/+61
| | | | | |
* | | | | | Merge branch '20049-projects-api-forks' into 'master'Rémy Coutable2017-09-202-0/+96
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "make project data via API report forks of this project" Closes #20049 See merge request gitlab-org/gitlab-ce!14355
| * | | | | Add an API endpoint to determine the forks of a projectMark Fletcher2017-09-201-0/+53
| | | | | |
| * | | | | Introduce ForkProjectsFinder classMark Fletcher2017-09-201-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | * Will dry up the code to find projects between the ForksController and the API
* | | | | | Merge branch 'rc/use-set-in-api-specs' into 'master'Grzegorz Bizon2017-09-2011-81/+87
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `test-prof` and use `set` in API specs See merge request gitlab-org/gitlab-ce!14370
| * | | | | | Use set in some API specsrc/use-set-in-api-specsRémy Coutable2017-09-1911-81/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | | | | Merge branch 'fix/gitaly-commit-diff-rpc-encoding-error' into 'master'Robert Speicher2017-09-201-0/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Encode paths properly for Gitaly Commit{Diff,Delta} Closes gitaly#589 See merge request gitlab-org/gitlab-ce!14361
| * | | | | | | Encode paths properly for Gitaly Commit{Diff,Delta}fix/gitaly-commit-diff-rpc-encoding-errorAhmad Sherif2017-09-191-0/+4
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | Fixes gitaly#589
* | | | | | | Merge branch '37894-handle-if-auto-devops-domain-is-not-set' into 'master'Stan Hu2017-09-192-1/+77
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Handle if Auto DevOps domain is not set" Closes #37894 See merge request gitlab-org/gitlab-ce!14319
| * | | | | | | Add specs for warning message shown in Auto DevOps settings37894-handle-if-auto-devops-domain-is-not-setKamil Trzcinski2017-09-192-2/+72
| | | | | | | |
| * | | | | | | Add warning message if domain or cluster are not configuredbokebilly2017-09-191-1/+7
| | | | | | | |
* | | | | | | | Merge branch ↵Fatih Acet2017-09-191-182/+100
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '37298-the-prettytime-utils-module-could-use-some-light-maintenance' into 'master' Resolve some tech debt in the prettyTime module Closes #37298 See merge request gitlab-org/gitlab-ce!14058
| * | | | | | | | Lightly refactor prettyTime module.37298-the-prettytime-utils-module-could-use-some-light-maintenanceBryce Johnson2017-09-141-182/+100
| | | | | | | | |
* | | | | | | | | Merge branch 'revert-feature-highlight' into 'master'Jacob Schatz2017-09-193-386/+0
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert feature highlight Closes #38087 See merge request gitlab-org/gitlab-ce!14373
| * | | | | | | | | Revert feature highlightClement Ho2017-09-193-386/+0
| | | | | | | | | |
* | | | | | | | | | Prepare cherry-pick and revert for migration to GitalyJacob Vosmaer (GitLab)2017-09-191-11/+13
| | | | | | | | | |
* | | | | | | | | | Merge branch 'backstage/gb/jobs-triggering-policy-specifications' into 'master'Kamil Trzciński2017-09-195-117/+289
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement job policy specifications Closes #37280 See merge request gitlab-org/gitlab-ce!14265
| * | | | | | | | | Fix closing braces in YAML processor specsbackstage/gb/jobs-triggering-policy-specificationsGrzegorz Bizon2017-09-191-1/+2
| | | | | | | | | |
| * | | | | | | | | Raise exception when initializing unknown policyGrzegorz Bizon2017-09-181-5/+2
| | | | | | | | | |
| * | | | | | | | | Use parentheses in CI/CD kubernetes policy specsGrzegorz Bizon2017-09-181-1/+1
| | | | | | | | | |
| * | | | | | | | | Do not initialize YAML processor with project full pathGrzegorz Bizon2017-09-181-60/+59
| | | | | | | | | |
| * | | | | | | | | Do not pass project path from YAML processorGrzegorz Bizon2017-09-183-12/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use project full path that can be received from a pipeline object
| * | | | | | | | | Add specs for CI/CD job policy refs specificationGrzegorz Bizon2017-09-181-0/+87
| | | | | | | | | |
| * | | | | | | | | Add specs for CI/CD job policy factory methodGrzegorz Bizon2017-09-181-0/+40
| | | | | | | | | |
| * | | | | | | | | Fix Rubocop offenses in YAML processor classesGrzegorz Bizon2017-09-181-1/+1
| | | | | | | | | |
| * | | | | | | | | Remove YAML processor refactoring stubs and fix specsGrzegorz Bizon2017-09-181-53/+55
| | | | | | | | | |
| * | | | | | | | | Implement CI/CD kubernetes policy specificationGrzegorz Bizon2017-09-181-0/+30
| | | | | | | | | |
* | | | | | | | | | Merge branch 'acey-flakes' into 'master'Rémy Coutable2017-09-191-10/+6
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix transient user_edits_files_spec failures See merge request gitlab-org/gitlab-ce!14324