summaryrefslogtreecommitdiff
path: root/spec/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Fix specs and add a new oneDouwe Maan2016-01-301-4/+13
|
* Update text_color_for_bg helper to support RGB triplet color codesrs-issue-12677Robert Speicher2016-01-241-0/+5
| | | | Closes #12677
* Move parallel diff logic to separate classDouwe Maan2016-01-201-18/+0
|
* Refactor Gitlab::Highlight and fix testsDouwe Maan2016-01-191-30/+33
|
* Merge branch 'master' into issue_3945Rubén Dávila2016-01-145-65/+80
|\
| * Use the WikiPipeline when rendering the wiki markdown contentDouglas Barbosa Alexandre2016-01-141-2/+3
| |
| * Move `BroadcastMessage#status` to a helper since it's presentationalRobert Speicher2016-01-131-0/+20
| |
| * Update broadcast_message helperRobert Speicher2016-01-131-12/+30
| | | | | | | | | | Now it returns the fully-formatted message so we can be consistent about how it's shown.
| * Make sure time_ago_with_tooltip is using a Time objectrs-time_ago_with_tooltip-conversionRobert Speicher2016-01-121-0/+4
| | | | | | | | | | Somehow this test existed on EE but not in CE, so it started failing after a bad CE-to-EE merge.
| * Add two custom Date/Time conversion formatsRobert Speicher2016-01-071-4/+4
| |
| * Don't override issue page description in project layout.Douwe Maan2016-01-061-4/+2
| |
| * Make `page_description` less magical :sparkles:Robert Speicher2016-01-051-25/+2
| |
| * Use `User#avatar_url` instead of `avatar_icon` helperRobert Speicher2016-01-051-35/+16
| |
| * Merge branch 'master' into more-opengraphDouwe Maan2016-01-052-1/+8
| |\ | | | | | | | | | | | | # Conflicts: # app/views/layouts/_head.html.haml
| | * remove public field from namespace and refactoringnamespace-clean_upValery Sizov2016-01-041-1/+1
| | |
| * | Use `assign` instead of `instance_variable_set`Robert Speicher2015-12-271-7/+7
| | |
| * | Add specs for page_image using a Group's avatarRobert Speicher2015-12-271-0/+16
| | |
* | | More refactoring from last code review. #3945Rubén Dávila2016-01-141-10/+14
| | | | | | | | | | | | | | | | | | * Use commit objects instead of IDs when generating diffs * Use proper references when generating MR's source and target * Update broken specs
* | | Fix broken specs. #3945Rubén Dávila2016-01-081-8/+9
| | |
* | | Fix broken specs. #3945Rubén Dávila2016-01-081-1/+2
| | |
* | | Fix broken spec and small refactor. #3945Rubén Dávila2015-12-301-29/+1
| | |
* | | New implementation for highlighting diff files. #3945Rubén Dávila2015-12-301-11/+0
| | | | | | | | | | | | | | | | | | * It is more performant given now we process all the diff file instead of processing line by line. * Multiline comments are highlighted correctly.
* | | Add syntax highlighting to diff view. #3945Rubén Dávila2015-12-281-0/+11
| |/ |/|
* | Merge branch 'revert_votes_back' into 'master' Dmitriy Zaporozhets2015-12-251-0/+7
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | Revert vote buttons back to issue and MR pages https://gitlab.com/gitlab-org/gitlab-ce/issues/3672 /cc @dzaporozhets @JobV ![joxi_screenshot_1450809309400](/uploads/379a75505e0d5f24e743aa0a6a6684e2/joxi_screenshot_1450809309400.png) See merge request !2206
| * satisfy rubocoprevert_votes_backValery Sizov2015-12-251-1/+1
| |
| * add sorting of awardsValery Sizov2015-12-251-0/+7
| |
* | Add support for `twitter:label` meta tagsrs-opengraphRobert Speicher2015-12-241-0/+29
| |
* | Truncate page_description to 30 wordsRobert Speicher2015-12-241-0/+13
| |
* | Account for `@project.description` being nilRobert Speicher2015-12-231-0/+8
| |
* | Add page descriptions and imagesRobert Speicher2015-12-231-0/+79
|/ | | | | | | | | | A limited number of pages have defined their own descriptions, but otherwise we default to the Project's description (if `@project` is set), or the old `brand_title` fallback. The image will either be the uploaded project icon (never a generated one), the user's uploaded icon or Gravatar, or, finally, the GitLab logo.
* fix specsValery Sizov2015-12-221-6/+0
|
* base implementation of emoji picker [ci skip]Valery Sizov2015-12-221-6/+0
|
* Merge branch 'fix_leave_project_display' into 'master' Stan Hu2015-12-221-0/+10
|\ | | | | | | | | | | | | | | | | | | | | Fix and test leave project display The 'Leave this project' display on project page was broken. It was calling the method incorrectly, which returned `nil` and displayed nothing. This fixes the display and also adds 2 different tests for it. cc/ @jvanbaarsen @stanhu Please review and merge if you think it looks good. Thank you! See merge request !2166
| * Fix and test leave project displayDrew Blessing2015-12-211-0/+10
| |
* | Move `ci_build_details_path` helper spec to correct locationRobert Speicher2015-12-212-22/+20
| | | | | | | | Also, make it not fail.
* | removes api credentials from link to build_pageMarvin Frick2015-12-221-0/+22
|/ | | | | Also adds a spec for MergeRequestHelper to avoid having a regression later on.
* Backport JIRA serviceDrew Blessing2015-12-181-4/+17
|
* Merge remote-tracking branch 'origin/rs-simplify-status-icon'Dmitriy Zaporozhets2015-12-161-8/+3
|\ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Define CI status icon colors in SCSS instead of a helperrs-simplify-status-iconRobert Speicher2015-12-121-8/+3
| |
* | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceDmitriy Zaporozhets2015-12-161-3/+4
|\ \
| * | Fix time_ago_with_tooltip for activity feedrs-timeagoRobert Speicher2015-12-111-3/+4
| |/ | | | | | | Closes #4002
* | Fixed Rubocop offensesGabriel Mazetto2015-12-151-1/+1
|/
* Improve text indication visibility on snippetsZeger-Jan van de Weg2015-12-081-51/+34
|
* Fix spec failure introduced by 9d03bc6fa31f123e070bab4a58b67dbb008e75e9Robert Speicher2015-12-071-1/+1
|
* Merge branch 'rails_update_to_4_2' into 'master' Valery Sizov2015-11-301-1/+1
|\ | | | | | | | | | | | | Rails update to 4.2.4 https://gitlab.com/gitlab-org/gitlab-ce/issues/2694 See merge request !1902
| * fix specsrails_update_to_4_2Valery Sizov2015-11-301-1/+1
| |
* | Merge pull request #9670 from janten/gravatar-retinaStan Hu2015-11-261-6/+10
|\ \ | |/ |/| Add support for HiDPI displays in gravatar service
| * Fix merge errorJan-Gerd Tenberge2015-10-229-31/+97
| |\
| * \ Merge remote-tracking branch 'origin/master' into gravatar-retinaJan-Gerd Tenberge2015-10-221-1/+1
| |\ \
| | * | Update specJan-Gerd Tenberge2015-10-191-2/+2
| | | |