fix HashAccessTokens migration

Avoid using the model, since the column may have already been added to
dropped_columns

Change-Id: I6d7eb623875572ebc3efe9c16e8f677d0fc61dc2
Reviewed-on: https://gerrit.instructure.com/16690
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Brian Palmer <brianp@instructure.com>
Tested-by: Brian Palmer <brianp@instructure.com>
Revert "validate authenticity token on quiz backup and submit"

This reverts commit 5ef87548a82b965ec51525bb81f24f4f955e842f.

people keep quizzes open in tabs for a long time, and since we don't handle
being logged out and back in in another tab well, we need to revert this for
now.

fixes #CNVS-2696

test plan:
- start a quiz in one tab
- in another tab, log out and back in
- submit the quiz in the original tab
- you should not get an authenticity token error

Change-Id: Id1be2425e95d679c78673e94324e411a109d26c7
Reviewed-on: https://gerrit.instructure.com/16677
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Stanley Stuart <stanley+gerrit@instructure.com>
QA-Review: Myller de Araujo <myller@instructure.com>
fix facebook integration

facebook puts canvas in an iframe - we have to allow it to

test plan:
 * link your facebook account with canvas
 * go to canvas from facebook
 * it should not be blank

Change-Id: I1b5ecfbe121d2e519447daed9af5c86f52ffcc21
Reviewed-on: https://gerrit.instructure.com/16695
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
fix PopulateStreamItemAssociations data fixup

fixes gh-258

the dropped columns initializer was hiding the data from the migration,
so avoid using the model at all

Change-Id: I25fa901a36c17a30587725b482a74eff62da5094
Reviewed-on: https://gerrit.instructure.com/16658
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
stop writing to discussion topics in stream items.

fixes #CNVS-2591

while cleaning discussion topic data for stream items, the
original discussion topic was having its root entries
inadvertently deleted. this commit edits a cloned discussion
topic so that the original isn't written to.

test plan:
  * create a discussion topic with the "Users must post
    before seeing replies" option checked;
  * create at least one discussion entry for that topic;
  * create a stream item w/ the created discussion topic as
    its asset;
  * call `data` on the stream item with a viewing_user_id of
    a user in the course that has not posted on the
    discussion;
  * verify that the original discussion topic's root entries
    have not had their discussion_topic_ids set to nil.

Change-Id: I4cddaeaceb13aee5aaeae4209c1567148766c1e6
Reviewed-on: https://gerrit.instructure.com/16683
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Marc LeGendre <marc@instructure.com>
Reviewed-by: Joel Hough <joel@instructure.com>
api: mark assignment override functionality as beta

test plan:
  - run bundle exec rake doc:api
  - visit the api documentation
  - Assignment Override API endpoints should be marked as beta.

Change-Id: I68937760f3326de3a450917a5bf899d3dc6ac6be
Reviewed-on: https://gerrit.instructure.com/16700
Reviewed-by: Brian Palmer <brianp@instructure.com>
QA-Review: Brian Palmer <brianp@instructure.com>
Tested-by: Brian Palmer <brianp@instructure.com>
this migration is non-transactional

Change-Id: Ia54bd05cc58ee95160b52dd27c918df2bba005eb
Reviewed-on: https://gerrit.instructure.com/16719
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
treesame commit of stable/2013-01-05

Treesame-Commit-Id: ea84cee75363aa2aaa337c9afb3e7f25d495e716