converts rubrics/show js_block into js_bundle

test plan:
* regression test rubrics

Change-Id: I9b2878b4ae9f57e948fd1313c5812d5ffae62b23
Reviewed-on: https://gerrit.instructure.com/29132
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
converts rubrics/index js_block into js_bundle

test plan:
* regression test rubrics

Change-Id: I61810f5c2c00f3614008f19ca31d243cd483fca4
Reviewed-on: https://gerrit.instructure.com/29133
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
converts context/_inbox_items js_block into js_bundle

test plan:
* regression test discussion replies

Change-Id: I19cd28a64843008c64d336c8dff4c5a5048e302d
Reviewed-on: https://gerrit.instructure.com/29165
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
converts context/media_comment js_block into js_bundle

test plan:
* regression test context media comment

Change-Id: Iaabb16295dd30c86b6b8d5ede60964e9a4480e95
Reviewed-on: https://gerrit.instructure.com/29163
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Stanley Stuart <stanley@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
converts context/roster_user js_block into js_bundle

test plan:
* regression test context roster user

Change-Id: I98a175ae3a2724cef8e990360f77d23fa1065014
Reviewed-on: https://gerrit.instructure.com/29161
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
converts context/roster_user_services js_block to js_bundle

test plan:
* regression test context roster user services

Change-Id: Id47cb22c1a0fd09a3ef976f07e31bed9a03985b0
Reviewed-on: https://gerrit.instructure.com/29160
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Stanley Stuart <stanley@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
converts context/undelete_index js_block to js_bundle

test plan:
* regression test undeleting item for context

Change-Id: I5ec6bb90fba28a8fe54cac882799c45036323f18
Reviewed-on: https://gerrit.instructure.com/29158
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
convert courses course wizard box js_block into js_bundle

test plan:
* regression test course wizard box

Change-Id: I6e5fee9f2b6c68231ddcd9d744fb76dee8a7bb7c
Reviewed-on: https://gerrit.instructure.com/29157
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
converts facebook/index js_block into js_bundle

test plan:
* regression test facebook index

Change-Id: Ieba5b1d96598b8b08ef8d5073f124d10b654d9c3
Reviewed-on: https://gerrit.instructure.com/29150
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Stanley Stuart <stanley@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
converts facebook/settings js_block into js_bundle

test plan:
* regression test facebook settings

Change-Id: I8a316e899fdb10f2ffd4671f30cee331f2631dd4
Reviewed-on: https://gerrit.instructure.com/29149
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
converts js_block in gradebooks/_assignments into js_bundle

test plan:
* regression test gradebook assignments

Change-Id: I5ece9df1770acdc8adf901f8fbf5e8d5e60c5413
Reviewed-on: https://gerrit.instructure.com/29145
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
removes js_blocks in gradebooks/grade_summary

test plan:
* gradebook regressions

Change-Id: I6706fa542dcf3c00efcc061fdc14f574960bc7dc
Reviewed-on: https://gerrit.instructure.com/29144
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
converts user_outcome_results js_block into js_bundle

test plan:
* regression test user outcome results

Change-Id: Ie69085636afaa4f582ddacb81ca970ae42928a31
Reviewed-on: https://gerrit.instructure.com/29140
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
Show Quiz icon in module items

Fixes CNVS-10921

Test plan:

  - create a quiz and create a module that includes it
  - refresh the modules page
  - verify that the quiz item shows the quiz icon (Q) and not the blank
    document one

Change-Id: Icea7fa4b02a478e0c1a459339513e02a7f5d8fdb
Reviewed-on: https://gerrit.instructure.com/29564
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jason Madsen <jmadsen@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Ahmad Amireh <ahmad@instructure.com>
fix assignment import_from_migration external tool rescue in rails 3

setting item.external_tool_tag = nil will trigger destruction
on the old tag

Change-Id: I4b6e257a466a9fceb0a768980019448a2c6a767e
Reviewed-on: https://gerrit.instructure.com/29647
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>
fix creation of new shards through a view on postgres 9.3 on rails 3

Change-Id: Ibd25dde8758ebaee3db855fb89fecb72d898457b
Reviewed-on: https://gerrit.instructure.com/29577
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
fix selective_content_formatter for rails 3

Change-Id: Ie26c2eb56d1e29c1108f13d9ef8d7773e908a298
Reviewed-on: https://gerrit.instructure.com/29606
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>
implement new content checkbox selection for content migrations

fixes CNVS-10400
fixes CNVS-10399

Test Plan
1. Copy a course, any course (with content). Make sure to copy a course
and check the 'select content' option.
2. When asked to "select content" by pressing the blue button when
migrating a course, observe the follow:
  a) Checkboxes should now look like the new design kyle made. This
includes removing the old "Select All" buttons and checkbox groups now
have a nice border around them.
  b) There is now a arrow next to checkboxes that represent if a
checkbox group has been expanded or not. Clicking top level checkbox
arrows should load it's sub checkboxes. This only happens once to
imporve performance.
  c) Checking a toplelve checkbox and then expanding should also check
all of this child checkboxes.
  d) There is now what's called an 'indeterminate' state for checkboxes.
If you have a child checkbox inside of a folder and you only select one,
the parent checkboxes will be given a line through them that represents
an 'indeterminate' state.
  e) Migrating a course should work as normal.
  f) Pressing the 'cancel' button should close the dialog window
  g) The 'Select content' button should be disabled unless you have
selected at least one item via click a checkbox.

Change-Id: I3c57d16ab7d09ab4b4e61167160ab47da0a34018
Reviewed-on: https://gerrit.instructure.com/29418
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
fix failing specs on quiz_submissions for rails3

fixes:
- add an explicit after_save callback to save the assignment instead of before_save
- strip invalid characters from version_data input correctly
- fix error object formatting in assertions

Change-Id: Icdef876c63c4734e502d06a632fd9057a3bfd628
Reviewed-on: https://gerrit.instructure.com/29638
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jon Willesen <jonw@instructure.com>
Product-Review: Derek DeVries <ddevries@instructure.com>
QA-Review: Derek DeVries <ddevries@instructure.com>
spec: group_spec for rails3

the Group#infer_defaults method resets the account based on the
context. the old test only passed because of caching. assigning
the context will cause the account to be assigned on save.

Change-Id: Ie59c97605802ce208649106c89f75aada62bd702
Reviewed-on: https://gerrit.instructure.com/29527
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Derek DeVries <ddevries@instructure.com>
Product-Review: Jon Willesen <jonw@instructure.com>
QA-Review: Jon Willesen <jonw@instructure.com>