summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | | Run rubocop -aNick Thomas2019-03-131-5/+4
| | |
* | | Enable/disable Auto DevOps at Group levelMayra Cabrera2019-03-122-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Includes instance methods on Group model to detect when a group has AutoDevOps explicitly/implicitly enabled/disabled. - Includes migration to add a new column to namespaces table - Add UI necessary modifications - Add service and controller to update auto devops related instances - Updates project and groups auto devops badges Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52447
* | | Add labels to seeded issues and merge requestsRémy Coutable2019-03-126-106/+60
| | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Add support for ingress hostnamesingress-hostnameswalkafwalka2019-03-072-1/+13
| | |
* | | Revert "Merge branch '54924-clean-up-data' into 'master'"Robert Speicher2019-03-061-33/+0
| | | | | | | | | | | | | | | This reverts commit c9ecc71ab91b0b55f9aba632f9e7b305191a458c, reversing changes made to c3c8dbf8fa4090bb090071d320a31857eb709d3d.
* | | Use encrypted runner tokensKamil Trzciński2019-03-063-0/+46
| | | | | | | | | | | | | | | | | | This makes code to support encrypted runner tokens. This code also finished previously started encryption process.
* | | Migrate sidekiq queue to the new :hashed_storage namespaceGabriel Mazetto2019-03-012-1/+18
| | | | | | | | | | | | | | | `project_migrate_hashed_storage` is now `hashed_storage:hashed_storage_project_migrate`
* | | Clean up `noteable_id` for notes on commitsHeinrich Lee Yu2019-03-012-1/+34
| | | | | | | | | | | | | | | This was incorrectly set by a bug in: https://gitlab.com/gitlab-org/gitlab-ce/issues/54924
* | | Merge branch '56863-system-messages-in-email' into 'master'Douglas Barbosa Alexandre2019-02-282-0/+18
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Show header and footer system messages in email Closes #56863 See merge request gitlab-org/gitlab-ce!25474
| * | | Show header and footer system messages in emailAlexandru Croitor2019-02-272-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add email_header_and_footer_enabled flag to appearances table * Set email_header_and_footer_enabled default value to false * Add checkbox to appearance to toggle show header and footer in emails * Add email_header_and_footer_enabled to allowed params in controller * Add header and footer messages to the html and text email layouts * Remove the color styling for emails header and footer * Add empty_mailer layout for emails without layout, to have the header and footer applied
* | | | Add project level config for merge pipelinesShinya Maeda2019-02-282-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add schema Add CE counter part Add default value for Add changelog Fix schema Add test Fix schema Fix schema version Remove default value for
* | | | add trigram database index on tagsAlexis Reigel2019-02-272-0/+19
|/ / /
* | | Merge branch ↵Kamil Trzciński2019-02-273-0/+44
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | '10014-ee-spec-models-ci-build_spec-rb-ee-spec-requests-api-runner_spec-rb-and-ee-spec-services-ci-process_pipeline_service_spec-rb-are-all-failing-ce' into 'master' Revert "Merge branch 'revert-8baf9e5f' into 'master'" See merge request gitlab-org/gitlab-ce!25584
| * | | Revert "Merge branch 'revert-8baf9e5f' into 'master'"Matija Čupić2019-02-273-0/+44
| | | | | | | | | | | | | | | | | | | | This reverts commit f5201a816f2eff9393e16f362403451e5d86ee6c, reversing changes made to 48e6db0dad6f256e8423e0bd6c9b254803f50ccf.
* | | | Merge branch '42086-project-fetch-statistics-api-http-only' into 'master'57125-heatmap-chart-typeNick Thomas2019-02-272-0/+26
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Resolve "Project fetch statistics API (HTTP only)" Closes #42086 See merge request gitlab-org/gitlab-ce!23596
| * | | Add project http fetch statistics APIJacopo2019-02-272-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | The API get projects/:id/traffic/fetches allows user with write access to the repository to get the number of clones for the last 30 days.
* | | | Persist source sha and target sha for merge pipelinesShinya Maeda2019-02-272-1/+15
| | | | | | | | | | | | | | | | source_sha and target_sha are used for merge request pipelines
* | | | Revert "Merge branch '13784-simple-masking-of-protected-variables-in-logs' ↵Kamil Trzciński2019-02-263-45/+1
| | | | | | | | | | | | | | | | | | | | | | | | into 'master'" This reverts merge request !25293
* | | | Add Maskable concern for CI variablesMatija Čupić2019-02-263-1/+45
| | | | | | | | | | | | | | | | | | | | This adds a concern that abstracts the concept of masking a variable, including the RegEx for validation.
* | | | Port EE System Header And Footer feature to CEDouwe Maan2019-02-212-0/+24
|/ / / | | | | | | | | | | | | | | | | | | | | | remove EE specific code remove EE licence checks move migration from EE to CE folder structure move specs from EE to CE folder structure remove EE specific flag specs
* | | Remove undigested token column from personal_access_tokens tableImre Farkas2019-02-203-2/+28
| |/ |/| | | | | | | Token column are no longer used as token values are stored digested in token_digest.
* | Merge branch 'move_chatops_to_core_migration' into 'master'Robert Speicher2019-02-152-0/+36
|\ \ | | | | | | | | | | | | Move ChatOps migrations to Core See merge request gitlab-org/gitlab-ce!24986
| * | Move ChatOps migrations to Coremove_chatops_to_core_migrationJames Fargher2019-02-082-0/+36
| | |
* | | Remove further instances of st_diffsNick Thomas2019-02-141-13/+0
| | |
* | | Merge branch '52424-goodbye-hipchat' into 'master'Douglas Barbosa Alexandre2019-02-113-0/+37
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Remove HipChat integration from GitLab Closes #52424 See merge request gitlab-org/gitlab-ce!22223
| * | Remove HipChat integration from GitLabNick Thomas2019-02-083-0/+37
| | |
* | | Directly inheriting from ActiveRecord::Migration is deprecatedJasper Maes2019-02-092-2/+2
|/ /
* | Merge branch 'master' into ↵Sean McGivern2019-02-074-2/+63
|\ \ | | | | | | | | | fabsrc/gitlab-ce-2105-add-setting-for-first-day-of-the-week
| * \ Merge branch '52363-ui-changes-to-cluster-and-ado-pages' into 'master'Grzegorz Bizon2019-02-072-1/+50
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Moves domain setting to Clusters page Closes #52363 See merge request gitlab-org/gitlab-ce!24580