canvas-lms/spec
James Williams 0c3880f807 log asset access for files on inline view and new files preview
test plan:
* enable page views
* create a course

* add an inlineable file (such as *.html)
* add a module item referencing the file
* as a course user, visit the module item (which
 should display the file in an iframe)
* inspect the iframe element and note the address
* visit the address in a browser without the same
 user session (e.g. in incognito mode)

 (NOTE: this is to simulate prod behavior, where
 it redirects to another domain where the user would not
 normally be logged in)
* visit the course user access report
* should have logged access to the file

* add a previewable file to the course (such as an image)
* in new files, click on the file to show a preview
* should also have logged access to the file in the
 user access report

closes #CNVS-17697

Change-Id: I0746a417be10ad3d446741d199e942b60490d766
Reviewed-on: https://gerrit.instructure.com/46613
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
2015-01-07 20:10:32 +00:00
..
apis Outcomes API - switch default calculation_method to be 'highest' 2015-01-07 18:13:38 +00:00
coffeescripts Rebuilt App Center in React 2015-01-05 21:34:02 +00:00
controllers log asset access for files on inline view and new files preview 2015-01-07 20:10:32 +00:00
factories spec: spec for differentiated assignments 2014-12-03 21:47:56 +00:00
fixtures mark teacher-role content in common cartridge as unpublished 2014-12-03 17:34:03 +00:00
gem_integration rspec 3-ify spec/gem_integration 2014-10-13 23:12:18 +00:00
helpers remove non-draft-state everything 2014-12-10 17:57:18 +00:00
initializers DA - unions on content_tag and discussion_topic scopes 2014-12-11 19:05:02 +00:00
integration log asset access for files on inline view and new files preview 2015-01-07 20:10:32 +00:00
javascripts a way for accounts to opt-in to new styles and users to high-contrast 2014-04-17 19:47:05 +00:00
lib Rebuilt App Center in React 2015-01-05 21:34:02 +00:00
messages rspec 3-ify spec/messages 2014-10-13 23:09:58 +00:00
middleware rspec 3-ify spec/middleware 2014-10-14 00:51:08 +00:00
migrations resolves group discussion entries not appearing in gradebook and speedgrader 2014-12-29 18:20:51 +00:00
models Outcomes API - switch default calculation_method to be 'highest' 2015-01-07 18:13:38 +00:00
observers rspec 3-ify spec/observers 2014-10-13 23:13:05 +00:00
presenters DA - remove filter from assignment_stats 2015-01-05 21:34:46 +00:00
selenium parse dates on edit-section page 2015-01-07 16:57:21 +00:00
serializers QLA - Table view / answer matrix 2014-12-19 22:11:56 +00:00
support spec: fix once-ler/sharding issues 2014-10-21 21:19:59 +00:00
views Hides groups from courses that are unpublished 2014-12-30 23:13:37 +00:00
ams_spec_helper.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
broadcast_integration.rb Initial commit. 2011-01-31 18:57:29 -07:00
cassandra_spec_helper.rb extract canvas_cassandra gem 2014-01-22 22:49:35 +00:00
coverage_tool.rb spec: remove formatting results in runtime 2014-11-24 19:30:39 +00:00
import_helper.rb assessment question bank migration content selection 2014-06-05 19:56:03 +00:00
lti_spec_helper.rb create lti_app collection api 2014-12-17 22:34:31 +00:00
mocha_extensions.rb use Rails' base_class 2014-09-30 21:14:22 +00:00
mocha_rspec_adapter.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
nested_instafail_formatter.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
quiz_spec_helper.rb canvas-partman & quiz log auditing partitioning 2014-11-11 19:06:00 +00:00
rcov.opts Initial commit. 2011-01-31 18:57:29 -07:00
sharding_spec_helper.rb fix sharding skip for rspec 3 2014-11-11 18:55:35 +00:00
spec.opts fixes for ruby 1.9.3 2012-05-12 14:34:23 -06:00
spec_helper.rb Outcomes - add calculation_method and calculation_int API access 2015-01-07 18:11:28 +00:00