summaryrefslogtreecommitdiff
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* Enhance performance of counting local LFS objectstc-index-lfs-objects-file-storeToon Claes2018-10-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an index to the `file_store` column on `lfs_objects`. This makes counting local objects faster. Also, there is no longer need to check for objects with `file_store` being `NULL`. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18557 --- ### Query plans #### Before & with `NULL` ``` Aggregate (cost=113495.96..113495.97 rows=1 width=8) (actual time=1691.394..1691.394 rows=1 loops=1) -> Seq Scan on lfs_objects (cost=0.00..106415.50 rows=2832186 width=0) (actual time=0.012..1312.488 rows=2852607 loops=1) Filter: ((file_store = 1) OR (file_store IS NULL)) Rows Removed by Filter: 131 Planning time: 0.077 ms Execution time: 1691.433 ms ``` #### Before, without `NULL` ``` Aggregate (cost=113495.96..113495.97 rows=1 width=8) (actual time=856.423..856.424 rows=1 loops=1) -> Seq Scan on lfs_objects (cost=0.00..106415.50 rows=2832186 width=0) (actual time=0.012..672.181 rows=2852607 loops=1) Filter: (file_store = 1) Rows Removed by Filter: 131 Planning time: 0.128 ms Execution time: 856.470 ms ``` #### After & with `NULL` ``` Aggregate (cost=68819.95..68819.96 rows=1 width=8) (actual time=583.355..583.355 rows=1 loops=1) -> Index Only Scan using index_lfs_objects_on_file_store on lfs_objects (cost=0.43..61688.35 rows=2852643 width=0) (actual time=0.028..399.177 rows=2852607 loops=1) Filter: ((file_store = 1) OR (file_store IS NULL)) Rows Removed by Filter: 131 Heap Fetches: 867 Planning time: 0.096 ms Execution time: 583.404 ms ``` #### After, without `NULL` ``` Aggregate (cost=68817.29..68817.30 rows=1 width=8) (actual time=490.550..490.551 rows=1 loops=1) -> Index Only Scan using index_lfs_objects_on_file_store on lfs_objects (cost=0.43..61685.68 rows=2852643 width=0) (actual time=0.040..311.760 rows=2852607 loops=1) Index Cond: (file_store = 1) Heap Fetches: 831 Planning time: 0.294 ms Execution time: 490.590 ms ``` Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/6067
* Merge remote-tracking branch 'origin/master' into dev-masterJan Provaznik2018-10-3014-46/+46
|\
| * Update gitlab-ui to 1.9.0Clement Ho2018-10-2914-46/+46
| |
* | Merge remote-tracking branch 'origin/master' into dev-masterDJ Mountney2018-10-29166-1699/+2458
|\ \ | |/
| * Merge branch 'blackst0ne-update-push-new-merge-request-url' into 'master'Douwe Maan2018-10-295-6/+8
| |\ | | | | | | | | | | | | | | | | | | Make new merge request URL more friendly when pushing code Closes #53012 See merge request gitlab-org/gitlab-ce!22526
| | * Revert _diffs.html.hamlblackst0ne-update-push-new-merge-request-urlblackst0ne2018-10-271-1/+0
| | |
| | * Update other linksblackst0ne2018-10-264-4/+5
| | |
| | * Make new merge request URL more friendly when pushing codeblackst0ne2018-10-232-2/+4
| | |
| * | Merge branch 'rails5-deprecated-uniq' into 'master'Robert Speicher2018-10-294-5/+5
| |\ \ | | | | | | | | | | | | | | | | Replace deprecated uniq on a Relation with distinct See merge request gitlab-org/gitlab-ce!22625
| | * | Replace deprecated uniq on a Relation with distinctJasper Maes2018-10-264-5/+5
| | | |
| * | | Merge branch 'gt-truncate-milestone-title-on-collapsed-sidebar' into 'master'Clement Ho2018-10-291-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Truncate milestone title on collapsed sidebar See merge request gitlab-org/gitlab-ce!22624
| | * | | Truncate milestone title on collapsed sidebarGeorge Tsiolis2018-10-261-1/+1
| | | | |
| * | | | Fix broken "Show whitespace changes" button on MR "Changes" tabJacques Erasmus2018-10-291-6/+6
| | | | |
| * | | | Remove all tables from Pipeline page when there is no job for the PipelineTakuya Noguchi2018-10-293-22/+23
| | | | |
| * | | | Merge branch 'extract-ee-specific-lines-for-issues-and-mr-controllers' into ↵Nick Thomas2018-10-293-4/+34
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Extract ee specific lines for issues and mr controllers See merge request gitlab-org/gitlab-ce!22569
| | * | | | Extract EE-specific lines from MRs controllerextract-ee-specific-lines-for-issues-and-mr-controllersSean McGivern2018-10-262-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move access checks to their own method so they can be overridden, and port an EE-only method to exist in CE too, with an EE-specific override.
| | * | | | Extract EE-specific lines from issues controllerSean McGivern2018-10-241-3/+16
| | | | | |
| * | | | | Merge branch 'ce-7103-show-milestone-dates-within-tooltips' into 'master'Phil Hughes2018-10-292-20/+40
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | CE Backport: Show actual Milestone dates within tooltips for Milestones in Epics sidebar See merge request gitlab-org/gitlab-ce!22653
| | * | | | | Update tooltip for when no date is present, port back EE changesce-7103-show-milestone-dates-within-tooltipsKushal Pandya2018-10-292-20/+40
| | | | | | |
| * | | | | | post merge pipeline and environments statusAlessio Caiazza2018-10-2910-34/+151
| | | | | | |
| * | | | | | Merge branch '34758-create-group-clusters' into 'master'Andreas Brandl2018-10-295-2/+44
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Models and migrations for group level clusters See merge request gitlab-org/gitlab-ce!22307
| | * | | | | | Associate clusters model to groups34758-create-group-clustersThong Kuah2018-10-295-2/+44
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even though we currently only should have one group for a cluster, we allow the flexibility to associate to other groups in the future. This also matches the runner <=> groups association. - Adds Cluster#first_group, aliased to Cluster#group. For the conceivable future, a cluster will have at most one group. - Prevent mixing of group and project clusters. If project type clusters, it should only have projects assigned. Similarly with groups. - Default cluster_type to :project_type. As it's very small table we can set default and null: false in one release.
| * | | | | | Merge branch '52383-ui-filter-assignee-none-any' into 'master'Sean McGivern2018-10-292-3/+11
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add None/Any options for assignee in search bar Closes #52383 See merge request gitlab-org/gitlab-ce!22599
| | * | | | | | Add None/Any options for assignee in search barHeinrich Lee Yu2018-10-262-3/+11
| | | | | | | |
| * | | | | | | Merge branch 'rz_fix_milestone_count' into 'master'Sean McGivern2018-10-294-46/+23
| |\ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixing count on Milestones Closes #50848 See merge request gitlab-org/gitlab-ce!21446
| | * | | | | | Update MR based on Sean's feedbackrz_fix_milestone_countEagllus2018-10-261-1/+1
| | | | | | | |
| | * | | | | | Moving state_count to Milestone model and related testsEagllus2018-10-172-60/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By moving and improving state_count the functions in GlobalMilestone are no longer used.
| | * | | | | | Update code according comment recommendationsEagllus2018-10-163-7/+7
| | | | | | | |
| | * | | | | | Fixing count on MilestonesRonald van Zon2018-10-043-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By adding groups to milestones we can now include them in the count of Open and Closed.
| * | | | | | | Add failure reason for execution timeoutShinya Maeda2018-10-282-2/+4
| | | | | | | |
| * | | | | | | Merge branch '51335-fail-early-when-user-cannot-be-identified' into 'master'Douwe Maan2018-10-261-7/+6
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | User not defined in PostReceive#process_project_changes Closes #51335 See merge request gitlab-org/gitlab-ce!22519
| | * | | | | | | Removes idenfitication by commit from Gitlab::Identifier51335-fail-early-when-user-cannot-be-identifiedTiago Botelho2018-10-251-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before we would need to identify a user when pushing through the GitLab UI. Since this is no longer the case we can remove the identification by commit and instead, use the identify_using_user
| | * | | | | | | User not defined in PostReceive#process_project_changesTiago Botelho2018-10-251-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Gitlab::GitPostReceive#changes_refs is empty user would not get defined and nil would be passed to PostReceive#after_project_changes_hooks which would then throw an error.
| * | | | | | | | Merge branch ↵Douwe Maan2018-10-261-0/+5
| |\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '42790-improve-feedback-for-internal-git-access-checks-timeouts' into 'master' Adds trace of each access check when git push times out Closes #42790 See merge request gitlab-org/gitlab-ce!22265
| | * | | | | | | Adds tracing messages for slow git pushesTiago Botelho2018-10-251-0/+5
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever a git push takes more than 50 seconds the user will receive a trace from each check performed along with their timings
| * | | | | | | Merge branch 'prettify-all-the-things-4' into 'master'Tim Zallmann2018-10-2642-631/+626
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prettify all the things (part 4) See merge request gitlab-org/gitlab-ce!22253
| | * \ \ \ \ \ \ Merge branch 'master' into 'prettify-all-the-things-4'prettify-all-the-things-4Mike Greiling2018-10-26440-5400/+7396
| | |\ \ \ \ \ \ \ | | | | |_|_|_|/ / | | | |/| | | | | | | | | | | | | | # Conflicts: # app/assets/javascripts/sidebar/components/time_tracking/collapsed_state.vue
| | * | | | | | | Prettify sidebar modulesMike Greiling2018-10-1714-254/+258
| | | | | | | | |
| | * | | | | | | Prettify registry and reports modulesMike Greiling2018-10-1715-291/+262
| | | | | | | | |
| | * | | | | | | Prettify protected_branches and protected_tags modulesMike Greiling2018-10-174-40/+68
| | | | | | | | |
| | * | | | | | | Prettify performance_bar notes and profile modulesMike Greiling2018-10-1710-142/+134
| | | | | | | | |
| * | | | | | | | Merge branch 'winh-split-merge-request-widget-dependencies' into 'master'Mike Greiling2018-10-269-83/+50
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve circular dependencies in merge request widget See merge request gitlab-org/gitlab-ce!22605
| | * | | | | | | | Resolve circular dependencies in merge request widgetwinh-split-merge-request-widget-dependenciesWinnie Hellmann2018-10-259-83/+50
| | | | | | | | | |
| * | | | | | | | | Resolve "No longer require a deploy to start Prometheus monitoring"Peter Leitzen2018-10-262-3/+7
| | | | | | | | | |
| * | | | | | | | | Update content of visible tooltipsWinnie Hellmann2018-10-261-0/+8
| | | | | | | | | |
| * | | | | | | | | Automatically navigate to last board visitedBrett Walker2018-10-266-1/+121
| | |_|_|_|_|/ / / | |/| | | | | | |
| * | | | | | | | Merge branch '52545-guest-create-issue-in-group-board' into 'master'Sean McGivern2018-10-264-10/+15
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Adding issues from group/project board is not allowed for project-level users" See merge request gitlab-org/gitlab-ce!22557
| | * | | | | | | | Extract complex condition to computed propHeinrich Lee Yu2018-10-262-1/+4
| | | | | | | | | |
| | * | | | | | | | Simplify query and add tests for authorization changeHeinrich Lee Yu2018-10-261-7/+3
| | | | | | | | | |
| | * | | | | | | | Update boards issue creation authorizationHeinrich Lee Yu2018-10-261-1/+8
| | | | | | | | | |