Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
AgeCommit message (Collapse)Author
2017-09-06Merge branch 'master' into zj-auto-devops-tableZeger-Jan van de Weg
2017-09-06Resolve outdated diff discussions on pushSean McGivern
2017-09-06Fix migrationSean McGivern
2017-09-06change collapse to resolve and comments to discussionsAshley Dumaine
2017-09-06Add functionality to collapse outdated diff comments regardless of ↵Ashley Dumaine
discussion resolution
2017-09-06Incorporate another round of feedbackZeger-Jan van de Weg
2017-09-05Merge branch 'master' into '36860-migrate-issues-author'Douwe Maan
# Conflicts: # db/schema.rb
2017-09-05Migrate issues authored by deleted user to the Ghost userJarka Kadlecova
2017-09-05remove obsolete migrationAlexis Reigel
as we destroy all gpg_signatures we don't need to downcase the email addresses anymore.
2017-09-05truncate gpg signature instead of destroyAlexis Reigel
2017-09-05remove valid_signature from gpg_signaturesAlexis Reigel
2017-09-05destroy signatures instead of updating themAlexis Reigel
This is faster for the deployment process, as the destroyed signatures will be re-generated on demand again, instead of updating them all on deploy.
2017-09-05destroy all signatures and add with default valueAlexis Reigel
To avoid having to implement legacy code handling for the obsolete `verified_signature` attribute and to avoid any race conditions during the zero-downtime-deployment we do the following: 1. Destroy all records 2. Migration: Use add_column_with_default to add the new attribute and update the verification_status values on records created between 1. and 2. 3. Deploy the new code 4. Post migration: Destroy all records Like this we make sure that at no point there is a record with a `nil` value for the new `verification_status` attribute.
2017-09-05update all signatures with the verification statusAlexis Reigel
2017-09-05downcase all GpgSignature#gpg_key_user_emailAlexis Reigel
2017-09-05add verification_status to gpg signaturesAlexis Reigel
2017-09-05Implement `failure_reason` on `ci_builds`Shinya Maeda
2017-09-04Incorporate reviewZeger-Jan van de Weg
2017-09-04Merge branch 'master' into zj-auto-devops-tableZeger-Jan van de Weg
2017-09-03Fix schema. Add safe_model_attributes for pipelinesShinya Maeda
2017-09-03Remove access_level index from runner. Add protected on ci_pipelines. Add ↵Shinya Maeda
protected index on ci_builds.
2017-09-03Refactor access_level to not_protected and ref_protectedShinya Maeda
2017-09-03Add spec. Fix runner setting page. It worked.Shinya Maeda
2017-09-03Update application code by the db schema changeShinya Maeda
2017-09-03Re-organize schema. Drop protected from runner. Add access_level to runner. ↵Shinya Maeda
Drop protected from pipeline. Add protected to ci_bilds.
2017-09-03Allow null for protected attribute in ci_pipelinesShinya Maeda
2017-09-03Solution 1. Persists protected(ref) flag on ci_pipelines table. ↵Shinya Maeda
builds_for_shared_runner and builds_for_specific_runner read the flag instead of executing protected_for? one by one.
2017-09-03iniShinya Maeda
2017-08-31Fix db/schema.rb not being up to dateZeger-Jan van de Weg
2017-08-31Add config_source to ci_pipelinesZeger-Jan van de Weg
Given the user can soon have multiple config sources for CI, we now store what type at the time of the pipeline run we chose. This will give us insight into what triggered the new pipeline so we can display it to the enduser.
2017-08-31Form for setting project auto devops settingsZeger-Jan van de Weg
2017-08-31Implement the implied CI/CD config for AutoDevOpsZeger-Jan van de Weg
Behind an application setting, which defaults to false, this commit implements the implied CI/CD config. Which means that in the case we can't find the `.gitlab-ci.yml` on the commit we want to start a pipeline for, we fall back to an implied configuration. For now the Bash template has been copied to `Auto-Devops.gitlab-ci.yml` so the tests actually work. Fixes #34777
2017-08-30Address review commentsNick Thomas
2017-08-30Rework the permissions model for SSH key restrictionsNick Thomas
`allowed_key_types` is removed and the `minimum_<type>_bits` fields are renamed to `<tech>_key_restriction`. A special sentinel value (`-1`) signifies that the key type is disabled. This also feeds through to the UI - checkboxes per key type are out, inline selection of "forbidden" and "allowed" (i.e., no restrictions) are in. As with the previous model, unknown key types are disallowed, even if the underlying ssh daemon happens to support them. The defaults have also been changed from the lowest known bit size to "no restriction". So if someone does happen to have a 768-bit RSA key, it will continue to work on upgrade, at least until the administrator restricts them.
2017-08-30Add settings for minimum key strength and allowed key typeNick Thomas
This is an amalgamation of: * Cory Hinshaw: Initial implementation !5552 * Rémy Coutable: Updates !9350 * Nick Thomas: Resolve conflicts and add ED25519 support !13712
2017-08-26Merge commit '2be34630623711fc20ef8c101b5cef688f207cc1' into ↵Grzegorz Bizon
backstage/gb/rename-ci-cd-processing-sidekiq-queues * commit '2be34630623711fc20ef8c101b5cef688f207cc1': Common Docker Documentation Location in `gitlab-ce` fix deprecation warning present during webpack compiles Enable 5 lines of Sidekiq backtrace lines to aid in debugging Add support for copying permalink to notes via more actions dropdown Handle creating a nested group on MySQL correctly Decrease statuses batch size even more in a migration Fix repo editor scrollbar Replace 'source/search_code.feature' spinach test with an rspec analog Authorizations regarding OAuth - style confirmation Update README.md Refactor complicated API group finding rules into GroupsFinder Fix group and project search for anonymous users Document version Group Milestones API introduced Allow v4 API GET requests for groups to be unauthenticated Adjust a range and a size in stages statuses migration Update README.md Point to /developers on docs/administration/authentiq.md Indexes GFM markdown guide use inline links instead of referenced Add index on ci_runners.contacted_at
2017-08-25Migrate new jobs when reverting pipeline queues migrationGrzegorz Bizon
2017-08-25Merge branch 'backstage/gb/improve-stages-statuses-migration' into 'master'Kamil Trzciński
Adjust a range and a batch sizes in stages statuses migration Closes #36793 See merge request !13767
2017-08-25Merge branch 'master' into 'backstage/gb/rename-ci-cd-processing-sidekiq-queues'Kamil Trzciński
# Conflicts: # db/schema.rb
2017-08-25Merge branch 'revert-appearances-description-html-not-null' into 'master'Douwe Maan
Re-allow appearances.description_html to be NULL Closes #36919 See merge request !13806
2017-08-25Decrease statuses batch size even more in a migrationGrzegorz Bizon
2017-08-24Re-allow appearances.description_html to be NULLYorick Peterse
This column isn't always set (e.g. when upgrading from older instances) and technically it could be NULL (e.g. when flushing the cache). Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36919
2017-08-24Merge branch 'git-operation-user' into 'master'Sean McGivern
Move GitHooksService into Gitlab::Git See merge request !13739
2017-08-23Adjust a range and a size in stages statuses migrationGrzegorz Bizon
2017-08-23Move GitHooksService to Gitlab::GitJacob Vosmaer
2017-08-23Make gl_repository a G::G::Repository attributeJacob Vosmaer
2017-08-22Merge branch 'master' into backstage/gb/rename-ci-cd-processing-sidekiq-queuesGrzegorz Bizon
* master: (115 commits) Use event-based waiting in Gitlab::JobWaiter Make sure repository's removal work for legacy and hashed storages Use `@hashed` prefix for hashed paths on disk, to avoid collision with existing ones Refactor project and storage types Prevent using gitlab import task when hashed storage is enabled Some codestyle changes and fixes for GitLab pages Removed some useless code, codestyle changes and removed an index Fix repository reloading in some specs Changelog Moving away from the "extend" based factory to a more traditional one. Enable automatic hashed storage for new projects by application settings New storage is now "Hashed" instead of "UUID" Add UUID Storage to Project Move create_repository back to project model as we can use disk_path and share it Codestyle: move hooks to the same place and move dependent methods to private Use non-i18n values for setting new group-level issue/MR button text indexes external issue tracker copyedit indexes user/search/ from /user/index Correctly encode string params for Gitaly's TreeEntries RPC ...
2017-08-22Use EachBatch concern to loop over batchesToon Claes
2017-08-22Migration to remove pending delete projects with non-existing namespaceToon Claes
There might be some projects where the namespace was removed, but the project wasn't. For these the projects still have a `namespace_id` set. So this adds a post-deploy migration remove all projects that are pending delete, and have a `namespace_id` that is non-existing.
2017-08-22Add migration that migrates CI/CD queuesGrzegorz Bizon