Commit Graph

31902 Commits

Author SHA1 Message Date
Keith T. Garner eae7ba4ab4 queue DueDateCacher for one student in AssignmentOverrideStudent
fixes GRADE-1485

test plan:
 - Ensure AssignmentOverrideStudent calls DueDateCacher for a single
   student for that assignment on create/edit/destroy.
 - Ensure that the cached due date for the student looks correct
   after create/edit/destroy

Change-Id: Id17276e5b1213d6764dfee26d23db55addf3924c
Reviewed-on: https://gerrit.instructure.com/161381
Tested-by: Jenkins
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Derek Bender <djbender@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
2018-08-21 13:45:10 +00:00
Dan Minkevitch f46d9dc908 Allow valid unicode in URLS
Closes ADMIN-1314

Test Plan:
* On the modules page of a course, add a new
  external URL/external tool module item
* Enter a URL that contains an un-escaped
  unicode character (ex: http://graphemica.com/ø)
* Save the module item
* The item should save successfully and show up
  within the module

Change-Id: Idb6e8014e98abb12a30e56ab0c0f2b9ef29dbbe7
Reviewed-on: https://gerrit.instructure.com/160691
Reviewed-by: Carl Kibler <ckibler@instructure.com>
Reviewed-by: Jon Willesen <jonw+gerrit@instructure.com>
Tested-by: Jenkins
QA-Review: Mysti Sadler <mysti@instructure.com>
Product-Review: Dan Minkevitch <dan@instructure.com>
2018-08-20 22:31:03 +00:00
Jacob Fugal 3da400a75e stream inst-fs direct uploads
fixes RECNVS-547

generally, in Multipart::Post, you can get a stream representation of
the body instead of a string, and in CanvasHttp.post you can request
that stream be supplied to the underlying request's body_stream instead
of the string to the underlying body. inst-fs then supplies the
streaming flag during direct upload.

this avoids an error when the body as a single string is too large to
POST.

test-plan:
- confirm general upload-from-canvas functionality is preserved by
  triggering uploads from canvas to another server
  - e.g. inst-fs enabled course export
  - e.g. inst-fs enabled course export
- confirm specific upload-from-canvas functionality with streamed larger
  files
  - i.e. inst-fs enabled course export where the export size is larger
    than 2GB
  - note that there may be a new HTTP 504 error when the upload size
    approaches 3GB. this is a separate issue not related to this commit

Change-Id: I15e22e6688233a77783d1cd86960bbaaa64eb0dc
Reviewed-on: https://gerrit.instructure.com/160105
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
QA-Review: Michael Jasper <mjasper@instructure.com>
Product-Review: Jacob Fugal <jacob@instructure.com>
2018-08-20 22:00:35 +00:00
James Williams a3aa082831 bulk permission calculations for dashboard
test plan:
* regression test dashboard

closes #CORE-1733

Change-Id: I301e8670c9fccd1a2340adce01379f0c6d3b7c01
Reviewed-on: https://gerrit.instructure.com/161174
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2018-08-20 21:26:07 +00:00
James Butters 0a5dccb2b0 test upgrading selenium to 3.14.0 for headless
refs: GRADE-1462

Change-Id: I7ca000459e3a8ba9bd159ebd51539a136e1ab868
Reviewed-on: https://gerrit.instructure.com/158131
Tested-by: Jenkins
Reviewed-by: Robert Lamb <rlamb@instructure.com>
Product-Review: Robert Lamb <rlamb@instructure.com>
QA-Review: Robert Lamb <rlamb@instructure.com>
Reviewed-by: KC Naegle <knaegle@instructure.com>
2018-08-20 21:23:49 +00:00
Steve Kacsmark 1db0864f59 fix(a11y): Use HCM color for disabled msg
closes QUIZ-5103

Test Plan:
  - Navigate to course-setting, import content page.
  - Select 'Common Cartridge 1.x'
  - Click 'Import assessment content as Quizzes.Next'
  - Verify the message "This option is not compatible with Quizzes.Next"
    is displaced in 'Licorice' #2D3B45

Change-Id: I3e99cb72d4fb52f0441546a38ae8ee54837bcac5
Reviewed-on: https://gerrit.instructure.com/161347
Tested-by: Jenkins
Reviewed-by: John Corrigan <jcorrigan@instructure.com>
QA-Review: David Tan <dtan@instructure.com>
Product-Review: Kevin Dougherty <jdougherty@instructure.com>
2018-08-20 21:13:02 +00:00
Anju Reddy 4eed5d7640 spec: unskip flaky student_avatar_in_tray spec
FIXES: ADMIN-879

Change-Id: Id66401ae48cfbbe6afcd9b17c7bc7c1a326f7bc8
Reviewed-on: https://gerrit.instructure.com/161111
Tested-by: Jenkins
Reviewed-by: Robert Lamb <rlamb@instructure.com>
Product-Review: Robert Lamb <rlamb@instructure.com>
QA-Review: Robert Lamb <rlamb@instructure.com>
2018-08-20 20:24:41 +00:00
Han Ngo 7704e5d6a5 Support User Placement for LTI 1.3 Launch
Closes PLAT-3636

Test Plan:
- Verify the LTI 1.3 Launch for `User Navigation` works

Change-Id: Idc1924269632f7d6e16f5c2e56d45d1fa47e27b0
Reviewed-on: https://gerrit.instructure.com/161216
Reviewed-by: Marc Alan Phillips <mphillips@instructure.com>
Tested-by: Jenkins
QA-Review: Weston Dransfield <wdransfield@instructure.com>
Product-Review: Weston Dransfield <wdransfield@instructure.com>
2018-08-20 19:15:59 +00:00
Han Ngo 13807f58b0 Fix Icons for dev key index get cut off
Fixes PLAT-3551

Test Plan:
- Add icons to two developer keys. One image should
  be very wide, the other should be very tall.
- View the developer key index page and verify
  that the icons are constrained to their 4remx4rem
  containers.
- Verify no part of the icon image is trimmed.

Change-Id: Ib16cfc940a7569e4624f85bb5558313c96b56b0d
Reviewed-on: https://gerrit.instructure.com/157590
Tested-by: Jenkins
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
QA-Review: Nathan Mills <nathanm@instructure.com>
Product-Review: Jesse Poulos <jpoulos@instructure.com>
2018-08-20 19:15:33 +00:00
Pam Hiett 8f5009b2f5 style(Faculty Journal): remove italics, bold title
Fixes: UIDEV-205

test plan:
- click admin from main nav (select main acc - not site admin)
- is there a 'Faculty Journal' option in the sub-nav... if not
  the feature will need to be turned on via checking the box
  on the first tab of the settings page
- once or if it is available select 'Faculty Journal' from the
  sub-nav
- create an entry ... ensure the title has been bolded and the
  author and time stamp are no longer in italics
  example: https://cl.ly/3j2P0j1U2U00

Change-Id: Iaeb84646ce3559320f493a4a07519bbe8b0cf428
Reviewed-on: https://gerrit.instructure.com/161169
Reviewed-by: Stephen Jensen <sejensen@instructure.com>
Tested-by: Jenkins
QA-Review: Dan Sasaki <dsasaki@instructure.com>
Product-Review: Kyle Follett <kfollett@instructure.com>
2018-08-20 19:00:34 +00:00
Pam Hiett a168c65368 style(Features): remove italics from disabled Features
Fixes: UIDEV-204

test plan:
- click admin from the main nav
- click settings from the sub nav
- select the last Features tab
- the fields that do not have a toggle and only show an
  "On" in the field should no longer be italicized
  example: https://cl.ly/1l2m2r2M2f0V

Change-Id: I5fd08401258b189e2d584ecb4477154d7d7c81a1
Reviewed-on: https://gerrit.instructure.com/161168
Reviewed-by: Stephen Jensen <sejensen@instructure.com>
QA-Review: Dan Sasaki <dsasaki@instructure.com>
Tested-by: Jenkins
Product-Review: Kyle Follett <kfollett@instructure.com>
2018-08-20 19:00:28 +00:00
Jon Willesen 40f01c2532 Add keyboard instructions to avatar cropping
fixes ADMIN-1318

test plan:
- make sure the new keybaord text shows up when you're cropping an
  avatar.

Change-Id: Id60312e3215900a22cbf43724574f3c5459e8fd0
Reviewed-on: https://gerrit.instructure.com/161050
Tested-by: Jenkins
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Ed Schiebel <eschiebel@instructure.com>
Product-Review: Dan Sasaki <dsasaki@instructure.com>
2018-08-20 18:41:36 +00:00
Ed Schiebel 43181652fa Fix focus outline on dashboard card action buttons
Though this was recently fixed in ADMIN-1218, a bug in Safari is causing
problems. This fixes it, though at the visual expense of the focus
outline not being nicely tight around the icon.

Update: in firefox, the outline on the <a> is obscured by the jewel with the
notification count. I'm doing a bit of browser sniffing to pick which
approach to take.

closes ADMIN-1327

test plan
  - load the card dashboard
  - tab through
  > expect the focus outline to behave well on the icons across the
    bottom of each card
  - switch to the recent activity dashboard
  > expect focus indication to look right as you tab around in here too

Change-Id: Icee8044e73b13c263b5bb12199637ae6d0ff257f
Reviewed-on: https://gerrit.instructure.com/160900
Tested-by: Jenkins
Reviewed-by: Dan Minkevitch <dan@instructure.com>
QA-Review: Carl Kibler <ckibler@instructure.com>
Product-Review: Dan Sasaki <dsasaki@instructure.com>
2018-08-20 18:41:20 +00:00
Jeremy Neander c03ea6647b add bulk selection for provisional grades
closes GRADE-1480

test plan:
 A. Setup
    1. Create a published course
    2. Enroll one teacher
    3. Enroll two TAs
    4. Enroll three students
    5. Create a moderated assignment
       * with Teacher as final grader

    6. As the first TA:
       a. Visit SpeedGrader for the assignment
       b. Grade Student 1
       c. Grade Student 2

    7. As the second TA:
       a. Visit SpeedGrader for the assignment
       b. Grade Student 2
       c. Grade Student 3

    8. Open the Rails console
    9. Note these attributes of the provisional grades:
       * `id` (provisional grade id)
       * `user_id` (student id)
       * `scorer_id` (grader id)

       assignment = Assignment.find(:id)
       assignment.pluck(:id, :user_id, :scorer_id)

 B. Verification without Anonymity
    * To test bulk selection, send a PUT request to:

       /api/v1/courses/:course_id/assignments/:assignment_id/
         ↪ provisional_grades/bulk_select

       * Use a session for the final grader
       * Include in the request body an object as follows:
         {provisional_grade_ids: […]}
       * The array will contain some of the provisional grade ids
         noted from the Rails console
       * The response will include an array of objects as follows:

         {
           "assignment_id": "1",
           "selected_provisional_grade_id": "2",
           "student_id": "3"
         }

    * To verify grade selection:
       a. Log in or act as the Teacher
       b. Visit the moderation page for the assignment
       c. Verify the intended grades have been selected
    * Each of the following steps will be done in sequence without
      resetting anything to a prior state

    1. Bulk select the following grades:
       * TA-1's grade for Student 1
       * TA-2's grade for Student 2
    2. Verify the JSON includes the following grades:
       * TA-1's grade for Student 1
       * TA-2's grade for Student 2
    3. Verify the following grades are selected:
       * TA-1's grade for Student 1
       * TA-2's grade for Student 2

    4. Bulk select the following grades:
       * TA-1's grade for Student 2
       * TA-2's grade for Student 3
    5. Verify the JSON includes the following grades:
       * TA-1's grade for Student 2
       * TA-2's grade for Student 3
    6. Verify the following grades are selected:
       * TA-1's grade for Student 1
       * TA-1's grade for Student 2
       * TA-2's grade for Student 3

    7. Bulk select the following grades (listed in this order):
       * TA-1's grade for Student 1
       * TA-2's grade for Student 3
       * TA-1's grade for Student 3
    8. Verify the JSON includes the following grades:
       * TA-1's grade for Student 3
    9. Verify the following grades are selected:
       * TA-1's grade for Student 1
       * TA-1's grade for Student 2
       * TA-1's grade for Student 3

 B. Verification with Anonymity
    1. Enable anonymous grading for the assignment
    2. Bulk select the following grades:
       * TA-2's grade for Student 2
       * TA-2's grade for Student 3
    3. Verify the JSON includes "anonymous_id"
    4. Verify the JSON excludes "student_id"

e1d4b3ee4d

Change-Id: I51190808a9dfd321c6110f50d6d0e4661fa86c1c
Reviewed-on: https://gerrit.instructure.com/161215
Reviewed-by: Adrian Packel <apackel@instructure.com>
Tested-by: Jenkins
Reviewed-by: Gary Mei <gmei@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
2018-08-20 18:29:13 +00:00
Cody Cutrer c1eec373ff open source has no weak or shadow shard associations
fixes gh-1166

Change-Id: I02da60c386a3587334c53cf69e9bccb101c36378
Reviewed-on: https://gerrit.instructure.com/161334
Reviewed-by: James Williams  <jamesw@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2018-08-20 17:39:21 +00:00
Han Ngo b1b2642375 Set 'deployment_id' claim in 1.3 launches
Closes PLAT-3635

Test Plan:
- Launch an LTI 1.3 External Tool
- Verify the deployment_id claim is equal to tool_id +
'_' + context_id

Change-Id: I846e2847ae596ea9418f0a4e8f7d27d5eede543b
Reviewed-on: https://gerrit.instructure.com/160891
Tested-by: Jenkins
Reviewed-by: Marc Alan Phillips <mphillips@instructure.com>
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
QA-Review: Weston Dransfield <wdransfield@instructure.com>
Product-Review: Weston Dransfield <wdransfield@instructure.com>
2018-08-20 17:32:35 +00:00
Steven Burnett 38cb87ce9a fix fragile spec
Change-Id: I211380b456ca604e79a13332b613a3caf30c6e97
Reviewed-on: https://gerrit.instructure.com/161322
Tested-by: Jenkins
Reviewed-by: Aaron Kc Hsu <ahsu@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
QA-Review: Steven Burnett <sburnett@instructure.com>
2018-08-20 17:14:17 +00:00
Jeremy Neander 9a593b971c do not duplicate comments when posting grades
fixes GRADE-1387

test plan:
 A. Setup
    1. Select or create a published course
    2. Enroll a teacher
    3. Enroll two TAs
    4. Enroll one student (more is fine, but means more work)
    5. Create a moderated assignment
       * optionally assign to only one student for less work
       * Teacher is final grader

    6. As the student:
       a. Submit to the assignment
       b. Leave a comment

    7. As each TA:
       a. Visit SpeedGrader
       b. Grade and comment on the submission

 B. Verification
    1. Sign in or act as the Teacher
    2. Visit the moderation page
    3. Select the grade made by the first TA
    4. Post grades
    5. View the student's submission in SpeedGrader
    6. Verify the student comment is visible
    7. Verify the first TA's comment is visible
    8. Verify the second TA's comment is not visible

Change-Id: Id2803fbde8641206ab9727a9946346fe1a1722e8
Reviewed-on: https://gerrit.instructure.com/160863
Tested-by: Jenkins
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
Reviewed-by: Derek Bender <djbender@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
2018-08-20 16:34:27 +00:00
Carl Kibler 4e476513df read link validation progress status to SR users
fixes ADMIN-1266

test plan:
 - As teacher, go to Course->Settings. Enable screen reader.
 - Go to "Validate Links in Content" page
 - Click "Validate Links" (or "Restart Link Validation, whatever it
   currently says). Should say aloud "Link validation in progress"
 - When job finishes, will read output like "Found 1 unresponsive
   link"
 - Re-run job and should do same. Ensure it does not repeat previous
   outcome instantly and just says "Link validation is running".

Change-Id: I4db43a9dc06fb0f98044ff5c9fa46adc52d4f6bd
Reviewed-on: https://gerrit.instructure.com/159440
Tested-by: Jenkins
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Dan Sasaki <dsasaki@instructure.com>
Product-Review: Carl Kibler <ckibler@instructure.com>
2018-08-20 16:13:22 +00:00
Rob Orton 96115a0997 reduce queries to group membership importer
refs CORE-1738

test plan
 - group membership importer should work

Change-Id: I3678dfa3501ccb48a0de6db5fa32dd50a9c2a1c7
Reviewed-on: https://gerrit.instructure.com/161309
Reviewed-by: James Williams  <jamesw@instructure.com>
Tested-by: Jenkins
Product-Review: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
2018-08-20 16:08:41 +00:00
Jon Willesen 621b475544 do not show other images before checking past
fixes ADMIN-1232

test plan:
- on the list view dashboard
- have no items and make sure the desert screen comes up without showing
the TV image first.
- have only past items and make sure the balloon screen comes up without
showing the desert screen first.

Change-Id: I9151c0be40d48b9be08ea570c946fccbca8ee18c
Reviewed-on: https://gerrit.instructure.com/160948
Tested-by: Jenkins
Reviewed-by: Mysti Sadler <mysti@instructure.com>
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Ed Schiebel <eschiebel@instructure.com>
Product-Review: Pert Eilers <peilers@instructure.com>
2018-08-20 16:03:09 +00:00
Rob Orton 0d15a69c8d load active group membership first during import
fixes CORE-1738

test plan
 - have a deleted group membership in a group
 - have an active group membership in a group
 - import an active group membership via sis csv
 - it should not fail

Change-Id: Ide644d7f83601c603287cbcdb376f27a4e6ce9d4
Reviewed-on: https://gerrit.instructure.com/161275
Tested-by: Jenkins
Reviewed-by: James Williams  <jamesw@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
2018-08-20 14:45:59 +00:00
James Butters d2795334f3 spec: add specs for only selected provisional comments displayed to student
fixes: GRADE-1390

Test Plan:
	jenkins passes

Change-Id: Ia6a36e3965c82f0c1d326b8ddfb6f7ba2ac9852f
Reviewed-on: https://gerrit.instructure.com/160709
Tested-by: Jenkins
Reviewed-by: Derek Bender <djbender@instructure.com>
Reviewed-by: Spencer Olson <solson@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
2018-08-20 12:54:52 +00:00
Transifreq 39698d750e update zh-Hant translation
Change-Id: Iecd07844e809e2ac6082bc077e69f6362e32a7fd
2018-08-18 05:40:35 -06:00
Transifreq 3f1d7ba81a update zh-Hans translation
Change-Id: Ia6df72fd9bd7e27d6843f94aa4213848a80311dc
2018-08-18 05:39:28 -06:00
Transifreq b8a6bc0c64 update sv translation
Change-Id: I572a69b299f76316a0431b642d16a2b95390e24f
2018-08-18 05:38:24 -06:00
Transifreq 8dd65224fa update ru translation
Change-Id: If1144e92b4d2991a05862c7aed63e8e20d261feb
2018-08-18 05:37:25 -06:00
Transifreq 93694900fe update pt-BR translation
Change-Id: I95de6b3236e97c6c8cab60dbe97082f1765b65b5
2018-08-18 05:36:24 -06:00
Transifreq 5cbd47824a update pt translation
Change-Id: Ib786b0649e3259f5a5c1c60fed612384cafa9aad
2018-08-18 05:35:27 -06:00
Transifreq ccad39a58d update pl translation
Change-Id: I675cb6b3a9f306f924573feda3571af974ea9c26
2018-08-18 05:34:25 -06:00
Transifreq 74ddcfd419 update nl translation
Change-Id: I10c4507502c59a84b5dd4e7c27a5c3e9d7cc2a67
2018-08-18 05:33:24 -06:00
Transifreq 3900ab47a5 update nb translation
Change-Id: I4d0c875f51e858db16104614195ef32e5ccc4719
2018-08-18 05:32:24 -06:00
Transifreq 1434de6576 update mi translation
Change-Id: Ie142e0cb30871e0ce9be1dd4194f58389ee502ff
2018-08-18 05:31:26 -06:00
Transifreq edb647f07c update ja translation
Change-Id: Iac6e2a0c06ce25b1d267ee7a59b8c5383266d3d2
2018-08-18 05:30:28 -06:00
Transifreq 593a2a6090 update it translation
Change-Id: Ibb4e2fffde12bcd01f9e400c276152873ee68914
2018-08-18 05:29:21 -06:00
Transifreq b938b52ecd update is translation
Change-Id: I8bac2b905213cf83299b92384d0cf3b24c3166ba
2018-08-18 05:28:30 -06:00
Transifreq 669cd1f1ed update ht translation
Change-Id: I86d8fc538b6c91288c402af38eb8ec997017b4ec
2018-08-18 05:27:36 -06:00
Transifreq c2ae0e07ff update fr-CA translation
Change-Id: Ic41bb97c70479ee0847f52590cbfd3dd623d646a
2018-08-18 05:26:39 -06:00
Transifreq 3006e7dbf3 update fr translation
Change-Id: I9d922c49f70cc72660c8986603b09290f3c82539
2018-08-18 05:25:42 -06:00
Transifreq 593c019bbd update es translation
Change-Id: I02c4877735375e0805bb54f3b10dbea3467935eb
2018-08-18 05:24:43 -06:00
Transifreq bbefe0bc8c update en-GB translation
Change-Id: I1601ba7271617b82b2e97ffd0213838555d5f080
2018-08-18 05:22:11 -06:00
Transifreq 4d0312267d update en-CA translation
Change-Id: I9e02b77b859e932970c7591288cbc89bbfac298a
2018-08-18 05:21:13 -06:00
Transifreq 231f7800d4 update en-AU translation
Change-Id: I218e02284e543f1e326358ade3b1b157688afa50
2018-08-18 05:20:21 -06:00
Transifreq 094b409bec update de translation
Change-Id: Ic5e012c2302009676037bedfcb14cc00837a3f58
2018-08-18 05:19:26 -06:00
Transifreq e16b665af5 update da translation
Change-Id: I3a9cb8d21e76514fa21a25f092b5cd2f95694875
2018-08-18 05:18:25 -06:00
Transifreq da84fbc1e5 update cy translation
Change-Id: Ia728be0e7ee504f2eff9fdfb02898713d4a63a2a
2018-08-18 05:17:25 -06:00
Transifreq 382cbe3281 update ar translation
Change-Id: I53e0fbcf75e8084aa4edb4d514fa4f27ca4a4498
2018-08-18 05:16:31 -06:00
James Williams 41e901b7a1 allow imported sis csvs to be downloaded
after filtering out passwords of course

test plan:
* with the sis imports refactor feature flag on,
 upload some zips and csvs to sis imports,
 including some users.csv files with passwords
* view the sis imports API index and show
 endpoints
* should be able to use the urls in the new
 "csv_attachments" attribute to download versions
 of the imported files without passwords

closes #CORE-1655

Change-Id: I31e34d42f4abf2597efd6066dabea6f230632855
Reviewed-on: https://gerrit.instructure.com/158899
Tested-by: Jenkins
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
2018-08-18 03:02:29 +00:00
Jeremy Stanley 617bdeb12e shift folder availability dates in course copy
test plan:
 - set availability dates for a folder using the publish cloud
 - copy the course and shift dates
 - ensure these dates are shifted in the target course

fixes ADMIN-1329

NOTE: canvas currently does not preserve folder availability
 dates in common cartridge import--only in course copy.

Change-Id: I0544564cf237d7a935185e8dd78a109437e72f5e
Reviewed-on: https://gerrit.instructure.com/160651
Tested-by: Jenkins
Reviewed-by: James Williams  <jamesw@instructure.com>
QA-Review: Carl Kibler <ckibler@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2018-08-17 21:37:40 +00:00
wdransfield b9a51f6550 Allow assignment expansions for LTI2 tools in assignment launches
Fixes PLAT-3673

Test Plan
- Install an LTI 2 tool with the new
  com.instructure.Assignment.anonymous_grading capability
  enabled
- Associate the tool with an assignment with anonymous
  grading on
- Verify the parameter is sent in the launch message

Change-Id: I83b244b5c3aa9e86b9ac3786fad07e8e2847cd2b
Reviewed-on: https://gerrit.instructure.com/161133
Reviewed-by: Marc Alan Phillips <mphillips@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: Weston Dransfield <wdransfield@instructure.com>
2018-08-17 21:07:38 +00:00