summaryrefslogtreecommitdiff
path: root/app/controllers/dashboard_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42GitLab Bot2022-02-181-0/+4
|
* Add latest changes from gitlab-org/gitlab@14-6-stable-eev14.6.0-rc42GitLab Bot2021-12-201-0/+2
|
* Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42GitLab Bot2021-11-181-1/+1
|
* Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot2021-05-191-2/+1
|
* Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42GitLab Bot2021-02-181-3/+16
|
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-211-0/+4
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-0/+1
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-301-1/+2
|
* Consider array params on rendering MR list on dashboardIgor2019-04-041-1/+4
| | | | | This fixes the bug, when approver filter is provided, but dashboard asks to enter any filter
* Save sorting preference for Issues/MRs in BEMario de la Ossa2019-01-281-2/+1
| | | | | | In order to let users' sorting preferences transfer between devices, we save the preference for issues and MRs (one preference for issues, one for MRs) in the backend inside the UserPreference object
* Merge branch 'security-fix-pat-web-access' into 'master'Cindy Pallares2018-11-281-0/+3
| | | | | [master] Resolve "Personal access token with only `read_user` scope can be used to authenticate any web request" See merge request gitlab/gitlabhq!2583
* Refactor whitelisting of filter paramsHeinrich Lee Yu2018-11-151-12/+4
|
* Fix testsHeinrich Lee Yu2018-11-131-0/+3
|
* Apply new search bar on issues and merge request dashboardsHeinrich Lee Yu2018-11-131-3/+4
|
* Refactor EventFilter and increase its test coverage1801-allow-event_filter-to-be-set-in-the-urlRémy Coutable2018-09-261-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable frozen string in app/controllers/**/*.rbrepo-forks/gitlab-ce-frozen-string-app-controllergfyoung2018-09-181-0/+2
| | | | | | | | | | | | 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.
* Rails5 fix expected: 0 times with any arguments received: 1 time with ↵Jasper Maes2018-06-201-1/+1
| | | | arguments: DashboardController
* Fixed dashboard filtering testsJan Provaznik2018-04-031-3/+8
|
* Check if at least one filter is set on dashboardJan Provaznik2018-04-031-0/+14
| | | | | | | | | | When listing issues and merge requests on dasboard page, make sure that at least one filter is enabled. User's id is used in search autocomplete widget instead of username, which allows presetting user in filter dropdowns. Related to #43246
* Resolve "DashboardController#activity.json is slow due to SQL"Francisco Javier López2017-11-061-0/+2
|
* Use a specialized class for querying eventsYorick Peterse2017-08-101-3/+3
| | | | | | | | | | | | | | | This changes various controllers to use the new EventCollection class for retrieving events. This class uses a JOIN LATERAL query on PostgreSQL to retrieve queries in a more efficient way, while falling back to a simpler / less efficient query for MySQL. The EventCollection class also includes a limit on the number of events to display to prevent malicious users from cycling through all events, as doing so could put a lot of pressure on the database. JOIN LATERAL is only supported on PostgreSQL starting with version 9.3.0 and as such this optimisation is only used when using PostgreSQL 9.3 or newer.
* Remove some deprecated methodstc-improve-project-api-perfToon Claes2017-05-301-1/+1
| | | | | To avoid the use of slow queries, remove some deprecated methods and encourage the use of ProjectFinder to find projects.
* Consistently display last push event widgetDouwe Maan2017-05-251-2/+0
|
* Present group and dashboard MR list without grouping by projectOswaldo Ferreira2017-01-271-0/+5
|
* Restrict starred projects to viewable onesSean McGivern2016-05-101-1/+1
| | | | | | | | | | | | | | | `User#starred_projects` doesn't perform any visibility checks. This has a couple of problems: 1. It assumes a user can always view all of their starred projects in perpetuity (project not changed to private, access revoked, etc.). 2. It assumes that we'll only ever allow a user to star a project they can view. This is currently the case, but bugs happen. Add `User#viewable_starred_projects` to filter the starred projects by those the user either has explicit access to, or are public or internal. Then use that in all places where we list the user's starred projects.
* Fix an issue causing the Dashboard/Milestones page to be blankRémy Coutable2016-03-231-28/+1
|
* Dedupe labels in labels selector in Dashboard pagesfix/14418Rémy Coutable2016-03-181-2/+9
| | | | | Also moved useless helper methods and directly to the DashboardController.
* Updated controller with before_actionPhil Hughes2016-03-181-3/+1
| | | | Fixed other issues based on feedback
* Fixes issue on dashboard issuesPhil Hughes2016-03-181-0/+18
| | | | They would try to load JSON from a project even though it isn't a single project
* Don't pluck project IDs for eventsYorick Peterse2016-01-261-3/+3
| | | | | By instead using a sub-query we save ourselves the overhead of loading any data into memory only to pass it on to another query.
* Refactor duplciate code for groups_controller.rb and ↵Dmitriy Zaporozhets2015-11-171-17/+3
| | | | | | slack_service/note_message.rb Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix a bug when milestone/label filter was empty for dashboard issues pageDmitriy Zaporozhets2015-11-161-0/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Clean up overlap between dashboard and explore.Douwe Maan2015-09-081-19/+0
| | | | | - 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.
* Split starred projects list and activity in same way like we did with your ↵Dmitriy Zaporozhets2015-09-021-2/+9
| | | | | | projects Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Dashboard activity as separate pageDmitriy Zaporozhets2015-08-251-7/+15
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* projects doesn't seem to be a valid action in this controllerEaden2015-05-161-2/+2
|
* Add a page title to every page.Douwe Maan2015-04-301-3/+3
|
* Fixed the Rails/ActionFilter copJeroen van Baarsen2015-04-201-2/+2
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Use same constant for amount of items per pageDmitriy Zaporozhets2015-03-121-2/+2
|
* Remove projects page from dashboardDmitriy Zaporozhets2015-03-101-22/+0
|
* Add project filter by visibility and tag to explore pageDmitriy Zaporozhets2015-03-101-1/+0
|
* Remove group rendering from dashboard pageDmitriy Zaporozhets2015-03-101-6/+0
|
* Improve projects listDmitriy Zaporozhets2015-03-041-6/+2
| | | | | | | * Add search filtering for group projects * Show all user projects on dashboard * Refactor projects list into one view * Hide big list of projects with 'Show all' button
* Reduce amount of sql queries on dashboard projects pageDmitriy Zaporozhets2015-03-021-1/+1
|
* Fix event loading with associationsDmitriy Zaporozhets2015-02-181-4/+11
|
* DB performance improvements to GitLabDmitriy Zaporozhets2015-02-181-6/+9
|
* Refactor sorting in projectDmitriy Zaporozhets2015-02-051-1/+1
|
* Refactor issuable list pagesDmitriy Zaporozhets2014-12-241-6/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor issues and merge requests listsDmitriy Zaporozhets2014-12-231-8/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>