Skip to content

Commit 34e6a4e

Browse files
Remove IE11 support (#11470)
* Remove IE11 support With master now on 1.13, it's time to drop IE11 for good. The woff variants are also in use by Opera Mini but it has even less market share and I can only imagine how broken the UI is in it. Fixes: #6147 * update docs Co-authored-by: techknowlogick <[email protected]>
1 parent 6da87ed commit 34e6a4e

11 files changed

+14
-45
lines changed

docs/content/doc/features/authentication.en-us.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,9 @@ Before activating SSPI single sign-on authentication (SSO) you have to prepare y
238238

239239
- Sign in to a client computer in the same domain with any domain user (client computer, different from the server running `gitea.exe`)
240240

241-
- If you are using Chrome, Edge or Internet Explorer, add the URL of the web app to the Local intranet sites (`Internet Options -> Security -> Local intranet -> Sites`)
241+
- If you are using Chrome or Edge, add the URL of the web app to the Local intranet sites (`Internet Options -> Security -> Local intranet -> Sites`)
242242

243-
- Start Chrome, Edge or Internet Explorer and navigate to the FQDN URL of gitea (eg. `http://host.domain.local:3000`)
243+
- Start Chrome or Edge and navigate to the FQDN URL of gitea (eg. `http://host.domain.local:3000`)
244244

245245
- Click the `Sign In` button on the dashboard and choose SSPI to be automatically logged in with the same user that is currently logged on to the computer
246246

docs/content/page/index.en-us.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,9 @@ Windows, on architectures like amd64, i386, ARM, PowerPC, and others.
261261

262262
## Browser Support
263263

264-
- Please see [Semantic UI](https://github.com/Semantic-Org/Semantic-UI#browser-support) for specific versions of supported browsers.
264+
- Last 2 versions of Chrome, Firefox and Safari
265+
- Firefox ESR
266+
- Edge 14+
265267

266268
## Components
267269

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
"updates": "10.2.11"
5959
},
6060
"browserslist": [
61-
"defaults"
61+
"defaults",
62+
"not ie > 0",
63+
"not ie_mob > 0"
6264
]
6365
}

web_src/js/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
/* exported toggleDeadlineForm, setDeadline, updateDeadline, deleteDependencyModal, cancelCodeComment, onOAuthLoginClick */
44

55
import './publicpath.js';
6-
import './polyfills.js';
76

87
import Vue from 'vue';
98
import 'jquery.are-you-sure';

web_src/js/polyfills.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

web_src/js/publicpath.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
// This sets up webpack's chunk loading to load resources from the 'public'
22
// directory. This file must be imported before any lazy-loading is being attempted.
33

4-
if (document.currentScript && document.currentScript.src) {
5-
const url = new URL(document.currentScript.src);
6-
__webpack_public_path__ = url.pathname.replace(/\/[^/]*?\/[^/]*?$/, '/');
7-
} else {
8-
// compat: IE11
9-
const script = document.querySelector('script[src*="/index.js"]');
10-
__webpack_public_path__ = script.getAttribute('src').replace(/\/[^/]*?\/[^/]*?$/, '/');
11-
}
4+
const url = new URL(document.currentScript.src);
5+
__webpack_public_path__ = url.pathname.replace(/\/[^/]*?\/[^/]*?$/, '/');

web_src/less/_base.less

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
local('Roboto'),
88
local('Roboto-Regular'),
99
/* Chrome 26+, Opera 23+, Firefox 39+ */
10-
url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-regular.woff2') format('woff2'),
11-
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
12-
url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-regular.woff') format('woff');
10+
url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-regular.woff2') format('woff2');
1311
}
1412

1513
/* roboto-italic - latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext */
@@ -20,10 +18,7 @@
2018
src:
2119
local('Roboto Italic'),
2220
local('Roboto-Italic'),
23-
/* Chrome 26+, Opera 23+, Firefox 39+ */
24-
url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-italic.woff2') format('woff2'),
25-
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
26-
url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-italic.woff') format('woff');
21+
url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-italic.woff2') format('woff2');
2722
}
2823

2924
/* roboto-700 - latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext */
@@ -34,10 +29,7 @@
3429
src:
3530
local('Roboto Bold'),
3631
local('Roboto-Bold'),
37-
/* Chrome 26+, Opera 23+, Firefox 39+ */
38-
url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700.woff2') format('woff2'),
39-
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
40-
url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700.woff') format('woff');
32+
url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700.woff2') format('woff2');
4133
}
4234

4335
/* roboto-700italic - latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext */
@@ -48,10 +40,7 @@
4840
src:
4941
local('Roboto Bold Italic'),
5042
local('Roboto-BoldItalic'),
51-
/* Chrome 26+, Opera 23+, Firefox 39+ */
52-
url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700italic.woff2') format('woff2'),
53-
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
54-
url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700italic.woff') format('woff');
43+
url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700italic.woff2') format('woff2');
5544
}
5645

5746
@font-face {

0 commit comments

Comments
 (0)