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/db
AgeCommit message (Collapse)Author
2019-02-07Merge branch 'master' into ↵Sean McGivern
fabsrc/gitlab-ce-2105-add-setting-for-first-day-of-the-week
2019-02-07Merge branch '52363-ui-changes-to-cluster-and-ado-pages' into 'master'Grzegorz Bizon
Moves domain setting to Clusters page Closes #52363 See merge request gitlab-org/gitlab-ce!24580
2019-02-07Merge branch 'local-markdown-version' into 'master'Douglas Barbosa Alexandre
Add local markdown version Closes #32789 See merge request gitlab-org/gitlab-ce!24822
2019-02-06Add local markdown versionJan Provaznik
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).
2019-02-06Merge branch 'sh-log-project-name-with-gitaly' into 'master'Rémy Coutable
Send project name with Gitaly repository requests Closes gitaly#1394 See merge request gitlab-org/gitlab-ce!23373
2019-02-06Rename setting, fix wordingsFabian Schneider
2019-02-06Add setting for first day of the weekFabian Schneider
2019-02-06Send project name with Gitaly repository requestsStan Hu
When hashed storage is in use, it's helpful to have the project name associated with the request. Closes https://gitlab.com/gitlab-org/gitaly/issues/1394
2019-02-05Allow MR diffs to be placed into an object storeNick Thomas
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-04Use a single sql statement for ADO queryMayra Cabrera
Since cluster_projects table does not have a lot of records, currently it has 11,638, it seems better to use a single sql statement to update all the records
2019-02-04Moves domain setting to Cluster settingMayra Cabrera
Changes domain field to be on the Cluster page show, removing it from Auto DevOps setting. Also injects the new environment variable KUBE_INGRESS_BASE_DOMAIN into kubernetes#predefined_variables. Migration to move the information from ProjectAutoDevops#domain to Clusters::Cluster#domain. As well as necessary modifications to qa selectors Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52363
2019-02-04DB and model changes for Sentry project selection dropdownReuben Pereira
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-28Save sorting preference for Issues/MRs in BEMario de la Ossa
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
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-22Add domain field into Clusters::ClusterMayra Cabrera
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
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-17Cleanup legacy artifact background migrationShinya Maeda
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
2019-01-15Merge branch 'sh-suppress-duplicate-remote-mirror-notifications' into 'master'Douwe Maan
Only send one notification for failed remote mirror Closes #56222 See merge request gitlab-org/gitlab-ce!24381
2019-01-15Only send one notification for failed remote mirrorStan Hu
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
2019-01-14Ignore Repository::AmbiguousRefError in db/fixtures/developmentRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
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.
2019-01-09Merge branch 'elastic-test-repos-ce' into 'master'Nick Thomas
Backport of elastic-test-repos from EE See merge request gitlab-org/gitlab-ce!24200
2019-01-09Backport of elastic-test-repos from EEMario de la Ossa
2019-01-07Add table and model for error tracking settingsReuben Pereira
2019-01-07Merge branch 'depracated-migration-inheritance' into 'master'Rémy Coutable
ActiveRecord::Migration -> ActiveRecord::Migration[5.0] for AddIndexesToCiBuildsAndPipelines See merge request gitlab-org/gitlab-ce!24167
2019-01-05ActiveRecord::Migration -> ActiveRecord::Migration[5.0] for ↵Jasper Maes
AddIndexesToCiBuildsAndPipelines
2019-01-04Add config_options|variables to BuildMetadataKamil Trzciński
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).
2019-01-04Change release links table ID to bigserialShinya Maeda
2019-01-04Add unique constraint to release and urlShinya Maeda
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
2019-01-04Support CURD operation for release asset linksShinya Maeda
- Add Releases::Links model - Expose it in release API - Add integration tests
2019-01-04Merge branch 'ab-50763-persist-index' into 'master'Yorick Peterse
Specific CI indexes to avoid statement timeout. Closes #50763 See merge request gitlab-org/gitlab-ce!23188
2019-01-04Make RBAC enabled default for new clustersDylan Griffith
Many changes were also made to tests that expected this to default to false.
2019-01-03Add specific index namesAndreas Brandl
This is useful to distinguish any other indexes on the same columns but with different conditions and/or sorting.
2019-01-03Add specific indexes for CIAndreas Brandl
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.
2019-01-02Fix deprecation: insert_sql is deprecated and will be removedJasper Maes
2018-12-26Add new line and commentsShinya Maeda
2018-12-26Fix the seeder 24_forks.rb cannot find public projectShinya Maeda
2018-12-21Rename `ClusterPlatformConfigureWorker`George Tsiolis
2018-12-20Merge branch 'master' into 'feature/option-to-make-variables-protected'Grzegorz Bizon
Conflicts: db/schema.rb
2018-12-19Merge branch 'depracated-migration-inheritance' into 'master'Robert Speicher
ActiveRecord::Migration -> ActiveRecord::Migration[5.0] for ImportCommonMetricsNginxVts See merge request gitlab-org/gitlab-ce!23910
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-18ActiveRecord::Migration -> ActiveRecord::Migration[5.0]Jasper Maes
2018-12-18Merge branch '54719-enable-hashed-storage-by-default-in-development-mode' ↵Douglas Barbosa Alexandre
into 'master' Resolve "Enable Hashed Storage by default in development mode" Closes #54719 See merge request gitlab-org/gitlab-ce!23889