canvas-lms/spec/models
Cameron Matheson b9e014ce86 notifications: allow including extra data for messages
refs #7771

This adds a 'data' block to broadcast_policy definitions.  The data
block should return a hash which will be turned into a struct named
'data' that is accessible in the message templates

Change-Id: I3c6d76577a1a1ba0f832669a4196fc8fae609058
Reviewed-on: https://gerrit.instructure.com/9720
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2012-04-18 17:08:13 -06:00
..
discussion_topic update the topic materialized view after the entry save transaction commits 2012-04-02 09:06:47 -06:00
account_authorization_config_spec.rb allow requested_authn_context to be configured on saml auth 2012-02-02 15:36:05 -07:00
account_notification_spec.rb fix account announcements across shards fixes #7396 2012-03-13 09:14:26 -06:00
account_spec.rb remove the generic :site_admin permission fixes #7848 2012-04-16 15:10:22 -06:00
active_record_base_spec.rb find_ids_in_ranges helper 2012-04-18 17:01:39 -06:00
alert_spec.rb fixes alert notification to say why it was sent 2012-03-02 12:33:34 -07:00
announcement_spec.rb send announcement notifications to observers; fixes #7424 2012-03-14 14:26:14 -06:00
appointment_group_spec.rb only send scheduler notifications to available courses; fixes #7267 2012-03-20 08:42:30 -06:00
assessment_question_bank_spec.rb don't repeat questions when picking from banks, fixes #4212 2011-10-19 09:42:29 -06:00
assessment_question_spec.rb make question data always a HashWithIndifferentAccess 2012-02-09 16:29:54 -07:00
asset_user_access_spec.rb fix names on the access report, other tweaks; fixes #4682 2011-11-01 11:56:54 -06:00
assignment_group_spec.rb use a meaningful context for confirmation notifications 2012-02-22 14:43:53 -07:00
assignment_spec.rb student view; closes #6995 2012-04-03 14:11:07 -06:00
attachment_spec.rb add spec for scribd in multiple shards refs #7695 2012-03-19 09:33:56 -06:00
bookmark_service_spec.rb switch to mocha mock framework for specs 2011-10-27 08:37:13 -06:00
broadcast_policies_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
calendar_event_spec.rb fix cancel typos refs #7949 2012-04-04 15:43:00 -06:00
collaboration_spec.rb remove collaborations.yml dependency, refs #5796 2011-10-25 17:32:32 -06:00
communication_channel_spec.rb use a meaningful context for confirmation notifications 2012-02-22 14:43:53 -07:00
content_export_spec.rb allow selective course exports 2012-04-02 17:28:51 -06:00
content_migration_spec.rb add rubrics to course copy options 2012-04-16 16:25:28 -06:00
content_tag_spec.rb don't sync file names and content tag names 2011-12-01 10:51:53 -07:00
context_external_tool_spec.rb Allow launch preference when external tools have matching precedence 2012-02-28 11:54:25 -07:00
context_module_spec.rb handle discussion assignments correcly when unlocking modules 2012-02-28 08:13:46 -07:00
context_spec.rb string validations/fixes, closes #4154. wiki fixes, closes #3973, #4168 2011-04-05 11:22:50 -06:00
conversation_message_spec.rb conversation messages for submission comments, fixes #5443 2012-01-20 15:56:32 -07:00
conversation_participant_spec.rb filter conversations while masquerading, fixes #7634 2012-04-06 13:49:47 -06:00
conversation_spec.rb filter conversations while masquerading, fixes #7634 2012-04-06 13:49:47 -06:00
course_section_spec.rb optimize course, section, and xlist sis imports 2011-08-19 10:21:56 -06:00
course_spec.rb allow student view student to upload files; fixes #7938 2012-04-09 10:47:49 -06:00
delayed_message_spec.rb switch to mocha mock framework for specs 2011-10-27 08:37:13 -06:00
developer_key_spec.rb always search for deprecated api key usage on the default shard 2012-04-02 09:07:13 -06:00
discussion_entry_spec.rb don't delete side comments when an entry is destroyed 2012-03-28 12:50:12 -06:00
discussion_topic_spec.rb update the topic materialized view after the entry save transaction commits 2012-04-02 09:06:47 -06:00
enrollment_spec.rb fix enrollment effective_start/end_at 2012-04-06 13:02:48 -06:00
enrollment_term_spec.rb fix i18n for default term name 2011-08-03 11:20:39 -06:00
eportfolio_category_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
eportfolio_entry_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
eportfolio_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
error_report_spec.rb improve error reports categories query on postgres 2012-01-20 12:44:21 -07:00
external_feed_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
folder_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
general_model_spec.rb ignore a model from an old migration for attr_accessible check 2011-09-27 09:39:07 -06:00
google_doc_entry.rb don't try and scribd html 2011-10-06 16:15:51 -06:00
grading_standard_spec.rb allow setting account grading scheme on course; fixes #5690 2012-02-27 10:13:26 -07:00
group_category_spec.rb self signup group categories 2011-10-11 17:22:46 -06:00
group_membership_spec.rb switch to mocha mock framework for specs 2011-10-27 08:37:13 -06:00
group_spec.rb student view; closes #6995 2012-04-03 14:11:07 -06:00
learning_outcome_group_spec.rb fix infinite recursion in outcome groups 2011-12-19 16:28:26 -07:00
learning_outcome_spec.rb recalculate grades when assignment points changes 2011-07-11 10:01:25 -06:00
media_object_spec.rb don't wait on media object processing when importing a course 2012-02-01 09:05:23 -07:00
message_spec.rb fix cancel typos refs #7949 2012-04-04 15:43:00 -06:00
notification_policy_spec.rb notifications: allow including extra data for messages 2012-04-18 17:08:13 -06:00
notification_spec.rb create messages with the user/cc, not the default shard 2012-03-21 11:57:58 -06:00
observer_enrollment_spec.rb fix page error if observed is not an active student 2012-03-09 10:46:56 -07:00
page_view_spec.rb make sure the page view has created_at set for the bucketing 2012-01-23 17:05:19 -07:00
plugin_setting_spec.rb better support for disabling plugins 2011-05-14 23:52:04 -06:00
pseudonym_spec.rb use built-in authlogic password generation closes #8002 2012-04-02 16:42:56 -06:00
quiz_group_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
quiz_question_spec.rb make question data always a HashWithIndifferentAccess 2012-02-09 16:29:54 -07:00
quiz_spec.rb include previous complete submissions in quiz statistics csv 2012-03-23 10:11:05 -06:00
quiz_submission_spec.rb correctly update quiz submisison when changing grade in gradebook 2012-03-05 11:48:32 -07:00
role_override_spec.rb student view; closes #6995 2012-04-03 14:11:07 -06:00
rubric_assessment_spec.rb Show freeform rubric comments to students, fixes #4864 2012-02-27 16:40:46 -07:00
rubric_spec.rb don't regard deleted rubrics' titles for dup check 2012-02-24 14:42:04 -07:00
scribd_account_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
sis_batch_spec.rb fix sis imported multiple enrollment types and multiple observers in same section 2012-02-08 13:06:10 -07:00
student_enrollment_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
student_view_enrollment_spec.rb student view; closes #6995 2012-04-03 14:11:07 -06:00
submission_comment_spec.rb fixes sporadic failures when comparing dates 2012-02-21 14:33:22 -07:00
submission_spec.rb fix time race condition in spec 2012-03-30 15:10:54 -06:00
ta_enrollment_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
teacher_enrollment_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
test.txt Initial commit. 2011-01-31 18:57:29 -07:00
user_service_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
user_spec.rb student view; closes #6995 2012-04-03 14:11:07 -06:00
web_conference_spec.rb switch to mocha mock framework for specs 2011-10-27 08:37:13 -06:00
wiki_namespace_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
wiki_page_spec.rb normalize user_id out of notification_policies 2012-02-01 12:42:23 -07:00
wiki_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
wimba_conference_spec.rb switch to mocha mock framework for specs 2011-10-27 08:37:13 -06:00
zip_file_import_spec.rb make zip file processing asynchronous 2012-02-29 14:04:53 -07:00