Commit graph

16 commits

Author SHA1 Message Date
Zeger-Jan van de Weg
469844c4f9
Update comments about N + 1 Gitaly calls
To make sure all known issues are linked to the correct epic, I've gone
through the code base, and updated the comments where required.
2019-04-09 17:21:16 +02:00
Heinrich Lee Yu
91f235df08 Fix tests 2018-11-13 15:27:42 +08:00
gfyoung
73322a0e55 Enable frozen string in app/controllers/**/*.rb
Enables frozen string for the following:

* app/controllers/*.rb
* app/controllers/admin/**/*.rb
* app/controllers/boards/**/*.rb
* app/controllers/ci/**/*.rb
* app/controllers/concerns/**/*.rb

Partially addresses #47424.
2018-09-18 21:22:45 -07:00
Elias Werberich
2308ab7a9f 'Assigned Issues' and 'Assigned Merge Requests' as dashboard user choices 2018-03-27 12:16:12 +00:00
Zeger-Jan van de Weg
185f567d58 Revert "Merge branch 'zj-n-1-root-show' into 'master'"
This reverts merge request !16968
2018-02-20 15:07:54 +00:00
Zeger-Jan van de Weg
73bc9d4eaf
Don't allow N +1 calls from Root#show 2018-02-07 12:29:05 +01:00
Mario de la Ossa
eaada9d706 use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
Andrew Newdigate
64d7ec0a9e Detect n+1 issues involving Gitaly 2017-09-19 10:55:37 +00:00
Rémy Coutable
b50b5a4461
Fix the redirect to custom home page URL and move it to RootController
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-02-27 16:51:23 +01:00
Padilla, Gerald
685d67cc3f Remove flash warning from login page 2017-01-30 20:05:04 -06:00
Elias Werberich
c3a98d8fcc Implementing 'Groups View' and 'TODOs View' as options for dashboard preferences.
Fixes #14585.
2016-03-24 19:59:54 +01:00
Stan Hu
0383afc66a Add user preference to view project activity and starred project activity as default dashboard
Closes #2662
2015-09-26 08:46:05 -07:00
Douwe Maan
be59f4338f Fix RootController 2015-09-09 09:25:49 +01:00
Douwe Maan
5d785457db Clean up overlap between dashboard and explore.
- Split up SnippetsController into separate dashboard and explore sections.
- Use consistent page titles, header titles and sidebars between dashboard and explore sections when signed in or not.
2015-09-08 14:49:20 +01:00
Robert Speicher
8ae13c7a51 Refactor RootController 2015-06-13 17:59:13 -04:00
Robert Speicher
94d3c1433d Add RootController
This controller is now the target for `root_url`. It sub-classes
DashboardController so we can render the old default without a redirect
if the user hasn't customized their dashboard location.
2015-06-13 17:59:11 -04:00