summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * 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
| | |/
* | | 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
|/ /
* | 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
| |
| * Remove obsolete stages/build before adding foreign keysGrzegorz Bizon2017-06-051-0/+16
| |
| * Create indexes on pipeline stages before migrationGrzegorz Bizon2017-06-051-0/+0
| | | | | | | | | | Creates an index in ci_stages before migrating pipeline stages from ci_builds, to improve migration performance.
| * Migrate stage_id only it job does not have it alreadyGrzegorz Bizon2017-06-051-1/+3
| |
| * Migrate pipeline stages only when not migrated alreadyGrzegorz Bizon2017-06-051-3/+3
| |
| * Merge branch 'master' into feature/gb/migrate-pipeline-stagesGrzegorz Bizon2017-06-0529-34/+535
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (524 commits) Improve user experience around slash commands in instant comments Fix LFS timeouts when trying to save large files retryable? is now available for CommitStatus Resolve "Documentation of `.gitlab-ci.yml` states incorrect example for variables" Fix test failures Add slugify project path to CI enviroment variables Fixed typo: craeted -> created 32118 Make New environment empty state btn lowercase Expose import_status in Projects API 32832 Remove overflow from comment form for confidential issues and vertically aligns confidential issue icon Fix test failures Allow manual bypass of auto_sign_in_with_provider Fix keys seed Allow users to be hard-deleted from the API fixup some classnames and media queries Enable the Style/PreferredHashMethods cop Lint our factories creation in addition to their build Don’t schedule workers from inside transactions Allow scheduling from after_commit hooks Forbid Sidekiq scheduling in transactions ... Conflicts: db/schema.rb spec/spec_helper.rb
| * | Reorder pipeline stages-related migrationsGrzegorz Bizon2017-05-263-1/+1
| | |
| * | Create foreign keys for pipeline stages in migrationGrzegorz Bizon2017-05-262-1/+20
| | |
| * | Migrate build stage reference in a separate migrationGrzegorz Bizon2017-05-263-9/+22
| | |
| * | Add stage_id column to ci_builds in a separate migrationGrzegorz Bizon2017-05-262-2/+9
| | |
| * | Use a separate migration to create pipeline stages indexGrzegorz Bizon2017-05-262-10/+15
| | |
| * | Add pipeline stages post deployment migrationGrzegorz Bizon2017-05-263-2/+48
| | |
| * | Simplify migrations for specific database schemaGrzegorz Bizon2017-05-252-2/+10
| | |
| * | Add PoC of ActiveRecord migration testingGrzegorz Bizon2017-05-251-0/+14
| | |
* | | Merge branch 'instrument-infra' into 'master'Grzegorz Bizon2017-06-073-7/+34
|\ \ \ | | | | | | | | | | | | | | | | Add Prometheus metrics endpoint and basic infrastructure to meter code See merge request !11553
| * | | Handle case where GITLAB_PROMETHEUS_METRICS_ENABLED is non boolean value by ↵Pawel Chojnacki2017-06-061-1/+1
| | | | | | | | | | | | | | | | defaulting to false