canvas-lms/app/helpers
Landon Gilbert-Bland 274d1a68fa Fix timestamp for group conversation in activity stream
This will now show the last message that the user was part of in
the activity stream instead of the last message sent to anyone in
the parent conversation.

Fixes COMMS-1468

Test Plan:
  * Have a course with at least one teacher and two students
  * As the teacher, send a message to both students
  * Go to student 1's dashboard and select the activity stream. Notice
    the timestamp for the message
  * Wait for 60 seconds
  * As student 2, reply to the message (only reply to the teacher).
  * If you have redis caching setup, flush the cache here by running
    `redis-cli` in a terminal, then running `flushdb`
  * As student 1, reload your dashboard and notice the timestamp for
    the conversation hasn't been changed.

Change-Id: I51968966643f351faaf46bcdfce542ec77617039
Reviewed-on: https://gerrit.instructure.com/165893
Reviewed-by: Steven Burnett <sburnett@instructure.com>
QA-Review: Steven Burnett <sburnett@instructure.com>
Tested-by: Jenkins
Product-Review: Landon Gilbert-Bland <lbland@instructure.com>
2018-09-26 18:24:51 +00:00
..
login Remove feature flag 2018-07-20 19:40:52 +00:00
messages da licença part 17 2017-04-27 21:53:50 +00:00
account_notification_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
accounts_helper.rb Indicate when visibility setting is delegated to parent account 2018-09-07 14:20:23 +00:00
alignments_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
application_helper.rb fix errors on when current_user is nil 2018-09-15 03:28:32 +00:00
assessment_request_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
assignments_helper.rb allow publishing of assignments with submissions 2018-09-25 20:02:51 +00:00
attachment_helper.rb pass audit related info when launching docviewer 2018-08-31 14:56:19 +00:00
avatar_helper.rb graphql: add use_fallback argument to avatar_url 2018-09-15 04:24:39 +00:00
calendar_events_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
calendars_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
canvadocs_helper.rb pass user-related params to docviewer 2018-08-24 18:55:06 +00:00
collaborations_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
communication_channels_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
content_imports_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
context_external_tools_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
context_modules_helper.rb rename wiki page to page 2018-06-20 17:04:44 +00:00
conversations_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
courses_helper.rb pass user-related params to docviewer 2018-08-24 18:55:06 +00:00
custom_color_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
custom_sidebar_links_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
cyoe_helper.rb disregard mastery path locks when not a student 2018-02-13 16:41:54 +00:00
dashboard_helper.rb speed up dashcards by only loading tabs shown 2018-09-10 20:01:02 +00:00
discussion_topics_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
eportfolios_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
global_navigation_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
gradebooks_helper.rb remove unused gradebooks helpers 2018-08-13 13:53:12 +00:00
grading_periods_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
groups_helper.rb request thumbnails from instfs when enabled 2017-10-03 20:00:08 +00:00
hmac_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
kaltura_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
legal_information_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
planner_helper.rb Clear planner cache when viewing items 2018-09-05 16:51:40 +00:00
quizzes_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
rollup_score_aggregator_helper.rb Add median aggregate rollups 2018-07-09 23:06:02 +00:00
search_helper.rb moar preloads 2018-08-08 05:22:30 +00:00
section_tab_helper.rb load some more read permissions for dashboard 2018-08-21 19:12:25 +00:00
self_enrollments_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
stream_items_helper.rb Fix timestamp for group conversation in activity stream 2018-09-26 18:24:51 +00:00
submission_comments_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
submittable_helper.rb rails 5.1: bunch of other specs 2017-07-27 12:35:30 +00:00
syllabus_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
user_notes_helper.rb da licença part 17 2017-04-27 21:53:50 +00:00
web_zip_export_helper.rb make web export button consistent with export create permission 2017-06-14 20:46:50 +00:00