summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-012-0/+24
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-012-0/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-302-2/+26
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-272-1/+20
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-272-1/+12
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-262-0/+29
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-263-9/+5
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-261-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-263-1/+40
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-252-0/+17
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-255-0/+40
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-252-0/+22
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-251-0/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-241-0/+29
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-233-1/+37
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-191-17/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-191-0/+79
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-181-46/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-183-0/+68
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-1816-17/+71
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-172-2/+25
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-173-0/+42
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-171-0/+46
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-173-24/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-163-1/+59
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-164-2/+128
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-162-0/+21
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-134-2/+8
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-135-120/+214
|
* Create self-monitoring project in background migrationReuben Pereira2019-09-121-1/+3
| | | | | - A regular migration caused problems such as https://gitlab.com/charts/gitlab/issues/1565.
* Fix member expiration not always workingsh-add-index-members-expiresStan Hu2019-09-112-1/+19
| | | | | | | | | The Sidekiq job `RemoveExpiredMembersWorker` was failing to run in production because it was hitting statement timeouts because it was scanning all rows in order. On staging, where it used to scan 4 million rows, adding an index brought this down to only a few hundred rows. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/67286
* Merge branch 'static-objects-external-storage' into 'master'Thong Kuah2019-09-114-0/+57
|\ | | | | | | | | Enable serving static objects from an external storage See merge request gitlab-org/gitlab-ce!31025
| * Enable serving static objects from an external storagestatic-objects-external-storageAhmad Sherif2019-09-104-0/+57
| | | | | | | | | | | | | | | | | | | | It consists of two parts: 1. Redirecting users to the configured external storage 1. Allowing the external storage to request the static object(s) on behalf of the user by means of specific tokens Part of https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/6829
* | Change discussion_ids on promoted epics notesAlexandru Croitor2019-09-111-0/+62
| | | | | | | | | | | | Notes on epics promoted from an issue used to get same discussion_id as the notes from the issue the epic was promoted from, which would cause problems when trying to reply to the epic discussion.
* | Merge branch 'sh-fix-oauth-application-page' into 'master'Rémy Coutable2019-09-112-1/+19
|\ \ | | | | | | | | | | | | | | | | | | Optimize /admin/applications so that it does not timeout Closes #67228 See merge request gitlab-org/gitlab-ce!32852
| * | Optimize /admin/applications so that it does not timeoutsh-fix-oauth-application-pageStan Hu2019-09-092-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On our dev instance, /admin/applications as not loading because: 1. There was an unindexed query by `application_id`. 2. There was an expensive query that attempted to load 1 million unique entries via ActiveRecord just to find the unique count. We fix the first issue by adding an index for that column. We fix the second issue with a simple SELECT COUNT(DISTINCT resource_owner_id) SQL query. In addition, we add pagination to avoid loading more than 20 applications at once. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/67228
* | | Add index on group_id column concurrentlyJan Provaznik2019-09-102-3/+13
|/ / | | | | | | | | This fixes previously added migration which caused timeouts on big events table.
* | Merge branch 'make-epics-position-migration-robust' into 'master'Andreas Brandl2019-09-091-3/+18
|\ \ | | | | | | | | | | | | | | | | | | Make epic_issues relative_position migration more robust Closes #66923 See merge request gitlab-org/gitlab-ce!32646
| * | Make epic_issues relative_position migration more robustmake-epics-position-migration-robustSean McGivern2019-09-041-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If someone installed EE, then downgraded to CE before this column was added, upgrading to the latest version of CE will fail: 1. We have a backport migration for the entire EE schema but the table `epic_issues` exists, just not the `relative_position` column. 2. The migration that changes the default (quite reasonably) didn't check if the column exists. If the column doesn't exist, we can just create it with the correct default.
* | | Merge branch 'ce-detect-github-pull-requests' into 'master'Kamil Trzciński2019-09-065-0/+93
|\ \ \ | |_|/ |/| | | | | | | | Port CreateGithubPullRequestEvents migration from EE See merge request gitlab-org/gitlab-ce!31802
| * | CE port for pipelines for external pull requestsce-detect-github-pull-requestsFabio Pitino2019-09-055-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Detect if pipeline runs for a GitHub pull request When using a mirror for CI/CD only we register a pull_request webhook. When a pull_request webhook is received, if the source branch SHA matches the actual head of the branch in the repository we create immediately a new pipeline for the external pull request. Otherwise we store the pull request info for when the push webhook is received. When using "only/except: external_pull_requests" we can detect if the pipeline has a open pull request on GitHub and create or not the job based on that.
* | | New interruptible attribute supported in YAML parsing.Cédric Tabin2019-09-053-1/+31
| | | | | | | | | | | | | | | | | | | | | Since it is not possible to dynamically detect if a job is automatically cancellable or not, a this new attribute is necessary. Moreover, it let the maintainer of the repo to adjust the behaviour of the auto cancellation feature to match exactly what he needs.
* | | Add structure to support EE feature of COARKerri Miller2019-09-052-0/+33
|/ / | | | | | | | | | | | | These are the structural changes for supporting the EE feature of moving "code_owner_approval_required" state from existing on a project to being on the protected branches individually, allowing for CODEOWNER validation on push events.
* | Merge branch 'ab/unconfirmed-email-index' into 'master'Andreas Brandl2019-09-052-1/+19
|\ \ | | | | | | | | | | | | Create index for users.unconfirmed_email See merge request gitlab-org/gitlab-ce!32664
| * | Create index for users.unconfirmed_emailab/unconfirmed-email-indexAndreas Brandl2019-09-042-1/+19
| |/ | | | | | | | | | | | | | | | | | | | | | | | | This speeds up the following query: ```sql SELECT users.* FROM users WHERE users.unconfirmed_email = ? ORDER BY users.id ASC LIMIT 1 ``` Presumably, this is a query coming from Devise. Context is https://gitlab.com/gitlab-org/gitlab-ce/issues/66958.
* | Create partial index for gitlab-monitor CI metricsab-add-index-for-ci-builds-metricsAndreas Brandl2019-09-042-0/+20
|/ | | | | | | | | | This creates a partial index intended to speed up queries on `ci_builds`. Particularly, `gitlab-monitor` has rather heavy queries. Those have been changed to only look back 7 days and benefit from this index tremendously. Relates to https://gitlab.com/gitlab-org/gitlab-exporter/merge_requests/101.
* Create an event on epic actionsJan Provaznik2019-09-032-0/+12
| | | | | Creates new event when an epic is created, closed, reopened or commented.
* Merge branch 'ab-remove-support-bot-column' into 'master'Yorick Peterse2019-09-032-1/+20
|\ | | | | | | | | Remove Users.support_bot column See merge request gitlab-org/gitlab-ce!32554
| * Remove Users.support_bot columnab-remove-support-bot-columnAndreas Brandl2019-09-022-1/+20
| | | | | | | | | | | | | | This column is not present in `db/schema.rb` and hence needs to be removed conditionally. See https://gitlab.com/gitlab-org/gitlab-ce/issues/66901 for background
* | Fix cycle analytics seed scriptAdam Hegyi2019-09-031-2/+4
| |