summaryrefslogtreecommitdiff
path: root/spec/helpers/application_helper_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Allow avatar_icon to operate on a UserYorick Peterse2015-10-151-0/+9
| | | | | If the User object is already known before calling this method being able to re-use said object can save us an extra SQL query.
* Fix ApplicationHelper specsrs-fix-application-helper-specsRobert Speicher2015-06-301-102/+123
| | | | | | | | There were several specs that were failing when run by themselves. - Use the `helper` object, as per RSpec 3 standards - Use `assign` to assign instance variables that helpers expect - Add `StubConfiguration` support module
* Fix avatar tests to use banana_sample.gif since SVG is not supportedStan Hu2015-06-221-6/+6
|
* Merge branch 'rs-rspec3' into 'master'Dmitriy Zaporozhets2015-06-221-5/+5
|\ | | | | | | | | | | | | | | RSpec3 Upgrades rspec to 3.3.0, we're now up-to-date! :tada: See merge request !831
| * Update mock and stub syntax for specsRobert Speicher2015-06-221-5/+5
| |
* | Merge branch 'rs-remove-link-to-override'Dmitriy Zaporozhets2015-06-221-37/+0
|\ \ | |/ |/| | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: spec/helpers/application_helper_spec.rb
| * Remove overridden `link_to` helperrs-remove-link-to-overrideRobert Speicher2015-06-171-37/+0
| | | | | | | | The purpose for this override is now handled by `ExternalLinkFilter`.
* | Fix timezone-based time_ago_with_tooltip spec failuresRobert Speicher2015-06-191-4/+5
| |
* | Update time_ago_with_tooltip helperRobert Speicher2015-06-171-0/+48
|/ | | | Minor refactoring, add specs, changes arguments to use keywords.
* Add PreferencesHelper moduleRobert Speicher2015-06-131-21/+0
| | | | | | | Consolidates the helpers related to user preferences. Renames `app_theme` to `user_application_theme` to better explain what it is.
* Simplify and unify helpers for rendering markupJakub Jirutka2015-05-181-0/+7
|
* Handle AsciiDoc better, reuse HTML pipeline filters (fixes #9263)Jakub Jirutka2015-05-181-1/+8
|
* Recover from all `URI::Error`sRobert Speicher2015-04-211-0/+10
| | | | | Fixes #2257 Fixes #2260
* Speed up the overridden `link_to` helperRobert Speicher2015-04-121-11/+15
| | | | | Only bothers to check the provided link's external status if it's a String that doesn't begin with a path or anchor character.
* Fix specsDmitriy Zaporozhets2015-03-121-18/+0
|
* Merge pull request #8890 from sue445/feature/project_api_avatar_urlJeroen van Baarsen2015-03-011-2/+4
|\ | | | | Expose avatar_url in projects API
| * Expose avatar_url in projects APIsue4452015-03-011-2/+4
| | | | | | | | | | | | * Impl Project#avatar_url * Refactor ApplicationHelper: Use Project#avatar_url * Update changelog
* | Add UTF-8 character to version_sorter testRobert Schilling2015-02-251-4/+4
| |
* | Update version sorter to 2.0.0, fixes #8572Robert Schilling2015-02-241-2/+4
|/
* Upgrade to Rails 4.1.9Vinnie Okada2015-02-141-3/+3
| | | | | | Make the following changes to deal with new behavior in Rails 4.1.2: * Use nested resources to avoid slashes in arguments to path helpers.
* Even more hound fixesJeroen van Baarsen2015-02-121-10/+20
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-121-39/+40
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Fix tests, merge conflicts, some minor issues and make the project avatar ↵Hannes Rosenögger2015-01-241-53/+53
| | | | feature mergable
* adding avatar to project settings page added avatar removal show project ↵Steven Thonus2015-01-241-0/+22
| | | | avatar on dashboard, projects page, project page added rspec and feature tests added project avatar from repository new default project icon added added copying af avatar to forking of project added generated icon fixed avatar fork hound fix style fix test fix
* Remove unnecessary / from avatar urlHannes Rosenögger2015-01-191-1/+1
| | | | | So http://localhost:3000//uploads/user/avatar/1/avatar.png becomes http://localhost:3000/uploads/user/avatar/1/avatar.png
* Fix feature and testsDmitriy Zaporozhets2015-01-081-1/+1
|
* Add an avatar_url spec when relative url is set.Marin Jankovski2014-12-051-0/+10
|
* Force of markup output to be the input encodingRobert Schilling2014-08-111-0/+9
|
* Fix application helper specsDmitriy Zaporozhets2014-08-071-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Change gravatar tests to identiconDmitriy Zaporozhets2014-06-171-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix helper specsDmitriy Zaporozhets2014-06-131-5/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* fixes gitlab.com issue #229Marvin Frick2014-06-101-2/+2
| | | | | | | Changes .js.coffe files to not use a hardcoded path to `no_avatar.png` but instead stick with the asset pipeline. renames coffee.erb back to coffee
* Add nofollow to all internal links.Marin Jankovski2014-05-301-0/+23
|
* Make sure that tests pass when aws group is used.Marin Jankovski2014-04-241-2/+2
|
* Sort tag names using VersionSorterRobert Speicher2014-03-091-0/+38
|
* Fix group_icon specDmitriy Zaporozhets2014-03-061-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* added group avatarsSteven Thonus2014-01-281-0/+17
|
* Fix testsDmitriy Zaporozhets2013-12-171-3/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* fix most of warningsskv2013-12-151-11/+11
|
* Cover the simple_sanitize helperRobert Speicher2013-10-191-0/+17
|
* avatar upload on profile pageSteven Thonus2013-10-091-0/+18
|
* user_color_scheme_class with current_userChristian Höltje2013-06-031-0/+22
| | | | | | | | | This refactors the `user_color_scheme_class` to use a hash with a default. This prevents problems with workers that don't have access to the current_user. Fixes issue #2758
* Fix gravatar and ldap configRiyad Preukschas2012-12-201-2/+2
|
* allow customize gravatar urlSergey Linnik2012-12-071-0/+22
|
* Add current_action? helperRobert Speicher2012-09-261-0/+19
|
* Allow current_controller? helper to take an Array of optionsRobert Speicher2012-09-261-0/+5
|
* Add current_controller? helper methodRobert Speicher2012-09-261-0/+14
| | | | Simplifies some of the "active tab" checks we're doing
* Allow disabling Gravatars in gitlab.yml settingsRobert Speicher2012-08-151-0/+26
| | | | Closes #1237
* merge request entityDmitriy Zaporozhets2011-11-281-35/+0
|
* Use secure.gravatar.com when running over SSLAriejan de Vroom2011-11-091-0/+35