Fix inability to upload files without Flash

When Flash is unavailable, the fallback Add File link is not clickable,
because the invisible div#swfupload_holder is blocking it. Hide to fix.

Test plan:
* Use a browser with no Flash installed (or Flash disabled)
* Go to the Files page in any course
* Click on the Add File link
* Confirm that the basic HTML file uploader appears below
Updated ja translation
discussions: fix pinned discussion sorting

fixes CNVS-10801

The issue here is that discussion topics have a null position
when they're first pinned. Our sorting library doesn't handle
null positions, so we need to initialize it when we pin topics
and fix legacy data on demand.

To test legacy data handling, you can run the "BEFORE PATCH"
instructions or run this in the console:

DiscussionTopic.update_all(position: nil)

test plan:
  *** BEFORE PATCH ***
  * create a course with many discussions
  * pin some of the discussions
  *** after patch ***
  * pin, unpin, and sort discussions
  * refresh the page
  * verify that your discussion positions persist

Change-Id: I6770c584b4af41ddf9592d39fa14b5a424c5c57d
Reviewed-on: https://gerrit.instructure.com/31589
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Trevor deHaan <tdehaan@instructure.com>
Reviewed-by: Jon Willesen <jonw@instructure.com>
Product-Review: Braden Anderson <banderson@instructure.com>
log kaltura bulk API error instead of failing import

refs CNVS-11602

Change-Id: I0a5a26a455d08361b69e12f6e6bd552b9a149dfe
Reviewed-on: https://gerrit.instructure.com/31352
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
QA-Review: Bracken Mosbacker <bracken@instructure.com>
calendar2: update mini calendar with changes

fixes CNVS-10817

test plan:
  * load calendar2
  * create an event
  * verify that the day is darkened in the mini calendar
  * reschedule the event
  * verify that the mini calendar updates
  * delete the event
  * verify that the mini calendar updates

Change-Id: Ib3bffd866d2fb825af6804dc22ab1a92e93fb0b8
Reviewed-on: https://gerrit.instructure.com/31603
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Reviewed-by: Jon Willesen <jonw@instructure.com>
Product-Review: Braden Anderson <banderson@instructure.com>
outcome gradebook: fix outcome details link

fixes CNVS-11330

test plan:
  * open outcome gradebook
  * hover on a column header
  * click on the details link
  * click on an outcome
  * click on its title
  * verify that the outcome information loads

Change-Id: I46e3096659d8dcea47778dea738b26c7ff6958ca
Reviewed-on: https://gerrit.instructure.com/31691
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Reviewed-by: Jon Willesen <jonw@instructure.com>
Product-Review: Braden Anderson <banderson@instructure.com>
conferences: constrain title length

fixes CNVS-11010

test plan:
  * open a course conferences page
  * open the new conference dialog
  * attempt to enter more than 255 characters in the title field
  * verify that you cannot do so
  * save your new conference
  * verify that it saves successfully

Change-Id: I3d7c5d51ee0c8e224827a576982690cfebc38553
Reviewed-on: https://gerrit.instructure.com/31690
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Trevor deHaan <tdehaan@instructure.com>
Reviewed-by: Jon Willesen <jonw@instructure.com>
Product-Review: Braden Anderson <banderson@instructure.com>
fix cache forcing for rails 3

just use stubs, so we don't hide switchman's extensions

Change-Id: I65012c7221ce02f355035746ed06d42220af59b7
Reviewed-on: https://gerrit.instructure.com/31716
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Updated es translation
Updated pt translation
fix rails 3 spec mocking

if mocha was initialized prior to rails (i.e. if a spec like swagger
that doesn't initialize rails runs prior to a spec that needs rails),
CollectionProxy would remove the mocha methods when it was first defined.
so make sure we restore them

Change-Id: Icf9b1a2598fef279c32b37dd7afe52e15c07c23e
Reviewed-on: https://gerrit.instructure.com/31934
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Bryan Madsen <bryan@instructure.com>
QA-Review: Bryan Madsen <bryan@instructure.com>
Reviewed-by: Cameron Matheson <cameron@instructure.com>
escape user_content fields in rails 3

Change-Id: I02b6fd42d5d784b0628198e8e309d503bea0cc1a
Reviewed-on: https://gerrit.instructure.com/31711
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
deprioritize kaltura conversions with suspiciously high bitrates

we've seen some broken conversions that are 20x+ larger than
the original video.  add a quick heuristic to deprioritize any
conversion > 5x the size of the original.  (seems like if
the conversions are substantially larger than the original,
then we're doing it wrong.)

fixes CNVS-11227

Change-Id: I0b318c609ddd59f4507d38a4b69383f3ff77279c
Reviewed-on: https://gerrit.instructure.com/31442
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>
fix ember quizzes tests by making responses fresh on each setup

Temporary fix until we merge in a commit from ic-ajax that does this
automatically.

Change-Id: Iebaa987354eba4fa5796af50ea94f115dfd1f8f2
Reviewed-on: https://gerrit.instructure.com/31898
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Product-Review: Stanley Stuart <stanley@instructure.com>
QA-Review: Stanley Stuart <stanley@instructure.com>
fix delete button on new assignment details page

fixes CNVS-11824

test plan:
- go to the assignment index page
- click the 'new assignment' button
- on the new assignment details page, click the cog
- click 'delete'
- it should take you back to the index page, and not save the new assignment

Change-Id: Ifbbb151b40e526cd337ce809ea12d0df4371143c
Reviewed-on: https://gerrit.instructure.com/32034
Reviewed-by: Cameron Matheson <cameron@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Product-Review: Clare Strong <clare@instructure.com>
bump ruby-saml-mod to 0.1.25

fixes CNVS-10695

Change-Id: I76842f9f165d7446de1c32521755d789b11cda25
Reviewed-on: https://gerrit.instructure.com/31851
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Tested-by: Brian Palmer <brianp@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Brian Palmer <brianp@instructure.com>
Show conference date when conference is scheduled in the future

Test Plan:
  1.  Create a webex conference for a future date
  2.  Verify that the date shows up in the new conferences table

Change-Id: I6592c856c8ed0a3c7264d76f7fd4a4446ef790a2
closes: PS-1102
Reviewed-on: https://gerrit.instructure.com/31884
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brandon Broschinsky <brandonbr@instructure.com>
Product-Review: Adam Phillipps <adam@instructure.com>
QA-Review: Adam Phillipps <adam@instructure.com>
Updated es translation
Updated pt translation
spec: fix mysql when models don't have tables

Change-Id: I6d4e7c314d4bce58c28dff659c1a498b40cea40a
Reviewed-on: https://gerrit.instructure.com/32064
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Bryan Madsen <bryan@instructure.com>
Product-Review: Bryan Madsen <bryan@instructure.com>
QA-Review: Bryan Madsen <bryan@instructure.com>