Commit Graph

60223 Commits

Author SHA1 Message Date
Aaron Shafovaloff 38b63a0b7a Don't send ChunkLoadError errors to Sentry
Change-Id: I6431405e60df019eaf6513a9c01788991be4d29d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/341000
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-02-21 23:02:03 +00:00
Cody Cutrer 46683da8ae ignore STI for precreating partitions
since STI shares the same id space anyway

Change-Id: Ia140bcff857b73eb70fa95e622cf9ffe78f4f859
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340997
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2024-02-21 22:53:21 +00:00
rohan.chugh f576f553ee add multi-select filters UI fixes
allow multi-select filters to be combined into one pill and popover
and ensure that multi-select filters are saved on page refresh

closes EVAL-3828
closes EVAL-3829

flag=multiselect_gradebook_filters

test plan:
- enable site admin FF
- go to default gradebook for a course
- select two filters of the same type (i.e. late and missing)
  - when the first one is selected, it should say the name of the
    filter (i.e. "Late")
  - upon selecting the second one, it should say the type of filter
    and then in parentheses, the number of filters selected
  - i.e. for late and missing, it should say "Status (2)"
- refresh the page
- ensure these two filters remained selected and the UI
  looks the same

Change-Id: I28509fd10784029c2995a3f46edde15b3dd2ab60
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340753
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Cameron Ray <cameron.ray@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
QA-Review: Christopher Soto <christopher.soto@instructure.com>
Product-Review: Ravi Koll <ravi.koll@instructure.com>
2024-02-21 22:39:58 +00:00
Cody Cutrer c05e453740 really fix disconnect_if_idle for Redis cluster
Cluster's internal structure of Redis clients is quite different,
so we can't just throw disconnect_if_idle on there

fixes AE-751

Change-Id: Ie967460078061dbf3754210f40fa6bd189bf26da
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340996
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2024-02-21 22:14:49 +00:00
Angela Gomba 87ffc7a091 Only set the option value if criterion_type is defined
This is to fix a failing test when upgrading to jquery 2.0. We
need to add a check to see if criterion_type is defined before
setting the option value. Otherwise, in jQuery 2.0 it won't
display the selected value for the assignment requirement
picker.

refs FOO-4258
flag=none

Test Plan:
- Jenkins passes

[skip-crystalball]

Change-Id: I5a3a002049974e314db8d0434c86a4dcb9012249
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340804
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
QA-Review: Angela Gomba <angela.gomba@instructure.com>
Product-Review: Angela Gomba <angela.gomba@instructure.com>
2024-02-21 21:57:35 +00:00
Cody Cutrer 624c5609e6 rails 7.1: use a proc, not a lambda
since the number of arguments changed for CacheStore#fetch

Change-Id: I1c4ed3241939b600c802f7657c71f85636cc1d7c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340994
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2024-02-21 21:46:10 +00:00
Ryan Hawkins 39f9b2cc9b Add support for always_on tools in the RCE
why:
- To enable a set of "always_on" tools to always be present as a button
  in the RCE hotbar, regardless of how many favorited tools an
  institution has.

closes INTEROP-8435

flag=none

test-plan:
- Install the LTI 1.3 test tool in the editor_button placement
- Mark it as "always_on" using the following command:
  Setting.set("rce_always_on_developer_key_ids", "<dev key id for the test tool>")
- Restart your Canvas so the setting takes effect.
- Rebuild the RCE code so this commit actually takes affect.
  ```
  cd packages/canvas-rce
  yarn build:all
  ```
- Navigate to any page with the RCE. The tool should appear in the
  hotbar as favorited.
- Install two additional tools in the editor_button placement, such as
  Xander's LTI 1.1 test tool, YALTT, or another version of the test
  tool. Favorite both of these tools so they always show up in the RCE.
  Note: You can install multiple versions of YALTT to the editor_button
  placement. Make sure to name them differently so they get different
  icons.
- Navigate to any page with the RCE. The always_on tool and the
  favorited tools should all appear.
- Favorite the always_on tool then go back to the RCE. It should not
  appear in the hotbar twice.

Change-Id: I52717443b05c8ae088c8a687c73e879ed553c910
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340552
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Paul Gray <paul.gray@instructure.com>
Reviewed-by: Xander Moffatt <xmoffatt@instructure.com>
QA-Review: Paul Gray <paul.gray@instructure.com>
Product-Review: Alexis Nast <alexis.nast@instructure.com>
2024-02-21 21:02:47 +00:00
juan.chavez 88016e49aa Fix parsing of Assign To date inputs for different locales
closes LF-1175

flag=differentiated_modules

test plan:
- Change the browser language to English (Australia) and/or
Spanish.
- Navigate to an item "Assign To" tray.
- Select a date using a date/time picker.
> Verify that the date is using the respective format.
> Verify that this is not marked as invalid date.
> Verify that this and the other date pickers are working
as expected.

Change-Id: I2ea9caf84ddfad57227e05cd73a01d1c5eff1512
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340968
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: Juan Chavez <juan.chavez@instructure.com>
2024-02-21 20:53:03 +00:00
Jackson Howe 546e487354 Add faculty journal deprecation alert
refs LF-1199
flag = none

Test plan:
 - Make sure the deprecate_faculty_journal flag is disabled
 - Go to the following pages and expect an alert to appear at the top
   of the page indicating that FJ is deprecated on June 15:
   - /accounts/:id/user_notes
   - /courses/:id/user_notes
   - /users/:id/user_notes

Change-Id: I4b57f7dead5d2a9960f1943a4da947c736e671bd
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340752
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Juan Chavez <juan.chavez@instructure.com>
QA-Review: Juan Chavez <juan.chavez@instructure.com>
Product-Review: Jackson Howe <jackson.howe@instructure.com>
2024-02-21 20:43:12 +00:00
Chawn Neal 200f1b6344 fix automark as read for SS DE and SubDE
refs VICE-3913
flag=none

Test Plan:
- Turn on SS view (not inline) or see spec
- Root entries should auto mark as read
-- unread counts update
- Sub entries should auto mark as read

Change-Id: I63dacd1ab46e7de818d24219dbade31279467268
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340721
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Reviewed-by: Jason Gillett <jason.gillett@instructure.com>
Product-Review: Chawn Neal <chawn.neal@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-02-21 20:38:12 +00:00
Jen Smith f0d8a58556 jquery 1.9.0 update
with jquery-migrate 1.4.1 on QUnit specs and on
runOnEveryPageButDontBlockAnythingElse.jsx

flag=none

refs FOO-4258

[skip-crystalball]

Change-Id: I46606a064237b79a7f9b608ce0e3a93ff8c386d4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340741
QA-Review: Jen Smith <jen.smith@instructure.com>
Product-Review: Jen Smith <jen.smith@instructure.com>
Reviewed-by: Angela Gomba <angela.gomba@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-02-21 19:18:32 +00:00
murilo.paiva ec1cfc3927 Add missing mime types to canvadoc.rb
fixes CAS-1728
flag=none

Test plan:
- Upload a document with the following types:
  - odp;
  - odt;
  - ods;
  - txt.
- The document should be sent to canvadocs correctly.

Change-Id: I5ce9dabce14e53e3d8b267d0c21d06ebd0084685
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340966
Reviewed-by: Keith Garner <kgarner@instructure.com>
Reviewed-by: Cameron Ray <cameron.ray@instructure.com>
Product-Review: Cameron Ray <cameron.ray@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Cameron Ray <cameron.ray@instructure.com>
2024-02-21 18:37:59 +00:00
Samuel Lee 1a1f59845c fix course not populating in compose modal
fix course not populating in compose modal when messaging a student
from the user details page in course

fixes VICE-4005
flag=react_inbox

Test Plan:
1. go to the user details page for a student in a course
2. select 'send message' from the right side menu
3. confirm that once the compose modal appears, the course select is
  populated with the course name
4. close the modal and press compose again
5. confirm that the course name is not populated in the course select
6. redo steps 1-3 but do not close the modal this time
7. Send the message and confirm that the student receives the message
   in their inbox for that course

Change-Id: I7f1ad3ef5a686862e119faf55debe222c81261dd
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340902
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Omar Soto-Fortuño <omar.soto@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Samuel Lee <samuel.lee@instructure.com>
2024-02-21 18:20:22 +00:00
Angela Gomba f9797db055 spec: Use jqueryui Autocomplete namespace
This is to fix a failing test when upgrading to
jquery 2.0.

refs FOO-4258
flag=none

Test Plan:
- Jenkins passes

[skip-crystalball]

Change-Id: I5bc73cf10342a769ece5d1d94d146487f5b84d10
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340803
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
QA-Review: Angela Gomba <angela.gomba@instructure.com>
Product-Review: Angela Gomba <angela.gomba@instructure.com>
2024-02-21 18:17:49 +00:00
juan.chavez 13c2a10b56 Vertically align clear button to the date/time fields
closes LF-1285

flag=differentiated_modules

test plan:
- Open an "Assign To" item tray.
> Verify that the clear button is aligned to the date/time inputs.
> Verify that the clear button is aligned to the date/time inputs if
there is an error border.
- Make your screen to 767px or less.
> Verify that the clear button is aligned to the date input.
> Verify that the clear button is aligned to the date input if there
is an error border.

Change-Id: I5e81a26c2d35f096f9394994d35b1b1e287da5c3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340725
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Robin Kuss <rkuss@instructure.com>
QA-Review: Robin Kuss <rkuss@instructure.com>
Product-Review: Juan Chavez <juan.chavez@instructure.com>
2024-02-21 17:56:14 +00:00
Cody Cutrer 4f23210155 move consul from primary health check to critical deep check
refs AE-378

Change-Id: Idcb76b9b22597375d6479cd46c251cb86abac3bd
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340922
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2024-02-21 17:52:38 +00:00
Cody Cutrer 56430ea321 ignore temp files from canvas_stringex specs
Change-Id: I211b3488ed1250a9d564aa4ffb344d0c0686c65e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340921
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2024-02-21 17:52:28 +00:00
Cody Cutrer bf15de0af9 handle failsafe caching of consul settings that do not exist
refs AE-378

Change-Id: I68eec915bcfac68b8634ca23e24177f3943d5735
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340920
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2024-02-21 17:51:43 +00:00
Cody Cutrer 75673a24d4 rails 7.1: spec/lib
closes AE-778

[skip-stages=Flakey]

Change-Id: Ie7143a47c5bd38ca55391a530f7e1b3673ffb4fc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340746
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2024-02-21 17:51:31 +00:00
Spencer Olson 309fdca284 multi-select student groups
closes EVAL-3827
flag=multiselect_gradebook_filters

Test Plan:
1. Enable the "Multi-select Gradebook Filters" SiteAdmin feature flag.
2. In a course with students in multiple groups, go to the Gradebook.
3. Verify you can select multiple groups when filtering by group, and
   verify it filters students as expected.
4. Verify when all student group filters are removed that all students
   are shown.
5. Apply multiple group filters and then refresh the page. Verify after
   refresh that the filters are still active.
6. Disable the "Multi-select Gradebook Filters" SiteAdmin feature flag.
   Verify you can no longer select multiple groups when filtering by group,
   and verify it filters students as expected.

Change-Id: Icd18e699be5a17eed3ee22590b04414a2081b79e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340295
Reviewed-by: Cameron Ray <cameron.ray@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
QA-Review: Kai Bjorkman <kbjorkman@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Ravi Koll <ravi.koll@instructure.com>
2024-02-21 17:49:21 +00:00
Jason Gillett 670cda40fe Allow sending messages to active sections
flag=react_inbox
closes VICE-4057

Test Plan
1. Create a course that is soft concluded
2. Have a section with a date override that extends past the course end
3. Verify that users in that section can
still send new messages

Change-Id: I9f95a57c4a45d47a92a183a72c71f1b274f69529
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340742
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Omar Soto-Fortuño <omar.soto@instructure.com>
Product-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
2024-02-21 17:25:23 +00:00
Michael Hulse 596a75902c refactor form submission and fix/update syntax
unblocking jquery upgrade path

refs FOO-4258
flag=none

test plan: tests pass

[skip-crystalball]

Change-Id: I69a4d2187ea2bc2630296ce3c4bd829d68af838b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340931
QA-Review: Michael Hulse <michael.hulse@instructure.com>
Product-Review: Michael Hulse <michael.hulse@instructure.com>
Reviewed-by: Angela Gomba <angela.gomba@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-02-21 16:59:54 +00:00
Robin Kuss 782c5b2411 change Save to Apply for edit cases
Closes LF-1261

Test Plan:

1. Check all places where the Item Assign to Tray is available.  In most
   cases, the button should still be Save, but for Assignment
   Create/Edit) , NQ Assignment local Edit, and Classic Quiz Create/Edit, the
   button should say Apply.

Change-Id: I36872dafb3d29a118896d06413e2c95669a5ecfe
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340623
Reviewed-by: Jackson Howe <jackson.howe@instructure.com>
QA-Review: Jackson Howe <jackson.howe@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Robin Kuss <rkuss@instructure.com>
2024-02-21 16:52:50 +00:00
Jason Perry 1c7cc133d8 Add support for Bahasa Indonesia Language (id)
Closes FOO-4235
flag=none

Test plan:
* Recompile all assets including I18n
* Set your dev user language to "Bahasa Indonesia"
* Verify that most Canvas pages appear to be
  translated in Indonesian
* Check the calendar for correct month/day names
  and abbreviations
* Check the jQuery datepicker for correct month/
  day names and abbreviations
* Also verify that the datepicker runs in 24-hour
  time when in Indonesian

Change-Id: I9949f9e696d0aacd90d2880b17951ea8b49a7e87
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340869
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Charley Kline <ckline@instructure.com>
QA-Review: Charley Kline <ckline@instructure.com>
Product-Review: Charley Kline <ckline@instructure.com>
2024-02-21 16:49:57 +00:00
Xander Moffatt 11630dd28e fix: use correct line item when restoring from migration
why:
* in some rare situation, the primary line item for an assignment
is not marked "coupled"
* instead query by the existing paradigm of "first-created line item"
* this will prevent the fixup for restoring deleted migrated
line items from erroring

refs INTEROP-8436
flag=none

test plan:
* specs

Change-Id: Ie55b715b8a69ce7e4fac6ebe5e18a0e6ba48ec43
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340887
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Tucker Mcknight <tmcknight@instructure.com>
Reviewed-by: Ryan Hawkins <ryan.hawkins@instructure.com>
QA-Review: Ryan Hawkins <ryan.hawkins@instructure.com>
Product-Review: Xander Moffatt <xmoffatt@instructure.com>
2024-02-21 16:20:53 +00:00
Chrystal Langston a89a128fa2 Add attributes to rubric assessed live event body
This task adds submitted_at, created_at, updated_at,
and attempt attributes to the rubric_assessed live
event body.

closes OUT-6174
flag=none

test plan:
- Tests are sufficient and Jenkins passes

Change-Id: I036b35b9710ae747d8fcf90d338dc5698a2df014
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340285
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Xander Moffatt <xmoffatt@instructure.com>
Reviewed-by: Dave Wenzlick <david.wenzlick@instructure.com>
QA-Review: Dave Wenzlick <david.wenzlick@instructure.com>
Product-Review: Chrystal Langston <chrystal.langston@instructure.com>
2024-02-21 16:04:42 +00:00
Evan Battaglia 407c68358b avoid N+1 lookups in editor_button placements
These are apparently hits to redis but happen for each LTI 1.3 tool on
every page that uses RCE (maybe more than that? anything that uses
ApplicationHelper#inst_env)

The editor button tools are cached, but it appears that
editor_button_json is called every time. The dev keys don't seem to be
pre-loaded in the cache, although in my tests it seems like they are
cached in redis. Still saving N (where N is the number of tools) redis
lookups and ActiveRecord object instantiations is worthwhile and
shouldn't make a difference unless a developer key is hard deleted (I
don't think we do that).

flag=none
refs INTEROP-8434

Test plan:
- (Same for git sha 87602829)
- Have a LTI 1.3 dev key with the editor placement and the tool
  installed
- Setting.set("rce_always_on_developer_key_ids", key.global_id.to_s)
- Restart container if needed
- open a page with RCE
- open dev tools, INST.editorButtons should have always_on for the tool

Change-Id: I575b95d6b1e78b7ae177181e688950092471ebb8
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340850
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Evan Battaglia <ebattaglia@instructure.com>
Product-Review: Evan Battaglia <ebattaglia@instructure.com>
Reviewed-by: Ryan Hawkins <ryan.hawkins@instructure.com>
2024-02-21 10:06:06 +00:00
Jenkins b09d123af0 update nn translation
Change-Id: Ibeb84f30607867b6faa13a2ee7cb634d08211354
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340936
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-02-21 05:50:21 +00:00
Jenkins 8417453b4d [i18n] Update canvas-media translations.
Change-Id: I6f2946669b4c071e37208725ee574646f233c41f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340935
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-02-21 04:50:58 +00:00
Jenkins da7e8324a1 [i18n] Update package translations
Change-Id: Ib5b0dd42bbf5d619bb79b36a5e9d0723738ea2cb
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340934
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-02-21 04:50:51 +00:00
Angela Gomba 2b126cd431 Fix loaderHtml syntax
This is to fix some of the failing tests when upgrading to
jquery 1.9.

refs FOO-4258
flag=none

Test Plan:
- Jenkins passes

[skip-crystalball]

Change-Id: Ic29100766bf8856a444688580a48744194c156b3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340799
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Angela Gomba <angela.gomba@instructure.com>
Product-Review: Angela Gomba <angela.gomba@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
2024-02-21 02:03:35 +00:00
Angela Gomba 8b8e5c3cce spec: Move page_focused set up outside of test module
This is to fix some of the failing tests when upgrading to
jquery 1.9. The fix is to move the set up outside of the
test module because setting up the event listeners on
the window between each test causes failures in
jQuery 1.9.

refs FOO-4258
flag=none

Test Plan:
- Jenkins passes

[skip-crystalball]

Change-Id: If8b9fce0e4a5bf38f86a0ed65cba4aa137afa3b9
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340800
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Angela Gomba <angela.gomba@instructure.com>
Product-Review: Angela Gomba <angela.gomba@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
2024-02-21 02:02:32 +00:00
Steve McGee d62ab2d238 remove assignment_edit plcmnt from announcements
flag=assignment_edit_placement_not_on_announcements
closes INTEROP-8430

why: The assignment_edit placement displays content on gradeable content
types (assignments, discussions, quizzes). It looks like it is currently
displaying on the create/edit announcement page and it should be removed.

test plan:
- create an announcement in a course
- with flag on, assignment_edit placement is not displayed (check
  edit page as well)
- with flag off, assignment_edit placement is displayed (check
  edit page as well)

Change-Id: Ie46b12f1cf93f2f27cf3b6ef220b940187298fd9
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340289
Reviewed-by: Xander Moffatt <xmoffatt@instructure.com>
QA-Review: Xander Moffatt <xmoffatt@instructure.com>
Product-Review: Alexis Nast <alexis.nast@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-02-20 23:50:03 +00:00
Ryan Hawkins 57c5ea19d4 Use Rails helper for LTI registration URL
Previously, we were constructing this URL using some string
interpolation because the route didn't exist yet. It does now, so we
should stop string interpolating.

flag=lti_dynamic_registration

test-plan:
- The specs cover this

Change-Id: Ic9e215d5746dc990e6d1f5e69f77eadf1a10d2a9
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340310
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Xander Moffatt <xmoffatt@instructure.com>
QA-Review: Ryan Hawkins <ryan.hawkins@instructure.com>
Product-Review: Ryan Hawkins <ryan.hawkins@instructure.com>
2024-02-20 23:05:06 +00:00
Angela Gomba 944e6e647f spec: pass in ltiIframeAllowPolicy
This is to fix some of the failing tests when upgrading to
jquery 1.9.

refs FOO-4258
flag=none

Test Plan:
- Jenkins passes

[skip-crystalball]

Change-Id: I039fc78e7491bb2d83f98d375bb5432614170de7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340797
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
QA-Review: Angela Gomba <angela.gomba@instructure.com>
Product-Review: Angela Gomba <angela.gomba@instructure.com>
2024-02-20 21:06:11 +00:00
Cody Cutrer b12506ec00 bundle update google-protobuf
Change-Id: I929c48e7b11c4a83ee4451219978df3bf706e835
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340891
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 20:56:01 +00:00
Cody Cutrer 7ef2402e54 bundle update aws-sdk
Change-Id: I8b0ea0f33b321de0824c8a287471485c3ec255ff
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340911
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 20:55:51 +00:00
Cody Cutrer 10ffc2099d bundle update code_ownership
Change-Id: Ic2292697dbee2a1f212823d7fde79921b20e9d36
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340890
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 19:53:37 +00:00
Cody Cutrer b67fbcf058 bundle update webmock
Change-Id: I9502eb432b4d6b6a7bbf0c01d14af6dd66f670c7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340897
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 19:53:21 +00:00
Cody Cutrer 9501a5f4fd bundle update selenium-webdriver
Change-Id: Ie0601e6453209dd1dc0c4934ca31b60fc0bbd47b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340896
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 19:53:07 +00:00
Cody Cutrer e2160a3ba5 bundle update switchman
Change-Id: I7d85e5494c2ef3fdd00c25bc067ad8b34754de09
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340895
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 19:52:53 +00:00
Cody Cutrer e70f67da2d bundle update rspec-openapi
Change-Id: I2b774725b9ee9477b0a09fdd36ca045135571bee
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340894
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 19:52:42 +00:00
Cody Cutrer f24c4e358b bundle update jwt
Change-Id: I701b001105c806a33ddc6b48346776c71c7f478d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340892
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 19:52:31 +00:00
Cody Cutrer 9de088d6ce pin Nokogiri
to avoid accidentally updating it due to incompatibility with ratom-nokogiri

Change-Id: I80d8a2a50f80ae63fbf9a609e2a2ab7e5c176fbc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340898
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 19:51:18 +00:00
Cody Cutrer 168335b8a2 bundle update bindata
Change-Id: I48d11e0abf27ab556e0560579e478900bd3a54c6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340900
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 19:51:04 +00:00
Cody Cutrer 8ec410d354 bundle update aws-sdk
Change-Id: I86c868f6b0e8d7bb46bb3cdcf9f3fbf569732f17
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340596
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 19:50:51 +00:00
Cody Cutrer e6f5db107e bundle update dotenv
Change-Id: I22ab0ffa52cd60ac24f4c705c80e429a2980b362
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340602
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 19:50:38 +00:00
Cody Cutrer 081661eff0 bundle update redis-client
Change-Id: Ib708db65ef3fd5aadc58f0a31aef8eca48109585
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340601
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 19:50:23 +00:00
Cody Cutrer 77f1eca75a bundle update pg
Change-Id: Ie696519c381ce84ebd4d0b443c67813ccc8aa626
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340600
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 19:50:10 +00:00
Cody Cutrer 1c24e6ec20 bundle update letter_opener
Change-Id: I1a7695de720b4951ecf08dfbb0aee595512623cc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340599
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
2024-02-20 19:49:56 +00:00