summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add migration to cleanup iid recordsAndreas Brandl2019-01-291-0/+43
|
* Save sorting preference for Issues/MRs in BEMario de la Ossa2019-01-282-0/+23
| | | | | | In order to let users' sorting preferences transfer between devices, we save the preference for issues and MRs (one preference for issues, one for MRs) in the backend inside the UserPreference object
* Sidekiq queue migration for HashedStorage::MigratorWorkerGabriel Mazetto2019-01-252-1/+19
| | | | | Migrate jobs from `storage_migrator` to `hashed_storage:hashed_storage_migrator`.
* Merge branch 'container-repository-cleanup-api' into 'master'Grzegorz Bizon2019-01-251-0/+15
|\ | | | | | | | | | | | | Container repository cleanup API Closes #55978 See merge request gitlab-org/gitlab-ce!24303
| * Add Container Registry APIKamil Trzciński2019-01-251-0/+15
| | | | | | | | | | | | This includes a set of APIs to manipulate container registry. This includes also an ability to delete tags based on requested criteria, like keep-last-n, matching-name, older-than.
* | Enable the Layout/ExtraSpacing cop56392-enable-the-layout-extraspacing-copRémy Coutable2019-01-242-2/+2
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Add domain field into Clusters::ClusterMayra Cabrera2019-01-222-0/+10
| | | | | | | | | | | | | | This is the 1st step for moving Auto DevOps domain into cluster settings, whether is project or group. Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/52363
* | Refactored AfterRenameService to reduce couplingGabriel Mazetto2019-01-222-2/+18
| | | | | | | | | | | | | | | | | | | | | | We still rely on the Dirty API for project rename (before/after) values, but we don't access the dirty api from the service class anymore. The previous value is now part of the initialization, which makes it easier to test and the behavior is clearer. The same was done with the `rename_repo` on the Storage classes, we now provide before and after values as part of the method signature.