refs FOO-1648
flag=none
[fsc-propagate=false]
move general module code to "gems"
along with specs.
Leave shim in canvas to avoid breaking
things while callsites get changed.
change some limited callsites
from Canvas::Security to CanvasSecurity
that were doing spec stubbing that required
at least one namespace change anyway
generate readme describing common use
cases.
TEST PLAN:
1) security operations continue unimpeded.
Change-Id: Ia2d102d5038e2f5d0bb24201e38894e12b73063e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/259540
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
Change-Id: If6ecdf2213894cfcab00521cb5d24367fcfeda84
Reviewed-on: https://gerrit.instructure.com/207905
Tested-by: Jenkins
Reviewed-by: James Williams <jamesw@instructure.com>
QA-Review: James Williams <jamesw@instructure.com>
Product-Review: James Williams <jamesw@instructure.com>
closes ADMIN-2591
Test plan
- Search for an Unsplash image using the
api/v1/image_search?query=[query] api and get the
id of the image for the next url
- Go to api/v1/image_selection/[id] and verify
you get the success confirmation message
- Put in a wrong ID and verify you get the id
error message
- Verify you can't use the API without the Unsplash
credentials set up locally (should get a 404)
Change-Id: I3b8cd9f0b094e6913d468b2896696fcf5c3677fa
Reviewed-on: https://gerrit.instructure.com/193563
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins
Product-Review: Mysti Lilla <mysti@instructure.com>