Commit Graph

4 Commits

Author SHA1 Message Date
Davis Hyer bbb8ee38fc provide correct content_shares prop type
flag=none

test plan:
  - specs pass

qa risk: low

Change-Id: I46445f544cb7fd64e919c88b5aceb44f09ab4336
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/274386
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Omar Soto-Fortuño <omar.soto@instructure.com>
QA-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
Product-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
2021-09-24 17:53:19 +00:00
Gary Mei 180082b46a add Send To and Copy To functionality to files
closes MAT-187
flag=none

Test Plan
- Have two courses.
- Have two teachers, one enrolled in the first course and the other
  enrolled in the second course.
- Create a course file at the root level in the first course.
- Create a course file nested in a folder in the first course.

- Send the two files from the first course to the second teacher.
- Verify that the content shares appear for the second teacher.
- Verify that the content shares can be previewed with a Common
  Cartridge viewer.
- Verify that the content shares can be imported into the second
  course, with the folder hierarchy preserved.
- Delete the two imported files from the second course.

- Copy the two files from the first course to the second course.
- Verify that the two files are imported into the second course, with
  the file hierarchy preserved.

Change-Id: I8fa74f0fe175498f2fb73583ae06181356b684a5
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/270708
Reviewed-by: Jon Scheiding <jon.scheiding@instructure.com>
QA-Review: Jon Scheiding <jon.scheiding@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Gary Mei <gmei@instructure.com>
2021-09-02 19:41:23 +00:00
Nate Armstrong 49d5223f95 Exclude concluded courses from import search
fixes LS-2015
flag=none

test plan:
- enroll a teacher in a concluded course
- share some content with that teacher as another user
  - eg have your admin share a page with the teacher
  - view a page in an active course
  - click the kebab
  - click 'Send to...'
  - enter the teacher enrolled in the concluded course
- as the teacher, view your shared content
  - Global nav > Account > Shared Content
- Click the kebab on the shared content and click 'Import'
- Try to search for the concluded course
- The concluded course should not show up

Change-Id: Ib441a8b3c7e177b92fab310a2d14c0599a7c6e5c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/262848
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jeff Largent <jeff.largent@instructure.com>
QA-Review: Jeff Largent <jeff.largent@instructure.com>
Product-Review: Nate Armstrong <narmstrong@instructure.com>
2021-04-14 14:58:13 +00:00
Ahmad Amireh 4243097b21 rename some things
fixes FOO-1265

[skip-eslint=true]
[pin-commit-analytics=7e49eefd7f59cbf43fd03bf8957bbbfa76f8d9d5]
[pin-commit-demo_site=adade2e38e46a358a4643cd3db2fe5ccffe39ec5]
[pin-commit-instructure_misc_plugin=47a3161102b0611af56d134fbd0c828ddc1b8abf]
[pin-commit-migration_tool=0dbac2f5b421d894395605ce4b583ef0f7d60b22]
[pin-commit-multiple_root_accounts=cc96d28c0d59bbe47acc64de4fdd8e1d2b029805]

Change-Id: I14c07f20bd260cf0de1f48ceb70b3c2313edf2d2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/258807
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Michael Ziwisky <mziwisky@instructure.com>
QA-Review: Michael Ziwisky <mziwisky@instructure.com>
Product-Review: Michael Ziwisky <mziwisky@instructure.com>
2021-04-06 01:12:49 +00:00