Commit Graph

29 Commits

Author SHA1 Message Date
Jason L Perry b581fefca9 Allow Chrome OS LTS
Chrome OS has a long-term support (LTS) channel which is updated every
6 months. Some schooles have chosen to use this channel for their Chrome
OS updates. Unfortunately, the LTS distinction is not reflected in the
User-Agent string.

This change checks if the browser is Chrome running on Chrome OS and
compares it to the minimum version specified in the configuration file.

This does mean means that slightly older versions of Chrome on non-LTS
Chrome OS will also be be allowed to run Canvas without warnings, but
that's better than not allowing LTS versions to be supported at all.

flag=none
Closes FOO-3343

Test Plan:
  - Visit a page in Canvas with a browser that is running an LTS version
  of Chrome OS that is older than the latest support Chrome.
  - You can spoof this in Chrome dev tools by changing the User-Agent
     under "... > More Tools > Network Conditions".

Change-Id: Ic9cadd20a6170f144103249daba6d729ba41e47c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/311263
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Charley Kline <ckline@instructure.com>
Product-Review: Charley Kline <ckline@instructure.com>
QA-Review: Charley Kline <ckline@instructure.com>
2023-02-22 16:57:41 +00:00
James Butters b3ba447056 updgrade Jenkins Chrome version 107
closes: DE-1483

Test Plan:
- new image starlord.inscloudgate.net/jenkins/selenium-node-chrome:107.0
- Jenkins build uses chrome 107
- No failures in Jenkins

Change-Id: I31f453d34dcfcbc71c88b3bc379380bbd17ef133
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/306441
QA-Review: James Butters <jbutters@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
Build-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Ryan Norton <rnorton@instructure.com>
2022-12-06 02:28:57 +00:00
Ben Rinaca da5f43ec7f support slightly older chrome versions
refs FOO-2964

some partners are based on chrome versions just a touch outside of what
we've recently updated to support. we can open up a few additional
versions to continue to include them.

Change-Id: I1a141b69757415306d31042de676426bb486d185
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/293697
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
Reviewed-by: Charley Kline <ckline@instructure.com>
QA-Review: Ben Rinaca <brinaca@instructure.com>
Product-Review: Ben Rinaca <brinaca@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2022-06-09 23:59:10 +00:00
Charley Kline 0865ed4928 Update minimum browser versions
flag=none

This file controls the "you are on an unsupported browser"
alert message and should be updated to reflect the most
recent version minus one of our supported browsers. In
this case I used the "long term support" version of
Firefox (current 91, last 78), along with version 98 of
Chrome and 14 of Safari.

Test plan:
* you agree with the browser versions listed here

Change-Id: Ia967dcf387c3b963c830e180394b1a0b35781e63
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/292214
Reviewed-by: Ben Rinaca <brinaca@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Charley Kline <ckline@instructure.com>
Product-Review: Charley Kline <ckline@instructure.com>
2022-05-19 16:24:47 +00:00
Charley Kline 353f02dba9 Update minimum browser versions
flag=none

This file controls the "you are on an unsupported browser"
alert message and should be updated to reflect the most
recent version minus one of our supported browsers. In
this case I used the "long term support" version of
Firefox which is 91, along with version 94 of Chrome
(because that's what our own seleniums test against in
Jenkins) and 15 of Safari.

Test plan:
* you agree with the browser versions listed here

Change-Id: I1f2c026e689f72c9e4493538abebdc5a32e1ec23
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/292135
Reviewed-by: Ben Rinaca <brinaca@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Charley Kline <ckline@instructure.com>
Product-Review: Charley Kline <ckline@instructure.com>
2022-05-18 22:33:41 +00:00
Erin Hallmark 8e3451ccbe Add clarification text to browsers file
CLOSES: DOC-1240
flag=none

Test plan:
- jenkins passes

Change-Id: I1997e5c755d5277e7cb901102c1237ff74eeffe9
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/246947
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: James Butters <jbutters@instructure.com>
QA-Review: Erin Hallmark <erin@instructure.com>
Product-Review: Erin Hallmark <erin@instructure.com>
2020-09-03 20:37:32 +00:00
Erin Hallmark 98263403b3 Correct minimum browser files
CLOSES: DOC-1225
flag=none

Test plan:
- minimum browser for chrome is 83
- minimum browser for firefox is 78 (79 ships 27-july)
- Jenkins passes

Change-Id: I201e7b253d3d1df77eb33de90c1b64e19b6623aa
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/243502
Reviewed-by: Charley Kline <ckline@instructure.com>
QA-Review: Charley Kline <ckline@instructure.com>
Product-Review: Charley Kline <ckline@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-07-27 22:15:05 +00:00
Erin Hallmark d074157f17 Update browser file to most current versions
CLOSES: DOC-1225
flag=none

Test plan:
- Jenkins passes
- Browsers updated to chrome 84 and firefox 79
(FF 79 will be live on july 28)

Change-Id: I8009f25ee99007fa97a49e0ff70ff6bed7182fd0
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/242990
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: Erin Hallmark <erin@instructure.com>
2020-07-23 15:36:50 +00:00
Erin Hallmark 72603f7b97 Update browsers banner file
CLOSES: DOC-1207
flag=none

Test plan:
- Canvas warning banner displays for any versions below the minimum
- Jenkins passes

Change-Id: I60ed15ed86ef94112d39b5e9fcbe0901298ff447
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/240905
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Charley Kline <ckline@instructure.com>
Reviewed-by: James Butters <jbutters@instructure.com>
QA-Review: Charley Kline <ckline@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: Charley Kline <ckline@instructure.com>
2020-07-17 14:59:11 +00:00
gbeckmann ebd00bdaa8 Revert "Update browsers file"
This reverts commit 5424423ad5.

Reverting because this is causing issues for some customers.

Change-Id: I40bd487237bbbe66d98ffb96fc86dde83dd8e80e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/230131
Reviewed-by: Keith Garner <kgarner@instructure.com>
QA-Review: Keith Garner <kgarner@instructure.com>
Product-Review: Keith Garner <kgarner@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2020-03-17 19:41:26 +00:00
Erin Hallmark 5424423ad5 Update browsers file
Closes: DOC-1188

flag=none

This commit updates minimum browsers to Chrome 79 and Firefox 72

Test plan:
- jenkins passes

Change-Id: I26dc575d46020878efdc708545a3c45bd9479b79
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/227878
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: James Butters <jbutters@instructure.com>
QA-Review: Erin Hallmark <erin@instructure.com>
Product-Review: Erin Hallmark <erin@instructure.com>
2020-02-28 18:28:47 +00:00
James Butters ff838cf72e increase chrome to 78
we recently upgraded our test browser to chrome 78 so we can make
this file match.

flag = none

Change-Id: I46548ab165d0d66c11040938fc47808b9d1ccdf3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/222655
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Derek Bender <djbender@instructure.com>
Reviewed-by: Rex Fleischer <rfleischer@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2020-01-10 15:09:58 +00:00
Derek Bender aef1463481 Downgrade chrome for test compatability
Change-Id: I8547c14ee71bb03685766cd1e014eb2307fdd92d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/218705
Reviewed-by: James Butters <jbutters@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Tested-by: Jenkins
QA-Review: Derek Bender <djbender@instructure.com>
Product-Review: Derek Bender <djbender@instructure.com>
2019-11-26 16:33:57 +00:00
Erin Hallmark 8d99f7ad18 Update minimum Chrome version to 76
Current version of Chrome is 78; Firefox is 70

CLOSES: DOC-1154

Test plan:
- specs pass

Change-Id: I29466e7fe5ae0908fa11a54788d0537658bb9a8c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/218451
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
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-11-26 01:05:38 +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
Ryan Shaw e53cb06e5b Allow windows IE11 webviews to see login for oauth
Closes: COREFE-251

If their login flow requires any javascript to actually execute
that will probably still not work since if it is our javascript
it will probably have syntax ie11 can’t understand but
if all they need is the server-rendered html & css of the login page
this should let them do that

This also ups the “minimum supported ie version” to 12. So that if
they do get to the login screen, and javascript actually works, they
will see something like this: https://cl.ly/e192872f4a66

Test plan:
* try to login from ie11
* it should show the login screen and let you login but once you hit
  Submit, on the page that loads after, it should redirect you to the
  Ie-is-not-supported.html page

Change-Id: I8dc93cf2a5810a7e189cef05ba26c390cd9e16e0
Reviewed-on: https://gerrit.instructure.com/208125
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-05 15:05:12 +00:00
Erin Hallmark d6efa498e5 Update Chrome to 67
Closes: DOC-1088

We are trying to keep this file more current to reflect
broswers supported by Canvas. Firefox will continue to
show the most recent version of ESR, since most ESR
customers use Firefox. Chrome ESR users can set their
own version and should be using one of the most recent.

Test plan:
- file notes chrome minimum as 67
- jenkins passes

Change-Id: I3a2f2b4c3d2d92cae40b18c9086716ee1ec6daf4
Reviewed-on: https://gerrit.instructure.com/201124
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
QA-Review: Erin Hallmark <erin@instructure.com>
Product-Review: Erin Hallmark <erin@instructure.com>
2019-07-14 21:05:23 +00:00
Cody Cutrer 8ff9e1585d update user agent parsing to browser gem
refs CORE-2793

useragent hasn't been updated in years, and browser gives us more features
for detecting mobile platforms easily

test plan:
 * use a modern browser
 * nothing should change
 * use an old version of IE, Chrome, Safari, and/or Firefox (or spoof
   the user agent string)
 * should still get a warning about an unsupported browser

Change-Id: I57707a49d4e6cd9c4389103acb546a9eadbb36f3
Reviewed-on: https://gerrit.instructure.com/190809
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
2019-04-25 21:24:51 +00:00
Erin Hallmark 891f1e0054 Change browser.yml back to Firefox 60
ESR users are seeing the warning banner
and would like to see it removed; the
only way to do that is to lower the Firefox
version to 60 from 64. Firefox 60 is the
top-level ESR offered by Firefox.

Chrome Enterprise allows admins to pin
at any version, so we will not adjust
the Chrome browser number.

Closes: DOC-1047

Test plan:
- specs pass

Change-Id: I8723093637b8df297210538abdf459b0b1e584d8
Reviewed-on: https://gerrit.instructure.com/190491
Tested-by: Jenkins
QA-Review: Rob Orton <rob@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
2019-04-23 22:32:50 +00:00
Ryan Shaw fe34d7397a update browser.yml to match supported browsers
Test Plan:
 - All specs pass in FF and Chrome
 - Code Review

Change-Id: I4373f1396aaa892aec19ba8f9bb20a89ec44c8e8
Reviewed-on: https://gerrit.instructure.com/122992
Tested-by: Jenkins
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
Reviewed-by: Robert Lamb <rlamb@instructure.com>
2019-03-28 03:24:29 +00:00
MFairbourn fb54224761 update browsers in browsers.yml - to the safest level
fixes CNVS-30456

Test Plan:
- All specs pass in FF and Chrome
- Code Review

Change-Id: Ia891e2ceb8f0379554f4424cb1761d4d3a792a84
Reviewed-on: https://gerrit.instructure.com/85439
Tested-by: Jenkins
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
2016-07-15 21:23:33 +00:00
Matt Fairbourn ac7407dd60 Revert "update browser.yml to match supported browsers"
This reverts commit e0dde74179.

Change-Id: I7a23936e4a3ad13f1552a9fc9ca10b5c4c4d737f
Reviewed-on: https://gerrit.instructure.com/85437
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
Tested-by: Jon Jensen <jon@instructure.com>
2016-07-15 16:48:28 +00:00
MFairbourn e0dde74179 update browser.yml to match supported browsers
closes CNVS-30456

Test Plan:
- All specs pass in FF and Chrome
- Code Review

Change-Id: I797c44055693539b88a002265155eef0e8207ab6
Reviewed-on: https://gerrit.instructure.com/85426
Reviewed-by: Pedro Fajardo <pfajardo@instructure.com>
Tested-by: Jenkins
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
2016-07-15 16:13:58 +00:00
Ethan Vizitei 5cea70c902 Update browser minimum configurations
fixes CNVS-17785

our guide on 'guides.instructure.com' says
we've dropped support for a lot of browsers that
we still don't show a message to.

This updates the config file to match what's
currently documented on our guide
so users using browsers we don't officially
support get the standard browser warnings.

Change-Id: If90038fa8620b685bb0dc9d6e185d1c5f3f41386
Reviewed-on: https://gerrit.instructure.com/46616
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
2015-01-08 22:34:17 +00:00
Bryan Madsen 9e1c905642 update minimum supported browsers
fixes #CNVS-12517

test-plan:
* with chrome 33 & 34, verify browser warning does not display
* with safari 6 & 7, verify browser warning does not display
* with firefox 27 & 28, verify browser warning does not display
* with internet explorer 10 & 11, verify browser warning does not display

Change-Id: I8a86dcef641c8c2b936097237e239320e6b0190c
Reviewed-on: https://gerrit.instructure.com/33493
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Bryan Madsen <bryan@instructure.com>
2014-04-17 21:51:01 +00:00
Bryan Madsen 86f3a59ad1 revert update of minimum browser support for firefox and safari
test-plan:
* in safari 5, verify browser warning does not display
* in firefox 17, verify browser warning does not display

Change-Id: I15866e476181e76837b15eb749cde52da84e6e52
Reviewed-on: https://gerrit.instructure.com/30062
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Cameron Matheson <cameron@instructure.com>
Product-Review: Bryan Madsen <bryan@instructure.com>
QA-Review: Bryan Madsen <bryan@instructure.com>
2014-02-13 22:20:32 +00:00
Bryan Madsen b40c48785f update minimum supported safari, chrome and firefox
test-plan:
* with chrome 31 & 32, verify browser warning does not display
* with safari 6 & 7, verify browser warning does not display
* with firefox 26 & 27, verify browser warning does not display

Change-Id: I8b5250908bfb0269d3616fbf06a5e6da65e016c3
Reviewed-on: https://gerrit.instructure.com/28717
Reviewed-by: Bryan Madsen <bryan@instructure.com>
Product-Review: Bryan Madsen <bryan@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
2014-02-10 21:57:22 +00:00
Jon Jensen 1261e82bb2 don't warn browsers we don't recognize, fixes CNVS-4754
treat minimums as a blacklist, and assume that anything we don't recognize
is supported

test plan:
1. load canvas in unsupported browsers (e.g. IE 8), confirm you get a
   warning
2. load canvas in supported browsers (e.g. IE 9), confirm you don't get a
   warning
3. load canvas in an unknown browser (e.g. Android), confirm you don't get
   a warning

Change-Id: I87ed90e97d031431f6a48c814dfa874b785ea777
Reviewed-on: https://gerrit.instructure.com/18801
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Cam Theriault <cam@instructure.com>
Reviewed-by: Joe Tanner <joe@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
2013-03-20 22:16:16 +00:00
Jon Jensen c762d2e3a4 show a warning to unsupported browsers, fixes CNVS-4579
test plan:
1. use canvas in any supported browser (including mobile)
2. you should not see a warning
3. use canvas in an unsupported browser (e.g. ie8, old firefox)
4. you should see an orangish warning at the top of every page
5. it should not be dismissable

Change-Id: I092455c416a754d102ddadbda99280856b4082de
Reviewed-on: https://gerrit.instructure.com/18524
QA-Review: Jon Jensen <jon@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Joe Tanner <joe@instructure.com>
2013-03-13 10:38:32 -06:00