summaryrefslogtreecommitdiff
path: root/spec/helpers/events_helper_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Reduce N+1 from Activity Dashboard and BanzaiGabriel Mazetto2018-12-101-0/+32
| | | | | | | | There is a combination of few strategies implemented here: 1. Few relations were eager loaded 2. Changed few polymorphic routes to specific ones so we don't have to use `#becomes(Namespace)` which doesn't preserve association cache
* Update event helper spec to check for target prefixGeorge Tsiolis2018-11-061-15/+31
|
* Resolve "<link href=""> and <a href=""> not properly filled in activity RSS ↵schwedenmut2018-09-051-0/+43
| | | | feed"
* Escape HTML entities in commit messagesDouwe Maan2018-02-151-0/+4
|
* Resolve "DashboardController#activity.json is slow due to SQL"Francisco Javier López2017-11-061-90/+0
|
* Fix display of push events for removed refsfix-push-events-branch-removalsYorick Peterse2017-08-221-0/+4
| | | | | | | | | | | | | | | | | | | | | This changes the style of push events that remove tags or branches so they don't display the commit details. This prevents displaying commit details such as: 000000 . --broken encoding Instead we now simply display the header such as: Administrator deleted branch example-branch This is displayed in the same style as events for newly created branches/tags. This commit also ensures that if no commit message is present we simply don't display anything, instead of "--broken encoding". Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36685 Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36722
* Resolve "User profile activity feed contains broken image links"Tim Zallmann2017-08-211-0/+6
|
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-2/+2
|
* Pull preserve into render helpersDouwe Maan2017-04-281-1/+1
|
* Merge branch '30125-markdown-security'Robert Speicher2017-04-051-5/+22
| | | | | | Remove class from SanitizationFilter whitelist See merge request !2079
* Fix specsDouwe Maan2017-03-141-5/+3
|
* whitelist style attribute in event_notemhasbini2017-03-071-0/+7
|
* Stop event_commit_title from escaping its outputNick Thomas2016-10-181-0/+17
| | | | | | | | Return a non-html-safe, unescaped String instead of ActiveSupport::SafeBuffer to preserve safety when the output is misused. Currently there's oly one user, which does the right thing. Closes #23311
* fixes part1 of files to start using active tensetiagonbotelho2016-08-091-7/+7
|
* expect final newlines from the banzai filterhttp://jneen.net/2016-07-141-1/+1
|
* Clean up EventsHelper specRobert Speicher2016-05-121-47/+48
|
* Fix two more failing specsRobert Speicher2015-08-251-3/+2
|
* Fix diff syntax highlightingStan Hu2015-08-101-1/+1
| | | | | | Refactored HTML parser to avoid duplication of newline parsing. Closes #2235
* Fix code preview theme setting for comments, issues, merge requests, and ↵Stan Hu2015-03-101-0/+12
| | | | | | | | | | snippets. Also preserve code preview color scheme in events dashboard. Assign default colors to all code blocks shown as <pre class="code highlight [color_scheme]"> Closes #1139
* Fixed testsStefan Tatschner2015-01-151-1/+2
|
* Improve dashboard note view and add testsVinnie Okada2014-10-121-0/+52
Update the `#first_line_in_markdown` method so that the first line of parsed text is displayed more reliably, and the continuation indicators ("...") are displayed in all cases where the note is truncated. Also add Rspec tests for `EventsHelper#event_note`.