summaryrefslogtreecommitdiff
path: root/spec/helpers
Commit message (Collapse)AuthorAgeFilesLines
...
| * Comment box/Placeholder text redoDarby2015-07-011-1/+0
| |
* | 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
* | Merge branch 'fix-relative-submodule-namespace-path' into 'master'Dmitriy Zaporozhets2015-06-291-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Error 500 when relative submodule resolves to a namespace that has a different name from its path ### What does this MR do? This MR fixes a bug in resolving a namespace when the `name` differed from `path`. ### Why was this MR needed? The original code was using `name`, when the proper input to `namespace_project_path` was `path`. ### What are the relevant issue numbers? Closes #1849 See merge request !864
| * Fix Error 500 when relative submodule resolves to a namespace that has a ↵Stan Hu2015-06-231-1/+1
| | | | | | | | | | | | different name from its path Closes #1849
* | Prefix random Markdown tips with "Tip:"rs-random-placeholder-tipRobert Speicher2015-06-241-1/+1
| |
* | Show a random Markdown tip in the textarea placeholderRobert Speicher2015-06-231-0/+7
|/
* Merge branch 'master' into rubocop-for-testsDmitriy Zaporozhets2015-06-236-40/+37
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: spec/features/issues_spec.rb spec/models/forked_project_link_spec.rb spec/models/hooks/service_hook_spec.rb spec/models/hooks/web_hook_spec.rb spec/models/project_services/hipchat_service_spec.rb spec/requests/api/project_members_spec.rb spec/requests/api/projects_spec.rb spec/requests/api/system_hooks_spec.rb spec/services/archive_repository_service_spec.rb spec/support/matchers.rb spec/tasks/gitlab/backup_rake_spec.rb
| * Fix avatar tests to use banana_sample.gif since SVG is not supportedStan Hu2015-06-222-8/+8
| |
| * Merge branch 'rs-rspec3' into 'master'Dmitriy Zaporozhets2015-06-225-32/+29
| |\ | | | | | | | | | | | | | | | | | | | | | 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-225-32/+29
| | |
* | | Fix bad multi-line split from previous commitRobert Speicher2015-06-221-1/+2
| | |
* | | Fix Style/Blocks cop violationsRobert Speicher2015-06-221-4/+3
| | |
* | | Fix Style/HashSyntax violationsRobert Speicher2015-06-221-1/+1
| | |
* | | Fix Style/SpaceInsideHashLiteralBraces cop violationsRobert Speicher2015-06-221-2/+2
| | | | | | | | | | | | These fixes were performed automatically by Rubocop's `-a` flag.
* | | Fix Style/TrailingBlankLines cop violationsRobert Speicher2015-06-221-1/+1
|/ /
* | 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.
* Refactor dashboard_choicesRobert Speicher2015-06-131-8/+10
|
* Make the dashboard choice text match the text in the sidebarRobert Speicher2015-06-131-2/+2
|
* Add a form field to customize the dashboard preferenceRobert Speicher2015-06-131-0/+17
|
* Add PreferencesHelper moduleRobert Speicher2015-06-132-21/+53
| | | | | | | Consolidates the helpers related to user preferences. Renames `app_theme` to `user_application_theme` to better explain what it is.
* Fix link_to_gfm with only a reference having the incorrect linkrs-issue-1721Robert Speicher2015-05-291-0/+6
| | | | Closes #1721
* Fix git blame syntax highlighting when different commits break up linesStan Hu2015-05-271-0/+33
| | | | Closes #1521
* Make use of to_reference in more specsRobert Speicher2015-05-261-5/+5
|
* Add link_to_label helperRobert Speicher2015-05-211-2/+66
|
* Disabled expansion of top/bottom blobs for new file diffsAlex Connor2015-05-211-0/+10
|
* Simplify and unify helpers for rendering markupJakub Jirutka2015-05-181-0/+7
|
* Handle AsciiDoc better, reuse HTML pipeline filters (fixes #9263)Jakub Jirutka2015-05-182-1/+16
|
* Explain reset token expiration in emailsVinnie Okada2015-05-161-0/+46
| | | | | Tell new users when their password reset token expires and provide a link to get a new one.
* Fix reference links in dashboard activity and ATOM feeds.dashboard-referencesDouwe Maan2015-05-141-1/+1
|
* Add spec for RelativeLinkFilterJakub Jirutka2015-05-121-73/+0
|
* Merge branch 'rs-task_list' into 'master'Dmitriy Zaporozhets2015-05-081-109/+0
|\ | | | | | | | | | | | | | | | | | | Use task_list gem for task lists Task Lists can now be used in comments, and they'll render in previews. :clap: Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2271 See merge request !599
| * Remove all references to `parse_tasks`Robert Speicher2015-05-061-109/+0
| |
* | Improve handling of large diffsAlex Lossent2015-05-051-1/+53
|/ | | | | | | | | | Diffs with a large number of changed lines time out (504 HTTP error) or generate a HTML page that's so heavy web browsers struggle with it. https://github.com/gitlabhq/gitlabhq/pull/5014 introduced limits on commit line count so that only a safe portion is rendered. This was later undone by code refactoring in be5b6db8, e0eb4803 and c741fcab. This patch re-introduces a safe limit on number of lines.
* Remove title_for_issue helperRobert Speicher2015-04-301-18/+0
|
* More gitlab_markdown_helper_spec cleanupRobert Speicher2015-04-301-56/+1
|
* Add Gitlab::Markdown::SanitizationFilterRobert Speicher2015-04-301-33/+0
| | | | | This just extends the HTML::Pipeline::SanitizationFilter with our custom whitelist.
* Add Gitlab::Markdown::TableOfContentsFilterRobert Speicher2015-04-301-17/+0
| | | | Removes header and table of contents processing from Redcarpet renderer.
* Merge branch 'fix-relative-submodule-links-with-personal-projects' into 'master'Dmitriy Zaporozhets2015-04-271-4/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Fix broken file browsing with relative submodule in personal projects Git submodules with relative links work fine for projects in groups but not in personal projects. This patch fixes this issue. To reproduce the problem, go here: https://gitlab.com/andrewwu.tw/submodule-test/tree/master Closes https://github.com/gitlabhq/gitlabhq/issues/7554 See merge request !565
| * Fix broken file browsing with relative submodule in personal projectsStan Hu2015-04-231-4/+11
| | | | | | | | Closes https://github.com/gitlabhq/gitlabhq/issues/7554
* | Add new admin settingsVinnie Okada2015-04-261-0/+75
| | | | | | | | | | Add new global application settings for default project and snippet visibility levels.
* | Use project.commit convenience method.Douwe Maan2015-04-243-3/+3
|/
* Merge branch 'rs-issue-2257' into 'master'Dmitriy Zaporozhets2015-04-221-0/+10
|\ | | | | | | | | | | | | | | | | | | Recover from URI::Error `URI::Error` is the base class for all URI errors. Fixes #2257 and #2260 See merge request !1789
| * Recover from all `URI::Error`sRobert Speicher2015-04-211-0/+10
| | | | | | | | | | Fixes #2257 Fixes #2260
* | More cleanup of gitlab_markdown_helper_specRobert Speicher2015-04-211-98/+92
| |
* | Use Nokogiri in `link_to_gfm` specsRobert Speicher2015-04-211-20/+22
| | | | | | | | Didn't like relying so much on Regex matches
* | Update Gitlab::Markdown to use the :new: EmojiFilter :sparkles:Robert Speicher2015-04-211-74/+2
|/ | | | Removes emoji-centric tests from GFM specs :boom:
* Remove more now-invalid specsRobert Speicher2015-04-201-66/+0
|