summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add Chain::Command specsfix/gb/fix-pipeline-build-chain-tag-evaluationKamil Trzcinski2017-12-082-1/+186
|
* Implement and use Gitlab::Ci::Pipeline::Chain::CommandKamil Trzcinski2017-12-087-45/+50
|
* Fix invalid pipeline build chain tag evaluationGrzegorz Bizon2017-12-081-2/+35
|
* Merge branch 'mk-add-old-attachments-to-uploads-table' into 'master'Stan Hu2017-12-074-1/+777
|\ | | | | | | | | Add old files to uploads table See merge request gitlab-org/gitlab-ce!15270
| * Fix specs for MySQLMichael Kozono2017-12-062-0/+5
| |
| * Fix specs after rebaseMichael Kozono2017-12-062-15/+14
| | | | | | | | | | | | | | | | Later migrations added fields to the EE DB which were used by factories which were used in these specs. And in CE on MySQL, a single appearance row is enforced. The migration and migration specs should not depend on the codebase staying the same.
| * Process normal paths in batch containing bad pathsMichael Kozono2017-12-051-0/+20
| |
| * Guarantee all IDs are includedMichael Kozono2017-12-051-5/+5
| |
| * Add tests for disable_quote optionMichael Kozono2017-12-011-0/+16
| |
| * Fix test for MySQLMichael Kozono2017-12-011-4/+6
| |
| * Don’t recreate deleted uploadsMichael Kozono2017-12-011-7/+7
| |
| * Filter existing uploads with one queryMichael Kozono2017-12-011-54/+26
| |
| * RefactorMichael Kozono2017-12-011-3/+3
| |
| * Get rid of tracked fieldMichael Kozono2017-12-011-16/+4
| | | | | | | | It makes a debugging slightly easier, but is not necessary, and is a waste of resources.
| * Use bulk insertsMichael Kozono2017-12-011-47/+145
| |
| * Attempt to fix spec in CIMichael Kozono2017-12-011-1/+1
| |
| * Move temp table creation into the prepare jobMichael Kozono2017-12-012-12/+52
| | | | | | | | | | * Hopefully fixes spec failures in which the table doesn’t exist * Decouples the background migration from the post-deploy migration, e.g. we could easily run it again even though the table is dropped when finished.
| * Fix Rubocop offensesMichael Kozono2017-12-012-5/+3
| |
| * Drop temporary tracking table when finishedMichael Kozono2017-12-012-42/+57
| |
| * Refactor specsMichael Kozono2017-12-012-264/+146
| |
| * Store paths relative to CarrierWave.rootMichael Kozono2017-12-012-49/+64
| | | | | | | | | | | | So the path on source installs cannot be too long for our column. And fix the column length test since Route.path is limited to 255 chars, it doesn’t matter how many nested groups there are.
| * Clean up after testMichael Kozono2017-12-011-1/+7
| |
| * Remove unnecessary clearingMichael Kozono2017-12-011-2/+2
| | | | | | | | Since duplicate inserts are now ignored.
| * Reword testMichael Kozono2017-12-011-1/+1
| |
| * Rename table to untracked_files_for_uploadsMichael Kozono2017-12-012-118/+118
| |
| * Refactor, no change in behaviorMichael Kozono2017-12-011-7/+2
| |
| * Fix Rubocop offensesMichael Kozono2017-12-011-1/+1
| |
| * Test batch processingMichael Kozono2017-12-011-0/+42
| |
| * Calculate checksumsMichael Kozono2017-12-011-83/+66
| | | | | | | | | | | | by copy-pasting in the whole `Upload` class. Also, fix `Namespace` `model_type` (it should not be `Group`).
| * Add untracked files to uploadsMichael Kozono2017-12-011-0/+581
| |
| * Kick off follow up background migration jobsMichael Kozono2017-12-011-16/+47
| | | | | | | | To process the unhashed_upload_files table.
| * Find and store unhashed upload file pathsMichael Kozono2017-12-011-0/+80
| |
| * Backport `which` from EEMichael Kozono2017-12-011-1/+9
| |
* | Merge branch 'gitaly-764-commit-filter-shas-with-signature' into 'master'Robert Speicher2017-12-051-0/+29
|\ \ | | | | | | | | | | | | | | | | | | Migrate Gitlab::Git::Commit.shas_with_signature Closes gitaly#764 See merge request gitlab-org/gitlab-ce!15621
| * | Migrate Gitlab::Git::Commit.shas_with_signaturesgitaly-764-commit-filter-shas-with-signatureKim "BKC" Carlbäcker2017-12-051-0/+29
| | | | | | | | | | | | - Added tests for Git::Commit.shas_with_signatures
* | | add Gitlab::Database.replication_slots_supported?Brett Walker2017-12-051-0/+22
|/ /
* | Merge branch 'dm-application-worker' into 'master'Sean McGivern2017-12-052-4/+28
|\ \ | | | | | | | | | | | | Add ApplicationWorker and make every worker include it See merge request gitlab-org/gitlab-ce!15632
| * | Consistently schedule Sidekiq jobsdm-application-workerDouwe Maan2017-12-051-4/+4
| | |
| * | Add ApplicationWorker and make every worker include itDouwe Maan2017-12-051-0/+24
| | |
* | | Merge branch '32878-merge-request-from-email' into 'master'Sean McGivern2017-12-052-0/+101
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Create merge request from email Closes #32878 See merge request gitlab-org/gitlab-ce!13817
| * | Create merge request from emailJan Provaznik2017-12-052-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * new merge request can be created by sending an email to the specific email address (similar to creating issues by email) * for the first iteration, source branch must be specified in the mail subject, other merge request parameters can not be set yet * user should enable "Receive notifications about your own activity" in user settings to receive a notification about created merge request Part of #32878
* | | Merge branch 'user-agent-gke-api' into 'master'Kamil Trzciński2017-12-041-3/+21
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Use custom User-Agent header in GCP Client requests Closes #40583 See merge request gitlab-org/gitlab-ce!15705
| * | Test usage of custom user agent in GCP ClientMatija Čupić2017-12-041-3/+7
| | |
| * | Use RequestOptions in GCP Client user_agent_headerMatija Čupić2017-12-041-2/+7
| | |
| * | Generate user agent header for GCP ClientMatija Čupić2017-12-041-0/+9
| |/
* | Merge branch '40711-fix-forking-hashed-projects' into 'master'Douwe Maan2017-12-041-4/+4
|\ \ | | | | | | | | | | | | | | | | | | Fix the fork project functionality for projects with hashed storage Closes #40711 See merge request gitlab-org/gitlab-ce!15671
| * | Fix the fork project functionality for projects with hashed storageNick Thomas2017-12-041-4/+4
| |/ | | | | | | Note the dependency on gitlab-shell v5.10.0
* | Merge branch 'bvl-circuitbreaker-keys-set' into 'master'Douwe Maan2017-12-042-0/+20
|\ \ | | | | | | | | | | | | Keep track of all storage keys in a set See merge request gitlab-org/gitlab-ce!15613
| * | Keep track of all storage keys in a setbvl-circuitbreaker-keys-setBob Van Landuyt2017-12-012-0/+20
| |/ | | | | | | | | That way we don't need the to scan the entire keyspace to get all known keys
* | Added default order to UserFinderFrancisco Javier López2017-12-041-0/+21
|/