summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Add local markdown versionlocal-markdown-versionJan Provaznik2019-02-062-0/+12
| | | | | | Cached markdown version is composed both from global and local markdown version. This allows admins to bump version locally when needed (e.g. when external URL is changed).
* DB and model changes for Sentry project selection dropdownReuben Pereira2019-02-042-2/+20
|
* Fix template labelsFelipe Artur2019-02-042-1/+24
|
* Fix tree restorer visibility levelJames Lopez2019-01-311-0/+60
|
* Add migration to cleanup iid recordsAndreas Brandl2019-01-291-0/+43
|
* Save sorting preference for Issues/MRs in BEMario de la Ossa2019-01-282-0/+23
| | | | | | In order to let users' sorting preferences transfer between devices, we save the preference for issues and MRs (one preference for issues, one for MRs) in the backend inside the UserPreference object
* Sidekiq queue migration for HashedStorage::MigratorWorkerGabriel Mazetto2019-01-252-1/+19
| | | | | Migrate jobs from `storage_migrator` to `hashed_storage:hashed_storage_migrator`.
* Merge branch 'container-repository-cleanup-api' into 'master'Grzegorz Bizon2019-01-251-0/+15
|\ | | | | | | | | | | | | Container repository cleanup API Closes #55978 See merge request gitlab-org/gitlab-ce!24303
| * Add Container Registry APIKamil Trzciński2019-01-251-0/+15
| | | | | | | | | | | | 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.
* | Enable the Layout/ExtraSpacing cop56392-enable-the-layout-extraspacing-copRémy Coutable2019-01-242-2/+2
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Add domain field into Clusters::ClusterMayra Cabrera2019-01-222-0/+10
| | | | | | | | | | | | | | This is the 1st step for moving Auto DevOps domain into cluster settings, whether is project or group. Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/52363
* | Refactored AfterRenameService to reduce couplingGabriel Mazetto2019-01-222-2/+18
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Cleanup legacy artifact background migrationShinya Maeda2019-01-173-1/+52
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add migration and spec commit 3cc12e1268a6865f524d8fab1804f018312fdf5a Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jan 8 19:34:31 2019 +0900 Add changelog to this change commit 5006fc96e38db514956a35f53ae8ee536548a2e9 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jan 8 19:32:56 2019 +0900 Remove partial index from ci_builds artifact_file ok Update schema commit 3c956bdc02b195bc67d0327bf3748a631ea5466d Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jan 7 21:41:27 2019 +0900 Add frozen_string_literal: true commit 8c827cd616890160e6e8908843403a6f20c03236 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jan 7 21:40:06 2019 +0900 Set batch size 100 commit aeee559777d3bdeadfd2b9bb61d460f2dc1fa8a6 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jan 4 18:33:05 2019 +0900 Cleanup legacy artifact background migration
* Merge branch 'sh-suppress-duplicate-remote-mirror-notifications' into 'master'Douwe Maan2019-01-152-1/+13
|\ | | | | | | | | | | | | Only send one notification for failed remote mirror Closes #56222 See merge request gitlab-org/gitlab-ce!24381
| * Only send one notification for failed remote mirrorStan Hu2019-01-152-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | Retries in Sidekiq and in the remote mirror scheduler can cause repeated attempts in quick succession if the sync fails. Each failure will then send an e-mail to all project maintainers, which can spam users unnecessarily. Modify the logic to send one notification the first time the mirror fails by setting `error_notification_sent` to `true` and reset the flag after a successful sync. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56222
* | Ignore Repository::AmbiguousRefError in db/fixtures/developmentRémy Coutable2019-01-141-0/+3
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove backfill migration for legacy projectsToon Claes2019-01-101-26/+0
| | | | | | | | | | | | | | | | 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.
* Merge branch 'elastic-test-repos-ce' into 'master'Nick Thomas2019-01-091-79/+121
|\ | | | | | | | | Backport of elastic-test-repos from EE See merge request gitlab-org/gitlab-ce!24200
| * Backport of elastic-test-repos from EEMario de la Ossa2019-01-081-79/+121
| |
* | Add table and model for error tracking settingsReuben Pereira2019-01-072-0/+25
| |
* | Merge branch 'depracated-migration-inheritance' into 'master'Rémy Coutable2019-01-071-1/+1
|\ \ | | | | | | | | | | | | ActiveRecord::Migration -> ActiveRecord::Migration[5.0] for AddIndexesToCiBuildsAndPipelines See merge request gitlab-org/gitlab-ce!24167
| * | ActiveRecord::Migration -> ActiveRecord::Migration[5.0] for ↵Jasper Maes2019-01-051-1/+1
| |/ | | | | | | AddIndexesToCiBuildsAndPipelines
* | Add config_options|variables to BuildMetadatakamil-refactor-ci-builds-v5Kamil Trzciński2019-01-043-2/+20
|/ | | | | | | | | | | These are data columns that store runtime configuration of build needed to execute it on runner and within pipeline. The definition of this data is that once used, and when no longer needed (due to retry capability) they can be freely removed. They use `jsonb` on PostgreSQL, and `text` on MySQL (due to lacking support for json datatype on old enough version).
* Change release links table ID to bigserialac-releases-api-with-assetsShinya Maeda2019-01-042-2/+2
|
* Add unique constraint to release and urlShinya Maeda2019-01-042-0/+2
| | | | | | | | | | | | Fix coding style Improve coding style Decouple UPDATE and DELETE operations of asset links Rename links_attributes to assets:links Rename exposed param and updated spec
* Support CURD operation for release asset linksShinya Maeda2019-01-042-0/+28
| | | | | | - Add Releases::Links model - Expose it in release API - Add integration tests
* Merge branch 'ab-50763-persist-index' into 'master'Yorick Peterse2019-01-042-0/+46
|\ | | | | | | | | | | | | Specific CI indexes to avoid statement timeout. Closes #50763 See merge request gitlab-org/gitlab-ce!23188
| * Add specific index namesab-50763-persist-indexAndreas Brandl2019-01-032-6/+31
| | | | | | | | | | This is useful to distinguish any other indexes on the same columns but with different conditions and/or sorting.
| * Add specific indexes for CIAndreas Brandl2019-01-032-0/+21
| | | | | | | | | | | | | | | | This adds specific indexes to speed up the query mentioned in https://gitlab.com/gitlab-org/gitlab-ce/issues/50763 and to avoid statement timeouts. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50763.
* | Make RBAC enabled default for new clustersDylan Griffith2019-01-042-2/+11
|/ | | | | Many changes were also made to tests that expected this to default to false.
* Fix deprecation: insert_sql is deprecated and will be removedJasper Maes2019-01-021-1/+1
|
* Add new line and commentsShinya Maeda2018-12-261-0/+4
|
* Fix the seeder 24_forks.rb cannot find public projectShinya Maeda2018-12-261-0/+2
|
* Rename `ClusterPlatformConfigureWorker`George Tsiolis2018-12-212-1/+16
|
* Merge branch 'master' into 'feature/option-to-make-variables-protected'Grzegorz Bizon2018-12-2046-39/+611
|\ | | | | | | Conflicts: db/schema.rb
| * Merge branch 'depracated-migration-inheritance' into 'master'Robert Speicher2018-12-191-1/+1
| |\ | | | | | | | | | | | | ActiveRecord::Migration -> ActiveRecord::Migration[5.0] for ImportCommonMetricsNginxVts See merge request gitlab-org/gitlab-ce!23910
| | * ActiveRecord::Migration -> ActiveRecord::Migration[5.0]Jasper Maes2018-12-181-1/+1
| | |
| * | Backfill project_repositories for legacy storage projectsDouglas Barbosa Alexandre2018-12-182-1/+27
| |/ | | | | | | | | Adds a background migration that will ensure all projects that are on legacy storage have a row in `project_repositories`.
| * Merge branch '54719-enable-hashed-storage-by-default-in-development-mode' ↵Douglas Barbosa Alexandre2018-12-181-0/+8
| |\ | | | | | | | | | | | | | | | | | | | | | | | | into 'master' Resolve "Enable Hashed Storage by default in development mode" Closes #54719 See merge request gitlab-org/gitlab-ce!23889
| | * Enable Hashed Storage by default in development mode via seed_fu54719-enable-hashed-storage-by-default-in-development-modeGabriel Mazetto2018-12-181-0/+8
| | |
| * | Merge branch 'deprecated-directly-inheriting-migration' into 'master'Rémy Coutable2018-12-181-1/+1
| |\ \ | | | | | | | | | | | | | | | | Fix deprecation: Directly inheriting from ActiveRecord::Migration is deprecated. See merge request gitlab-org/gitlab-ce!23884
| | * | Fix deprecation: Directly inheriting from ActiveRecord::Migration is deprecated.Jasper Maes2018-12-171-1/+1
| | |/
| * | Add NGINX 0.16.0 and above metricsJoshua Lambert2018-12-172-1/+18
| |/
| * Remove rails4 specific codeJasper Maes2018-12-165-14/+5
| |
| * Merge branch 'ac-releases-name-sha-author' into 'master'Kamil Trzciński2018-12-144-1/+57
| |\ | | | | | | | | | | | | Add name, author and sha to releases See merge request gitlab-org/gitlab-ce!23763
| | * Add name, author and sha to releasesAlessio Caiazza2018-12-134-1/+57
| | | | | | | | | | | | | | | | | | This commit adds a name to each release, defaulting it to tag name, keeps track of the SHA when a new release is created and tracks the current user as release author.
| * | Allow suggesting single line changes in diffsOswaldo Ferreira2018-12-132-0/+31
| |/
| * Fix ActiveRecord::Migration deprecationsYorick Peterse2018-12-1214-14/+14
| | | | | | | | | | Extending from ActiveRecord::Migration is deprecated, but was still used in a bunch of places.
| * Merge branch 'sh-remove-gitlab-shell-include' into 'master'Rémy Coutable2018-12-102-2/+0
| |\ | | | | | | | | | | | | Remove unnecessary includes of ShellAdapter See merge request gitlab-org/gitlab-ce!23607
| | * Remove unnecessary includes of ShellAdapterStan Hu2018-12-052-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```