don't stop the boot if you don't have permission to create a tmp folder

Change-Id: Ia4498c2c6795c20c440930e844ad88b4b39a2c01
Reviewed-on: https://gerrit.instructure.com/31771
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Brian Palmer <brianp@instructure.com>
QA-Review: Brian Palmer <brianp@instructure.com>
fix issue where speedgrader sidebar doesn't load in quiz submission attempts

fixes CNVS-11994

test plan:

the problem on this one comes up when we are trying to view submission versions
that were created before the namespace change. So we have to massage the data in
the console to reproduce what's going on here, or test it with data that was
created before the namespace changes.

- as a teacher
  - create a quiz that allows multiple attempts

- as a student
  - take the quiz two times

- in the console
  Version.update_all("versionable_type='QuizSubmission'", "versionable_type='Quizzes::QuizSubmission'")

- as a teacher
  - visit speedgrader for the student's submission
  - you should be able to switch between quiz attempts in the sidebar

Change-Id: I6e16abd91dcaa8d42bf66bcbacab0cce6eaed9e6
Reviewed-on: https://gerrit.instructure.com/32383
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Myller de Araujo <myller@instructure.com>
Reviewed-by: Cameron Matheson <cameron@instructure.com>
Product-Review: Derek DeVries <ddevries@instructure.com>
help: prompt for email address when user is not logged in

fixes CNVS-12002

test plan:
  * enable /plugins/error_reporting
  * open the login page
  * click "Help"
  * click "Report a Problem"
  * verify that there is a field for email address
  * log in
  * click "Help"
  * click "Report a Problem"
  * verify that there is no field for email address

Change-Id: I8ef05bd7e927de25716a3b5b9bc8f8844ed4d74f
Reviewed-on: https://gerrit.instructure.com/32375
Reviewed-by: Jon Willesen <jonw@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Braden Anderson <banderson@instructure.com>
disable auto-submissions of quizzes in background until we can do more
regression testing with due dates and lock dates

fixes CNVS-12048

test plan:
  - Create a quiz with a time-limit (1 minute will do)
  - As a student, start taking the quiz
  - only answer a few questions and then close the window
  - the quiz should not be auto-submitted in the background anymore

Change-Id: Ib91286466dc83aa2ad66d7206449a0956d8c0fe8
Reviewed-on: https://gerrit.instructure.com/32430
Reviewed-by: Josh Simpson <jsimpson@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Derek DeVries <ddevries@instructure.com>
enrollments API requires pseudonym on course's root account

in order to enroll a user in a course via the API, the user
being enrolled must have an active pseudonym that works
with the course's root account.

test plan:
 - an account administrator or site administrator should
   receive a user-not-found (status 404) error when trying
   to use the API to enroll a user in a course where the user
   does not have a login in the course's root account (i.e.,
   the user "belongs to a different institution"),
   AND the course's root account is _not_ the default account
   (since the default account trusts everybody; this allows
   anyone to enroll in FFT courses)
 - you should be able to create an Observer via the course's
   people page and link that observer to students in the course
   before creating a login for the observer.

fixes CNVS-12020

Change-Id: Ib058d9b78830347e6fadfdc86bf4325aa557c325
Reviewed-on: https://gerrit.instructure.com/32374
Reviewed-by: Brian Palmer <brianp@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
Merge tag 'release/2014-03-22.24' into edge

canvas release release/2014-03-22.24