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
2017-07-18Update specs for new upload pathBob Van Landuyt
2017-07-18Add a background migration to rename `uploads` in the uploads tableBob Van Landuyt
2017-07-18Move the `uploads/system` folder to `uploads/-/system`Bob Van Landuyt
Without downtime, so we need the symlinks
2017-07-18Merge branch 'backstage/gb/add-index-and-foreign-key-to-merge-requests' into ↵Kamil Trzciński
'master' Add a foreign key to `merge_requests.head_pipeline_id` Closes #34065 See merge request !12837
2017-07-18Merge branch 'request-store-wrap' into 'master'Rémy Coutable
Add RequestCache to cache via RequestStore See merge request !12920
2017-07-18Remove unneeded asserts and add tests for inactive RequestStoreLin Jen-Shin
2017-07-18Merge branch '34927-protect-manual-actions-on-tags' into 'master'Grzegorz Bizon
Protect manual actions against protected tag too Closes #34927 See merge request !12908
2017-07-18Use batching to clear orphans in head_pipeline migrationGrzegorz Bizon
2017-07-18Rename the methods to make it fit with current nameLin Jen-Shin
2017-07-18Follow feedback on the merge requestLin Jen-Shin
2017-07-18Merge branch '35225-transient-poll' into 'master'Phil Hughes
fix transient rspec failure due to Poll.js race condition Closes #35225 See merge request !12930
2017-07-18Add a foreign key to `merge_requests.head_pipeline_id`Grzegorz Bizon
2017-07-18Make sure it checks against the tag only when it's a tagLin Jen-Shin
2017-07-18Renamed Gitaly servicesAndrew Newdigate
2017-07-18fix transient rspec failure due to Poll.js race conditionSimon Knox
don't treat aborted requests as failures, they are often triggered during unload (e.g after clicking a link)
2017-07-17Cache Note#notable for commits and fix testsLin Jen-Shin
2017-07-17Use RequestStoreWrap for Commit#authorLin Jen-Shin
We also try to use instance variable to cache the result if RequestStore is not available, so we could keep the same logic, using the same cache key. Also introduce a way to specify method specific cache key
2017-07-17Add RequestStoreWrap to cache via RequestStoreLin Jen-Shin
I don't like the idea of `RequestStore` at all, because it's just a global state which shouldn't be used at all. But we have a number of places calling `ProtectedBranch.protected?` and `ProtectedTag.protected?` in a loop for the same user, project, and ref whenever we're checking against if the jobs for a given pipeline is accessible for a given user. This means we're effectively making N queries for the same thing over and over. To properly fix this, we need to change how we check the permission, and that could be a huge work. To solve this quickly, adding a cache layer for the given request would be quite simple to do. We're already doing this in Commit#author, and this is extending that idea and make it generalized.
2017-07-17Merge branch 'ee-2950-fix-namespace-visibility-level-helpers' into 'master'Sean McGivern
Promote visibility level helpers from Group to Namespace Closes gitlab-ee#2950 See merge request !12910
2017-07-17Merge branch 'fix/gb/process-scheduled-background-migrations' into 'master'Yorick Peterse
Process scheduled background migrations as well Closes #34951 See merge request !12787
2017-07-17Simplify background migrations stealing codeGrzegorz Bizon
Simply re-raise an exception when it occurs, but guarantee that no background migration is lost in the process.
2017-07-17Merge branch 'rubocop-hash-index' into 'master'Rémy Coutable
Added cop to blacklist the use of hash indexes See merge request !12869
2017-07-17Merge branch 'remove-git-search-files' into 'master'Sean McGivern
Remove Repository#search_files See merge request !12879
2017-07-17Merge branch '35181-cannot-create-label-from-board-page' into 'master'Phil Hughes
Fix label creation from new list for subgroup projects Closes #35181 See merge request !12906
2017-07-17Promote visibility level helpers from Group to NamespaceNick Thomas
In EE, we make use of `namespace#public?` in projects. When the project is in a personal namespace, this breaks as the `public?` helper isn't present.
2017-07-17Merge branch 'gitaly-more-annotations' into 'master'Sean McGivern
Branch and tag refactors for Gitaly See merge request !12872
2017-07-17Merge branch '34964-have_gitlab_http_status' into 'master'Rémy Coutable
Introduce have_gitlab_http_status Closes #34964 See merge request !12883
2017-07-17Protect manual actions against protected tag tooLin Jen-Shin
2017-07-17Fix off-by-one error in background migration retriesGrzegorz Bizon
2017-07-17Recover from all exceptions when stealing bg migrationGrzegorz Bizon
It also makes it possible to gracefully retry a migration in order to avoid problems like deadlocks.
2017-07-17Fix label creation from new list for subgroup projectsMark Fletcher
2017-07-14Merge branch 'bjk/metric_names' into 'master'Douwe Maan
Update metric names to match Prometheus guidelines. Closes #35031 See merge request !12812
2017-07-14Introduce have_gitlab_http_statusLin Jen-Shin
So that whenever this failed: expect(response).to have_gitlab_http_status(200) We see what's the response there. Here's an example: ``` 1) API::Settings Settings PUT /application/settings custom repository storage type set in the config updates application settings Failure/Error: expect(response).to have_gitlab_http_status(200) expected the response to have status code 200 but it was 400. The response was: {"error":"password_authentication_enabled, signin_enabled are mutually exclusive"} ```
2017-07-14Merge branch ↵Sean McGivern
'fix-exact-matches-of-username-and-email-on-top-of-the-user-search' into 'master' Fixes the user order being overriden in the autocomplete controller See merge request !12868
2017-07-14Merge branch 'pass-before-script-as-is' into 'master'Grzegorz Bizon
Pass before_script and script as-is preserving arrays See merge request !12680
2017-07-14Remove Repository#search_filesJacob Vosmaer
2017-07-14Update Pipeline's badge count in Merge Request and Commits view to match ↵Filipa Lacerda
real-time content
2017-07-14Fixes the user order being overriden in the autocomplete controllerTiago Botelho
2017-07-14Merge branch 'fix/gb/recover-from-renaming-project-with-container-images' ↵Sean McGivern
into 'master' Recover from renaming project that has container images Closes #23019 See merge request !12840
2017-07-14Make commit lookups explicitJacob Vosmaer
2017-07-14Merge branch ↵Grzegorz Bizon
'fix/sm/32032-remove-the-rest-of-trigger_schedule-related-codes' into 'master' Remove the rest of `trigger_schedule` related codes Closes #32032 See merge request !12839
2017-07-14Merge branch '19629-remove-inactive-tokens-list' into 'master'Filipa Lacerda
Remove Inactive Personal Access Tokens list from Access Tokens page Closes #19629 See merge request !12866
2017-07-14Catch exceptions when stealing background migrationsGrzegorz Bizon
2017-07-14Remove deprecated #heads methodJacob Vosmaer
2017-07-14Update test description to reflect behaviourkushalpandya
2017-07-14Remove one assertion from projects controller specsGrzegorz Bizon
2017-07-14Revert "Merge branch 'revert-2c879643' into 'master'"Sean McGivern
This reverts merge request !12633
2017-07-14Added cop to blacklist the use of hash indexesYorick Peterse
These indexes are not recorded in the WAL (at least until PostgreSQL 10) and this isn't worth the minor performance improvement over btree indexes.
2017-07-14Merge branch 'gitlab-git-repository-log' into 'master'Sean McGivern
Gitlab::Git shuffling and Gitaly annotations See merge request !12849
2017-07-14Avoid race condition when stealing a background migrationGrzegorz Bizon
We first pop a job from the Sidekiq queue / scheduled set and only if this has been successfully deleted we process the job. This makes it possible to minimize a possibility of a race condition happening.