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-06-13Add index on public_emails for users tableyguo
Clean up issue-62684 Update issue-62684 changelog Update down migrate for issue-62684
2019-06-12Backport of gitlab-ee!13735Rubén Dávila
2019-06-12Merge branch 'jc-migration-for-source-project-id' into 'master'Andreas Brandl
Fix null source_project_id in pool_repositories Closes gitaly#1653 See merge request gitlab-org/gitlab-ce!29157
2019-06-11Fix null source_project_id in pool_repositoriesJohn Cai
Due to a bug, some pool_repositories in production have a null source_project_id column. This migration aims to fix those rows.
2019-06-11Add db migrationMałgorzata Ksionek
2019-06-11Persist target project id and target branch in merge trains tableShinya Maeda
In order to optimize the query performance, we should use target project id and target branch intead of cross-joining merge_requests table. Fix schema Fix schema
2019-06-10Avoid DB timeouts when scheduling migrationsOswaldo Ferreira
2019-06-09Revert "Merge branch '50070-legacy-attachments' into 'master'"Stan Hu
This reverts commit fd19f887dfeeeedb483c4a4fb32f9f768e89389c, reversing changes made to abb2d4c601d796339c8d7cb0c00946696730f198.
2019-06-07Merge branch '62418-project-default-git-depth' into 'master'Kamil Trzciński
Add project level git depth setting Closes #59688 See merge request gitlab-org/gitlab-ce!28919
2019-06-07Merge branch '50070-legacy-attachments' into 'master'Kamil Trzciński
Migrate legacy uploads Closes #57217 See merge request gitlab-org/gitlab-ce!24679
2019-06-06Add certificate valid time to pages domain tableVladimir Shushlin
Save certificate validity time for pages domains on save Fill validity time for existing pages domains in background migration
2019-06-06Add pages domains acme ordersVladimir Shushlin
Extract acme double to helper Create ACME challanges for pages domains * Create order & challange through API * save them to database * request challenge validation We're saving order and challenge as one entity, that wouldn't be correct if we would order certificates for several domains simultaneously, but we always order certificate per domain Add controller for processing acme challenges redirected from pages Don't save acme challenge url - we don't use it Validate acme challenge attributes Encrypt private_key in acme orders
2019-06-06Revert "Merge branch 'pages-domain_ssl-valid-period' into 'master'"Nick Thomas
This reverts merge request !28743
2019-06-06Migrate legacy uploads to the project locationJarka Košanová
Uploads coming from AttachmentUploader need to be moved to the currently supported location (FileUploader)
2019-06-06Add certificate valid time to pages domain tableVladimir Shushlin
Save certificate validity time for pages domains on save Fill validity time for existing pages domains in background migration
2019-06-06Add project level git depth settingKrasimir Angelov
Introduce default_git_depth in project's CI/CD settings and set it to 50. Use it if there is no GIT_DEPTH variable specified. Apply this default only to newly created projects and keep it nil for old ones in order to not break pipelines that rely on non-shallow clones. default_git_depth can be updated from CI/CD Settings in the UI, must be either nil or integer between 0 and 1000 (incl). Inherit default_git_depth from the origin project when forking projects. MR pipelines are run on a MR ref (refs/merge-requests/:iid/merge) and it contains unique commit (i.e. merge commit) which doesn't exist in the other branch/tags refs. We need to add it cause otherwise it may break pipelines for old projects that have already enabled Pipelines for merge results and have git depth 0. Document new default_git_depth project CI/CD setting
2019-06-03Merge dev.gitlab.org master into GitLab.com masterYorick Peterse
2019-06-02Fix migration failure when groups are missing routeStan Hu
When a Group is missing a route, the migration failed previously with a `Invalid single-table inheritance type` error. To fix this, we can disable STI for the migration class because we don't need to know about the type to do this migration. Besides, currently Group is the only type used in the type column. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58714
2019-05-31Merge branch 'osw-reset-merge-status-from-mergeable-mrs' into 'master'Douglas Barbosa Alexandre
Reset merge status from mergeable MRs See merge request gitlab-org/gitlab-ce!28843
2019-05-31Reset merge status from mergeable MRsOswaldo Ferreira
Adds migrations to reset the merge_status of opened, mergeable MRs. That's required by https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28513 so we're able to sync the status update along merge-ref, without leaving MRs with a stale merge-ref.
2019-05-31Merge branch '56959-drop-project_auto_devops_domain' into 'master'Robert Speicher
Removes project_auto_devops#domain column Closes #56959 See merge request gitlab-org/gitlab-ce!28574
2019-05-31Add notification_email to NotificationSettingWei-Meng Lee
2019-05-31Change query to work on mysql as well. Also set entire date because setting ↵Luke Picciau
only the year can trip 'start_date_should_be_less_than_due_date'
2019-05-31Remove nils from project_statistics.packages_sizeAlessio Caiazza
Now it defaults to 0
2019-05-31Generate lets_encrypt_private_key on the flyVladimir Shushlin
Remove migration generating lets encrypt key Don't generate private_key if database is readonly For reference: This reverts commit 988a7f70489b99383b95e9f271a2caf6bb5b3a44. This reverts commit 21acbe531592d55caf0e5b8716a3b551dafd6233.
2019-05-31Postmigrate to drop domain columnThong Kuah
Now that the column is ignored, we can safely drop the column
2019-05-30Add DNS rebinding protection settingsOswaldo Ferreira
2019-05-29Add wiki size to project statisticsPeter Marko
2019-05-28Store Let's Encrypt private key in settingsVladimir Shushlin
Storing this key in secrets.yml was a bad idea, it would require users using HA setups to manually replicate secrets across nodes during update, it also needed support from omnibus package * Revert "Generate Let's Encrypt private key" This reverts commit 444959bfa0b79e827a2a1a7a314acac19390f976. * Add Let's Encrypt private key to settings as encrypted attribute * Generate Let's Encrypt private key in database migration
2019-05-20Added filtering jobs by age to jobs/request API endpointDmitry Chepurovskiy
2019-05-20Fix typos in the whole gitlab-ce projectYoginth
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-16Merge branch 'ce-2087-make-num-shards-configurable' into 'master'Sean McGivern
CE backport of "Configure the number of ES shards and replicas" See merge request gitlab-org/gitlab-ce!28329
2019-05-16CE backport of "Configure the number of ES shards and replicas"Nick Thomas
2019-05-16Fix. db:migrate is failed on MySQL 8sue445
``` StandardError: An error has occurred, all later migrations canceled: Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'system = true AND note LIKE '\_%\_'' at line 1: UPDATE notes SET note = trim(both '_' from note) WHERE system = true AND note LIKE '\_%\_' ```
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-08Merge branch 'ce-9688-mr-merge-order' into 'master'Ash McKenzie
CE backport of merge request blocks - backend MVC See merge request gitlab-org/gitlab-ce!27323
2019-05-08Added user time settings fields to profileEzekiel Kigbo
Udpated user_edit_profile_spec with time preferences Minor update form fields
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-06Implement support for CI variables of type fileKrasimir Angelov
Add env_var and file as supported types for CI variables. Variables of type file expose to users existing gitlab-runner behaviour - save variable value into a temp file and set the path to this file in an ENV var named after the variable key. Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/46806.
2019-05-06Create ActiveRecordModel and table for Merge Train featureShinya Maeda
This database table and AR model is going to be used for the merge train feature.
2019-05-05Run rubocop -a on CE filesStan Hu
2019-05-04Backport of initial merge request blocks supportNick Thomas
2019-05-02Merge branch '27777-drop-projects-ci_id-column' into 'master'Douglas Barbosa Alexandre
Resolve "Drop "projects"."ci_id" column" Closes #27777 See merge request gitlab-org/gitlab-ce!27623
2019-05-02Add packages_size to ProjectStatisticsAlessio Caiazza
This new field will allow to keep track of the storage used by the packages features, it provides also aggregation at namespace level.
2019-05-02Merge branch '9932-fix-deprecated-attribute_changed-ce' into 'master'Andreas Brandl
[CE] Remove deprecated usage of `attribute_changed?` See merge request gitlab-org/gitlab-ce!27577
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-30Add project level config for merge trainShinya Maeda
We add the option and expose the parameter for frontend work
2019-04-30Remove deprecated uses of attribute_changed?Heinrich Lee Yu
Prepares us for upgrade to Rails 5.2