summaryrefslogtreecommitdiff
path: root/spec/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Enable RuboCop Style/RegexpLiteralTakuya Noguchi2018-02-013-4/+4
|
* Make default_avatar return a full path.Felix Geyer2018-01-281-2/+2
| | | | | | | | | Callers expect a URL. This fixes the avatars in commit lists when a user has no avatar and Gravatar is disabled. Closes #38715
* Default to HTTPS for all Gravatar URLsdefault-to-https-for-gravatar-urlsAchilleas Pipinellis2018-01-251-1/+1
| | | | | If using gravatar.com, both plain_url and ssl_url in settings are now served via HTTPS. Make this the default.
* fix spacing and wrap method params in parensMike Greiling2018-01-221-3/+3
|
* add test to can_change_visibility_level? methodMike Greiling2018-01-221-4/+14
|
* Merge branch '41247-timestamp' into 'master'Robert Speicher2018-01-181-3/+3
|\ | | | | | | | | | | | | Use last_edited_at instead of updated_at for displaying issuable last change Closes #41247 See merge request gitlab-org/gitlab-ce!16406
| * Return last edited time instead of update time41247-timestampJan Provaznik2018-01-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | For issuable models we keep two timestamps: updated_at which is updated whenever any model attribute is changed, last_edited_at which is changed when only title or description is changed. In UI bellow description we display who and when updated the item. But last_edited_by (used for 'who') is mistakenly combined with updated_at (when), last_edited_at should be used instead. Closes #41247
* | Merge branch 'issue_37143_2' into 'master'Sean McGivern2018-01-181-0/+29
|\ \ | |/ |/| | | | | | | | | Remove unnecessary query from labels dropdown Closes #37143 See merge request gitlab-org/gitlab-ce!16520
| * Remove unnecessary query from labels filterFelipe Artur2018-01-181-0/+29
| |
* | Only highlight search results under the highlighting size limit41666-cannot-search-with-keyword-mergeSean McGivern2018-01-161-0/+7
|/ | | | | | We should use this limit everywhere, but especially in project search results, where we could be highlighting very long single lines. (Typical examples: minified JavaScript, and JSON data files.)
* Fix changes dropdown ellipsis working across browserschanges-dropdown-ellipsisPhil Hughes2018-01-091-0/+10
| | | | Closes #41561
* Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specsblackst0ne2017-12-222-5/+5
|
* fix the commit diff discussion sending the wrong urlMicaël Bergeron2017-12-181-2/+12
| | | | it should now send you to the merge request diff path scoped to the commit.
* Merge branch 'rc/use-factory_bot_rails' into 'master'Robert Speicher2017-12-151-3/+3
|\ | | | | | | | | Replace factory_girl_rails with factory_bot_rails See merge request gitlab-org/gitlab-ce!15919
| * Replace factory_girl_rails with factory_bot_railsrc/use-factory_bot_railsRémy Coutable2017-12-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands: ``` grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|" grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|" ``` Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch 'lfs-badge' into 'master'Douwe Maan2017-12-151-0/+1
|\ \ | |/ |/| | | | | | | | | Added LFS badge to indicate LFS tracked files Closes #15567 See merge request gitlab-org/gitlab-ce!15845
| * spec fixesPhil Hughes2017-12-141-1/+1
| |
| * fixed failing testsPhil Hughes2017-12-111-0/+1
| |
* | Merge branch ↵Robert Speicher2017-12-121-8/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 'tmlee/gitlab-ce-28004-consider-refactoring-member-view-by-using-presenter' into 'master' Refactor member view by using presenter Closes #28004 See merge request gitlab-org/gitlab-ce!15715
| * | Refactor member view by using presenterTM Lee2017-12-111-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Create MemberPresenter alongside with GroupMemberPresenter and ProjectMemberPresenter - Make Member model Presentable - Move action_member_permission from MembersHelper into the MemberPresenter - Added rspec using double, separate specs for GroupMemberPresenter and ProjectMemberPresenter Fixes #28004. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Hide issues and MRs in labels list if disabledsophie-h/gitlab-ce-patch-15Sophie Herold2017-12-111-0/+63
|/ / | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch '36679-non-authorized-user-may-see-wikis-or-pipeline-page' into ↵Douwe Maan2017-12-081-9/+65
|/ | | | | | | | | | | 'security-10-2' Fixes project visibility guidelines See merge request gitlab/gitlabhq!2226 (cherry picked from commit 877c42c0aaf3298d6001614c9706bc366ae4014c) e4fd1c26 Ensure project wiki visibility guidelines are met
* Merge branch ↵Kamil Trzciński2017-12-071-100/+0
|\ | | | | | | | | | | | | | | | | '40761-remove-the-checkbox-for-starting-a-new-pipeline-in-auto-devops-settings' into 'master' Resolve "Remove the checkbox for starting a new pipeline in Auto DevOps settings" Closes #40761 See merge request gitlab-org/gitlab-ce!15714
| * Remove Auto DevOps checkboxes - backendbikebilly2017-12-041-100/+0
| |
* | adding view and feature specsmicael.bergeron2017-12-071-0/+17
| |
* | Merge branch ↵Sean McGivern2017-12-061-0/+21
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '39364-in-issue-board-url-doesn-t-take-in-account-hostname-settings' into 'master' Resolve "In Issue board url doesn't take in account hostname settings" Closes #39364 See merge request gitlab-org/gitlab-ce!15703
| * | add boards_helper_specLuke Bennett2017-12-031-0/+21
| |/
* | Fixed clone buttons adding description when append_link is falseJose Ivan Vargas2017-12-051-0/+28
| |
* | show status of issue links in wiki pagehaseeb2017-12-041-1/+1
|/
* Merge branch '39455-clone-dropdown-should-not-have-a-tooltip' into 'master'Tim Zallmann2017-11-301-13/+42
|\ | | | | | | | | | | | | Resolve "Clone dropdown should not have a tooltip" Closes #39455 See merge request gitlab-org/gitlab-ce!15334
| * Added ssh_button helper specs and addressed ruby code observationsJose Ivan Vargas2017-11-271-14/+41
| |
| * UX adjustments and spec correctionsJose Ivan Vargas2017-11-271-5/+7
| |
* | Backport epic tasklistClement Ho2017-11-291-0/+1
| |
* | BE for automatic pipeline when enabling Auto DevOpsMatija Čupić2017-11-281-0/+100
|/ | | | Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38962
* Allow password authentication to be disabled entirelyMarkus Koller2017-11-232-12/+21
|
* Disables autocomplete in filtered searchJacopo2017-11-201-0/+4
| | | | Sets `autocomplete=off` to issuable filtered serarch.
* Truncate tree to max 1,000 items and display notice to usersDrew Blessing2017-11-151-3/+29
| | | | | | | | Rendering ten thousands of tree items consumes a lot of server time and can cause timeouts in extreme cases. Realistically, displaying more than 1,000 files is probably not useful so truncate and show the user a notice instead. 'Find files' can be used to locate specific files beyond the 1,000 limit.
* Include child projects a user can manage in namespace dropdownsBob Van Landuyt2017-11-141-0/+25
| | | | These dropdown options are used for creating and transfering projects.
* Merge branch 'tz-no-cdn-for-svg-sprites' into 'master'Douwe Maan2017-11-101-3/+25
|\ | | | | | | | | Icon Sprite URL needs to be local even if asset_host is set See merge request gitlab-org/gitlab-ce!15289
| * Removed Bracketstz-no-cdn-for-svg-spritesTim Zallmann2017-11-091-1/+1
| |
| * Fixed Function + Test based on MRTim Zallmann2017-11-091-9/+7
| |
| * Missing the local urlTim Zallmann2017-11-091-2/+2
| |
| * Put Icons Path in HelperTim Zallmann2017-11-091-6/+9
| |
| * Fixed URL Matching in TestsTim Zallmann2017-11-091-6/+6
| |
| * Icon Sprite URL is also local even if asset_host is setTim Zallmann2017-11-091-0/+21
| |
* | Always return full avatar URL for private/internal groups/projects when ↵Douwe Maan2017-11-092-98/+7
|/ | | | asset host is set
* Free up some group reserved wordsBob Van Landuyt2017-11-071-1/+1
|
* Resolve "DashboardController#activity.json is slow due to SQL"Francisco Javier López2017-11-062-114/+127
|
* Merge branch 'icons-ci-icons' into 'master'Filipa Lacerda2017-11-021-8/+4
|\ | | | | | | | | Convert Icons in CI to SVG Sprite Icons See merge request gitlab-org/gitlab-ce!14567
| * Now one test works lets get the other one greenTim Zallmann2017-10-301-1/+1
| |