summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Add instance_statistics_visibility_private application setting and top nav iconLuke Bennett2018-07-271-0/+20
|
* Revert "Merge branch '41416-making-instance-wide-data-tools-more-accessible' ↵Sean McGivern2018-07-272-19/+0
| | | | | into 'master'" This reverts merge request !20679
* schema.db updateLuke Bennett2018-07-261-0/+1
|
* Add instance_statistics_visibility_private application setting and top nav iconLuke Bennett2018-07-261-0/+18
|
* Merge branch ↵Douglas Barbosa Alexandre2018-07-253-0/+48
|\ | | | | | | | | | | | | 'ce-6064-geo-sql-query-for-counting-projects-with-wikis-is-very-slow' into 'master' [CE Backport] Geo: Cache projects_count and wikis_count in SiteStatistic See merge request gitlab-org/gitlab-ce!20413
| * Added SiteStatistics as counter cache for Projects and WikisGabriel Mazetto2018-07-243-0/+48
| |
* | Enable rubocop for db/**/* and ee/db/**/*49582-enable-cops-for-dbLin Jen-Shin2018-07-25166-155/+51
|/
* Add an option to have a private profile on GitLabJX Terry2018-07-242-1/+12
|
* Remove direct disk access in RemoveDotGitFromUsernamesZeger-Jan van de Weg2018-07-191-9/+3
| | | | | | | | | | Prior to this change, the migration touched the disk path. This has been removed. Further, I believe it also fixes a bug. It seems that GitLab Shell checks if the root path exists, when the path is duplicated. For example, if the shard is located at /home/git, it did check if `/home/git/home/git` existed.
* MigrateProcessCommitWorkerJobs to use GitalyZeger-Jan van de Weg2018-07-191-27/+27
| | | | | | | | This old migration used Rugged to find a commit, while Gitaly is the prefered way now. By migrating this to Gitaly, Gitaly is now a required running component for this migration. Part of https://gitlab.com/gitlab-org/gitaly/issues/1106
* Improve projects indexes4525-fix-project-indexesValery Sizov2018-07-162-0/+24
|
* We want letters and numbersselect-letters-and-numbersLin Jen-Shin2018-07-121-1/+1
|
* Revert "Merge branch 'ee-5481-epic-todos' into 'master'"Jarka Kadlecová2018-07-112-36/+1
| | | | | This reverts commit 4d9a3f42f1fd3be21555e19872b7121cca65015e, reversing changes made to ecf9c145f6e4d170cd059df88743393d9e63c489.
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-113-3/+3
|
* Merge branch 'make-sure-env-name-not-ending-in-slash' into 'master'Nick Thomas2018-07-111-2/+2
|\ | | | | | | | | Avoid building potential invalid environment name while seeding See merge request gitlab-org/gitlab-ce!20523
| * Make sure we're matching the same way.Lin Jen-Shin2018-07-101-2/+2
| | | | | | | | | | | | Ruby's regular expression is unicode aware, therefore 'å' also matches against /\p{alnum}/. If we want only ASCII-7bit, use [a-zA-Z0-9]+ so they always match the same thing
* | Merge branch 'add-back-mr-diff-deletion-migration' into 'master'Yorick Peterse2018-07-111-0/+26
|\ \ | | | | | | | | | | | | Add back MR diff deletion migration See merge request gitlab-org/gitlab-ce!20331
| * | Use schedulers and delete diff files upon deadtuples checkOswaldo Ferreira2018-07-101-2/+2
| | |
| * | Reschedule DeleteDiffFiles until there is none left to removeOswaldo Ferreira2018-07-101-1/+11
| | |
| * | Wait postgresql vacuum of deadtuples on merge_request_diff_files deletionOswaldo Ferreira2018-07-101-12/+3
| | |
| * | Add 1000 files per minute deletion ratio on schedulerOswaldo Ferreira2018-07-101-35/+3
| | |
| * | Create a diff deletion worker scheduler to avoid long-running post-migrationOswaldo Ferreira2018-07-101-18/+4
| | |
| * | Schedule batches in bulks of 5 diffsOswaldo Ferreira2018-07-101-9/+10
| | | | | | | | | | | | Issuing 6M writings in a N+1 manner in Redis takes time, 3 hours to be precise. This commit makes it schedule 5 jobs at a time, what should make it schedule every job in approximately 40 minutes
| * | Revert "Temporarily remove MR diffs removal migration"Sean McGivern2018-07-101-0/+70
| |/ | | | | | | This reverts commit 15ec6a13eb4d839d252315bf5b0a50d28351cb5f.
* | Resolve "Disable GCP free credit banner at instance level"Dennis Tang2018-07-102-1/+20
|/
* Add missing foreign key in import_export_uploadsStan Hu2018-07-061-0/+1
|
* Update Import/Export to use object storage (based on aa feature flag)James Lopez2018-07-062-0/+26
|
* Merge branch 'jprovazn-label-links-update' into 'master'Sean McGivern2018-07-062-1/+31
|\ | | | | | | | | | | | | Fix cross-project label references Closes #45539 See merge request gitlab-org/gitlab-ce!20308
| * Migration which fixes cross-project label referencesJan Provaznik2018-07-032-1/+31
| |
* | Web Terminal Ci BuildFrancisco Javier López2018-07-052-0/+31
| |
* | Merge branch 'ee-5481-epic-todos' into 'master'Sean McGivern2018-07-042-1/+36
|\ \ | | | | | | | | | | | | Port of Todos for epics See merge request gitlab-org/gitlab-ce!19908
| * | [backend] Addressed review commentsJan Provaznik2018-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | * Group filtering now includes also issues/MRs from subgroups/subprojects * fixed due_date * Also DRYed todo controller specs
| * | Support todos for epics backportJarka Kadlecová2018-07-032-1/+36
| | |
* | | Merge branch 'master' into 'web-hooks-log-pagination'Douwe Maan2018-07-034-97/+22
|\ \ \ | | |/ | |/| | | | # Conflicts: # db/schema.rb
| * | Merge branch 'dz-dry-nested-group-fixtures' into 'master'Dmitriy Zaporozhets2018-07-031-26/+2
| |\ \ | | | | | | | | | | | | | | | | DRY group creation code in nested groups fixtures See merge request gitlab-org/gitlab-ce!20314
| | * | DRY group creation code in nested groups fixturesDmitriy Zaporozhets2018-07-021-26/+2
| | |/ | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Merge branch 'temporarily-remove-mr-diffs-migration' into 'master'Alessio Caiazza2018-07-031-70/+0
| |\ \ | | | | | | | | | | | | | | | | Temporarily remove MR diffs removal migration See merge request gitlab-org/gitlab-ce!20330
| | * | Temporarily remove MR diffs removal migrationSean McGivern2018-07-031-70/+0
| | |/ | | | | | | | | | We will re-add this with a more efficient bulk scheduling method.
| * | Backport partial index to find repositories that have not been checkedStan Hu2018-07-022-1/+20
| |/ | | | | | | This was introduced in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5984.
* | Fixed pagination of web hook logsYorick Peterse2018-07-032-1/+30
|/ | | | | | | | | | | | | | | | | | | | For reasons unknown, the logs of a web hook were paginated in memory. This would result in the "Edit" page of a web hook timing out once it has more than a few thousand log entries. This commit makes the following changes: 1. We use LIMIT/OFFSET to paginate the data, instead of doing this in memory. 2. We limit the logs to the last two days, just like the documentation says (instead of retrieving everything). 3. We change the indexes on "web_hook_logs" so the query to get the data can perform a backwards index scan, without the need for a Filter. These changes combined ensure that Projects::HooksController#edit no longer times out.
* Add pipeline stages position clean-up migrationGrzegorz Bizon2018-06-291-0/+43
|
* Schedule workers to delete non-latest diffs in post-migrationOswaldo Ferreira2018-06-281-0/+70
|
* Add index on deployable_type/id for deploymentsKamil Trzciński2018-06-262-1/+20
|
* Mysql fixes for Rails 5jprovazn-rails5-mysql-datetimeJan Provaznik2018-06-211-1/+1
| | | | | | | | | | * `MysqlDateTimeWithTimeZone` inherits from `ActiveRecord::Type::DateTime` (`MysqlDateTime` is not present in Rails 5) * explicitly set `NULL` default value for `merge_request_diff_files`'s `diff` column (otherwise empty string is used in a migration) and empty string is not allowed for text/blob fields in Mysql * disable NO_ZERO_DATE mode for all Mysql DB connections, otherwise SQL queries fail on inserting `0` value for `created_at` column
* Deny repository disk access in development and testJacob Vosmaer (GitLab)2018-06-142-2/+6
|
* Revert rename allow collaboration columnMark Chao2018-06-085-6/+51
|
* Merge remote-tracking branch 'origin/master' into ↵Kamil Trzciński2018-06-074-0/+19
|\ | | | | | | 38542-application-control-panel-in-settings-page
| * Merge branch ↵Rémy Coutable2018-06-072-0/+11
| |\ | | | | | | | | | | | | | | | | | | | | | | | | '46241-enable-hashed-storage-for-new-projects-by-default-in-development' into 'master' Resolve "Enable hashed storage for new projects by default in development" Closes #46241 See merge request gitlab-org/gitlab-ce!19488
| | * Enable hashed storage for new projects by default in developmentValery Sizov2018-06-072-0/+11
| | |
| * | Merge branch 'feature/customizable-favicon' into 'master'Douwe Maan2018-06-072-0/+8
| |\ \ | | |/ | |/| | | | | | | | | | | | | Customizable favicon Closes #15661 See merge request gitlab-org/gitlab-ce!14497