summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Resolve outdated diff discussions on pushSean McGivern2017-09-062-1/+11
|
* Fix migrationSean McGivern2017-09-062-12/+4
|
* change collapse to resolve and comments to discussionsAshley Dumaine2017-09-062-4/+3
|
* Add functionality to collapse outdated diff comments regardless of ↵Ashley Dumaine2017-09-062-0/+19
| | | | discussion resolution
* Merge branch 'master' into '36860-migrate-issues-author'36860-migrate-issues-authorDouwe Maan2017-09-055-1/+52
|\ | | | | | | # Conflicts: # db/schema.rb
| * remove obsolete migrationAlexis Reigel2017-09-051-23/+0
| | | | | | | | | | as we destroy all gpg_signatures we don't need to downcase the email addresses anymore.
| * truncate gpg signature instead of destroyAlexis Reigel2017-09-052-21/+2
| |
| * remove valid_signature from gpg_signaturesAlexis Reigel2017-09-052-2/+12
| |
| * destroy signatures instead of updating themAlexis Reigel2017-09-052-14/+21
| | | | | | | | | | | | 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.
| * destroy all signatures and add with default valueAlexis Reigel2017-09-052-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * update all signatures with the verification statusAlexis Reigel2017-09-051-0/+14
| |
| * downcase all GpgSignature#gpg_key_user_emailAlexis Reigel2017-09-051-0/+23
| |
| * add verification_status to gpg signaturesAlexis Reigel2017-09-052-0/+8
| |
| * Implement `failure_reason` on `ci_builds`Shinya Maeda2017-09-052-1/+11
| |
* | Migrate issues authored by deleted user to the Ghost userJarka Kadlecova2017-09-053-1/+52
|/
* Fix schema. Add safe_model_attributes for pipelinesShinya Maeda2017-09-031-1/+1
|
* Remove access_level index from runner. Add protected on ci_pipelines. Add ↵Shinya Maeda2017-09-034-17/+25
| | | | protected index on ci_builds.
* Refactor access_level to not_protected and ref_protectedShinya Maeda2017-09-031-1/+1
|
* Add spec. Fix runner setting page. It worked.Shinya Maeda2017-09-031-2/+2
|
* Update application code by the db schema changeShinya Maeda2017-09-031-1/+1
|
* Re-organize schema. Drop protected from runner. Add access_level to runner. ↵Shinya Maeda2017-09-036-32/+41
| | | | Drop protected from pipeline. Add protected to ci_bilds.
* Allow null for protected attribute in ci_pipelinesShinya Maeda2017-09-032-2/+2
|
* Solution 1. Persists protected(ref) flag on ci_pipelines table. ↵Shinya Maeda2017-09-032-0/+16
| | | | builds_for_shared_runner and builds_for_specific_runner read the flag instead of executing protected_for? one by one.
* iniShinya Maeda2017-09-032-0/+16
|
* Address review commentsNick Thomas2017-08-301-3/+4
|
* Rework the permissions model for SSH key restrictionsNick Thomas2017-08-302-15/+18
| | | | | | | | | | | | | | | `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.
* Add settings for minimum key strength and allowed key typeNick Thomas2017-08-302-0/+29
| | | | | | | | This is an amalgamation of: * Cory Hinshaw: Initial implementation !5552 * Rémy Coutable: Updates !9350 * Nick Thomas: Resolve conflicts and add ED25519 support !13712
* Merge commit '2be34630623711fc20ef8c101b5cef688f207cc1' into ↵backstage/gb/rename-ci-cd-processing-sidekiq-queuesGrzegorz Bizon2017-08-261-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Merge branch 'backstage/gb/improve-stages-statuses-migration' into 'master'Kamil Trzciński2017-08-251-4/+4
| |\ | | | | | | | | | | | | | | | | | | Adjust a range and a batch sizes in stages statuses migration Closes #36793 See merge request !13767
| | * Decrease statuses batch size even more in a migrationGrzegorz Bizon2017-08-251-1/+1
| | |
| | * Adjust a range and a size in stages statuses migrationbackstage/gb/improve-stages-statuses-migrationGrzegorz Bizon2017-08-231-4/+4
| | |
* | | Migrate new jobs when reverting pipeline queues migrationGrzegorz Bizon2017-08-251-0/+3
| | |
* | | Merge branch 'master' into 'backstage/gb/rename-ci-cd-processing-sidekiq-queues'Kamil Trzciński2017-08-256-5/+77
|\ \ \ | |/ / | | | | | | # Conflicts: # db/schema.rb
| * | Merge branch 'revert-appearances-description-html-not-null' into 'master'Douwe Maan2017-08-253-3/+21
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Re-allow appearances.description_html to be NULL Closes #36919 See merge request !13806
| | * | Re-allow appearances.description_html to be NULLrevert-appearances-description-html-not-nullYorick Peterse2017-08-243-3/+21
| | |/ | | | | | | | | | | | | | | | | | | 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
| * | Merge branch 'git-operation-user' into 'master'Sean McGivern2017-08-242-2/+2
| |\ \ | | |/ | |/| | | | | | | Move GitHooksService into Gitlab::Git See merge request !13739
| | * Move GitHooksService to Gitlab::GitJacob Vosmaer2017-08-231-1/+1
| | |
| | * Make gl_repository a G::G::Repository attributeJacob Vosmaer2017-08-231-1/+1
| | |
| * | Use EachBatch concern to loop over batchestc-remove-nonexisting-namespace-pending-delete-projectsToon Claes2017-08-221-21/+21
| | |
| * | Migration to remove pending delete projects with non-existing namespaceToon Claes2017-08-221-0/+54
| |/ | | | | | | | | | | | | 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.
* | Merge branch 'master' into backstage/gb/rename-ci-cd-processing-sidekiq-queuesGrzegorz Bizon2017-08-226-0/+89
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ...
| * Removed some useless code, codestyle changes and removed an indexGabriel Mazetto2017-08-222-3/+0
| |
| * Moving away from the "extend" based factory to a more traditional one.Gabriel Mazetto2017-08-221-1/+0
| | | | | | | | | | Using `extend` dynamically can lead to bad performance as it invalidates the method's cache.
| * Enable automatic hashed storage for new projects by application settingsGabriel Mazetto2017-08-222-0/+19
| |
| * New storage is now "Hashed" instead of "UUID"Gabriel Mazetto2017-08-222-25/+4
| |
| * Add UUID Storage to ProjectGabriel Mazetto2017-08-222-0/+42
| |
| * Merge branch 'backstage/gb/migrate-stages-statuses' into 'master'Kamil Trzciński2017-08-214-0/+53
| |\ | | | | | | | | | | | | | | | | | | Migrate CI/CD stages statuses Closes #33453 See merge request !12584
| | * Merge branch 'master' into backstage/gb/migrate-stages-statusesGrzegorz Bizon2017-08-1635-271/+586
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (1000 commits) Fix username autocomplete group name with no avatar alignment Fix 'Projected tags' typo in protected_tags_spec.rb Many Repo Fixes Repo Editor Fixes Docs: New index for permissions link article from CI index link tech articles from the landing page new articles come first fix relative link fix date format Fixed changed files dropdown not being shown Update publication date Remove deprecated field from workhorse API responses Fix API responses when dealing with txt files Make sure MySQL would not use CURRENT_TIMESTAMP Add two more project templates Allow usage of any_projects? with an Array Copyedit Artifactory and GitLab article Rename Artifactory and GitLab article file Display GPG status loading spinner only when Ajax request is made ...
| | * | Use update_column_in_batches helper in stages migrationGrzegorz Bizon2017-07-311-3/+1
| | | |
| | * | Merge commit '9a3b283402b8cc1c86802c526f19a459ce09c2e3' into ↵Grzegorz Bizon2017-07-319-1/+189
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backstage/gb/migrate-stages-statuses * commit '9a3b283402b8cc1c86802c526f19a459ce09c2e3': (270 commits) Add a note about EFS and GitLab log files Projects logo are not centered vertically on projects page Fix spec/features/projects/branches_spec Fixup POST /v3/:id/hooks and PUT /v3/:id/hooks/:hook_id Fix a spec that was assuming to be on the wrong page Add copy about search terms to ux guide Update documentation of user creation by replacing the 'confirm' param with 'skip_confirmation' Fix replying to commit comments on MRs from forks Fix 500 error when rendering avatar for deleted project creator Load and process at most 100 commits when pushing into default branch Ensure Gitlab::Application.routes.default_url_options are set correctly in Capybara + :js specs Add log messages to clarify log messages about API CSRF token verification failure Update gitlab_flow.md, Teatro seems to be completely dead, see also https://forum.gitlab.com/t/gitlab-flow-documentation-teatro/7774 Fix diff commenting results just after changing view Update CHANGELOG.md for 9.4.2 none is not a CSS Value for sizes ;-) Merge issuable "reopened" state into "opened" Make access level more compatible with EE Add link to JIRA article in docs Expand pipeline_trigger_service_spec by godfat request ...