Commit Graph

41778 Commits

Author SHA1 Message Date
Caleb Guanzon 723ec9c6bf add tooltip to PronounsInput
flag=none

fixes VICE-771

test plan:
- visit /accounts/self/settings
- scroll down and enable personal pronouns
- hover over info icon
- verify tooltip shows
  'These pronouns will be available to Canvas users
    in your account to choose from.'

Change-Id: Ie46b06eb306930161eec8fab5cec57c1b7c7137a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249634
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Davis Hyer <dhyer@instructure.com>
QA-Review: Davis Hyer <dhyer@instructure.com>
Product-Review: Davis Hyer <dhyer@instructure.com>
2020-10-12 16:47:58 +00:00
James Butters 2a9a7a0ac4 archive migration logs for debugging
refs DE-311

Change-Id: I9495e7d2e3d0db2f6e0a8a15c31a98bc01903c7f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249473
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
Reviewed-by: James Butters <jbutters@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2020-10-12 16:34:27 +00:00
James Williams 6dccad2f65 doc: add docs for blueprint courses models
Change-Id: I68773609a74cbb5815f5f2ba695e81a15805eecd
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249484
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: James Williams <jamesw@instructure.com>
Product-Review: James Williams <jamesw@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
2020-10-12 16:26:43 +00:00
James Williams d8bf9939f4 doc: add docs for EnrollmentState model
Change-Id: Id1f854ab2b9b4c7319e775b20828d766c5e32154
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249483
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: James Williams <jamesw@instructure.com>
Product-Review: James Williams <jamesw@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
2020-10-12 16:25:26 +00:00
Adrian Packel 07391ca949 Store SRGB view ungraded in GB user preferences
closes EVAL-624
flag=view_ungraded_as_zero

Test plan:
- Enable the "View Ungraded as Zero View in Gradebook" feature
- Open the Network tab in your browser's developer tools
- Open Individual Gradebook for a course
  - Check that enabling/disabling the "Treat Ungraded as 0" checkbox
    sends a request to the gradebook_settings URL for the course
    containing the corresponding true/false value
  - Check that your changes to the setting persist between reloads of
    the page
  - In a Rails console, check that the preference value for that
    user/course is set appropriately:
    > UserPreferenceValue.find_by(
        user_id: <user ID>,
        key: "gradebook_settings",
        sub_key: Shard.global_id_for(<course ID>)
      )
    should return a hash including the correct value for
    "view_ungraded_as_zero"
- Check that the setting is synced between New Gradebook and Individual
  Gradebook when you switch between them (note that any already-open
  windows will need to be reloaded to pick up the changes)

- Disable the "View Ungraded as Zero View in Gradebook" feature
  - Open Individual Gradebook and check that toggling the setting does
    *not* send a request to the server, but the value persists between
    reloads of that particular browser

- Check that an old IG setting is honored when enabling the feature and
  immediately opening IG:
  - Disable the feature flag
  - Create a new course, or use one for which you've never set the
    preference
  - Open Individual Gradebook and enable the setting
  - Enable the feature flag
  - Open New Gradebook for the course and verify that the "View Ungraded
    as 0" menu item is *not* checked (do not enable it yet!)
  - Open Individual Gradebook and verify that the setting *is* checked
  - From this point on, any change in either of the gradebooks should
    update the value for both of them

Change-Id: I2f2921f1ded63a2daa7c83b30d8b879b86fd1a28
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/248896
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Jody Sailor
Reviewed-by: Spencer Olson <solson@instructure.com>
Reviewed-by: Gary Mei <gmei@instructure.com>
QA-Review: Kai Bjorkman <kbjorkman@instructure.com>
2020-10-12 16:22:39 +00:00
Aaron Ogata 6eee1dad02 fix parallel logs build for migration caching
refs DE-23

Test Plan
1. Ensure that build works against master
2. Ensure that build works against specific patchset

Change-Id: I898cb46db5c7287358bae80133685deecce9aab6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249700
Reviewed-by: Kyle Rosenbaum <krosenbaum@instructure.com>
Reviewed-by: James Butters <jbutters@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2020-10-12 15:48:44 +00:00
Jeremy Stanley 36a3e08f50 recent history: masquerading users see what target users see
test plan:
 - enable recent history feature
 - in separate browsers, log in as a student
   and as an admin masquerading as the student
 - both users should see the student's activity in the
   recent history
 - the masquerading admin's activity should not appear
   to either user

flag = recent_history

fixes LS-1533

Change-Id: Ib656a2faee2eeb5ba1fc77734a02c70f018d9c57
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249711
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jackson Howe <jackson.howe@instructure.com>
QA-Review: Jackson Howe <jackson.howe@instructure.com>
Product-Review: Peyton Craighill <pcraighill@instructure.com>
2020-10-12 15:16:45 +00:00
Jenkins f3a2a45912 update fa translation
Change-Id: I8e9b7080274d7834d4299d86c1eb48403cf71b10
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249840
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-11 05:51:53 +00:00
Jenkins d694f48f5b update zh-Hant translation
Change-Id: I278ea5e46a58529b79be1090995fdd64b66aa93f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249809
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:53:53 +00:00
Jenkins e6add9f388 update zh-Hans translation
Change-Id: I500748508f22d304cb122404ca14c6f5901f31f4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249808
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:53:25 +00:00
Jenkins 880c03731b update sv-x-k12 translation
Change-Id: Ia6d22a2076c69549647b4627efa08e7a290255c2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249807
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:52:57 +00:00
Jenkins c00ed1e602 update sv translation
Change-Id: I947319c2583bda9c35d29542e2e5c98e15281453
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249806
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:52:25 +00:00
Jenkins 084c355f54 update ru translation
Change-Id: I0ff792ed8dc744e31f896c67f3c899dcb5901eda
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249805
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:51:45 +00:00
Jenkins af13f0ff6f update pt-BR translation
Change-Id: I1bd837c89dda80dc21a6db4dc68022368501bf63
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249804
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:51:20 +00:00
Jenkins d73bbc4828 update pt translation
Change-Id: I642ad3c761b44391112b12977dc29b3d9427eb4e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249803
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:50:45 +00:00
Jenkins 82d74e3643 update pl translation
Change-Id: I1e0716eb85ace48cb01e6e33dcaa6791535799a4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249802
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:50:12 +00:00
Jenkins f29341ccd0 update nl translation
Change-Id: I79c8116da58f685ace8c40112902e18b647e2a6e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249801
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:49:45 +00:00
Jenkins 6a631fad7e update nb-x-k12 translation
Change-Id: I217155fb161a59971c7708e1594bc77918af8c37
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249800
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:49:19 +00:00
Jenkins 7393727a28 update nb translation
Change-Id: I4b78fdc11494e2ba3e8d120703932cfb7b4c1fbc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249799
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:48:54 +00:00
Jenkins 87711f507e update mi translation
Change-Id: I31f5e577fa99a20afdc0bab55bdd820026e4df83
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249798
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:48:28 +00:00
Jenkins f349232b91 update ja translation
Change-Id: I2c49b03721cc4328ecfcb38b0f237d900e6e1d0a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249797
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:48:04 +00:00
Jenkins 476e8adf82 update it translation
Change-Id: I07c78db204e64be43663c561b4758eb191900b08
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249796
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:47:34 +00:00
Jenkins de5db8237a update is translation
Change-Id: Ica0f6e14e17f4fe5ffbedc53a8d21926a8711378
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249795
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:47:10 +00:00
Jenkins 77f01ac77f update ht translation
Change-Id: I8b49ac2a8f2a2a5853bb6092a4196f6658dc43f2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249794
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:46:29 +00:00
Jenkins 35646723e8 update fr-CA translation
Change-Id: Ib6db199d5be2af8293447c44d2f568e2cf113b17
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249793
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:45:58 +00:00
Jenkins 65ff7c9177 update fr translation
Change-Id: I2149f4ff7a5541dbc334499206fb9213a35c89b2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249792
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:45:24 +00:00
Jenkins 17f936fa7b update fi translation
Change-Id: I9f5c453cbb781213263517c2347634b445d5b918
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249791
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:45:00 +00:00
Jenkins 108ceedb12 update es translation
Change-Id: I9892c1ef44dc9ef136c0c6ef8f26a59ab38141a9
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249790
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:44:29 +00:00
Jenkins c861e9f401 update en-GB translation
Change-Id: I574e0dd638853e6239eba415c90e5e7fa876129e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249788
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:43:55 +00:00
Jenkins d51d97a28e update en-CA translation
Change-Id: I48cf3d5cd410273e54bb51a005b526d602628efc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249787
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:43:33 +00:00
Jenkins de5f156356 update en-AU translation
Change-Id: I938bd1fca6f60b7d662bd8792f4eb98feed78ee2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249785
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:43:03 +00:00
Jenkins 742131c04a update de translation
Change-Id: If7362b57f8ea7befd04f34bed6747e44eaf1e21d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249784
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:42:42 +00:00
Jenkins 01e414a0f5 update da-x-k12 translation
Change-Id: If42a1b9f085fdd4e9ccecac9d99d6989585346ed
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249783
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:42:21 +00:00
Jenkins 4695704960 update da translation
Change-Id: I38fd8edd17cd9411203d01845e812e00da89f08e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249782
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:42:02 +00:00
Jenkins 38d4d57adf update cy translation
Change-Id: If36ca5be0157ec460be9de7f44b47e1c51941a81
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249781
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:41:41 +00:00
Jenkins 23fc29278f update ca translation
Change-Id: Ib17781127c2a37ffd96dab24aa4d7ae732635226
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249780
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:41:21 +00:00
Jenkins 17bf22c702 update ar translation
Change-Id: I1bf76754db0bf3160923059e2678798f07885a29
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249779
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 05:41:03 +00:00
Jenkins c84a5c0993 [i18n] Update package translations
Change-Id: I89b6c8b2b3438de1c9b770d700bd22dfdfa9263f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249777
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-10-10 04:47:06 +00:00
Rob Orton e46881b63d add clear_caches method to user
test plan
 - specs should pass

Change-Id: Ib13398d368c81dd4d29e1245ed971fd2ef2b3fbf
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249768
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Mysti Lilla <mysti@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
2020-10-10 04:09:04 +00:00
wdransfield 2e96e905b2 Consider resource type code when sending tool events
Fixes INTEROP-6252
flag=none

Test Plan:
- Install multiple plagiarism detection tools
  in the same account with _different_ resource
  type codes. Each tool should also have a different
  endpoint
- Associate an assignment with one of the tools
- Submit and verify an event is sent to the tool
  with the matching resource type code
- Verify events were not sent to the other tools

Change-Id: I5892451c2ac3af64254881319d6f1143703a5cb6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249776
Reviewed-by: Mysti Lilla <mysti@instructure.com>
QA-Review: Tucker Mcknight <tmcknight@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Weston Dransfield <wdransfield@instructure.com>
2020-10-10 04:05:31 +00:00
Cody Cutrer cbcaafb773 ensure only one invalidate_inherited_caches is run at a time
Change-Id: Ie3bd093b2dba8446e6e4bed6a266af21d90fada2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249655
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2020-10-09 23:27:07 +00:00
Mysti Lilla 6ad68c713c Add SubmissionEvent endpoint to live event integration id
fixes INTEROP-6250
flag=none

Test plan
- Set up tools with varying endpoints and verify
  we're sending the "closest/latest" endpoint ids
  from among a plethora of similar tools on courses/
  sub-accounts/accounts
- Verify the migration does the same thing

Change-Id: Iac761e94cfeee01588cae5cd8b4797faa1bcb643
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249736
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
Reviewed-by: Xander Moffatt <xmoffatt@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Tucker Mcknight <tmcknight@instructure.com>
Product-Review: Weston Dransfield <wdransfield@instructure.com>
2020-10-09 21:28:52 +00:00
August Thornton 7d5891cc85 improve filter by term select behavior on blur
fixes FOO-631
flag = none

test plan:
 - Have an account with at least one term
 - Navigate to the Courses tab of an account
 - Click into the "filter by term" drop down and note that it
   lists all terms
 - Click off on to another part of the page that wont navigate
   you away
 - Click back in to the drop down and note that you still see the
   headers and all the previous terms as you did before
 - Type into the searchable select input with enough characters
   to match a single term
   - Click off on to another part of the page
   - Verify that term was automatically selected after clicking
     back into the searchable select input
   - You should still see all the available terms
 - Type characters that won't provide a match into the searchable
   select input
   - Click off on to another part of the page
   - Verify those characters remain as the input value, but stay
     invalid with a "No matches to your search"
   - The input will not be valid until those search characters
     provide a match and you *shouldn't* see any group headers
     or terms if attempting to click on the search dropdown

Change-Id: I8ca881c654c329fd561ed8c98a6daf7f20553c6b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249628
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Ahmad Amireh <ahmad@instructure.com>
QA-Review: Ahmad Amireh <ahmad@instructure.com>
Product-Review: Ahmad Amireh <ahmad@instructure.com>
2020-10-09 21:01:42 +00:00
Ethan Vizitei 37239e6b60 dig output on inst-fs resolution failure
Change-Id: I619778e1b524bac39cf976c1fc46c0c17ef43c98
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249720
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Michael Ziwisky <mziwisky@instructure.com>
QA-Review: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
2020-10-09 20:36:53 +00:00
Adrian Packel 1563b8f53e Suppress submission body in GQL if can't see grade
fixes EVAL-1258
flag=none

Test plan:
- Have a course with a student
- Create a quiz (in old quizzes)
- In the Gradebook, change the quiz to be manually posted
- As the student, take and submit the quiz
- In a Rails console, look up the submission ID of that student's
  submission

- As the student, submit a GraphQL request for that submission ID:
  query MyQuery {
    submission(id: "<submission id>") {
      id
      body
      score
      submissionHistoriesConnection(first: 10) {
        nodes {
          body
          score
        }
      }
    }
  }

- The "body" attribute, in both the submission itself and the history
  nodes, should be returned as null
- As the teacher, run the same query and check that you do get a
  response for the body
- As the teacher, post grades for the quiz in Gradebook
- Re-run the query as the student and check that the body attribute is
  now populated

Change-Id: I09c968a509fbf0510ad4e5f07e4c63f1d74eb9bd
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249727
Reviewed-by: Gary Mei <gmei@instructure.com>
Reviewed-by: Syed Hussain <shussain@instructure.com>
Reviewed-by: Spencer Olson <solson@instructure.com>
QA-Review: Gary Mei <gmei@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Syed Hussain <shussain@instructure.com>
2020-10-09 20:33:05 +00:00
Jackson Howe e9c60dec02 Disable Apply button in ColorPicker if hex is invalid
Previously, if the user tried to save an invalid hexcode in the
ColorPicker, an alert would tell them the color was invalid. This
made it difficult for SR users to know ahead of time if the hexcode
was valid. Now, the Apply button is disabled until a valid color is
entered, and a screenreader message about the field being invalid is
announced when the user leaves the input field to supplement
the invalid icon that is displayed to sighted users. Tooltip also
added to the icon.

fixes LS-1437
flag=none

Test plan:
 - Open color picker (there's an instance on the dashboard and in
   calendar)
 - Type in an invalid hex code, expect apply button to be disabled
   and to see an icon with tooltip
 - Enter valid hex code, or click one of the predefined colors,
   expect apply button to now be enabled
 - Expect functionality to still work
 - Turn on SR - when hexcode is invalid, tab out of input field,
    expect to hear a message saying color is invalid

Change-Id: Ife58de18489bb698084738e886ab8245f1fa94f9
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249181
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Jackson Howe <jackson.howe@instructure.com>
2020-10-09 19:35:35 +00:00
Manoel Quirino Neto 0700668d67 Remove "view longer description" from outcome
After adding a description to an outcome and attaching it to a rubric as a
criterion, there is still a "View longer description" button. This is
inconsistent with the longer descriptions on standard criterion,
which do not have that link.

closes OUT-2123
flag=none

test plan:
- View an existing rubric or create a new rubric
- Add an outcome criterion with description
- You should see outcome long description without html tags
  and media (videos)
- You shouldn't see "View longer description" button

Change-Id: I25e3c2633017eb8c49304bd3968c2642969ecc0a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249039
Reviewed-by: Augusto Callejas <acallejas@instructure.com>
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Pat Renner <prenner@instructure.com>
Product-Review: Jody Sailor
2020-10-09 18:55:08 +00:00
Spencer Olson d7960907f9 stop loading rubrics in gradebook
closes EVAL-1244
flag=none

You can't use/grade with/interact with rubrics in Gradebook (Individual
or Grid), so we shouldn't be fetching them.

Test Plan:
1. Create a course that has assignments with rubrics attached to them.
   Have some of the assignments use the rubric for grading, and others
   not use the rubric for grading.
2. In Gradebook (individual AND grid), verify all interactions with the
   assignments with rubrics are unchanged from the behavior on master.
   You should be able to grade students for the assignments, view
   grades, mark as late or missing, etc. To be able to view or grade
   using the rubric, you have to go to SpeedGrader (as you always have).

Change-Id: I323da11ca846026a8ef5929f631b969cb0ebc964
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/248933
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Jody Sailor
QA-Review: Kai Bjorkman <kbjorkman@instructure.com>
Reviewed-by: Adrian Packel <apackel@instructure.com>
Reviewed-by: Syed Hussain <shussain@instructure.com>
2020-10-09 18:17:44 +00:00
Jeremy Stanley 9b1dff932a filter API calls and file downloads from recent history
test plan:
 - enable recent history feature
 - perform an API call to /api/v1/courses/X/modules
 - this should not appear in the recent history
   (and certainly not show you JSON when you click it)
 - go to the course module index in the browser
   - this should appear in the recent history
 - download a file from the kebab menu in the
   files tab
   - this should not appear in the recent history
 - preview an image file by clicking its name in
   the files tab
   - this should appear in the recent history

flag = recent_history
fixes LS-1531

Change-Id: I55c60903e100c7f4a967b6cdb859c6f76f18a78d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249641
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: James Williams <jamesw@instructure.com>
QA-Review: Jackson Howe <jackson.howe@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2020-10-09 17:19:46 +00:00
Alex Slaughter 844cd4c114 fix(Assignment): Allows Transnition from failed_to_duplicate to unpublished
This resolves the issue where the duplication is marked as timedout
on the canvas side but the external tool is still processing data.

This allows for a state recovery to occure instead of the user
needing to click the "retry" button manually.

Test Plan:
 - Specs Pass

Fixes: QUIZ-7887
flag = none

Change-Id: Ie6d25510d112a3557e6db75966dc7a8560982987
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/249665
Reviewed-by: Stephen Kacsmark <skacsmark@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Mark McDermott <mmcdermott@instructure.com>
Product-Review: Alex Slaughter <aslaughter@instructure.com>
2020-10-09 17:05:43 +00:00