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
AgeCommit message (Collapse)Author
2019-05-17Merge branch 'pl-fix-warning' into 'master'Andreas Brandl
Remove duplicate definition of DOWNTIME See merge request gitlab-org/gitlab-ce!28294
2019-05-17Add extra checks for ci_id migrationDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2019-05-13Remove duplicate definition of DOWNTIMEPeter Leitzen
This silences the warning: 20190301081611_migrate_project_migrate_sidekiq_queue.rb:8: warning: already initialized constant MigrateProjectMigrateSidekiqQueue::DOWNTIME
2019-05-06Fix issuables state_id nil when importing projects from GitHubFelipe Artur
Issues and merge requests imported from GitHub are having state_id set to null. This fixes the GitHub project importer and schedule migrations to fix state_id.
2019-05-02Remove unused projects.ci_id columnDmitriy Zaporozhets
And remove Gitlab::Ci::Trace#deprecated_path as it relies on ci_id Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2019-04-06Clean up `noteable_id` for notes on commitsHeinrich Lee Yu
This was incorrectly set by a bug in: https://gitlab.com/gitlab-org/gitlab-ce/issues/54924 Also adds a `batch_size` option to `update_column_in_batches`
2019-04-04Add v2 to reserved top level routesDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2019-03-27Merge masterFelipe Artur
2019-03-26Add multiple assignees migration and table populationOswaldo Ferreira
This will be further required for supporting multi-assignees MRs
2019-03-01Remove auto vacuum logic, decrease batch size and intervalFelipe Artur
2019-03-01Migrate sidekiq queue to the new :hashed_storage namespaceGabriel Mazetto
`project_migrate_hashed_storage` is now `hashed_storage:hashed_storage_project_migrate`
2019-02-20Remove undigested token column from personal_access_tokens tableImre Farkas
Token column are no longer used as token values are stored digested in token_digest.
2019-02-19Address review commentsFelipe Artur
2019-02-19Add more specs and code improvementsFelipe Artur
2019-02-14Split background migration for issues and merge requestsFelipe Artur
2019-02-04Addresses backend/db review commentsMayra Cabrera
- Fixes multiple typos on AutoDevops script - Add an alias to Clusters::Cluster#domain as base_domain, so it's more descriptive - Removes unnecessary memoization on qa specs - Changes migration to a post migration to deal better with traffic on big instances (like gitlab.com)
2019-02-04Fix template labelsFelipe Artur
2019-01-31Fix tree restorer visibility levelJames Lopez
2019-01-29Add migration to cleanup iid recordsAndreas Brandl
2019-01-25Sidekiq queue migration for HashedStorage::MigratorWorkerGabriel Mazetto
Migrate jobs from `storage_migrator` to `hashed_storage:hashed_storage_migrator`.
2019-01-25Merge branch 'container-repository-cleanup-api' into 'master'Grzegorz Bizon
Container repository cleanup API Closes #55978 See merge request gitlab-org/gitlab-ce!24303
2019-01-25Add Container Registry APIKamil Trzciński
This includes a set of APIs to manipulate container registry. This includes also an ability to delete tags based on requested criteria, like keep-last-n, matching-name, older-than.
2019-01-24Enable the Layout/ExtraSpacing copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-22Refactored AfterRenameService to reduce couplingGabriel Mazetto
We still rely on the Dirty API for project rename (before/after) values, but we don't access the dirty api from the service class anymore. The previous value is now part of the initialization, which makes it easier to test and the behavior is clearer. The same was done with the `rename_repo` on the Storage classes, we now provide before and after values as part of the method signature.
2019-01-10Remove backfill migration for legacy projectsToon Claes
We've found some problems with the backgroung migration: BackfillLegacyProjectRepositories See https://gitlab.com/gitlab-org/gitlab-ce/issues/56061 The migration was disabled to run on production: https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/5906 So to overcome it's not being run anywhere, just remove it. Whenever all problems in BackfillLegacyProjectRepositories are fixed we'll create a new migration (with a different timestamp) to have it run.
2018-12-21Rename `ClusterPlatformConfigureWorker`George Tsiolis
2018-12-19Backfill project_repositories for legacy storage projectsDouglas Barbosa Alexandre
Adds a background migration that will ensure all projects that are on legacy storage have a row in `project_repositories`.
2018-12-16Remove rails4 specific codeJasper Maes
2018-12-12Fix ActiveRecord::Migration deprecationsYorick Peterse
Extending from ActiveRecord::Migration is deprecated, but was still used in a bunch of places.
2018-12-10Merge branch 'sh-remove-gitlab-shell-include' into 'master'Rémy Coutable
Remove unnecessary includes of ShellAdapter See merge request gitlab-org/gitlab-ce!23607
2018-12-10Merge branch 'osw-update-mr-metrics-with-events-data' into 'master'Douwe Maan
Populate MR metrics with events table information (migration) Closes #41587 See merge request gitlab-org/gitlab-ce!23564
2018-12-07Fill project_repositories for hashed storageDouglas Barbosa Alexandre
2018-12-07Populate MR metrics with events table information (migration)Oswaldo Ferreira
2018-12-07Fill project_repositories for hashed storageToon Claes
This adds a background migration that will ensure all projects that are on hashed storage have a row in `project_repositories`. Related issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/48527
2018-12-06Remove unnecessary includes of ShellAdapterStan Hu
Determined by running the script: ``` included = `git grep --name-only ShellAdapter`.chomp.split("\n") used = `git grep --name-only gitlab_shell`.chomp.split("\n") included - used ```
2018-12-04Merge commit '83f0798e7dc588f0e4cb6816daadeef7dbfc8b81' into ↵Grzegorz Bizon
fix/gb/encrypt-runners-tokens * commit '83f0798e7dc588f0e4cb6816daadeef7dbfc8b81': (101 commits)
2018-11-29Move drop_site_statistics to be a post deployment migrationGabriel Mazetto
As post deployment migration we don't need to make it a migration that requires downtime
2018-11-29Merge commit '6852680584a1b22788f451457a6042eabf862a73' into ↵Grzegorz Bizon
fix/gb/encrypt-runners-tokens * commit '6852680584a1b22788f451457a6042eabf862a73': (57 commits)
2018-11-29Merge branch 'security-fix-uri-xss-applications' into 'master'Cindy Pallares
[master] Resolve "Reflected XSS in OAuth Authorize window due to redirect_uri allowing arbitrary protocols" See merge request gitlab/gitlabhq!2572
2018-11-28Merge branch 'master' into fix/gb/encrypt-runners-tokensGrzegorz Bizon
* master: (243 commits) Conflicts: db/schema.rb lib/gitlab/import_export/import_export.yml
2018-11-28Move code to a BackgroundMigrationToon Claes
And run in intervals.
2018-11-28Migration to write fullpath in all repository configsToon Claes
In https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16027 it was added to write `gitlab.fullpath` in the git config of all repositories. But this only writes them on move or migrate to hashed storage. This adds a migration that writes the fullpath to all the repositories. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/41776
2018-11-23Adjust batch size for migrating runners tokenGrzegorz Bizon
2018-11-23Reduce Sidekiq signature of scheduled tokens migrationGrzegorz Bizon
2018-11-22Add version 4.2 to all existing migrationsJan Provaznik
DB schema generated by a migration may look different in rails 4 and 5 (because rails 5 may use different default values). For this reason it's important to explicitly set for which rails version a migration was written for. See https://stackoverflow.com/questions/35929869/activerecordmigration-deprecation-warning-asks-for-rails-version-but-im-no/35930912#35930912
2018-11-21Schedule background migration for encrypting runners tokensGrzegorz Bizon
2018-11-07Add migration to steal FillStoreUploadToon Claes
2018-11-07Merge branch 'sh-fix-issue-52649' into 'master'Sean McGivern
Fix statement timeouts in RemoveRestrictedTodos migration Closes #52649 See merge request gitlab-org/gitlab-ce!22795
2018-11-07Reschedule another instance of RemoveRestrictedTodos migrationStan Hu
2018-11-06Merge branch 'stateful_deployments' into 'master'Kamil Trzciński
Change life cycle of `deployments` records in order to make it a stateful object See merge request gitlab-org/gitlab-ce!22380