summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add project pipelines pathsdispatcher-import-projectClement Ho2018-02-215-22/+24
|
* Use dynamic imports for project dispatcher pathsClement Ho2018-02-218-53/+15
|
* Merge branch ↵Rémy Coutable2018-02-213-5/+23
|\ | | | | | | | | | | | | | | | | '40668-pages-domain-api-returns-404-when-using-a-specific-domain' into 'master' Resolve "Pages Domain API returns 404 when using a specific domain" Closes #40668 See merge request gitlab-org/gitlab-ce!17206
| * Fix get a single pages domain when project path contains a periodTravis Miller2018-02-193-5/+23
| |
* | Merge branch 'patch-28' into 'master'Rémy Coutable2018-02-211-2/+2
|\ \ | | | | | | | | | | | | emoji.codes is now emojicopy.com See merge request gitlab-org/gitlab-ce!17212
| * | emoji.codes is now emojicopy.comNorike Abe2018-02-191-2/+2
| | |
* | | Merge branch 'refactor-issuable-finder-to-use-inheritance' into 'master'Rémy Coutable2018-02-219-78/+111
|\ \ \ | | | | | | | | | | | | | | | | Refactor IssuableFinder to extract model-specific logic See merge request gitlab-org/gitlab-ce!17236
| * | | Refactor IssuableFinder to extract model-specific logicrefactor-issuable-finder-to-use-inheritanceSean McGivern2018-02-219-78/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By extracting a new `filter_items` method, we can override that in the IssuesFinder and MergeRequestsFinder separately, so we don't need checks that the model is the correct one, because we can just use the class we're in to know that. We can do the same for the VALID_PARAMS constant, by making it a class method.
* | | | Merge branch 'improve-codequality-job' into 'master'Grzegorz Bizon2018-02-213-11/+29
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Merge branch 'improve-codequality-job' into 'master' See merge request gitlab-org/gitlab-ce!17263
| * | | | Merge branch 'improve-codequality-job' into 'master'improve-codequality-jobGrzegorz Bizon2018-02-213-11/+29
| | | | | | | | | | | | | | | | | | | | | | | | | Simplify the codequality job See merge request gitlab-org/gitlab-ee!4602
* | | | | Merge branch 'ce-3776-ci-view-for-sast' into 'master'Phil Hughes2018-02-217-16/+23
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | CE port of changes made to the pipeline bundle in EE - Fixes typos and adds i18n See merge request gitlab-org/gitlab-ce!17176
| * | | | | CE port of changes made to the pipeline bundle in EE - Fixes typos and adds i18nce-3776-ci-view-for-sastFilipa Lacerda2018-02-207-16/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport common class name for the tab content Backport more changes
* | | | | | Merge branch 'rebalance-test-job-nodes-28-2' into 'master'Rémy Coutable2018-02-211-63/+63
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | Reduce Spinach parallelization to 2 nodes and increase RSpec's to 28 nodes See merge request gitlab-org/gitlab-ce!16713
| * | | | | Reduce Spinach parallelization to 2 nodes and increase RSpec's to 28 nodesTakuya Noguchi2018-02-011-63/+63
| | | | | |
* | | | | | Merge branch '41461-project-members-slow-due-to-sql' into 'master'Yorick Peterse2018-02-212-12/+50
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify database queries in MembersFinder and improve performance for Projects::ProjectMembersController#index Closes #41461 See merge request gitlab-org/gitlab-ce!17190
| * | | | | | More readable SQL query.Andreas Brandl2018-02-211-3/+7
| | | | | | |
| * | | | | | Fix MembersFinder to never include group invitees.41461-project-members-slow-due-to-sqlAndreas Brandl2018-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was the default behavior, because all members with `user_id` set to `null` were excluded.
| * | | | | | Fix N+1 query problem for users on members view.Andreas Brandl2018-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For each member being rendered on Projects::ProjectMembersController#index, there was a query to the users table to retrieve the corresponding user: ``` SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 ```
| * | | | | | Add changelog.Andreas Brandl2018-02-201-0/+5
| | | | | | |
| * | | | | | Use DISTINCT ON and translate to MySQL.Andreas Brandl2018-02-201-16/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Realized window functions are not available in older MySQL versions either. Falling back to DISTINCT ON for postgresql and a convoluted translation for MySQL.
| * | | | | | Simplify database queries in MembersFinder.Andreas Brandl2018-02-201-11/+22
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Closes #41461.
* | | | | | Merge branch '42877-snippets-dashboard-slow' into 'master'Yorick Peterse2018-02-215-14/+67
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve query performance for Dashboard::SnippetsController#index Closes #42877 See merge request gitlab-org/gitlab-ce!17088
| * | | | | | Rename use_conditions_only option to use_where_in.42877-snippets-dashboard-slowAndreas Brandl2018-02-202-4/+4
| | | | | | |
| * | | | | | Avoid manual SQL for visibility level check.Andreas Brandl2018-02-201-1/+1
| | | | | | |
| * | | | | | Cleanup access level shortcut.Andreas Brandl2018-02-203-50/+18
| | | | | | |
| * | | | | | Simplify down migration.Andreas Brandl2018-02-201-1/+1
| | | | | | |
| * | | | | | Add changelog.Andreas Brandl2018-02-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #42877.
| * | | | | | Allow choice between #where or #from.Andreas Brandl2018-02-202-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Immediately using #from here requires a lot of changes in other finders (e.g. IssuableFinder, TodosFinder). In all places where we use #merge, this goes completely the wrong way when passed in a relation that was built with `#from(...)`: The original query's FROM part gets completely replaced. This avoids changing all other places and focuses on improving SnippetFinder with the downside of two (small) codepaths to do the same thing.
| * | | | | | Don't mess with table aliases.Andreas Brandl2018-02-201-4/+4
| | | | | | |
| * | | | | | Remove duplication in Project methods.Andreas Brandl2018-02-202-38/+21
| | | | | | |
| * | | | | | Push feature-related query part up.Andreas Brandl2018-02-202-2/+30
| | | | | | |
| * | | | | | Add partial index on projects for index-only scans.Andreas Brandl2018-02-202-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This helps with queries that get project ids based on the - comparably rare - visibility levels 10 and 20. For these, postgres can now leverage the partial index for a index-only scan to improve performance. Example queries: SELECT id FROM projects WHERE visibility_level IN (10,20) SELECT id FROM projects WHERE visibility_level IN (10) For MySQL, this results in a full index on id because MySQL omits the WHERE clause. That is, the index is a duplicate of the primary key basically.
| * | | | | | Shortcut when all levels visible.Andreas Brandl2018-02-203-1/+34
| | | | | | |
| * | | | | | Replace OR clause with UNION.Andreas Brandl2018-02-201-1/+7
| |/ / / / /
* | | | | | Merge branch 'move-project-pages-to-rspec' into 'master'Rémy Coutable2018-02-213-241/+202
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move project pages spinach tests to Rspec See merge request gitlab-org/gitlab-ce!17256
| * | | | | | Move project pages spinach tests to RspecSemyon Pupkov2018-02-213-241/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/issues/23036
* | | | | | | Merge branch 'more-dispatcher-refactoring' into 'master'Jacob Schatz2018-02-2119-119/+35
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More dispatcher refactoring See merge request gitlab-org/gitlab-ce!17232
| * | | | | | | use DOMContentLoaded event over jQuery .ready to ensure execution ordermore-dispatcher-refactoringMike Greiling2018-02-211-1/+1
| | | | | | | |
| * | | | | | | migrate admin:* to static bundleMike Greiling2018-02-212-4/+1
| | | | | | | |
| * | | | | | | migrate omniauth_callbacks:* to static bundleMike Greiling2018-02-212-8/+1
| | | | | | | |
| * | | | | | | migrate sessions:* to static bundleMike Greiling2018-02-212-8/+1
| | | | | | | |
| * | | | | | | migrate projects:clusters:* to static bundleMike Greiling2018-02-215-16/+14
| | | | | | | |
| * | | | | | | migrate dashboard:activity to static bundleMike Greiling2018-02-212-6/+1
| | | | | | | |
| * | | | | | | migrate projects:merge_requests:show to static bundleMike Greiling2018-02-211-2/+0
| | | | | | | |
| * | | | | | | migrate projects:releases:edit to static bundleMike Greiling2018-02-212-6/+1
| | | | | | | |
| * | | | | | | migrate projects:services:edit to static bundleMike Greiling2018-02-212-7/+2
| | | | | | | |
| * | | | | | | migrate projects:tags:new to static bundleMike Greiling2018-02-212-7/+2
| | | | | | | |
| * | | | | | | migrate projects:snippets:* to static bundleMike Greiling2018-02-214-21/+4
| | | | | | | |
| * | | | | | | migrate snippets:show to static bundleMike Greiling2018-02-212-11/+5
| | | | | | | |
| * | | | | | | migrate snippets:* to static bundleMike Greiling2018-02-213-22/+2
| |/ / / / / /