summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | * | Addresses backend/db review commentsMayra Cabrera2019-02-042-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixes multiple typos on AutoDevops script - Add an alias to Clusters::Cluster#domain as base_domain, so it's more descriptive - Removes unnecessary memoization on qa specs - Changes migration to a post migration to deal better with traffic on big instances (like gitlab.com)
| | * | Use a single sql statement for ADO queryMayra Cabrera2019-02-041-53/+24
| | | | | | | | | | | | | | | | | | | | | | | | Since cluster_projects table does not have a lot of records, currently it has 11,638, it seems better to use a single sql statement to update all the records
| | * | Moves domain setting to Cluster settingMayra Cabrera2019-02-041-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes domain field to be on the Cluster page show, removing it from Auto DevOps setting. Also injects the new environment variable KUBE_INGRESS_BASE_DOMAIN into kubernetes#predefined_variables. Migration to move the information from ProjectAutoDevops#domain to Clusters::Cluster#domain. As well as necessary modifications to qa selectors Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52363
| * | | Merge branch 'local-markdown-version' into 'master'Douglas Barbosa Alexandre2019-02-072-0/+12
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | Add local markdown version Closes #32789 See merge request gitlab-org/gitlab-ce!24822
| | * | Add local markdown versionlocal-markdown-versionJan Provaznik2019-02-062-0/+12
| | |/ | | | | | | | | | | | | | | | Cached markdown version is composed both from global and local markdown version. This allows admins to bump version locally when needed (e.g. when external URL is changed).
| * | Merge branch 'sh-log-project-name-with-gitaly' into 'master'Rémy Coutable2019-02-061-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Send project name with Gitaly repository requests Closes gitaly#1394 See merge request gitlab-org/gitlab-ce!23373
| | * | Send project name with Gitaly repository requestsStan Hu2019-02-051-1/+1
| | |/ | | | | | | | | | | | | | | | | | | When hashed storage is in use, it's helpful to have the project name associated with the request. Closes https://gitlab.com/gitlab-org/gitaly/issues/1394
* | | Rename setting, fix wordingsFabian Schneider2019-02-063-17/+17
| | |
* | | Add setting for first day of the weekFabian Schneider2019-02-063-0/+27
|/ /
* | Allow MR diffs to be placed into an object storeNick Thomas2019-02-052-1/+31
|/
* DB and model changes for Sentry project selection dropdownReuben Pereira2019-02-042-2/+20
|
* Fix template labelsFelipe Artur2019-02-042-1/+24
|
* Fix tree restorer visibility levelJames Lopez2019-01-311-0/+60
|