summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Add wiki size to project statisticsPeter Marko2019-05-293-1/+43
|
* Store Let's Encrypt private key in settingsVladimir Shushlin2019-05-283-1/+52
| | | | | | | | | | | | | | | | 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
* Added filtering jobs by age to jobs/request API endpointDmitry Chepurovskiy2019-05-202-1/+21
|
* Fix typos in the whole gitlab-ce projectYoginth2019-05-201-1/+1
|
* Merge branch 'pl-fix-warning' into 'master'Andreas Brandl2019-05-171-2/+0
|\ | | | | | | | | Remove duplicate definition of DOWNTIME See merge request gitlab-org/gitlab-ce!28294
| * Remove duplicate definition of DOWNTIMEpl-fix-warningPeter Leitzen2019-05-131-2/+0
| | | | | | | | | | | | | | | | This silences the warning: 20190301081611_migrate_project_migrate_sidekiq_queue.rb:8: warning: already initialized constant MigrateProjectMigrateSidekiqQueue::DOWNTIME
* | Add extra checks for ci_id migrationDmitriy Zaporozhets2019-05-171-2/+7
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'ce-2087-make-num-shards-configurable' into 'master'Sean McGivern2019-05-162-1/+13
|\ \ | | | | | | | | | | | | CE backport of "Configure the number of ES shards and replicas" See merge request gitlab-org/gitlab-ce!28329
| * | CE backport of "Configure the number of ES shards and replicas"Nick Thomas2019-05-162-1/+13
| |/
* | Fix. db:migrate is failed on MySQL 8sue4452019-05-161-1/+2
|/ | | | | | | | ``` 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 '\_%\_' ```
* Merge branch 'ce-9688-mr-merge-order' into 'master'Ash McKenzie2019-05-082-0/+36
|\ | | | | | | | | CE backport of merge request blocks - backend MVC See merge request gitlab-org/gitlab-ce!27323
| * Backport of initial merge request blocks supportce-9688-mr-merge-orderNick Thomas2019-05-032-0/+36
| |
* | Added user time settings fields to profileEzekiel Kigbo2019-05-072-0/+27
| | | | | | | | | | | | Udpated user_edit_profile_spec with time preferences Minor update form fields
* | Fix issuables state_id nil when importing projects from GitHubFelipe Artur2019-05-063-1/+98
| | | | | | | | | | | | 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.
* | Implement support for CI variables of type fileKrasimir Angelov2019-05-065-0/+72
| | | | | | | | | | | | | | | | | | 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.
* | Create ActiveRecordModel and table for Merge Train featureShinya Maeda2019-05-062-0/+32
| | | | | | | | | | This database table and AR model is going to be used for the merge train feature.
* | Run rubocop -a on CE filessh-upgrade-rubocop-0.68.0-ceStan Hu2019-05-051-1/+0
|/
* Merge branch '27777-drop-projects-ci_id-column' into 'master'Douglas Barbosa Alexandre2019-05-022-2/+28
|\ | | | | | | | | | | | | Resolve "Drop "projects"."ci_id" column" Closes #27777 See merge request gitlab-org/gitlab-ce!27623
| * Remove unused projects.ci_id column27777-drop-projects-ci_id-columnDmitriy Zaporozhets2019-05-022-2/+28
| | | | | | | | | | | | And remove Gitlab::Ci::Trace#deprecated_path as it relies on ci_id Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add packages_size to ProjectStatisticsAlessio Caiazza2019-05-022-0/+12
| | | | | | | | | | This new field will allow to keep track of the storage used by the packages features, it provides also aggregation at namespace level.
* | Merge branch '9932-fix-deprecated-attribute_changed-ce' into 'master'Andreas Brandl2019-05-021-7/+0
|\ \ | |/ |/| | | | | [CE] Remove deprecated usage of `attribute_changed?` See merge request gitlab-org/gitlab-ce!27577
| * Remove deprecated uses of attribute_changed?9932-fix-deprecated-attribute_changed-ceHeinrich Lee Yu2019-04-301-7/+0
| | | | | | | | Prepares us for upgrade to Rails 5.2
* | Add project level config for merge trainadd-project-level-config-for-merge-train-ceShinya Maeda2019-04-302-0/+18
|/ | | | We add the option and expose the parameter for frontend work
* Add Let's Encrypt application settingsVladimir Shushlin2019-04-273-0/+38
| | | | | Store Let's Encrypt account email in application settings Also add explicit terms of service consent
* Add deployment events to chat notification servicesJason Goodman2019-04-262-1/+19
| | | | | This enables sending a chat message to Slack or Mattermost upon a successful, failed, or canceled deployment
* Add ProjectMetricsDashboardSetting model and tableReuben Pereira2019-04-262-1/+20
| | | | | | This new table will be used to store the external_dashboard_url which allows users to add a link to their external dashboards (ex Grafana) to the Metrics dashboard.
* Merge branch ↵Michael Kozono2019-04-231-19/+1
|\ | | | | | | | | | | | | 'ce-11199-add-a-rake-task-to-seed-insights-data-for-a-given-project' into 'master' Provide a new gitlab:seed:issues task See merge request gitlab-org/gitlab-ce!27454
| * Provide a new gitlab:seed:issues taskce-11199-add-a-rake-task-to-seed-insights-data-for-a-given-projectRémy Coutable2019-04-231-19/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch 'upgrade-to-rails-5-1' into 'master'Rémy Coutable2019-04-232-146/+146
|\ \ | | | | | | | | | | | | Upgrade Rails to 5.1 See merge request gitlab-org/gitlab-ce!27480
| * | Upgrade Rails to 5.1.6.1Jasper Maes2019-04-232-146/+146
| |/ | | | | | | Model.new.attributes now also returns encrypted attributes.
* | Merge branch 'pages-domain-letsencrypt-settings' into 'master'Andreas Brandl2019-04-232-0/+18
|\ \ | |/ |/| | | | | Add auto_ssl_enabled to pages domains See merge request gitlab-org/gitlab-ce!27304
| * Add auto_ssl_enabled for pages domainspages-domain-letsencrypt-settingsVladimir Shushlin2019-04-122-0/+18
| |
* | Merge branch '60383-change-common-metrics-schema' into 'master'Douwe Maan2019-04-191-13/+13
|\ \ | | | | | | | | | | | | | | | | | | Change the schema of common_metrics.yml Closes #60383 See merge request gitlab-org/gitlab-ce!27283
| * | Change the schema of the common_metrics.ymlrpereira22019-04-171-13/+13
| |/ | | | | | | | | - Change it to the new dashboard syntax described here: https://gitlab.com/gitlab-org/gitlab-ce/issues/60383.
* | Bump version of knative from 0.3 -> 0.5Chris Baumbauer2019-04-172-1/+21
|/
* Merge branch 'restore-hipchat' into 'master'Nick Thomas2019-04-111-16/+0
|\ | | | | | | | | | | | | Revert "Remove HipChat integration from GitLab" Closes #60042 See merge request gitlab-org/gitlab-ce!27172
| * Restore index on services.typeSean McGivern2019-04-112-0/+21
| |
| * Revert "Remove HipChat integration from GitLab"Sean McGivern2019-04-103-37/+0
| | | | | | | | This reverts commit a5378665a1dc0b9c8dc3a4fa279a0eb78aac5aac.
* | Fix ApplicationSetting development seed60278-fix-development-seedRémy Coutable2019-04-101-1/+1
|/ | | | | | | | | | It could happen that there's a cached (in Redis) ApplicationSetting record, and calling `Gitlab::CurrentSettings.current_application_settings` only returns it instead of creating a new DB record, which makes the `ApplicationSetting.current_without_cache.update!` call fail. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Mark unverified pages domains for removalVladimir Shushlin2019-04-093-0/+31
| | | | | | | Set pages_domain.remove_at when disabling it Add specs for marking pages domain for removal Notify user that domain is being removed Add documentation
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-095-0/+84
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* Merge branch 'osw-multi-assignees-merge-requests' into 'master'Nick Thomas2019-04-091-1/+1
|\ | | | | | | | | [Backport] Support multiple assignees for merge requests See merge request gitlab-org/gitlab-ce!27089
| * [CE] Support multiple assignees for merge requestsosw-multi-assignees-merge-requestsOswaldo Ferreira2019-04-081-1/+1
| | | | | | | | | | Backports https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10161 (code out of ee/ folder).
* | Fix backport of project_creation_level migrationKamil Trzciński2019-04-092-22/+17
| |
* | Fix the backported migrationMichael Kozono2019-04-081-2/+6
|/ | | | | For those who upgraded to a version that included the previous backport implementation with migration 20190311132500.
* Backport `add_default_project_creation_setting` to CEbackport-add-default-project-creation-settingKamil Trzciński2019-04-082-22/+15
|
* Merge branch '58612-clean-up-notes-data' into 'master'Stan Hu2019-04-061-0/+33
|\ | | | | | | | | | | | | Clean up `noteable_id` for notes on commits Closes #58612 See merge request gitlab-org/gitlab-ce!26104
| * Clean up `noteable_id` for notes on commits58612-clean-up-notes-dataHeinrich Lee Yu2019-04-061-0/+33
| | | | | | | | | | | | | | 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`
* | Add Knative metrics to PrometheusChris Baumbauer2019-04-062-1/+18
|/
* Add part of needed codeGosia Ksionek2019-04-053-0/+46
| | | | | | | | | | | | | | | | | Add columns to store project creation settings Add project creation level column in groups and default project creation column in application settings Remove obsolete line from schema Update migration with project_creation_level column existence check Rename migrations to avoid conflicts Update migration methods Update migration method