canvas-lms/config
Gary Mei 70cad93c82 add canvadocs_annotation_context
closes EVAL-1457
flag=annotated_document_submissions

Test Plan
- In a rails console, create 2 CanvadocsAnnotationContexts.
  ```
  CanvadocsAnnotationContext.create!(
    attachment_id: #{the_assignment_attachment_id},
    submission_id: #{submission_id},
    submission_attempt: #{1 and then 2}
  )
  ```
- Act as a student for the following steps.
- POST to
  api/v1/canvadoc_session?
    submission_attempt=1&submission_id=#{submission_id}
- With the returned url, open a Canvadocs session and make annotations.

- Repeat the previous two steps, with submission_attempt=2.
- Verify that annotations are persisted separately for each
  submission_attempt.

- Repeat, with submission_attempt=draft.
- Verify that annotations from the previous attempts do not cross over.

Change-Id: Id2e876e232fe4f5a5c1de91ad27c40314a4a7946
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/258876
Reviewed-by: Spencer Olson <solson@instructure.com>
Reviewed-by: Aaron Shafovaloff <ashafovaloff@instructure.com>
Reviewed-by: Adrian Packel <apackel@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Syed Hussain <shussain@instructure.com>
2021-03-10 21:05:34 +00:00
..
environments automatically allow the configured domain 2021-02-17 17:56:29 +00:00
feature_flags remove feature flag for reduce_push_notifications 2021-03-10 19:08:29 +00:00
initializers let canvas use outrigger for migration tagging 2021-03-10 20:31:31 +00:00
locales update nn translation 2021-03-09 05:54:31 +00:00
saml add first class support for the UK Federation 2017-08-08 20:26:52 +00:00
amazon_s3.yml.example
application.rb handle connection errors better for rails idiosyncrasies 2021-03-03 17:34:06 +00:00
boot.rb
bounce_notifications.yml.example
brakeman.ignore remove uses of whitelist and blacklist 2020-09-18 15:58:40 +00:00
brandable_css.yml make feature flags for Right To Left layout 2018-03-21 21:09:38 +00:00
browsers.yml Add clarification text to browsers file 2020-09-03 20:37:32 +00:00
cache_store.yml.example add the ability to run parallel rspec processes in container 2021-01-14 21:12:45 +00:00
canvas_cdn.yml.example Remove enabled: setting from canvs_cdn.yml.example 2019-07-22 20:22:10 +00:00
canvas_rails_switcher.rb drop rails 5.2 2021-02-19 02:41:07 +00:00
cassandra.yml.example improve cassandra documentation 2017-09-29 19:28:08 +00:00
consul.yml.example Add dc config to jwk set_keys 2018-08-10 17:44:48 +00:00
copyright-template.js [eslint] have --fix add copyright header for you 2018-02-15 20:01:41 +00:00
cutycapt.yml.example
database.yml.example Add password to database.yml.example for Postgres changes 2020-05-05 22:02:48 +00:00
database.yml.travis
delayed_jobs.yml.example allow enabling inst-jobs health checks 2018-05-11 19:22:32 +00:00
docker-compose.override.yml.example volumes were removed from services 2021-01-20 22:18:59 +00:00
domain.yml.example Use same_site none for session store for relative file links 2020-02-27 21:01:01 +00:00
dynamic_settings.yml.example Add immersive reader to dynamic_settings example 2021-01-21 22:51:07 +00:00
dynamodb.yml.example dynamo is optional for dev 2020-08-31 19:05:02 +00:00
environment.rb stage 1: audits engine extract 2021-03-04 20:27:06 +00:00
external_migration.yml.example
file_store.yml.example
incoming_mail.yml.example
linked_in.yml.example
local_cache.yml.example allow local cache to use local redis 2020-08-27 19:08:56 +00:00
logging.yml.example
marginalia.yml.example
memcache.yml.example
notification_failures.yml.example
notification_service.yml.example
offline_web.yml.sample
outgoing_mail.yml.example
periodic_jobs.yml.example
puma.rb Add copyright message to remaining .rb files 2018-03-19 13:38:50 +00:00
raven.yml.example
redis.yml.example add the ability to run parallel rspec processes in container 2021-01-14 21:12:45 +00:00
routes.rb add canvadocs_annotation_context 2021-03-10 21:05:34 +00:00
saml.yml.example
security.yml.example Add client_credentials grant_type 2018-09-10 17:07:05 +00:00
selenium.yml.example Support running against headless chrome, fix flakey spec 2021-01-12 16:27:14 +00:00
session_store.yml.example Use same_site none for session store for relative file links 2020-02-27 21:01:01 +00:00
spring.rb add flakey_spec_catcher as a proper spring command 2021-03-02 18:41:36 +00:00
statsd.yml.example
styleguide.yml
testrail.yml.example
twilio.yml.example
twitter.yml.example
vault.yml.example file-based local solution for vault 2020-09-02 15:46:27 +00:00
vault_contents.yml.example Create a mechanism for supplying rails credentials from vault 2021-02-01 16:52:40 +00:00