summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Only indent if the subsequent line is a subqueryLin Jen-Shin2017-06-291-12/+12
|
* Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-06-291-0/+113
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add-ci_variables-environment_scope * upstream/master: (192 commits) Minor edits Job details won't scroll horizontally to show long lines Bring back branches badge to main project page Inserts exact matches of username, email and name to the top of the user search list Limit OpenGraph image size to 64x64 Improve changelog Split up MergeRequestsController Add parent_id back to the tests Make changelog more descriptive Update README.md to reflect where "Secret variables" are located Improve tests text Rename members_count to members_count_with_descendants and expose only to group admins Fix a bug where an invalid sort param value was passed to Gitaly Drop default ORDER scope when calling a find method on a Sortable model Add tests for project import state transition: [:started] => [:finished] Add CHANGELOG Perform housekeeping only when an import of a fresh project is completed Strip trailing whitespace in relative submodule URL Adjust projects spec on namespace fields Add "members_count" and "parent_id" data on namespaces API ...
| * Merge branch 'bvl-rename-all-reserved-paths' into 'master'Sean McGivern2017-06-291-0/+113
| |\ | | | | | | | | | | | | | | | | | | Rename all forbidden paths again Closes #32625 See merge request !11713
| | * Disable statement timeoutBob Van Landuyt2017-06-261-0/+4
| | |
| | * Revert renames from a migrationBob Van Landuyt2017-06-261-0/+1
| | |
| | * Rename each route individuallyBob Van Landuyt2017-06-261-3/+3
| | |
| | * Rename all forbidden paths againBob Van Landuyt2017-06-261-0/+108
| | |
* | | Better indent the SQLadd-ci_variables-environment_scope-mysqlLin Jen-Shin2017-06-271-7/+10
| | |
* | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-06-2712-0/+31
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add-ci_variables-environment_scope * upstream/master: (226 commits) Polish sidebar toggle Add changelog entry Fix optional args for POST :id/variables Update CHANGELOG.md for 9.3.1 Bump bootsnap to 1.1.1 Add explicit message when no runners on admin Fix endpoint not being update correctly Remove unused Gitlab::Git::Commit#to_diff argument Drop GFM support for the title of Milestone/MergeRequest in template Handle Promise rejections in mr_widget_pipeline_spec.js Handle missing pipeline in merge request widget Store merge request ref_fetched status in the database Tag a spec as :nested_groups since it fails on MySQL Bump premailer-rails gem to 1.9.7 and its dependencies to prevent network retrieval of assets Truncate long job names in environment view; wrap author to next line Replaces 'dashboard/merge_requests' spinach with rspec Update GITLAB_SHELL_VERSION to 5.0.6 Fix click not being able to find the current element to use trigger('click') instead make accepting mrs more prominent Remove last references to job for pipeline charts ...
| * | Merge branch '34052-store-mr-ref-fetched-in-database' into 'master'Sean McGivern2017-06-272-1/+11
| |\ \ | | |/ | |/| | | | | | | | | | | | | Store merge request ref_fetched status in the database Closes #34052 See merge request !12424
| | * Store merge request ref_fetched status in the database34052-store-mr-ref-fetched-in-databaseAdam Niedzielski2017-06-262-1/+11
| | | | | | | | | | | | Closes #34052
| * | Merge branch 'master' into fix/gb/improve-updating-column-in-batches-helperGrzegorz Bizon2017-06-2221-106/+174
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (56 commits) File view buttons Don't reset the session when the example failed, because we need capybara-screenshot to have access to it Resolve "MR comment + system note highlight don't have the same width" Add feature spec for dashboard state filter tabs Wording of Mysql support. a new feature checklist and more elaborate documentation requirements Filter archived project in API v3 only if param present Revert to using links instead of buttons in Issuable Index tabs. Do not run the codeclimate job on docs-only changes Only show gray footer space if environment actions exist Migrate Gitlab::Git::Blob.find to Gitaly Backport filtered search lazy token consistent state fix Add a comment explaining how the branch clean up happens Fix Github::Representation::PullRequest#source_branch_exists? Add CHANGELOG Fix GitHub importer performance on branch existence check Rebuild the dynamic path before validating it Rename stage ref migration specs to match a class name Enable Style/DotPosition Rubocop :cop: Revert "Merge branch 'winh-merge-request-related-issues' into 'master'" ... Conflicts: db/post_migrate/20170526185921_migrate_build_stage_reference.rb
| * | Fix migration specs that can not run within transactionGrzegorz Bizon2017-06-211-0/+2
| | |
| * | Disable transactions in migrations that should not use itGrzegorz Bizon2017-06-2110-0/+21
| | |
* | | Rename instead of delete, feedback:Lin Jen-Shin2017-06-272-45/+35
| | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12363#note_33449374
* | | Add back project_id index for MySQL if revertingLin Jen-Shin2017-06-231-2/+7
| | |
* | | Remove old project_id index and make sure mysql workLin Jen-Shin2017-06-233-5/+34
| | |
* | | We cannot delete the index for MySQL, because fkLin Jen-Shin2017-06-231-1/+1
| | | | | | | | | | | | foreign key, I mean.
* | | Remove duplicated records and add unique constraintLin Jen-Shin2017-06-224-2/+70
| | |
* | | Add environment_scope column to ci_variables tableLin Jen-Shin2017-06-212-0/+16
| |/ |/| | | | | | | | | This is merely to make CE and EE more compatible. See the EE merge request at: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2112
* | Merge branch 'fix/gb/improve-build-stage-reference-migration' into 'master'Kamil Trzciński2017-06-216-23/+75
|\ \ | | | | | | | | | | | | | | | | | | Improve build stages reference migration Closes #33866 See merge request !12337
| * \ Merge branch 'master' into 'fix/gb/improve-build-stage-reference-migration'Grzegorz Bizon2017-06-213-1/+17
| |\ \ | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * | | Bump build stage id reference migration identifierGrzegorz Bizon2017-06-212-15/+34
| | | |
| * | | Fix adding/removing foreign keys on MySQLGrzegorz Bizon2017-06-213-4/+3
| | | |
| * | | Fix build stages reference migrationGrzegorz Bizon2017-06-215-5/+39
| | | |
* | | | Merge branch 'fix/gb/improve-autocancel-pipelines-migraton' into 'master'Kamil Trzciński2017-06-211-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Disable statement timeout in CI pipelines migration See merge request !12268
| * | | | Disable statement timeout in CI pipelines migrationfix/gb/improve-autocancel-pipelines-migratonGrzegorz Bizon2017-06-191-0/+2
| |/ / /
* | | | Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-2113-82/+82
| |/ / |/| |
* | | Merge branch 'add-index-for-head-pipeline-id' into 'master'Yorick Peterse2017-06-212-1/+17
|\ \ \ | |_|/ |/| | | | | | | | Add index for head pipeline See merge request !12273
| * | Add index for head pipeline idadd-index-for-head-pipeline-idKamil Trzcinski2017-06-212-1/+17
| |/
* | Replace invalid chars while seeding environmentsZeger-Jan van de Weg2017-06-211-1/+1
|/
* Add table for files in merge request diffsSean McGivern2017-06-164-1/+53
| | | | | | | | | | | | | | | | This adds an ID-less table containing one row per file, per merge request diff. It has a column for each attribute on Gitlab::Git::Diff that is serialised currently, with the advantage that we can easily query the attributes of this new table. It does not migrate existing data, so we have fallback code when the legacy st_diffs column is present instead. For a merge request diff to be valid, it should have at most one of: * Rows in this new table, with the correct merge_request_diff_id. * A non-NULL st_diffs column. It may have neither, if the diff is empty.
* Migration - Remove position field from issues and merge requestsFelipe Artur2017-06-162-3/+9
|
* Deserialise existing custom notification settingsdeserialize-custom-notificationsSean McGivern2017-06-152-1/+56
| | | | | | Create a post-deployment migration to update all existing notification settings with at least one custom level enabled to the new format. Also handle the same conversion when updating settings, to catch any stragglers.
* Add columns for custom notification settingsSean McGivern2017-06-152-0/+38
| | | | | | Add columns for each custom notification level, defaulting to null. Read from those columns if non-null, otherwise fall back to the serialized column. Writing will write to the new column if `events` isn't manually set.
* Help landing page customizations - db changesRobin Bobbitt2017-06-133-0/+21
|
* Add database helpers 'add_timestamps_with_timezone' and ↵32054-rails-should-use-timestamptz-database-type-for-postgresqlblackst0ne2017-06-1336-0/+41
| | | | 'timestamps_with_timezone'
* Bring in security changes from the 9.2.5 releaseDJ Mountney2017-06-076-2/+455
| | | | | | | | | | | | | Ran: - git format-patch v9.2.2..v9.2.5 --stdout > patchfile.patch - git checkout -b 9-2-5-security-patch origin/v9.2.2 - git apply patchfile.patch - git commit - [Got the sha ref for the commit] - git checkout -b upstream-9-2-security master - git cherry-pick <SHA of the patchfile commit> - [Resolved conflicts] - git cherry-pick --continue
* Sync email address from specified omniauth provider - db changesRobin Bobbitt2017-06-074-2/+42
|
* Merge branch 'feature/gb/migrate-pipeline-stages' into 'master'Kamil Trzciński2017-06-076-1/+126
|\ | | | | | | | | Migrate pipeline stages in the database See merge request !11714
| * Fix reverting builds stage ref migration on MySQLGrzegorz Bizon2017-06-061-1/+1
| |
| * Migrate stages only with correct foreign referencesGrzegorz Bizon2017-06-061-1/+4
| |
| * Create index on pipeline stages after migrating stagesGrzegorz Bizon2017-06-061-0/+0
| |
| * Improve indexes and refs in pipeline stages migrationsGrzegorz Bizon2017-06-065-43/+31
| |
| * Fix typo in build stages reference migrationGrzegorz Bizon2017-06-061-1/+1
| |
| * Improve order of columns in pipeline stages tableGrzegorz Bizon2017-06-061-1/+1
| |
| * Make pipeline stages ref migration more readableGrzegorz Bizon2017-06-061-3/+5
| |
| * Use the latest migration version as a schema versionGrzegorz Bizon2017-06-051-1/+1
| |
| * Remove stage index concurrently on migration rollbackGrzegorz Bizon2017-06-051-1/+1
| |
| * Disable timeouts in foreign keys for stages migrationGrzegorz Bizon2017-06-051-0/+2
| |