summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | 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.
* 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 ...
| * \ \ Merge branch 'master' into backstage/gb/migrate-stages-statusesGrzegorz Bizon2017-07-262-1/+35
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (110 commits) Add missing colon Fix project wiki web_url spec Resolve "Memory usage notice doesn't link anywhere" Docs new topic "user/index" Implement GRPC call to RepositoryService Pending delete projects should not show in deploy keys Remove outdated ~Frontend label in CONTRIBUTING.md Fixes 500 error caused by pending delete projects in admin dashboard Add lower path index to redirect_routes Remove project_key from the Jira configuration Update CHANGELOG.md for 9.4.1 Enable gitaly_post_upload_pack by default Add `api` prefix as a top level route in the spec. Move relative_path to the element that is being clicked Bumps Gitlab Omniauth LDAP version Add directives to Vue component ordering synchronize ukrainian translation in zanata again v3 API is unsupported after 9.5, but may not be removed Fix vertical alignment in firefox and safari for pipeline mini graph Adds link_to_gfm method instrumentation ... Conflicts: db/schema.rb
| * | | | Add optimistic locking column to ci_stages tableGrzegorz Bizon2017-07-202-1/+11
| | | | |
| * | | | Merge branch 'master' into backstage/gb/migrate-stages-statusesGrzegorz Bizon2017-07-201-0/+18
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Fix background migration cleanup specs Fix JS; make buttons sr accessibile; fix overlay Isolate stage_id reference clean up migration Fix eslint Make sidebar accessible on mobile Add mobile navigation on project page Fix database schema version number Fix background migrations module specs Remove migration dependency from stage_id migration Remove obsolete argument from bg migrations code Add specs for stage_id reference cleanup migration Add pending set of specs for stage_id cleanup migration Rename stage_id reference clean up migration Implement build stage_id reference migration clean up
| * \ \ \ \ Merge branch 'master' into backstage/gb/migrate-stages-statusesGrzegorz Bizon2017-07-2011-5/+344
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (319 commits) remove redundant changelog entries Merge branch '24570-use-re2-for-user-supplied-regexp-9-3' into 'security-9-3' Merge branch '33303-404-for-unauthorized-project' into 'security-9-3' Merge branch '33359-pers-snippet-files-location' into 'security-9-3' Merge branch 'bvl-remove-appearance-symlink' into 'security-9-3' Hide description about protected branches to non-member Update CHANGELOG.md for 9.0.11 Update CHANGELOG.md for 9.1.8 Update CHANGELOG.md for 8.17.7 Update CHANGELOG.md for 9.2.8 Update CHANGELOG.md for 9.3.8 Respect blockquote line breaks in markdown 35209 Add wip message to new navigation preference section Add github imported projects count to usage data Add versions to Prometheus metrics doc Add Bulgarian translations of Pipeline Schedules Add Esperanto translations of Pipeline Schedules Add Traditional Chinese in HongKong translations of Pipeline Schedules Add Simplified Chinese translations of Pipeline Schedules Resolve "Clarify k8s service keys" ... Conflicts: db/schema.rb
| * | | | | | Update version number of stages statuses migrationGrzegorz Bizon2017-07-113-1/+1
| | | | | | |
| * | | | | | Schedule stages statuses bg migrations in batchesGrzegorz Bizon2017-07-101-7/+8
| | | | | | |
| * | | | | | Merge branch 'master' into backstage/gb/migrate-stages-statusesGrzegorz Bizon2017-07-1021-24/+675
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (587 commits) Increase GitLab QA screenshots size Fix QA test scenario for creating a new project Configure headless chrome screenshots correctly Allow passing exceptions when creating project services Also inject new route helpers into includers of GitlabRoutingHelper Remove many N+1 queries with merge requests API fix milestones finder failing spec Make wrong migrations idempotent Remove double border on last group row Update tests to test what the component renders and what the clicks calls Username and password are no longer stripped from import url on import Change `sign_out` usage to `gitlab_sign_out` in one spec Send Gitaly Repository with /api/internal/allowed Resolve "Liberation Mono weird font rendering on Fedora/openSUSE/other Linux distros" Force mobile view for admin projects fix spec Mark a subgroup-related spec as PostgreSQL-only Use vue .prevent to prevent the click Add members-list class to admin projects page Fix another typo in SHA attribute spec ... Conflicts: db/post_migrate/20170628080858_migrate_stage_id_reference_in_background.rb db/schema.rb lib/gitlab/background_migration/migrate_build_stage_id_reference.rb spec/migrations/migrate_stage_id_reference_in_background_spec.rb
| * | | | | | | Move stages status migration to the background workerbackstage/gb/migrate-stages-statusesGrzegorz Bizon2017-07-051-61/+10
| | | | | | | |
| * | | | | | | Merge branch 'fix/gb/stage-id-reference-background-migration' into ↵Grzegorz Bizon2017-07-051-0/+29
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backstage/gb/migrate-stages-statuses * fix/gb/stage-id-reference-background-migration: (22 commits) Reduce a delay between stage_id scheduled migrations Improve exception description in bg migrations Do not override original AR5 batching interface Sanitize id value passed to async background migration Improve code examples in background migrations docs Add description to exception in bg migrations worker Do not compare float with integer in migrations specs Improve readability of build stage id migration query Use integers to schedule delayed background migrations Test if argument passed to a migration is present Make `inline` a default sidekiq testing processing again Improve specs for background stage_id ref migration Perform stage_id ref backgound migration in bulks Remove unused background migrations matcher Use ActiveRecord 5 batching to schedule bg migration Make it possible to schedule bg migrations in bulk Add specs for delayed stage_id background migrations Schedule background migration only when it is needed Find builds that require a migration in batches Update `db/schema.rb` with a new schema version ...
| | * | | | | | | Reduce a delay between stage_id scheduled migrationsGrzegorz Bizon2017-07-031-1/+1
| | | | | | | | |
| | * | | | | | | Do not override original AR5 batching interfaceGrzegorz Bizon2017-06-301-2/+5
| | | | | | | | |
| | * | | | | | | Improve specs for background stage_id ref migrationGrzegorz Bizon2017-06-291-6/+5
| | | | | | | | |
| | * | | | | | | Perform stage_id ref backgound migration in bulksGrzegorz Bizon2017-06-291-3/+3
| | | | | | | | |
| | * | | | | | | Use ActiveRecord 5 batching to schedule bg migrationGrzegorz Bizon2017-06-291-4/+3
| | | | | | | | |
| | * | | | | | | Add specs for delayed stage_id background migrationsGrzegorz Bizon2017-06-281-3/+4
| | | | | | | | |
| | * | | | | | | Schedule background migration only when it is neededGrzegorz Bizon2017-06-281-4/+6
| | | | | | | | |
| | * | | | | | | Find builds that require a migration in batchesGrzegorz Bizon2017-06-281-3/+6
| | | | | | | | |
| | * | | | | | | Update `db/schema.rb` with a new schema versionGrzegorz Bizon2017-06-281-1/+1
| | | | | | | | |
| | * | | | | | | Add initial build stage_id ref background migrationGrzegorz Bizon2017-06-281-0/+10
| | | | | | | | |
| | * | | | | | | Add initial stage_id background migration filesGrzegorz Bizon2017-06-281-0/+12
| | | | | | | | |
| * | | | | | | | Disable statement timeout in stages statuses migrationGrzegorz Bizon2017-07-051-4/+4
| | | | | | | | |
| * | | | | | | | Migrate only old stages without status that is setGrzegorz Bizon2017-07-041-1/+3
| | | | | | | | |
| * | | | | | | | Implement initial working stages statuses migrationGrzegorz Bizon2017-07-041-26/+20
| | | | | | | | |
| * | | | | | | | Extend stages statuses migrationGrzegorz Bizon2017-07-041-21/+34
| | | | | | | | |
| * | | | | | | | Add initial changes for stages statuses migrationGrzegorz Bizon2017-06-303-1/+87
| | | | | | | | |
* | | | | | | | | Fix Error 500s when attempting to destroy a protected tagStan Hu2017-08-202-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to a missing `on_delete: :cascade`, users would hit the error that looked like: ``` PG::ForeignKeyViolation: ERROR: update or delete on table "protected_tags" violates foreign key constraint "fk_rails_f7dfda8c51" on table "protected_tag_create_access_levels" DETAIL: Key (id)=(1385) is still referenced from table "protected_tag_create_access_levels". : DELETE FROM "protected_tags" WHERE "protected_tags"."id" = 1385 ``` Closes #36013
* | | | | | | | | Merge branch 'rs-trailingwhitespace-cop' into 'master'Rémy Coutable2017-08-163-5/+5
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable Layout/TrailingWhitespace cop and auto-correct offenses See merge request !13573
| * | | | | | | | | Enable Layout/TrailingWhitespace cop and auto-correct offensesRobert Speicher2017-08-153-5/+5
| | |_|_|_|_|_|_|/ | |/| | | | | | |
* | | | | | | | | Don't create event in Merge Request Create ServiceJarka Kadlecova2017-08-162-1/+27
|/ / / / / / / /
* | | | | | | | Merge branch 'fix-broadcast-messages-migration' into 'master'Douwe Maan2017-08-151-1/+13
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove invalid broadcast messages before migrating See merge request !13538
| * | | | | | | | Remove invalid broadcast messages before migratingfix-broadcast-messages-migrationYorick Peterse2017-08-141-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents the migration from failing to set "NOT NULL" constraints when some rows contain NULL values that are no longer allowed.