canvas-lms/app/models
Zach Pendleton 28198d2699 remove identity bar from cache when inbox count changes. fixes #6027.
affected areas: conversations, identity header view.
test plan:
  * create two users, A and B;
  * enable caching in your test environment;
  * send message to user A from user B;
  * as user A, read message;
  * refresh conversations page and verify that
    identity header no longer has "1" next to
    "Inbox."

Change-Id: I7a2c8845619d122b10b6d27f9585ce036de25113
Reviewed-on: https://gerrit.instructure.com/7865
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2012-01-05 15:38:29 -07:00
..
abstract_course.rb make course terms sticky 2011-09-30 11:00:27 -06:00
access_token.rb implement oauth2 native app flow, closes #5029 2011-07-18 22:27:36 -06:00
account.rb help dialog overhaul fixes: #5784 2012-01-05 09:19:42 -07:00
account_authorization_config.rb disable open registration for accounts with delegated authentication 2011-11-28 15:52:50 -07:00
account_notification.rb Remove ActiveRecord::Base.find(_all)?_cached 2011-10-05 17:50:47 -06:00
account_report.rb remove the account.root_account || account idiom 2012-01-03 11:47:33 -07:00
account_user.rb don't use presence/absence of root_account(_id) to determine if an account is a root account 2012-01-03 11:47:22 -07:00
alert.rb api json conversion improvements 2012-01-03 15:09:20 -07:00
alert_criterion.rb alerts, closes #4317 2011-08-24 10:19:44 -06:00
announcement.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
assessment_question.rb don't strip numeric (and other) types when saving questions 2011-12-29 21:32:50 -07:00
assessment_question_bank.rb don't repeat questions when picking from banks, fixes #4212 2011-10-19 09:42:29 -06:00
assessment_question_bank_user.rb Initial commit. 2011-01-31 18:57:29 -07:00
assessment_request.rb i18n AssessmentRequest 2011-06-09 16:43:35 -06:00
asset_user_access.rb fix names on the access report, other tweaks; fixes #4682 2011-11-01 11:56:54 -06:00
assignment.rb fix assignment after_saves not running 2011-12-30 10:18:01 -07:00
assignment_group.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
assignment_reminder.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
attachment.rb always wrap content-disposition-filename in quotes 2011-12-22 19:18:35 -07:00
attachment_association.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
authorization_code.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
big_blue_button_conference.rb zero-pad the voiceBridge id 2011-08-10 14:33:34 -06:00
bookmark_service.rb i18n Bookmark Service 2011-06-16 07:16:10 -06:00
calendar_event.rb force dtstart in ics to utc 2011-11-08 10:25:04 -07:00
cloned_item.rb make sure links in assessment questions are correctly translated, fixes #6012 2011-10-21 08:36:34 -06:00
collaboration.rb remove collaborations.yml dependency, refs #5796 2011-10-25 17:32:32 -06:00
collaborator.rb Initial commit. 2011-01-31 18:57:29 -07:00
college.rb Initial commit. 2011-01-31 18:57:29 -07:00
communication_channel.rb don't send notifications to unconfirmed communication channels 2012-01-04 16:33:39 -07:00
content_export.rb fix content export error reporting 2011-07-11 13:32:44 -06:00
content_migration.rb don't send email for exported state if configured not to 2011-10-07 14:03:50 -06:00
content_tag.rb fix assignment after_saves not running 2011-12-30 10:18:01 -07:00
context.rb clear out the wiki when resetting course content refs #4583 2011-08-24 12:37:04 -06:00
context_external_tool.rb xml config for blti extensions 2011-12-29 15:10:48 -07:00
context_module.rb don't sync file names and content tag names 2011-12-01 10:51:53 -07:00
context_module_progression.rb use kept_score for quizzes when evaluating module requirements 2011-08-11 10:01:39 -06:00
context_module_sub_header.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
conversation.rb remove identity bar from cache when inbox count changes. fixes #6027. 2012-01-05 15:38:29 -07:00
conversation_message.rb return attachment and media comment urls, closes #5850 2011-10-10 12:26:00 -06:00
conversation_message_participant.rb models and controllers for new messaging, refs #3977 2011-05-19 16:21:32 -06:00
conversation_participant.rb remove identity bar from cache when inbox count changes. fixes #6027. 2012-01-05 15:38:29 -07:00
course.rb remove sis_source_id from enrollments API 2012-01-05 15:36:56 -07:00
course_account_association.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
course_assigned_group.rb Initial commit. 2011-01-31 18:57:29 -07:00
course_import.rb run course copy asynchronously in a job; fixes #5422 2011-09-08 08:23:47 -06:00
course_section.rb replace usage of Date.today 2011-12-20 15:25:45 -07:00
delayed_message.rb fix two common delayed job errors 2011-07-06 12:37:43 -06:00
delayed_notification.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
department.rb Initial commit. 2011-01-31 18:57:29 -07:00
designer_enrollment.rb Initial commit. 2011-01-31 18:57:29 -07:00
developer_key.rb oauth2 web app flow, refs #5029 2011-08-23 17:27:47 -06:00
dim_dim_conference.rb wimba integration, fixes #2989 2011-02-25 14:35:14 -07:00
discussion_entry.rb use defined discussion formats in assignment and submission apis 2011-12-12 09:03:09 -07:00
discussion_topic.rb allow module progression when background job hasn't finished 2011-12-09 12:52:36 -07:00
document_service.rb Initial commit. 2011-01-31 18:57:29 -07:00
enrollment.rb only queue one recompute_final_score per user+course 2012-01-04 11:24:25 -07:00
enrollment_dates_override.rb term start/term end, rather than whenever 2011-09-13 15:20:15 -06:00
enrollment_term.rb optimize UsersController#show a bit 2011-10-06 13:42:42 -06:00
eportfolio.rb account-level option to disable eportfolios, closes #5169 2011-08-24 17:38:06 -06:00
eportfolio_category.rb localize ePortfolios 2011-06-24 13:17:25 -06:00
eportfolio_entry.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
error_report.rb sanitize invalid UTF-8 before creating error reports 2011-09-15 15:30:17 -06:00
etherpad_collaboration.rb remove collaborations.yml dependency, refs #5796 2011-10-25 17:32:32 -06:00
external_feed.rb replace usage of Date.today 2011-12-20 15:25:45 -07:00
external_feed_entry.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
external_url.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
favorite.rb added favorite courses option to main menu 2011-10-24 15:50:34 -06:00
folder.rb redirect to new files with the same path as deleted files 2011-08-10 20:58:30 -06:00
google_docs_collaboration.rb Initial commit. 2011-01-31 18:57:29 -07:00
gradebook_upload.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
grading_standard.rb improve data hygiene in GradingStandards 2011-12-15 08:32:53 -07:00
group.rb remove the account.root_account || account idiom 2012-01-03 11:47:33 -07:00
group_category.rb self signup group categories 2011-10-11 17:22:46 -06:00
group_membership.rb include account groups in menu regardless of enrollments 2011-10-20 15:04:52 -06:00
hashtag.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
inbox_item.rb added states so we can retire messages w/o deleting them yet 2011-08-16 21:15:26 -06:00
learning_outcome.rb AR select and order options do not take an array 2011-09-27 12:05:51 -06:00
learning_outcome_group.rb fix infinite recursion in outcome groups 2011-12-19 16:28:26 -07:00
learning_outcome_result.rb avoid several extra cases of saving learning outcome results 2011-05-31 13:10:33 -06:00
mailer.rb allow for configuration of outgoing email name 2011-07-21 13:33:16 -06:00
media_object.rb don't require a session to download attachments through the api 2011-10-07 17:04:43 -06:00
message.rb search for communication channels case insensitively fixes #6750 2011-12-30 19:36:29 -07:00
notification.rb don't bother validating the length of Notification bodies 2011-12-16 12:32:01 -07:00
notification_policy.rb fix saving notification preferences with score notifications disabled 2011-11-18 08:56:59 -07:00
oauth_request.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
observer_enrollment.rb Initial commit. 2011-01-31 18:57:29 -07:00
open_object.rb Initial commit. 2011-01-31 18:57:29 -07:00
page_comment.rb localize PageComments 2011-06-17 08:28:33 -06:00
page_view.rb record real_user in page_view fixes #5013 2011-07-08 11:54:48 -06:00
page_view_range.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
plugin_setting.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
pseudonym.rb use Pseudonym.custom_find_by_unique_id instead of find_by_unique_id 2012-01-04 15:58:40 -07:00
pseudonym_session.rb make "stay logged in" use a one-time token 2011-11-22 10:15:13 -07:00
quiz.rb correctly account for time zone in quiz#due_at= 2011-12-27 16:46:59 -07:00
quiz_group.rb get quiz group name when importing 2011-10-26 12:31:13 -06:00
quiz_question.rb cleanup links in quiz questions; fixes #6212 2011-11-22 16:23:44 -07:00
quiz_submission.rb correctly update quiz status re: essay questions. fixes #5436 2011-11-29 10:18:25 -07:00
quiz_submission_snapshot.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
report_snapshot.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
role_override.rb Roles API; refs #6182 2011-12-21 09:27:47 -07:00
rubric.rb explicit utc db times in update_all 2011-08-30 16:46:25 -06:00
rubric_assessment.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
rubric_association.rb give option to adjust assignment points possible based on rubric points possible 2011-11-10 13:15:36 -07:00
scribd_account.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
scribd_mime_type.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
session_persistence_token.rb make "stay logged in" use a one-time token 2011-11-22 10:15:13 -07:00
setting.rb conversations api, closes #4753 2011-09-13 09:28:57 -06:00
short_message.rb Initial commit. 2011-01-31 18:57:29 -07:00
short_message_association.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
sis_batch.rb don't add items to list if their scope is nil 2012-01-04 11:16:50 -07:00
sis_batch_log_entry.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
stream_item.rb don't show discussion responses in stream when not allowed 2011-11-04 12:27:27 -06:00
stream_item_instance.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
student_enrollment.rb Initial commit. 2011-01-31 18:57:29 -07:00
submission.rb replace usage of Date.today 2011-12-20 15:25:45 -07:00
submission_comment.rb don't leak muted assignment data (fixes #6321) 2011-12-10 06:08:16 -07:00
submission_comment_participant.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
ta_enrollment.rb Initial commit. 2011-01-31 18:57:29 -07:00
tableless.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
teacher_enrollment.rb Initial commit. 2011-01-31 18:57:29 -07:00
thumbnail.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
user.rb help dialog overhaul fixes: #5784 2012-01-05 09:19:42 -07:00
user_account_association.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
user_note.rb User notes from conversation messages; still needs UI 2011-07-31 16:09:03 -06:00
user_profile.rb basic lti navigation links 2011-11-04 17:07:17 -06:00
user_service.rb fix user_service utc bug 2011-10-04 09:54:52 -06:00
web_conference.rb remove deprecated ruby syntax 2011-09-27 10:28:22 -06:00
web_conference_participant.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
wiki.rb string extraction for most i18n oddities 2011-06-30 16:48:12 -06:00
wiki_namespace.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
wiki_page.rb allow module progression when background job hasn't finished 2011-12-09 12:52:36 -07:00
wiki_page_comment.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
wimba_conference.rb expose sortable name to user, fixes #5317 2011-10-31 12:22:08 -06:00
zip_file_import.rb zip_file_imports i18n 2011-06-10 08:25:15 -06:00