summaryrefslogtreecommitdiff
path: root/spec/controllers/dashboard
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot2020-09-191-3/+33
|
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-201-9/+0
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-203-8/+47
|
* Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot2020-06-186-30/+7
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-2/+49
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-011-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-311-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-111-49/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-101-2/+49
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-071-8/+25
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-064-13/+13
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-051-0/+9
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-181-2/+2
|
* Add controller concern for paginated collections65988-optimize-snippet-listingsMarkus Koller2019-09-102-22/+23
| | | | | | We had similar code in a few places to redirect to the last page if the given page number is out of range. This unifies the handling in a new controller concern and adds usage of it in all snippet listings.
* Add SortingPreference concernGeorge Koltsov2019-08-211-0/+8
| | | | | | | Sorting preference functionality has been extracted from `IssuableCollections` to a new `SortingPreference` concern in order to reuse this functionality in projects (and groups in the future).
* Remove code related to object hierarchy in MySQLremove-nested-groups-checksHeinrich Lee Yu2019-07-251-1/+1
| | | | | These are not required because MySQL is not supported anymore
* Cleaned up tests for group milestonesblunceford2019-07-171-14/+3
|
* Fix bug with closed milestones in dashboardblunceford2019-07-161-0/+22
|
* Set default project sort method prior to initial sort on page loadingDavid Palubin2019-07-041-1/+17
|
* Eliminate N+1 queries in Dashboard::TodosControllerStan Hu2019-06-241-0/+28
| | | | | | | This appears to bring down the number of SQL queries on GitLab.com for my Todos page from 672 to 100. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/43042
* Add some frozen string to spec/**/*.rbgfyoung2019-04-155-0/+10
| | | | | | | | | | Adds frozen string to the following: * spec/bin/**/*.rb * spec/config/**/*.rb * spec/controllers/**/*.rb xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-095-21/+71
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"Andreas Brandl2019-04-055-71/+21
| | | This reverts merge request !26823
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-055-21/+71
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* Autocorrect with RSpec/ExampleWording copThong Kuah2019-04-051-1/+1
| | | | | | | - rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only"
* Fix undefined variable error on json project viewsAlejandro Rodríguez2019-03-181-0/+26
| | | | | | This mistake seems to have always been there, but it only resulted in errors on the `/explore*.json` since they were the one that _actually_ relied on the local variables.
* Merge branch 'security-2773-milestones-fix' into 'master'Yorick Peterse2019-03-041-1/+1
|\ | | | | | | | | [master] Check issue milestone availability See merge request gitlab/gitlabhq!2788
| * Check issue milestone availabilityJarka Košanová2019-02-141-1/+1
| | | | | | | | | | | | | | | | | | | | Add project when creating milestone in specs We validate milestone is from the same project/parent group as issuable -> we need to set project in specs correctly Improve methods names and specs organization
* | Exclude public group milestones from countsHeinrich Lee Yu2019-02-141-4/+5
|/ | | | Only count milestones in groups that the user is a member of
* Adds milestone searchJacopo2019-01-241-0/+18
| | | | | | | Adds to search ILIKE search for milestones title in: - Milestones dashboard - Group milestones page - Project milestones page
* Add project milestone link to dashboard milestonesccr/49289_milestone_linkFatih Acet2018-12-201-1/+1
| | | | | | One of the steps to deprecate dashboard milestones. Links do dashboard milestone are replaced with links for each project milestone
* Update specs to rails5 formatblackst0ne-convert-specs-rails5-styleblackst0ne2018-12-193-14/+14
| | | | | | | | | | Updates specs to use new rails5 format. The old format: `get :show, { some: params }, { some: headers }` The new format: `get :show, params: { some: params }, headers: { some: headers }`
* Merge branch 'security-fix-pat-web-access' into 'master'Cindy Pallares2018-11-281-0/+5
| | | | | [master] Resolve "Personal access token with only `read_user` scope can be used to authenticate any web request" See merge request gitlab/gitlabhq!2583
* Merge branch 'security-private-group' into 'master'Cindy Pallares2018-11-281-0/+10
| | | | | [master] Fixed read private group names See merge request gitlab/gitlabhq!2589
* Add test for the milestone countEagllus2018-10-041-0/+9
|
* Filter group milestones based on user membershipChantal Rollison2018-09-131-3/+5
|
* Add group milestones to dashboard milestone pageChantal Rollison2018-08-031-1/+18
|
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-112-3/+3
|
* Fix filter on `dashboard/groups` & `explore/groupsBob Van Landuyt2018-01-221-0/+20
| | | | | | When searching we would limit the scope of ancestors to load because the filter would be applied to the ancestors. Instead, we need to load _all_ ancestors for matching projects.
* Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specsblackst0ne2017-12-222-2/+2
|
* Fix access to the final page of todosSean McGivern2017-11-091-2/+2
| | | | | | | | | The todos page limit is 20, and both that and a user's pending todo count are integers. Using integer division means that the result's floor will be taken, defeating the point of the later call to `#ceil`. So we need to convert one side of the division to a float first, otherwise the last page won't be treated as available.
* Refactor `have_http_status` into `have_gitlab_http_status` in the specsJacopo2017-10-202-8/+8
|
* Merge branch 'master' into bvl-group-treesBob Van Landuyt2017-10-101-1/+25
|\
| * Save a query on the todos index pagesave-a-query-on-todos-with-no-filtersSean McGivern2017-10-041-1/+25
| | | | | | | | | | | | When there are no filters, we can get the total todos count from the cached count on the user object, instead of performing a DB query. This query takes about 80ms for me on GitLab.com.
* | Reuse the groups tree for explore and dashboard.Bob Van Landuyt2017-10-041-15/+9
| |
* | Use same response-body in groups-dashboard as we do for group-homeBob Van Landuyt2017-10-041-0/+29
|/
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-023-6/+6
|
* Merge branch '33303-404-for-unauthorized-project' into 'security-9-3'Sean McGivern2017-07-191-0/+30
| | | | | [9.3 security fix] Renders 404 if given project is not readable by the user on Todos dashboard See merge request !2118
* Fix dashboard labels dropdownNick Thomas2017-07-071-0/+25
|
* Fixed dashboard milestone tabs not loadingdashboard-milestone-tabs-loading-asyncPhil Hughes2017-06-091-0/+38
| | | | Closes #33477