use ic-actions for quiz settings menu

closes CNVS-9398

test plan:
  - enable fabulous quizzes
  - navigate to quizzes index
  - verify that settings pop up menu works as before
  - verify that settings pop up menu is still accessible
  - verify that new settings style work for design

Change-Id: Ia734c9b1bf0299a396a77b602e55f4010c34dfee
Reviewed-on: https://gerrit.instructure.com/27175
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Derek DeVries <ddevries@instructure.com>
QA-Review: Myller de Araujo <myller@instructure.com>
Product-Review: Jason Madsen <jmadsen@instructure.com>
fix wiki page revisions to not wrap names

test plan:
 - with draft state enabled
 - click 'View Page History' on a course Page
 * notice names on page revisions are elided rather than wrapped

fixes CNVS-10075

Change-Id: I17109b341ad0ba873988ac14c1f93c7d0e7bc05b
Reviewed-on: https://gerrit.instructure.com/27734
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
patch Rack parse_multipart to fix mobile uploads

test plan:
 - have a Canvas instance that uses local file storage (not S3)
 - acquire an Android app that can talk to this instance
   (the Play Store build will not)
 - ensure the app can upload a file (such as a profile picture)
   to the Canvas instance

fixes CNVS-10065

Change-Id: I942cc60c5a408a064955e0c2f629d4a02d366a5e
Reviewed-on: https://gerrit.instructure.com/27698
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Mark Severson <markse@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Jeremy Stanley <jeremy@instructure.com>
return empty array for api pagination past end

existing API users need API endpoints to return [] when given a page
past the end of the collection, rather than returning a 404. hopefully
this workaround is temporary...

test-plan:
 - request /api/v1/courses/:course_id/users
 - note the page number in the rel=last url of the Link header in the
   response
 - request /api/v1/courses/:course_id/users?page=<1 more than that>
 - should return an empty array of results
 - should not respond with a 404

Change-Id: Ic8639c7acd2bd07835e8216dd74c1cff0ed51c10
Reviewed-on: https://gerrit.instructure.com/27650
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Jacob Fugal <jacob@instructure.com>
Updated de translation
skip authlogic 3.2 remember_me check for rails 3

authlogic expects a timestamp in the place where we use
a uuid for SessionPersistenceToken

test plan:
* boot up server in Rails 3 mode
* try to login with "Remember Me" checked

Change-Id: Ic184e80be65b5d5a9be3edd16538949e36569c92
Reviewed-on: https://gerrit.instructure.com/27733
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
fix deconstruction of joins with aliases

Change-Id: I7b8bc73bd546e08723a0dfdca932e9f617ab36dd
Reviewed-on: https://gerrit.instructure.com/27680
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Anthus Williams <awilliams@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Hide group search during random user assignment

Fixes CNVS-10031.

Test plan:
  - Set up a large-roster course
  - Add some students to the course
  - Create a group set for that course
  - Add some groups to that group set
  - Trigger random assignment
  - Note the disappearance of the search field
  - Note its reappearance after assignment completes

Change-Id: I173ddbc3b2dd41ffebf59d5a3747ad564052c98f
Reviewed-on: https://gerrit.instructure.com/27627
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Marc LeGendre <marc@instructure.com>
Product-Review: Marc LeGendre <marc@instructure.com>
Reviewed-by: Jeff Belser <jbelser@instructure.com>
unlock_expired_jobs doesn't exist anymore

Change-Id: Ib96d6a579473eb3165711c30941ac50640b65a73
Reviewed-on: https://gerrit.instructure.com/27652
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
fix adobe connect conferences

fixes CNVS-10092

test plan:
  * create a new adobe connect conference;
  * start the conference;
  * reload the conferences page in canvas and verify
    that it loads without an error.

Change-Id: Iba63fe121138295e589f8f099c8f27cb4d06c9b7
Reviewed-on: https://gerrit.instructure.com/27720
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Braden Anderson <banderson@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: Zach Pendleton <zachp@instructure.com>
fix UsersController#all_menu_courses for rails 3

@template is not defined in rails 3

Change-Id: Ic2f4fbcb36c19715077c0ed0819e8b3dff175e00
Reviewed-on: https://gerrit.instructure.com/27611
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
register ic-lazy-list on the container

closes CNVS-10118

Change-Id: I61910d4fe5786991e256464fe670496edeed0a7e
Reviewed-on: https://gerrit.instructure.com/27761
Reviewed-by: Aaron Shafovaloff <ashafovaloff@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Ryan Florence <ryanf@instructure.com>
Product-Review: Ryan Florence <ryanf@instructure.com>
clicking text input x in ie-10 resets filter

closes CNVS-9967

test plan:
  - duplicate test with default and fabulous ember quizzes
    - navigate to quiz index in IE 10
    - enter text in filter / search for quiz
    - click the 'x' to clear the input
      - text input should clear
      - filter should be removed (all quizzes should display)

Change-Id: Iccd67fc8c4c5fffaafeea72d60af693d6630f0cd
Reviewed-on: https://gerrit.instructure.com/27736
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Derek DeVries <ddevries@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>
Product-Review: Jason Madsen <jmadsen@instructure.com>
add copyright/license comments to quiz_question files

fixes CNVS-10110
this commit adds copyright notice and license information comments to
the QuizQuestion files.

Test Plan:
QA isn't needed.

Change-Id: I59ed4030fdad8799e72f120179c5e4b70a31f82f
Reviewed-on: https://gerrit.instructure.com/27751
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Josh Simpson <jsimpson@instructure.com>
Reviewed-by: Derek DeVries <ddevries@instructure.com>
Product-Review: Josh Simpson <jsimpson@instructure.com>
add frame_external_urls option to module items api

undocumented, because it's intended for canvas only.  the option
sets the html_url of an external url module item to an iframe
hosting the external url in canvas, rather than the page itself.

test plan:
 - have a module containing a wiki page followed by an external url
 - enable draft state
 - view the wiki page
 - click the "next item" button that appears at the bottom right
 - it should take you to a frame containing the external url,
   not the page itself*

fixes CNVS-9926

*barring "frame-busting" code in the linked site

Change-Id: I5ba3f2eeae9bce157d24e3e3304951539069ead7
Reviewed-on: https://gerrit.instructure.com/27624
Reviewed-by: Sterling Cobb <sterling@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
fix google docs regression

fixes CNVS-10063

test plan:
  * create a google docs collaboration;
  * verify that it opens as expected.

Change-Id: I70b21f576aefa73f84baeb8f7ce029120a502166
Reviewed-on: https://gerrit.instructure.com/27731
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Braden Anderson <banderson@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: Zach Pendleton <zachp@instructure.com>
don't cache full feature_flag_accounts

prevents Marshall.dump errors that may occur
when trying to cache the Accounts with their
associations intact

fixes #CNVS-10055

Change-Id: I71195869feaf58ac2f8beeb5fc830d23d5f98bbd
Reviewed-on: https://gerrit.instructure.com/27710
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
session and request fixes for rails 3

primarily switching fullpath in place of request_uri
in preparation for rails 3

Change-Id: If14f2cc2da5120a60f04d4cfdfb05a55482a3695
Reviewed-on: https://gerrit.instructure.com/27162
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
fix problem w/ rce not always triggering in discussions

fixes CNVS-10106

test plan:
  * create a discussion topic with an ID of 1;
  * post a reply to the topic;
  * reload the page and verify that replying to the topic
    or to the first post gives you an RCE instead of a
    plain textarea.

Change-Id: I1353a9c75d2302771b812220acc3b7b1d0a73f55
Reviewed-on: https://gerrit.instructure.com/27739
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Braden Anderson <banderson@instructure.com>
QA-Review: Braden Anderson <banderson@instructure.com>
Product-Review: Zach Pendleton <zachp@instructure.com>
ignore deleted contexts in appt. group permissions

fixes CNVS-7069

test plan:
  * enroll the same teacher in two courses;
  * create an appointment group that uses both courses
    as contexts;
  * delete one of the courses;
  * verify that, as the teacher, you can still edit the
    appointment group.

Change-Id: I9d5f39e7c250c24f8a30b4867903bb9479eacc23
Reviewed-on: https://gerrit.instructure.com/27735
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Reviewed-by: Braden Anderson <banderson@instructure.com>
Product-Review: Zach Pendleton <zachp@instructure.com>