summaryrefslogtreecommitdiff
path: root/app/helpers/events_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Reduce N+1 from Activity Dashboard and BanzaiGabriel Mazetto2018-12-101-0/+4
| | | | | | | | 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
* Merge branch 'gt-use-merge-request-prefix-in-event-feed-title' into 'master'Sean McGivern2018-11-071-1/+8
|\ | | | | | | | | | | | | Use merge request prefix symbol in event feed title Closes #36267 See merge request gitlab-org/gitlab-ce!22449
| * Add issue or merge request reference prefix in the event feed titleGeorge Tsiolis2018-11-061-5/+8
| |
| * Use reference prefix for issues and merge requests in the event feed titleGeorge Tsiolis2018-11-061-2/+2
| |
| * Use merge request prefix symbol in event feed titleGeorge Tsiolis2018-11-061-0/+4
| |
* | Resolve "Redesign activity feed"Martin Wortschack2018-11-061-19/+23
|/
* Merge branch 'frozen-string-enable-app-helpers' into 'master'Rémy Coutable2018-09-101-0/+2
|\ | | | | | | | | Enable frozen string for app/helpers/**/*.rb See merge request gitlab-org/gitlab-ce!21320
| * Enable frozen string for app/helpers/**/*.rbgfyoung2018-09-061-0/+2
| | | | | | | | Partially addresses #47424.
* | Include private contributions in user contribution graphGeorge Tsiolis2018-09-071-1/+1
|/
* Resolve "<link href=""> and <a href=""> not properly filled in activity RSS ↵schwedenmut2018-09-051-7/+9
| | | | feed"
* Remove tooltips on activity tabsAnnabel Dunstone Gray2018-05-111-1/+1
|
* Resolve "DashboardController#activity.json is slow due to SQL"Francisco Javier López2017-11-061-10/+0
|
* Updated Profile Events Helper to use SVG Sprite IconsTim Zallmann2017-10-041-9/+11
|
* Fix display of push events for removed refsfix-push-events-branch-removalsYorick Peterse2017-08-221-0/+1
| | | | | | | | | | | | | | | | | | | | | 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-1/+1
|
* Add support for i18n on Project Activity PageKushal Pandya2017-08-181-4/+4
|
* Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-051-15/+8
|
* Consistently use monospace font for commit SHAs and branch and tag namesDouwe Maan2017-05-121-3/+8
|
* Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-101-1/+1
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Improve text on todo list when the todo action comes from yourselfJacopo2017-04-281-2/+3
| | | | | | | | | | | | | | Improved todo message when an issue is assigned to yourself. - The new message when an user assign to himself an issue or a mr is: "You assigned issue xx to yourself" - The new message when an user adds a todo to himself is: "You added a todo for issue xx" - The new message when and user mention himself is: "You mentioned yourself on issue xx" - The new message when an user directly address himself is: "You directly addressed yourself on issue xx" - The new message when an user mark himself as an approver is: "You set yourself as an approver for merge request xx"
* Move event icons into events_helperuse-avatars-in-activity-viewAnnabel Dunstone Gray2017-04-121-0/+28
|
* Fix first line markdown helper for user profile activity stream29425-fix-activity-stream-first-line-markdownEric Eastwood2017-03-141-2/+2
| | | | Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/29425
* whitelist style attribute in event_notemhasbini2017-03-071-1/+6
|
* remove unnecessary issues event filter on comments tabRydkin Maxim2016-12-081-0/+6
| | | | | | | | | | | | | | | | fix features_visibility_spec.rb remove strange part of spec fix conditions of comments tab disappearing and fix spec generate changelog rewrite spec for more coplex check step-by-step move conditional logic into helper and fix changelog fix indentation in helper
* Allow commit note to be visible if repo is visible23824-activity-page-does-not-show-commits-commentsRémy Coutable2016-11-161-2/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Correctly passes feature key into feature_available methodproject-activity-tabs-hidePhil Hughes2016-11-011-2/+2
|
* Removed return statement that isn't neededPhil Hughes2016-11-011-1/+1
|
* Hide project activity tabs when features are disabledPhil Hughes2016-11-011-0/+6
|
* Stop event_commit_title from escaping its outputNick Thomas2016-10-181-1/+1
| | | | | | | | 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
* Remove `event_to_atom` helperRobert Speicher2016-05-231-22/+0
|
* Reduce duplication and branching logic in EventsHelperRobert Speicher2016-05-161-41/+15
| | | | Remove unused methods from Event model
* Rename `Event#note_project_snippet?` to `project_snippet_note?`Robert Speicher2016-05-161-2/+2
|
* Rename `Event#note_commit?` to `commit_note?`Robert Speicher2016-05-161-5/+5
|
* Remove redundant `html_escape` calls from `title` attributesRobert Speicher2016-05-161-3/+3
| | | | These get escaped automatically.
* Fix titles for commit references in Event feedRobert Speicher2016-05-161-1/+2
| | | | | Prior, the `title` attribute was being included as an argument to the route helper rather than as an argument to `link_to`.
* Add an Event's target's title to its reference linkRobert Speicher2016-05-161-1/+1
| | | | | | | | Given an activity feed entry like: > Douwe Maan commented on [issue #123] at [gitlab-org/gitlab-ce] ...the `issue #123` link will now have a `title` attribute.
* Remove unused `icon_for_event` helperRobert Speicher2016-05-111-9/+0
|
* Fix event rendering when create projectfix-ui-eventDmitriy Zaporozhets2016-04-041-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix event rendering for certain event typesDmitriy Zaporozhets2016-03-311-0/+8
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Rename `Event#proper?` to `Event#visible_to_user?`Douglas Barbosa Alexandre2016-03-241-1/+1
|
* Restrict access to confidential issues on activity feedDouglas Barbosa Alexandre2016-03-171-1/+1
|
* Remove last to_referencetodos-title-attrJosh Frye2016-03-131-1/+1
|
* Escape!Josh Frye2016-03-111-4/+4
|
* Title attributes for activity feedJosh Frye2016-03-111-4/+4
|
* Removed un-used variablesPhil Hughes2016-03-011-2/+0
|
* Replaced prefix with to_reference method callsPhil Hughes2016-03-011-8/+3
|
* Changed # to ! on merge requests on activity viewPhil Hughes2016-03-011-2/+9
| | | | Closes #9082
* New layout without background colorDmitriy Zaporozhets2016-01-131-3/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Split complex method EventsHelper#event_feed_url.Dmitriy Zaporozhets2015-11-131-11/+15
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix avatars not showing in Atom feeds and project issues when Gravatar disabledStan Hu2015-11-101-1/+1
| | | | Fix for https://github.com/gitlabhq/gitlabhq/pull/9783