Commit Graph

36547 Commits

Author SHA1 Message Date
Clay Diffrient f28c4deb14 Pass COVERAGE variable into containers running tests
Test Plan:
  - Merge commits after this should generate coverage

refs COREFE-256

flag = none

Change-Id: Iab459a3ec393d899cb78a52293b5456d0b14bf4c
Reviewed-on: https://gerrit.instructure.com/208641
Tested-by: Jenkins
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Clay Diffrient <cdiffrient@instructure.com>
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
2019-09-10 15:24:46 +00:00
Erin Hallmark 37bbb46705 Update browser file to Firefox 68
This file only manages the warning banner that displays
for customers that are using a browser below the minimum
supported version. We need to bring the banner back for
users of Firefox below version 68. Firefox is already at
version 69 as of this ticket date, and Firefox ESR 60
has an end of life at the end of October; users need
to upgrade before then.

CLOSES: DOC-1107

Test plan:
- Jenkins passes

Change-Id: Ie842b54230cec3d7488d96d0bc11a4db0cb98851
Reviewed-on: https://gerrit.instructure.com/208290
Tested-by: Jenkins
Reviewed-by: Ryan Shaw <ryan@instructure.com>
QA-Review: Erin Hallmark <erin@instructure.com>
Product-Review: Erin Hallmark <erin@instructure.com>
2019-09-10 15:11:35 +00:00
James Williams bc6b21ec51 spec: various flaky spec fixes
Change-Id: Ia02bf73a1a332b60177a97afae5dfe8a18152c23
Reviewed-on: https://gerrit.instructure.com/208718
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2019-09-10 14:20:41 +00:00
James Williams 2b054d1b51 spec: truncate cassandra tables before specs
Change-Id: I5f51f5b371a26e645bef2863c43afca28933fccc
Reviewed-on: https://gerrit.instructure.com/208791
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2019-09-10 14:20:20 +00:00
Clay Diffrient a99668b4ba Make alt text show up in images inserted from Unsplash
closes COREFE-1

Test Plan:
  - Enable RCE Enhancements
  - Go to an RCE
  - Upload Image -> Unsplash
  - Notice the alt text on the image you select before
    you submit it.
  - Submit the image to have it insert
  - The image in the RCE should have the same alt text.

Change-Id: Ib7c9933e3dec3f7f7e684d41ae08d70bb5014d4a
Reviewed-on: https://gerrit.instructure.com/203110
Tested-by: Jenkins
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
2019-09-10 14:16:32 +00:00
Mysti Lilla ca6958b94a Add assignment type to icon so SR can read it
fixes ADMIN-2688
flag=none

Test plan
- In a course with a few different assignment
  types, ensure SR reads the assignment
  type for each assignment

Change-Id: Id2437146cc971c8ec2c5647a7d2df1ab0f93dfc4
Reviewed-on: https://gerrit.instructure.com/208190
Tested-by: Jenkins
Reviewed-by: Carl Kibler <ckibler@instructure.com>
QA-Review: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Daniel Sasaki <dsasaki@instructure.com>
2019-09-09 22:08:16 +00:00
Gary Mei bf2c9cc657 fix posted check on nil quiz_submission submission
fixes GRADE-2420

Change-Id: Iecd4f6cccb1ed9174ce3878c3a213e5b1d98396f
Reviewed-on: https://gerrit.instructure.com/208716
Product-Review: Keith Garner <kgarner@instructure.com>
Tested-by: Jenkins
Reviewed-by: Keith Garner <kgarner@instructure.com>
QA-Review: Gary Mei <gmei@instructure.com>
2019-09-09 21:52:28 +00:00
Jeremy Stanley b2dda30127 use correct permission for "View Progress" on modules page
test plan:
 - a user in a custom role who has permission to view grades
   and does not have permission to manage course content
   should see the "View Progress" button on the top of
   the (read-only) modules page

flag=none
fixes ADMIN-2871

Change-Id: I85dd183748cbac57433c04dfe1ded36d5f38d90c
Reviewed-on: https://gerrit.instructure.com/208388
QA-Review: Anju Reddy <areddy@instructure.com>
Tested-by: Jenkins
Reviewed-by: Mysti Lilla <mysti@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2019-09-09 21:23:17 +00:00
Jeremy Putnam 3e04ec1424 spec: unskip multi-window test
Change-Id: Ia08096c8077e71f8b14887368871fd041c16568b
closes: COREFE-242
Reviewed-on: https://gerrit.instructure.com/207735
Tested-by: Jenkins
Reviewed-by: Robert Lamb <rlamb@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Jeremy Putnam <jeremyp@instructure.com>
2019-09-09 21:03:00 +00:00
James Butters 459e0ed8a9 spec: generate html report
closes: CORE-3234

Change-Id: I8a85ed899e1097e5c91276d97c8339931cda2e1a
Reviewed-on: https://gerrit.instructure.com/208309
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2019-09-09 20:12:26 +00:00
Ryan Shaw 20b962f5f5 Use native es modules for tinymce-a11y-checker
Change-Id: Ia17a47e50711abca1b6ca154995bfa2f6e5b1eb8
Reviewed-on: https://gerrit.instructure.com/208604
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2019-09-09 20:07:28 +00:00
Ryan Shaw 4298f14fe0 fix polyfill for old browsers
fixes: COREFE-272

core-js changed the name of all of their polyfills so they are not 
based on es6 or es7 but just es. 

This is to update our code to reflect that.

if you look at what's on prod
https://du11hjcvx0uqb.cloudfront.net/br/dist/ie11-polyfill-36fc8ad84a.js
vs what's on beta:
https://du11hjcvx0uqb.cloudfront.net/br/dist/ie11-polyfill-f3223dcd57.js
you can see that core-js stopped polyfilling some stuff.

so even thought this is specifically called the ie11-polyfill, and we
don't officially support ie11, we should still probably warmfix this so
that if there are any browsers that do need any of these polyfills they
still get it, out of an abundance of caution.

test plan:
* with this applied, view-source and then look for: "ie11-polyfill"
* copy and paste that url into a new tab. 
* it should have a bunch of stuff in it, like the example from prod 
  above and not be small like the one from beta above

Change-Id: Ic92ba4a31a739db7a50eebcfd7ac63d9ad8f6742
Reviewed-on: https://gerrit.instructure.com/208605
Tested-by: Jenkins
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
2019-09-09 20:00:17 +00:00
Ryan Norton 7a5dca6cee warn user when leaving unsaved text in a2
when a user has drafted but not saved text in a text submission
in a2 we should warn the user if they attempt to leave the page
without saving

Test Plan:
* as a teacher, create a text entry assignment
* as a student in a2, navigate to the assignment
* click the "Start Entry" button
* make any changes to the RCE so it is not a blank entry
* attempt to navigate away from the page
** i.e. attempt to navigate to the assignments page
* you should get a warning that you have unsaved data

flag=assignments_2
fixes COMMS-2320

Change-Id: Iacac4c794d7daadb17c5175479d7765015e53911
Reviewed-on: https://gerrit.instructure.com/208342
Tested-by: Jenkins
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
QA-Review: Steven Burnett <sburnett@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
2019-09-09 18:35:04 +00:00
Steven Burnett ee7b3a13bb use new tabs instui component
refs COMMS-2291
flag=assignment_2

Test Plan:
- tabs function and look the same

Change-Id: I25d5560edf46a88aee2c4e4e4353f0181d8a2d9e
Reviewed-on: https://gerrit.instructure.com/208595
Tested-by: Jenkins
QA-Review: Steven Burnett <sburnett@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
2019-09-09 17:24:46 +00:00
Ryan Shaw 7340ea5d42 Make it so runOnEveryPage bundle doesn’t load ‘lodash’
This was the one thing in that bundle that used lodash. By using a
Native method here it will mean we don’t load lodash on pages like the
Login page

Test plan:
* lodash should not be loaded as part of the 
  runOnEveryPageButDontBlockAnythingElse bundle

Change-Id: I9a5ad9aea3dfb00a9bd14097189473667f96bd93
Reviewed-on: https://gerrit.instructure.com/208607
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2019-09-09 17:20:58 +00:00
Ryan Shaw 607a568e0d speed up resetMenuItemTabIndexes
calling $(document).width() causes a recalculate styles
And this function gets called on window.scroll so if we can bail out
Early it could help with scroll jank as well as page load speed

Test plan:
* this should work the same as before but be a little faster

Change-Id: Ib50171e2af0abe49e6f26da4dd06a345f0dff6ff
Reviewed-on: https://gerrit.instructure.com/208608
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2019-09-09 17:20:38 +00:00
Ryan Shaw f0d6f1a497 Remove rest of the $.support checks for old browsers
see: https://github.com/ryankshaw/jquery/commit/ce59a7f0b3c4fc6ff9a2176
for the diff of the actual changes

Copying from that commit message:

All of these checks only ever returned false in older browsers that
We no longer support. By getting rid of them, we can get rid of this
Chunk of javascript execution that happens on every page right before
The domcontentloaded event fires: https://cl.ly/d368d5c9388 which ends
Up being non-trivial because it causes a couple recalculate-styles
(As seen by the purple in that screenshot)

Test plan:
jQuery should work the same as before
* domcontentloaded should end 15-200ms sooner which means all pages
  Should load a little faster

Change-Id: I3efa8752708b9043107e9123d31cd509536e9993
Reviewed-on: https://gerrit.instructure.com/208606
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2019-09-09 17:19:47 +00:00
Ryan Shaw fb53feb062 Don’t block anything else to send google analytics
from profiling, it looks like when we call trackEvent, google analytics
Executes synchronously in the middle of all our other javascript and
Blocks it for a few ms while it does its thing 
see: https://cl.ly/a94a028037d2 
This will make it so it waits until we are done before letting GA run

Change-Id: Iff7275c1428c7ebcec04ccc1d4d46f56131c9b79
Reviewed-on: https://gerrit.instructure.com/208616
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2019-09-09 17:18:46 +00:00
Ryan Shaw 88b3e9ab47 Speed up broken image selector
Using jquery this took 5ms just on the login page:
https://cl.ly/0ffa8030060d
using document.querySelectorAll will be faster

Test plan:
* the broken image fallbacks should work exactly the same as before

Change-Id: I1c38974dbcc55d5f777d48a7603ce847217b0ec6
Reviewed-on: https://gerrit.instructure.com/208615
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2019-09-09 17:17:23 +00:00
Ryan Shaw f3194958b4 speed up the isMathMLOnPage check
This took 7ms while testing (https://cl.ly/2fbf815cc539). 
Mostly because of the :visible check.
Since usually there are no “math” elements on the page, doing a
Simple document.getElementsByTagName('math') is faster

Test plan:
* mathML should work the same as it did before but the check on pages
  That don’t have it should be faster

Change-Id: I34e989519919d3921c83351f0f00b31dbd914211
Reviewed-on: https://gerrit.instructure.com/208614
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2019-09-09 17:16:42 +00:00
Steven Burnett d0d03ad3db lazy load what we don't need
refs COMMS-2291
flag=assignment_2

Test Plan:
- tests pass
- all attempts work the same
- check network for the bundles we are loading
  that we only load what we need

Change-Id: Ib9c83239387b2f27b613f3ff1ce4bfc160b299d5
Reviewed-on: https://gerrit.instructure.com/208596
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
Tested-by: Jenkins
QA-Review: Steven Burnett <sburnett@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
2019-09-09 16:16:40 +00:00
Steven Burnett 31d5349217 clean up console warnings
refs COMMS-2291
flag=assignment_2

Test Plan:
- cleans up some console warnings in a2

Change-Id: Idc29fea7ca9efac70dbe3815ee2f6b888c817665
Reviewed-on: https://gerrit.instructure.com/208594
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
Tested-by: Jenkins
QA-Review: Steven Burnett <sburnett@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
2019-09-09 16:14:50 +00:00
Steven Burnett cfedf2a58e allow saving of subtitles
refs COMMS-2291
flag=assignment_2

Test Plan:
- in A2 as a student submitting to a media assignment
- add a media file in the computer panel and some closed
  captions
- click save
- in your database check the last closed caption see its the
  file you uploaded
- celebrate

Change-Id: I557b519cdc4889827924cf190742e519dc00e8cb
Reviewed-on: https://gerrit.instructure.com/208353
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
Tested-by: Jenkins
QA-Review: Steven Burnett <sburnett@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
2019-09-09 16:03:37 +00:00
Ryan Shaw a9d1a2ea5c canvas-rce: run instUI codemods for v7 deprecations
this is the result of running:
npx @instructure/instui-cli upgrade --version 7

test plan:
* you should see a lot less deprecation warnings from instUI components

Change-Id: I01ba7a68e4c1838e2fb11b79226d2869aa862ef4
Reviewed-on: https://gerrit.instructure.com/207743
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2019-09-09 14:46:16 +00:00
Cameron Matheson a648078d19 graphql: add account type
Test plan: make graphql queries for an account

closes GQL-85
flag = none

Change-Id: I12817cf9484ef96095a020d28797691dfa08a7c7
Reviewed-on: https://gerrit.instructure.com/208370
Tested-by: Jenkins
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
QA-Review: Cameron Matheson <cameron@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
2019-09-07 03:05:16 +00:00
Clay Diffrient 829105c1e6 Add coverage generation on merge in new jenkins
refs COREFE-256

flag = none

Change-Id: I7c97132d25e867edad7148a8c8e6a94b04412556
Reviewed-on: https://gerrit.instructure.com/208561
Tested-by: Jenkins
Reviewed-by: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2019-09-06 22:01:28 +00:00
Clay Diffrient d923e7cd96 Fix some missed renaming spots in the Jenkinsfile
Test Plan:
  - New Jenkins frontend build passes

closes COREFE-266

flag = none

Change-Id: I711458c2f4367e2d8540fe234b7bdcb59dbe4b4f
Reviewed-on: https://gerrit.instructure.com/208485
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins
QA-Review: Clay Diffrient <cdiffrient@instructure.com>
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
2019-09-06 22:01:20 +00:00
Jon Willesen 3fceef17cb basic direct share course selection tray
Note: There appears to be an issue with VoiceOver not announcing the
aria live updates. Going to ignore this for now and see if it is still a
problem when InstUI 6 lands. Another ticket will be created to check and
fix.

refs ADMIN-2811
flag=direct_share

test plan:
- should be able to search by name for courses you manage in the direct
  share course selection tray.
- copy button disabled until you select a course
- after selecting a course, the copy button just logs to the console
- cancel button closes the tray
- generally accessible, except for VO reading alerts.
  - could check the flash_screenreader_holder div in the inspector if
    you want to watch the DOM changes that should trigger the alert.

Change-Id: I5c102b25d277204a9929f780adbe94b9d3e46bcb
Reviewed-on: https://gerrit.instructure.com/205371
Tested-by: Jenkins
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Jon Willesen <jonw+gerrit@instructure.com>
Reviewed-by: Carl Kibler <ckibler@instructure.com>
2019-09-06 20:58:59 +00:00
Robert Lamb 01d4d28992 Use canvas-docker pool of agents
Closes CORE-3304

Test plan:
  Jenkins passes
  Verify builds run on canvas_docker nodes

Change-Id: I789531b8962d7ca53ff938951366a173ed69f2ca
Reviewed-on: https://gerrit.instructure.com/208506
Tested-by: Jenkins
Reviewed-by: James Butters <jbutters@instructure.com>
QA-Review: Robert Lamb <rlamb@instructure.com>
Product-Review: Robert Lamb <rlamb@instructure.com>
2019-09-06 20:42:48 +00:00
Jeremy Neander c05ba7c0c2 fix resizing issue with sync grades dialog
fixes GRADE-2401

test plan:
 A. Setup
    1. Select or create a typical course
    2. Add a SIS LTI

 B. Verify in Old Gradebook
    1. Ensure New Gradebook is disabled
    2. Visit Old Gradebook
    3. Click the "Export" button to expand the menu
    4. Click the sync button for the LTI
       * the Sync Grades modal will open
    5. Tab through the entire dialog & iframe
       * Start on the close button
       * End on the close button
    6. Repeat Step 5
    7. Verify the iframe remains the same size

 C. Verify with New Gradebook
    1. Enable New Gradebook
    2. Visit New Gradebook
    3. Click the "Actions" menu button
    4. Click the menu option for either LTI
       * the Sync Grades modal will open
    5. Tab through the entire dialog & iframe
       * Start on the close button
       * End on the close button
    6. Repeat Step 5
    7. Verify the iframe remains the same size

Change-Id: I66adaf5457f307eaa41aec5e984f053b3dc6a7e7
Reviewed-on: https://gerrit.instructure.com/208510
Tested-by: Jenkins
Reviewed-by: Keith Garner <kgarner@instructure.com>
Reviewed-by: Gary Mei <gmei@instructure.com>
QA-Review: Jeremy Neander <jneander@instructure.com>
Product-Review: Keith Garner <kgarner@instructure.com>
2019-09-06 20:39:55 +00:00
Jeremy Neander ca6a461f3f spec: add new async and context tracking support
Change-Id: I038e061f7e8bb5c95fd79f66a9c17e2d6a13ef5c
Reviewed-on: https://gerrit.instructure.com/207470
Tested-by: Jenkins
Reviewed-by: Gary Mei <gmei@instructure.com>
QA-Review: Jeremy Neander <jneander@instructure.com>
Product-Review: Jeremy Neander <jneander@instructure.com>
2019-09-06 20:27:25 +00:00
Jeremy Stanley 17a3ae2143 log asset accesses for API calls
to allow mobile app activity to appear on the course access report

test plan: the following API endpoints should appear on the course
access report (enable page views to test):
 - assignments index
 - assignment show
 - collaborations index
 - conferences index
 - modules index
 - course roster (/api/v1/courses/X/users)
 - discussion topics index
 - discussion show
 - discussion view ("Get the full topic")
 - pages index
 - page show
 - quizzes index
 - quiz show

for paginated index endpoints, only the first page should result
in an asset access

canvas web pages that are built on the API should not record
double accesses

flag=none

fixes ADMIN-2840

Change-Id: I7163537b05d389a0a33b0a0128740e7be354349a
Reviewed-on: https://gerrit.instructure.com/208379
Tested-by: Jenkins
Reviewed-by: Jon Willesen <jonw+gerrit@instructure.com>
QA-Review: Jon Willesen <jonw+gerrit@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2019-09-06 19:39:25 +00:00
Jeremy Putnam a28a006fa9 spec: unskip canvadocs embed test
Change-Id: I919ecc37442f167e20bf4c998753e23f43bc0fef
closes: COREFE-228
Reviewed-on: https://gerrit.instructure.com/206643
Tested-by: Jenkins
Reviewed-by: Robert Lamb <rlamb@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Jeremy Putnam <jeremyp@instructure.com>
2019-09-06 18:34:00 +00:00
Jeremy Neander 9219bd5ee9 truncate assignment titles in grade details tray
fixes GRADE-2365

test plan:
 1. Create an assignment with a loooong title
 2. Visit New Gradebook
 3. Open the Grade Details Tray for the assignment
 4. Verify the title is truncated

Change-Id: I6b1701b2a24d38cf2f72a240253f677e0212c554
Reviewed-on: https://gerrit.instructure.com/208478
Tested-by: Jenkins
Reviewed-by: Gary Mei <gmei@instructure.com>
Reviewed-by: Keith Garner <kgarner@instructure.com>
QA-Review: Jeremy Neander <jneander@instructure.com>
Product-Review: Jonathan Fenton <jfenton@instructure.com>
2019-09-06 18:24:56 +00:00
Clint Furse 75d0b952f6 update action to get caliper event types
closes PLAT-4770

Test Plan:
- have related changes deployed in subscription service and
  live-events-lti
- endpoint to get event_types now allows query param
  (message_type='live-event' or 'caliper' and will return
  the appropriate event types

Change-Id: I24b2c9e00cc86bd250a7f92bef021f41992b4b8f
Reviewed-on: https://gerrit.instructure.com/208340
Tested-by: Jenkins
Reviewed-by: Xander Moffatt <xmoffatt@instructure.com>
QA-Review: Xander Moffatt <xmoffatt@instructure.com>
Product-Review: Clint Furse <cfurse@instructure.com>
2019-09-06 15:39:10 +00:00
James Williams c4465d9f1e spec: use redis config when looking up redis_cache_store
Change-Id: Ic2fe269749f207d62743030e7c94de7793cede09
Reviewed-on: https://gerrit.instructure.com/208461
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
2019-09-06 14:19:47 +00:00
Keith T. Garner e0d26acb19 always expose submission.posted_at to the api
fixes GRADE-2416

test plan:
 - specs pass

Change-Id: I56536b659c23542e74e21493c0f099909880ee18
Reviewed-on: https://gerrit.instructure.com/208350
Tested-by: Jenkins
Reviewed-by: Derek Bender <djbender@instructure.com>
Reviewed-by: Jeremy Neander <jneander@instructure.com>
QA-Review: Keith Garner <kgarner@instructure.com>
Product-Review: Keith Garner <kgarner@instructure.com>
2019-09-06 13:55:00 +00:00
James Williams 099cd4bd05 add host to peer review notification urls
test plan:
* generate a peer review notification
* the link should have a full url with host

closes #CNVS-46754

Change-Id: I6e1f7b028e79adbabbb102f5b644dc91bf76b286
Reviewed-on: https://gerrit.instructure.com/206925
Tested-by: Jenkins
Product-Review: James Williams <jamesw@instructure.com>
Reviewed-by: Gary Mei <gmei@instructure.com>
Reviewed-by: Jeremy Neander <jneander@instructure.com>
QA-Review: Jeremy Neander <jneander@instructure.com>
2019-09-06 13:44:37 +00:00
Jenkins 13d93ec882 update ru translation
Change-Id: Ie0711456a9a5c993ce402401f528e81d3440b8bd
Reviewed-on: https://gerrit.instructure.com/208445
Tested-by: Jenkins
2019-09-06 05:47:44 +00:00
Jenkins e37fb3376b update pt-BR translation
Change-Id: I8a1bb662ebe5f59772bc78867294ce246afdcd89
Reviewed-on: https://gerrit.instructure.com/208444
Tested-by: Jenkins
2019-09-06 05:47:16 +00:00
Jenkins b494b051ce update pl translation
Change-Id: I87401c39bfe497c18d2403db2a45428163ea1795
Reviewed-on: https://gerrit.instructure.com/208443
Tested-by: Jenkins
2019-09-06 05:46:34 +00:00
Jenkins 913e30ed54 update nl translation
Change-Id: Ic03632bcd07b6c2688970cebf3baa1ba61454362
Reviewed-on: https://gerrit.instructure.com/208442
Tested-by: Jenkins
2019-09-06 05:46:06 +00:00
Jenkins 930dbd72cb update nb translation
Change-Id: I8f5515a289ba3601f2f70afcc1f0ebcaaf7b69f7
Reviewed-on: https://gerrit.instructure.com/208441
Tested-by: Jenkins
2019-09-06 05:45:38 +00:00
Jenkins bc003a2a20 update mi translation
Change-Id: Iea542dfd65dcd8ba86cc13cf70e0d856db3d24c2
Reviewed-on: https://gerrit.instructure.com/208440
Tested-by: Jenkins
2019-09-06 05:45:11 +00:00
Jenkins c57aa83bf1 update fr-CA translation
Change-Id: I4f53ac4f9f69f8d8827dfeb89afe6fdf58bb59c8
Reviewed-on: https://gerrit.instructure.com/208439
Tested-by: Jenkins
2019-09-06 05:44:29 +00:00
Ed Schiebel bad38d2e9e Constrain the size of images inserted into the rce
when the user first inserts an image from the tray, constrain its size.

closes COREFE-241

test plan:
  - load a page with the rce
  - have a relatively large image in the course images
  - insert the image into the rce
  > expect it's size to be constrained so neither edge is > 320px
  - select the image, and click Options
  > expect the Custom image size should reflect the correct current
    size of the image
  - change the image size and click Done
  > expect the image to be resized
  - add the image again
  - save what you're working on
  > expect the images to keep their set sizes
  - edit again
  - in html view, add a style attribute, and any other attributes
    to the <img> element
  - flip back to rich view
  > expect the image to look like you'd expect, given what you just did
  - change the image size in the tray
  > expect your custom style and other attributes to be preserved
  - upload landscape image that's wider than 320px
  > expect the grey placeholder box to be right-sized to 320 wide
  > expect the image to be right-sized when it replaces the placeholder
  - repeat, uploading a landscape file taller than 320px

Change-Id: I4aa3893eda846e82775c658fd51b7b8d796b2ec0
Reviewed-on: https://gerrit.instructure.com/207492
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Ed Schiebel <eschiebel@instructure.com>
2019-09-05 23:50:50 +00:00
Ryan Shaw bc3fc86460 Allow IE 11 to also see oauth screens
fixes:  COREFE-251

We made a change to not redirect IE 11 users away from the login screen
But they also need to be able to get to the /login/oauth2/confirm action
that is from the `oauth2_provider` controller so this will let them see
that too.

Change-Id: I3a19211cc219150fc40db8d19e4a1563226b220f
Reviewed-on: https://gerrit.instructure.com/208371
Tested-by: Jenkins
QA-Review: Tucker Mcknight <tmcknight@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
2019-09-05 23:07:11 +00:00
Anju Reddy 6e6bdbc232 spec: add placeholder integration specs for SendTo
Change-Id: I8029f63be1137c38c9ecc5f9a3b92593453902fd
FIXES: ADMIN-2860
Reviewed-on: https://gerrit.instructure.com/208385
Tested-by: Jenkins
Reviewed-by: Carl Kibler <ckibler@instructure.com>
QA-Review: Carl Kibler <ckibler@instructure.com>
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Anju Reddy <areddy@instructure.com>
2019-09-05 22:43:24 +00:00
Jeremy Putnam e480c650df spec: unskip discussions_reply_attachment_spec test
Change-Id: Ibd565e6cc457d0658d217b2058b775a197f83d8f
closes: COREFE-238
Reviewed-on: https://gerrit.instructure.com/207227
Tested-by: Jenkins
Reviewed-by: Robert Lamb <rlamb@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Jeremy Putnam <jeremyp@instructure.com>
2019-09-05 22:14:36 +00:00
Jeremy Stanley 6639056155 fix assignment override caching issue
test plan:
 - set up and enable redis caching
 - enable "new SIS integration settings" feature in account
 - turn on "require assignment due date" in account settings
 - create an assignment with overrides for multiple sections
   and "sync to SIS" checked
 - save the assignment
 - the list of overrides should not be blank

fixes ADMIN-2854

flag=none

Change-Id: Ida6cb4b1fbb52a104f274e5b829bf074634921cf
Reviewed-on: https://gerrit.instructure.com/208080
Reviewed-by: James Williams <jamesw@instructure.com>
Tested-by: Jenkins
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2019-09-05 22:08:55 +00:00