summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* 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 '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
* Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"Andreas Brandl2019-04-055-84/+0
| | | This reverts merge request !26823
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-055-0/+84
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* Merge branch '57493-add-limit-to-user-name' into 'master'Andreas Brandl2019-04-051-0/+21
|\ | | | | | | | | Add a length limit of 128 char to the user name field See merge request gitlab-org/gitlab-ce!26146
| * Add limit of 128 characters to users name57493-add-limit-to-user-nameBrandon Labuschagne2019-04-051-0/+21
| | | | | | | | | | Truncate existing users names which exceed 128 characters Include test for truncating users names
* | Merge branch '59162-fix-review-apps-initial-seeding' into 'master'Dmitriy Zaporozhets2019-04-054-15/+12
|\ \ | |/ |/| | | | | | | | | Fix race condition in ApplicationSettingImplementation.create_from_defaults Closes #59162 See merge request gitlab-org/gitlab-ce!26319
| * Fix race cond. in ApplicationSettingImplementation.create_from_defaults59162-fix-review-apps-initial-seedingRémy Coutable2019-04-044-15/+12
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Add v2 to reserved top level routesdz-reserve-v2-root-pathDmitriy Zaporozhets2019-04-041-0/+27
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'jarv/dev-to-gitlab-2019-04-02' into 'master'Robert Speicher2019-04-022-0/+13
|\ | | | | | | | | | | | | Jarv/dev to gitlab 2019 04 02 Closes #2810 See merge request gitlab-org/gitlab-ce!26846
| * Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ↵jarv/dev-to-gitlab-2019-04-02John Jarvis2019-04-022-0/+13
| |\ | | | | | | | | | jarv/dev-to-gitlab-2019-04-02
| | * Return cached languages if they've been detected beforeIgor Drozdov2019-03-202-1/+14
| | |
* | | Merge branch 'issue_51789_part_1' into 'master'Sean McGivern2019-04-023-0/+75
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Migrate issuable states to integer patch 1 of 2 Closes #51789 See merge request gitlab-org/gitlab-ce!25107
| * | Merge masterFelipe Artur2019-03-2727-114/+427
| |\ \
| * | | Remove auto vacuum logic, decrease batch size and intervalFelipe Artur2019-03-011-6/+8
| | | |
| * | | Address review commentsFelipe Artur2019-02-191-13/+15
| | | |
| * | | Merge branch 'master' into issue_51789_part_1Felipe Artur2019-02-195-13/+73
| |\ \ \
| * | | | Add more specs and code improvementsFelipe Artur2019-02-191-11/+20
| | | | |
| * | | | Fix broken specsFelipe Artur2019-02-141-0/+2
| | | | |
| * | | | Split background migration for issues and merge requestsFelipe Artur2019-02-143-31/+44
| | | | |
| * | | | Code improvementsFelipe Artur2019-02-131-4/+4
| | | | |
| * | | | Improve batch sizeFelipe Artur2019-02-121-4/+6
| | | | |
| * | | | Schedule background migrations and specsFelipe Artur2019-02-121-2/+8
| | | | |
| * | | | Migrate issuable states to integer patch 1Felipe Artur2019-02-112-1/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch 1 that migrates issues/merge requests states from integer to string. On this commit we are only adding the state_id column and syncing it with a backgroud migration. On Patch 2 the code to use the new integer column will be deployed and the old column will be removed.
* | | | | Add new field to Clusters tableMayra Cabrera2019-04-022-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds boolean field 'managed' to clusters table. This new column will be used to distinguish those clusters that are automatically managed by gitlab. Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/56557
* | | | | Merge branch '54670-external-diffs-when-outdated' into 'master'Sean McGivern2019-03-282-0/+45
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Allow external diffs to be used conditionally Closes #54670 See merge request gitlab-org/gitlab-ce!25432
| * | | | Allow external diffs to be used conditionallyNick Thomas2019-03-272-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since external diffs are likely to be a bit slower than in-database ones, add a mode that makes diffs external after they've been obsoleted by events. This should strike a balance between performance and disk space. A background cron drives the majority of migrations, since diffs become outdated through user actions.
* | | | | Merge branch 'osw-multi-line-suggestions-creation-strategy' into 'master'Andreas Brandl2019-03-272-0/+22
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | Prepares suggestion implementation for multi-line support See merge request gitlab-org/gitlab-ce!26057
| * | | | Prepare suggestion implementation for multi-lineOswaldo Ferreira2019-03-272-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the groundwork needed in order to persist multi-line suggestions, while providing the parsing strategy which will be reused for the **Preview** as well.
| * | | | Add multi-line suggestion migrationsOswaldo Ferreira2019-03-262-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds outdated, lines_above and lines_below columns to suggestions table. outdated - boolean which represents whether the suggestion is outdated or not. For instance, if any line changed after you left the multi-line suggestion, even though the note is not outdated, it helps tracking if the content has changed in the latest file. We cache this information in a column given it's not a cheap operation to do for every suggestion in the request time. lines_below, lines_above - persists the parsed arguments from `suggestion:-10+3` syntax, where `10` would be lines_above and 3 lines_below. We need that to dynamically calculate which lines we should monitor for outdating / persisting the correct content in from_content column.
* | | | | Merge branch 'qa-create-personal-access-token-in-seeds' into 'master'Andreas Brandl2019-03-271-0/+15
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Add seed for personal access token Closes #59500 See merge request gitlab-org/gitlab-ce!26582
| * | | | Add seed for personal access tokenSanad Liaquat2019-03-261-0/+15
| | |_|/ | |/| |
* | | | Add multiple assignees migration and table populationOswaldo Ferreira2019-03-253-1/+56
|/ / / | | | | | | | | | This will be further required for supporting multi-assignees MRs