Commit Graph

64297 Commits

Author SHA1 Message Date
Jacob Burroughs 413688e2d6 Actually process handlebars translations
Change-Id: I72a0ae3b36d449eb7db36bb0d921c928516f7fb5
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358332
Reviewed-by: Jake Oeding <jake.oeding@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Jacob Burroughs <jburroughs@instructure.com>
Product-Review: Jacob Burroughs <jburroughs@instructure.com>
2024-09-24 18:16:12 +00:00
Jozsef Kercso 15ed413621 Fix generation of Markdown formatted Appendix
The HTML appendix generated by the yard-appendix plugin contains
HTML tags that cannot be rendered correctly by the Markdown
renderer. This patch set fixes the rendering of the appendices by
generating Markdown format components instead of HTML.

refs: SAS-3699

How to generate the docs in Markdown format?
Run this command from a Canvas box:
`OUTPUT_FORMAT=markdown rake doc:api`
The generated documentation will be available in `public/doc/api_md`.

Tests executed:
- Backward compatibility: I regenerated the documentation in HTML format
and compared each file with the output from an original documentation.
Only the timestamps in the footer differed; everything else was the same.
- Content parity: I compared the content of each generated Markdown file
with its "twin brother" HTML file. While there are differences in look and
feel, the content is consistent. This is how it looks like in Markdown
format:
https://inst.gitbook.io/sandbox-instructure-developer-portal/0hk9uatQ63bsQYSzZzF2/services/api

Note:
The change does not influence in any way the HTML formatted
Canvas Documentation or the way is generated.

Change-Id: Ie545effcee651a23b69b22723bfcb4ddfb319515
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358068
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Tucker Mcknight <tmcknight@instructure.com>
QA-Review: Tucker Mcknight <tmcknight@instructure.com>
Product-Review: Jozsef Kercso <jozsef.kercso@instructure.com>
2024-09-24 18:07:48 +00:00
Jozsef Kercso 0efcc54f73 Fix warning message and definition list generation
Warning messages in HTML format uses a CSS style which cannot
be interpreted by the Markdown renderer. I changed them to
Markdown specific warning messages.

Also, definition lists <dl> were converted to unordered lists <ul>
because <dl> is not a Markdown compatible HTML tag.

refs: SAS-3699

How to generate the docs in Markdown format?
Run this command from a Canvas box:
`OUTPUT_FORMAT=markdown rake doc:api`
The generated documentation will be available in `public/doc/api_md`.

Tests executed:
- Backward compatibility: I regenerated the documentation in HTML format
and compared each file with the output from an original documentation.
Only the timestamps in the footer differed; everything else was the same.
- Content parity: I compared the content of each generated Markdown file
with its "twin brother" HTML file. While there are differences in look and
feel, the content is consistent. This is how it looks like in Markdown
format:
https://inst.gitbook.io/sandbox-instructure-developer-portal/0hk9uatQ63bsQYSzZzF2/services/api

Note:
The change does not influence in any way the HTML formatted
Canvas Documentation or the way is generated.

Change-Id: Idb8eb7e69cb7a9e790bf1a738fa5fe9886be328b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358069
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Tucker Mcknight <tmcknight@instructure.com>
QA-Review: Tucker Mcknight <tmcknight@instructure.com>
Product-Review: Jozsef Kercso <jozsef.kercso@instructure.com>
2024-09-24 18:07:24 +00:00
Aaron Shafovaloff ef48e80eb6 use getAssignmentSections in SG2
Change-Id: I7b2c1ac2827d2f58734c644f2bcc0cd815c862ec
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358322
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Spencer Olson <solson@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-09-24 17:35:43 +00:00
Wilmer Corrales 7e709207ae Do not display Checkpoints checkbox if RQD is enabled
closes EGG-32
flag=restrict_quantitative_data

test plan:
- Enable Restrict view of quantitative data in
  Account Settings
- Create a Course an Enable
  Restrict view of quantitative data in Account Settings
- Create a Discussion
- Enable 'Graded'
- Validate that 'Assign graded checkpoints' is not shown
- Save the changes
- Edit the discussion
- Enable 'Graded'
- Validate that 'Assign graded checkpoints' is not shown

Change-Id: Ieb2d4f2ed29375ed24930f64b094b7b22eed17e7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358061
Reviewed-by: Jason Gillett <jason.gillett@instructure.com>
QA-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Sam Garza <sam.garza@instructure.com>
2024-09-24 16:56:11 +00:00
Chris Soto 5c3febdd1d add needed changes for comment library bank to sg2
this commit adds the needed mutation modifications to the canvas repo
so that it can be used by the comment library bank in sg2

closes EVAL-3866
flag=platform_service_speedgrader

test plan:
- build passes

Change-Id: I70c2d44941bbdacfa2c4f7811f5debd182650110
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358316
Reviewed-by: Cameron Ray <cameron.ray@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Chris Soto <christopher.soto@instructure.com>
Product-Review: Chris Soto <christopher.soto@instructure.com>
2024-09-24 16:47:20 +00:00
Aaron Shafovaloff aa63abff0f Clean up getAssignmentSubmissions in SG2
Change-Id: Ibb6cb34afcdca5c99ab9bff7651446c3bf980373
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358188
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Chris Soto <christopher.soto@instructure.com>
Reviewed-by: Spencer Olson <solson@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-09-24 16:46:42 +00:00
Cameron Ray b82ff02694 Disable loading of SGP for moderated and anonymously graded assignments
refs EVAL-4655
flag=platform_service_speedgrader

Test plan
- SG2 loads for normal assignments
- Original speedgrader loads for anonymous assignment
- Original speedgrader loads for assignment with moderated grading

Change-Id: Ic170cba79cc9e43c70c8f4a6ac00fb7fe5473390
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358311
Reviewed-by: Spencer Olson <solson@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Cameron Ray <cameron.ray@instructure.com>
Product-Review: Cameron Ray <cameron.ray@instructure.com>
2024-09-24 16:26:03 +00:00
Omar Gerardo Soto-Fortuño 6e0da7228e Make CheckpointGradeInputs work on SRGB
closes VICE-4434
flag=discussion_checkpoints

Test plan:
 - Test passes
 - Go to Screen Reader Grade Book and try grading
     different types of checkpoints, it should work
     and persist as expected.

Change-Id: If37afc92f62b76f14b518a1a1cb84e2eb74f1256
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358144
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Spencer Olson <solson@instructure.com>
Reviewed-by: Chris Soto <christopher.soto@instructure.com>
QA-Review: Jason Gillett <jason.gillett@instructure.com>
Product-Review: Sam Garza <sam.garza@instructure.com>
2024-09-24 16:00:47 +00:00
Matheus 454d7fbb7a Datafix: Get media that is only in notorious to instfs
refs RCX-2417
flag=none

Test plan:
- Get media into notorious but not instfs
- Downloads shouldnt be working from the files page (nor previews)
- Run the datafix
- Check that all of them made their way into intfs

Change-Id: I7d419824bc44338704fd60b22b842d18bea152ac
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358040
Reviewed-by: Mysti Lilla <mysti@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Mysti Lilla <mysti@instructure.com>
Product-Review: Luis Oliveira <luis.oliveira@instructure.com>
2024-09-24 13:59:52 +00:00
Jenkins 46ea85aaca update zh-Hant translation
Change-Id: Ib85e01db3f1175eab4bdd5a4c10b4b51bb4694f5
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358293
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:56:32 +00:00
Jenkins 272a239c39 update zh-Hans translation
Change-Id: I057fd99d59c8bbd194b755e73e53ad94178ca66e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358292
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:55:53 +00:00
Jenkins 671b253ca9 update vi translation
Change-Id: I5c0400268563f483812fc5116b33d5ea759d6540
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358291
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:55:15 +00:00
Jenkins a51e93d263 update th translation
Change-Id: I36f585fa4c53dfcb2aa01be3d79cca37bcf9301d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358290
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:54:43 +00:00
Jenkins 799de60feb update sv-x-k12 translation
Change-Id: I635a648d6ae5ecf76f3b3f57dcf5638849701a85
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358289
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:54:07 +00:00
Jenkins e8c682e046 update sv translation
Change-Id: I420b4fe64037f4303be2d91e242df00ebfc26177
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358288
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:53:33 +00:00
Jenkins 05a3ba98d0 update sl translation
Change-Id: I97883d2c888a0a28ab966710749b0b4d87b5dcbd
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358287
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:52:57 +00:00
Jenkins b4d254e6ab update ru translation
Change-Id: I0a9a687e6a22712fd75d90821ad52cd4601b0d19
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358286
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:52:26 +00:00
Jenkins eb45dd7385 update pt-BR translation
Change-Id: I3c738476dc0e9bf70721a4589507007a0c347fa8
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358285
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:51:48 +00:00
Jenkins 465710582a update pt translation
Change-Id: I368be896432e6d2fdc8ecc32fd36b593a7c3f360
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358284
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:51:12 +00:00
Jenkins b6113d7aab update pl translation
Change-Id: I71960add926f61527c6c72ed5e8e53c8168777e0
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358283
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:50:36 +00:00
Jenkins 71a6185c79 update nl translation
Change-Id: Ie66738003054f3a31b0368bea940094d60d56b15
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358281
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:50:02 +00:00
Jenkins b7f0d682d8 update hu translation
Change-Id: I4236a286e0bc8fffc486ffd25825a630be5fc99f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358280
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:49:58 +00:00
Jenkins ddb99fd9a3 update nb-x-k12 translation
Change-Id: Iad1dcb8b0252afd3daabdc4fb3ff220b018c2d69
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358279
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:49:26 +00:00
Jenkins 3f76395e56 update he translation
Change-Id: Ib8d37323c75a7d3185a87de1cd346a279744393f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358278
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:49:22 +00:00
Jenkins 2647cab172 update nb translation
Change-Id: Iabf1995d0a05f7363a33289260f2861458fb86b7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358277
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:48:53 +00:00
Jenkins e95032d385 update fa translation
Change-Id: I4adecc066a835b94ca6ba03357c0c71a8d6b3db6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358276
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:48:47 +00:00
Jenkins 9ad5b29e49 update ms translation
Change-Id: I542da73f12228c8294dfa44b71cc4503edd20884
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358275
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:48:17 +00:00
Jenkins 386fa8e4b0 update el translation
Change-Id: Iff5280e2efe25a2e41878bf55a04b24123829b4f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358274
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:48:12 +00:00
Jenkins 0cbf2cb89c update mi translation
Change-Id: If1402bd4fbc8cb4e2cf4109902c1477ae3e51802
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358273
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:47:45 +00:00
Jenkins 543c1b6c77 update ja translation
Change-Id: I19edf0b1090d6617cc3703921a60be374e52b1a3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358272
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:47:09 +00:00
Jenkins 63ca0cdbc0 update it translation
Change-Id: I1368b6a9b7dabd251128607d07e051022d11d897
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358271
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:46:28 +00:00
Jenkins 9ac954e416 update is translation
Change-Id: Iff7ad56429b4bb799b7b46de99642df13dbaab35
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358270
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:45:54 +00:00
Jenkins 7f76460cf4 update id translation
Change-Id: I0d0c35fd81fca1739ac118411634204b22cb609b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358269
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:45:19 +00:00
Jenkins 3e776d065a update ht translation
Change-Id: Iafa8b7c677a5edda084a9013668270a4004933cf
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358268
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:44:50 +00:00
Jenkins 1cd062b603 update hi translation
Change-Id: Ic56b7b509664d9d7b269cfb385b4ee727029df30
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358267
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:44:16 +00:00
Jenkins 2be8d1aae6 update fr-CA translation
Change-Id: I549a3f43647ed981d08a39f3d2999b3824eefbb3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358266
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:43:27 +00:00
Jenkins 15408cedc4 update fr translation
Change-Id: I341debfe20cd652d56eeaf0e19234b229e3c1ac4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358265
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:42:52 +00:00
Jenkins 2e9df736e2 update fi translation
Change-Id: I9a59a5ba283281f4cb87477abbd7e408356354fc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358264
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:42:17 +00:00
Jenkins b188d29dbb update es-ES translation
Change-Id: I4338b6e5448f8ef5defd3da2bf5a1f2d059b3138
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358263
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:41:46 +00:00
Jenkins 2faefe5249 update es translation
Change-Id: I5d190d369f8d741409eac406a3e2c8c0e1306e16
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358262
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:41:16 +00:00
Jenkins ce5af62a6d update en-GB translation
Change-Id: If34f03e2984108f84c14085a275a261f92e16be3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358260
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:40:29 +00:00
Jenkins ae3581eb86 update en-CA translation
Change-Id: I46cf354cbb111e3bf68e2d1dc05ba257a40e3f08
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358259
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:39:56 +00:00
Jenkins b4a843826c update en-AU translation
Change-Id: If920a24fe02ee8e348ffdc3eb54f2adbe0f7732a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358257
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:39:08 +00:00
Jenkins c6cf2bee62 update de translation
Change-Id: I717661b7e66c974437c2cbeb2d11078b2efede95
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358255
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:38:34 +00:00
Jenkins e992d6b90b update da-x-k12 translation
Change-Id: If4c28bd7b5d49111f3c5465449332b936a1ababc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358254
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:38:01 +00:00
Jenkins 5d809d25bf update da translation
Change-Id: I880c6e97e3b3b4b70ec69b8fa7005dc7c67bd179
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358253
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:37:30 +00:00
Jenkins c6082d6e77 update cy translation
Change-Id: I636d64440434890980b934a4e13a7871e051a7dc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358252
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:36:57 +00:00
Jenkins 5a5241cf50 update ca translation
Change-Id: Ib93a7eda9cc71550318bb8449f09f9606b597ce4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358251
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:36:26 +00:00
Jenkins 89287e1854 update ar translation
Change-Id: I8ca075ddfb00703748cc9b486a71ea319aa10ecc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358250
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-09-24 13:35:56 +00:00