Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
AgeCommit message (Collapse)Author
2017-07-19Merge branch '33359-pers-snippet-files-location' into 'security-9-3'Sean McGivern
Use uploads/system directory for personal snippets See merge request !2123
2017-07-19Merge branch 'bvl-remove-appearance-symlink' into 'security-9-3'Douwe Maan
Remove the `appearance` symlink that was previously missed See merge request !2124
2017-07-08Merge branch 'fix/gb/stage-id-reference-background-migration' into 'master'Grzegorz Bizon
Add build stage_id reference background migration Closes #34151 See merge request !12513
2017-07-08Merge branch 'fix_migrations_in_the_future' into 'master'Douwe Maan
fix migrations in the future Closes #34832 See merge request !12719
2017-07-08Make wrong migrations idempotentFelipe Artur
2017-07-07Merge branch 'master' into 'fix/gb/stage-id-reference-background-migration'Grzegorz Bizon
# Conflicts: # app/models/concerns/each_batch.rb # spec/models/concerns/each_batch_spec.rb
2017-07-07fix migrations in the futureFelipe Artur
2017-07-07Merge branch 'master' into '33929-allow-to-enable-perf-bar-for-a-group'Sean McGivern
# Conflicts: # db/schema.rb
2017-07-07Merge branch ↵Kamil Trzciński
'feature/intermediate/32568-adding-variables-to-pipelines-schedules' into 'master' Add variables to pipelines schedules Closes #32568 See merge request !12372
2017-07-07Native group milestonesFelipe Artur
2017-07-07Merge branch 'master' into 33929-allow-to-enable-perf-bar-for-a-groupSean McGivern
2017-07-07Do not schedule bg migration when it is not neededGrzegorz Bizon
2017-07-07Schedule stage_id bg migrations in batches of 10Grzegorz Bizon
2017-07-07Merge from master(Fix conflicts)Shinya Maeda
2017-07-07Use new `each_batch` helper instead of custom oneGrzegorz Bizon
In stage_id backgrond migration.
2017-07-07Merge remote-tracking branch 'origin/active-record-each-batch' into ↵Grzegorz Bizon
fix/gb/stage-id-reference-background-migration * origin/active-record-each-batch: (59 commits) Added EachBatch for iterating tables in batches Extend MR tabs a bit to cover up the avatar holder and collapse icon on scroll Update VERSION to 9.4.0-pre. Add CHANGELOG Fix some N+1 queries in the GET /projects API Don't show auxiliary blob viewer for README when there is no wiki Improve & fix the performance bar UI and behavior Remove orphaned haml files Fixed CHANGELOG.md for 9.3.4 release Add table for merge request commits 34727 Remove two columned layout from project member settings Just draw :legacy_builds Re-enable polling for environments Cleanup minor UX issues in the performance dashboard Upgrade GitLab Workhorse to v2.3.0 Added test for the chart legend Use correct field for label name, fix default for unit to be blank Fix shorter route helpers in production environment Encode certificate-authority-data in base64 Revert "Merge branch 'winh-mr-widget-no-pipeline' into 'master'" ...
2017-07-07Schedule stage_id background migration in rangesGrzegorz Bizon
2017-07-07Reduce a delay between stage_id scheduled migrationsGrzegorz Bizon
2017-07-07Do not override original AR5 batching interfaceGrzegorz Bizon
2017-07-07Improve specs for background stage_id ref migrationGrzegorz Bizon
2017-07-07Perform stage_id ref backgound migration in bulksGrzegorz Bizon
2017-07-07Use ActiveRecord 5 batching to schedule bg migrationGrzegorz Bizon
2017-07-07Add specs for delayed stage_id background migrationsGrzegorz Bizon
2017-07-07Schedule background migration only when it is neededGrzegorz Bizon
2017-07-07Find builds that require a migration in batchesGrzegorz Bizon
2017-07-07Add initial build stage_id ref background migrationGrzegorz Bizon
2017-07-07Add initial stage_id background migration filesGrzegorz Bizon
2017-07-07merge from masterShinya Maeda
2017-07-07Basic BE changeShinya Maeda
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
2017-07-06Allow to enable the Performance Bar for a group from the admin areaRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-06Add table for merge request commitsSean McGivern
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.
2017-07-06Add many foreign keys to the projects tableYorick Peterse
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.
2017-07-05Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin
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 ...
2017-07-05Rename ci_config_file to ci_config_pathLin Jen-Shin
2017-07-05Fix StaticAnlysysShinya Maeda
2017-07-05pipeline_schedule_variables model/dbShinya Maeda
2017-07-05Fix StaticAnlysysShinya Maeda
2017-07-05pipeline_schedule_variables model/dbShinya Maeda
2017-07-04Merge branch 'master' into 'fix/gb/improve-stage-id-foreign-key-migration'Grzegorz Bizon
# Conflicts: # db/schema.rb
2017-07-04Check foreign keys in migration in separate conditionalGrzegorz Bizon
2017-07-04Bump database schema versionGrzegorz Bizon
2017-07-03Improve stage_id in ci_builds foreign key migrationGrzegorz Bizon
2017-06-30We don't need to disable transaction in this caseLin Jen-Shin
2017-06-30Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin
32815--Add-Custom-CI-Config-Path * upstream/master: (123 commits) Backport changes to Projects::IssuesController and the search bar bugfix: use `require_dependency` to bring in DeclarativePolicy Resolve "Select branch dropdown is too close to branch name" Clean up issuable lists Defer project destroys within a namespace in Groups::DestroyService#async_execute Fixed new navgiation bar logo height in Safari Resolve "Issue dropdown persists when adding issue number to issue description" Move verification to block level instead of paragraph Revert "Merge branch 'dm-drop-default-scope-on-sortable-finders' into 'master'" Added code for defining SHA attributes Minor edits Job details won't scroll horizontally to show long lines Run mysql tests on stable preperation branches like 9-3-stable-patch-2 Bring back branches badge to main project page optimize translation content based on comments supplement traditional chinese in taiwan translation Inserts exact matches of username, email and name to the top of the user search list Remove Namespace model default scope override and write additional test to Project search optimize translation content based on comments Limit OpenGraph image size to 64x64 ...
2017-06-29Only indent if the subsequent line is a subqueryLin Jen-Shin
2017-06-29Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin
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 ...
2017-06-29Merge branch 'bvl-rename-all-reserved-paths' into 'master'Sean McGivern
Rename all forbidden paths again Closes #32625 See merge request !11713
2017-06-28Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin
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 ...
2017-06-27Better indent the SQLLin Jen-Shin
2017-06-27Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin
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 ...