summaryrefslogtreecommitdiff
path: root/spec/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Allow usage of any_projects? with an Arrayfix-any-projects-arrayYorick Peterse2017-08-151-3/+9
| | | | | | | In some cases we pass an Array to this method which would previously fail since Array does not respond to "limit_value". Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/3646
* Use Prev/Next pagination for exploring projectspagination-projects-exploreYorick Peterse2017-08-141-0/+23
| | | | | | | | | | This changes the pagination of the "Explore" pages so they use a simpler pagination system that only shows "Prev" and "Next" buttons. This removes the need for getting the total number of rows to display, a process that can easily take up to 2 seconds when browsing through a large list of projects. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/27390
* Merge branch 'group-milestone-references-system-notes' into 'master'Robert Speicher2017-08-072-40/+46
|\ | | | | | | | | | | | | Support group milestone references Closes #34778 See merge request !13289
| * Support references to group milestonesSean McGivern2017-08-072-40/+46
| | | | | | | | | | Group milestones can only be referred to by name, not IID. They also do not support cross-project references.
* | Merge branch 'dashboard-projects-controller-query-performance' into 'master'Sean McGivern2017-08-071-0/+44
|\ \ | | | | | | | | | | | | Improve various parts of Dashboard::ProjectsController See merge request !13319
| * | Improve checking if projects would be returnedYorick Peterse2017-08-071-0/+44
| |/ | | | | | | | | | | | | | | | | | | In various places we check if the same relation would return projects. This is done using "any?" which will run a COUNT query with any LIMIT/OFFSET values still applied. To work around all this we introduce 2 helper methods that take care of doing the right thing. This leads to the produced queries being simpler and fewer queries being executed.
* | Add a Circuitbreaker for storage pathsBob Van Landuyt2017-08-041-0/+20
|/
* Resolve "Specific Async Script Loading by using a Page Variable"Tim Zallmann2017-08-031-0/+13
|
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-0222-50/+50
|
* Merge branch 'rs-empty_project-cleanup' into 'master'Rémy Coutable2017-08-027-10/+10
|\ | | | | | | | | Ensure all project factories use `:repository` trait or `:empty_project` See merge request !13238
| * Ensure all project factories use `:repository` trait or `:empty_project`rs-empty_project-cleanupRobert Speicher2017-08-017-10/+10
| |
* | Add filtered search to group issue dashboardClement Ho2017-08-021-0/+34
|/
* Rename many path_with_namespace -> full_pathGabriel Mazetto2017-08-014-8/+8
|
* Fix group milestone path on issuable sidebarfix-group-milestone-link-in-issuable-sidebarSean McGivern2017-07-311-10/+43
|
* Fix diff commenting results just after changing view35695-comment-appears-in-a-wrong-place-after-changing-diff-view-to-inlineSean McGivern2017-07-281-2/+15
| | | | | | | | | When you change the diff view (inline / side-by-side), we set a cookie based on that new view. When you add a comment, we choose the style to use in the response based on that cookie. However, when you have just changed diff style, the request cookie will contain the old value, so we should use the view param instead.
* Remove superfluous type defs in specsKeifer Furzland2017-07-271-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Resolve "Lazy load images on the Frontend"Tim Zallmann2017-07-242-34/+21
|
* Support both internal and external issue trackersJarka Kadlecova2017-07-241-1/+7
|
* Wrong data type when testing webhooksAlexander Randa2017-07-201-0/+20
|
* Merge branch '34930-fix-edited-by' into 'master'Sean McGivern2017-07-191-0/+20
|\ | | | | | | | | | | | | Fix issue detail if user who last edited an issue was deleted Closes #34930 See merge request !12933
| * Use Ghost user when edited_by, merged_by deleted34930-fix-edited-byJarka Kadlecova2017-07-191-0/+20
| |
* | Merge branch 'authentiq-updates' into 'master'Rémy Coutable2017-07-191-1/+1
|\ \ | | | | | | | | | | | | Added authentiq provider to tests and updated documentation, gem and config file. See merge request !12952
| * | Added authentiq provider to tests and updated documentation, gem and config ↵Alexandros Keramidas2017-07-181-1/+1
| | | | | | | | | | | | file.
* | | Update specs for new upload pathBob Van Landuyt2017-07-184-11/+11
| |/ |/|
* | Merge branch 'fixes-for-internal-auth-disabled' into 'master'Sean McGivern2017-07-142-3/+3
|\ \ | | | | | | | | | | | | Fixes needed when GitLab sign-in is not enabled See merge request !12491
| * | Fixes needed when GitLab sign-in is not enabledRobin Bobbitt2017-07-132-3/+3
| |/ | | | | | | | | | | | | | | | | When sign-in is disabled: - skip password expiration checks - prevent password reset requests - don’t show Password tab in User Settings - don’t allow login with username/password for Git over HTTP requests - render 404 on requests to Profiles::PasswordsController
* | Merge branch 'sh-fix-award-emoji-spec' into 'master'Rémy Coutable2017-07-111-2/+2
|\ \ | | | | | | | | | | | | | | | | | | Fix spec/helpers/award_emoji_helper_spec.rb by using `iid` instead of `id` Closes gitlab-ee#2890 See merge request !12770
| * | Fix spec/helpers/award_emoji_helper_spec.rb by using `iid` instead of `id`sh-fix-award-emoji-specStan Hu2017-07-101-2/+2
| |/ | | | | | | Closes gitlab-org/gitlab-ee#2890
* | Support multiple Redis instances based on queue typePaul Charlton2017-07-112-2/+2
|/
* Resolve "Inconsistent location of members page between groups and projects"Tim Zallmann2017-07-071-6/+0
|
* Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-056-23/+23
|
* Use stub_application_setting when testing ApplicationHelper#support_url34648-use-stub_application_setting-to-test-support_urlRémy Coutable2017-07-041-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch '34116-milestone-filtering-on-group-issues' into 'master'Sean McGivern2017-07-031-0/+36
|\ | | | | | | | | | | | | Use correct milestones for filtering on Group Issues Closes #34116 See merge request !12374
| * Add tests for MilestonesHelper#milestones_filter_dropdown_pathTakuya Noguchi2017-06-261-0/+36
| |
* | New navigation breadcrumbsPhil Hughes2017-06-301-1/+1
| |
* | Make finders responsible for counter cache keysSean McGivern2017-06-301-24/+22
| |
* | Cache total issue / MR counts for project by user typeSean McGivern2017-06-301-6/+43
| | | | | | | | | | | | This runs a slightly slower query to get the issue and MR counts in the navigation, but caches by user type (can see all / none confidential issues) for two minutes.
* | Strip trailing whitespace in relative submodule URLdm-relative-submodule-url-trailing-whitespaceDouwe Maan2017-06-281-0/+5
| |
* | Merge branch 'pat-alert-when-signin-disabled' into 'master'Rémy Coutable2017-06-272-0/+141
|\ \ | | | | | | | | | | | | Provide hint to create a personal access token for Git over HTTP See merge request !12105
| * | Provide hint to create a personal access token for Git over HTTPRobin Bobbitt2017-06-262-0/+141
| |/ | | | | | | | | | | If internal auth is disabled and user is not an LDAP user, present the user with an alert to create a personal access token if he does not have one already.
* | Tag a spec as :nested_groups since it fails on MySQLfix-nested-group-spec-on-mysqlRémy Coutable2017-06-261-1/+1
|/ | | | | | | This was broken by https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12322. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix breadcrumb orderMichael Kozono2017-06-221-0/+13
|
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-2113-92/+92
|
* Fix avatar images in pipeline emailsfix-email-avatarsSean McGivern2017-06-201-31/+60
|
* Don't display comment on unchanged line on both sides in parallel diffDouwe Maan2017-06-191-1/+10
|
* Merge branch '23998-blame-age-map' into 'master'Annabel Dunstone Gray2017-06-151-0/+59
|\ | | | | | | | | | | | | Add age color mapping to blame view Closes #23998 See merge request !7198
| * Add blame view age mapJeff Stubler2017-06-141-0/+59
| |
* | Correct RSpec/SingleLineHook cop offensesRobert Speicher2017-06-142-2/+7
| |
* | Merge branch 'help-landing-page-customizations' into 'master'Douwe Maan2017-06-141-0/+17
|\ \ | | | | | | | | | | | | Allow more customization to Help landing page See merge request !11878
| * | Help landing page customizationsRobin Bobbitt2017-06-141-0/+17
| |/