specs for "add new folder"

closes: CNVS-12728
refs: CNVS-14390

Change-Id: I4c0f62f0e4f5420ff556ce2e63689fa47cc4c27e
Reviewed-on: https://gerrit.instructure.com/39238
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jason Madsen <jmadsen@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Hide quiz answers when term is concluded

Hide quiz answers for courses with concluded term and restrict_quiz_questions is true

Fixes CNVS-13075

Test Plan
 - At the account level, check the option to restrict students from
 viewing quiz questions after course end date.
 - Set a term to end in the near future.
 - Set a course to this term. (NOTE: Do not set course end date within
 the course)
 - Log into this course as the student and take at least one quiz.
 - As the student, go to the completed quiz after the course has
 concluded naturally by term end date passing.
 - You should not see the quiz questions or answers

Change-Id: Ib06c0e2ab94b297ec0d50f0af5af9697bf2ee132
Reviewed-on: https://gerrit.instructure.com/39351
Reviewed-by: Derek DeVries <ddevries@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Brian Finney <bfinney@instructure.com>
update API doc required params - 2

- Appointment groups
- Assignment groups
- Assignments
- Authentications log
- Calendar events

Test plan:
- rake doc:api
- Verify the above doc pages for parameter accuracy

Refs SIS-403

Change-Id: If4b6d194f1f262118700dbdb4b09c55b1b9e3f19
Reviewed-on: https://gerrit.instructure.com/38664
Reviewed-by: Duane Johnson <duane@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Tyler Pickett <tpickett+gerrit@instructure.com>
Product-Review: Duane Johnson <duane@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
update API doc required params - 4

- Account notifications
- Account reports
- Accounts
- Admins
- Accouncement external feeds

Test plan:
- rake doc:api
- Verify the above doc pages for parameter accuracy

Refs SIS-403

Change-Id: I13c95611a4f19683a38cdc743605ac1d202c9525
Reviewed-on: https://gerrit.instructure.com/38663
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Duane Johnson <duane@instructure.com>
Reviewed-by: Tyler Pickett <tpickett+gerrit@instructure.com>
Product-Review: Duane Johnson <duane@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
update API doc required params - 5

- Discussion topics
- Enrollment terms
- Enrollments
- External tools
- Favorites

Test plan:
- rake doc:api
- Verify the above doc pages for parameters accuracy

Refs SIS-403

Change-Id: I5a926cf36f0852c11356719f76b5b54bd25f96da
Reviewed-on: https://gerrit.instructure.com/38805
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Tyler Pickett <tpickett+gerrit@instructure.com>
Product-Review: Tyler Pickett <tpickett+gerrit@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
update API doc required params - 6

- Feature flags
- Files
- Grade change log
- Gradebook history
- Grading standards

Test plan:
- rake doc:api
- Verify the above doc pages for parameter accuracy

Refs SIS-403

Change-Id: I52627a9bd557682c12713455e989d2e054c744b6
Reviewed-on: https://gerrit.instructure.com/38808
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Tyler Pickett <tpickett+gerrit@instructure.com>
Product-Review: Tyler Pickett <tpickett+gerrit@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
update API doc required params - 7

- Group categories
- Groups
- Live assessments
- Logins
- Modules

Test plan:
- rake doc:api
- Verify the above doc pages for parameter accuracy

Refs SIS-403

Change-Id: If70ac7240171a88dcc0e1f54c1ae12a4b0a35f6f
Reviewed-on: https://gerrit.instructure.com/39021
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Reviewed-by: Tyler Pickett <tpickett+gerrit@instructure.com>
Product-Review: Tyler Pickett <tpickett+gerrit@instructure.com>
Update parameters in the following API docs
- Content migrations
- Conversations
- Course audit log
- Courses
- Custom gradebook columns

Test plan:
- rake doc:api
- Verify the above doc pages for parameters accuracy

Change-Id: I4802bfcec067098658b573f54049b1f929f38ebc
Reviewed-on: https://gerrit.instructure.com/38691
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Reviewed-by: Tyler Pickett <tpickett+gerrit@instructure.com>
Product-Review: Tyler Pickett <tpickett+gerrit@instructure.com>
Makes the feature flags accessible

Adjusts the element_toggler to use a span rather than a link.
Also adds a tabindex to the description so that screenreaders can
actually read the description.

fixes CNVS-14484

test plan:
  - Using a screenreader go to account settings (/accounts/#/settings)
  - Navigate to the Feature Options tab
  - Navigate to the toggle feature details button
  - Using either spacebar or enter should cause it to activate
  - Tabbing through should read the details if they are expanded

Change-Id: I50295fdcee91f90884383a340911ed8b8778deae
Reviewed-on: https://gerrit.instructure.com/39297
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: Hilary Scharton <hilary@instructure.com>
fix importing module items with missing content

fixes an issue that arose with rails 3, where
module items that were not set with content (and thus
shouldn't have been saved) were being autosaved and
breaking the entire modules page

test plan:
* import the package(s) referenced in the ticket
* the modules page should still be functional

fixes #CNVS-14777

Change-Id: I82fe287a4db9492489461e971911a0f7c15fbcb0
Reviewed-on: https://gerrit.instructure.com/39404
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
point subtitle form to amara.org not universalsubtitles.org

universalsubtitles.org returns a 503 error now

fixes: CNVS-14832

test plan:

try to make subtitles for a video, 
make sure the page it takes you to exists.

Change-Id: I162247580f6a30f530725725c657dfc45ee4e3b7
Reviewed-on: https://gerrit.instructure.com/39396
Reviewed-by: Paul Hinze <paulh@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
add checkbox for include in repository

lets the teacher decide if the students
turn it in paper gets submitted to the
repository or not

closes PS-1863

test plan:
  1. enable turnitin
  2. create an assignment
     with turnitin enabled
  3. go to Advanced Turnitin Settings
  4. validate new checkbox for include
     in repository is there
  5. validate you can check it and
     uncheck it and save the assignment
     and the setting stays for that assignment
  6. uncheck it as a teacher and save the assignment
  7. submit the assignment as a student with a file
     upload essay
  8. Originality Report should come back as a new
     submission
  9. revise the essay file upload and resubmit
     the Originality Report should come back as
     a new submission

old behavior:
  1. first submission Originality Report was fine
     once revised and submitted again the Originality
     Report was coming back as plagiarized because
     it was comparing the revised essay against
     the first submission. this is undesirable

Change-Id: I85770425e53c3b9bc50a2591125ce45f253b9cf2
Reviewed-on: https://gerrit.instructure.com/38592
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
Product-Review: Jake Sorce <jake@instructure.com>
drop notification_policies.broadcast

it's never used

NotificationPolicy#preference also becomes obsolete, because NOT NULL
and FK ensure that #communication_channel can never be nil; it's
also never used

Change-Id: I0669d3b89964ee6f6d4c6a62e348e276bb7ef315
Reviewed-on: https://gerrit.instructure.com/39446
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
transaction on the policy shard, not notification shard

notification is unsharded, so it would always be on the default shard

Change-Id: I7c821ff9e8a6827708e680432ba24972a3c329ce
Reviewed-on: https://gerrit.instructure.com/39450
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
spec: add specs around kaltura partner_data for file uploads

these specs express the current behavior, which needs to be fixed to
handle sharding

Change-Id: I0c2d11e5862a02f1d4d808f4aa665288accca142
Reviewed-on: https://gerrit.instructure.com/39412
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Zach Pendleton <zachp@instructure.com>
Product-Review: Paul Hinze <paulh@instructure.com>
QA-Review: Paul Hinze <paulh@instructure.com>
Updated es translation

Change-Id: I3eb998a4235ed91f052a15687c97d84464b0ce5f
Updated de translation

Change-Id: If2512dc3fc5fb1e9affbd1c133dab16c73f7a8b9
Updated ru translation

Change-Id: I31f289540b595cf77610a455e1309bb2101f643b
Updated fr translation

Change-Id: I923bb26c501e77ecb8ef48982df0f427da402ab7
Updated pl translation

Change-Id: I5b5a2422c2981f4355f18a0602250f260ce4b556