canvas-lms/spec/controllers
Simon Williams b9e5da3610 log AUA for courses#show api request
fixes CNVS-38992

test plan:
- enable page views
- make an api request (from a dev key) to a specific course
- an AssetUserAccess record should be logged
- make sure api requests from an xhr request in the web app don't create
  duplicates

Change-Id: I90fa461fdf0736d0be5dd1933a43f8267565d496
Reviewed-on: https://gerrit.instructure.com/124923
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2017-09-27 22:39:22 +00:00
..
bookmarks rails 5.1: enforce new controller/integration spec format 2017-07-25 21:05:42 +00:00
login prevent access to /login/(canvas|ldap) if they don't exist 2017-09-13 23:25:47 +00:00
lti url encode jwt aud parameter 2017-08-23 19:05:55 +00:00
quizzes Only mark submissions read if user is submitter. 2017-09-19 20:53:49 +00:00
submissions spec: rails 5.1: rewrite controller spec format - part S-W 2017-07-25 16:18:58 +00:00
support_helpers spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
account_authorization_configs_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part A 2017-07-25 16:19:39 +00:00
accounts_controller_spec.rb allow default help link text to be edited 2017-09-25 15:21:26 +00:00
announcements_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part A 2017-07-25 16:19:39 +00:00
app_center_controller_spec.rb da licença part 45 2017-04-28 17:53:35 +00:00
application_controller_spec.rb Handle multiple tool on the page when resizing 2017-08-18 16:30:28 +00:00
appointment_groups_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part A 2017-07-25 16:19:39 +00:00
assignment_groups_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
assignments_controller_spec.rb add the anonymous_instructor_annotations attribute to assignment 2017-09-06 19:47:21 +00:00
auditor_api_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
brand_configs_api_controller_spec.rb da licença part 45 2017-04-28 17:53:35 +00:00
brand_configs_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part B-C 2017-07-25 16:19:32 +00:00
calendar_events_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part B-C 2017-07-25 16:19:32 +00:00
calendars_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
canvadoc_sessions_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
collaborations_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
communication_channels_controller_spec.rb require user authorization for resending cc confirmations 2017-09-14 17:35:36 +00:00
conferences_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
content_exports_controller_spec.rb rails 5.1: enforce new controller/integration spec format 2017-07-25 21:05:42 +00:00
context_controller_spec.rb bypass the wiki model as much as possible for wiki_pages 2017-08-09 16:09:06 +00:00
context_modules_controller_spec.rb touch modules when reordering 2017-09-21 14:44:29 +00:00
conversations_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
courses_controller_spec.rb log AUA for courses#show api request 2017-09-27 22:39:22 +00:00
crocodoc_sessions_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
developer_keys_controller_spec.rb Add DeveloperKey/vendor code association for LTI2 2017-08-07 16:32:48 +00:00
disable_post_to_sis_api_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part D 2017-07-25 16:19:26 +00:00
discussion_entries_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
discussion_topics_api_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
discussion_topics_controller_spec.rb restrict editing for group discussion sub-topics 2017-09-05 12:44:52 +00:00
eportfolio_categories_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part E 2017-07-25 16:19:19 +00:00
eportfolio_entries_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part E 2017-07-25 16:19:19 +00:00
eportfolios_controller_spec.rb safely delete attachments 2017-09-21 19:51:45 +00:00
epub_exports_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
equation_images_controller_spec.rb better uri handling on equation image redirection 2017-08-24 22:47:55 +00:00
errors_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
external_content_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
external_tools_controller_spec.rb bypass the wiki model as much as possible for wiki_pages 2017-08-09 16:09:06 +00:00
file_previews_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
files_controller_spec.rb remove submissions_folder feature flag 2017-09-20 19:33:03 +00:00
folders_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part F-G 2017-07-25 16:19:11 +00:00
gradebook_csvs_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part F-G 2017-07-25 16:19:11 +00:00
gradebook_history_api_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part F-G 2017-07-25 16:19:11 +00:00
gradebook_settings_controller_spec.rb add enter grades as to assignment column options menu 2017-09-25 15:10:09 +00:00
gradebook_uploads_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part F-G 2017-07-25 16:19:11 +00:00
gradebooks_controller_spec.rb improve management of gradebook versions 2017-09-25 15:12:53 +00:00
grading_period_sets_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part F-G 2017-07-25 16:19:11 +00:00
grading_periods_controller_spec.rb spec: remove mocha 2017-07-27 18:22:39 +00:00
grading_standards_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part F-G 2017-07-25 16:19:11 +00:00
graphql_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
group_categories_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part F-G 2017-07-25 16:19:11 +00:00
groups_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part F-G 2017-07-25 16:19:11 +00:00
info_controller_spec.rb ensure js/css build succeeded during health_check 2017-08-25 20:22:53 +00:00
jwts_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part L 2017-07-25 16:26:28 +00:00
late_policy_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part L 2017-07-25 16:26:28 +00:00
legal_information_controller_spec.rb da licença part 45 2017-04-28 17:53:35 +00:00
login_controller_spec.rb return canvas and LDAP users to their login screen when logging out 2017-08-08 21:25:44 +00:00
lti_api_controllers_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
media_objects_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
media_tracks_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
messages_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part M-P 2017-07-25 16:20:11 +00:00
oauth2_provider_controller_spec.rb ignore remember_authorization when scopes are passed to oath2 2017-09-27 19:16:45 +00:00
oauth_proxy_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part M-P 2017-07-25 16:20:11 +00:00
outcome_results_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part M-P 2017-07-25 16:20:11 +00:00
outcomes_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part M-P 2017-07-25 16:20:11 +00:00
page_views_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
planner_notes_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part M-P 2017-07-25 16:20:11 +00:00
planner_overrides_controller_spec.rb bypass the wiki model as much as possible for wiki_pages 2017-08-09 16:09:06 +00:00
plugins_controller_spec.rb Don't use account_id in plugins controller spec 2017-08-15 14:16:18 +00:00
profile_controller_spec.rb don't let unconfirmed communication channels be set as default 2017-09-15 14:32:43 +00:00
pseudonyms_controller_spec.rb password reset tokens expire after two hours (configurable) 2017-08-15 17:08:19 +00:00
question_banks_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part Q-R 2017-07-25 16:19:04 +00:00
role_overrides_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part Q-R 2017-07-25 16:19:04 +00:00
rubric_assessments_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part Q-R 2017-07-25 16:19:04 +00:00
rubric_associations_controller_spec.rb Fix 401 errors on adding rubrics to an assignment 2017-09-22 22:07:49 +00:00
rubrics_controller_spec.rb Fix 401 errors on adding rubrics to an assignment 2017-09-22 22:07:49 +00:00
search_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part B-C 2017-07-25 16:19:32 +00:00
self_enrollments_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
sis_api_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part S-W 2017-07-25 16:18:58 +00:00
sub_accounts_controller_spec.rb optionally include root account in sub-account search 2017-09-25 19:59:00 +00:00
submission_comments_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part S-W 2017-07-25 16:18:58 +00:00
submissions_controller_spec.rb remove submissions_folder feature flag 2017-09-20 19:33:03 +00:00
terms_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
tokens_controller_spec.rb spec: rails 5.1: rewrite controller spec format - part S-W 2017-07-25 16:18:58 +00:00
user_lists_controller_spec.rb spec: mocha => rspec-mocks for controllers 2017-07-26 20:40:52 +00:00
users_controller_spec.rb Display all login information in ActAs modal 2017-09-22 19:31:25 +00:00
web_zip_export_controller_spec.rb da licença part 45 2017-04-28 17:53:35 +00:00
wiki_pages_controller_spec.rb create wiki pages directly on contexts 2017-08-11 20:46:17 +00:00