summaryrefslogtreecommitdiff
path: root/db/schema.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '33620-remove-events-from-notification_settings' into 'master'Douwe Maan2017-08-011-2/+1
|\ | | | | | | | | | | | | Resolve "Remove `events` from `notification_settings`" Closes #33620 See merge request !13152
| * Remove events column from notification settings33620-remove-events-from-notification_settingsSean McGivern2017-07-311-2/+1
| | | | | | | | | | This was migrated to separate columns in 9.4, and now just needs to be removed for real.
* | fixfix/sm/schema-fix-group-pipeline-schedule-variablesShinya Maeda2017-07-291-10/+10
|/
* initShinya Maeda2017-07-281-0/+12
|
* Merge branch 'backport-ee-2456' into 'master'Robert Speicher2017-07-271-0/+1
|\ | | | | | | | | Skip OAuth authorization for trusted applications See merge request !13061
| * Backport gitlab-ee!2456Oswaldo Ferreira2017-07-271-0/+1
| |
* | add unique index for gpg_signatures#commit_shaAlexis Reigel2017-07-271-1/+1
| |
* | add unique indexes to gpg_keysAlexis Reigel2017-07-271-1/+2
| |
* | use db's on_delete instead of has_many :dependentAlexis Reigel2017-07-271-3/+3
| |
* | use text instead of string for db columnsAlexis Reigel2017-07-271-2/+2
| |
* | use ShaAttribute for gpg table columnsAlexis Reigel2017-07-271-4/+4
| |
* | merge migrations to 1 single create per tableAlexis Reigel2017-07-271-7/+7
| | | | | | | | | | | | | | | | also: * reorder table columns * no need for `add_concurrent_index` * no need for explicit index removal on `#down`
* | store gpg user name and email on the signatureAlexis Reigel2017-07-271-0/+2
| |
* | gpg signature model for gpg verification cachingAlexis Reigel2017-07-271-0/+17
| |
* | add primary keyid attribute to gpg keysAlexis Reigel2017-07-271-0/+2
| |
* | add gpg key modelAlexis Reigel2017-07-271-0/+11
|/
* Fix saving diffs that are not valid UTF-835539-can-t-create-a-merge-request-containing-a-binary-file-with-non-utf-8-charactersSean McGivern2017-07-261-1/+2
| | | | | | | | | | Previously, we used Psych, which would: 1. Check if a string was encoded as binary, and not ASCII-compatible. 2. Add the !binary tag in that case. 3. Convert to base64. We need to do the same thing, using a new column in place of the tag.
* Merge branch '29289-project-destroy-clean-up-after-failure' into 'master'Sean McGivern2017-07-261-0/+1
|\ | | | | | | | | | | | | Handle errors while a project is being deleted asynchronously. Closes #29289 See merge request !11088
| * Handle errors while a project is being deleted asynchronously.Timothy Andrew2017-07-201-0/+1
| | | | | | | | | | | | | | | | | | | | 1. Rescue all errors that `Projects::DestroyService` might throw, to prevent the worker from leaving things in an inconsistent state 2. Unmark the project as `pending_delete` 3. Add a `delete_error` text column to `projects`, and save the error message in there, to be shown to the project masters/owners.
* | Add lower path index to redirect_routesmk-add-lower-path-index-to-redirect-routesMichael Kozono2017-07-251-1/+1
|/
* Add a background migration to rename `uploads` in the uploads tableBob Van Landuyt2017-07-181-1/+1
|
* Move the `uploads/system` folder to `uploads/-/system`Bob Van Landuyt2017-07-181-1/+1
| | | | Without downtime, so we need the symlinks
* Add a foreign key to `merge_requests.head_pipeline_id`Grzegorz Bizon2017-07-181-1/+2
|
* Fixes needed when GitLab sign-in is not enabledRobin Bobbitt2017-07-131-1/+1
| | | | | | | | | When sign-in is disabled: - skip password expiration checks - prevent password reset requests - don’t show Password tab in User Settings - don’t allow login with username/password for Git over HTTP requests - render 404 on requests to Profiles::PasswordsController
* Merge branch 'fix_migrations_in_the_future' into 'master'Douwe Maan2017-07-071-1/+1
|\ | | | | | | | | | | | | fix migrations in the future Closes #34832 See merge request !12719
| * fix migrations in the futureFelipe Artur2017-07-071-1/+1
| |
* | Merge branch 'master' into '33929-allow-to-enable-perf-bar-for-a-group'Sean McGivern2017-07-071-2/+19
|\ \ | |/ | | | | # Conflicts: # db/schema.rb
| * Merge branch ↵Kamil Trzciński2017-07-071-0/+14
| |\ | | | | | | | | | | | | | | | | | | | | | | | | 'feature/intermediate/32568-adding-variables-to-pipelines-schedules' into 'master' Add variables to pipelines schedules Closes #32568 See merge request !12372
| | * Merge from master(Fix conflicts)Shinya Maeda2017-07-071-0/+15
| | |\
| | * \ merge from masterShinya Maeda2017-07-071-6/+52
| | |\ \
| | * | | pipeline_schedule_variables model/dbShinya Maeda2017-07-051-0/+14
| | | | |
| * | | | Native group milestonesFelipe Artur2017-07-071-2/+5
| | |_|/ | |/| |
* | | | Merge branch 'master' into 33929-allow-to-enable-perf-bar-for-a-groupSean McGivern2017-07-071-5/+65
|\ \ \ \ | |/ / /
| * | | Basic BE changeShinya Maeda2017-07-071-0/+15
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix static-snalysis Move the precedence of group secure variable before project secure variable. Allow project_id to be null. Separate Ci::VariableProject and Ci::VariableGroup Add the forgotton files Add migration file to update type of ci_variables Fix form_for fpr VariableProject Fix test Change the table structure according to the yorik advice Add necessary migration files. Remove unnecessary migration spec. Revert safe_model_attributes.yml Fix models Fix spec Avoid self.variable. Use becomes for correct routing. Use unique index on group_id and key Add null: false for t.timestamps Fix schema version Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable Rename the rest of them Add the rest of files Basic BE change Fix static-snalysis Move the precedence of group secure variable before project secure variable. Allow project_id to be null. Separate Ci::VariableProject and Ci::VariableGroup Add the forgotton files Add migration file to update type of ci_variables Fix form_for fpr VariableProject Fix test Change the table structure according to the yorik advice Add necessary migration files. Remove unnecessary migration spec. Revert safe_model_attributes.yml Fix models Fix spec Avoid self.variable. Use becomes for correct routing. Use unique index on group_id and key Add null: false for t.timestamps Fix schema version Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable Rename the rest of them Add the rest of files Implement CURD Rename codes related to VariableGroup and VariableProject FE part Remove unneccesary changes Make Fe code up-to-date Add protected flag to migration file Protected group variables essential package Update schema Improve doc Fix logic and spec for models Fix logic and spec for controllers Fix logic and spec for views(pre feature) Add feature spec Fixed bugs. placeholder. reveal button. doc. Add changelog Remove unnecessary comment godfat nice catches Improve secret_variables_for arctecture Fix spec Fix StaticAnlysys & path_regex spec Revert "Improve secret_variables_for arctecture" This reverts commit c3216ca212322ecf6ca534cb12ce75811a4e77f1. Use ayufan suggestion for secret_variables_for Use find instead of find_by Fix spec message for variable is invalid Fix spec remove variable.group_id = group.id godffat spec nitpicks Use include Gitlab::Routing.url_helpers for presenter spec
| * | Add table for merge request commitsSean McGivern2017-07-061-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an ID-less table with just three columns: an association to the merge request diff the commit belongs to, the relative order of the commit within the merge request diff, and the commit SHA itself. Previously we stored much more information about the commits, so that we could display them even when they were deleted from the repo. Since 8.0, we ensure that those commits are kept around for as long as the target repo itself is, so we don't need to duplicate that data in the database.
| * | Add many foreign keys to the projects tableYorick Peterse2017-07-061-5/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the need for relying on Rails' "dependent" option for data removal, which is _incredibly_ slow (even when using :delete_all) when deleting large amounts of data. This also ensures data consistency is enforced on DB level and not on application level (something Rails is really bad at). This commit also includes various migrations to add foreign keys to tables that eventually point to "projects" to ensure no rows get orphaned upon removing a project.
* | | Allow to enable the Performance Bar for a group from the admin areaRémy Coutable2017-07-061-1/+2
|/ / | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-07-051-2/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32815--Add-Custom-CI-Config-Path * upstream/master: (149 commits) Revert change to design. Go back to scrollable page Fixes the column widths for the new navigation options in settings Migrate #submodule_url_for to Gitaly Add test example for external commit status retries Fix invalid Rails.logger call in lib/gitlab/health_checks/fs_shards_check.rb Fix build for !12300. Log rescued exceptions to Sentry Fix issues with non-UTF8 filenames by always fixing the encoding of tree and blob paths Revert "Merge branch 'revert-12499' into 'master'" Prevent accidental deletion of protected MR source branch by repeating checks before actual deletion Improve the overall UX for the new monitoring dashboard Document that GitLab 9.3 requires the TRIGGER permission on MySQL Instrument Unicorn with Ruby exporter Remove group modal like remove project modal. Closes #33130 Update prometheus client gem Enables the option in user preferences to turn on the new navigation Add Jasmine tests for `OAuthRememberMe` Simplify authentication logic in the v4 users API for !12445. Use stub_application_setting when testing ApplicationHelper#support_url wait_for_requests is not needed when AJAX is not in play ...
| * \ Merge branch 'master' into 'fix/gb/improve-stage-id-foreign-key-migration'fix/gb/improve-stage-id-foreign-key-migrationGrzegorz Bizon2017-07-041-1/+2
| |\ \ | | |/ | | | | | | # Conflicts: # db/schema.rb
| | * Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-06-271-0/+1
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ...
| | * | Remove old project_id index and make sure mysql workLin Jen-Shin2017-06-231-1/+1
| | | |
| | * | Remove duplicated records and add unique constraintLin Jen-Shin2017-06-221-2/+2
| | | |
| | * | Add environment_scope column to ci_variables tableLin Jen-Shin2017-06-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Bump database schema versionGrzegorz Bizon2017-07-041-1/+1
| | |/ | |/|
* | | Rename ci_config_file to ci_config_pathLin Jen-Shin2017-07-051-1/+1
| | |
* | | Merge remote-tracking branch 'upstream/master' into ↵15041-Add-Custom-CI-Config-PathLin Jen-Shin2017-06-281-648/+1005
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15041-Add-Custom-CI-Config-Path * upstream/master: (12506 commits) Update CHANGELOG.md for 9.3.2 Update architecture.md Fix changelog entry file extension Fix head pipeline stored in merge request for external pipelines updated gitlab-ci.yml to compile locale Ignore JSON files generated from PO files Update mmap2 gem tha disables mmap_obj.gsub! as current implementation uses method that is no longer part of Ruby API Disable rainbow during SimpleExecutor specs to have consistence Slightly refactor pipeline schedules form in preparation for additions Resolve "Submitting reply to existing diff discussion using Cmd/Ctrl+Enter submits twice and refreshes page" Make the SimpleExecutor rescue exceptions in the executing Checks Resolve "Unable to access edit comment from dropdown menu in certain screen sizes" Update changelog item revert removal of requestAnimationFrame and move to a separate MR/discussion rename getEmojiCategoryMap and remove unnecessary parameter Action Buttons on Prio Labels working again by setting pointer events to none on… Remove 'contains' option from Commit.find_all Remove Gitlab::Git::Repository#find_all Use latest chrome and chrome driver in GitLab QA Polish sidebar toggle ...
| * | Store merge request ref_fetched status in the database34052-store-mr-ref-fetched-in-databaseAdam Niedzielski2017-06-261-1/+2
| |/ | | | | | | Closes #34052
| * Merge branch 'master' into 'fix/gb/improve-build-stage-reference-migration'Grzegorz Bizon2017-06-211-0/+1
| |\ | | | | | | | | | # Conflicts: # db/schema.rb
| | * Add index for head pipeline idadd-index-for-head-pipeline-idKamil Trzcinski2017-06-211-1/+2
| | |
| * | Fix build stages reference migrationGrzegorz Bizon2017-06-211-1/+1
| |/