canvas-lms/app/views/files
Jeremy Stanley 4cc01282e1 request scribd re-render when no preview available
test plan:
 1. work in an account with scribd enabled
    and google doc previews disabled
    (in console, add "-google_docs_previews" to the
     Accounts's allowed_services)
 2. upload a scribd-previewable file type in the files tab
    (it needs to be a new file that is not already in
     the canvas instance)
 3. make sure it previews properly (it may take a minute
    after uploading for the scribd rendering to complete)
 4. delete the file
 5. undelete the file (/courses/X/undelete)
 6. reload the files tab, and click on the filename on the
    left side.
    - on the right, you should see a message like
      "the preview for this document is unavailable;
       please try again later".
 7. reload the files tab again, then click on the filename.
    - if the scribd rendering has completed, you should see
      a scribd preview.  if you don't, wait a few minutes and
      reload the files page again, to give scribd some time.
 8. test other areas documents can be previewed.  (it's
    permissible to simply delete the scribd_doc in the console
    via attachment.delete_scribd_doc, then try to preview,
    see that a "try again later" message appears, and the
    scribd preview appears in later page views.)
   a. documents embedded in rich text via the wiki sidebar
   b. student submissions, as viewed by the student
      ("submission details" button, "preview" icon)
   c. student submissions, as viewed by the teacher
      in SpeedGrader(TM)

fixes CNVS-7019

Change-Id: I37be820a776637252e14b6a28a1be389b718ff9f
Reviewed-on: https://gerrit.instructure.com/22438
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Matt Goodwin <mattg@instructure.com>
2013-07-25 21:47:07 +00:00
..
_content_file.html.erb Alphabetize files and folders 2012-09-28 14:49:05 -06:00
_content_folder.html.erb misc title/alt attribute i18n 2011-07-07 09:36:03 -06:00
_fields.html.erb i18n files part 2 2011-06-16 07:18:28 -06:00
_folder.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_nested_content.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
full_index.html.erb request scribd re-render when no preview available 2013-07-25 21:47:07 +00:00
new.html.erb i18n files part 2 2011-06-16 07:18:28 -06:00
show.html.erb show media preview for media files in file show view 2013-06-25 16:06:56 +00:00
text_show.html.erb i18n files part 2 2011-06-16 07:18:28 -06:00