summaryrefslogtreecommitdiff
path: root/app/helpers/events_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Create a "destroyed Milestone" event and keep Milestone events around in the DBStan Hu2015-09-151-0/+11
| | | | | | | | | | | for posterity. Also fix issue where destroying a Milestone would cause odd, transient messages like "created milestone" or "imported milestone". Add "in" preposition when creating and destroying milestones Closes #2382
* Replace obvious tooltips. Fix line-height for top navDmitriy Zaporozhets2015-09-031-1/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Redesign activity feed on dashboard and project pagesDmitriy Zaporozhets2015-09-031-6/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fixed invalid timestamps in RSS feed #1771Rowan Wookey2015-06-231-1/+1
|
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceDmitriy Zaporozhets2015-05-151-2/+2
|\
| * Fix reference links in dashboard activity and ATOM feeds.dashboard-referencesDouwe Maan2015-05-141-2/+2
| |
* | Fix bug with default timezone en RSS gitlab eventsJorge Vasquez2015-05-141-1/+1
|/
* Fix tooltips for event filter linksrs-fix-filter-tooltipsRobert Speicher2015-05-061-4/+8
|
* List new commits for newly pushed branch in activity view.Douwe Maan2015-03-181-1/+1
|
* Fix code preview theme setting for comments, issues, merge requests, and ↵Stan Hu2015-03-101-1/+1
| | | | | | | | | | 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
* Added information to tooltipsSabba Petri2015-02-231-1/+1
| | | | Tooltips now have meaning by mentioning their function ("Filter by..."). Fixes #1992
* Merge branch 'master' into rails-4.1.9Vinnie Okada2015-02-191-21/+32
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: app/views/dashboard/_project.html.haml app/views/events/event/_common.html.haml app/views/explore/projects/_project.html.haml app/views/groups/_projects.html.haml app/views/projects/_home_panel.html.haml app/views/projects/_issues_nav.html.haml app/views/projects/issues/_discussion.html.haml app/views/projects/issues/_issues.html.haml app/views/projects/issues/show.html.haml app/views/projects/merge_requests/_discussion.html.haml app/views/projects/merge_requests/_show.html.haml app/views/projects/milestones/index.html.haml app/views/projects/notes/_edit_form.html.haml app/views/shared/_issuable_filter.html.haml
| * Refactor event title generation for more consistent messages.Douwe Maan2015-02-131-21/+32
| | | | | | | | Example: "User joined project Namespace / Project" rather than "User joined project at Namespace / Project"
* | Upgrade to Rails 4.1.9Vinnie Okada2015-02-141-12/+32
|/ | | | | | 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.
* Use `icon` helper method in helper modulesRobert Speicher2015-01-281-6/+5
|
* Restyle group page and event filterDmitriy Zaporozhets2014-12-161-7/+6
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* DRY and refactor atom codeDmitriy Zaporozhets2014-12-041-0/+22
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve dashboard note view and add testsVinnie Okada2014-10-121-1/+1
| | | | | | | | 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`.
* Preserve link href in truncated note viewVinnie Okada2014-10-121-3/+2
| | | | | | Notes on the dashboard views are truncated to 150 characters; this change ensures that when a link's text is truncated it still points to the correct URL.
* Upgrade to Font Awesome v4.2Sullivan SENECHAL2014-10-031-4/+4
|
* Add parenthesis to function def with arguments.Ciro Santilli2014-10-031-1/+1
|
* Changed activity notes to display first MEANINGFUL line.uran2014-09-121-1/+1
|
* Fix missing links and incorrect display of issue numbers for notes, ↵Matthew McMillion2014-07-261-0/+6
| | | | comments, and merge requests
* Merge branch 'bugfix/305/dashboard_feed_summaries' into 'master'Dmitriy Zaporozhets2014-07-021-0/+4
|\ | | | | | | | | | | Incorporate Summaries for Notes and Merge Requests Into Dashboard Feed This MR fixes #305 by adding summaries for notes and merge requests into the dashboard feed.