summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'issue_41021' into 'master'10-3-stable-prepare-rc1Sean McGivern2017-12-134-5/+35
| | | | | | | | Prevent worker that updates merge requests head pipeline from failing jobs Closes #41021 See merge request gitlab-org/gitlab-ce!15870
* Revert "Merge branch 'zj-memoization-mr-commits' into 'master'"Oswaldo Ferreira2017-12-132-15/+1
| | | | This reverts commit 54f008126d83af1869572565336e01d3953b2b91.
* Merge branch 'zj-memoization-mr-commits' into 'master'Sean McGivern2017-12-132-1/+15
| | | | | | Use memoization for commits on diffs See merge request gitlab-org/gitlab-ce!15857
* Merge branch 'mk-fix-leaky-spec' into 'master'Stan Hu2017-12-131-4/+13
| | | | | | | | | CE Backport - Fix order-dependent spec failure by avoiding monkeypatching See merge request gitlab-org/gitlab-ce!15893 (cherry picked from commit 31fa9313991881258b4697cb507cfc8ab205b7dc) acde0e3f Fix spec by avoiding monkeypatching
* Merge branch 'gitaly-mirroring-prep' into 'master'Robert Speicher2017-12-131-18/+3
| | | | | | | | | | | | Gitaly mirroring migration prep Closes gitaly#816 See merge request gitlab-org/gitlab-ce!15775 (cherry picked from commit 6930fa3102f0ba197e969f9996e86bf11346470c) 885a4da2 Add feature flag to use gitaly-ssh mirroring when cloning internal repos 95009cef Unify mirror addition operations to prepare for Gitaly migration
* Merge branch 'jprovazn-description' into 'master'Sean McGivern2017-12-133-0/+32
| | | | | | | | | | | Use message body for merge request description Closes #40968 See merge request gitlab-org/gitlab-ce!15839 (cherry picked from commit 52d9ee6299a55fc3362a47207e3d62fba1dfbdd1) b39b5524 Use message body for merge request description
* Merge branch ↵Kamil Trzciński2017-12-131-0/+13
| | | | | | | | | | | | | '41023-activerecord-staleobjecterror--attempted-to-update-a-stale-object--ci-build' into 'master' Job dropping by MissingDependenciesError should consider StaleObjectError Closes #41023 See merge request gitlab-org/gitlab-ce!15873 (cherry picked from commit 6fff0473e0cf13607fdd49f856821680298113d8) 3494cdfe ActiveRecord::StaleObjectError: Attempted to update a stale object: Ci::Build
* Merge branch 'fix-image-view-mode' into 'master'Filipa Lacerda2017-12-131-0/+12
| | | | | | | | | | | | Fix image view mode Closes #40945 See merge request gitlab-org/gitlab-ce!15803 (cherry picked from commit fb47f2a7459f4c413f3fe496bcdb1b40d81d73a4) e815e8eb Fix image view mode aa2031b6 Add spec
* Merge branch 'backport-epic-in-issue' into 'master'Jacob Schatz2017-12-132-24/+30
| | | | | | | | | Backport epic in issue See merge request gitlab-org/gitlab-ce!15799 (cherry picked from commit 9c6ce2e8c93dc8d75d00b67ec5628f542826e5b8) bd7218f2 Backport epic in issue
* Merge branch '35724-animate-sidebar' into 'master'Filipa Lacerda2017-12-131-2/+2
| | | | | | | | | | | | | | Animate contextual sidebar; change class names for easier readability Closes #35724 See merge request gitlab-org/gitlab-ce!15797 (cherry picked from commit 2d00ad4868c21aef068232a79495f85e8f50d59b) 37f0ee04 Animate contextual sidebar; change class names for easier readability a1d5d49a Add changelog ee85ca73 Fix mobile styles e0172564 Fix transitions
* Merge branch 'sh-remove-allocation-tracking-influxdb' into 'master'Yorick Peterse2017-12-132-46/+0
| | | | | | | | | | | | Remove allocation tracking code from InfluxDB sampler for performance Closes gitlab-com/infrastructure#3250 See merge request gitlab-org/gitlab-ce!15834 (cherry picked from commit 3daa7331397d0b565911d5bb67b2411b021136fa) e1a8e5a5 Remove allocation tracking code from InfluxDB sampler for performance 10f5446c Remove RubySampler#sample_objects for performance as well
* Merge branch 'mk-pick-10-2-4-security-fixes' into 'master'Winnie Hellmann2017-12-137-37/+188
| | | | | | | | | | | | | | | Pick 10.2.4 security fixes into master See merge request gitlab-org/gitlab-ce!15821 (cherry picked from commit 1eff1bd385a28ccde7d0dc3a991c499ada1a63bd) d332c8c7 Merge branch '36679-non-authorized-user-may-see-wikis-or-pipeline-page' into 'security-10-2' 8c0aa7d4 Merge branch 'bvl-10-2-email-disclosure' into 'security-10-2' 8f29d264 Merge branch 'rs-security-group-api' into 'security-10-2' c59ae547 Merge branch 'issue_30663' into 'security-10-2' f4fbe61a Merge branch 'note-preview' into 'security-10-2' 0f811675 Manually add 10.2.4 changelog entries f71e48a0 Resolve conflicts in app/models/user.rb
* Merge branch 'fix/gb/fix-pipeline-build-chain-tag-evaluation' into 'master'Douwe Maan2017-12-139-37/+275
| | | | | | | | | | | | | | | Fix invalid pipeline build chain tag evaluation Closes #40944 See merge request gitlab-org/gitlab-ce!15805 (cherry picked from commit 103269b9a6d92ff3d4d0f3b69e4653e3f0ef7744) b30e0e06 Fix invalid pipeline build chain tag evaluation ad3be46b Implement and use Gitlab::Ci::Pipeline::Chain::Command 865341ac Fix a bug of before_sha being inproperly evaluated to `checkout_sha` b5f6a5f9 Add Chain::Command specs 99101f94 Fix Rubocop
* Merge branch 'sh-fix-import-rake-task' into 'master'James Lopez2017-12-132-0/+24
| | | | | | | | | | | | | | | Fix gitlab:import:repos Rake task moving repositories into the wrong location Closes #40765 See merge request gitlab-org/gitlab-ce!15823 (cherry picked from commit 7694ae887885c66eb633d3f78eac3128a08dc978) 78f7c3c8 Fix gitlab:import:repos Rake task moving repositories into the wrong location e8cced80 Fix failing importer test case on MySQL due to missing trailing slash in root path 917a112e Simplify normalizing of paths 86661a3a Use build instead of create in importer spec f1eaab7b Remove the need for destroy and add a comment in the spec
* Merge branch '38032-deploy-markers-should-be-more-verbose' into 'master'Mike Greiling2017-12-133-3/+46
| | | | | | | | | | | | Resolve "Deploy markers should be more verbose" Closes #38032 See merge request gitlab-org/gitlab-ce!15641 (cherry picked from commit 8730054683c00f4c79cf452beef0df794c70bf6b) d377aa54 Changed the deploy markers on the prometheus dashboard to be more verbose 3642f6f0 Reduce the size of the deploy flag when there's no tag available
* Merge branch '35385-allow-git-pull-push-on-project-redirects' into 'master'Douwe Maan2017-12-138-31/+318
| | | | | | | | | | | | | | | | | | | | | | | | Allow git pull/push on project redirects Closes #35385 See merge request gitlab-org/gitlab-ce!15670 (cherry picked from commit 2a181d68c810e89ff5d2e49999775d8b58adb394) 37c99562 Allow git pull/push on project redirects 64811239 Allow group/username transfers: 4344bba4 Fixes wrong condition on git access b6bac528 Wrap ProjectMoved behavior into a class 70676e3b Fixes permanent migration 3328950e Moves allowed_path_validation up to Namespace 54900c4a Addreses ME review comments 740ed1e0 Add several improvements 6a0d9261 Add fixes based on MR suggestions 8a1a257b Ensures validations are only executed if RedirectRoute#permanent column exists 448f1c54 Fixes broken specs and suggestions on MR da789af6 Add fixes based on MR comments 2bd96f5f Bump GITLAB_SHELL_VERSION to 5.10.2 75981dc4 Ensure RedirectRoute column information is flushed
* Merge branch ↵Sean McGivern2017-12-134-5/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '29483-no-feedback-when-checking-on-checklist-if-potential-spam-was-detected' into 'master' Resolve "No feedback when checking on checklist if potential spam was detected" Closes #29483 See merge request gitlab-org/gitlab-ce!15408 (cherry picked from commit d32032de08585476c3b303803a307ff94d910ebd) efc86c26 Mock spam? 8e9a9030 Merge remote-tracking branch 'origin/master' into… 019db0fd TEMP mock askismet spam check 11e51be6 respond_to json with json version of verify view in recaptcha_check_with_fallback 18955cdc Differentiate between spam related error and other update errors 9dcf093c Start recaptcha modal and render partial instead 64b13133 Append and remove api script when reCAPTCHA is needed c9a67fab put-over-post the recaptcha form cb22ae66 remove comments 20517d64 remove comments e174d02e Review changes 7a7d4a2a Add spec 8f617b45 Added changelog db3f1a47 Review changes 4d0c78de Add to tasklist 36ea921b Remove duplicate TaskList 6bffe620 Add app_spec for spam d95350bc Finished specs cf951cba FOR REVIEWERS 6c50e850 FOR MERGE 25931f73 Allow script src to be mockable c3463e00 Merge remote-tracking branch 'origin/master' into… 2c170b8d fix eslint a318c757 Fix redirect 8a02fbd0 BE review changes dda03f4d Fix spec 910c7205 Fix spec fafbd7e5 remove duplicate destroy
* Revert "Merge branch 'throttle-touching-of-objects' into 'master'"Oswaldo Ferreira2017-12-125-30/+2
| | | | | This reverts commit 102b32325da3fc93a1c99d05b20c853fc681df35, reversing changes made to d87d1e7901f7a71c6f0541c709be26fce3db7e4b.
* Move the circuitbreaker check out in a separate processbvl-circuitbreaker-processBob Van Landuyt2017-12-0820-196/+460
| | | | | | | | | | | | | | | | | | | | | | | | | | Moving the check out of the general requests, makes sure we don't have any slowdown in the regular requests. To keep the process performing this checks small, the check is still performed inside a unicorn. But that is called from a process running on the same server. Because the checks are now done outside normal request, we can have a simpler failure strategy: The check is now performed in the background every `circuitbreaker_check_interval`. Failures are logged in redis. The failures are reset when the check succeeds. Per check we will try `circuitbreaker_access_retries` times within `circuitbreaker_storage_timeout` seconds. When the number of failures exceeds `circuitbreaker_failure_count_threshold`, we will block access to the storage. After `failure_reset_time` of no checks, we will clear the stored failures. This could happen when the process that performs the checks is not running.
* Merge branch '40754-fix-flash-usage-with-personal-access-token' into 'master'Grzegorz Bizon2017-12-081-0/+25
|\ | | | | | | | | | | | | Fix new personal access token showing up in a flash message Closes #40754 See merge request gitlab-org/gitlab-ce!15707
| * Fix new personal access token showing up in a flash message40754-fix-flash-usage-with-personal-access-tokenEric Eastwood2017-12-071-0/+25
| |
* | Merge branch 'jprovazn-testfix2' into 'master'Stan Hu2017-12-081-5/+5
|\ \ | | | | | | | | | | | | | | | | | | Clean test path between merge request handler tests Closes #40900 See merge request gitlab-org/gitlab-ce!15792
| * | Clean test path between merge request handler testsjprovazn-testfix2Jan Provaznik2017-12-071-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | create_merge_request_handler_spec needs a repository for some tests but this repository lasts on disk by default which causes failures of other tests. TestEnv.clean_test_path is used to get rid of the repository after each test. Closes #40900
* | | Merge branch '40825-use-relative-path-urls' into 'master'Robert Speicher2017-12-071-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Use relative _path helper URLs in the GitLab UI Closes #40825 See merge request gitlab-org/gitlab-ce!15738
| * | | Use relative _path helper URLs in the GitLab UI40825-use-relative-path-urlsEric Eastwood2017-12-071-1/+1
| | | | | | | | | | | | | | | | Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/40825
* | | | Merge branch 'acet-fix-branches-list-on-cherry-pick-modal-after-merge' into ↵Jacob Schatz2017-12-071-0/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Fix loading branches list on cherry pick modal after merge. Closes #33894 See merge request gitlab-org/gitlab-ce!15306
| * | | | Fix loading branches list on cherry pick modal after merge.acet-fix-branches-list-on-cherry-pick-modal-after-mergeFatih Acet2017-12-041-0/+12
| | | | |
* | | | | Merge branch 'fix-transient-datefix-spec' into 'master'Jacob Schatz2017-12-071-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix transient error in pikadayToString Closes #40858 See merge request gitlab-org/gitlab-ce!15754
| * | | | | Fix transient error in pikadayToStringfix-transient-datefix-specClement Ho2017-12-051-1/+1
| | | | | |
* | | | | | Merge branch 'fix_39233' into 'master'Sean McGivern2017-12-071-0/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #39233 - 500 in merge request Closes #39233 See merge request gitlab-org/gitlab-ce!15774
| * | | | | | fix #39233 - 500 in merge requestMartin Nowak2017-12-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - handle unchanged empty lines in inline diff
* | | | | | | Merge branch 'feature/sm/34834-missing-dependency-should-fail-job-2' into ↵Kamil Trzciński2017-12-073-1/+174
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Dependency validator Closes #34834 See merge request gitlab-org/gitlab-ce!14009
| * | | | | | | Test for both ci_disable_validates_dependencies true/falseShinya Maeda2017-12-082-78/+129
| | | | | | | |
| * | | | | | | Change feature flag to ci_disable_validates_dependencies to enable it as defaultShinya Maeda2017-12-072-2/+2
| | | | | | | |
| * | | | | | | Fix pipelineShinya Maeda2017-12-061-1/+3
| | | | | | | |
| * | | | | | | Fix testsShinya Maeda2017-12-062-28/+32
| | | | | | | |
| * | | | | | | Fix /build_spec.rbShinya Maeda2017-12-061-1/+6
| | | | | | | |
| * | | | | | | Fix lintShinya Maeda2017-12-062-4/+13
| | | | | | | |
| * | | | | | | Add case when artifacts have not existed on dependenciesShinya Maeda2017-12-062-1/+45
| | | | | | | |
| * | | | | | | Use Class.new(StandardError) instead of custom extended error class. Bring ↵Shinya Maeda2017-12-062-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | back specified_dependencies?.
| * | | | | | | Fail jobs if its dependency is missingShinya Maeda2017-12-063-0/+63
| | | | | | | |
* | | | | | | | Merge branch 'deploy-keys-loading-icon' into 'master'Filipa Lacerda2017-12-072-1/+15
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed remove deploy key loading icon not being removed after canceling Closes #37595 See merge request gitlab-org/gitlab-ce!15779
| * | | | | | | | Fixed remove deploy key loading icon not being removed after cancelingdeploy-keys-loading-iconPhil Hughes2017-12-072-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #37595
* | | | | | | | | Merge branch ↵Kamil Trzciński2017-12-074-215/+46
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '40761-remove-the-checkbox-for-starting-a-new-pipeline-in-auto-devops-settings' into 'master' Resolve "Remove the checkbox for starting a new pipeline in Auto DevOps settings" Closes #40761 See merge request gitlab-org/gitlab-ce!15714
| * | | | | | | | Remove Auto DevOps checkboxes - frontend40761-remove-the-checkbox-for-starting-a-new-pipeline-in-auto-devops-settingsbikebilly2017-12-041-101/+0
| | | | | | | | |
| * | | | | | | | Remove Auto DevOps checkboxes - backendbikebilly2017-12-043-114/+46
| | | | | | | | |
* | | | | | | | | Merge branch 'dm-commit-diff-discussions-in-mr-context' into 'master'Douwe Maan2017-12-0713-71/+216
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow commenting on individual commits inside an MR Closes #31847 See merge request gitlab-org/gitlab-ce!12148
| * | | | | | | | | adding view and feature specsmicael.bergeron2017-12-0710-68/+173
| | | | | | | | | |
| * | | | | | | | | add support for the commit reference filtermicael.bergeron2017-12-074-12/+28
| | | | | | | | | |
| * | | | | | | | | corrects the url buildingmicael.bergeron2017-12-071-2/+11
| | | | | | | | | |