restore some styles, fixes CNVS-4905

these were inexplicably removed. fixes the course license dialog

test plan:
1. go to course settings
2. click the help icon next to the license
3. the license ui should work again, and it should only ever show the
   current license

Change-Id: I0ab6e7b8e03d113bffb5ac97307d287f62841bb8
Reviewed-on: https://gerrit.instructure.com/19123
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Cam Theriault <cam@instructure.com>
Reviewed-by: Eric Berry <ericb@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
Fix styling with bootstrap on migrations page

This makes sure the one of the buttons is a
bootstrap button, it ensures we are using
the bootstrap row property and form-inline
property and in general, make the migration
page look better.

test plan
1. Import a course
2. Migrate from Another System
3. Select "blackboard vista …" as your school
your importing from
4. Verify the buttons are consistent looking.

1. Import a course
2. Migrate from another course
3. Click "copy from a course"
4. Then check "Adjust events and due dates"
5. Ensure the dates are formatted correctly

Change-Id: I761660b7fec4885ce1dc65c7e0129f5643faa861
fixes: CNVS-4306
Reviewed-on: https://gerrit.instructure.com/18224
Reviewed-by: James Williams  <jamesw@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Adam Phillipps <adam@instructure.com>
fix display regression, closes CNVS-4995

the content underneath was bleeding through. z-index strikes again!

test plan:
1. go to the account page, e.g. /accounts/1
2. type in a course name in the search (4+ characters to trigger
   autocomplete)
3. you should see the search results, and the sidebar content should not
   bleed through

Change-Id: Idf18c0d6b506cb03fc72099162c237f3783e6818
Reviewed-on: https://gerrit.instructure.com/19148
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Eric Berry <ericb@instructure.com>
QA-Review: Cam Theriault <cam@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
bootstrap-ify buttons, fixes CNVS-4878

make submit button not-huge, blue, and on the right

test plan:
1. go to a Files page
2. click the zip import icon
3. the submit button on the import page should not look ridiculous

Change-Id: I139f57de18b4cc5c474ba8eda8fadb5c0fcef1cf
Reviewed-on: https://gerrit.instructure.com/19152
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Eric Berry <ericb@instructure.com>
QA-Review: Cam Theriault <cam@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
resolved cut-off quiz answer form for matching

fixes CNVS-4975

test steps:
1. As a teacher go into an existing quiz or create a new one.
2. In the Questions tab > + New Question > Matching
3. Ensure that the form fields are of reasonable size and not cutting
   off

Change-Id: Ia36cc96cb45dbc8ceebbf56b24a88e645bf4ba3c
Reviewed-on: https://gerrit.instructure.com/19155
Reviewed-by: Stanley Stuart <stanley@instructure.com>
QA-Review: Clare Hetherington <clare@instructure.com>
Product-Review: Eric Berry <ericb@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
fix large buttons, fixes CNVS-5007

more btn-large -> btn-primary

test plan:
you should see primary (blue) buttons now on these pages:
1. sis imports
2. content exports
3. content imports

Change-Id: I2022a201e91944bc4fc07cac82e1e40fdbdb43d1
Reviewed-on: https://gerrit.instructure.com/19157
Reviewed-by: Eric Berry <ericb@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Clare Hetherington <clare@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
make h1/h2/etc. less overwhelming, fixes CNVS-5006

reverts their size and weight to pre-bootstrap

test plan
1. use canvas
2. headings should not be ridiculously shouty

Change-Id: Ic01c9d8fe14f9aac64a43ef115dc447577dd2dfd
Reviewed-on: https://gerrit.instructure.com/19153
Reviewed-by: Eric Berry <ericb@instructure.com>
Reviewed-by: Stanley Stuart <stanley@instructure.com>
QA-Review: Cam Theriault <cam@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
resolved min-width scrolling text field on quiz

fixes CNVS-5019

test steps:
- Edit a Quiz and create a new Matching question
- Resize the window, horizontally, as small as you can
- Ensure that the text fields don't appear as scrollable horizontally

Change-Id: I1fa15a34db451ee09221e7dcbb0170c337dd256e
Reviewed-on: https://gerrit.instructure.com/19174
QA-Review: Cam Theriault <cam@instructure.com>
Reviewed-by: Stanley Stuart <stanley@instructure.com>
Product-Review: Eric Berry <ericb@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
added proper spacing on submission details in speed grader

fixes CNVS-4974

test steps:
- submit an assignment as text entry as a student
- view the assignment submission in the speed grader as a teacher
- ensure that there is spacing above the 'paper view' dropdown

Change-Id: I116d388c6478a7a72f4c64ae8117e4b44e39a821
Reviewed-on: https://gerrit.instructure.com/19154
Product-Review: Bryan Madsen <bryan@instructure.com>
Reviewed-by: Stanley Stuart <stanley@instructure.com>
QA-Review: Cam Theriault <cam@instructure.com>
Tested-by: Bryan Madsen <bryan@instructure.com>
fix mathquill editor exponents being far away from text

test plan:
  - using the rich content editor, open the math editor (pi icon)
  - make an equation like 2^2 (2 raised to the 2nd, you can raise
    using the "sup" button
  - make sure the text also looks good inside e.g. a square root
    operation.

fixes CNVS-4985

Change-Id: Ibe749aaab468ed003bfec222f9387f403fdfd763
Reviewed-on: https://gerrit.instructure.com/19156
Reviewed-by: Jon Jensen <jon@instructure.com>
QA-Review: Clare Hetherington <clare@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Bryan Madsen <bryan@instructure.com>

Conflicts:
	app/stylesheets/jst/tinymce/EquationEditorView.scss
ensure tinymce gets our bootstrap overrides, fixes CNVS-5024

test plan:
1. create a page with an <h2>
2. the <h2> should be the same weight (normal) and size when editing or
   viewing the page

Change-Id: I408dffbc794be22361bd38cec055b74ce5d8d38f
Reviewed-on: https://gerrit.instructure.com/19187
Reviewed-by: Stanley Stuart <stanley@instructure.com>
QA-Review: Clare Hetherington <clare@instructure.com>
Tested-by: Bryan Madsen <bryan@instructure.com>
Product-Review: Bryan Madsen <bryan@instructure.com>
treesame commit of origin/stable/2013-03-30

Treesame-Commit-Id: 824e972ecd89abab3788767eaf6619d354053e44
updated en.yml

Change-Id: I38ddc15b732c0cb6b84b9887ce77ca2e0ed17584
multiple due date summary tooltip

Notes:
* On index pages, assignments and quizzes with multiple due dates
  now show a summary of due dates in a tooltip when hovering over
  "Multiple Due Dates"
* The tooltip shows a max of 10 dates, and if there are more, it
  ends with "and # more..." showing how many dates are not shown
* The ticket requested that the "and # more..." links to the
  assignment page, but that would be hard to click since leaving
  the anchor link makes the hover disappear; instead the actual
  "Multiple Due Dates" anchor link will link to the show page
* Tooltip appears for teachers on the following pages:
  - Global assignments page
  - Course assignments page
  - Course quizzes page
  - Course modules page

Test Plan:
* Create assignments and quizzes with multiple due dates
* Navigate to the pages above and verify that there are tooltips for
  items with multiple due dates
* Verify that the section names and dates are correct for each item
* Verify that when there are more than 10 due dates, the tooltip only
  shows 10 dates and ends with "and x more..." with the number of
  dates not shown

fixes CNVS-2646

Change-Id: I96d12b25d6690393c942c90b8e121da6e20191e0
Reviewed-on: https://gerrit.instructure.com/18769
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
Reviewed-by: Stanley Stuart <stanley@instructure.com>
switch position of save profile and cancel buttons when editing user profile

Test plan:

Go to a users Profile page > Edit Profile >  Save Profile button is now on right

Change-Id: I82b95d1fd3783de6b29b9fbbfecfb43029366d4d
Reviewed-on: https://gerrit.instructure.com/18897
Reviewed-by: Stanley Stuart <stanley@instructure.com>
QA-Review: Cam Theriault <cam@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Stanley Stuart <stanley@instructure.com>
upgrade nokogiri and libxml-ruby

delayed job workers segfault often when using libxml2 and ruby 1.9

these issues are not present when using version 2.9.0 of libxml2,
however, newer versions of nokogiri and libxml-ruby are required in
order to compile against the newer libxml2

fixes #CNVS-4669

Change-Id: I5100ba6e0f4779da49bce471cff03cb83b3c06b2
Reviewed-on: https://gerrit.instructure.com/18658
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
QA-Review: Adam Phillipps <adam@instructure.com>
switch mathjax cdn to https

test plan:
* make sure that the advanced math editor works
when using https

fixes #CNVS-5061

Change-Id: I99e173574897498086b000b505262bb67fa2135a
Reviewed-on: https://gerrit.instructure.com/19299
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Adam Phillipps <adam@instructure.com>
work around a lockdown browser rendering issue

lockdown browser has an issue when the base explorer install is IE9 where the
first page rendered after a popup window is opened does not render correctly.
since it only happens in the first page after the popup is created, we are
working around it for now by loading a dummy page as the first page which
automatically redirects to the actual quiz page.

fixes CNVS-3881
refs CNVS-4853

test plan
- make sure taking quizzes works fine with LDB
- in a system with LDB and a base IE9 installed
- start taking a quiz, it should render correctly
- try with/without oqaat, and other quiz options

Change-Id: I5bf51cce9d7722e62941dd8db0d40163ccc032bd
Reviewed-on: https://gerrit.instructure.com/19272
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Stanley Stuart <stanley@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Product-Review: Bryan Madsen <bryan@instructure.com>
plumb media comment types to grade summary page

fixes CNVS-1839

test plan:
 - as a student, submit an assignment
 - as a teacher, record video and audio comments for the submission
   in speedgrader
 - (wait for kaltura to process the media comments...)
 - as the student, go to the grades page and click the "full details"
   button
 - make sure that the video and audio comments both play properly

Change-Id: I2ab093fde1a2ceec292f149cd535739eca3b1880
Reviewed-on: https://gerrit.instructure.com/19070
QA-Review: Adam Phillipps <adam@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
bootstrap: make 'flag quiz question' button visible

fixes CNVS-5028

test plan:
- Edit a Quiz and create a new Matching question. Make sure students
  can see the correct answers by enabling that option in the quiz.
- Resize the window, horizontally, as small as you can
- Ensure that the text fields don't appear as scrollable
  horizontally
- start taking a quiz. make sure you get at least one question wrong.
- the button to flag questions should be available
- after you take the quiz, make sure the red/green/arrows that show up
  for the submission on results on the left look fine.

Change-Id: I9367ef6ab5b40d48d9d640a3c8f4c0c7c628e12d
Reviewed-on: https://gerrit.instructure.com/19191
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Myller de Araujo <myller@instructure.com>
Product-Review: Stanley Stuart <stanley@instructure.com>
Reviewed-by: Cameron Matheson <cameron@instructure.com>