Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove IE11 support for 21.04 #2689

Merged
merged 11 commits into from
Jan 28, 2021
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fixed the severity for different advisories [#2611](https://github.com/greenbone/gsa/pull/2611)

### Removed
- Removed Internet Explorer 11 support [#2689](https://github.com/greenbone/gsa/pull/2689)
- Removed support for uncontrolled form fields [#2520](https://github.com/greenbone/gsa/pull/2520)
- Drop gmp scanner type from GSA [#2498](https://github.com/greenbone/gsa/pull/2498)
- Removed filter element "autofp" [#2480](https://github.com/greenbone/gsa/pull/2480)
Expand Down
9 changes: 5 additions & 4 deletions gsa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"@vx/gradient": "^0.0.183",
"@vx/shape": "^0.0.179",
"babel-loader": "8.1.0",
"core-js": "^3.8.3",
"d3-cloud": "^1.2.5",
"d3-color": "^2.0.0",
"d3-force": "^2.0.0",
Expand Down Expand Up @@ -105,10 +104,12 @@
"resetMocks": false
},
"browserslist": [
">0.2%",
">0.5%",
"last 3 version",
"not dead",
"not ie < 11",
"not op_mini all"
"not ie <= 11",
"not op_mini all",
"ff ESR"
],
"husky": {
"hooks": {
Expand Down
2 changes: 1 addition & 1 deletion gsa/public/locales/gsa-de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,7 @@
"Yearly": "Jährlich",
"Yes": "Ja",
"You are leaving GSA": "Sie verlassen den Greenbone Security Assistant.",
"You are using Internet Explorer 11. You might encounter appearance and performance issues.": "Sie nutzen Internet Explorer 11. Es kann zu Darstellungsfehlern und Problemen mit der Leistung kommen.",
"You are using Internet Explorer 11. This browser is not supported anymore. Please use an up-to-date alternative, or contact your system administrator.": "Sie nutzen Internet Explorer 11. Dieser Browser wird nicht mehr unterstützt. Bitte nutzen Sie eine aktuelle Alternative oder kontaktieren Sie Ihren Systemadministrator.",
"You are using keywords setting a minimum limit on severity.": "Sie benutzen Filterbefehle, die eine Minimalgrenze für den Schweregrad setzen.",
"You can choose, whether you want to run the scan immediately": "Sie können wählen, ob der Scan automatisch gestartet",
"You should change the Alive Test Method of the target for the next scan. However, if the target hosts are indeed dead, the scan duration might increase significantly.": "Sie sollten die Methode des Erreichbarkeitstests des Ziels für den nächsten Scan ändern. Sollten die Ziel-Hosts tatsächlich unerreichbar sein, könnte sich die Scan-Dauer erheblich verlängern.",
Expand Down
1 change: 0 additions & 1 deletion gsa/src/gmp/__tests__/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/keys';

import {isDate, isDuration} from 'gmp/models/date';

Expand Down
2 changes: 0 additions & 2 deletions gsa/src/gmp/capabilities/capabilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/set';
import 'core-js/features/symbol';

import {isDefined} from 'gmp/utils/identity';
import {map} from 'gmp/utils/array';
Expand Down
1 change: 0 additions & 1 deletion gsa/src/gmp/commands/policies.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/entries';

import logger from 'gmp/log';

Expand Down
1 change: 0 additions & 1 deletion gsa/src/gmp/commands/roles.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/set';

import registerCommand from 'gmp/command';

Expand Down
1 change: 0 additions & 1 deletion gsa/src/gmp/commands/scanconfigs.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/entries';

import logger from 'gmp/log';

Expand Down
1 change: 0 additions & 1 deletion gsa/src/gmp/gmp.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/entries';

import {isDefined} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
Expand Down
3 changes: 0 additions & 3 deletions gsa/src/gmp/http/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/entries';
import 'core-js/features/string/ends-with';
import 'core-js/features/string/starts-with';

import {isDefined} from 'gmp/utils/identity';

Expand Down
2 changes: 0 additions & 2 deletions gsa/src/gmp/locale/__tests__/languages.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/keys';
import 'core-js/features/object/values';

import {isString} from 'gmp/utils/identity';

Expand Down
2 changes: 0 additions & 2 deletions gsa/src/gmp/locale/lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/string/includes';
import 'core-js/features/array/includes';

import i18next from 'i18next';
import XHRBackend from 'i18next-xhr-backend';
Expand Down
1 change: 0 additions & 1 deletion gsa/src/gmp/locale/languages.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/keys';

export const BROWSER_LANGUAGE = 'Browser Language';

Expand Down
2 changes: 0 additions & 2 deletions gsa/src/gmp/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/entries';
import 'core-js/features/object/values';

import {isDefined, isString} from 'gmp/utils/identity';

Expand Down
2 changes: 0 additions & 2 deletions gsa/src/gmp/models/__tests__/audit.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import 'core-js/features/object/entries';

import Audit, {
HOSTS_ORDERING_RANDOM,
HOSTS_ORDERING_REVERSE,
Expand Down
2 changes: 0 additions & 2 deletions gsa/src/gmp/models/__tests__/task.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import 'core-js/features/object/entries';

import Model from 'gmp/model';

import Task, {
Expand Down
1 change: 0 additions & 1 deletion gsa/src/gmp/models/alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/entries';

import {isDefined, isObject} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
Expand Down
1 change: 0 additions & 1 deletion gsa/src/gmp/models/cve.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/entries';

import {isArray, isDefined} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
Expand Down
2 changes: 0 additions & 2 deletions gsa/src/gmp/models/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/entries';
import 'core-js/features/object/values';

import ical from 'ical.js';

Expand Down
2 changes: 0 additions & 2 deletions gsa/src/gmp/models/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/array/find-index';
import 'core-js/features/array/includes';

import {isDefined, isString, isArray, hasValue} from 'gmp/utils/identity';
import {forEach, map} from 'gmp/utils/array';
Expand Down
1 change: 0 additions & 1 deletion gsa/src/gmp/models/filter/filterterm.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/string/includes';

import {isDefined} from '../../utils/identity';

Expand Down
2 changes: 0 additions & 2 deletions gsa/src/gmp/models/host.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import 'core-js/features/array/find';

import {isDefined} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
import {forEach, map} from 'gmp/utils/array';
Expand Down
1 change: 0 additions & 1 deletion gsa/src/gmp/models/nvt.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/string/starts-with';

import {isDefined, isArray, isString} from 'gmp/utils/identity';
import {isEmpty, split} from 'gmp/utils/string';
Expand Down
1 change: 0 additions & 1 deletion gsa/src/gmp/models/ovaldef.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/entries';

import {map} from 'gmp/utils/array';
import {isDefined} from 'gmp/utils/identity';
Expand Down
2 changes: 0 additions & 2 deletions gsa/src/gmp/models/report/host.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import 'core-js/features/string/starts-with';

import {isArray, isDefined} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';

Expand Down
4 changes: 0 additions & 4 deletions gsa/src/gmp/models/report/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/entries';
import 'core-js/features/object/values';
import 'core-js/features/string/includes';
import 'core-js/features/string/starts-with';

import {isDefined} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
Expand Down
1 change: 0 additions & 1 deletion gsa/src/gmp/models/report/port.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/string/includes';

import {isDefined} from '../../utils/identity';

Expand Down
1 change: 0 additions & 1 deletion gsa/src/gmp/models/report/tlscertificate.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/entries';

import {isDefined} from 'gmp/utils/identity';

Expand Down
2 changes: 0 additions & 2 deletions gsa/src/gmp/models/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import 'core-js/features/object/entries';

import {isDefined} from 'gmp/utils/identity';

class Settings {
Expand Down
3 changes: 0 additions & 3 deletions gsa/src/gmp/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import 'core-js/features/object/entries';
import 'core-js/features/string/starts-with';

import {isDefined, isString, isNumber, isArray} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';

Expand Down
3 changes: 0 additions & 3 deletions gsa/src/gmp/utils/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/array/includes';
import 'core-js/features/object/is';
import 'core-js/features/symbol';

import {hasValue, isDefined, isArray} from './identity';

Expand Down
1 change: 0 additions & 1 deletion gsa/src/gmp/utils/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/keys';

export const exclude = (object, func) =>
Object.keys(object)
Expand Down
1 change: 0 additions & 1 deletion gsa/src/setupTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/string/starts-with';

import {initLocale} from 'gmp/locale/lang';

Expand Down
1 change: 0 additions & 1 deletion gsa/src/web/components/bar/statusbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/string/includes';

import React from 'react';

Expand Down
1 change: 0 additions & 1 deletion gsa/src/web/components/chart/donut.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/array/for-each';

import React from 'react';

Expand Down
2 changes: 0 additions & 2 deletions gsa/src/web/components/chart/line.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import 'core-js/features/array/find';

import memoize from 'memoize-one';

import React from 'react';
Expand Down
7 changes: 1 addition & 6 deletions gsa/src/web/components/dashboard/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/array/find-index';
import 'core-js/features/object/entries';

import memoize from 'memoize-one';

Expand Down Expand Up @@ -377,10 +375,7 @@ const mapDispatchToProps = (dispatch, {gmp}) => ({

export default compose(
withGmp,
connect(
mapStateToProps,
mapDispatchToProps,
),
connect(mapStateToProps, mapDispatchToProps),
)(Dashboard);

// vim: set ts=2 sw=2 tw=80:
6 changes: 1 addition & 5 deletions gsa/src/web/components/dashboard/display/filterselection.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/array/find';

import React from 'react';

Expand Down Expand Up @@ -160,10 +159,7 @@ const mapDispatchToProps = (dispatch, {gmp, filtersFilter}) => ({

export default compose(
withGmp,
connect(
mapStateToProps,
mapDispatchToProps,
),
connect(mapStateToProps, mapDispatchToProps),
)(FilterSelection);

// vim: set ts=2 sw=2 tw=80:
2 changes: 0 additions & 2 deletions gsa/src/web/components/dashboard/display/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/object/keys';
import 'core-js/features/array/from'; // internally needed by d3-scale

import {_l} from 'gmp/locale/lang';

Expand Down
1 change: 0 additions & 1 deletion gsa/src/web/components/form/multiselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/string/includes';

import React from 'react';

Expand Down
1 change: 0 additions & 1 deletion gsa/src/web/components/form/numberfield.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/array/includes';

import React from 'react';

Expand Down
1 change: 0 additions & 1 deletion gsa/src/web/components/form/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'core-js/features/string/includes';

import React from 'react';

Expand Down
Loading