;
+ }
+ const now = date();
+ const duration = date.duration(sessionTimeout.diff(now));
+ if (duration.asSeconds() <= 0) {
+ setTimeLeft('00:00');
+ } else {
+ const formatted =
+ Math.floor(duration.asMinutes()) +
+ ':' +
+ ('0' + duration.seconds()).slice(-2);
+ setTimeLeft(formatted);
+ }
+ };
+
+ updateTimeLeft();
+ const intervalId = setInterval(updateTimeLeft, 1000);
+
+ return () => clearInterval(intervalId);
+ }, [sessionTimeout]);
+
+ return (
+
+ {timeLeft}
+
+
+
+
+ );
+};
+
+export default SessionTimer;
diff --git a/src/web/components/structure/header.jsx b/src/web/components/structure/header.jsx
index 8f8de43026..c56f272874 100644
--- a/src/web/components/structure/header.jsx
+++ b/src/web/components/structure/header.jsx
@@ -15,7 +15,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-import React, {useCallback} from 'react';
+import {useCallback} from 'react';
import {useHistory} from 'react-router-dom';
@@ -30,6 +30,7 @@ import useGmp from 'web/utils/useGmp';
import LogoutIcon from 'web/components/icon/logouticon';
import MySettingsIcon from 'web/components/icon/mysettingsicon';
import LanguageSwitch from './languageswitch';
+import SessionTimer from '../sessionTimer/SessionTimer';
const Header = () => {
const gmp = useGmp();
@@ -73,6 +74,7 @@ const Header = () => {
languageSwitch={}
menuPoints={menuPoints}
isLoggedIn={loggedIn}
+ sessionTimer={}
username={username}
logoLink="/"
/>
diff --git a/src/web/utils/__tests__/useUserSessionTimeout.jsx b/src/web/utils/__tests__/useUserSessionTimeout.jsx
index 9689be606f..34214a7fe9 100644
--- a/src/web/utils/__tests__/useUserSessionTimeout.jsx
+++ b/src/web/utils/__tests__/useUserSessionTimeout.jsx
@@ -22,16 +22,19 @@ import date from 'gmp/models/date';
import {setSessionTimeout as setSessionTimeoutAction} from 'web/store/usersettings/actions';
-import {rendererWith, fireEvent} from '../testing';
+import {rendererWith} from '../testing';
import useUserSessionTimeout from '../useUserSessionTimeout';
const TestUserSessionTimeout = () => {
const [sessionTimeout, setSessionTimeout] = useUserSessionTimeout();
return (
- setSessionTimeout(date('2020-03-10'))}>
+ setSessionTimeout(date('2020-03-10'))}
+ onKeyDown={() => {}}
+ >
{dateFormat(sessionTimeout, 'DD-MM-YY')}
-
+
);
};
@@ -47,20 +50,4 @@ describe('useUserSessionTimeout tests', () => {
expect(element).toHaveTextContent(/^10-10-19$/);
});
-
- test('should allow to set the users session timeout', () => {
- const {render, store} = rendererWith({store: true});
-
- const timeout = date('2019-10-10');
-
- store.dispatch(setSessionTimeoutAction(timeout));
-
- const {element} = render();
-
- expect(element).toHaveTextContent(/^10-10-19$/);
-
- fireEvent.click(element);
-
- expect(element).toHaveTextContent(/^10-03-20$/);
- });
});
diff --git a/src/web/utils/useUserSessionTimeout.jsx b/src/web/utils/useUserSessionTimeout.jsx
index 761600e4a1..317fe4c063 100644
--- a/src/web/utils/useUserSessionTimeout.jsx
+++ b/src/web/utils/useUserSessionTimeout.jsx
@@ -19,13 +19,29 @@ import {useSelector, useDispatch} from 'react-redux';
import {getSessionTimeout} from 'web/store/usersettings/selectors';
import {setSessionTimeout} from 'web/store/usersettings/actions';
+import useGmp from 'web/utils/useGmp';
+
+/**
+ * Custom hook to manage user session timeout.
+ *
+ * This hook provides the current session timeout, represented as a moment object, and a function to renew the session timeout through an API call.
+ * The `renewSessionAndUpdateTimeout` function makes an API call to renew the session and updates the session timeout based on the response, also represented as a moment object.
+ * This function does not require any parameters and will update the session timeout to the new value obtained from the API response.
+ *
+ * @returns {Array} An array containing the current `sessionTimeout` as a moment object and the `renewSessionAndUpdateTimeout` function.
+ */
const useUserSessionTimeout = () => {
+ const gmp = useGmp();
const dispatch = useDispatch();
- return [
- useSelector(getSessionTimeout),
- timeout => dispatch(setSessionTimeout(timeout)),
- ];
+ const sessionTimeout = useSelector(getSessionTimeout);
+
+ const renewSessionAndUpdateTimeout = async () => {
+ const response = await gmp.user.renewSession();
+ dispatch(setSessionTimeout(response.data));
+ };
+
+ return [sessionTimeout, renewSessionAndUpdateTimeout];
};
export default useUserSessionTimeout;
From d856dc5c627ca4ba16a059bfff52996a42b47b63 Mon Sep 17 00:00:00 2001
From: daniele-mng
Date: Mon, 24 Jun 2024 11:34:58 +0200
Subject: [PATCH 095/150] Add: opensight date picker
---
src/gmp/commands/wizard.js | 2 +-
src/gmp/models/event.js | 6 +-
.../form/{datepicker.jsx => DatePicker.jsx} | 87 +---
.../performance/startendtimeselection.jsx | 193 +++------
src/web/pages/schedules/dialog.jsx | 118 ++----
src/web/wizard/advancedtaskwizard.jsx | 393 +++++++++---------
src/web/wizard/modifytaskwizard.jsx | 55 ++-
7 files changed, 336 insertions(+), 518 deletions(-)
rename src/web/components/form/{datepicker.jsx => DatePicker.jsx} (50%)
diff --git a/src/gmp/commands/wizard.js b/src/gmp/commands/wizard.js
index 8935cf6e08..ab1f887fda 100644
--- a/src/gmp/commands/wizard.js
+++ b/src/gmp/commands/wizard.js
@@ -190,7 +190,7 @@ class WizardCommand extends HttpCommand {
event_data_quick_task_fields,
);
- event_data['event_data:start_day'] = start_date.day();
+ event_data['event_data:start_day'] = start_date.date();
event_data['event_data:start_month'] = start_date.month() + 1;
event_data['event_data:start_year'] = start_date.year();
diff --git a/src/gmp/models/event.js b/src/gmp/models/event.js
index c5cf54048b..592d85f64a 100644
--- a/src/gmp/models/event.js
+++ b/src/gmp/models/event.js
@@ -254,13 +254,14 @@ class Event {
startDate,
summary,
weekdays,
+ isUseUTC = true,
},
timezone,
) {
const event = new ical.Event();
event.uid = uuid();
- event.startDate = ical.Time.fromJSDate(startDate.toDate(), true);
+ event.startDate = ical.Time.fromJSDate(startDate.toDate(), isUseUTC);
if (isDefined(duration)) {
const eventDuration = new ical.Duration();
@@ -317,7 +318,8 @@ class Event {
}
get duration() {
- return createDuration({...this.event.duration});
+ const {weeks, ...durationWithoutWeeks} = this.event.duration;
+ return createDuration(durationWithoutWeeks);
}
get durationInSeconds() {
diff --git a/src/web/components/form/datepicker.jsx b/src/web/components/form/DatePicker.jsx
similarity index 50%
rename from src/web/components/form/datepicker.jsx
rename to src/web/components/form/DatePicker.jsx
index 4820690a81..c30c892ccf 100644
--- a/src/web/components/form/datepicker.jsx
+++ b/src/web/components/form/DatePicker.jsx
@@ -17,93 +17,48 @@
*/
import React, {useCallback} from 'react';
-import styled from 'styled-components';
-
-import DatePicker from 'react-datepicker';
-
-import _ from 'gmp/locale';
-
-import {getLocale} from 'gmp/locale/lang';
+import {DateTimePicker} from '@greenbone/opensight-ui-components';
import {isDefined} from 'gmp/utils/identity';
import date from 'gmp/models/date';
-import PropTypes from 'web/utils/proptypes';
-
-import Theme from 'web/utils/theme';
-
-import CalendarIcon from 'web/components/icon/calendaricon';
-
-import 'react-datepicker/dist/react-datepicker.css';
-
-const StyledCalendarIcon = styled(CalendarIcon)`
- margin-left: 5px;
- :hover {
- cursor: ${props => (props.disabled ? 'not-allowed ' : 'pointer')};
- }
-`;
-
-const StyledDiv = styled.div`
- display: flex;
- margin-right: 5px;
- width: ${props => props.width};
- color: ${props => (props.disabled ? Theme.lightGray : undefined)};
-`;
-
-// InputField must be a Class to work correctly with Datepicker :-/
-// eslint-disable-next-line react/prefer-stateless-function
-class InputField extends React.Component {
- render() {
- const {disabled, onClick, value, width = 'auto', ...props} = this.props;
-
- return (
-
- {value}
-
-
- );
- }
-}
+import {getLocale} from 'gmp/locale/lang';
-InputField.propTypes = {
- disabled: PropTypes.bool,
- value: PropTypes.string,
- width: PropTypes.string,
- onClick: PropTypes.func,
-};
+import PropTypes from 'web/utils/proptypes';
const DatePickerComponent = ({
disabled,
- timezone,
- minDate = date().tz(timezone),
+ minDate = date(),
name,
- width,
- value = date().tz(timezone),
+ width = '100%',
+ value = date(),
onChange,
- ...restProps
+ label = '',
}) => {
const handleChange = useCallback(
newValue => {
if (isDefined(onChange)) {
- onChange(date(newValue).tz(timezone), name);
+ const valueToPass = date(newValue);
+ onChange(valueToPass, name);
}
},
- [name, onChange, timezone],
+ [name, onChange],
);
+
return (
- }
+ locale={getLocale()}
+ value={value.toDate()}
+ onChange={handleChange}
minDate={
minDate === false || !isDefined(minDate) ? undefined : minDate.toDate()
}
maxDate={date().add(3, 'years').toDate()}
- selected={value.toDate()}
- todayButton={_('Today')}
- locale={getLocale()}
- onChange={handleChange}
+ style={{width}}
+ withSeconds={false}
+ label={label}
/>
);
};
@@ -111,13 +66,11 @@ const DatePickerComponent = ({
DatePickerComponent.propTypes = {
disabled: PropTypes.bool,
minDate: PropTypes.oneOfType([PropTypes.date, PropTypes.oneOf([false])]),
- name: PropTypes.string,
- timezone: PropTypes.string.isRequired,
+ name: PropTypes.arrayOf(PropTypes.string),
value: PropTypes.date.isRequired,
width: PropTypes.string,
onChange: PropTypes.func,
+ label: PropTypes.string,
};
export default DatePickerComponent;
-
-// vim: set ts=2 sw=2 tw=80:
diff --git a/src/web/pages/performance/startendtimeselection.jsx b/src/web/pages/performance/startendtimeselection.jsx
index 62619abd6c..1ed8fa4aa6 100644
--- a/src/web/pages/performance/startendtimeselection.jsx
+++ b/src/web/pages/performance/startendtimeselection.jsx
@@ -15,151 +15,82 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-import React from 'react';
+import {useState, useEffect} from 'react';
import _ from 'gmp/locale';
-import {isDefined} from 'gmp/utils/identity';
-
import PropTypes from 'web/utils/proptypes';
import Button from 'web/components/form/button';
-import Datepicker from 'web/components/form/datepicker';
+import DatePicker from 'web/components/form/DatePicker';
import FormGroup from 'web/components/form/formgroup';
-import Spinner from 'web/components/form/spinner';
import Column from 'web/components/layout/column';
import Row from 'web/components/layout/row';
-class StartTimeSelection extends React.Component {
- constructor(...args) {
- super(...args);
-
- const {startDate, endDate} = this.props;
-
- this.state = {
- startDate,
- startHour: startDate.hour(),
- startMinute: startDate.minute(),
- endDate,
- endHour: endDate.hour(),
- endMinute: endDate.minute(),
- };
-
- this.handleValueChange = this.handleValueChange.bind(this);
- this.handleUpdate = this.handleUpdate.bind(this);
- }
-
- static getDerivedStateFromProps(props, state) {
- const {startDate, endDate} = props;
-
- if (
- (isDefined(startDate) && startDate !== state.prevStartDate) ||
- (isDefined(endDate) && props.endDate !== state.prevEndDate)
- ) {
- return {
- startDate,
- endDate,
- endHour: endDate.hour(),
- endMinute: endDate.minute(),
- prevStartDate: startDate,
- prevEndDate: endDate,
- startHour: startDate.hour(),
- startMinute: startDate.minute(),
- };
+const StartTimeSelection = props => {
+ const {
+ startDate: initialStartDate,
+ endDate: initialEndDate,
+ timezone,
+ onChanged,
+ } = props;
+ const [startDate, setStartDate] = useState(initialStartDate);
+ const [endDate, setEndDate] = useState(initialEndDate);
+
+ useEffect(() => {
+ setStartDate(initialStartDate);
+ setEndDate(initialEndDate);
+ }, [initialStartDate, initialEndDate]);
+
+ const handleValueChange = (value, name) => {
+ if (name === 'startDate') {
+ setStartDate(value);
+ } else if (name === 'endDate') {
+ setEndDate(value);
}
- return null;
- }
-
- handleValueChange(value, name) {
- this.setState({[name]: value});
- }
-
- handleUpdate() {
- const {onChanged} = this.props;
- const {startDate, endDate, startHour, startMinute, endHour, endMinute} =
- this.state;
+ };
+ const handleUpdate = () => {
onChanged({
- startDate: startDate.clone().hour(startHour).minute(startMinute),
- endDate: endDate.clone().hour(endHour).minute(endMinute),
+ startDate: startDate.clone(),
+ endDate: endDate.clone(),
});
- }
-
- render() {
- const {timezone} = this.props;
- const {endDate, startDate, startHour, startMinute, endHour, endMinute} =
- this.state;
- return (
-
-
- {timezone}
-
-
-
- {' '}
- h
- {' '}
- m
-
-
-
-
- {' '}
- h
- {' '}
- m
-
-
-
-
- {_('Update')}
-
-
-
- );
- }
-}
+ };
+
+ return (
+
+
+ {timezone}
+
+
+
+
+
+
+
+
+
+
+
+ {_('Update')}
+
+
+
+ );
+};
StartTimeSelection.propTypes = {
endDate: PropTypes.date.isRequired,
@@ -169,5 +100,3 @@ StartTimeSelection.propTypes = {
};
export default StartTimeSelection;
-
-// vim: set ts=2 sw=2 tw=80:
diff --git a/src/web/pages/schedules/dialog.jsx b/src/web/pages/schedules/dialog.jsx
index 2548ad100c..d1430f9174 100644
--- a/src/web/pages/schedules/dialog.jsx
+++ b/src/web/pages/schedules/dialog.jsx
@@ -31,7 +31,8 @@ import Select from 'web/components/form/select';
import Spinner from 'web/components/form/spinner';
import FormGroup from 'web/components/form/formgroup';
import TextField from 'web/components/form/textfield';
-import DatePicker from 'web/components/form/datepicker';
+import DatePicker from 'web/components/form/DatePicker';
+
import TimeZoneSelect from 'web/components/form/timezoneselect';
import CheckBox from 'web/components/form/checkbox';
import Radio from 'web/components/form/radio';
@@ -203,48 +204,32 @@ const ScheduleDialog = ({
? undefined
: isDefined(endDate) && createDuration(endDate.diff(startDate));
- const handleStartHoursChange = value => {
- setStartDate(startDate => startDate.hours(value)); // eslint-disable-line no-shadow
- };
-
- const handleStartMinutesChange = value => {
- setStartDate(startDate => startDate.minutes(value)); // eslint-disable-line no-shadow
- };
-
const handleNowButtonClick = () => {
setStartDate(date().tz(timezone));
};
- const handleEndHoursChange = value => {
- setEndDate(endDate => endDate.hours(value)); // eslint-disable-line no-shadow
- };
-
- const handleEndMinutesChange = value => {
- setEndDate(endDate => endDate.minutes(value)); // eslint-disable-line no-shadow
- };
-
const handleTimezoneChange = value => {
- setEndDate(endDate => endDate.tz(value)); // eslint-disable-line no-shadow
- setStartDate(startDate => startDate.tz(value)); // eslint-disable-line no-shadow
+ setEndDate(endDate => endDate.tz(value));
+ setStartDate(startDate => startDate.tz(value));
setTimezone(value);
};
const handleSave = ({
- comment, // eslint-disable-line no-shadow
- endDate, // eslint-disable-line no-shadow
- endOpen = false, // eslint-disable-line no-shadow
- freq, // eslint-disable-line no-shadow
- id, // eslint-disable-line no-shadow
- interval, // eslint-disable-line no-shadow
- monthdays, // eslint-disable-line no-shadow
- monthly, // eslint-disable-line no-shadow
- monthlyDay, // eslint-disable-line no-shadow
- monthlyNth, // eslint-disable-line no-shadow
- name, // eslint-disable-line no-shadow
- recurrenceType, // eslint-disable-line no-shadow
- startDate, // eslint-disable-line no-shadow
- timezone, // eslint-disable-line no-shadow
- weekdays, // eslint-disable-line no-shadow
+ comment,
+ endDate,
+ endOpen = false,
+ freq,
+ id,
+ interval,
+ monthdays,
+ monthly,
+ monthlyDay,
+ monthlyNth,
+ name,
+ recurrenceType,
+ startDate,
+ timezone,
+ weekdays,
}) => {
if (!isDefined(onSave)) {
return Promise.resolve();
@@ -322,6 +307,7 @@ const ScheduleDialog = ({
// when name is just numbers.
summary: `${name}`,
startDate,
+ isUseUTC: false,
},
timezone,
);
@@ -390,36 +376,16 @@ const ScheduleDialog = ({
/>
-
-
-
-
- h
-
- m
-
-
-
+
+
+
+
-
- h
-
- m
@@ -572,5 +518,3 @@ ScheduleDialog.propTypes = {
};
export default ScheduleDialog;
-
-// vim: set ts=2 sw=2 tw=80:
diff --git a/src/web/wizard/advancedtaskwizard.jsx b/src/web/wizard/advancedtaskwizard.jsx
index 97fdd53cb0..e7dc9361a9 100644
--- a/src/web/wizard/advancedtaskwizard.jsx
+++ b/src/web/wizard/advancedtaskwizard.jsx
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-import React from 'react';
+import {useState} from 'react';
import {
esxi_credential_filter,
@@ -34,10 +34,9 @@ import Spinner from 'web/components/form/spinner';
import FormGroup from 'web/components/form/formgroup';
import TextField from 'web/components/form/textfield';
import Radio from 'web/components/form/radio';
-import Datepicker from 'web/components/form/datepicker';
+import DatePicker from 'web/components/form/DatePicker';
import TimeZoneSelect from 'web/components/form/timezoneselect';
-import Divider from 'web/components/layout/divider';
import Layout from 'web/components/layout/layout';
import Column from 'web/components/layout/column';
@@ -45,7 +44,7 @@ import useTranslation from 'web/hooks/useTranslation';
import useCapabilities from 'web/utils/useCapabilities';
import {WizardContent, WizardIcon} from './taskwizard';
-
+import date from 'gmp/models/date';
const IMMEDIATELY_START_VALUE = '2';
const SCHEDULE_START_VALUE = '1';
const DONT_START_VALUE = '0';
@@ -79,6 +78,7 @@ const AdvancedTaskWizard = ({
const [_] = useTranslation();
const capabilities = useCapabilities();
const configItems = renderSelectItems(scan_configs);
+ const [datePickerValue, setDatePickerValue] = useState(start_date);
const sshCredentialItems = renderSelectItems(
credentials.filter(ssh_credential_filter),
'',
@@ -111,6 +111,20 @@ const AdvancedTaskWizard = ({
...DEFAULTS,
};
+ const handleDateChange = (selectedDate, onValueChange) => {
+ const properties = [
+ {name: 'start_date', value: selectedDate},
+ {name: 'start_hour', value: selectedDate.hours()},
+ {name: 'start_minute', value: selectedDate.minutes()},
+ ];
+
+ properties.forEach(({name, value}) => {
+ onValueChange(value, name);
+ });
+
+ setDatePickerValue(selectedDate);
+ };
+
return (
- {({values: state, onValueChange}) => (
-
-
-
-
-
- {_('Quick start: Create a new task')}
-
-
- {_(
- 'This wizard can help you by creating a new scan task and ' +
- 'automatically starting it.',
- )}
-
-
- {_(
- 'All you need to do is enter a name for the new task and' +
- ' the IP address or host name of the target, and select a' +
- ' scan configuration.',
- )}
-
-
- {_(
- 'You can choose, whether you want to run the scan immediately',
- )}
- {capabilities.mayAccess('schedules') &&
- capabilities.mayCreate('schedule') &&
- _(', schedule the task for a later date and time,')}
- {_(
- ' or just create the task so you can run it manually later.',
- )}
-
-
- {_(
- 'In order to run an authenticated scan, you have to ' +
- 'select SSH and/or SMB credentials, but you can also run ' +
- 'an unauthenticated scan by not selecting any credentials.',
- )}
- {capabilities.mayAccess('alerts') &&
- capabilities.mayCreate('alert') && }
- {capabilities.mayAccess('alerts') &&
- capabilities.mayCreate('alert') &&
- _(
- 'If you enter an email address in the "Email report to"' +
- ' field, a report of the scan will be sent to this ' +
- 'address once it is finished.',
+ {({values: state, onValueChange}) => {
+ return (
+
+
+
+
+
+ {_('Quick start: Create a new task')}
+
+
+ {_(
+ 'This wizard can help you by creating a new scan task and ' +
+ 'automatically starting it.',
)}
- {capabilities.mayAccess('slaves') && }
- {capabilities.mayAccess('slaves') &&
- _(
- 'Finally, you can select a sensor which will run the ' +
- 'scan.',
+
+
+ {_(
+ 'All you need to do is enter a name for the new task and' +
+ ' the IP address or host name of the target, and select a' +
+ ' scan configuration.',
)}
-
-
- {_(
- 'For any other setting the defaults from ' +
- '"My Settings" will be applied.',
- )}
-
-
-
-
-
-
-
+
+
+ {_(
+ 'You can choose, whether you want to run the scan immediately',
+ )}
+ {capabilities.mayAccess('schedules') &&
+ capabilities.mayCreate('schedule') &&
+ _(', schedule the task for a later date and time,')}
+ {_(
+ ' or just create the task so you can run it manually later.',
+ )}
+
+
+ {_(
+ 'In order to run an authenticated scan, you have to ' +
+ 'select SSH and/or SMB credentials, but you can also run ' +
+ 'an unauthenticated scan by not selecting any credentials.',
+ )}
+ {capabilities.mayAccess('alerts') &&
+ capabilities.mayCreate('alert') && }
+ {capabilities.mayAccess('alerts') &&
+ capabilities.mayCreate('alert') &&
+ _(
+ 'If you enter an email address in the "Email report to"' +
+ ' field, a report of the scan will be sent to this ' +
+ 'address once it is finished.',
+ )}
+ {capabilities.mayAccess('slaves') && }
+ {capabilities.mayAccess('slaves') &&
+ _(
+ 'Finally, you can select a sensor which will run the ' +
+ 'scan.',
+ )}
+
+
+ {_(
+ 'For any other setting the defaults from ' +
+ '"My Settings" will be applied.',
+ )}
+
+ );
+});
+
const Select = ({
disabled,
dropdownPosition,
@@ -120,6 +140,7 @@ const Select = ({
value={selectedValue}
onChange={handleChange}
rightSection={rightSection}
+ itemComponent={SelectItem}
/>
);
};
diff --git a/src/web/utils/__tests__/render.jsx b/src/web/utils/__tests__/render.jsx
index 3ed1d74ab4..4d32a4edaf 100644
--- a/src/web/utils/__tests__/render.jsx
+++ b/src/web/utils/__tests__/render.jsx
@@ -39,31 +39,6 @@ describe('render_select_items test', () => {
expect(items[1]).toEqual({label: 'B Task', value: '2'});
});
- test('should mark deprecated items', () => {
- const entities = [
- {
- name: 'A Config',
- id: '1',
- },
- {
- name: 'B Config',
- deprecated: '1',
- id: '2',
- },
- {
- name: 'C Config',
- id: '3',
- },
- ];
-
- const items = renderSelectItems(entities);
-
- expect(items.length).toBe(3);
- expect(items[0]).toEqual({label: 'A Config', value: '1'});
- expect(items[1]).toEqual({label: B Config (Deprecated), value: '2'});
- expect(items[2]).toEqual({label: 'C Config', value: '3'});
- });
-
test('should add default item', () => {
const entities = [
{
@@ -103,6 +78,26 @@ describe('render_select_items test', () => {
expect(items[1]).toEqual({label: 'A Task', value: '1'});
expect(items[2]).toEqual({label: 'B Task', value: '2'});
});
+
+ test.each([
+ {name: 'Item 1', id: 1, deprecated: '1'},
+ {name: 'Item 2', id: 2},
+ {name: 123, id: 3, deprecated: '1'},
+ {name: true, id: 4},
+ {name: null, id: 5},
+ {name: undefined, id: 6},
+ ])('should return labels as strings for item with id %s', item => {
+ const default_item_value = 0;
+ const default_item_label = 'Default Item';
+
+ const result = renderSelectItems(
+ [item],
+ default_item_value,
+ default_item_label,
+ );
+
+ expect(typeof result[1].label).toBe('string');
+ });
});
describe('generateFilename tests', () => {
diff --git a/src/web/utils/render.jsx b/src/web/utils/render.jsx
index 972329f704..9d1a967e8d 100644
--- a/src/web/utils/render.jsx
+++ b/src/web/utils/render.jsx
@@ -30,14 +30,6 @@ import {typeName, getEntityType} from 'gmp/utils/entitytype';
export const UNSET_VALUE = '0';
export const UNSET_LABEL = '--';
-function selectItemLabel(item) {
- const itemText = isDefined(item.name) ? item.name : item.id;
- if (item.deprecated) {
- return {itemText + ' (' + _('Deprecated') + ')'};
- }
- return itemText;
-}
-
/**
* Render a entities list as items array
*
@@ -53,7 +45,11 @@ export const renderSelectItems = (
default_item_label = UNSET_LABEL,
) => {
const items = isDefined(list)
- ? list.map(item => ({label: selectItemLabel(item), value: item.id}))
+ ? list.map(item => ({
+ label: String(item.name),
+ value: item.id,
+ deprecated: item.deprecated,
+ }))
: undefined;
if (!isDefined(default_item_value)) {
From 3fb6c232a8a61a9cf0dce87f81b9f32f05e3bd77 Mon Sep 17 00:00:00 2001
From: daniele-mng
Date: Tue, 20 Aug 2024 17:30:14 +0200
Subject: [PATCH 104/150] Add: eslint rule for the file header (#4126)
---
.eslintrc.cjs | 24 +-
package-lock.json | 145 +++---------
package.json | 1 +
src/__tests__/version.js | 15 +-
src/gmp/__tests__/cancel.js | 16 +-
src/gmp/__tests__/cvss.js | 16 +-
src/gmp/__tests__/gmp.js | 16 +-
src/gmp/__tests__/gmpsettings.js | 16 +-
src/gmp/__tests__/log.js | 16 +-
src/gmp/__tests__/model.js | 16 +-
src/gmp/__tests__/parser.js | 16 +-
src/gmp/__tests__/timezones.js | 16 +-
src/gmp/cancel.js | 15 +-
.../capabilities/__tests__/capabilities.js | 16 +-
src/gmp/capabilities/__tests__/everything.js | 16 +-
src/gmp/capabilities/capabilities.js | 15 +-
src/gmp/capabilities/everything.js | 15 +-
src/gmp/collection/collectioncounts.js | 15 +-
src/gmp/collection/parser.js | 16 +-
src/gmp/command.js | 16 +-
src/gmp/commands/__tests__/audit.js | 16 +-
src/gmp/commands/__tests__/auth.js | 16 +-
src/gmp/commands/__tests__/convert.js | 16 +-
src/gmp/commands/__tests__/dashboards.js | 16 +-
src/gmp/commands/__tests__/entities.js | 16 +-
src/gmp/commands/__tests__/entity.js | 16 +-
src/gmp/commands/__tests__/feedstatus.js | 16 +-
src/gmp/commands/__tests__/http.js | 16 +-
src/gmp/commands/__tests__/license.js | 16 +-
src/gmp/commands/__tests__/nvt.js | 16 +-
src/gmp/commands/__tests__/nvtfamilies.js | 16 +-
src/gmp/commands/__tests__/policies.js | 16 +-
src/gmp/commands/__tests__/policy.js | 16 +-
src/gmp/commands/__tests__/report.js | 16 +-
src/gmp/commands/__tests__/reportconfig.js | 16 +-
src/gmp/commands/__tests__/reportconfigs.js | 16 +-
src/gmp/commands/__tests__/reports.js | 16 +-
src/gmp/commands/__tests__/resourcenames.js | 16 +-
src/gmp/commands/__tests__/result.js | 16 +-
src/gmp/commands/__tests__/results.js | 16 +-
src/gmp/commands/__tests__/scanconfig.js | 16 +-
src/gmp/commands/__tests__/tag.js | 16 +-
src/gmp/commands/__tests__/target.js | 16 +-
src/gmp/commands/__tests__/task.js | 16 +-
src/gmp/commands/__tests__/ticket.js | 16 +-
src/gmp/commands/__tests__/tickets.js | 16 +-
src/gmp/commands/__tests__/tlscertificates.js | 16 +-
src/gmp/commands/__tests__/user.js | 16 +-
src/gmp/commands/alerts.js | 16 +-
src/gmp/commands/audits.js | 16 +-
src/gmp/commands/auth.js | 16 +-
src/gmp/commands/certbund.js | 15 +-
src/gmp/commands/convert.js | 15 +-
src/gmp/commands/cpes.js | 16 +-
src/gmp/commands/credentials.js | 16 +-
src/gmp/commands/cves.js | 15 +-
src/gmp/commands/cvsscalculator.js | 16 +-
src/gmp/commands/dashboards.js | 16 +-
src/gmp/commands/dfncert.js | 15 +-
src/gmp/commands/entities.js | 16 +-
src/gmp/commands/entity.js | 15 +-
src/gmp/commands/feedstatus.js | 16 +-
src/gmp/commands/filters.js | 16 +-
src/gmp/commands/gmp.js | 16 +-
src/gmp/commands/groups.js | 16 +-
src/gmp/commands/hosts.js | 16 +-
src/gmp/commands/http.js | 15 +-
src/gmp/commands/infoentities.js | 15 +-
src/gmp/commands/infoentity.js | 16 +-
src/gmp/commands/license.js | 15 +-
src/gmp/commands/login.js | 16 +-
src/gmp/commands/notes.js | 16 +-
src/gmp/commands/nvt.js | 15 +-
src/gmp/commands/nvtfamilies.js | 21 +-
src/gmp/commands/os.js | 16 +-
src/gmp/commands/overrides.js | 16 +-
src/gmp/commands/performance.js | 16 +-
src/gmp/commands/permissions.js | 16 +-
src/gmp/commands/policies.js | 15 +-
src/gmp/commands/portlists.js | 16 +-
src/gmp/commands/reportconfigs.js | 16 +-
src/gmp/commands/reportformats.js | 16 +-
src/gmp/commands/reports.js | 16 +-
src/gmp/commands/resourcenames.js | 15 +-
src/gmp/commands/results.js | 16 +-
src/gmp/commands/roles.js | 15 +-
src/gmp/commands/scanconfigs.js | 15 +-
src/gmp/commands/scanners.js | 16 +-
src/gmp/commands/schedules.js | 16 +-
src/gmp/commands/tags.js | 16 +-
src/gmp/commands/targets.js | 16 +-
src/gmp/commands/tasks.js | 16 +-
src/gmp/commands/testing.js | 15 +-
src/gmp/commands/tickets.js | 16 +-
src/gmp/commands/tlscertificates.js | 16 +-
src/gmp/commands/trashcan.js | 16 +-
src/gmp/commands/users.js | 16 +-
src/gmp/commands/vulns.js | 16 +-
src/gmp/commands/wizard.js | 16 +-
src/gmp/gmp.js | 15 +-
src/gmp/gmpsettings.js | 15 +-
src/gmp/http/__tests__/rejection.js | 16 +-
src/gmp/http/__tests__/response.js | 16 +-
src/gmp/http/gmp.js | 16 +-
src/gmp/http/http.js | 16 +-
src/gmp/http/rejection.js | 16 +-
src/gmp/http/response.js | 16 +-
src/gmp/http/transform/__tests__/fastxml.js | 16 +-
src/gmp/http/transform/__tests__/xml.js | 16 +-
src/gmp/http/transform/default.js | 15 +-
src/gmp/http/transform/fastxml.js | 16 +-
src/gmp/http/transform/xml.js | 50 ++--
src/gmp/http/utils.js | 15 +-
src/gmp/index.js | 15 +-
src/gmp/locale/__tests__/date.js | 16 +-
src/gmp/locale/__tests__/detector.js | 16 +-
src/gmp/locale/__tests__/lang.js | 16 +-
src/gmp/locale/__tests__/languages.js | 15 +-
src/gmp/locale/date.js | 16 +-
src/gmp/locale/detector.js | 16 +-
src/gmp/locale/index.js | 16 +-
src/gmp/locale/lang.js | 15 +-
src/gmp/locale/languages.js | 19 +-
src/gmp/log.js | 15 +-
src/gmp/model.js | 16 +-
src/gmp/models/__tests__/alert.js | 15 +-
src/gmp/models/__tests__/asset.js | 15 +-
src/gmp/models/__tests__/audit.js | 16 +-
src/gmp/models/__tests__/certbund.js | 15 +-
src/gmp/models/__tests__/cpe.js | 15 +-
src/gmp/models/__tests__/credential.js | 15 +-
src/gmp/models/__tests__/cve.js | 15 +-
src/gmp/models/__tests__/dfncert.js | 15 +-
src/gmp/models/__tests__/event.js | 16 +-
src/gmp/models/__tests__/filter.js | 16 +-
src/gmp/models/__tests__/group.js | 16 +-
src/gmp/models/__tests__/host.js | 16 +-
src/gmp/models/__tests__/info.js | 15 +-
src/gmp/models/__tests__/license.js | 15 +-
src/gmp/models/__tests__/login.js | 16 +-
src/gmp/models/__tests__/note.js | 16 +-
src/gmp/models/__tests__/nvt.js | 15 +-
src/gmp/models/__tests__/os.js | 16 +-
src/gmp/models/__tests__/override.js | 16 +-
src/gmp/models/__tests__/permission.js | 16 +-
src/gmp/models/__tests__/policy.js | 15 +-
src/gmp/models/__tests__/portlist.js | 16 +-
src/gmp/models/__tests__/reportconfig.js | 15 +-
src/gmp/models/__tests__/reportformat.js | 15 +-
src/gmp/models/__tests__/resourcename.js | 15 +-
src/gmp/models/__tests__/result.js | 15 +-
src/gmp/models/__tests__/role.js | 15 +-
src/gmp/models/__tests__/scanconfig.js | 15 +-
src/gmp/models/__tests__/scanner.js | 15 +-
src/gmp/models/__tests__/schedule.js | 15 +-
src/gmp/models/__tests__/secinfo.js | 16 +-
src/gmp/models/__tests__/setting.js | 16 +-
src/gmp/models/__tests__/settings.js | 16 +-
src/gmp/models/__tests__/tag.js | 16 +-
src/gmp/models/__tests__/target.js | 16 +-
src/gmp/models/__tests__/task.js | 16 +-
src/gmp/models/__tests__/ticket.js | 16 +-
src/gmp/models/__tests__/tlscertificate.js | 16 +-
src/gmp/models/__tests__/user.js | 16 +-
src/gmp/models/__tests__/vulnerability.js | 15 +-
src/gmp/models/actionresult.js | 16 +-
src/gmp/models/alert.js | 15 +-
src/gmp/models/asset.js | 16 +-
src/gmp/models/audit.js | 16 +-
src/gmp/models/certbund.js | 16 +-
src/gmp/models/cpe.js | 15 +-
src/gmp/models/credential.js | 16 +-
src/gmp/models/cve.js | 15 +-
src/gmp/models/date.js | 16 +-
src/gmp/models/dfncert.js | 16 +-
src/gmp/models/event.js | 15 +-
src/gmp/models/filter.js | 15 +-
src/gmp/models/filter/__tests__/convert.js | 16 +-
src/gmp/models/filter/__tests__/filterterm.js | 16 +-
src/gmp/models/filter/__tests__/utils.js | 16 +-
src/gmp/models/filter/convert.js | 15 +-
src/gmp/models/filter/filterterm.js | 15 +-
src/gmp/models/filter/keywords.js | 15 +-
src/gmp/models/filter/utils.js | 15 +-
src/gmp/models/group.js | 16 +-
src/gmp/models/host.js | 15 +-
src/gmp/models/info.js | 15 +-
src/gmp/models/license.js | 15 +-
src/gmp/models/login.js | 16 +-
src/gmp/models/note.js | 16 +-
src/gmp/models/nvt.js | 15 +-
src/gmp/models/os.js | 16 +-
src/gmp/models/override.js | 16 +-
src/gmp/models/permission.js | 15 +-
src/gmp/models/policy.js | 15 +-
src/gmp/models/portlist.js | 16 +-
src/gmp/models/report.js | 16 +-
src/gmp/models/report/__tests__/app.js | 16 +-
src/gmp/models/report/__tests__/cve.js | 16 +-
src/gmp/models/report/__tests__/host.js | 16 +-
src/gmp/models/report/__tests__/os.js | 16 +-
src/gmp/models/report/__tests__/parser.js | 16 +-
src/gmp/models/report/__tests__/port.js | 16 +-
src/gmp/models/report/__tests__/task.js | 16 +-
.../models/report/__tests__/tlscertificate.js | 16 +-
src/gmp/models/report/app.js | 16 +-
src/gmp/models/report/cve.js | 16 +-
src/gmp/models/report/host.js | 15 +-
src/gmp/models/report/os.js | 16 +-
src/gmp/models/report/parser.js | 15 +-
src/gmp/models/report/port.js | 15 +-
src/gmp/models/report/report.js | 27 +--
src/gmp/models/report/task.js | 16 +-
src/gmp/models/report/tlscertificate.js | 15 +-
src/gmp/models/reportconfig.js | 16 +-
src/gmp/models/reportformat.js | 16 +-
src/gmp/models/resourcename.js | 16 +-
src/gmp/models/result.js | 15 +-
src/gmp/models/role.js | 16 +-
src/gmp/models/scanconfig.js | 15 +-
src/gmp/models/scanner.js | 16 +-
src/gmp/models/schedule.js | 16 +-
src/gmp/models/secinfo.js | 16 +-
src/gmp/models/setting.js | 16 +-
src/gmp/models/settings.js | 15 +-
src/gmp/models/tag.js | 16 +-
src/gmp/models/target.js | 16 +-
src/gmp/models/task.js | 16 +-
src/gmp/models/testing.js | 15 +-
src/gmp/models/ticket.js | 16 +-
src/gmp/models/tlscertificate.js | 15 +-
src/gmp/models/user.js | 15 +-
src/gmp/models/vulnerability.js | 16 +-
src/gmp/parser.js | 15 +-
src/gmp/parser/cvss.js | 15 +-
src/gmp/timezones.js | 15 +-
src/gmp/utils/__tests__/array.js | 16 +-
src/gmp/utils/__tests__/entitytype.js | 16 +-
src/gmp/utils/__tests__/event.js | 16 +-
src/gmp/utils/__tests__/id.js | 16 +-
src/gmp/utils/__tests__/identity.js | 16 +-
src/gmp/utils/__tests__/number.js | 16 +-
src/gmp/utils/__tests__/object.js | 16 +-
src/gmp/utils/__tests__/string.js | 16 +-
src/gmp/utils/array.js | 15 +-
src/gmp/utils/entitytype.js | 16 +-
src/gmp/utils/event.js | 18 +-
src/gmp/utils/id.js | 16 +-
src/gmp/utils/identity.js | 15 +-
src/gmp/utils/number.js | 16 +-
src/gmp/utils/object.js | 15 +-
src/gmp/utils/string.js | 16 +-
src/gmp/utils/trace.js | 15 +-
src/index.jsx | 16 +-
src/version.js | 15 +-
src/web/app.jsx | 16 +-
src/web/authorized.jsx | 16 +-
src/web/components/badge/__tests__/badge.jsx | 16 +-
src/web/components/badge/badge.jsx | 16 +-
.../bar/__tests__/compliancestatusbar.jsx | 16 +-
.../components/bar/__tests__/progressbar.jsx | 16 +-
.../components/bar/__tests__/severitybar.jsx | 16 +-
.../components/bar/__tests__/statusbar.jsx | 16 +-
src/web/components/bar/__tests__/toolbar.jsx | 16 +-
.../components/bar/compliancestatusbar.jsx | 16 +-
src/web/components/bar/progressbar.jsx | 16 +-
src/web/components/bar/severitybar.jsx | 16 +-
src/web/components/bar/statusbar.jsx | 16 +-
src/web/components/bar/toolbar.jsx | 16 +-
src/web/components/certinfo/certinfo.jsx | 16 +-
src/web/components/chart/axis.jsx | 16 +-
src/web/components/chart/bar.jsx | 16 +-
src/web/components/chart/bubble.jsx | 16 +-
src/web/components/chart/donut.jsx | 16 +-
src/web/components/chart/donut/arc2d.jsx | 16 +-
src/web/components/chart/donut/arc3d.jsx | 16 +-
src/web/components/chart/donut/labels.jsx | 16 +-
src/web/components/chart/donut/paths.jsx | 16 +-
src/web/components/chart/donut/pie.jsx | 16 +-
src/web/components/chart/donut/proptypes.jsx | 16 +-
src/web/components/chart/group.jsx | 16 +-
src/web/components/chart/label.jsx | 16 +-
src/web/components/chart/legend.jsx | 16 +-
src/web/components/chart/line.jsx | 16 +-
src/web/components/chart/schedule.jsx | 16 +-
src/web/components/chart/svg.jsx | 16 +-
src/web/components/chart/tooltip.jsx | 16 +-
src/web/components/chart/topology.jsx | 16 +-
.../components/chart/utils/__tests__/arc.jsx | 16 +-
.../components/chart/utils/__tests__/path.jsx | 16 +-
.../chart/utils/__tests__/update.jsx | 16 +-
src/web/components/chart/utils/arc.jsx | 16 +-
src/web/components/chart/utils/constants.jsx | 16 +-
src/web/components/chart/utils/path.jsx | 16 +-
src/web/components/chart/utils/update.jsx | 16 +-
src/web/components/chart/wordcloud.jsx | 16 +-
.../components/comment/__tests__/comment.jsx | 16 +-
src/web/components/comment/comment.jsx | 16 +-
.../components/dashboard/__tests__/utils.jsx | 16 +-
src/web/components/dashboard/controls.jsx | 16 +-
src/web/components/dashboard/dashboard.jsx | 16 +-
.../dashboard/display/createDisplay.jsx | 16 +-
.../display/created/createddisplay.jsx | 16 +-
.../display/created/createdtransform.jsx | 16 +-
.../dashboard/display/cvss/cvssdisplay.jsx | 16 +-
.../display/cvss/cvsstabledisplay.jsx | 16 +-
.../dashboard/display/cvss/cvsstransform.jsx | 16 +-
.../dashboard/display/datadisplay.jsx | 16 +-
.../dashboard/display/datadisplayicons.jsx | 16 +-
.../dashboard/display/datatable.jsx | 16 +-
.../dashboard/display/datatabledisplay.jsx | 16 +-
.../components/dashboard/display/display.jsx | 16 +-
.../dashboard/display/filterselection.jsx | 16 +-
.../display/severity/severityclassdisplay.jsx | 16 +-
.../severity/severityclasstabledisplay.jsx | 16 +-
.../severity/severityclasstransform.jsx | 16 +-
.../display/status/statusdisplay.jsx | 16 +-
.../components/dashboard/display/utils.jsx | 16 +-
.../dashboard/display/withFilterSelection.jsx | 16 +-
src/web/components/dashboard/registry.jsx | 16 +-
src/web/components/dashboard/utils.jsx | 16 +-
.../components/date/__tests__/datetime.jsx | 16 +-
src/web/components/date/datetime.jsx | 16 +-
.../dialog/__tests__/closebutton.jsx | 16 +-
.../dialog/__tests__/confirmationdialog.jsx | 16 +-
.../components/dialog/__tests__/dialog.jsx | 16 +-
src/web/components/dialog/__tests__/error.jsx | 16 +-
.../dialog/__tests__/multistepfooter.jsx | 16 +-
.../dialog/__tests__/twobuttonfooter.jsx | 16 +-
src/web/components/dialog/closebutton.jsx | 16 +-
src/web/components/dialog/composercontent.jsx | 16 +-
.../components/dialog/confirmationdialog.jsx | 16 +-
src/web/components/dialog/container.jsx | 16 +-
src/web/components/dialog/content.jsx | 16 +-
src/web/components/dialog/dialog.jsx | 16 +-
.../dialog/dialoginlinenotification.jsx | 16 +-
src/web/components/dialog/error.jsx | 16 +-
src/web/components/dialog/footer.jsx | 16 +-
src/web/components/dialog/multistepfooter.jsx | 16 +-
src/web/components/dialog/savedialog.jsx | 16 +-
src/web/components/dialog/twobuttonfooter.jsx | 16 +-
.../error/__tests__/errorboundary.jsx | 16 +-
.../error/__tests__/errorcontainer.jsx | 16 +-
.../error/__tests__/errormessage.jsx | 16 +-
.../components/error/__tests__/errorpanel.jsx | 16 +-
src/web/components/error/errorboundary.jsx | 16 +-
src/web/components/error/errorcontainer.jsx | 16 +-
src/web/components/error/errormessage.jsx | 16 +-
src/web/components/error/errorpanel.jsx | 16 +-
src/web/components/error/message.jsx | 16 +-
src/web/components/error/messagecontainer.jsx | 16 +-
src/web/components/folding/folding.jsx | 16 +-
.../footnote/__tests__/footnote.jsx | 16 +-
src/web/components/footnote/footnote.jsx | 16 +-
src/web/components/form/DatePicker.jsx | 16 +-
src/web/components/form/__tests__/button.jsx | 16 +-
.../components/form/__tests__/checkbox.jsx | 16 +-
.../components/form/__tests__/download.jsx | 16 +-
.../components/form/__tests__/filefield.jsx | 16 +-
.../components/form/__tests__/formgroup.jsx | 16 +-
.../components/form/__tests__/multiselect.jsx | 16 +-
.../components/form/__tests__/numberfield.jsx | 16 +-
.../form/__tests__/passwordfield.jsx | 16 +-
src/web/components/form/__tests__/radio.jsx | 16 +-
src/web/components/form/__tests__/select.jsx | 16 +-
src/web/components/form/__tests__/spinner.jsx | 16 +-
.../components/form/__tests__/textarea.jsx | 16 +-
.../components/form/__tests__/textfield.jsx | 16 +-
.../form/__tests__/timezoneselect.jsx | 16 +-
.../form/__tests__/togglebutton.jsx | 16 +-
.../form/__tests__/useFormValidation.jsx | 19 +-
.../form/__tests__/useFormValues.jsx | 16 +-
.../form/__tests__/useValueChange.jsx | 1 +
.../form/__tests__/withClickHandler.jsx | 16 +-
.../form/__tests__/withDownload.jsx | 16 +-
.../components/form/__tests__/yesnoradio.jsx | 16 +-
src/web/components/form/button.jsx | 16 +-
src/web/components/form/checkbox.jsx | 16 +-
src/web/components/form/download.jsx | 16 +-
src/web/components/form/filefield.jsx | 16 +-
src/web/components/form/formgroup.jsx | 16 +-
src/web/components/form/multiselect.jsx | 16 +-
src/web/components/form/numberfield.jsx | 16 +-
src/web/components/form/passwordfield.jsx | 16 +-
src/web/components/form/radio.jsx | 16 +-
src/web/components/form/select.jsx | 16 +-
src/web/components/form/spinner.jsx | 16 +-
src/web/components/form/textarea.jsx | 16 +-
src/web/components/form/textfield.jsx | 16 +-
src/web/components/form/timezoneselect.jsx | 16 +-
src/web/components/form/togglebutton.jsx | 16 +-
src/web/components/form/useFormValidation.jsx | 16 +-
src/web/components/form/useFormValues.jsx | 16 +-
src/web/components/form/withClickHandler.jsx | 16 +-
src/web/components/form/withDownload.jsx | 16 +-
src/web/components/form/yesnoradio.jsx | 16 +-
.../icon/__tests__/addtoassetsicon.jsx | 16 +-
.../components/icon/__tests__/alerticon.jsx | 16 +-
.../icon/__tests__/alterableicon.jsx | 16 +-
.../components/icon/__tests__/arrowicon.jsx | 16 +-
.../components/icon/__tests__/auditicon.jsx | 16 +-
.../icon/__tests__/calendaricon.jsx | 16 +-
.../icon/__tests__/certbundadvicon.jsx | 16 +-
.../components/icon/__tests__/cloneicon.jsx | 16 +-
.../components/icon/__tests__/cpelogoicon.jsx | 16 +-
.../icon/__tests__/credentialicon.jsx | 16 +-
src/web/components/icon/__tests__/cveicon.jsx | 16 +-
.../components/icon/__tests__/cvssicon.jsx | 16 +-
.../icon/__tests__/dashboardicon.jsx | 16 +-
.../components/icon/__tests__/deleteicon.jsx | 16 +-
.../components/icon/__tests__/deltaicon.jsx | 16 +-
.../icon/__tests__/deltasecondicon.jsx | 16 +-
.../icon/__tests__/dfncertadvicon.jsx | 16 +-
.../components/icon/__tests__/disableicon.jsx | 16 +-
.../icon/__tests__/downloadcsvicon.jsx | 16 +-
.../icon/__tests__/downloaddebicon.jsx | 16 +-
.../icon/__tests__/downloadexeicon.jsx | 16 +-
.../icon/__tests__/downloadicon.jsx | 16 +-
.../icon/__tests__/downloadkeyicon.jsx | 16 +-
.../icon/__tests__/downloadrpmicon.jsx | 16 +-
.../icon/__tests__/downloadsvgicon.jsx | 16 +-
.../components/icon/__tests__/editicon.jsx | 16 +-
.../components/icon/__tests__/enableicon.jsx | 16 +-
.../components/icon/__tests__/exporticon.jsx | 16 +-
.../components/icon/__tests__/feedicon.jsx | 16 +-
.../components/icon/__tests__/filtericon.jsx | 16 +-
.../components/icon/__tests__/firsticon.jsx | 16 +-
.../components/icon/__tests__/foldicon.jsx | 16 +-
.../components/icon/__tests__/groupicon.jsx | 16 +-
.../components/icon/__tests__/helpicon.jsx | 16 +-
.../components/icon/__tests__/hosticon.jsx | 16 +-
.../components/icon/__tests__/importicon.jsx | 16 +-
.../components/icon/__tests__/infoicon.jsx | 16 +-
src/web/components/icon/__tests__/keyicon.jsx | 16 +-
.../components/icon/__tests__/lasticon.jsx | 16 +-
.../components/icon/__tests__/ldapicon.jsx | 16 +-
.../components/icon/__tests__/legendicon.jsx | 16 +-
.../components/icon/__tests__/licenseicon.jsx | 16 +-
.../components/icon/__tests__/listsvgicon.jsx | 16 +-
.../components/icon/__tests__/logouticon.jsx | 16 +-
.../icon/__tests__/mysettingsicon.jsx | 16 +-
src/web/components/icon/__tests__/newicon.jsx | 16 +-
.../components/icon/__tests__/newnoteicon.jsx | 16 +-
.../icon/__tests__/newoverrideicon.jsx | 16 +-
.../components/icon/__tests__/nexticon.jsx | 16 +-
.../components/icon/__tests__/noteicon.jsx | 16 +-
src/web/components/icon/__tests__/nvticon.jsx | 16 +-
.../components/icon/__tests__/ossvgicon.jsx | 16 +-
.../icon/__tests__/overrideicon.jsx | 16 +-
.../icon/__tests__/performanceicon.jsx | 16 +-
.../icon/__tests__/permissionicon.jsx | 16 +-
.../components/icon/__tests__/policyicon.jsx | 16 +-
.../icon/__tests__/portlisticon.jsx | 16 +-
.../icon/__tests__/previousicon.jsx | 16 +-
.../icon/__tests__/provideviewicon.jsx | 16 +-
.../components/icon/__tests__/radiusicon.jsx | 16 +-
.../components/icon/__tests__/refreshicon.jsx | 16 +-
.../icon/__tests__/removefromassetsicon.jsx | 16 +-
.../icon/__tests__/reportformaticon.jsx | 16 +-
.../components/icon/__tests__/reporticon.jsx | 16 +-
.../components/icon/__tests__/reseticon.jsx | 16 +-
.../components/icon/__tests__/restoreicon.jsx | 16 +-
.../components/icon/__tests__/resumeicon.jsx | 16 +-
.../components/icon/__tests__/roleicon.jsx | 16 +-
.../icon/__tests__/scanconfigicon.jsx | 16 +-
.../components/icon/__tests__/scannericon.jsx | 16 +-
.../icon/__tests__/scheduleicon.jsx | 16 +-
.../components/icon/__tests__/sensoricon.jsx | 16 +-
.../icon/__tests__/solutiontypeicon.jsx | 16 +-
.../icon/__tests__/solutiontypesvgicon.jsx | 16 +-
.../components/icon/__tests__/starticon.jsx | 16 +-
.../icon/__tests__/stmitigateicon.jsx | 16 +-
.../icon/__tests__/stnonavailableicon.jsx | 16 +-
.../components/icon/__tests__/stopicon.jsx | 16 +-
.../icon/__tests__/stunknownicon.jsx | 16 +-
.../icon/__tests__/stvendorfixicon.jsx | 16 +-
.../icon/__tests__/stwillnotfixicon.jsx | 16 +-
.../icon/__tests__/stworkaroundicon.jsx | 16 +-
src/web/components/icon/__tests__/svgicon.jsx | 16 +-
src/web/components/icon/__tests__/tagicon.jsx | 16 +-
.../components/icon/__tests__/tagssvgicon.jsx | 16 +-
.../components/icon/__tests__/taskicon.jsx | 16 +-
.../icon/__tests__/tlscertificateicon.jsx | 16 +-
.../icon/__tests__/toggle3dicon.jsx | 16 +-
.../icon/__tests__/trashcanicon.jsx | 16 +-
.../icon/__tests__/trashdeleteicon.jsx | 16 +-
.../components/icon/__tests__/trashicon.jsx | 16 +-
.../icon/__tests__/trenddownicon.jsx | 16 +-
.../icon/__tests__/trendlessicon.jsx | 16 +-
.../icon/__tests__/trendmoreicon.jsx | 16 +-
.../icon/__tests__/trendnochangeicon.jsx | 16 +-
.../components/icon/__tests__/trendupicon.jsx | 16 +-
.../components/icon/__tests__/unfoldicon.jsx | 16 +-
.../components/icon/__tests__/uploadicon.jsx | 16 +-
.../components/icon/__tests__/usericon.jsx | 16 +-
.../components/icon/__tests__/verifyicon.jsx | 16 +-
.../icon/__tests__/verifynoicon.jsx | 16 +-
.../icon/__tests__/viewothericon.jsx | 16 +-
.../icon/__tests__/vulnerabilityicon.jsx | 16 +-
.../components/icon/__tests__/wizardicon.jsx | 16 +-
src/web/components/icon/addtoassetsicon.jsx | 16 +-
src/web/components/icon/alerticon.jsx | 16 +-
src/web/components/icon/alterableicon.jsx | 16 +-
src/web/components/icon/arrowicon.jsx | 16 +-
src/web/components/icon/auditicon.jsx | 16 +-
src/web/components/icon/calendaricon.jsx | 16 +-
src/web/components/icon/certbundadvicon.jsx | 16 +-
src/web/components/icon/cloneicon.jsx | 16 +-
src/web/components/icon/cpeicon.jsx | 16 +-
src/web/components/icon/cpelogoicon.jsx | 16 +-
src/web/components/icon/credentialicon.jsx | 16 +-
src/web/components/icon/cveicon.jsx | 16 +-
src/web/components/icon/cvssicon.jsx | 16 +-
src/web/components/icon/dashboardicon.jsx | 16 +-
src/web/components/icon/deleteicon.jsx | 16 +-
.../components/icon/deltadifferenceicon.jsx | 16 +-
src/web/components/icon/deltaicon.jsx | 16 +-
src/web/components/icon/deltasecondicon.jsx | 16 +-
src/web/components/icon/detailsicon.jsx | 16 +-
src/web/components/icon/dfncertadvicon.jsx | 16 +-
src/web/components/icon/disableicon.jsx | 16 +-
src/web/components/icon/downloadcsvicon.jsx | 16 +-
src/web/components/icon/downloaddebicon.jsx | 16 +-
src/web/components/icon/downloadexeicon.jsx | 16 +-
src/web/components/icon/downloadicon.jsx | 16 +-
src/web/components/icon/downloadkeyicon.jsx | 16 +-
src/web/components/icon/downloadrpmicon.jsx | 16 +-
src/web/components/icon/downloadsvgicon.jsx | 16 +-
src/web/components/icon/editicon.jsx | 16 +-
src/web/components/icon/enableicon.jsx | 16 +-
src/web/components/icon/exporticon.jsx | 16 +-
src/web/components/icon/feedicon.jsx | 16 +-
src/web/components/icon/filtericon.jsx | 16 +-
src/web/components/icon/firsticon.jsx | 16 +-
src/web/components/icon/foldicon.jsx | 16 +-
src/web/components/icon/foldstateicon.jsx | 16 +-
src/web/components/icon/groupicon.jsx | 16 +-
src/web/components/icon/helpicon.jsx | 16 +-
src/web/components/icon/hosticon.jsx | 16 +-
src/web/components/icon/icon.jsx | 16 +-
src/web/components/icon/importicon.jsx | 16 +-
src/web/components/icon/infoicon.jsx | 16 +-
src/web/components/icon/keyicon.jsx | 16 +-
src/web/components/icon/lasticon.jsx | 16 +-
src/web/components/icon/ldapicon.jsx | 16 +-
src/web/components/icon/legendicon.jsx | 16 +-
src/web/components/icon/licenseicon.jsx | 16 +-
src/web/components/icon/listicon.jsx | 16 +-
src/web/components/icon/listsvgicon.jsx | 16 +-
src/web/components/icon/logouticon.jsx | 16 +-
src/web/components/icon/manualicon.jsx | 16 +-
src/web/components/icon/mysettingsicon.jsx | 16 +-
src/web/components/icon/newicon.jsx | 16 +-
src/web/components/icon/newnoteicon.jsx | 16 +-
src/web/components/icon/newoverrideicon.jsx | 16 +-
src/web/components/icon/newticketicon.jsx | 16 +-
src/web/components/icon/nexticon.jsx | 16 +-
src/web/components/icon/noteicon.jsx | 16 +-
src/web/components/icon/nvticon.jsx | 16 +-
src/web/components/icon/osicon.jsx | 16 +-
src/web/components/icon/ossvgicon.jsx | 16 +-
src/web/components/icon/overrideicon.jsx | 16 +-
src/web/components/icon/performanceicon.jsx | 16 +-
src/web/components/icon/permissionicon.jsx | 16 +-
src/web/components/icon/policyicon.jsx | 16 +-
src/web/components/icon/portlisticon.jsx | 16 +-
src/web/components/icon/previousicon.jsx | 16 +-
src/web/components/icon/provideviewicon.jsx | 16 +-
src/web/components/icon/radiusicon.jsx | 16 +-
src/web/components/icon/refreshicon.jsx | 16 +-
.../components/icon/removefromassetsicon.jsx | 16 +-
src/web/components/icon/reportconfigicon.jsx | 16 +-
src/web/components/icon/reportformaticon.jsx | 16 +-
src/web/components/icon/reporticon.jsx | 16 +-
src/web/components/icon/reseticon.jsx | 16 +-
src/web/components/icon/restoreicon.jsx | 16 +-
src/web/components/icon/resulticon.jsx | 16 +-
src/web/components/icon/resumeicon.jsx | 16 +-
src/web/components/icon/roleicon.jsx | 16 +-
src/web/components/icon/scanconfigicon.jsx | 16 +-
src/web/components/icon/scannericon.jsx | 16 +-
src/web/components/icon/scheduleicon.jsx | 16 +-
src/web/components/icon/sensoricon.jsx | 16 +-
src/web/components/icon/solutiontypeicon.jsx | 16 +-
.../components/icon/solutiontypesvgicon.jsx | 16 +-
src/web/components/icon/starticon.jsx | 16 +-
src/web/components/icon/stmitigateicon.jsx | 16 +-
.../components/icon/stnonavailableicon.jsx | 16 +-
src/web/components/icon/stopicon.jsx | 16 +-
src/web/components/icon/stunknownicon.jsx | 16 +-
src/web/components/icon/stvendorfixicon.jsx | 16 +-
src/web/components/icon/stwillnotfixicon.jsx | 16 +-
src/web/components/icon/stworkaroundicon.jsx | 16 +-
src/web/components/icon/svgicon.jsx | 16 +-
src/web/components/icon/tagicon.jsx | 16 +-
src/web/components/icon/tagsicon.jsx | 16 +-
src/web/components/icon/tagssvgicon.jsx | 16 +-
src/web/components/icon/targeticon.jsx | 16 +-
src/web/components/icon/taskicon.jsx | 16 +-
src/web/components/icon/testing.jsx | 16 +-
src/web/components/icon/ticketicon.jsx | 16 +-
.../components/icon/tlscertificateicon.jsx | 16 +-
src/web/components/icon/toggle3dicon.jsx | 16 +-
src/web/components/icon/trashcanicon.jsx | 16 +-
src/web/components/icon/trashdeleteicon.jsx | 16 +-
src/web/components/icon/trashicon.jsx | 16 +-
src/web/components/icon/trenddownicon.jsx | 16 +-
src/web/components/icon/trendlessicon.jsx | 16 +-
src/web/components/icon/trendmoreicon.jsx | 16 +-
src/web/components/icon/trendnochangeicon.jsx | 16 +-
src/web/components/icon/trendupicon.jsx | 16 +-
src/web/components/icon/unfoldicon.jsx | 16 +-
src/web/components/icon/uploadicon.jsx | 16 +-
src/web/components/icon/usericon.jsx | 16 +-
src/web/components/icon/verifyicon.jsx | 16 +-
src/web/components/icon/verifynoicon.jsx | 16 +-
src/web/components/icon/viewothericon.jsx | 16 +-
src/web/components/icon/vulnerabilityicon.jsx | 16 +-
src/web/components/icon/withIconSize.jsx | 16 +-
src/web/components/icon/withSvgIcon.jsx | 16 +-
src/web/components/icon/wizardicon.jsx | 16 +-
.../components/img/__tests__/greenbone.jsx | 16 +-
.../img/__tests__/greenboneloginlogo.jsx | 16 +-
src/web/components/img/__tests__/img.jsx | 16 +-
src/web/components/img/__tests__/product.jsx | 16 +-
src/web/components/img/greenbone.jsx | 16 +-
src/web/components/img/greenboneloginlogo.jsx | 16 +-
src/web/components/img/img.jsx | 16 +-
src/web/components/img/product.jsx | 16 +-
.../label/__tests__/severityclass.jsx | 16 +-
src/web/components/label/severityclass.jsx | 16 +-
.../components/layout/__tests__/Layout.jsx | 16 +-
.../layout/__tests__/horizontalsep.jsx | 16 +-
.../components/layout/__tests__/pagetitle.jsx | 16 +-
.../layout/__tests__/withLayout.jsx | 16 +-
src/web/components/layout/autosize.jsx | 16 +-
src/web/components/layout/divider.jsx | 16 +-
src/web/components/layout/globalstyles.jsx | 16 +-
src/web/components/layout/horizontalsep.jsx | 16 +-
src/web/components/layout/icondivider.jsx | 16 +-
src/web/components/layout/layout.jsx | 16 +-
src/web/components/layout/pagetitle.jsx | 16 +-
src/web/components/layout/withLayout.jsx | 16 +-
.../components/link/__tests__/blanklink.jsx | 16 +-
.../components/link/__tests__/certlink.jsx | 16 +-
src/web/components/link/__tests__/cvelink.jsx | 16 +-
.../components/link/__tests__/detailslink.jsx | 16 +-
.../link/__tests__/externallink.jsx | 16 +-
.../components/link/__tests__/innerlink.jsx | 16 +-
src/web/components/link/__tests__/link.jsx | 16 +-
.../components/link/__tests__/manuallink.jsx | 16 +-
.../link/__tests__/protocoldoclink.jsx | 16 +-
src/web/components/link/__tests__/target.jsx | 16 +-
src/web/components/link/blanklink.jsx | 16 +-
src/web/components/link/certlink.jsx | 16 +-
src/web/components/link/cvelink.jsx | 16 +-
src/web/components/link/detailslink.jsx | 16 +-
src/web/components/link/externallink.jsx | 16 +-
src/web/components/link/innerlink.jsx | 16 +-
src/web/components/link/link.jsx | 16 +-
src/web/components/link/manuallink.jsx | 16 +-
src/web/components/link/protocoldoclink.jsx | 16 +-
src/web/components/link/target.jsx | 16 +-
.../components/loading/__tests__/loading.jsx | 16 +-
.../components/loading/__tests__/reload.jsx | 16 +-
src/web/components/loading/loading.jsx | 16 +-
src/web/components/loading/reload.jsx | 16 +-
.../components/menu/__tests__/usermenu.jsx | 16 +-
src/web/components/menu/iconmenu.jsx | 16 +-
src/web/components/menu/menuentry.jsx | 16 +-
src/web/components/menu/menuhelpentry.jsx | 16 +-
src/web/components/menu/menusection.jsx | 16 +-
src/web/components/menu/usermenu.jsx | 16 +-
.../__tests__/licensenotification.jsx | 16 +-
.../notification/dialognotification.jsx | 16 +-
.../notification/licensenotification.jsx | 16 +-
.../notification/withDialogNotifiaction.jsx | 16 +-
.../components/observer/localeobserver.jsx | 16 +-
.../components/observer/locationobserver.jsx | 16 +-
.../components/observer/sessionobserver.jsx | 16 +-
src/web/components/pagination/pagination.jsx | 16 +-
src/web/components/panel/__tests__/button.jsx | 16 +-
.../components/panel/__tests__/infopanel.jsx | 16 +-
src/web/components/panel/button.jsx | 16 +-
src/web/components/panel/infopanel.jsx | 16 +-
.../components/portal/__tests__/portal.jsx | 16 +-
src/web/components/portal/portal.jsx | 16 +-
.../__tests__/applyoverridesgroup.jsx | 16 +-
.../__tests__/booleanfiltergroup.jsx | 16 +-
.../__tests__/createnamedfiltergroup.jsx | 16 +-
.../__tests__/filtersearchgroup.jsx | 16 +-
.../__tests__/filterstringgroup.jsx | 16 +-
.../__tests__/firstresultgroup.jsx | 16 +-
.../powerfilter/__tests__/minqodgroup.jsx | 16 +-
.../__tests__/relationselector.jsx | 16 +-
.../__tests__/resultsperpagegroup.jsx | 16 +-
.../__tests__/severitylevelsgroup.jsx | 16 +-
.../__tests__/severityvaluesgroup.jsx | 16 +-
.../__tests__/solutiontypegroup.jsx | 16 +-
.../powerfilter/__tests__/sortbygroup.jsx | 16 +-
.../powerfilter/__tests__/tasktrendgroup.jsx | 16 +-
.../__tests__/ticketstatusgroup.jsx | 16 +-
.../powerfilter/applyoverridesgroup.jsx | 16 +-
.../powerfilter/booleanfiltergroup.jsx | 16 +-
.../powerfilter/createnamedfiltergroup.jsx | 16 +-
src/web/components/powerfilter/dialog.jsx | 16 +-
.../powerfilter/dialogproptypes.jsx | 16 +-
.../components/powerfilter/filterdialog.jsx | 16 +-
.../powerfilter/filtersearchgroup.jsx | 16 +-
.../powerfilter/filterstringgroup.jsx | 16 +-
.../powerfilter/firstresultgroup.jsx | 16 +-
.../components/powerfilter/minqodgroup.jsx | 16 +-
.../components/powerfilter/powerfilter.jsx | 16 +-
.../powerfilter/relationselector.jsx | 16 +-
.../powerfilter/resultsperpagegroup.jsx | 16 +-
.../powerfilter/severitylevelsgroup.jsx | 16 +-
.../powerfilter/severityvaluesgroup.jsx | 16 +-
.../powerfilter/solutiontypegroup.jsx | 16 +-
.../components/powerfilter/sortbygroup.jsx | 16 +-
.../components/powerfilter/tasktrendgroup.jsx | 16 +-
.../powerfilter/ticketstatusgroup.jsx | 16 +-
.../powerfilter/withFilterDialog.jsx | 16 +-
.../provider/capabilitiesprovider.jsx | 16 +-
src/web/components/provider/gmpprovider.jsx | 16 +-
.../components/provider/iconsizeprovider.jsx | 16 +-
.../components/provider/licenseprovider.jsx | 16 +-
.../provider/subscriptionprovider.jsx | 16 +-
src/web/components/qod/__tests__/qod.jsx | 16 +-
src/web/components/qod/qod.jsx | 16 +-
src/web/components/section/header.jsx | 16 +-
src/web/components/section/section.jsx | 16 +-
.../components/sessionTimer/SessionTimer.jsx | 5 +
.../snackbar/__tests__/snackbar.jsx | 16 +-
src/web/components/snackbar/snackbar.jsx | 16 +-
src/web/components/sortable/emptyrow.jsx | 16 +-
src/web/components/sortable/grid.jsx | 16 +-
src/web/components/sortable/item.jsx | 16 +-
src/web/components/sortable/resizer.jsx | 16 +-
src/web/components/sortable/row.jsx | 16 +-
src/web/components/sortby/sortby.jsx | 16 +-
.../components/structure/__tests__/footer.jsx | 16 +-
.../components/structure/__tests__/header.jsx | 16 +-
.../components/structure/__tests__/main.jsx | 16 +-
src/web/components/structure/footer.jsx | 16 +-
src/web/components/structure/header.jsx | 16 +-
src/web/components/structure/main.jsx | 16 +-
src/web/components/tab/tab.jsx | 16 +-
src/web/components/tab/tablayout.jsx | 16 +-
src/web/components/tab/tablist.jsx | 16 +-
src/web/components/tab/tabpanel.jsx | 16 +-
src/web/components/tab/tabpanels.jsx | 16 +-
src/web/components/tab/tabs.jsx | 16 +-
.../table/__tests__/detailstable.jsx | 16 +-
src/web/components/table/body.jsx | 16 +-
src/web/components/table/data.jsx | 16 +-
src/web/components/table/detailstable.jsx | 16 +-
src/web/components/table/footer.jsx | 16 +-
src/web/components/table/head.jsx | 16 +-
src/web/components/table/header.jsx | 16 +-
src/web/components/table/infotable.jsx | 16 +-
src/web/components/table/row.jsx | 16 +-
src/web/components/table/simpletable.jsx | 16 +-
src/web/components/table/stripedtable.jsx | 16 +-
src/web/components/table/table.jsx | 16 +-
src/web/entities/__tests__/filterprovider.jsx | 16 +-
src/web/entities/__tests__/tagsdialog.jsx | 16 +-
src/web/entities/actions.jsx | 16 +-
src/web/entities/container.jsx | 16 +-
src/web/entities/entitynametabledata.jsx | 16 +-
src/web/entities/filterprovider.jsx | 16 +-
src/web/entities/footer.jsx | 16 +-
src/web/entities/header.jsx | 16 +-
src/web/entities/page.jsx | 16 +-
src/web/entities/row.jsx | 16 +-
src/web/entities/selection.jsx | 16 +-
src/web/entities/table.jsx | 16 +-
src/web/entities/tagsdialog.jsx | 16 +-
src/web/entities/withEntitiesActions.jsx | 16 +-
src/web/entities/withEntitiesContainer.jsx | 16 +-
src/web/entities/withRowDetails.jsx | 16 +-
src/web/entity/__tests__/block.jsx | 16 +-
src/web/entity/__tests__/box.jsx | 16 +-
src/web/entity/__tests__/info.jsx | 16 +-
src/web/entity/__tests__/link.jsx | 16 +-
src/web/entity/__tests__/note.jsx | 16 +-
src/web/entity/__tests__/override.jsx | 16 +-
src/web/entity/block.jsx | 16 +-
src/web/entity/box.jsx | 16 +-
src/web/entity/component.jsx | 16 +-
src/web/entity/container.jsx | 16 +-
src/web/entity/icon/__tests__/cloneicon.jsx | 16 +-
src/web/entity/icon/__tests__/createicon.jsx | 16 +-
src/web/entity/icon/__tests__/deleteicon.jsx | 16 +-
src/web/entity/icon/__tests__/editicon.jsx | 16 +-
.../entity/icon/__tests__/observericon.jsx | 16 +-
src/web/entity/icon/__tests__/trashicon.jsx | 16 +-
src/web/entity/icon/__tests__/verifyicon.jsx | 16 +-
src/web/entity/icon/cloneicon.jsx | 16 +-
src/web/entity/icon/createicon.jsx | 16 +-
src/web/entity/icon/deleteicon.jsx | 16 +-
src/web/entity/icon/editicon.jsx | 16 +-
src/web/entity/icon/observericon.jsx | 16 +-
src/web/entity/icon/trashicon.jsx | 16 +-
src/web/entity/icon/verifyicon.jsx | 16 +-
src/web/entity/info.jsx | 16 +-
src/web/entity/link.jsx | 16 +-
src/web/entity/note.jsx | 16 +-
src/web/entity/override.jsx | 16 +-
src/web/entity/page.jsx | 16 +-
src/web/entity/permissions.jsx | 16 +-
src/web/entity/tab.jsx | 16 +-
src/web/entity/tags.jsx | 16 +-
src/web/entity/withEntityContainer.jsx | 16 +-
src/web/hooks/__tests__/useTranslation.jsx | 1 +
.../pages/alerts/__tests__/detailspage.jsx | 16 +-
src/web/pages/alerts/__tests__/listpage.jsx | 16 +-
.../pages/alerts/alembavfiremethodpart.jsx | 16 +-
src/web/pages/alerts/component.jsx | 16 +-
src/web/pages/alerts/condition.jsx | 16 +-
.../pages/alerts/contentcomposerdialog.jsx | 16 +-
src/web/pages/alerts/details.jsx | 16 +-
src/web/pages/alerts/detailspage.jsx | 16 +-
src/web/pages/alerts/dialog.jsx | 16 +-
src/web/pages/alerts/emailmethodpart.jsx | 16 +-
src/web/pages/alerts/event.jsx | 16 +-
.../filtercountchangedconditionpart.jsx | 16 +-
.../alerts/filtercountleastconditionpart.jsx | 16 +-
src/web/pages/alerts/httpmethodpart.jsx | 16 +-
src/web/pages/alerts/listpage.jsx | 16 +-
src/web/pages/alerts/method.jsx | 16 +-
src/web/pages/alerts/row.jsx | 16 +-
src/web/pages/alerts/scpmethodpart.jsx | 16 +-
src/web/pages/alerts/secinfoeventpart.jsx | 16 +-
src/web/pages/alerts/sendmethodpart.jsx | 16 +-
.../alerts/severitychangedconditionpart.jsx | 16 +-
.../alerts/severityleastconditionpart.jsx | 16 +-
src/web/pages/alerts/smbmethodpart.jsx | 16 +-
src/web/pages/alerts/snmpmethodpart.jsx | 16 +-
src/web/pages/alerts/sourcefiremethodpart.jsx | 16 +-
src/web/pages/alerts/starttaskmethodpart.jsx | 16 +-
src/web/pages/alerts/table.jsx | 16 +-
src/web/pages/alerts/taskeventpart.jsx | 16 +-
src/web/pages/alerts/ticketeventpart.jsx | 16 +-
.../pages/alerts/tippingpointmethodpart.jsx | 16 +-
src/web/pages/alerts/verinicemethodpart.jsx | 16 +-
src/web/pages/audits/__tests__/actions.jsx | 16 +-
src/web/pages/audits/__tests__/details.jsx | 16 +-
.../pages/audits/__tests__/detailspage.jsx | 16 +-
src/web/pages/audits/__tests__/listpage.jsx | 16 +-
src/web/pages/audits/__tests__/row.jsx | 16 +-
src/web/pages/audits/__tests__/table.jsx | 16 +-
src/web/pages/audits/actions.jsx | 16 +-
src/web/pages/audits/component.jsx | 16 +-
src/web/pages/audits/details.jsx | 16 +-
src/web/pages/audits/detailspage.jsx | 16 +-
src/web/pages/audits/dialog.jsx | 16 +-
src/web/pages/audits/listpage.jsx | 16 +-
src/web/pages/audits/row.jsx | 16 +-
src/web/pages/audits/table.jsx | 16 +-
.../certbund/dashboard/createddisplay.jsx | 16 +-
.../pages/certbund/dashboard/cvssdisplay.jsx | 16 +-
src/web/pages/certbund/dashboard/index.jsx | 16 +-
src/web/pages/certbund/dashboard/loaders.jsx | 16 +-
.../dashboard/severityclassdisplay.jsx | 16 +-
src/web/pages/certbund/details.jsx | 16 +-
src/web/pages/certbund/detailspage.jsx | 16 +-
src/web/pages/certbund/filterdialog.jsx | 16 +-
src/web/pages/certbund/listpage.jsx | 16 +-
src/web/pages/certbund/row.jsx | 16 +-
src/web/pages/certbund/table.jsx | 16 +-
src/web/pages/cpes/__tests__/detailspage.jsx | 16 +-
src/web/pages/cpes/__tests__/listpage.jsx | 16 +-
.../pages/cpes/dashboard/createddisplay.jsx | 16 +-
src/web/pages/cpes/dashboard/cvssdisplay.jsx | 16 +-
src/web/pages/cpes/dashboard/index.jsx | 16 +-
src/web/pages/cpes/dashboard/loaders.jsx | 16 +-
.../cpes/dashboard/severityclassdisplay.jsx | 16 +-
src/web/pages/cpes/details.jsx | 16 +-
src/web/pages/cpes/detailspage.jsx | 16 +-
src/web/pages/cpes/filterdialog.jsx | 16 +-
src/web/pages/cpes/listpage.jsx | 16 +-
src/web/pages/cpes/row.jsx | 16 +-
src/web/pages/cpes/table.jsx | 16 +-
.../credentials/__tests__/detailspage.jsx | 16 +-
.../pages/credentials/__tests__/dialog.jsx | 16 +-
.../pages/credentials/__tests__/listpage.jsx | 16 +-
src/web/pages/credentials/component.jsx | 16 +-
src/web/pages/credentials/details.jsx | 16 +-
src/web/pages/credentials/detailspage.jsx | 16 +-
src/web/pages/credentials/dialog.jsx | 16 +-
src/web/pages/credentials/downloadicon.jsx | 16 +-
src/web/pages/credentials/listpage.jsx | 16 +-
src/web/pages/credentials/row.jsx | 16 +-
src/web/pages/credentials/table.jsx | 16 +-
src/web/pages/cves/__tests__/detailspage.jsx | 16 +-
src/web/pages/cves/__tests__/listpage.jsx | 16 +-
src/web/pages/cves/__tests__/row.jsx | 16 +-
src/web/pages/cves/__tests__/table.jsx | 16 +-
.../pages/cves/dashboard/createddisplay.jsx | 16 +-
src/web/pages/cves/dashboard/cvssdisplay.jsx | 16 +-
src/web/pages/cves/dashboard/index.jsx | 16 +-
src/web/pages/cves/dashboard/loaders.jsx | 16 +-
.../cves/dashboard/severityclassdisplay.jsx | 16 +-
src/web/pages/cves/details.jsx | 16 +-
src/web/pages/cves/detailspage.jsx | 16 +-
src/web/pages/cves/filterdialog.jsx | 16 +-
src/web/pages/cves/listpage.jsx | 16 +-
src/web/pages/cves/row.jsx | 16 +-
src/web/pages/cves/table.jsx | 16 +-
.../dfncert/dashboard/createddisplay.jsx | 16 +-
.../pages/dfncert/dashboard/cvssdisplay.jsx | 16 +-
src/web/pages/dfncert/dashboard/index.jsx | 16 +-
src/web/pages/dfncert/dashboard/loaders.jsx | 16 +-
.../dashboard/severityclassdisplay.jsx | 16 +-
src/web/pages/dfncert/details.jsx | 16 +-
src/web/pages/dfncert/detailspage.jsx | 16 +-
src/web/pages/dfncert/listpage.jsx | 16 +-
src/web/pages/dfncert/row.jsx | 16 +-
src/web/pages/dfncert/table.jsx | 16 +-
.../extras/__tests__/cvsscalculatorpage.jsx | 16 +-
.../pages/extras/__tests__/feedstatuspage.jsx | 16 +-
src/web/pages/extras/cvsscalculatorpage.jsx | 16 +-
src/web/pages/extras/feedstatuspage.jsx | 16 +-
src/web/pages/extras/trashactions.jsx | 16 +-
src/web/pages/extras/trashcanpage.jsx | 16 +-
src/web/pages/filters/component.jsx | 16 +-
src/web/pages/filters/details.jsx | 16 +-
src/web/pages/filters/detailspage.jsx | 16 +-
src/web/pages/filters/dialog.jsx | 16 +-
src/web/pages/filters/filterdialog.jsx | 1 +
src/web/pages/filters/listpage.jsx | 16 +-
src/web/pages/filters/row.jsx | 16 +-
src/web/pages/filters/table.jsx | 16 +-
src/web/pages/groups/component.jsx | 16 +-
src/web/pages/groups/details.jsx | 16 +-
src/web/pages/groups/detailspage.jsx | 16 +-
src/web/pages/groups/dialog.jsx | 16 +-
src/web/pages/groups/header.jsx | 16 +-
src/web/pages/groups/listpage.jsx | 16 +-
src/web/pages/groups/row.jsx | 16 +-
src/web/pages/groups/table.jsx | 16 +-
src/web/pages/help/__tests__/about.jsx | 16 +-
src/web/pages/help/about.jsx | 16 +-
src/web/pages/hosts/__tests__/detailspage.jsx | 16 +-
src/web/pages/hosts/__tests__/listpage.jsx | 16 +-
src/web/pages/hosts/component.jsx | 16 +-
src/web/pages/hosts/dashboard/cvssdisplay.jsx | 16 +-
src/web/pages/hosts/dashboard/index.jsx | 16 +-
src/web/pages/hosts/dashboard/loaders.jsx | 16 +-
.../pages/hosts/dashboard/modifieddisplay.jsx | 16 +-
.../hosts/dashboard/modifiedhighdisplay.jsx | 16 +-
.../hosts/dashboard/severityclassdisplay.jsx | 16 +-
.../pages/hosts/dashboard/topologydisplay.jsx | 16 +-
.../hosts/dashboard/vulnscoredisplay.jsx | 16 +-
src/web/pages/hosts/details.jsx | 16 +-
src/web/pages/hosts/detailspage.jsx | 16 +-
src/web/pages/hosts/dialog.jsx | 16 +-
src/web/pages/hosts/filterdialog.jsx | 16 +-
src/web/pages/hosts/identifiers.jsx | 16 +-
src/web/pages/hosts/listpage.jsx | 16 +-
src/web/pages/hosts/row.jsx | 16 +-
src/web/pages/hosts/table.jsx | 16 +-
src/web/pages/ldap/__tests__/dialog.jsx | 16 +-
src/web/pages/ldap/dialog.jsx | 16 +-
src/web/pages/ldap/ldappage.jsx | 16 +-
src/web/pages/login/__tests__/loginform.jsx | 16 +-
src/web/pages/login/__tests__/loginpage.jsx | 16 +-
src/web/pages/login/loginform.jsx | 16 +-
src/web/pages/login/loginpage.jsx | 16 +-
src/web/pages/notes/__tests__/detailspage.jsx | 16 +-
src/web/pages/notes/__tests__/listpage.jsx | 16 +-
src/web/pages/notes/component.jsx | 16 +-
.../notes/dashboard/activedaysdisplay.jsx | 16 +-
.../pages/notes/dashboard/createddisplay.jsx | 16 +-
src/web/pages/notes/dashboard/index.jsx | 16 +-
src/web/pages/notes/dashboard/loaders.jsx | 16 +-
.../notes/dashboard/wordclouddisplay.jsx | 16 +-
src/web/pages/notes/details.jsx | 16 +-
src/web/pages/notes/detailspage.jsx | 16 +-
src/web/pages/notes/dialog.jsx | 16 +-
src/web/pages/notes/filterdialog.jsx | 16 +-
src/web/pages/notes/listpage.jsx | 16 +-
src/web/pages/notes/row.jsx | 16 +-
src/web/pages/notes/table.jsx | 16 +-
src/web/pages/notfoundpage.jsx | 16 +-
src/web/pages/nvts/__tests__/detailspage.jsx | 16 +-
src/web/pages/nvts/__tests__/listpage.jsx | 16 +-
src/web/pages/nvts/__tests__/row.jsx | 19 +-
src/web/pages/nvts/component.jsx | 16 +-
.../pages/nvts/dashboard/createddisplay.jsx | 16 +-
src/web/pages/nvts/dashboard/cvssdisplay.jsx | 16 +-
.../pages/nvts/dashboard/familydisplay.jsx | 16 +-
src/web/pages/nvts/dashboard/index.jsx | 16 +-
src/web/pages/nvts/dashboard/loaders.jsx | 16 +-
src/web/pages/nvts/dashboard/qoddisplay.jsx | 16 +-
.../pages/nvts/dashboard/qodtypedisplay.jsx | 16 +-
.../nvts/dashboard/severityclassdisplay.jsx | 16 +-
src/web/pages/nvts/details.jsx | 16 +-
src/web/pages/nvts/detailspage.jsx | 16 +-
src/web/pages/nvts/filterdialog.jsx | 16 +-
src/web/pages/nvts/listpage.jsx | 16 +-
src/web/pages/nvts/nvtpreference.jsx | 16 +-
src/web/pages/nvts/preferences.jsx | 16 +-
src/web/pages/nvts/preformatted.jsx | 16 +-
src/web/pages/nvts/references.jsx | 16 +-
src/web/pages/nvts/row.jsx | 16 +-
src/web/pages/nvts/solution.jsx | 16 +-
src/web/pages/nvts/table.jsx | 16 +-
src/web/pages/omp.jsx | 16 +-
src/web/pages/operatingsystems/component.jsx | 16 +-
.../dashboard/cvssdisplay.jsx | 16 +-
.../operatingsystems/dashboard/index.jsx | 16 +-
.../operatingsystems/dashboard/loaders.jsx | 16 +-
.../dashboard/severityclassdisplay.jsx | 16 +-
.../dashboard/vulnscoredisplay.jsx | 16 +-
.../pages/operatingsystems/detailspage.jsx | 16 +-
.../pages/operatingsystems/filterdialog.jsx | 16 +-
src/web/pages/operatingsystems/listpage.jsx | 16 +-
src/web/pages/operatingsystems/row.jsx | 16 +-
src/web/pages/operatingsystems/table.jsx | 16 +-
.../pages/overrides/__tests__/detailspage.jsx | 16 +-
.../pages/overrides/__tests__/listpage.jsx | 16 +-
src/web/pages/overrides/component.jsx | 16 +-
.../overrides/dashboard/activedaysdisplay.jsx | 16 +-
.../overrides/dashboard/createddisplay.jsx | 16 +-
src/web/pages/overrides/dashboard/index.jsx | 16 +-
src/web/pages/overrides/dashboard/loaders.jsx | 16 +-
.../overrides/dashboard/wordclouddisplay.jsx | 16 +-
src/web/pages/overrides/details.jsx | 16 +-
src/web/pages/overrides/detailspage.jsx | 16 +-
src/web/pages/overrides/dialog.jsx | 16 +-
src/web/pages/overrides/filterdialog.jsx | 16 +-
src/web/pages/overrides/listpage.jsx | 16 +-
src/web/pages/overrides/row.jsx | 16 +-
src/web/pages/overrides/table.jsx | 16 +-
src/web/pages/page.jsx | 16 +-
.../__tests__/startendtimeselection.jsx | 16 +-
src/web/pages/performance/performancepage.jsx | 16 +-
.../performance/startendtimeselection.jsx | 16 +-
src/web/pages/permissions/component.jsx | 16 +-
src/web/pages/permissions/details.jsx | 16 +-
src/web/pages/permissions/detailspage.jsx | 16 +-
src/web/pages/permissions/dialog.jsx | 16 +-
src/web/pages/permissions/listpage.jsx | 16 +-
src/web/pages/permissions/multipledialog.jsx | 16 +-
src/web/pages/permissions/row.jsx | 16 +-
src/web/pages/permissions/table.jsx | 16 +-
src/web/pages/policies/__tests__/details.jsx | 16 +-
.../pages/policies/__tests__/detailspage.jsx | 16 +-
src/web/pages/policies/__tests__/dialog.jsx | 16 +-
src/web/pages/policies/__tests__/listpage.jsx | 16 +-
src/web/pages/policies/__tests__/row.jsx | 16 +-
src/web/pages/policies/__tests__/table.jsx | 16 +-
src/web/pages/policies/component.jsx | 16 +-
src/web/pages/policies/details.jsx | 16 +-
src/web/pages/policies/detailspage.jsx | 16 +-
src/web/pages/policies/dialog.jsx | 16 +-
src/web/pages/policies/header.jsx | 16 +-
src/web/pages/policies/listpage.jsx | 16 +-
src/web/pages/policies/row.jsx | 16 +-
src/web/pages/policies/table.jsx | 16 +-
src/web/pages/portlists/component.jsx | 16 +-
src/web/pages/portlists/details.jsx | 16 +-
src/web/pages/portlists/detailspage.jsx | 16 +-
src/web/pages/portlists/dialog.jsx | 16 +-
src/web/pages/portlists/filterdialog.jsx | 16 +-
src/web/pages/portlists/importdialog.jsx | 16 +-
src/web/pages/portlists/listpage.jsx | 16 +-
src/web/pages/portlists/portrangedialog.jsx | 16 +-
src/web/pages/portlists/portrangestable.jsx | 16 +-
src/web/pages/portlists/row.jsx | 16 +-
src/web/pages/portlists/table.jsx | 16 +-
src/web/pages/radius/__tests__/dialog.jsx | 16 +-
src/web/pages/radius/__tests__/radiuspage.jsx | 16 +-
src/web/pages/radius/dialog.jsx | 16 +-
src/web/pages/radius/radiuspage.jsx | 16 +-
.../__mocks__/mockreportconfig.jsx | 16 +-
.../__mocks__/mockreportformats.jsx | 16 +-
.../reportconfigs/__tests__/component.jsx | 16 +-
.../pages/reportconfigs/__tests__/details.jsx | 16 +-
.../reportconfigs/__tests__/detailspage.jsx | 16 +-
.../pages/reportconfigs/__tests__/dialog.jsx | 16 +-
.../reportconfigs/__tests__/listpage.jsx | 16 +-
src/web/pages/reportconfigs/__tests__/row.jsx | 16 +-
.../pages/reportconfigs/__tests__/table.jsx | 16 +-
src/web/pages/reportconfigs/component.jsx | 16 +-
src/web/pages/reportconfigs/details.jsx | 16 +-
src/web/pages/reportconfigs/detailspage.jsx | 16 +-
src/web/pages/reportconfigs/dialog.jsx | 16 +-
src/web/pages/reportconfigs/listpage.jsx | 16 +-
src/web/pages/reportconfigs/row.jsx | 16 +-
src/web/pages/reportconfigs/table.jsx | 16 +-
src/web/pages/reportformats/component.jsx | 16 +-
src/web/pages/reportformats/details.jsx | 16 +-
src/web/pages/reportformats/detailspage.jsx | 16 +-
src/web/pages/reportformats/dialog.jsx | 16 +-
src/web/pages/reportformats/listpage.jsx | 16 +-
src/web/pages/reportformats/row.jsx | 16 +-
src/web/pages/reportformats/table.jsx | 16 +-
.../reports/__mocks__/mockdeltareport.jsx | 16 +-
.../pages/reports/__mocks__/mockreport.jsx | 16 +-
.../reports/__tests__/deltadetailscontent.jsx | 16 +-
.../reports/__tests__/detailscontent.jsx | 16 +-
.../pages/reports/dashboard/cvssdisplay.jsx | 16 +-
.../reports/dashboard/highresultsdisplay.jsx | 16 +-
src/web/pages/reports/dashboard/index.jsx | 16 +-
src/web/pages/reports/dashboard/loaders.jsx | 16 +-
.../dashboard/severityclassdisplay.jsx | 16 +-
src/web/pages/reports/deltadetailscontent.jsx | 16 +-
src/web/pages/reports/deltadetailspage.jsx | 16 +-
.../pages/reports/deltaresultsfiltergroup.jsx | 16 +-
.../details/__tests__/applicationstab.jsx | 16 +-
.../details/__tests__/closedcvestab.jsx | 16 +-
.../reports/details/__tests__/cvestab.jsx | 19 +-
.../details/__tests__/deltaresultstab.jsx | 16 +-
.../reports/details/__tests__/emptyreport.jsx | 16 +-
.../details/__tests__/emptyresultsreport.jsx | 16 +-
.../reports/details/__tests__/errorstab.jsx | 16 +-
.../reports/details/__tests__/hoststab.jsx | 16 +-
.../details/__tests__/operatingsystemstab.jsx | 16 +-
.../reports/details/__tests__/portstab.jsx | 16 +-
.../reports/details/__tests__/summary.jsx | 16 +-
.../details/__tests__/thresholdpanel.jsx | 16 +-
.../details/__tests__/tlscertificatestab.jsx | 16 +-
.../details/__tests__/toolbaricons.jsx | 16 +-
.../pages/reports/details/alertactions.jsx | 16 +-
.../pages/reports/details/applicationstab.jsx | 16 +-
.../reports/details/applicationstable.jsx | 16 +-
.../pages/reports/details/closedcvestab.jsx | 16 +-
.../pages/reports/details/closedcvestable.jsx | 16 +-
src/web/pages/reports/details/cvestab.jsx | 16 +-
src/web/pages/reports/details/cvestable.jsx | 16 +-
.../pages/reports/details/deltaresultstab.jsx | 16 +-
src/web/pages/reports/details/emptyreport.jsx | 16 +-
.../reports/details/emptyresultsreport.jsx | 16 +-
src/web/pages/reports/details/errorstab.jsx | 16 +-
src/web/pages/reports/details/errorstable.jsx | 16 +-
src/web/pages/reports/details/hoststab.jsx | 16 +-
src/web/pages/reports/details/hoststable.jsx | 16 +-
.../reports/details/operatingsystemstab.jsx | 16 +-
.../reports/details/operatingsystemstable.jsx | 16 +-
src/web/pages/reports/details/portstab.jsx | 16 +-
src/web/pages/reports/details/portstable.jsx | 16 +-
.../details/reportentitiescontainer.jsx | 16 +-
src/web/pages/reports/details/reportpanel.jsx | 16 +-
src/web/pages/reports/details/resultstab.jsx | 16 +-
src/web/pages/reports/details/summary.jsx | 16 +-
src/web/pages/reports/details/tabtitle.jsx | 16 +-
.../pages/reports/details/thresholdpanel.jsx | 16 +-
.../reports/details/tlscertificatestab.jsx | 16 +-
.../reports/details/tlscertificatestable.jsx | 16 +-
.../pages/reports/details/toolbaricons.jsx | 16 +-
src/web/pages/reports/detailscontent.jsx | 16 +-
src/web/pages/reports/detailsfilterdialog.jsx | 16 +-
src/web/pages/reports/detailspage.jsx | 16 +-
.../pages/reports/downloadreportdialog.jsx | 16 +-
src/web/pages/reports/filterdialog.jsx | 16 +-
src/web/pages/reports/importdialog.jsx | 16 +-
src/web/pages/reports/listpage.jsx | 16 +-
src/web/pages/reports/row.jsx | 16 +-
src/web/pages/reports/table.jsx | 16 +-
src/web/pages/reports/thresholdmessage.jsx | 16 +-
src/web/pages/reports/triggeralertdialog.jsx | 16 +-
.../pages/results/__tests__/detailspage.jsx | 16 +-
src/web/pages/results/__tests__/diff.jsx | 16 +-
src/web/pages/results/__tests__/listpage.jsx | 16 +-
src/web/pages/results/__tests__/row.jsx | 16 +-
.../pages/results/dashboard/cvssdisplay.jsx | 16 +-
.../dashboard/descriptionwordclouddisplay.jsx | 16 +-
src/web/pages/results/dashboard/index.jsx | 16 +-
src/web/pages/results/dashboard/loaders.jsx | 16 +-
.../dashboard/severityclassdisplay.jsx | 16 +-
.../results/dashboard/wordclouddisplay.jsx | 16 +-
src/web/pages/results/delta.jsx | 16 +-
src/web/pages/results/details.jsx | 16 +-
src/web/pages/results/detailspage.jsx | 16 +-
src/web/pages/results/diff.jsx | 16 +-
src/web/pages/results/filterdialog.jsx | 16 +-
src/web/pages/results/listpage.jsx | 16 +-
src/web/pages/results/row.jsx | 16 +-
src/web/pages/results/table.jsx | 16 +-
src/web/pages/roles/component.jsx | 16 +-
src/web/pages/roles/details.jsx | 16 +-
src/web/pages/roles/detailspage.jsx | 16 +-
src/web/pages/roles/dialog.jsx | 16 +-
src/web/pages/roles/listpage.jsx | 16 +-
src/web/pages/roles/row.jsx | 16 +-
src/web/pages/roles/table.jsx | 16 +-
.../pages/scanconfigs/__tests__/details.jsx | 16 +-
.../scanconfigs/__tests__/detailspage.jsx | 16 +-
.../pages/scanconfigs/__tests__/dialog.jsx | 16 +-
.../__tests__/editconfigfamilydialog.jsx | 16 +-
.../scanconfigs/__tests__/editdialog.jsx | 16 +-
.../__tests__/editnvtdetailsdialog.jsx | 16 +-
.../pages/scanconfigs/__tests__/listpage.jsx | 16 +-
src/web/pages/scanconfigs/__tests__/row.jsx | 16 +-
src/web/pages/scanconfigs/__tests__/table.jsx | 16 +-
src/web/pages/scanconfigs/__tests__/trend.jsx | 16 +-
src/web/pages/scanconfigs/component.jsx | 16 +-
src/web/pages/scanconfigs/details.jsx | 16 +-
src/web/pages/scanconfigs/detailspage.jsx | 16 +-
src/web/pages/scanconfigs/dialog.jsx | 16 +-
.../scanconfigs/editconfigfamilydialog.jsx | 16 +-
src/web/pages/scanconfigs/editdialog.jsx | 16 +-
.../scanconfigs/editnvtdetailsdialog.jsx | 16 +-
src/web/pages/scanconfigs/header.jsx | 16 +-
src/web/pages/scanconfigs/importdialog.jsx | 16 +-
src/web/pages/scanconfigs/listpage.jsx | 16 +-
src/web/pages/scanconfigs/nvtfamilies.jsx | 16 +-
src/web/pages/scanconfigs/nvtpreferences.jsx | 16 +-
src/web/pages/scanconfigs/row.jsx | 16 +-
.../pages/scanconfigs/scannerpreferences.jsx | 16 +-
src/web/pages/scanconfigs/table.jsx | 16 +-
src/web/pages/scanconfigs/trend.jsx | 16 +-
src/web/pages/scanners/__tests__/dialog.jsx | 19 +-
src/web/pages/scanners/component.jsx | 16 +-
src/web/pages/scanners/details.jsx | 16 +-
src/web/pages/scanners/detailspage.jsx | 16 +-
src/web/pages/scanners/dialog.jsx | 16 +-
src/web/pages/scanners/listpage.jsx | 16 +-
src/web/pages/scanners/row.jsx | 16 +-
src/web/pages/scanners/table.jsx | 16 +-
.../pages/schedules/__tests__/detailspage.jsx | 16 +-
src/web/pages/schedules/__tests__/dialog.jsx | 16 +-
.../pages/schedules/__tests__/listpage.jsx | 16 +-
src/web/pages/schedules/component.jsx | 16 +-
src/web/pages/schedules/dayselect.jsx | 16 +-
src/web/pages/schedules/details.jsx | 16 +-
src/web/pages/schedules/detailspage.jsx | 16 +-
src/web/pages/schedules/dialog.jsx | 16 +-
src/web/pages/schedules/listpage.jsx | 16 +-
src/web/pages/schedules/monthdaysselect.jsx | 16 +-
src/web/pages/schedules/render.jsx | 16 +-
src/web/pages/schedules/row.jsx | 16 +-
src/web/pages/schedules/table.jsx | 16 +-
src/web/pages/schedules/timeunitselect.jsx | 16 +-
src/web/pages/schedules/weekdayselect.jsx | 16 +-
src/web/pages/start/__tests__/page.jsx | 16 +-
src/web/pages/start/confirmremovedialog.jsx | 16 +-
src/web/pages/start/dashboard.jsx | 16 +-
src/web/pages/start/editdashboarddialog.jsx | 16 +-
src/web/pages/start/newdashboarddialog.jsx | 16 +-
src/web/pages/start/page.jsx | 16 +-
src/web/pages/tags/component.jsx | 16 +-
src/web/pages/tags/details.jsx | 16 +-
src/web/pages/tags/detailspage.jsx | 16 +-
src/web/pages/tags/dialog.jsx | 16 +-
src/web/pages/tags/listpage.jsx | 16 +-
src/web/pages/tags/resourcelist.jsx | 16 +-
src/web/pages/tags/row.jsx | 16 +-
src/web/pages/tags/table.jsx | 16 +-
src/web/pages/targets/__tests__/details.jsx | 16 +-
.../pages/targets/__tests__/detailspage.jsx | 16 +-
src/web/pages/targets/__tests__/dialog.jsx | 16 +-
src/web/pages/targets/__tests__/listpage.jsx | 16 +-
src/web/pages/targets/__tests__/row.jsx | 16 +-
src/web/pages/targets/component.jsx | 16 +-
src/web/pages/targets/details.jsx | 16 +-
src/web/pages/targets/detailspage.jsx | 16 +-
src/web/pages/targets/dialog.jsx | 16 +-
src/web/pages/targets/listpage.jsx | 16 +-
src/web/pages/targets/row.jsx | 16 +-
src/web/pages/targets/table.jsx | 16 +-
src/web/pages/tasks/__tests__/actions.jsx | 16 +-
.../__tests__/autodeletereportsgroup.jsx | 16 +-
.../pages/tasks/__tests__/containerdialog.jsx | 16 +-
src/web/pages/tasks/__tests__/details.jsx | 16 +-
src/web/pages/tasks/__tests__/detailspage.jsx | 16 +-
src/web/pages/tasks/__tests__/listpage.jsx | 16 +-
src/web/pages/tasks/__tests__/row.jsx | 16 +-
src/web/pages/tasks/__tests__/status.jsx | 16 +-
src/web/pages/tasks/__tests__/table.jsx | 16 +-
src/web/pages/tasks/__tests__/trend.jsx | 16 +-
src/web/pages/tasks/actions.jsx | 16 +-
.../pages/tasks/addresultstoassetsgroup.jsx | 16 +-
.../pages/tasks/autodeletereportsgroup.jsx | 16 +-
src/web/pages/tasks/component.jsx | 16 +-
src/web/pages/tasks/containerdialog.jsx | 16 +-
src/web/pages/tasks/dashboard/cvssdisplay.jsx | 16 +-
src/web/pages/tasks/dashboard/highresults.jsx | 16 +-
src/web/pages/tasks/dashboard/index.jsx | 16 +-
src/web/pages/tasks/dashboard/loaders.jsx | 16 +-
.../pages/tasks/dashboard/mosthighresults.jsx | 16 +-
.../tasks/dashboard/schedulesdisplay.jsx | 16 +-
.../tasks/dashboard/severityclassdisplay.jsx | 16 +-
.../pages/tasks/dashboard/statusdisplay.jsx | 16 +-
src/web/pages/tasks/details.jsx | 16 +-
src/web/pages/tasks/detailspage.jsx | 16 +-
src/web/pages/tasks/dialog.jsx | 16 +-
src/web/pages/tasks/filterdialog.jsx | 16 +-
.../tasks/icons/__tests__/resumeicon.jsx | 16 +-
.../pages/tasks/icons/__tests__/starticon.jsx | 16 +-
.../pages/tasks/icons/__tests__/stopicon.jsx | 16 +-
.../pages/tasks/icons/importreporticon.jsx | 16 +-
src/web/pages/tasks/icons/newiconmenu.jsx | 16 +-
src/web/pages/tasks/icons/resumeicon.jsx | 16 +-
src/web/pages/tasks/icons/scheduleicon.jsx | 16 +-
src/web/pages/tasks/icons/starticon.jsx | 16 +-
src/web/pages/tasks/icons/stopicon.jsx | 16 +-
src/web/pages/tasks/listpage.jsx | 16 +-
src/web/pages/tasks/row.jsx | 16 +-
src/web/pages/tasks/status.jsx | 16 +-
src/web/pages/tasks/table.jsx | 16 +-
src/web/pages/tasks/task.jsx | 16 +-
src/web/pages/tasks/trend.jsx | 16 +-
.../pages/tickets/__tests__/createdialog.jsx | 16 +-
.../pages/tickets/__tests__/editdialog.jsx | 16 +-
src/web/pages/tickets/component.jsx | 16 +-
src/web/pages/tickets/createdialog.jsx | 16 +-
.../tickets/dashboard/createddisplay.jsx | 16 +-
src/web/pages/tickets/dashboard/index.jsx | 16 +-
src/web/pages/tickets/dashboard/loaders.jsx | 16 +-
.../pages/tickets/dashboard/statusdisplay.jsx | 16 +-
.../dashboard/usersassigneddisplay.jsx | 16 +-
src/web/pages/tickets/details.jsx | 16 +-
src/web/pages/tickets/detailspage.jsx | 16 +-
src/web/pages/tickets/editdialog.jsx | 16 +-
src/web/pages/tickets/filterdialog.jsx | 16 +-
src/web/pages/tickets/listpage.jsx | 16 +-
src/web/pages/tickets/table.jsx | 16 +-
src/web/pages/tickets/validationrules.jsx | 16 +-
.../tlscertificates/__tests__/detailspage.jsx | 16 +-
.../tlscertificates/__tests__/listpage.jsx | 16 +-
.../pages/tlscertificates/__tests__/row.jsx | 16 +-
.../pages/tlscertificates/__tests__/table.jsx | 16 +-
src/web/pages/tlscertificates/component.jsx | 16 +-
.../pages/tlscertificates/dashboard/index.jsx | 16 +-
.../tlscertificates/dashboard/loaders.jsx | 16 +-
.../dashboard/modifieddisplay.jsx | 16 +-
.../dashboard/timestatusdisplay.jsx | 16 +-
src/web/pages/tlscertificates/details.jsx | 16 +-
src/web/pages/tlscertificates/detailspage.jsx | 16 +-
.../pages/tlscertificates/filterdialog.jsx | 16 +-
src/web/pages/tlscertificates/listpage.jsx | 16 +-
src/web/pages/tlscertificates/row.jsx | 16 +-
src/web/pages/tlscertificates/table.jsx | 16 +-
src/web/pages/users/component.jsx | 16 +-
src/web/pages/users/confirmdeletedialog.jsx | 16 +-
src/web/pages/users/details.jsx | 16 +-
src/web/pages/users/detailspage.jsx | 16 +-
src/web/pages/users/dialog.jsx | 16 +-
src/web/pages/users/filterdialog.jsx | 1 +
src/web/pages/users/header.jsx | 16 +-
src/web/pages/users/listpage.jsx | 16 +-
src/web/pages/users/row.jsx | 16 +-
src/web/pages/users/table.jsx | 16 +-
src/web/pages/usersettings/defaultspart.jsx | 16 +-
src/web/pages/usersettings/dialog.jsx | 16 +-
src/web/pages/usersettings/filterpart.jsx | 16 +-
src/web/pages/usersettings/generalpart.jsx | 16 +-
src/web/pages/usersettings/severitypart.jsx | 16 +-
.../pages/usersettings/usersettingspage.jsx | 16 +-
.../pages/usersettings/validationrules.jsx | 16 +-
src/web/pages/vulns/dashboard/cvssdisplay.jsx | 16 +-
.../pages/vulns/dashboard/hostsdisplay.jsx | 16 +-
src/web/pages/vulns/dashboard/index.jsx | 16 +-
src/web/pages/vulns/dashboard/loaders.jsx | 16 +-
.../vulns/dashboard/severityclassdisplay.jsx | 16 +-
src/web/pages/vulns/filterdialog.jsx | 16 +-
src/web/pages/vulns/listpage.jsx | 16 +-
src/web/pages/vulns/row.jsx | 16 +-
src/web/pages/vulns/table.jsx | 16 +-
src/web/routes.jsx | 16 +-
src/web/setupTests.js | 15 +-
src/web/store/__tests__/utils.js | 16 +-
src/web/store/actions.js | 16 +-
.../store/dashboard/data/__tests__/actions.js | 16 +-
.../store/dashboard/data/__tests__/loader.js | 16 +-
.../dashboard/data/__tests__/reducers.js | 16 +-
.../dashboard/data/__tests__/selectors.js | 16 +-
src/web/store/dashboard/data/actions.js | 16 +-
src/web/store/dashboard/data/loader.js | 57 ++---
src/web/store/dashboard/data/reducers.js | 16 +-
src/web/store/dashboard/data/selectors.js | 16 +-
.../dashboard/settings/__tests__/actions.js | 16 +-
.../dashboard/settings/__tests__/reducers.js | 16 +-
.../dashboard/settings/__tests__/selectors.js | 16 +-
src/web/store/dashboard/settings/actions.js | 46 ++--
src/web/store/dashboard/settings/reducers.js | 15 +-
src/web/store/dashboard/settings/selectors.js | 16 +-
src/web/store/entities/__tests__/alerts.js | 16 +-
src/web/store/entities/__tests__/audits.js | 16 +-
src/web/store/entities/__tests__/certbund.js | 16 +-
src/web/store/entities/__tests__/cpes.js | 16 +-
.../store/entities/__tests__/credentials.js | 16 +-
src/web/store/entities/__tests__/cves.js | 16 +-
src/web/store/entities/__tests__/dfncerts.js | 16 +-
src/web/store/entities/__tests__/filters.js | 16 +-
src/web/store/entities/__tests__/groups.js | 16 +-
src/web/store/entities/__tests__/hosts.js | 16 +-
src/web/store/entities/__tests__/notes.js | 16 +-
src/web/store/entities/__tests__/nvts.js | 16 +-
.../entities/__tests__/operatingsystems.js | 16 +-
src/web/store/entities/__tests__/overrides.js | 16 +-
.../store/entities/__tests__/permissions.js | 16 +-
src/web/store/entities/__tests__/policies.js | 16 +-
src/web/store/entities/__tests__/portlists.js | 16 +-
src/web/store/entities/__tests__/reducers.js | 16 +-
.../store/entities/__tests__/reportformats.js | 16 +-
src/web/store/entities/__tests__/reports.js | 16 +-
src/web/store/entities/__tests__/results.js | 16 +-
src/web/store/entities/__tests__/roles.js | 16 +-
.../store/entities/__tests__/scanconfigs.js | 16 +-
src/web/store/entities/__tests__/scanners.js | 16 +-
src/web/store/entities/__tests__/schedules.js | 16 +-
src/web/store/entities/__tests__/tags.js | 16 +-
src/web/store/entities/__tests__/targets.js | 16 +-
src/web/store/entities/__tests__/tasks.js | 16 +-
src/web/store/entities/__tests__/tickets.js | 16 +-
src/web/store/entities/__tests__/users.js | 16 +-
src/web/store/entities/__tests__/vulns.js | 16 +-
src/web/store/entities/alerts.js | 16 +-
src/web/store/entities/audits.js | 16 +-
src/web/store/entities/certbund.js | 16 +-
src/web/store/entities/cpes.js | 16 +-
src/web/store/entities/credentials.js | 16 +-
src/web/store/entities/cves.js | 16 +-
src/web/store/entities/dfncerts.js | 16 +-
src/web/store/entities/filters.js | 16 +-
src/web/store/entities/groups.js | 16 +-
src/web/store/entities/hosts.js | 16 +-
src/web/store/entities/notes.js | 16 +-
src/web/store/entities/nvts.js | 16 +-
src/web/store/entities/operatingsystems.js | 16 +-
src/web/store/entities/overrides.js | 16 +-
src/web/store/entities/permissions.js | 16 +-
src/web/store/entities/policies.js | 16 +-
src/web/store/entities/portlists.js | 16 +-
src/web/store/entities/reducers.js | 16 +-
.../entities/report/__tests__/actions.js | 16 +-
.../entities/report/__tests__/reducers.js | 16 +-
.../entities/report/__tests__/selectors.js | 16 +-
src/web/store/entities/report/actions.js | 216 ++++++++----------
src/web/store/entities/report/reducers.js | 16 +-
src/web/store/entities/report/selectors.js | 16 +-
src/web/store/entities/reportconfigs.js | 16 +-
src/web/store/entities/reportformats.js | 16 +-
src/web/store/entities/reports.js | 16 +-
.../entities/reports/__tests__/reducers.js | 16 +-
src/web/store/entities/reports/reducers.js | 16 +-
src/web/store/entities/results.js | 16 +-
src/web/store/entities/roles.js | 16 +-
src/web/store/entities/scanconfigs.js | 16 +-
src/web/store/entities/scanners.js | 16 +-
src/web/store/entities/schedules.js | 16 +-
src/web/store/entities/tags.js | 16 +-
src/web/store/entities/targets.js | 16 +-
src/web/store/entities/tasks.js | 16 +-
src/web/store/entities/tickets.js | 16 +-
src/web/store/entities/tlscertificates.js | 16 +-
src/web/store/entities/users.js | 16 +-
.../store/entities/utils/__tests__/actions.js | 16 +-
.../store/entities/utils/__tests__/main.js | 16 +-
.../entities/utils/__tests__/reducers.js | 16 +-
.../entities/utils/__tests__/selectors.js | 16 +-
src/web/store/entities/utils/actions.js | 172 +++++++-------
src/web/store/entities/utils/main.js | 16 +-
src/web/store/entities/utils/reducers.js | 16 +-
src/web/store/entities/utils/selectors.js | 16 +-
src/web/store/entities/utils/testing.js | 16 +-
src/web/store/entities/vulns.js | 16 +-
src/web/store/index.js | 15 +-
src/web/store/pages/__tests__/actions.js | 16 +-
src/web/store/pages/__tests__/reducers.js | 16 +-
src/web/store/pages/__tests__/selectors.js | 16 +-
src/web/store/pages/actions.js | 16 +-
src/web/store/pages/reducers.js | 16 +-
src/web/store/pages/selectors.js | 16 +-
src/web/store/reducers.js | 16 +-
.../store/usersettings/__tests__/actions.js | 16 +-
.../store/usersettings/__tests__/reducers.js | 16 +-
.../store/usersettings/__tests__/selectors.js | 16 +-
src/web/store/usersettings/actions.js | 16 +-
.../defaultfilters/__tests__/actions.js | 16 +-
.../defaultfilters/__tests__/reducers.js | 16 +-
.../defaultfilters/__tests__/selectors.js | 16 +-
.../usersettings/defaultfilters/actions.js | 86 +++----
.../usersettings/defaultfilters/reducers.js | 16 +-
.../usersettings/defaultfilters/selectors.js | 15 +-
.../defaults/__tests__/actions.js | 16 +-
.../defaults/__tests__/reducers.js | 16 +-
.../defaults/__tests__/selectors.js | 16 +-
.../store/usersettings/defaults/actions.js | 26 +--
.../store/usersettings/defaults/reducers.js | 16 +-
.../store/usersettings/defaults/selectors.js | 16 +-
src/web/store/usersettings/reducers.js | 15 +-
src/web/store/usersettings/selectors.js | 15 +-
src/web/store/utils.js | 45 ++--
src/web/utils/__tests__/render.jsx | 16 +-
src/web/utils/__tests__/sort.jsx | 16 +-
src/web/utils/__tests__/timePickerHelpers.js | 5 +
src/web/utils/__tests__/useCapabilities.jsx | 16 +-
src/web/utils/__tests__/useGmp.jsx | 16 +-
src/web/utils/__tests__/useUserIsLoggedIn.jsx | 16 +-
src/web/utils/__tests__/useUserName.jsx | 16 +-
.../utils/__tests__/useUserSessionTimeout.jsx | 16 +-
src/web/utils/__tests__/useUserTimezone.jsx | 16 +-
src/web/utils/cert.jsx | 16 +-
src/web/utils/compose.jsx | 16 +-
src/web/utils/cpe.jsx | 16 +-
src/web/utils/languages.jsx | 16 +-
src/web/utils/os.jsx | 16 +-
src/web/utils/proptypes.jsx | 16 +-
src/web/utils/render.jsx | 16 +-
src/web/utils/selectiontype.jsx | 16 +-
src/web/utils/severity.jsx | 16 +-
src/web/utils/sort.jsx | 16 +-
src/web/utils/state.jsx | 16 +-
src/web/utils/styledConfig.jsx | 16 +-
src/web/utils/testing.jsx | 16 +-
src/web/utils/theme.jsx | 16 +-
src/web/utils/timePickerHelpers.js | 5 +
src/web/utils/urls.jsx | 16 +-
src/web/utils/useCapabilities.jsx | 19 +-
src/web/utils/useGmp.jsx | 16 +-
src/web/utils/useLicense.jsx | 16 +-
src/web/utils/useUserIsLoggedIn.jsx | 16 +-
src/web/utils/useUserName.jsx | 16 +-
src/web/utils/useUserSessionTimeout.jsx | 16 +-
src/web/utils/useUserTimezone.jsx | 16 +-
src/web/utils/warning.jsx | 16 +-
src/web/utils/withCapabilities.jsx | 16 +-
src/web/utils/withComponentDefaults.jsx | 16 +-
src/web/utils/withGmp.jsx | 16 +-
src/web/utils/withPrefix.jsx | 16 +-
src/web/utils/withSubscription.jsx | 16 +-
src/web/utils/withUserName.jsx | 16 +-
.../wizard/__tests__/advancedtaskwizard.jsx | 16 +-
src/web/wizard/__tests__/modifytaskwizard.jsx | 16 +-
src/web/wizard/advancedtaskwizard.jsx | 16 +-
src/web/wizard/modifytaskwizard.jsx | 16 +-
src/web/wizard/taskwizard.jsx | 16 +-
1532 files changed, 3320 insertions(+), 21741 deletions(-)
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 9d5cdf19cc..e1fb300d68 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -6,7 +6,7 @@ module.exports = {
'plugin:react-hooks/recommended',
'plugin:vitest-globals/recommended',
],
- plugins: ['react', 'react-hooks'],
+ plugins: ['react', 'react-hooks', 'header'],
settings: {
react: {
version: 'detect',
@@ -41,5 +41,27 @@ module.exports = {
],
'no-class-assign': 'off',
'no-prototype-builtins': 'off',
+ 'header/header': [
+ 2,
+ 'block',
+ [
+ {
+ pattern: ' SPDX-FileCopyrightText: \\d{4} Greenbone AG',
+ template: ' SPDX-FileCopyrightText: 2024 Greenbone AG',
+ },
+ ' *',
+ ' * SPDX-License-Identifier: AGPL-3.0-or-later',
+ ' ',
+ ],
+ 2,
+ ],
},
+ overrides: [
+ {
+ files: ['vite-env.d.ts'],
+ rules: {
+ 'header/header': 'off',
+ },
+ },
+ ],
};
diff --git a/package-lock.json b/package-lock.json
index 77c5735df2..fd15b0f9a2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -27,6 +27,7 @@
"d3-scale": "^4.0.2",
"d3-shape": "^3.2.0",
"downshift": "^9.0.6",
+ "eslint-plugin-header": "^3.1.1",
"fast-deep-equal": "^3.1.3",
"fast-xml-parser": "^4.2.5",
"history": "^4.10.1",
@@ -94,7 +95,6 @@
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",
"integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -2696,7 +2696,6 @@
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
"integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
- "dev": true,
"dependencies": {
"eslint-visitor-keys": "^3.3.0"
},
@@ -2711,7 +2710,6 @@
"version": "4.10.0",
"resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz",
"integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==",
- "dev": true,
"engines": {
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
}
@@ -2720,7 +2718,6 @@
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz",
"integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==",
- "dev": true,
"dependencies": {
"ajv": "^6.12.4",
"debug": "^4.3.2",
@@ -2743,7 +2740,6 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -2753,7 +2749,6 @@
"version": "13.24.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
"integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
- "dev": true,
"dependencies": {
"type-fest": "^0.20.2"
},
@@ -2768,7 +2763,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
},
@@ -2780,7 +2774,6 @@
"version": "8.57.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz",
"integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==",
- "dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
@@ -2855,7 +2848,6 @@
"version": "0.11.14",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz",
"integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==",
- "dev": true,
"dependencies": {
"@humanwhocodes/object-schema": "^2.0.2",
"debug": "^4.3.1",
@@ -2869,7 +2861,6 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -2879,7 +2870,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
},
@@ -2891,7 +2881,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
"integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
- "dev": true,
"engines": {
"node": ">=12.22"
},
@@ -2903,8 +2892,7 @@
"node_modules/@humanwhocodes/object-schema": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",
- "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==",
- "dev": true
+ "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA=="
},
"node_modules/@istanbuljs/load-nyc-config": {
"version": "1.1.0",
@@ -3604,7 +3592,6 @@
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
"integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
- "dev": true,
"dependencies": {
"@nodelib/fs.stat": "2.0.5",
"run-parallel": "^1.1.9"
@@ -3617,7 +3604,6 @@
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
"integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
- "dev": true,
"engines": {
"node": ">= 8"
}
@@ -3626,7 +3612,6 @@
"version": "1.2.8",
"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
"integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
- "dev": true,
"dependencies": {
"@nodelib/fs.scandir": "2.1.5",
"fastq": "^1.6.0"
@@ -5043,8 +5028,7 @@
"node_modules/@ungap/structured-clone": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz",
- "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==",
- "dev": true
+ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ=="
},
"node_modules/@visx/axis": {
"version": "3.10.1",
@@ -5459,7 +5443,6 @@
"version": "8.11.3",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz",
"integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==",
- "dev": true,
"bin": {
"acorn": "bin/acorn"
},
@@ -5471,7 +5454,6 @@
"version": "5.3.2",
"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
"integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
- "dev": true,
"peerDependencies": {
"acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
}
@@ -5501,7 +5483,6 @@
"version": "6.12.6",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
- "dev": true,
"dependencies": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
@@ -5544,7 +5525,6 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -5553,7 +5533,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"dependencies": {
"color-convert": "^2.0.1"
},
@@ -5580,8 +5559,7 @@
"node_modules/argparse": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
- "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
- "dev": true
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
},
"node_modules/aria-hidden": {
"version": "1.2.4",
@@ -6284,7 +6262,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"dependencies": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
@@ -6499,7 +6476,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"dependencies": {
"color-name": "~1.1.4"
},
@@ -6510,8 +6486,7 @@
"node_modules/color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
},
"node_modules/colorette": {
"version": "2.0.20",
@@ -6546,8 +6521,7 @@
"node_modules/concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
- "dev": true
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
},
"node_modules/convert-source-map": {
"version": "2.0.0",
@@ -6637,7 +6611,6 @@
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
- "dev": true,
"dependencies": {
"path-key": "^3.1.0",
"shebang-command": "^2.0.0",
@@ -6995,8 +6968,7 @@
"node_modules/deep-is": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
- "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
- "dev": true
+ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ=="
},
"node_modules/deepmerge": {
"version": "4.3.1",
@@ -7107,7 +7079,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
"integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
- "dev": true,
"dependencies": {
"esutils": "^2.0.2"
},
@@ -7432,7 +7403,6 @@
"version": "8.57.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz",
"integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==",
- "dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
@@ -7495,6 +7465,14 @@
"eslint": ">=7.0.0"
}
},
+ "node_modules/eslint-plugin-header": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-header/-/eslint-plugin-header-3.1.1.tgz",
+ "integrity": "sha512-9vlKxuJ4qf793CmeeSrZUvVClw6amtpghq3CuWcB5cUNnWHQhgcqy5eF8oVKFk1G3Y/CbchGfEaw3wiIJaNmVg==",
+ "peerDependencies": {
+ "eslint": ">=7.7.0"
+ }
+ },
"node_modules/eslint-plugin-react": {
"version": "7.34.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.34.2.tgz",
@@ -7618,7 +7596,6 @@
"version": "7.2.2",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
"integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
- "dev": true,
"dependencies": {
"esrecurse": "^4.3.0",
"estraverse": "^5.2.0"
@@ -7634,7 +7611,6 @@
"version": "3.4.3",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
"integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
- "dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
@@ -7646,7 +7622,6 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -7656,7 +7631,6 @@
"version": "13.24.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
"integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
- "dev": true,
"dependencies": {
"type-fest": "^0.20.2"
},
@@ -7671,7 +7645,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
},
@@ -7683,7 +7656,6 @@
"version": "9.6.1",
"resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
"integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",
- "dev": true,
"dependencies": {
"acorn": "^8.9.0",
"acorn-jsx": "^5.3.2",
@@ -7713,7 +7685,6 @@
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz",
"integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==",
- "dev": true,
"dependencies": {
"estraverse": "^5.1.0"
},
@@ -7725,7 +7696,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
"integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
- "dev": true,
"dependencies": {
"estraverse": "^5.2.0"
},
@@ -7737,7 +7707,6 @@
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
"integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
- "dev": true,
"engines": {
"node": ">=4.0"
}
@@ -7912,14 +7881,12 @@
"node_modules/fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
- "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
- "dev": true
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
},
"node_modules/fast-levenshtein": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
- "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
- "dev": true
+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw=="
},
"node_modules/fast-xml-parser": {
"version": "4.3.6",
@@ -7946,7 +7913,6 @@
"version": "1.17.1",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz",
"integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==",
- "dev": true,
"dependencies": {
"reusify": "^1.0.4"
}
@@ -7972,7 +7938,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
"integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
- "dev": true,
"dependencies": {
"flat-cache": "^3.0.4"
},
@@ -8001,7 +7966,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
"integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
- "dev": true,
"dependencies": {
"locate-path": "^6.0.0",
"path-exists": "^4.0.0"
@@ -8017,7 +7981,6 @@
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz",
"integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==",
- "dev": true,
"dependencies": {
"flatted": "^3.2.9",
"keyv": "^4.5.3",
@@ -8030,8 +7993,7 @@
"node_modules/flatted": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz",
- "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==",
- "dev": true
+ "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw=="
},
"node_modules/for-each": {
"version": "0.3.3",
@@ -8065,8 +8027,7 @@
"node_modules/fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
- "dev": true
+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
},
"node_modules/fsevents": {
"version": "2.3.3",
@@ -8224,7 +8185,6 @@
"version": "7.2.3",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
- "dev": true,
"dependencies": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
@@ -8244,7 +8204,6 @@
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
"integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
- "dev": true,
"dependencies": {
"is-glob": "^4.0.3"
},
@@ -8256,7 +8215,6 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -8266,7 +8224,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
},
@@ -8339,8 +8296,7 @@
"node_modules/graphemer": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
- "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
- "dev": true
+ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag=="
},
"node_modules/has-bigints": {
"version": "1.0.2",
@@ -8355,7 +8311,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -8721,7 +8676,6 @@
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz",
"integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==",
- "dev": true,
"engines": {
"node": ">= 4"
}
@@ -8775,7 +8729,6 @@
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
"integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
- "dev": true,
"engines": {
"node": ">=0.8.19"
}
@@ -8793,7 +8746,6 @@
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
- "dev": true,
"dependencies": {
"once": "^1.3.0",
"wrappy": "1"
@@ -8802,8 +8754,7 @@
"node_modules/inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"node_modules/internal-slot": {
"version": "1.0.7",
@@ -8989,7 +8940,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -9048,7 +8998,6 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "dev": true,
"dependencies": {
"is-extglob": "^2.1.1"
},
@@ -9108,7 +9057,6 @@
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
"integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -9264,8 +9212,7 @@
"node_modules/isexe": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
- "dev": true
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
},
"node_modules/istanbul-lib-coverage": {
"version": "3.2.2",
@@ -10422,7 +10369,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
- "dev": true,
"dependencies": {
"argparse": "^2.0.1"
},
@@ -10484,8 +10430,7 @@
"node_modules/json-buffer": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
- "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
- "dev": true
+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ=="
},
"node_modules/json-parse-better-errors": {
"version": "1.0.2",
@@ -10501,8 +10446,7 @@
"node_modules/json-schema-traverse": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
},
"node_modules/json-stable-stringify": {
"version": "1.1.1",
@@ -10525,8 +10469,7 @@
"node_modules/json-stable-stringify-without-jsonify": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
- "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
- "dev": true
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw=="
},
"node_modules/json-stable-stringify/node_modules/isarray": {
"version": "2.0.5",
@@ -10579,7 +10522,6 @@
"version": "4.5.4",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
"integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
- "dev": true,
"dependencies": {
"json-buffer": "3.0.1"
}
@@ -10610,7 +10552,6 @@
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
"integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
- "dev": true,
"dependencies": {
"prelude-ls": "^1.2.1",
"type-check": "~0.4.0"
@@ -10827,7 +10768,6 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
"integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
- "dev": true,
"dependencies": {
"p-locate": "^5.0.0"
},
@@ -10851,8 +10791,7 @@
"node_modules/lodash.merge": {
"version": "4.6.2",
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
- "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
- "dev": true
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="
},
"node_modules/log-update": {
"version": "5.0.1",
@@ -11184,8 +11123,7 @@
"node_modules/natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
- "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
- "dev": true
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="
},
"node_modules/nice-try": {
"version": "1.0.5",
@@ -11424,7 +11362,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
- "dev": true,
"dependencies": {
"wrappy": "1"
}
@@ -11448,7 +11385,6 @@
"version": "0.9.3",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz",
"integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==",
- "dev": true,
"dependencies": {
"@aashutoshrathi/word-wrap": "^1.2.3",
"deep-is": "^0.1.3",
@@ -11474,7 +11410,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
"integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
- "dev": true,
"dependencies": {
"yocto-queue": "^0.1.0"
},
@@ -11489,7 +11424,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
"integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
- "dev": true,
"dependencies": {
"p-limit": "^3.0.2"
},
@@ -11553,7 +11487,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -11562,7 +11495,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -11571,7 +11503,6 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -11790,7 +11721,6 @@
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
"integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
- "dev": true,
"engines": {
"node": ">= 0.8.0"
}
@@ -11897,7 +11827,6 @@
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
"integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
- "dev": true,
"engines": {
"node": ">=6"
}
@@ -11955,7 +11884,6 @@
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
"integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -12599,7 +12527,6 @@
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
"integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
- "dev": true,
"engines": {
"iojs": ">=1.0.0",
"node": ">=0.10.0"
@@ -12615,7 +12542,6 @@
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
- "dev": true,
"dependencies": {
"glob": "^7.1.3"
},
@@ -12687,7 +12613,6 @@
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
"integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -12852,7 +12777,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
"integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
- "dev": true,
"dependencies": {
"shebang-regex": "^3.0.0"
},
@@ -12864,7 +12788,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -13218,7 +13141,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dev": true,
"dependencies": {
"ansi-regex": "^5.0.1"
},
@@ -13274,7 +13196,6 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
"integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
- "dev": true,
"engines": {
"node": ">=8"
},
@@ -13341,7 +13262,6 @@
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
"dependencies": {
"has-flag": "^4.0.0"
},
@@ -13441,8 +13361,7 @@
"node_modules/text-table": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
- "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
- "dev": true
+ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw=="
},
"node_modules/tiny-case": {
"version": "1.0.3",
@@ -13573,7 +13492,6 @@
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
"integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
- "dev": true,
"dependencies": {
"prelude-ls": "^1.2.1"
},
@@ -13594,7 +13512,6 @@
"version": "0.20.2",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
"integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
- "dev": true,
"engines": {
"node": ">=10"
},
@@ -13795,7 +13712,6 @@
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
- "dev": true,
"dependencies": {
"punycode": "^2.1.0"
}
@@ -14389,7 +14305,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
- "dev": true,
"dependencies": {
"isexe": "^2.0.0"
},
@@ -14560,8 +14475,7 @@
"node_modules/wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
- "dev": true
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
},
"node_modules/write-file-atomic": {
"version": "4.0.2",
@@ -14709,7 +14623,6 @@
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
"integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
- "dev": true,
"engines": {
"node": ">=10"
},
diff --git a/package.json b/package.json
index 3efe887291..a328dbbcbc 100644
--- a/package.json
+++ b/package.json
@@ -50,6 +50,7 @@
"d3-scale": "^4.0.2",
"d3-shape": "^3.2.0",
"downshift": "^9.0.6",
+ "eslint-plugin-header": "^3.1.1",
"fast-deep-equal": "^3.1.3",
"fast-xml-parser": "^4.2.5",
"history": "^4.10.1",
diff --git a/src/__tests__/version.js b/src/__tests__/version.js
index 19c3528de6..d167bfe53a 100644
--- a/src/__tests__/version.js
+++ b/src/__tests__/version.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/__tests__/cancel.js b/src/gmp/__tests__/cancel.js
index 27dfe7990e..3a8cae4a87 100644
--- a/src/gmp/__tests__/cancel.js
+++ b/src/gmp/__tests__/cancel.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import CancelToken from '../cancel.js';
diff --git a/src/gmp/__tests__/cvss.js b/src/gmp/__tests__/cvss.js
index 8a68375991..c726a9da5f 100644
--- a/src/gmp/__tests__/cvss.js
+++ b/src/gmp/__tests__/cvss.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {
diff --git a/src/gmp/__tests__/gmp.js b/src/gmp/__tests__/gmp.js
index 3ed5807919..4d240b4273 100644
--- a/src/gmp/__tests__/gmp.js
+++ b/src/gmp/__tests__/gmp.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {
describe,
test,
diff --git a/src/gmp/__tests__/gmpsettings.js b/src/gmp/__tests__/gmpsettings.js
index ac04450b68..1b6f4bb6f4 100644
--- a/src/gmp/__tests__/gmpsettings.js
+++ b/src/gmp/__tests__/gmpsettings.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {
describe,
test,
diff --git a/src/gmp/__tests__/log.js b/src/gmp/__tests__/log.js
index d3a8a65517..02339bc205 100644
--- a/src/gmp/__tests__/log.js
+++ b/src/gmp/__tests__/log.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {
describe,
test,
diff --git a/src/gmp/__tests__/model.js b/src/gmp/__tests__/model.js
index 2a1fea60a0..ec4ea244fc 100644
--- a/src/gmp/__tests__/model.js
+++ b/src/gmp/__tests__/model.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model, {parseModelFromElement} from 'gmp/model';
diff --git a/src/gmp/__tests__/parser.js b/src/gmp/__tests__/parser.js
index b828f0b0e2..8a0014a492 100644
--- a/src/gmp/__tests__/parser.js
+++ b/src/gmp/__tests__/parser.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {isDate, isDuration} from 'gmp/models/date';
diff --git a/src/gmp/__tests__/timezones.js b/src/gmp/__tests__/timezones.js
index 2934227caa..ae1e4bb1d9 100644
--- a/src/gmp/__tests__/timezones.js
+++ b/src/gmp/__tests__/timezones.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {isArray} from '../utils/identity';
diff --git a/src/gmp/cancel.js b/src/gmp/cancel.js
index 394f62f7cb..83ff6003dd 100644
--- a/src/gmp/cancel.js
+++ b/src/gmp/cancel.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
/*
diff --git a/src/gmp/capabilities/__tests__/capabilities.js b/src/gmp/capabilities/__tests__/capabilities.js
index f8741d0c93..835994a957 100644
--- a/src/gmp/capabilities/__tests__/capabilities.js
+++ b/src/gmp/capabilities/__tests__/capabilities.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from '../capabilities';
diff --git a/src/gmp/capabilities/__tests__/everything.js b/src/gmp/capabilities/__tests__/everything.js
index b19066a9a4..97cfb82f5b 100644
--- a/src/gmp/capabilities/__tests__/everything.js
+++ b/src/gmp/capabilities/__tests__/everything.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import EverythingCapabilities from '../everything';
diff --git a/src/gmp/capabilities/capabilities.js b/src/gmp/capabilities/capabilities.js
index 64a0c69eaa..aba48bccc9 100644
--- a/src/gmp/capabilities/capabilities.js
+++ b/src/gmp/capabilities/capabilities.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/capabilities/everything.js b/src/gmp/capabilities/everything.js
index 1ffbb07308..0332e1d623 100644
--- a/src/gmp/capabilities/everything.js
+++ b/src/gmp/capabilities/everything.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import Capabilities from './capabilities.js';
diff --git a/src/gmp/collection/collectioncounts.js b/src/gmp/collection/collectioncounts.js
index 2b7e0c1571..4c4cf0b157 100644
--- a/src/gmp/collection/collectioncounts.js
+++ b/src/gmp/collection/collectioncounts.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from '../utils/identity';
diff --git a/src/gmp/collection/parser.js b/src/gmp/collection/parser.js
index e200dfadc2..beb87f80b6 100644
--- a/src/gmp/collection/parser.js
+++ b/src/gmp/collection/parser.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from '../log';
import {isArray, isDefined} from '../utils/identity';
diff --git a/src/gmp/command.js b/src/gmp/command.js
index 58a63f0222..d3b0ef8943 100644
--- a/src/gmp/command.js
+++ b/src/gmp/command.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const COMMANDS = {};
const registerCommand = (name, clazz) => {
diff --git a/src/gmp/commands/__tests__/audit.js b/src/gmp/commands/__tests__/audit.js
index 26ebf37ff3..15bfd2a223 100644
--- a/src/gmp/commands/__tests__/audit.js
+++ b/src/gmp/commands/__tests__/audit.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {ALL_FILTER} from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/auth.js b/src/gmp/commands/__tests__/auth.js
index 8832b68d29..c76a9b1651 100644
--- a/src/gmp/commands/__tests__/auth.js
+++ b/src/gmp/commands/__tests__/auth.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {AuthenticationCommand} from '../auth';
diff --git a/src/gmp/commands/__tests__/convert.js b/src/gmp/commands/__tests__/convert.js
index 0ef1dd8418..9a48c745a3 100644
--- a/src/gmp/commands/__tests__/convert.js
+++ b/src/gmp/commands/__tests__/convert.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {convertBoolean} from '../convert';
diff --git a/src/gmp/commands/__tests__/dashboards.js b/src/gmp/commands/__tests__/dashboards.js
index dbf3a8b2cc..db46cb1282 100644
--- a/src/gmp/commands/__tests__/dashboards.js
+++ b/src/gmp/commands/__tests__/dashboards.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {DEFAULT_ROW_HEIGHT, createDisplay, createRow} from '../dashboards';
diff --git a/src/gmp/commands/__tests__/entities.js b/src/gmp/commands/__tests__/entities.js
index de6e407ce3..850e14c9dc 100644
--- a/src/gmp/commands/__tests__/entities.js
+++ b/src/gmp/commands/__tests__/entities.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/entity.js b/src/gmp/commands/__tests__/entity.js
index 389261f755..db1e6d1408 100644
--- a/src/gmp/commands/__tests__/entity.js
+++ b/src/gmp/commands/__tests__/entity.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/feedstatus.js b/src/gmp/commands/__tests__/feedstatus.js
index 38ed98b337..f36d60ce5c 100644
--- a/src/gmp/commands/__tests__/feedstatus.js
+++ b/src/gmp/commands/__tests__/feedstatus.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {createResponse, createHttp} from '../testing';
diff --git a/src/gmp/commands/__tests__/http.js b/src/gmp/commands/__tests__/http.js
index 050b516b26..6b7bf05011 100644
--- a/src/gmp/commands/__tests__/http.js
+++ b/src/gmp/commands/__tests__/http.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import HttpCommand from '../http';
diff --git a/src/gmp/commands/__tests__/license.js b/src/gmp/commands/__tests__/license.js
index 3b207941e4..4ce8d1bf79 100644
--- a/src/gmp/commands/__tests__/license.js
+++ b/src/gmp/commands/__tests__/license.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {createResponse, createHttp} from '../testing';
diff --git a/src/gmp/commands/__tests__/nvt.js b/src/gmp/commands/__tests__/nvt.js
index add299774a..35f7983afb 100644
--- a/src/gmp/commands/__tests__/nvt.js
+++ b/src/gmp/commands/__tests__/nvt.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {createResponse, createHttp} from '../testing';
diff --git a/src/gmp/commands/__tests__/nvtfamilies.js b/src/gmp/commands/__tests__/nvtfamilies.js
index 4416d958ff..1a126f8bc7 100644
--- a/src/gmp/commands/__tests__/nvtfamilies.js
+++ b/src/gmp/commands/__tests__/nvtfamilies.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {NvtFamiliesCommand} from '../nvtfamilies';
diff --git a/src/gmp/commands/__tests__/policies.js b/src/gmp/commands/__tests__/policies.js
index cf95d2e10c..d7cf9aff4a 100644
--- a/src/gmp/commands/__tests__/policies.js
+++ b/src/gmp/commands/__tests__/policies.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {ALL_FILTER} from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/policy.js b/src/gmp/commands/__tests__/policy.js
index d500fbe1fc..e463bd9f6d 100644
--- a/src/gmp/commands/__tests__/policy.js
+++ b/src/gmp/commands/__tests__/policy.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {
diff --git a/src/gmp/commands/__tests__/report.js b/src/gmp/commands/__tests__/report.js
index 488bc51c39..aaf6f5b568 100644
--- a/src/gmp/commands/__tests__/report.js
+++ b/src/gmp/commands/__tests__/report.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {createHttp, createEntityResponse} from '../testing';
diff --git a/src/gmp/commands/__tests__/reportconfig.js b/src/gmp/commands/__tests__/reportconfig.js
index 7446eaaaca..ac3d411441 100644
--- a/src/gmp/commands/__tests__/reportconfig.js
+++ b/src/gmp/commands/__tests__/reportconfig.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {
diff --git a/src/gmp/commands/__tests__/reportconfigs.js b/src/gmp/commands/__tests__/reportconfigs.js
index 309e192013..73dca45af7 100644
--- a/src/gmp/commands/__tests__/reportconfigs.js
+++ b/src/gmp/commands/__tests__/reportconfigs.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {createHttp, createEntitiesResponse} from '../testing';
diff --git a/src/gmp/commands/__tests__/reports.js b/src/gmp/commands/__tests__/reports.js
index f3d25a011f..07d7c03968 100644
--- a/src/gmp/commands/__tests__/reports.js
+++ b/src/gmp/commands/__tests__/reports.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {ALL_FILTER} from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/resourcenames.js b/src/gmp/commands/__tests__/resourcenames.js
index 38e7533b44..8ce3a05dad 100644
--- a/src/gmp/commands/__tests__/resourcenames.js
+++ b/src/gmp/commands/__tests__/resourcenames.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {createResponse, createHttp} from '../testing';
diff --git a/src/gmp/commands/__tests__/result.js b/src/gmp/commands/__tests__/result.js
index 140119ae1c..82e62e78c9 100644
--- a/src/gmp/commands/__tests__/result.js
+++ b/src/gmp/commands/__tests__/result.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {ResultCommand} from '../results';
diff --git a/src/gmp/commands/__tests__/results.js b/src/gmp/commands/__tests__/results.js
index a034361e52..8fd134b519 100644
--- a/src/gmp/commands/__tests__/results.js
+++ b/src/gmp/commands/__tests__/results.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {ALL_FILTER} from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/scanconfig.js b/src/gmp/commands/__tests__/scanconfig.js
index 9af29183ec..1f48398859 100644
--- a/src/gmp/commands/__tests__/scanconfig.js
+++ b/src/gmp/commands/__tests__/scanconfig.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {
diff --git a/src/gmp/commands/__tests__/tag.js b/src/gmp/commands/__tests__/tag.js
index 347d329e7b..e170c0b3f7 100644
--- a/src/gmp/commands/__tests__/tag.js
+++ b/src/gmp/commands/__tests__/tag.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {TagCommand} from '../tags';
diff --git a/src/gmp/commands/__tests__/target.js b/src/gmp/commands/__tests__/target.js
index 72075ac993..28810c043b 100644
--- a/src/gmp/commands/__tests__/target.js
+++ b/src/gmp/commands/__tests__/target.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {TargetCommand} from '../targets';
diff --git a/src/gmp/commands/__tests__/task.js b/src/gmp/commands/__tests__/task.js
index ed4cf24478..c7dce9ba09 100644
--- a/src/gmp/commands/__tests__/task.js
+++ b/src/gmp/commands/__tests__/task.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {TaskCommand} from '../tasks';
diff --git a/src/gmp/commands/__tests__/ticket.js b/src/gmp/commands/__tests__/ticket.js
index 7eaaff2e6f..3a8ef9eb27 100644
--- a/src/gmp/commands/__tests__/ticket.js
+++ b/src/gmp/commands/__tests__/ticket.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {TicketCommand} from '../tickets';
diff --git a/src/gmp/commands/__tests__/tickets.js b/src/gmp/commands/__tests__/tickets.js
index 3c6b664ed5..937593a3f1 100644
--- a/src/gmp/commands/__tests__/tickets.js
+++ b/src/gmp/commands/__tests__/tickets.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {ALL_FILTER} from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/tlscertificates.js b/src/gmp/commands/__tests__/tlscertificates.js
index 73748bacab..8d05fede38 100644
--- a/src/gmp/commands/__tests__/tlscertificates.js
+++ b/src/gmp/commands/__tests__/tlscertificates.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {ALL_FILTER} from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/user.js b/src/gmp/commands/__tests__/user.js
index e560e6ac75..17fe9d1ec9 100644
--- a/src/gmp/commands/__tests__/user.js
+++ b/src/gmp/commands/__tests__/user.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {UserCommand, transformSettingName} from '../users';
diff --git a/src/gmp/commands/alerts.js b/src/gmp/commands/alerts.js
index bfdae302ce..2dbfc320cb 100644
--- a/src/gmp/commands/alerts.js
+++ b/src/gmp/commands/alerts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import {map} from 'gmp/utils/array';
diff --git a/src/gmp/commands/audits.js b/src/gmp/commands/audits.js
index 56224f9f1d..2b2724c50a 100644
--- a/src/gmp/commands/audits.js
+++ b/src/gmp/commands/audits.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/auth.js b/src/gmp/commands/auth.js
index 44aeeb865e..fd1ac1563a 100644
--- a/src/gmp/commands/auth.js
+++ b/src/gmp/commands/auth.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from '../command';
import HttpCommand from './http';
diff --git a/src/gmp/commands/certbund.js b/src/gmp/commands/certbund.js
index c8ec4fff3a..55b21c5c8a 100644
--- a/src/gmp/commands/certbund.js
+++ b/src/gmp/commands/certbund.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/convert.js b/src/gmp/commands/convert.js
index ee98babf67..f79d589685 100644
--- a/src/gmp/commands/convert.js
+++ b/src/gmp/commands/convert.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import logger from 'gmp/log';
diff --git a/src/gmp/commands/cpes.js b/src/gmp/commands/cpes.js
index dfe5458752..39015d163f 100644
--- a/src/gmp/commands/cpes.js
+++ b/src/gmp/commands/cpes.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import InfoEntitiesCommand from './infoentities';
diff --git a/src/gmp/commands/credentials.js b/src/gmp/commands/credentials.js
index e69c10a70f..6205eb414b 100644
--- a/src/gmp/commands/credentials.js
+++ b/src/gmp/commands/credentials.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/cves.js b/src/gmp/commands/cves.js
index 8e7017a6e7..ed00ae13db 100644
--- a/src/gmp/commands/cves.js
+++ b/src/gmp/commands/cves.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/cvsscalculator.js b/src/gmp/commands/cvsscalculator.js
index 1be8e5a9fd..2aa00c507d 100644
--- a/src/gmp/commands/cvsscalculator.js
+++ b/src/gmp/commands/cvsscalculator.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import {parseSeverity} from 'gmp/parser';
diff --git a/src/gmp/commands/dashboards.js b/src/gmp/commands/dashboards.js
index 1bc79efabd..5c5f54ec7f 100644
--- a/src/gmp/commands/dashboards.js
+++ b/src/gmp/commands/dashboards.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {v4 as uuid} from 'uuid';
import {isArray, isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/dfncert.js b/src/gmp/commands/dfncert.js
index 32977e80a4..5838200f9d 100644
--- a/src/gmp/commands/dfncert.js
+++ b/src/gmp/commands/dfncert.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/entities.js b/src/gmp/commands/entities.js
index a75d465980..9c61da2bb0 100644
--- a/src/gmp/commands/entities.js
+++ b/src/gmp/commands/entities.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import {isDefined, isString} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/entity.js b/src/gmp/commands/entity.js
index 4b906be1af..71e0f3f28e 100644
--- a/src/gmp/commands/entity.js
+++ b/src/gmp/commands/entity.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/feedstatus.js b/src/gmp/commands/feedstatus.js
index 17faa5ef86..1150c54cb0 100644
--- a/src/gmp/commands/feedstatus.js
+++ b/src/gmp/commands/feedstatus.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import {parseDate} from 'gmp/parser';
diff --git a/src/gmp/commands/filters.js b/src/gmp/commands/filters.js
index d4cf808a62..eb63bc2f3d 100644
--- a/src/gmp/commands/filters.js
+++ b/src/gmp/commands/filters.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/gmp.js b/src/gmp/commands/gmp.js
index bf6fac3c52..256f078657 100644
--- a/src/gmp/commands/gmp.js
+++ b/src/gmp/commands/gmp.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined, hasValue} from 'gmp/utils/identity';
import ActionResult from 'gmp/models/actionresult';
diff --git a/src/gmp/commands/groups.js b/src/gmp/commands/groups.js
index 402d2acd6b..fd222d79a0 100644
--- a/src/gmp/commands/groups.js
+++ b/src/gmp/commands/groups.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import logger from 'gmp/log';
diff --git a/src/gmp/commands/hosts.js b/src/gmp/commands/hosts.js
index bc41197014..0788bcf29e 100644
--- a/src/gmp/commands/hosts.js
+++ b/src/gmp/commands/hosts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/http.js b/src/gmp/commands/http.js
index f743a6ffb6..9df4fcd88f 100644
--- a/src/gmp/commands/http.js
+++ b/src/gmp/commands/http.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
class HttpCommand {
diff --git a/src/gmp/commands/infoentities.js b/src/gmp/commands/infoentities.js
index 2a279432fb..439a73b598 100644
--- a/src/gmp/commands/infoentities.js
+++ b/src/gmp/commands/infoentities.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {
diff --git a/src/gmp/commands/infoentity.js b/src/gmp/commands/infoentity.js
index c3d17e5c09..ac9f40a664 100644
--- a/src/gmp/commands/infoentity.js
+++ b/src/gmp/commands/infoentity.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import EntityCommand from './entity';
class InfoEntityCommand extends EntityCommand {
diff --git a/src/gmp/commands/license.js b/src/gmp/commands/license.js
index 1f3ae01fc2..3a0e41146f 100644
--- a/src/gmp/commands/license.js
+++ b/src/gmp/commands/license.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/login.js b/src/gmp/commands/login.js
index 6dfd5d863d..2bdf054afe 100644
--- a/src/gmp/commands/login.js
+++ b/src/gmp/commands/login.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import _ from 'gmp/locale';
import HttpCommand from './http';
diff --git a/src/gmp/commands/notes.js b/src/gmp/commands/notes.js
index a7091d5cbc..b33cdfdf66 100644
--- a/src/gmp/commands/notes.js
+++ b/src/gmp/commands/notes.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/nvt.js b/src/gmp/commands/nvt.js
index dcdd6ce49e..a4bc99685d 100644
--- a/src/gmp/commands/nvt.js
+++ b/src/gmp/commands/nvt.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/nvtfamilies.js b/src/gmp/commands/nvtfamilies.js
index 784f389bfb..753c201f47 100644
--- a/src/gmp/commands/nvtfamilies.js
+++ b/src/gmp/commands/nvtfamilies.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {parseInt} from 'gmp/parser';
import {map} from 'gmp/utils/array';
@@ -31,9 +19,8 @@ export class NvtFamiliesCommand extends GmpCommand {
get(params, options) {
return this.httpGet(params, options).then(response => {
const {data} = response;
- const {
- family: families,
- } = data.get_nvt_families.get_nvt_families_response.families;
+ const {family: families} =
+ data.get_nvt_families.get_nvt_families_response.families;
return response.set(
map(families, family => ({
name: family.name,
diff --git a/src/gmp/commands/os.js b/src/gmp/commands/os.js
index ccd3970590..d891616b34 100644
--- a/src/gmp/commands/os.js
+++ b/src/gmp/commands/os.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import OperatingSystem from 'gmp/models/os';
diff --git a/src/gmp/commands/overrides.js b/src/gmp/commands/overrides.js
index dfeb8ce279..f1419c0647 100644
--- a/src/gmp/commands/overrides.js
+++ b/src/gmp/commands/overrides.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/performance.js b/src/gmp/commands/performance.js
index 2c4d78f47b..49f1d844d7 100644
--- a/src/gmp/commands/performance.js
+++ b/src/gmp/commands/performance.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined, isArray} from 'gmp/utils/identity';
import HttpCommand from './http';
diff --git a/src/gmp/commands/permissions.js b/src/gmp/commands/permissions.js
index 7d0574f99e..7a5ad9c4b9 100644
--- a/src/gmp/commands/permissions.js
+++ b/src/gmp/commands/permissions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/policies.js b/src/gmp/commands/policies.js
index c18260a626..4f10ab08f9 100644
--- a/src/gmp/commands/policies.js
+++ b/src/gmp/commands/policies.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import logger from 'gmp/log';
diff --git a/src/gmp/commands/portlists.js b/src/gmp/commands/portlists.js
index 093b9d83df..fd271c8b89 100644
--- a/src/gmp/commands/portlists.js
+++ b/src/gmp/commands/portlists.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/reportconfigs.js b/src/gmp/commands/reportconfigs.js
index d6c0695223..0982e7b924 100644
--- a/src/gmp/commands/reportconfigs.js
+++ b/src/gmp/commands/reportconfigs.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/reportformats.js b/src/gmp/commands/reportformats.js
index 034ec893f5..b234092a96 100644
--- a/src/gmp/commands/reportformats.js
+++ b/src/gmp/commands/reportformats.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/reports.js b/src/gmp/commands/reports.js
index 12b3cef8ee..a1027e9160 100644
--- a/src/gmp/commands/reports.js
+++ b/src/gmp/commands/reports.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/resourcenames.js b/src/gmp/commands/resourcenames.js
index 5c3676eefa..9bc2f959e6 100644
--- a/src/gmp/commands/resourcenames.js
+++ b/src/gmp/commands/resourcenames.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/results.js b/src/gmp/commands/results.js
index 2478d7c063..0b347f5094 100644
--- a/src/gmp/commands/results.js
+++ b/src/gmp/commands/results.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import Result from 'gmp/models/result';
diff --git a/src/gmp/commands/roles.js b/src/gmp/commands/roles.js
index 79d8464908..8301a3a0ff 100644
--- a/src/gmp/commands/roles.js
+++ b/src/gmp/commands/roles.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/scanconfigs.js b/src/gmp/commands/scanconfigs.js
index 75e00aee46..03424cc99a 100644
--- a/src/gmp/commands/scanconfigs.js
+++ b/src/gmp/commands/scanconfigs.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import logger from 'gmp/log';
diff --git a/src/gmp/commands/scanners.js b/src/gmp/commands/scanners.js
index f08dca971b..32ab7030e9 100644
--- a/src/gmp/commands/scanners.js
+++ b/src/gmp/commands/scanners.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/schedules.js b/src/gmp/commands/schedules.js
index 7dfac634a5..b71de1c445 100644
--- a/src/gmp/commands/schedules.js
+++ b/src/gmp/commands/schedules.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/tags.js b/src/gmp/commands/tags.js
index a363ff63cb..cde2719ab6 100644
--- a/src/gmp/commands/tags.js
+++ b/src/gmp/commands/tags.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/targets.js b/src/gmp/commands/targets.js
index 68b688cfa7..7fc429bcc1 100644
--- a/src/gmp/commands/targets.js
+++ b/src/gmp/commands/targets.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import {isString} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/tasks.js b/src/gmp/commands/tasks.js
index bbc1cf5440..73339a464a 100644
--- a/src/gmp/commands/tasks.js
+++ b/src/gmp/commands/tasks.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/testing.js b/src/gmp/commands/testing.js
index 2ed114a026..88aef23f09 100644
--- a/src/gmp/commands/testing.js
+++ b/src/gmp/commands/testing.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {testing} from '@gsa/testing';
diff --git a/src/gmp/commands/tickets.js b/src/gmp/commands/tickets.js
index 988a8650d6..fa525a78e5 100644
--- a/src/gmp/commands/tickets.js
+++ b/src/gmp/commands/tickets.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Ticket from 'gmp/models/ticket';
import EntitiesCommand from './entities';
diff --git a/src/gmp/commands/tlscertificates.js b/src/gmp/commands/tlscertificates.js
index 493c9dbb2a..6e926ba949 100644
--- a/src/gmp/commands/tlscertificates.js
+++ b/src/gmp/commands/tlscertificates.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import TlsCertificate from 'gmp/models/tlscertificate';
diff --git a/src/gmp/commands/trashcan.js b/src/gmp/commands/trashcan.js
index 1b9eeaf59d..3b4fb6739f 100644
--- a/src/gmp/commands/trashcan.js
+++ b/src/gmp/commands/trashcan.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import {apiType} from 'gmp/utils/entitytype';
diff --git a/src/gmp/commands/users.js b/src/gmp/commands/users.js
index 2870879216..65dcc9ab98 100644
--- a/src/gmp/commands/users.js
+++ b/src/gmp/commands/users.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/vulns.js b/src/gmp/commands/vulns.js
index 5aa9c7a180..d1f359fe1f 100644
--- a/src/gmp/commands/vulns.js
+++ b/src/gmp/commands/vulns.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import Vulnerability from 'gmp/models/vulnerability';
diff --git a/src/gmp/commands/wizard.js b/src/gmp/commands/wizard.js
index ab1f887fda..2943bfb577 100644
--- a/src/gmp/commands/wizard.js
+++ b/src/gmp/commands/wizard.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import {parseModelFromElement} from 'gmp/model';
diff --git a/src/gmp/gmp.js b/src/gmp/gmp.js
index bdf0e0ba97..463afccb7f 100644
--- a/src/gmp/gmp.js
+++ b/src/gmp/gmp.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/gmpsettings.js b/src/gmp/gmpsettings.js
index 7ce5fea16d..d870404312 100644
--- a/src/gmp/gmpsettings.js
+++ b/src/gmp/gmpsettings.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from './utils/identity';
diff --git a/src/gmp/http/__tests__/rejection.js b/src/gmp/http/__tests__/rejection.js
index 723f05ecf9..9faf6a1426 100644
--- a/src/gmp/http/__tests__/rejection.js
+++ b/src/gmp/http/__tests__/rejection.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Rejection from '../rejection';
diff --git a/src/gmp/http/__tests__/response.js b/src/gmp/http/__tests__/response.js
index 796a28e453..2144145551 100644
--- a/src/gmp/http/__tests__/response.js
+++ b/src/gmp/http/__tests__/response.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Response from '../response';
diff --git a/src/gmp/http/gmp.js b/src/gmp/http/gmp.js
index 39325d2380..caeb5f4c9e 100644
--- a/src/gmp/http/gmp.js
+++ b/src/gmp/http/gmp.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Http from './http';
import {buildServerUrl} from './utils';
diff --git a/src/gmp/http/http.js b/src/gmp/http/http.js
index 07186c6ce2..1be2a22080 100644
--- a/src/gmp/http/http.js
+++ b/src/gmp/http/http.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import _ from 'gmp/locale';
diff --git a/src/gmp/http/rejection.js b/src/gmp/http/rejection.js
index 145512be3b..be585947dd 100644
--- a/src/gmp/http/rejection.js
+++ b/src/gmp/http/rejection.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import _ from 'gmp/locale';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/http/response.js b/src/gmp/http/response.js
index 0756de557b..239a7b8332 100644
--- a/src/gmp/http/response.js
+++ b/src/gmp/http/response.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
class Response {
constructor(xhr, data, meta = {}) {
this._xhr = xhr;
diff --git a/src/gmp/http/transform/__tests__/fastxml.js b/src/gmp/http/transform/__tests__/fastxml.js
index f222c5308a..0a6581fee4 100644
--- a/src/gmp/http/transform/__tests__/fastxml.js
+++ b/src/gmp/http/transform/__tests__/fastxml.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import transform from '../fastxml';
diff --git a/src/gmp/http/transform/__tests__/xml.js b/src/gmp/http/transform/__tests__/xml.js
index b0c79aa943..87635205db 100644
--- a/src/gmp/http/transform/__tests__/xml.js
+++ b/src/gmp/http/transform/__tests__/xml.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {success, rejection} from '../xml';
diff --git a/src/gmp/http/transform/default.js b/src/gmp/http/transform/default.js
index 5e048f892f..acdd35041b 100644
--- a/src/gmp/http/transform/default.js
+++ b/src/gmp/http/transform/default.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
const noop = arg => arg;
diff --git a/src/gmp/http/transform/fastxml.js b/src/gmp/http/transform/fastxml.js
index 8403d0b9fe..d5c873fa1d 100644
--- a/src/gmp/http/transform/fastxml.js
+++ b/src/gmp/http/transform/fastxml.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {XMLParser} from 'fast-xml-parser';
import {parseEnvelopeMeta, parseXmlEncodedString} from 'gmp/parser';
diff --git a/src/gmp/http/transform/xml.js b/src/gmp/http/transform/xml.js
index f92777661d..5ad4f218c8 100644
--- a/src/gmp/http/transform/xml.js
+++ b/src/gmp/http/transform/xml.js
@@ -1,42 +1,32 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_} from 'gmp/locale/lang';
import {isDefined} from 'gmp/utils/identity';
import Rejection from 'gmp/http//rejection';
-export const success = transform => (response, options = {}) => {
- try {
- return transform(response);
- } catch (error) {
- throw new Rejection(
- response.xhr,
- Rejection.REASON_ERROR,
- _(
- 'An error occurred while converting gmp response to js for ' +
- 'url {{- url}}',
- {url: options.url},
- ),
- error,
- );
- }
-};
+export const success =
+ transform =>
+ (response, options = {}) => {
+ try {
+ return transform(response);
+ } catch (error) {
+ throw new Rejection(
+ response.xhr,
+ Rejection.REASON_ERROR,
+ _(
+ 'An error occurred while converting gmp response to js for ' +
+ 'url {{- url}}',
+ {url: options.url},
+ ),
+ error,
+ );
+ }
+ };
export const rejection = transform => (rej, options) => {
if (rej.isError && rej.isError()) {
diff --git a/src/gmp/http/utils.js b/src/gmp/http/utils.js
index 08f93ddb7d..0d9517252b 100644
--- a/src/gmp/http/utils.js
+++ b/src/gmp/http/utils.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/index.js b/src/gmp/index.js
index 4ebc21a5a4..9f07539914 100644
--- a/src/gmp/index.js
+++ b/src/gmp/index.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import Gmp from 'gmp/gmp';
diff --git a/src/gmp/locale/__tests__/date.js b/src/gmp/locale/__tests__/date.js
index 5e192f9731..c7ab574391 100644
--- a/src/gmp/locale/__tests__/date.js
+++ b/src/gmp/locale/__tests__/date.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import date, {setLocale as locale} from '../../models/date';
diff --git a/src/gmp/locale/__tests__/detector.js b/src/gmp/locale/__tests__/detector.js
index 062680da3f..7e8545b2e1 100644
--- a/src/gmp/locale/__tests__/detector.js
+++ b/src/gmp/locale/__tests__/detector.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {isFunction} from '../../utils/identity';
diff --git a/src/gmp/locale/__tests__/lang.js b/src/gmp/locale/__tests__/lang.js
index ace391aaf8..242f58980f 100644
--- a/src/gmp/locale/__tests__/lang.js
+++ b/src/gmp/locale/__tests__/lang.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/gmp/locale/__tests__/languages.js b/src/gmp/locale/__tests__/languages.js
index 305db992b1..235e02e65a 100644
--- a/src/gmp/locale/__tests__/languages.js
+++ b/src/gmp/locale/__tests__/languages.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/locale/date.js b/src/gmp/locale/date.js
index 273bab06f0..253a60b3a3 100644
--- a/src/gmp/locale/date.js
+++ b/src/gmp/locale/date.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import {isDefined, isString, isJsDate} from 'gmp/utils/identity';
diff --git a/src/gmp/locale/detector.js b/src/gmp/locale/detector.js
index efcd367858..20ffec1c8a 100644
--- a/src/gmp/locale/detector.js
+++ b/src/gmp/locale/detector.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {BROWSER_LANGUAGE} from './languages';
import logger from 'gmp/log';
diff --git a/src/gmp/locale/index.js b/src/gmp/locale/index.js
index 33ab014347..ab9089478f 100644
--- a/src/gmp/locale/index.js
+++ b/src/gmp/locale/index.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_} from './lang';
export default _;
diff --git a/src/gmp/locale/lang.js b/src/gmp/locale/lang.js
index 7ab9ad263e..8ba2b07226 100644
--- a/src/gmp/locale/lang.js
+++ b/src/gmp/locale/lang.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import i18next from 'i18next';
diff --git a/src/gmp/locale/languages.js b/src/gmp/locale/languages.js
index 654a38e815..37777a0c6a 100644
--- a/src/gmp/locale/languages.js
+++ b/src/gmp/locale/languages.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
export const BROWSER_LANGUAGE = 'Browser Language';
@@ -29,8 +16,8 @@ const Languages = {
name: 'English',
native_name: 'English',
},
- zh_TW: {
- name: 'Traditional Chinese',
+ zh_TW: {
+ name: 'Traditional Chinese',
native_name: '繁體中文',
},
};
diff --git a/src/gmp/log.js b/src/gmp/log.js
index ee383a6cd3..49105df4f1 100644
--- a/src/gmp/log.js
+++ b/src/gmp/log.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined, isString} from 'gmp/utils/identity';
diff --git a/src/gmp/model.js b/src/gmp/model.js
index 7abe0064e3..caf0594b8b 100644
--- a/src/gmp/model.js
+++ b/src/gmp/model.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
import {map} from 'gmp/utils/array';
diff --git a/src/gmp/models/__tests__/alert.js b/src/gmp/models/__tests__/alert.js
index d6fe044aaa..cde2afcc88 100644
--- a/src/gmp/models/__tests__/alert.js
+++ b/src/gmp/models/__tests__/alert.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/asset.js b/src/gmp/models/__tests__/asset.js
index 5ea402907d..215a42d523 100644
--- a/src/gmp/models/__tests__/asset.js
+++ b/src/gmp/models/__tests__/asset.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import Asset from 'gmp/models/asset';
diff --git a/src/gmp/models/__tests__/audit.js b/src/gmp/models/__tests__/audit.js
index 6dbcac6ec5..ee51713505 100644
--- a/src/gmp/models/__tests__/audit.js
+++ b/src/gmp/models/__tests__/audit.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Audit, {
diff --git a/src/gmp/models/__tests__/certbund.js b/src/gmp/models/__tests__/certbund.js
index 5985da25bb..a97e4fc8c3 100644
--- a/src/gmp/models/__tests__/certbund.js
+++ b/src/gmp/models/__tests__/certbund.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/cpe.js b/src/gmp/models/__tests__/cpe.js
index 7feeab293d..15ba18bf73 100644
--- a/src/gmp/models/__tests__/cpe.js
+++ b/src/gmp/models/__tests__/cpe.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/credential.js b/src/gmp/models/__tests__/credential.js
index 7658022a6f..c45dc4961d 100644
--- a/src/gmp/models/__tests__/credential.js
+++ b/src/gmp/models/__tests__/credential.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/cve.js b/src/gmp/models/__tests__/cve.js
index 8c361b9dbe..20bad7cfd6 100644
--- a/src/gmp/models/__tests__/cve.js
+++ b/src/gmp/models/__tests__/cve.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/dfncert.js b/src/gmp/models/__tests__/dfncert.js
index 01d3472b78..80db18c103 100644
--- a/src/gmp/models/__tests__/dfncert.js
+++ b/src/gmp/models/__tests__/dfncert.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/event.js b/src/gmp/models/__tests__/event.js
index b85f5cf52b..7fa5d96b21 100644
--- a/src/gmp/models/__tests__/event.js
+++ b/src/gmp/models/__tests__/event.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import date from '../date';
diff --git a/src/gmp/models/__tests__/filter.js b/src/gmp/models/__tests__/filter.js
index a9c5d84b19..9d9699417d 100644
--- a/src/gmp/models/__tests__/filter.js
+++ b/src/gmp/models/__tests__/filter.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {isArray} from '../../utils/identity';
diff --git a/src/gmp/models/__tests__/group.js b/src/gmp/models/__tests__/group.js
index 4d01656450..5f14863f4b 100644
--- a/src/gmp/models/__tests__/group.js
+++ b/src/gmp/models/__tests__/group.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Group from '../group';
diff --git a/src/gmp/models/__tests__/host.js b/src/gmp/models/__tests__/host.js
index 38241bb347..ab6996f57d 100644
--- a/src/gmp/models/__tests__/host.js
+++ b/src/gmp/models/__tests__/host.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Asset from 'gmp/models/asset';
diff --git a/src/gmp/models/__tests__/info.js b/src/gmp/models/__tests__/info.js
index 1bd7d02bd0..339dc99b61 100644
--- a/src/gmp/models/__tests__/info.js
+++ b/src/gmp/models/__tests__/info.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import Info from 'gmp/models/info';
diff --git a/src/gmp/models/__tests__/license.js b/src/gmp/models/__tests__/license.js
index 43af8ef9d5..074cdf63da 100644
--- a/src/gmp/models/__tests__/license.js
+++ b/src/gmp/models/__tests__/license.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/login.js b/src/gmp/models/__tests__/login.js
index a8a7f7a1ad..5bfa3c6993 100644
--- a/src/gmp/models/__tests__/login.js
+++ b/src/gmp/models/__tests__/login.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {isDate} from 'gmp/models/date';
diff --git a/src/gmp/models/__tests__/note.js b/src/gmp/models/__tests__/note.js
index 26f8ecd5d7..7508c56876 100644
--- a/src/gmp/models/__tests__/note.js
+++ b/src/gmp/models/__tests__/note.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/gmp/models/__tests__/nvt.js b/src/gmp/models/__tests__/nvt.js
index 2b80865b58..e02740d905 100644
--- a/src/gmp/models/__tests__/nvt.js
+++ b/src/gmp/models/__tests__/nvt.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/os.js b/src/gmp/models/__tests__/os.js
index 798ed5059b..919dfbdb8d 100644
--- a/src/gmp/models/__tests__/os.js
+++ b/src/gmp/models/__tests__/os.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Asset from 'gmp/models/asset';
diff --git a/src/gmp/models/__tests__/override.js b/src/gmp/models/__tests__/override.js
index 7883a8380d..5257046094 100644
--- a/src/gmp/models/__tests__/override.js
+++ b/src/gmp/models/__tests__/override.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/gmp/models/__tests__/permission.js b/src/gmp/models/__tests__/permission.js
index 4c8ce68fe4..d71f51418b 100644
--- a/src/gmp/models/__tests__/permission.js
+++ b/src/gmp/models/__tests__/permission.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/gmp/models/__tests__/policy.js b/src/gmp/models/__tests__/policy.js
index 30855973b2..66f9b6a18e 100644
--- a/src/gmp/models/__tests__/policy.js
+++ b/src/gmp/models/__tests__/policy.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/portlist.js b/src/gmp/models/__tests__/portlist.js
index d15e8486fd..105ad1c3c7 100644
--- a/src/gmp/models/__tests__/portlist.js
+++ b/src/gmp/models/__tests__/portlist.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/gmp/models/__tests__/reportconfig.js b/src/gmp/models/__tests__/reportconfig.js
index 588591fca4..107a2c9a43 100644
--- a/src/gmp/models/__tests__/reportconfig.js
+++ b/src/gmp/models/__tests__/reportconfig.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/reportformat.js b/src/gmp/models/__tests__/reportformat.js
index fd772bfc9a..8d9aea3eed 100644
--- a/src/gmp/models/__tests__/reportformat.js
+++ b/src/gmp/models/__tests__/reportformat.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/resourcename.js b/src/gmp/models/__tests__/resourcename.js
index 8ecddadf03..d8ef304722 100644
--- a/src/gmp/models/__tests__/resourcename.js
+++ b/src/gmp/models/__tests__/resourcename.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/result.js b/src/gmp/models/__tests__/result.js
index da1e5ddb9e..d7a6018e29 100644
--- a/src/gmp/models/__tests__/result.js
+++ b/src/gmp/models/__tests__/result.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/role.js b/src/gmp/models/__tests__/role.js
index 74eff56d76..d7f8c57c8c 100644
--- a/src/gmp/models/__tests__/role.js
+++ b/src/gmp/models/__tests__/role.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/scanconfig.js b/src/gmp/models/__tests__/scanconfig.js
index de6d79f2af..7088043cc4 100644
--- a/src/gmp/models/__tests__/scanconfig.js
+++ b/src/gmp/models/__tests__/scanconfig.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/scanner.js b/src/gmp/models/__tests__/scanner.js
index 1e6fefff3c..1512d532dc 100644
--- a/src/gmp/models/__tests__/scanner.js
+++ b/src/gmp/models/__tests__/scanner.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/schedule.js b/src/gmp/models/__tests__/schedule.js
index d4b201a802..87e02aba4d 100644
--- a/src/gmp/models/__tests__/schedule.js
+++ b/src/gmp/models/__tests__/schedule.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/secinfo.js b/src/gmp/models/__tests__/secinfo.js
index f9a4dce785..5846d7787d 100644
--- a/src/gmp/models/__tests__/secinfo.js
+++ b/src/gmp/models/__tests__/secinfo.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Info from 'gmp/models/info';
diff --git a/src/gmp/models/__tests__/setting.js b/src/gmp/models/__tests__/setting.js
index 3ea9847a27..de6ace053f 100644
--- a/src/gmp/models/__tests__/setting.js
+++ b/src/gmp/models/__tests__/setting.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Setting from '../setting';
diff --git a/src/gmp/models/__tests__/settings.js b/src/gmp/models/__tests__/settings.js
index 3f671b552c..1d4bcee408 100644
--- a/src/gmp/models/__tests__/settings.js
+++ b/src/gmp/models/__tests__/settings.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Settings from 'gmp/models/settings';
diff --git a/src/gmp/models/__tests__/tag.js b/src/gmp/models/__tests__/tag.js
index 4684bd7f7a..1e5196ebe0 100644
--- a/src/gmp/models/__tests__/tag.js
+++ b/src/gmp/models/__tests__/tag.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Tag from 'gmp/models/tag';
diff --git a/src/gmp/models/__tests__/target.js b/src/gmp/models/__tests__/target.js
index 0e59783f1d..4a68e93e9f 100644
--- a/src/gmp/models/__tests__/target.js
+++ b/src/gmp/models/__tests__/target.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/gmp/models/__tests__/task.js b/src/gmp/models/__tests__/task.js
index 7e54dbfa82..b7d47ed7e9 100644
--- a/src/gmp/models/__tests__/task.js
+++ b/src/gmp/models/__tests__/task.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/gmp/models/__tests__/ticket.js b/src/gmp/models/__tests__/ticket.js
index 6e065ffcf5..34dbee5073 100644
--- a/src/gmp/models/__tests__/ticket.js
+++ b/src/gmp/models/__tests__/ticket.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Ticket from '../ticket';
diff --git a/src/gmp/models/__tests__/tlscertificate.js b/src/gmp/models/__tests__/tlscertificate.js
index 3013a50417..3b15042c7c 100644
--- a/src/gmp/models/__tests__/tlscertificate.js
+++ b/src/gmp/models/__tests__/tlscertificate.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import TlsCertificate, {TIME_STATUS} from '../tlscertificate';
diff --git a/src/gmp/models/__tests__/user.js b/src/gmp/models/__tests__/user.js
index e524050211..0fdd44a1dd 100644
--- a/src/gmp/models/__tests__/user.js
+++ b/src/gmp/models/__tests__/user.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/gmp/models/__tests__/vulnerability.js b/src/gmp/models/__tests__/vulnerability.js
index a5dbc0fa3c..7f9404d42f 100644
--- a/src/gmp/models/__tests__/vulnerability.js
+++ b/src/gmp/models/__tests__/vulnerability.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import Vulnerability from 'gmp/models/vulnerability';
diff --git a/src/gmp/models/actionresult.js b/src/gmp/models/actionresult.js
index eb4b66fb8e..73375a3282 100644
--- a/src/gmp/models/actionresult.js
+++ b/src/gmp/models/actionresult.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {setProperties} from 'gmp/parser';
class ActionResult {
diff --git a/src/gmp/models/alert.js b/src/gmp/models/alert.js
index 35041709d3..fbf3eef5b6 100644
--- a/src/gmp/models/alert.js
+++ b/src/gmp/models/alert.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined, isObject} from 'gmp/utils/identity';
diff --git a/src/gmp/models/asset.js b/src/gmp/models/asset.js
index 1d5d85c26b..58e7f1ebd1 100644
--- a/src/gmp/models/asset.js
+++ b/src/gmp/models/asset.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Model from 'gmp/model';
class Asset extends Model {
diff --git a/src/gmp/models/audit.js b/src/gmp/models/audit.js
index 5c4c953c26..ecf64c67de 100644
--- a/src/gmp/models/audit.js
+++ b/src/gmp/models/audit.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined, isArray, isString} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
import {map} from 'gmp/utils/array';
diff --git a/src/gmp/models/certbund.js b/src/gmp/models/certbund.js
index 4f80a49ce4..ac71191623 100644
--- a/src/gmp/models/certbund.js
+++ b/src/gmp/models/certbund.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {forEach, map} from 'gmp/utils/array';
diff --git a/src/gmp/models/cpe.js b/src/gmp/models/cpe.js
index e93c3c4576..5f4d343a12 100644
--- a/src/gmp/models/cpe.js
+++ b/src/gmp/models/cpe.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/credential.js b/src/gmp/models/credential.js
index 738a8ed44b..36a78c58eb 100644
--- a/src/gmp/models/credential.js
+++ b/src/gmp/models/credential.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Model, {parseModelFromElement} from 'gmp/model';
import {_l} from 'gmp/locale/lang';
diff --git a/src/gmp/models/cve.js b/src/gmp/models/cve.js
index 0ca36203a6..b068a58c69 100644
--- a/src/gmp/models/cve.js
+++ b/src/gmp/models/cve.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isArray, isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/date.js b/src/gmp/models/date.js
index 4b65d953bd..a0288710d6 100644
--- a/src/gmp/models/date.js
+++ b/src/gmp/models/date.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import moment from 'moment-timezone';
import 'moment/locale/ar';
diff --git a/src/gmp/models/dfncert.js b/src/gmp/models/dfncert.js
index 8f6ea427ee..de63103e5f 100644
--- a/src/gmp/models/dfncert.js
+++ b/src/gmp/models/dfncert.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {forEach, map} from 'gmp/utils/array';
diff --git a/src/gmp/models/event.js b/src/gmp/models/event.js
index 80f97ac658..a413fcb494 100644
--- a/src/gmp/models/event.js
+++ b/src/gmp/models/event.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import ical from 'ical.js';
diff --git a/src/gmp/models/filter.js b/src/gmp/models/filter.js
index b884ceec00..630f12939d 100644
--- a/src/gmp/models/filter.js
+++ b/src/gmp/models/filter.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined, isString, isArray, hasValue} from 'gmp/utils/identity';
diff --git a/src/gmp/models/filter/__tests__/convert.js b/src/gmp/models/filter/__tests__/convert.js
index f7d740b88d..3c2a9b71be 100644
--- a/src/gmp/models/filter/__tests__/convert.js
+++ b/src/gmp/models/filter/__tests__/convert.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import convert from '../convert';
diff --git a/src/gmp/models/filter/__tests__/filterterm.js b/src/gmp/models/filter/__tests__/filterterm.js
index 78d15e443e..d7376fe088 100644
--- a/src/gmp/models/filter/__tests__/filterterm.js
+++ b/src/gmp/models/filter/__tests__/filterterm.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import FilterTerm from '../filterterm.js';
diff --git a/src/gmp/models/filter/__tests__/utils.js b/src/gmp/models/filter/__tests__/utils.js
index 21047adf48..6e7607ccfc 100644
--- a/src/gmp/models/filter/__tests__/utils.js
+++ b/src/gmp/models/filter/__tests__/utils.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {filter_string} from '../utils';
diff --git a/src/gmp/models/filter/convert.js b/src/gmp/models/filter/convert.js
index 37962e0022..bb18026ded 100644
--- a/src/gmp/models/filter/convert.js
+++ b/src/gmp/models/filter/convert.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined, isNumberOrNumberString} from '../../utils/identity';
diff --git a/src/gmp/models/filter/filterterm.js b/src/gmp/models/filter/filterterm.js
index 4f06cc4b59..c63dbd3f41 100644
--- a/src/gmp/models/filter/filterterm.js
+++ b/src/gmp/models/filter/filterterm.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from '../../utils/identity';
diff --git a/src/gmp/models/filter/keywords.js b/src/gmp/models/filter/keywords.js
index 0568285b18..bbc4e8d305 100644
--- a/src/gmp/models/filter/keywords.js
+++ b/src/gmp/models/filter/keywords.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
export const EXTRA_KEYWORDS = [
diff --git a/src/gmp/models/filter/utils.js b/src/gmp/models/filter/utils.js
index 25ed2976a6..675cb687cb 100644
--- a/src/gmp/models/filter/utils.js
+++ b/src/gmp/models/filter/utils.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from '../../utils/identity';
diff --git a/src/gmp/models/group.js b/src/gmp/models/group.js
index a12bd850d4..c6d4d59c0c 100644
--- a/src/gmp/models/group.js
+++ b/src/gmp/models/group.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {parseCsv} from 'gmp/parser';
import Model from 'gmp/model';
diff --git a/src/gmp/models/host.js b/src/gmp/models/host.js
index 62b23e01b0..f9f218068f 100644
--- a/src/gmp/models/host.js
+++ b/src/gmp/models/host.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/info.js b/src/gmp/models/info.js
index 1c24a12525..25df19ccaf 100644
--- a/src/gmp/models/info.js
+++ b/src/gmp/models/info.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/license.js b/src/gmp/models/license.js
index b9c38979b7..82e9b70687 100644
--- a/src/gmp/models/license.js
+++ b/src/gmp/models/license.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import _ from 'gmp/locale';
diff --git a/src/gmp/models/login.js b/src/gmp/models/login.js
index 6c13374d79..3b401a69ab 100644
--- a/src/gmp/models/login.js
+++ b/src/gmp/models/login.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {parseInt} from 'gmp/parser';
import moment from 'gmp/models/date';
diff --git a/src/gmp/models/note.js b/src/gmp/models/note.js
index c3857a7104..583eceb6ed 100644
--- a/src/gmp/models/note.js
+++ b/src/gmp/models/note.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isModelElement} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
diff --git a/src/gmp/models/nvt.js b/src/gmp/models/nvt.js
index ab1d06c585..dc86177851 100644
--- a/src/gmp/models/nvt.js
+++ b/src/gmp/models/nvt.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined, isArray, isString} from 'gmp/utils/identity';
diff --git a/src/gmp/models/os.js b/src/gmp/models/os.js
index 19d0bac911..347c1ce31b 100644
--- a/src/gmp/models/os.js
+++ b/src/gmp/models/os.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Asset from './asset';
import {parseSeverity} from 'gmp/parser';
diff --git a/src/gmp/models/override.js b/src/gmp/models/override.js
index e3989da9cb..1be5f6894e 100644
--- a/src/gmp/models/override.js
+++ b/src/gmp/models/override.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isModelElement} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
diff --git a/src/gmp/models/permission.js b/src/gmp/models/permission.js
index f013361743..8912a4d0d5 100644
--- a/src/gmp/models/permission.js
+++ b/src/gmp/models/permission.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/policy.js b/src/gmp/models/policy.js
index 5d71bdfc23..9d0f81d41a 100644
--- a/src/gmp/models/policy.js
+++ b/src/gmp/models/policy.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/portlist.js b/src/gmp/models/portlist.js
index 83c2f19de1..aa3397e9f5 100644
--- a/src/gmp/models/portlist.js
+++ b/src/gmp/models/portlist.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {map} from 'gmp/utils/array';
diff --git a/src/gmp/models/report.js b/src/gmp/models/report.js
index 293d084846..d97fd8c6d0 100644
--- a/src/gmp/models/report.js
+++ b/src/gmp/models/report.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {parseSeverity, parseDate} from 'gmp/parser';
diff --git a/src/gmp/models/report/__tests__/app.js b/src/gmp/models/report/__tests__/app.js
index eb1374a7b5..d3a72d8f72 100644
--- a/src/gmp/models/report/__tests__/app.js
+++ b/src/gmp/models/report/__tests__/app.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import App from '../app';
diff --git a/src/gmp/models/report/__tests__/cve.js b/src/gmp/models/report/__tests__/cve.js
index c7e68a05bd..59949c9778 100644
--- a/src/gmp/models/report/__tests__/cve.js
+++ b/src/gmp/models/report/__tests__/cve.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import ReportCve from '../cve';
diff --git a/src/gmp/models/report/__tests__/host.js b/src/gmp/models/report/__tests__/host.js
index 5985f3e663..a98bb10c46 100644
--- a/src/gmp/models/report/__tests__/host.js
+++ b/src/gmp/models/report/__tests__/host.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import ReportHost from '../host';
diff --git a/src/gmp/models/report/__tests__/os.js b/src/gmp/models/report/__tests__/os.js
index 2bfd382d05..1a7daa4cef 100644
--- a/src/gmp/models/report/__tests__/os.js
+++ b/src/gmp/models/report/__tests__/os.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import ReportOperatingSystem from '../os';
diff --git a/src/gmp/models/report/__tests__/parser.js b/src/gmp/models/report/__tests__/parser.js
index c3888e9f6e..32948845cd 100644
--- a/src/gmp/models/report/__tests__/parser.js
+++ b/src/gmp/models/report/__tests__/parser.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {
diff --git a/src/gmp/models/report/__tests__/port.js b/src/gmp/models/report/__tests__/port.js
index 0cb412f854..cc925feb7d 100644
--- a/src/gmp/models/report/__tests__/port.js
+++ b/src/gmp/models/report/__tests__/port.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import ReportPort from '../port';
diff --git a/src/gmp/models/report/__tests__/task.js b/src/gmp/models/report/__tests__/task.js
index 2924fd0155..75e2eeea9d 100644
--- a/src/gmp/models/report/__tests__/task.js
+++ b/src/gmp/models/report/__tests__/task.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import ReportTask from '../task';
diff --git a/src/gmp/models/report/__tests__/tlscertificate.js b/src/gmp/models/report/__tests__/tlscertificate.js
index 651dc0e47b..29fd7fe0d8 100644
--- a/src/gmp/models/report/__tests__/tlscertificate.js
+++ b/src/gmp/models/report/__tests__/tlscertificate.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import ReportTlsCertificate from '../tlscertificate';
diff --git a/src/gmp/models/report/app.js b/src/gmp/models/report/app.js
index 64a6eadc7d..7a715a3729 100644
--- a/src/gmp/models/report/app.js
+++ b/src/gmp/models/report/app.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {parseSeverity, setProperties} from 'gmp/parser';
diff --git a/src/gmp/models/report/cve.js b/src/gmp/models/report/cve.js
index c80f21cab2..3a04353d4b 100644
--- a/src/gmp/models/report/cve.js
+++ b/src/gmp/models/report/cve.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from '../../utils/identity';
import {setProperties, parseSeverity} from '../../parser';
diff --git a/src/gmp/models/report/host.js b/src/gmp/models/report/host.js
index 26148755e9..a892d6d567 100644
--- a/src/gmp/models/report/host.js
+++ b/src/gmp/models/report/host.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isArray, isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/report/os.js b/src/gmp/models/report/os.js
index 04e86dd2db..e90ed54b94 100644
--- a/src/gmp/models/report/os.js
+++ b/src/gmp/models/report/os.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {setProperties} from 'gmp/parser';
diff --git a/src/gmp/models/report/parser.js b/src/gmp/models/report/parser.js
index 6adf55208c..5895286acb 100644
--- a/src/gmp/models/report/parser.js
+++ b/src/gmp/models/report/parser.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/report/port.js b/src/gmp/models/report/port.js
index e6c364dcda..ef39cef5bc 100644
--- a/src/gmp/models/report/port.js
+++ b/src/gmp/models/report/port.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from '../../utils/identity';
diff --git a/src/gmp/models/report/report.js b/src/gmp/models/report/report.js
index 28c1599cb7..e12aec9f49 100644
--- a/src/gmp/models/report/report.js
+++ b/src/gmp/models/report/report.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from '../../utils/identity';
import {isEmpty} from '../../utils/string';
@@ -48,15 +36,8 @@ class ReportReport extends Model {
static parseElement(element) {
const copy = super.parseElement(element);
- const {
- delta,
- severity,
- scan_start,
- scan_end,
- task,
- scan,
- timestamp,
- } = element;
+ const {delta, severity, scan_start, scan_end, task, scan, timestamp} =
+ element;
const filter = parseFilter(element);
diff --git a/src/gmp/models/report/task.js b/src/gmp/models/report/task.js
index 5e31329895..67116e5977 100644
--- a/src/gmp/models/report/task.js
+++ b/src/gmp/models/report/task.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from '../../utils/identity';
import {isEmpty} from '../../utils/string';
diff --git a/src/gmp/models/report/tlscertificate.js b/src/gmp/models/report/tlscertificate.js
index 9886c1e321..30b67d9304 100644
--- a/src/gmp/models/report/tlscertificate.js
+++ b/src/gmp/models/report/tlscertificate.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/reportconfig.js b/src/gmp/models/reportconfig.js
index 100d9c8e73..fbdb115f85 100644
--- a/src/gmp/models/reportconfig.js
+++ b/src/gmp/models/reportconfig.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined, isObject} from 'gmp/utils/identity';
import {forEach, map} from 'gmp/utils/array';
diff --git a/src/gmp/models/reportformat.js b/src/gmp/models/reportformat.js
index bc9eb2f321..6891eeea28 100644
--- a/src/gmp/models/reportformat.js
+++ b/src/gmp/models/reportformat.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined, isObject} from 'gmp/utils/identity';
import {forEach, map} from 'gmp/utils/array';
import {isEmpty} from 'gmp/utils/string';
diff --git a/src/gmp/models/resourcename.js b/src/gmp/models/resourcename.js
index 2e9793392c..299f4591ac 100644
--- a/src/gmp/models/resourcename.js
+++ b/src/gmp/models/resourcename.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
export class ResourceName {
diff --git a/src/gmp/models/result.js b/src/gmp/models/result.js
index 81cf0e932c..480420797f 100644
--- a/src/gmp/models/result.js
+++ b/src/gmp/models/result.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {forEach, map} from 'gmp/utils/array';
diff --git a/src/gmp/models/role.js b/src/gmp/models/role.js
index 369d483066..f9cf8c1e3e 100644
--- a/src/gmp/models/role.js
+++ b/src/gmp/models/role.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {parseCsv} from 'gmp/parser';
import Model from 'gmp/model';
diff --git a/src/gmp/models/scanconfig.js b/src/gmp/models/scanconfig.js
index 1561b67a76..59ba4266d8 100644
--- a/src/gmp/models/scanconfig.js
+++ b/src/gmp/models/scanconfig.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/scanner.js b/src/gmp/models/scanner.js
index b26e0beef2..6ec5ed59cc 100644
--- a/src/gmp/models/scanner.js
+++ b/src/gmp/models/scanner.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_} from 'gmp/locale/lang';
import {isDefined, isString} from 'gmp/utils/identity';
diff --git a/src/gmp/models/schedule.js b/src/gmp/models/schedule.js
index 578b7507c5..5973edd811 100644
--- a/src/gmp/models/schedule.js
+++ b/src/gmp/models/schedule.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import {isDefined} from 'gmp/utils/identity';
import {map} from 'gmp/utils/array';
diff --git a/src/gmp/models/secinfo.js b/src/gmp/models/secinfo.js
index 472ec46d00..3160b1cedf 100644
--- a/src/gmp/models/secinfo.js
+++ b/src/gmp/models/secinfo.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_} from 'gmp/locale/lang';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/setting.js b/src/gmp/models/setting.js
index 3339ca63f7..ef287de507 100644
--- a/src/gmp/models/setting.js
+++ b/src/gmp/models/setting.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isEmpty} from 'gmp/utils/string';
class Setting {
diff --git a/src/gmp/models/settings.js b/src/gmp/models/settings.js
index 40e9405af1..929cace9e9 100644
--- a/src/gmp/models/settings.js
+++ b/src/gmp/models/settings.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/tag.js b/src/gmp/models/tag.js
index 99d9ea81ca..575548364e 100644
--- a/src/gmp/models/tag.js
+++ b/src/gmp/models/tag.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {normalizeType} from 'gmp/utils/entitytype';
import {isDefined} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
diff --git a/src/gmp/models/target.js b/src/gmp/models/target.js
index 1be3d3d2d7..c907f32a3e 100644
--- a/src/gmp/models/target.js
+++ b/src/gmp/models/target.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Model, {parseModelFromElement} from 'gmp/model';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/task.js b/src/gmp/models/task.js
index c52cb8dcdb..74ca27e6ad 100644
--- a/src/gmp/models/task.js
+++ b/src/gmp/models/task.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {isDefined, isArray, isString} from 'gmp/utils/identity';
diff --git a/src/gmp/models/testing.js b/src/gmp/models/testing.js
index 05b11ca28b..13ff097fd0 100644
--- a/src/gmp/models/testing.js
+++ b/src/gmp/models/testing.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/ticket.js b/src/gmp/models/ticket.js
index 85376ace67..5c0447d497 100644
--- a/src/gmp/models/ticket.js
+++ b/src/gmp/models/ticket.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {parseSeverity, parseDate, parseText} from 'gmp/parser';
diff --git a/src/gmp/models/tlscertificate.js b/src/gmp/models/tlscertificate.js
index ff592ce5b9..6e3f89132a 100644
--- a/src/gmp/models/tlscertificate.js
+++ b/src/gmp/models/tlscertificate.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {_l} from 'gmp/locale/lang';
diff --git a/src/gmp/models/user.js b/src/gmp/models/user.js
index ff8bd0c119..073b2f4bd5 100644
--- a/src/gmp/models/user.js
+++ b/src/gmp/models/user.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/vulnerability.js b/src/gmp/models/vulnerability.js
index e0522c8e20..d7afd687ae 100644
--- a/src/gmp/models/vulnerability.js
+++ b/src/gmp/models/vulnerability.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Model from 'gmp/model';
import {isDefined} from 'gmp/utils/identity';
import {parseDate} from 'gmp/parser';
diff --git a/src/gmp/parser.js b/src/gmp/parser.js
index b8672c945f..375c075404 100644
--- a/src/gmp/parser.js
+++ b/src/gmp/parser.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined, isString, isNumber, isArray} from 'gmp/utils/identity';
diff --git a/src/gmp/parser/cvss.js b/src/gmp/parser/cvss.js
index 74fbdedd82..d83005ed86 100644
--- a/src/gmp/parser/cvss.js
+++ b/src/gmp/parser/cvss.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/timezones.js b/src/gmp/timezones.js
index 278ca4769b..eec5a8266c 100644
--- a/src/gmp/timezones.js
+++ b/src/gmp/timezones.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
const timezones = [
diff --git a/src/gmp/utils/__tests__/array.js b/src/gmp/utils/__tests__/array.js
index 4e38194ee2..619cab1dcb 100644
--- a/src/gmp/utils/__tests__/array.js
+++ b/src/gmp/utils/__tests__/array.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {arraysEqual, map, forEach, filter, first} from '../array';
diff --git a/src/gmp/utils/__tests__/entitytype.js b/src/gmp/utils/__tests__/entitytype.js
index 8ee8f63246..ba3f6bedb9 100644
--- a/src/gmp/utils/__tests__/entitytype.js
+++ b/src/gmp/utils/__tests__/entitytype.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {parseModelFromElement} from 'gmp/model';
diff --git a/src/gmp/utils/__tests__/event.js b/src/gmp/utils/__tests__/event.js
index 305525936e..67724f8910 100644
--- a/src/gmp/utils/__tests__/event.js
+++ b/src/gmp/utils/__tests__/event.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {debounce, throttleAnimation} from '../event';
diff --git a/src/gmp/utils/__tests__/id.js b/src/gmp/utils/__tests__/id.js
index 93ed129474..24d196701c 100644
--- a/src/gmp/utils/__tests__/id.js
+++ b/src/gmp/utils/__tests__/id.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {includesId, selectSaveId, hasId} from '../id';
diff --git a/src/gmp/utils/__tests__/identity.js b/src/gmp/utils/__tests__/identity.js
index 7d1f0a85a5..713c504ca1 100644
--- a/src/gmp/utils/__tests__/identity.js
+++ b/src/gmp/utils/__tests__/identity.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {
diff --git a/src/gmp/utils/__tests__/number.js b/src/gmp/utils/__tests__/number.js
index 04988909b3..3725cfa520 100644
--- a/src/gmp/utils/__tests__/number.js
+++ b/src/gmp/utils/__tests__/number.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {severityValue, fixedValue} from 'gmp/utils/number';
diff --git a/src/gmp/utils/__tests__/object.js b/src/gmp/utils/__tests__/object.js
index 84b99641dd..24e8f5b7db 100644
--- a/src/gmp/utils/__tests__/object.js
+++ b/src/gmp/utils/__tests__/object.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {exclude, excludeObjectProps} from '../object';
diff --git a/src/gmp/utils/__tests__/string.js b/src/gmp/utils/__tests__/string.js
index 747e8f31ad..a0a720c534 100644
--- a/src/gmp/utils/__tests__/string.js
+++ b/src/gmp/utils/__tests__/string.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {split, capitalizeFirstLetter, shorten, isEmpty} from '../string';
diff --git a/src/gmp/utils/array.js b/src/gmp/utils/array.js
index 1854474914..c0ea6b3921 100644
--- a/src/gmp/utils/array.js
+++ b/src/gmp/utils/array.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {hasValue, isDefined, isArray} from './identity';
diff --git a/src/gmp/utils/entitytype.js b/src/gmp/utils/entitytype.js
index 09aba22f6b..6938a59eb1 100644
--- a/src/gmp/utils/entitytype.js
+++ b/src/gmp/utils/entitytype.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {isDefined} from './identity';
diff --git a/src/gmp/utils/event.js b/src/gmp/utils/event.js
index e779d438ef..5334082bc3 100644
--- a/src/gmp/utils/event.js
+++ b/src/gmp/utils/event.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const KeyCode = {
ESC: 27,
BACKSPACE: 8,
@@ -48,7 +36,7 @@ export const KeyCode = {
*/
export const debounce = (func, wait, immediate = false) => {
let timeout;
- return function(...args) {
+ return function (...args) {
const context = this;
const later = () => {
timeout = undefined;
diff --git a/src/gmp/utils/id.js b/src/gmp/utils/id.js
index d47f3c339a..19b60f6533 100644
--- a/src/gmp/utils/id.js
+++ b/src/gmp/utils/id.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {first} from './array';
import {isDefined, isString} from './identity';
diff --git a/src/gmp/utils/identity.js b/src/gmp/utils/identity.js
index f7d392881b..0bd9b9aa6e 100644
--- a/src/gmp/utils/identity.js
+++ b/src/gmp/utils/identity.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
export const {isArray} = global.Array;
diff --git a/src/gmp/utils/number.js b/src/gmp/utils/number.js
index d49a560bc5..03986fa617 100644
--- a/src/gmp/utils/number.js
+++ b/src/gmp/utils/number.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from './identity';
/**
diff --git a/src/gmp/utils/object.js b/src/gmp/utils/object.js
index adc724417e..41b1626904 100644
--- a/src/gmp/utils/object.js
+++ b/src/gmp/utils/object.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
export const exclude = (object, func) =>
diff --git a/src/gmp/utils/string.js b/src/gmp/utils/string.js
index a3b5a23ffb..6b5b51f39d 100644
--- a/src/gmp/utils/string.js
+++ b/src/gmp/utils/string.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined, isString} from './identity';
export const capitalizeFirstLetter = string =>
diff --git a/src/gmp/utils/trace.js b/src/gmp/utils/trace.js
index e7b8d190bf..1550e59aa2 100644
--- a/src/gmp/utils/trace.js
+++ b/src/gmp/utils/trace.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
/** Return the current stack trace a string */
diff --git a/src/index.jsx b/src/index.jsx
index bd39ff90d8..41942e3372 100644
--- a/src/index.jsx
+++ b/src/index.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {createRoot} from 'react-dom/client';
diff --git a/src/version.js b/src/version.js
index f7c1998fbd..84513958f9 100644
--- a/src/version.js
+++ b/src/version.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
const getMajorMinorVersion = () => {
diff --git a/src/web/app.jsx b/src/web/app.jsx
index a9f6bde540..d82caee741 100644
--- a/src/web/app.jsx
+++ b/src/web/app.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {Provider as StoreProvider} from 'react-redux';
diff --git a/src/web/authorized.jsx b/src/web/authorized.jsx
index 52d862a898..687ac32046 100644
--- a/src/web/authorized.jsx
+++ b/src/web/authorized.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/components/badge/__tests__/badge.jsx b/src/web/components/badge/__tests__/badge.jsx
index 13b1c04006..e45775f487 100644
--- a/src/web/components/badge/__tests__/badge.jsx
+++ b/src/web/components/badge/__tests__/badge.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/badge/badge.jsx b/src/web/components/badge/badge.jsx
index 5b1b629ca8..5adcda4037 100644
--- a/src/web/components/badge/badge.jsx
+++ b/src/web/components/badge/badge.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useRef, useState, useEffect} from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/bar/__tests__/compliancestatusbar.jsx b/src/web/components/bar/__tests__/compliancestatusbar.jsx
index 82da9c9fd5..0c5d51b4f6 100644
--- a/src/web/components/bar/__tests__/compliancestatusbar.jsx
+++ b/src/web/components/bar/__tests__/compliancestatusbar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/bar/__tests__/progressbar.jsx b/src/web/components/bar/__tests__/progressbar.jsx
index 1f1bc3c2a9..08862103db 100644
--- a/src/web/components/bar/__tests__/progressbar.jsx
+++ b/src/web/components/bar/__tests__/progressbar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/bar/__tests__/severitybar.jsx b/src/web/components/bar/__tests__/severitybar.jsx
index 8c3f332a23..7497c0ee3e 100644
--- a/src/web/components/bar/__tests__/severitybar.jsx
+++ b/src/web/components/bar/__tests__/severitybar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/bar/__tests__/statusbar.jsx b/src/web/components/bar/__tests__/statusbar.jsx
index d5518cfbb6..0ac50858f7 100644
--- a/src/web/components/bar/__tests__/statusbar.jsx
+++ b/src/web/components/bar/__tests__/statusbar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/bar/__tests__/toolbar.jsx b/src/web/components/bar/__tests__/toolbar.jsx
index 50f73feebc..31cdbcdb5a 100644
--- a/src/web/components/bar/__tests__/toolbar.jsx
+++ b/src/web/components/bar/__tests__/toolbar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/bar/compliancestatusbar.jsx b/src/web/components/bar/compliancestatusbar.jsx
index b20470e687..a3fbe98afe 100644
--- a/src/web/components/bar/compliancestatusbar.jsx
+++ b/src/web/components/bar/compliancestatusbar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/bar/progressbar.jsx b/src/web/components/bar/progressbar.jsx
index 5312393e6f..badfccbce8 100644
--- a/src/web/components/bar/progressbar.jsx
+++ b/src/web/components/bar/progressbar.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/bar/severitybar.jsx b/src/web/components/bar/severitybar.jsx
index 31740b200e..3fa6dca090 100644
--- a/src/web/components/bar/severitybar.jsx
+++ b/src/web/components/bar/severitybar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/bar/statusbar.jsx b/src/web/components/bar/statusbar.jsx
index 8ecaff03ce..fe8371e8bc 100644
--- a/src/web/components/bar/statusbar.jsx
+++ b/src/web/components/bar/statusbar.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/bar/toolbar.jsx b/src/web/components/bar/toolbar.jsx
index 0884897aa7..eb439147eb 100644
--- a/src/web/components/bar/toolbar.jsx
+++ b/src/web/components/bar/toolbar.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Layout from 'web/components/layout/layout';
diff --git a/src/web/components/certinfo/certinfo.jsx b/src/web/components/certinfo/certinfo.jsx
index aaa756bc45..85ab6fa4ed 100644
--- a/src/web/components/certinfo/certinfo.jsx
+++ b/src/web/components/certinfo/certinfo.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/chart/axis.jsx b/src/web/components/chart/axis.jsx
index 4b7a443b17..faa892f77e 100644
--- a/src/web/components/chart/axis.jsx
+++ b/src/web/components/chart/axis.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {Axis as VxAxis} from '@visx/axis';
diff --git a/src/web/components/chart/bar.jsx b/src/web/components/chart/bar.jsx
index a58ce29bf4..a86c06873e 100644
--- a/src/web/components/chart/bar.jsx
+++ b/src/web/components/chart/bar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/chart/bubble.jsx b/src/web/components/chart/bubble.jsx
index fc217d9875..19be25bab0 100644
--- a/src/web/components/chart/bubble.jsx
+++ b/src/web/components/chart/bubble.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {pack, hierarchy} from 'd3-hierarchy';
diff --git a/src/web/components/chart/donut.jsx b/src/web/components/chart/donut.jsx
index 4b0a95bcc2..25325dfe02 100644
--- a/src/web/components/chart/donut.jsx
+++ b/src/web/components/chart/donut.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/chart/donut/arc2d.jsx b/src/web/components/chart/donut/arc2d.jsx
index 3d4d293c8f..6dfdd81566 100644
--- a/src/web/components/chart/donut/arc2d.jsx
+++ b/src/web/components/chart/donut/arc2d.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/chart/donut/arc3d.jsx b/src/web/components/chart/donut/arc3d.jsx
index 2d1d115a6f..980e03fbb7 100644
--- a/src/web/components/chart/donut/arc3d.jsx
+++ b/src/web/components/chart/donut/arc3d.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {color as d3color} from 'd3-color';
diff --git a/src/web/components/chart/donut/labels.jsx b/src/web/components/chart/donut/labels.jsx
index bbb3de7499..edf95068c9 100644
--- a/src/web/components/chart/donut/labels.jsx
+++ b/src/web/components/chart/donut/labels.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/chart/donut/paths.jsx b/src/web/components/chart/donut/paths.jsx
index 89ac06d15e..9023fb35ad 100644
--- a/src/web/components/chart/donut/paths.jsx
+++ b/src/web/components/chart/donut/paths.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/chart/donut/pie.jsx b/src/web/components/chart/donut/pie.jsx
index 149e7896ed..8341040d91 100644
--- a/src/web/components/chart/donut/pie.jsx
+++ b/src/web/components/chart/donut/pie.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {pie as d3pie} from 'd3-shape';
diff --git a/src/web/components/chart/donut/proptypes.jsx b/src/web/components/chart/donut/proptypes.jsx
index 5c8d4bc5f8..f5c20d2dd0 100644
--- a/src/web/components/chart/donut/proptypes.jsx
+++ b/src/web/components/chart/donut/proptypes.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
export const ArcDataPropType = PropTypes.shape({
diff --git a/src/web/components/chart/group.jsx b/src/web/components/chart/group.jsx
index 4ce4851a60..0d2fe0cad1 100644
--- a/src/web/components/chart/group.jsx
+++ b/src/web/components/chart/group.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/chart/label.jsx b/src/web/components/chart/label.jsx
index 855cfbf84a..373fdeddb0 100644
--- a/src/web/components/chart/label.jsx
+++ b/src/web/components/chart/label.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/chart/legend.jsx b/src/web/components/chart/legend.jsx
index 0e45f3f73d..79158210e9 100644
--- a/src/web/components/chart/legend.jsx
+++ b/src/web/components/chart/legend.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/chart/line.jsx b/src/web/components/chart/line.jsx
index efa73c27a9..90a5661196 100644
--- a/src/web/components/chart/line.jsx
+++ b/src/web/components/chart/line.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import memoize from 'memoize-one';
import React from 'react';
diff --git a/src/web/components/chart/schedule.jsx b/src/web/components/chart/schedule.jsx
index 403a7c7c2d..7422279f34 100644
--- a/src/web/components/chart/schedule.jsx
+++ b/src/web/components/chart/schedule.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {LinearGradient} from '@visx/gradient';
diff --git a/src/web/components/chart/svg.jsx b/src/web/components/chart/svg.jsx
index 115aeb761b..08d1719273 100644
--- a/src/web/components/chart/svg.jsx
+++ b/src/web/components/chart/svg.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
const Svg = styled.svg`
diff --git a/src/web/components/chart/tooltip.jsx b/src/web/components/chart/tooltip.jsx
index 52326aefdf..1f54383349 100644
--- a/src/web/components/chart/tooltip.jsx
+++ b/src/web/components/chart/tooltip.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/chart/topology.jsx b/src/web/components/chart/topology.jsx
index b861213d98..51365b7471 100644
--- a/src/web/components/chart/topology.jsx
+++ b/src/web/components/chart/topology.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/chart/utils/__tests__/arc.jsx b/src/web/components/chart/utils/__tests__/arc.jsx
index 5651d633c7..59aceb2253 100644
--- a/src/web/components/chart/utils/__tests__/arc.jsx
+++ b/src/web/components/chart/utils/__tests__/arc.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import arc from '../arc';
diff --git a/src/web/components/chart/utils/__tests__/path.jsx b/src/web/components/chart/utils/__tests__/path.jsx
index 677b1cd856..3ac1d503e4 100644
--- a/src/web/components/chart/utils/__tests__/path.jsx
+++ b/src/web/components/chart/utils/__tests__/path.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import path from '../path';
diff --git a/src/web/components/chart/utils/__tests__/update.jsx b/src/web/components/chart/utils/__tests__/update.jsx
index 213b9c54c0..1ddb9ec861 100644
--- a/src/web/components/chart/utils/__tests__/update.jsx
+++ b/src/web/components/chart/utils/__tests__/update.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {shouldUpdate} from '../update';
diff --git a/src/web/components/chart/utils/arc.jsx b/src/web/components/chart/utils/arc.jsx
index 0c0473967b..3873521499 100644
--- a/src/web/components/chart/utils/arc.jsx
+++ b/src/web/components/chart/utils/arc.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import path from './path';
diff --git a/src/web/components/chart/utils/constants.jsx b/src/web/components/chart/utils/constants.jsx
index c1a7a112f7..73ccbdcafe 100644
--- a/src/web/components/chart/utils/constants.jsx
+++ b/src/web/components/chart/utils/constants.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const MENU_PLACEHOLDER_WIDTH = 26;
// vim: set ts=2 sw=2 tw=80:
diff --git a/src/web/components/chart/utils/path.jsx b/src/web/components/chart/utils/path.jsx
index 446c0aa8dc..358b53eb1e 100644
--- a/src/web/components/chart/utils/path.jsx
+++ b/src/web/components/chart/utils/path.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
class Path {
constructor() {
this.paths = [];
diff --git a/src/web/components/chart/utils/update.jsx b/src/web/components/chart/utils/update.jsx
index 924cfd00b0..67fa86b1ea 100644
--- a/src/web/components/chart/utils/update.jsx
+++ b/src/web/components/chart/utils/update.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/**
* Default implementation for checking if a chart component must be updated
*
diff --git a/src/web/components/chart/wordcloud.jsx b/src/web/components/chart/wordcloud.jsx
index bc04fb261d..f50cdc6cc3 100644
--- a/src/web/components/chart/wordcloud.jsx
+++ b/src/web/components/chart/wordcloud.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {scaleLinear} from 'd3-scale';
diff --git a/src/web/components/comment/__tests__/comment.jsx b/src/web/components/comment/__tests__/comment.jsx
index ba7b4363d8..66dda5b7b0 100644
--- a/src/web/components/comment/__tests__/comment.jsx
+++ b/src/web/components/comment/__tests__/comment.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/comment/comment.jsx b/src/web/components/comment/comment.jsx
index 8d672cdaa1..45b69547d9 100644
--- a/src/web/components/comment/comment.jsx
+++ b/src/web/components/comment/comment.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/dashboard/__tests__/utils.jsx b/src/web/components/dashboard/__tests__/utils.jsx
index 8461ff7e6c..e9f5f07d41 100644
--- a/src/web/components/dashboard/__tests__/utils.jsx
+++ b/src/web/components/dashboard/__tests__/utils.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {DEFAULT_ROW_HEIGHT} from 'gmp/commands/dashboards';
diff --git a/src/web/components/dashboard/controls.jsx b/src/web/components/dashboard/controls.jsx
index 29f2ecf29d..72ff0f9eb5 100644
--- a/src/web/components/dashboard/controls.jsx
+++ b/src/web/components/dashboard/controls.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/components/dashboard/dashboard.jsx b/src/web/components/dashboard/dashboard.jsx
index 81bb19cf34..1309a620f8 100644
--- a/src/web/components/dashboard/dashboard.jsx
+++ b/src/web/components/dashboard/dashboard.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import memoize from 'memoize-one';
import React from 'react';
diff --git a/src/web/components/dashboard/display/createDisplay.jsx b/src/web/components/dashboard/display/createDisplay.jsx
index ad54163fd6..b6b43b1b29 100644
--- a/src/web/components/dashboard/display/createDisplay.jsx
+++ b/src/web/components/dashboard/display/createDisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/dashboard/display/created/createddisplay.jsx b/src/web/components/dashboard/display/created/createddisplay.jsx
index 2a523f19a4..c6c32d7000 100644
--- a/src/web/components/dashboard/display/created/createddisplay.jsx
+++ b/src/web/components/dashboard/display/created/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/dashboard/display/created/createdtransform.jsx b/src/web/components/dashboard/display/created/createdtransform.jsx
index 8a79a808bf..53d52cdf9b 100644
--- a/src/web/components/dashboard/display/created/createdtransform.jsx
+++ b/src/web/components/dashboard/display/created/createdtransform.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {shortDate} from 'gmp/locale/date';
import {parseInt, parseDate} from 'gmp/parser';
diff --git a/src/web/components/dashboard/display/cvss/cvssdisplay.jsx b/src/web/components/dashboard/display/cvss/cvssdisplay.jsx
index 08a98d1935..d36a990fda 100644
--- a/src/web/components/dashboard/display/cvss/cvssdisplay.jsx
+++ b/src/web/components/dashboard/display/cvss/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/dashboard/display/cvss/cvsstabledisplay.jsx b/src/web/components/dashboard/display/cvss/cvsstabledisplay.jsx
index ddbc8d4d84..ed1bcdcc12 100644
--- a/src/web/components/dashboard/display/cvss/cvsstabledisplay.jsx
+++ b/src/web/components/dashboard/display/cvss/cvsstabledisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import DataTableDisplay from '../datatabledisplay';
diff --git a/src/web/components/dashboard/display/cvss/cvsstransform.jsx b/src/web/components/dashboard/display/cvss/cvsstransform.jsx
index c7d5f7ef35..5dadd51cd5 100644
--- a/src/web/components/dashboard/display/cvss/cvsstransform.jsx
+++ b/src/web/components/dashboard/display/cvss/cvsstransform.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {parseInt, parseFloat, parseSeverity} from 'gmp/parser';
diff --git a/src/web/components/dashboard/display/datadisplay.jsx b/src/web/components/dashboard/display/datadisplay.jsx
index fa625a834a..d8e13bed77 100644
--- a/src/web/components/dashboard/display/datadisplay.jsx
+++ b/src/web/components/dashboard/display/datadisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dashboard/display/datadisplayicons.jsx b/src/web/components/dashboard/display/datadisplayicons.jsx
index 320e373968..45de76975c 100644
--- a/src/web/components/dashboard/display/datadisplayicons.jsx
+++ b/src/web/components/dashboard/display/datadisplayicons.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_} from 'gmp/locale/lang';
diff --git a/src/web/components/dashboard/display/datatable.jsx b/src/web/components/dashboard/display/datatable.jsx
index fba8450863..dd9f83962d 100644
--- a/src/web/components/dashboard/display/datatable.jsx
+++ b/src/web/components/dashboard/display/datatable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dashboard/display/datatabledisplay.jsx b/src/web/components/dashboard/display/datatabledisplay.jsx
index 7190500b14..9f31d6b596 100644
--- a/src/web/components/dashboard/display/datatabledisplay.jsx
+++ b/src/web/components/dashboard/display/datatabledisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/dashboard/display/display.jsx b/src/web/components/dashboard/display/display.jsx
index ca7ae3be6a..4052d492b6 100644
--- a/src/web/components/dashboard/display/display.jsx
+++ b/src/web/components/dashboard/display/display.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dashboard/display/filterselection.jsx b/src/web/components/dashboard/display/filterselection.jsx
index b9f6675336..d91ba7d936 100644
--- a/src/web/components/dashboard/display/filterselection.jsx
+++ b/src/web/components/dashboard/display/filterselection.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/components/dashboard/display/severity/severityclassdisplay.jsx b/src/web/components/dashboard/display/severity/severityclassdisplay.jsx
index 0a1ecf12b0..9ab720843a 100644
--- a/src/web/components/dashboard/display/severity/severityclassdisplay.jsx
+++ b/src/web/components/dashboard/display/severity/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/dashboard/display/severity/severityclasstabledisplay.jsx b/src/web/components/dashboard/display/severity/severityclasstabledisplay.jsx
index ebff555ea1..63aef901d0 100644
--- a/src/web/components/dashboard/display/severity/severityclasstabledisplay.jsx
+++ b/src/web/components/dashboard/display/severity/severityclasstabledisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import DataTableDisplay from '../datatabledisplay';
diff --git a/src/web/components/dashboard/display/severity/severityclasstransform.jsx b/src/web/components/dashboard/display/severity/severityclasstransform.jsx
index a87452a86f..7320fc9aca 100644
--- a/src/web/components/dashboard/display/severity/severityclasstransform.jsx
+++ b/src/web/components/dashboard/display/severity/severityclasstransform.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {parseSeverity, parseInt} from 'gmp/parser';
diff --git a/src/web/components/dashboard/display/status/statusdisplay.jsx b/src/web/components/dashboard/display/status/statusdisplay.jsx
index 4a53ff7d09..b33a15d872 100644
--- a/src/web/components/dashboard/display/status/statusdisplay.jsx
+++ b/src/web/components/dashboard/display/status/statusdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Filter from 'gmp/models/filter';
diff --git a/src/web/components/dashboard/display/utils.jsx b/src/web/components/dashboard/display/utils.jsx
index 3d3e8809e2..60a8e98838 100644
--- a/src/web/components/dashboard/display/utils.jsx
+++ b/src/web/components/dashboard/display/utils.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {scaleOrdinal, scaleLinear} from 'd3-scale';
diff --git a/src/web/components/dashboard/display/withFilterSelection.jsx b/src/web/components/dashboard/display/withFilterSelection.jsx
index 2aa253c03b..5bd80402ea 100644
--- a/src/web/components/dashboard/display/withFilterSelection.jsx
+++ b/src/web/components/dashboard/display/withFilterSelection.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import hoistStatics from 'hoist-non-react-statics';
diff --git a/src/web/components/dashboard/registry.jsx b/src/web/components/dashboard/registry.jsx
index 829535b386..dba8da9555 100644
--- a/src/web/components/dashboard/registry.jsx
+++ b/src/web/components/dashboard/registry.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Logger from 'gmp/log';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/dashboard/utils.jsx b/src/web/components/dashboard/utils.jsx
index a02420dca2..0bfcaa56fc 100644
--- a/src/web/components/dashboard/utils.jsx
+++ b/src/web/components/dashboard/utils.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {v4 as uuid} from 'uuid';
import {createDisplay, createRow} from 'gmp/commands/dashboards';
diff --git a/src/web/components/date/__tests__/datetime.jsx b/src/web/components/date/__tests__/datetime.jsx
index fee850403c..edcf0bfaeb 100644
--- a/src/web/components/date/__tests__/datetime.jsx
+++ b/src/web/components/date/__tests__/datetime.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/components/date/datetime.jsx b/src/web/components/date/datetime.jsx
index be2bbf3365..21b27e5bfd 100644
--- a/src/web/components/date/datetime.jsx
+++ b/src/web/components/date/datetime.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {dateTimeWithTimeZone, ensureDate} from 'gmp/locale/date';
import {isDefined, hasValue} from 'gmp/utils/identity';
diff --git a/src/web/components/dialog/__tests__/closebutton.jsx b/src/web/components/dialog/__tests__/closebutton.jsx
index af2d4aa862..295809ead5 100644
--- a/src/web/components/dialog/__tests__/closebutton.jsx
+++ b/src/web/components/dialog/__tests__/closebutton.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/dialog/__tests__/confirmationdialog.jsx b/src/web/components/dialog/__tests__/confirmationdialog.jsx
index f19de51546..77e9e03605 100644
--- a/src/web/components/dialog/__tests__/confirmationdialog.jsx
+++ b/src/web/components/dialog/__tests__/confirmationdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {KeyCode} from 'gmp/utils/event';
diff --git a/src/web/components/dialog/__tests__/dialog.jsx b/src/web/components/dialog/__tests__/dialog.jsx
index 5bb09d892b..ea8f3d308d 100644
--- a/src/web/components/dialog/__tests__/dialog.jsx
+++ b/src/web/components/dialog/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/web/components/dialog/__tests__/error.jsx b/src/web/components/dialog/__tests__/error.jsx
index 77b2b1689d..4e445954dc 100644
--- a/src/web/components/dialog/__tests__/error.jsx
+++ b/src/web/components/dialog/__tests__/error.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/dialog/__tests__/multistepfooter.jsx b/src/web/components/dialog/__tests__/multistepfooter.jsx
index 4c48edb883..2df4c94dea 100644
--- a/src/web/components/dialog/__tests__/multistepfooter.jsx
+++ b/src/web/components/dialog/__tests__/multistepfooter.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/dialog/__tests__/twobuttonfooter.jsx b/src/web/components/dialog/__tests__/twobuttonfooter.jsx
index 716fa8eafe..f5a1d7daac 100644
--- a/src/web/components/dialog/__tests__/twobuttonfooter.jsx
+++ b/src/web/components/dialog/__tests__/twobuttonfooter.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/dialog/closebutton.jsx b/src/web/components/dialog/closebutton.jsx
index 3d9e5c4daa..d25b8db3e7 100644
--- a/src/web/components/dialog/closebutton.jsx
+++ b/src/web/components/dialog/closebutton.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dialog/composercontent.jsx b/src/web/components/dialog/composercontent.jsx
index e5401b04e1..453394c137 100644
--- a/src/web/components/dialog/composercontent.jsx
+++ b/src/web/components/dialog/composercontent.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dialog/confirmationdialog.jsx b/src/web/components/dialog/confirmationdialog.jsx
index 3cfda6bd16..0dffc77cb6 100644
--- a/src/web/components/dialog/confirmationdialog.jsx
+++ b/src/web/components/dialog/confirmationdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/dialog/container.jsx b/src/web/components/dialog/container.jsx
index 692f4761a0..ba5aa6d2d0 100644
--- a/src/web/components/dialog/container.jsx
+++ b/src/web/components/dialog/container.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dialog/content.jsx b/src/web/components/dialog/content.jsx
index 2aee0ca829..88f2948afc 100644
--- a/src/web/components/dialog/content.jsx
+++ b/src/web/components/dialog/content.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
const DialogContent = styled.div`
diff --git a/src/web/components/dialog/dialog.jsx b/src/web/components/dialog/dialog.jsx
index 0da1cab1f4..dbbf875942 100644
--- a/src/web/components/dialog/dialog.jsx
+++ b/src/web/components/dialog/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {Modal} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/dialog/dialoginlinenotification.jsx b/src/web/components/dialog/dialoginlinenotification.jsx
index 75ea41422d..36b377bb5c 100644
--- a/src/web/components/dialog/dialoginlinenotification.jsx
+++ b/src/web/components/dialog/dialoginlinenotification.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
const DialogInlineNotification = styled.div`
diff --git a/src/web/components/dialog/error.jsx b/src/web/components/dialog/error.jsx
index 09b0363142..dee7bf888c 100644
--- a/src/web/components/dialog/error.jsx
+++ b/src/web/components/dialog/error.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dialog/footer.jsx b/src/web/components/dialog/footer.jsx
index c88de05581..09515e0f32 100644
--- a/src/web/components/dialog/footer.jsx
+++ b/src/web/components/dialog/footer.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dialog/multistepfooter.jsx b/src/web/components/dialog/multistepfooter.jsx
index e11f1ec825..cfdd377482 100644
--- a/src/web/components/dialog/multistepfooter.jsx
+++ b/src/web/components/dialog/multistepfooter.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dialog/savedialog.jsx b/src/web/components/dialog/savedialog.jsx
index 067c65270e..12f524ad6a 100644
--- a/src/web/components/dialog/savedialog.jsx
+++ b/src/web/components/dialog/savedialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState, useEffect} from 'react';
import {isDefined, isFunction} from 'gmp/utils/identity';
diff --git a/src/web/components/dialog/twobuttonfooter.jsx b/src/web/components/dialog/twobuttonfooter.jsx
index ac82665b6c..54ce7ccac5 100644
--- a/src/web/components/dialog/twobuttonfooter.jsx
+++ b/src/web/components/dialog/twobuttonfooter.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/error/__tests__/errorboundary.jsx b/src/web/components/error/__tests__/errorboundary.jsx
index a7be3c128e..12a087f09a 100644
--- a/src/web/components/error/__tests__/errorboundary.jsx
+++ b/src/web/components/error/__tests__/errorboundary.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/web/components/error/__tests__/errorcontainer.jsx b/src/web/components/error/__tests__/errorcontainer.jsx
index cfb3cc10ab..737a19455d 100644
--- a/src/web/components/error/__tests__/errorcontainer.jsx
+++ b/src/web/components/error/__tests__/errorcontainer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/error/__tests__/errormessage.jsx b/src/web/components/error/__tests__/errormessage.jsx
index 13ee9076eb..8d92891020 100644
--- a/src/web/components/error/__tests__/errormessage.jsx
+++ b/src/web/components/error/__tests__/errormessage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/error/__tests__/errorpanel.jsx b/src/web/components/error/__tests__/errorpanel.jsx
index 913fae0fed..78489d83c1 100644
--- a/src/web/components/error/__tests__/errorpanel.jsx
+++ b/src/web/components/error/__tests__/errorpanel.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/web/components/error/errorboundary.jsx b/src/web/components/error/errorboundary.jsx
index d8c35d857f..a19a3cffc9 100644
--- a/src/web/components/error/errorboundary.jsx
+++ b/src/web/components/error/errorboundary.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import * as Sentry from '@sentry/react';
diff --git a/src/web/components/error/errorcontainer.jsx b/src/web/components/error/errorcontainer.jsx
index cf5d554800..9de59f78b4 100644
--- a/src/web/components/error/errorcontainer.jsx
+++ b/src/web/components/error/errorcontainer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/error/errormessage.jsx b/src/web/components/error/errormessage.jsx
index ac52504bbf..ef9b07e665 100644
--- a/src/web/components/error/errormessage.jsx
+++ b/src/web/components/error/errormessage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/error/errorpanel.jsx b/src/web/components/error/errorpanel.jsx
index eb155a8365..4ccc8a0f6a 100644
--- a/src/web/components/error/errorpanel.jsx
+++ b/src/web/components/error/errorpanel.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/error/message.jsx b/src/web/components/error/message.jsx
index 7690ce1bca..398c9b0145 100644
--- a/src/web/components/error/message.jsx
+++ b/src/web/components/error/message.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/error/messagecontainer.jsx b/src/web/components/error/messagecontainer.jsx
index 0295ec7cfd..992dcbfbea 100644
--- a/src/web/components/error/messagecontainer.jsx
+++ b/src/web/components/error/messagecontainer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import Layout from 'web/components/layout/layout';
diff --git a/src/web/components/folding/folding.jsx b/src/web/components/folding/folding.jsx
index 6f7d00e0ee..23557087f8 100644
--- a/src/web/components/folding/folding.jsx
+++ b/src/web/components/folding/folding.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled, {keyframes, css} from 'styled-components';
diff --git a/src/web/components/footnote/__tests__/footnote.jsx b/src/web/components/footnote/__tests__/footnote.jsx
index a930962950..88cfee510b 100644
--- a/src/web/components/footnote/__tests__/footnote.jsx
+++ b/src/web/components/footnote/__tests__/footnote.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/footnote/footnote.jsx b/src/web/components/footnote/footnote.jsx
index 21470d0724..60b468507e 100644
--- a/src/web/components/footnote/footnote.jsx
+++ b/src/web/components/footnote/footnote.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import Layout from 'web/components/layout/layout';
diff --git a/src/web/components/form/DatePicker.jsx b/src/web/components/form/DatePicker.jsx
index fa4e7e3837..780a38fa93 100644
--- a/src/web/components/form/DatePicker.jsx
+++ b/src/web/components/form/DatePicker.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {DatePickerOnly} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/__tests__/button.jsx b/src/web/components/form/__tests__/button.jsx
index 19ab065e2b..6afd9a6a0a 100644
--- a/src/web/components/form/__tests__/button.jsx
+++ b/src/web/components/form/__tests__/button.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/checkbox.jsx b/src/web/components/form/__tests__/checkbox.jsx
index 9f99084be1..d170d20491 100644
--- a/src/web/components/form/__tests__/checkbox.jsx
+++ b/src/web/components/form/__tests__/checkbox.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/download.jsx b/src/web/components/form/__tests__/download.jsx
index 8a3b01e80a..dd6f9db51d 100644
--- a/src/web/components/form/__tests__/download.jsx
+++ b/src/web/components/form/__tests__/download.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/filefield.jsx b/src/web/components/form/__tests__/filefield.jsx
index 7bbfd27c50..6e9cc9b85a 100644
--- a/src/web/components/form/__tests__/filefield.jsx
+++ b/src/web/components/form/__tests__/filefield.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/formgroup.jsx b/src/web/components/form/__tests__/formgroup.jsx
index 154d822257..35ca786520 100644
--- a/src/web/components/form/__tests__/formgroup.jsx
+++ b/src/web/components/form/__tests__/formgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/multiselect.jsx b/src/web/components/form/__tests__/multiselect.jsx
index 59df248e71..9c357f9b2a 100644
--- a/src/web/components/form/__tests__/multiselect.jsx
+++ b/src/web/components/form/__tests__/multiselect.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/numberfield.jsx b/src/web/components/form/__tests__/numberfield.jsx
index 50432413f9..768d280d85 100644
--- a/src/web/components/form/__tests__/numberfield.jsx
+++ b/src/web/components/form/__tests__/numberfield.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/passwordfield.jsx b/src/web/components/form/__tests__/passwordfield.jsx
index 8f89cb84b0..84865e612c 100644
--- a/src/web/components/form/__tests__/passwordfield.jsx
+++ b/src/web/components/form/__tests__/passwordfield.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/radio.jsx b/src/web/components/form/__tests__/radio.jsx
index 6b59464de2..527de74e48 100644
--- a/src/web/components/form/__tests__/radio.jsx
+++ b/src/web/components/form/__tests__/radio.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/select.jsx b/src/web/components/form/__tests__/select.jsx
index 67a201a0eb..7327a3a9d0 100644
--- a/src/web/components/form/__tests__/select.jsx
+++ b/src/web/components/form/__tests__/select.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/spinner.jsx b/src/web/components/form/__tests__/spinner.jsx
index 6865a9dee5..5bd9176297 100644
--- a/src/web/components/form/__tests__/spinner.jsx
+++ b/src/web/components/form/__tests__/spinner.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {KeyCode} from 'gmp/utils/event';
diff --git a/src/web/components/form/__tests__/textarea.jsx b/src/web/components/form/__tests__/textarea.jsx
index cf2bb60516..244af3a74b 100644
--- a/src/web/components/form/__tests__/textarea.jsx
+++ b/src/web/components/form/__tests__/textarea.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/textfield.jsx b/src/web/components/form/__tests__/textfield.jsx
index ed8e2c934d..7e888b94a0 100644
--- a/src/web/components/form/__tests__/textfield.jsx
+++ b/src/web/components/form/__tests__/textfield.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/timezoneselect.jsx b/src/web/components/form/__tests__/timezoneselect.jsx
index 1a0a837f54..79e1fc2080 100644
--- a/src/web/components/form/__tests__/timezoneselect.jsx
+++ b/src/web/components/form/__tests__/timezoneselect.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import timezones from 'gmp/timezones';
diff --git a/src/web/components/form/__tests__/togglebutton.jsx b/src/web/components/form/__tests__/togglebutton.jsx
index 825dfafbed..2b71eef0d4 100644
--- a/src/web/components/form/__tests__/togglebutton.jsx
+++ b/src/web/components/form/__tests__/togglebutton.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/form/__tests__/useFormValidation.jsx b/src/web/components/form/__tests__/useFormValidation.jsx
index 33e8c40687..dc09a5674d 100644
--- a/src/web/components/form/__tests__/useFormValidation.jsx
+++ b/src/web/components/form/__tests__/useFormValidation.jsx
@@ -1,22 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
- * SPDX-License-Identifier: GPL-2.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
/* eslint-disable react/prop-types */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/components/form/__tests__/useFormValues.jsx b/src/web/components/form/__tests__/useFormValues.jsx
index a2e5522b49..b11fc9da02 100644
--- a/src/web/components/form/__tests__/useFormValues.jsx
+++ b/src/web/components/form/__tests__/useFormValues.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useRef} from 'react';
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/web/components/form/__tests__/useValueChange.jsx b/src/web/components/form/__tests__/useValueChange.jsx
index e14e381c19..becbc0712e 100644
--- a/src/web/components/form/__tests__/useValueChange.jsx
+++ b/src/web/components/form/__tests__/useValueChange.jsx
@@ -2,6 +2,7 @@
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, screen, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/withClickHandler.jsx b/src/web/components/form/__tests__/withClickHandler.jsx
index b31b4ece78..a4a0adcf1c 100644
--- a/src/web/components/form/__tests__/withClickHandler.jsx
+++ b/src/web/components/form/__tests__/withClickHandler.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/withDownload.jsx b/src/web/components/form/__tests__/withDownload.jsx
index 73a45fe5d2..dc9e0920e3 100644
--- a/src/web/components/form/__tests__/withDownload.jsx
+++ b/src/web/components/form/__tests__/withDownload.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/yesnoradio.jsx b/src/web/components/form/__tests__/yesnoradio.jsx
index 5876a9453f..abb9188a6c 100644
--- a/src/web/components/form/__tests__/yesnoradio.jsx
+++ b/src/web/components/form/__tests__/yesnoradio.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {NO_VALUE, YES_VALUE} from 'gmp/parser';
diff --git a/src/web/components/form/button.jsx b/src/web/components/form/button.jsx
index 453f0cdf2e..2b70fe9e99 100644
--- a/src/web/components/form/button.jsx
+++ b/src/web/components/form/button.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {Button as OpenSightButton} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/checkbox.jsx b/src/web/components/form/checkbox.jsx
index d1d863eb59..743977e052 100644
--- a/src/web/components/form/checkbox.jsx
+++ b/src/web/components/form/checkbox.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {Checkbox as OpenSightCheckbox} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/download.jsx b/src/web/components/form/download.jsx
index f600aa32a4..6c7c6addd0 100644
--- a/src/web/components/form/download.jsx
+++ b/src/web/components/form/download.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/form/filefield.jsx b/src/web/components/form/filefield.jsx
index 6f1896d937..b57235271c 100644
--- a/src/web/components/form/filefield.jsx
+++ b/src/web/components/form/filefield.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {FileInput} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/formgroup.jsx b/src/web/components/form/formgroup.jsx
index a33830b284..4e676bfd0b 100644
--- a/src/web/components/form/formgroup.jsx
+++ b/src/web/components/form/formgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {LabelWithIcon as Label} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/multiselect.jsx b/src/web/components/form/multiselect.jsx
index 99a22ab8bf..1b378eb75f 100644
--- a/src/web/components/form/multiselect.jsx
+++ b/src/web/components/form/multiselect.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {
diff --git a/src/web/components/form/numberfield.jsx b/src/web/components/form/numberfield.jsx
index 27f20781bd..d9ef22bf90 100644
--- a/src/web/components/form/numberfield.jsx
+++ b/src/web/components/form/numberfield.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {NumberInput} from '@mantine/core';
diff --git a/src/web/components/form/passwordfield.jsx b/src/web/components/form/passwordfield.jsx
index ab36601b79..4394580c80 100644
--- a/src/web/components/form/passwordfield.jsx
+++ b/src/web/components/form/passwordfield.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {PasswordInput} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/radio.jsx b/src/web/components/form/radio.jsx
index 00df0ab8ca..c8ebfd2802 100644
--- a/src/web/components/form/radio.jsx
+++ b/src/web/components/form/radio.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {RadioButton as GreenboneRadio} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/select.jsx b/src/web/components/form/select.jsx
index 6dfd749b09..e62946126f 100644
--- a/src/web/components/form/select.jsx
+++ b/src/web/components/form/select.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useCallback, forwardRef} from 'react';
import {Loader} from '@mantine/core';
diff --git a/src/web/components/form/spinner.jsx b/src/web/components/form/spinner.jsx
index e7b757e876..2099eb73bf 100644
--- a/src/web/components/form/spinner.jsx
+++ b/src/web/components/form/spinner.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import NumberField from './numberfield';
diff --git a/src/web/components/form/textarea.jsx b/src/web/components/form/textarea.jsx
index 2133f530ba..4ae340cfe2 100644
--- a/src/web/components/form/textarea.jsx
+++ b/src/web/components/form/textarea.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {Textarea as GreenboneTextArea} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/textfield.jsx b/src/web/components/form/textfield.jsx
index 7206c55675..0954894f12 100644
--- a/src/web/components/form/textfield.jsx
+++ b/src/web/components/form/textfield.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {Input} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/timezoneselect.jsx b/src/web/components/form/timezoneselect.jsx
index 4fb65990c5..281002d107 100644
--- a/src/web/components/form/timezoneselect.jsx
+++ b/src/web/components/form/timezoneselect.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useMemo} from 'react';
import {map} from 'gmp/utils/array';
diff --git a/src/web/components/form/togglebutton.jsx b/src/web/components/form/togglebutton.jsx
index 95f13478e2..806a624b42 100644
--- a/src/web/components/form/togglebutton.jsx
+++ b/src/web/components/form/togglebutton.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/form/useFormValidation.jsx b/src/web/components/form/useFormValidation.jsx
index 3a7309f3b7..8d83457a07 100644
--- a/src/web/components/form/useFormValidation.jsx
+++ b/src/web/components/form/useFormValidation.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState, useEffect, useCallback} from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/form/useFormValues.jsx b/src/web/components/form/useFormValues.jsx
index 4f6280d278..be67074002 100644
--- a/src/web/components/form/useFormValues.jsx
+++ b/src/web/components/form/useFormValues.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useCallback, useState} from 'react';
const useFormValues = (initialValues = {}) => {
diff --git a/src/web/components/form/withClickHandler.jsx b/src/web/components/form/withClickHandler.jsx
index bfd8c36008..3da4672551 100644
--- a/src/web/components/form/withClickHandler.jsx
+++ b/src/web/components/form/withClickHandler.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/form/withDownload.jsx b/src/web/components/form/withDownload.jsx
index 507c54ae1e..68c9fad5f2 100644
--- a/src/web/components/form/withDownload.jsx
+++ b/src/web/components/form/withDownload.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Download from './download';
diff --git a/src/web/components/form/yesnoradio.jsx b/src/web/components/form/yesnoradio.jsx
index e1c6110351..dc6f7497ee 100644
--- a/src/web/components/form/yesnoradio.jsx
+++ b/src/web/components/form/yesnoradio.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/__tests__/addtoassetsicon.jsx b/src/web/components/icon/__tests__/addtoassetsicon.jsx
index 3356428dbc..144161f95f 100644
--- a/src/web/components/icon/__tests__/addtoassetsicon.jsx
+++ b/src/web/components/icon/__tests__/addtoassetsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/alerticon.jsx b/src/web/components/icon/__tests__/alerticon.jsx
index aacea666a6..44853c52ea 100644
--- a/src/web/components/icon/__tests__/alerticon.jsx
+++ b/src/web/components/icon/__tests__/alerticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/alterableicon.jsx b/src/web/components/icon/__tests__/alterableicon.jsx
index 72817ea6cc..5c385f83b0 100644
--- a/src/web/components/icon/__tests__/alterableicon.jsx
+++ b/src/web/components/icon/__tests__/alterableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/arrowicon.jsx b/src/web/components/icon/__tests__/arrowicon.jsx
index e3a90d3080..1339b91847 100644
--- a/src/web/components/icon/__tests__/arrowicon.jsx
+++ b/src/web/components/icon/__tests__/arrowicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/icon/__tests__/auditicon.jsx b/src/web/components/icon/__tests__/auditicon.jsx
index 5d61696b9a..b693780e85 100644
--- a/src/web/components/icon/__tests__/auditicon.jsx
+++ b/src/web/components/icon/__tests__/auditicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/calendaricon.jsx b/src/web/components/icon/__tests__/calendaricon.jsx
index 379b6cecb2..6d06f982bf 100644
--- a/src/web/components/icon/__tests__/calendaricon.jsx
+++ b/src/web/components/icon/__tests__/calendaricon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/certbundadvicon.jsx b/src/web/components/icon/__tests__/certbundadvicon.jsx
index 14ad54e5da..a096926e4a 100644
--- a/src/web/components/icon/__tests__/certbundadvicon.jsx
+++ b/src/web/components/icon/__tests__/certbundadvicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/cloneicon.jsx b/src/web/components/icon/__tests__/cloneicon.jsx
index 7bdeb5d767..ab0e602c13 100644
--- a/src/web/components/icon/__tests__/cloneicon.jsx
+++ b/src/web/components/icon/__tests__/cloneicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/cpelogoicon.jsx b/src/web/components/icon/__tests__/cpelogoicon.jsx
index bdca373871..59b374451c 100644
--- a/src/web/components/icon/__tests__/cpelogoicon.jsx
+++ b/src/web/components/icon/__tests__/cpelogoicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/credentialicon.jsx b/src/web/components/icon/__tests__/credentialicon.jsx
index 665e64aa78..d650bdf7dc 100644
--- a/src/web/components/icon/__tests__/credentialicon.jsx
+++ b/src/web/components/icon/__tests__/credentialicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/cveicon.jsx b/src/web/components/icon/__tests__/cveicon.jsx
index d80373cf23..bc36315b64 100644
--- a/src/web/components/icon/__tests__/cveicon.jsx
+++ b/src/web/components/icon/__tests__/cveicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/cvssicon.jsx b/src/web/components/icon/__tests__/cvssicon.jsx
index ac08db8a74..44a2f27d98 100644
--- a/src/web/components/icon/__tests__/cvssicon.jsx
+++ b/src/web/components/icon/__tests__/cvssicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/dashboardicon.jsx b/src/web/components/icon/__tests__/dashboardicon.jsx
index dc0c7afa3f..157ae84931 100644
--- a/src/web/components/icon/__tests__/dashboardicon.jsx
+++ b/src/web/components/icon/__tests__/dashboardicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/deleteicon.jsx b/src/web/components/icon/__tests__/deleteicon.jsx
index fad969b93a..3bd3f2b07f 100644
--- a/src/web/components/icon/__tests__/deleteicon.jsx
+++ b/src/web/components/icon/__tests__/deleteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/deltaicon.jsx b/src/web/components/icon/__tests__/deltaicon.jsx
index cec390db5c..36828369fa 100644
--- a/src/web/components/icon/__tests__/deltaicon.jsx
+++ b/src/web/components/icon/__tests__/deltaicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/deltasecondicon.jsx b/src/web/components/icon/__tests__/deltasecondicon.jsx
index cc04c5d3f3..78f4102b67 100644
--- a/src/web/components/icon/__tests__/deltasecondicon.jsx
+++ b/src/web/components/icon/__tests__/deltasecondicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/dfncertadvicon.jsx b/src/web/components/icon/__tests__/dfncertadvicon.jsx
index 898b9a4e98..9082a3a4c3 100644
--- a/src/web/components/icon/__tests__/dfncertadvicon.jsx
+++ b/src/web/components/icon/__tests__/dfncertadvicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/disableicon.jsx b/src/web/components/icon/__tests__/disableicon.jsx
index e7df10be2b..bc88ce2ff5 100644
--- a/src/web/components/icon/__tests__/disableicon.jsx
+++ b/src/web/components/icon/__tests__/disableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/downloadcsvicon.jsx b/src/web/components/icon/__tests__/downloadcsvicon.jsx
index 41fa397dda..3416331901 100644
--- a/src/web/components/icon/__tests__/downloadcsvicon.jsx
+++ b/src/web/components/icon/__tests__/downloadcsvicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/downloaddebicon.jsx b/src/web/components/icon/__tests__/downloaddebicon.jsx
index 59a675e239..3348a19219 100644
--- a/src/web/components/icon/__tests__/downloaddebicon.jsx
+++ b/src/web/components/icon/__tests__/downloaddebicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/downloadexeicon.jsx b/src/web/components/icon/__tests__/downloadexeicon.jsx
index c3e7186225..02c186cc49 100644
--- a/src/web/components/icon/__tests__/downloadexeicon.jsx
+++ b/src/web/components/icon/__tests__/downloadexeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/downloadicon.jsx b/src/web/components/icon/__tests__/downloadicon.jsx
index 2aa83d0d95..1f64b8bb00 100644
--- a/src/web/components/icon/__tests__/downloadicon.jsx
+++ b/src/web/components/icon/__tests__/downloadicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/downloadkeyicon.jsx b/src/web/components/icon/__tests__/downloadkeyicon.jsx
index b125aa5578..bd0c3737ac 100644
--- a/src/web/components/icon/__tests__/downloadkeyicon.jsx
+++ b/src/web/components/icon/__tests__/downloadkeyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/downloadrpmicon.jsx b/src/web/components/icon/__tests__/downloadrpmicon.jsx
index 8e9316a7bf..e623916cbe 100644
--- a/src/web/components/icon/__tests__/downloadrpmicon.jsx
+++ b/src/web/components/icon/__tests__/downloadrpmicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/downloadsvgicon.jsx b/src/web/components/icon/__tests__/downloadsvgicon.jsx
index c150c4680d..86c0044196 100644
--- a/src/web/components/icon/__tests__/downloadsvgicon.jsx
+++ b/src/web/components/icon/__tests__/downloadsvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/editicon.jsx b/src/web/components/icon/__tests__/editicon.jsx
index c12502d530..a07efb2404 100644
--- a/src/web/components/icon/__tests__/editicon.jsx
+++ b/src/web/components/icon/__tests__/editicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/enableicon.jsx b/src/web/components/icon/__tests__/enableicon.jsx
index ba5394337a..ce293b53c8 100644
--- a/src/web/components/icon/__tests__/enableicon.jsx
+++ b/src/web/components/icon/__tests__/enableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/exporticon.jsx b/src/web/components/icon/__tests__/exporticon.jsx
index 67aeb70ad0..36d8e895d0 100644
--- a/src/web/components/icon/__tests__/exporticon.jsx
+++ b/src/web/components/icon/__tests__/exporticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/feedicon.jsx b/src/web/components/icon/__tests__/feedicon.jsx
index e3fe75905b..ac6371a7d3 100644
--- a/src/web/components/icon/__tests__/feedicon.jsx
+++ b/src/web/components/icon/__tests__/feedicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/filtericon.jsx b/src/web/components/icon/__tests__/filtericon.jsx
index cb796ffea4..c8d6a0883b 100644
--- a/src/web/components/icon/__tests__/filtericon.jsx
+++ b/src/web/components/icon/__tests__/filtericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/firsticon.jsx b/src/web/components/icon/__tests__/firsticon.jsx
index c8860c02cb..99c486e72b 100644
--- a/src/web/components/icon/__tests__/firsticon.jsx
+++ b/src/web/components/icon/__tests__/firsticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/foldicon.jsx b/src/web/components/icon/__tests__/foldicon.jsx
index 4f5b0181f5..88bfa2a639 100644
--- a/src/web/components/icon/__tests__/foldicon.jsx
+++ b/src/web/components/icon/__tests__/foldicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/groupicon.jsx b/src/web/components/icon/__tests__/groupicon.jsx
index 400e3bfc61..9b089ca443 100644
--- a/src/web/components/icon/__tests__/groupicon.jsx
+++ b/src/web/components/icon/__tests__/groupicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/helpicon.jsx b/src/web/components/icon/__tests__/helpicon.jsx
index cf05bb3da5..1abc69581f 100644
--- a/src/web/components/icon/__tests__/helpicon.jsx
+++ b/src/web/components/icon/__tests__/helpicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/hosticon.jsx b/src/web/components/icon/__tests__/hosticon.jsx
index d432dc7bff..6171066c99 100644
--- a/src/web/components/icon/__tests__/hosticon.jsx
+++ b/src/web/components/icon/__tests__/hosticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/importicon.jsx b/src/web/components/icon/__tests__/importicon.jsx
index 9903c6e013..27203438e4 100644
--- a/src/web/components/icon/__tests__/importicon.jsx
+++ b/src/web/components/icon/__tests__/importicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/infoicon.jsx b/src/web/components/icon/__tests__/infoicon.jsx
index 0961dd1518..5b00ccea9f 100644
--- a/src/web/components/icon/__tests__/infoicon.jsx
+++ b/src/web/components/icon/__tests__/infoicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/keyicon.jsx b/src/web/components/icon/__tests__/keyicon.jsx
index 2cc7e5f040..61a4489636 100644
--- a/src/web/components/icon/__tests__/keyicon.jsx
+++ b/src/web/components/icon/__tests__/keyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/lasticon.jsx b/src/web/components/icon/__tests__/lasticon.jsx
index fc4a2addfc..836b469338 100644
--- a/src/web/components/icon/__tests__/lasticon.jsx
+++ b/src/web/components/icon/__tests__/lasticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/ldapicon.jsx b/src/web/components/icon/__tests__/ldapicon.jsx
index 0c09898260..0e329203ae 100644
--- a/src/web/components/icon/__tests__/ldapicon.jsx
+++ b/src/web/components/icon/__tests__/ldapicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/legendicon.jsx b/src/web/components/icon/__tests__/legendicon.jsx
index f52a1c546e..4ae8bc708b 100644
--- a/src/web/components/icon/__tests__/legendicon.jsx
+++ b/src/web/components/icon/__tests__/legendicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/licenseicon.jsx b/src/web/components/icon/__tests__/licenseicon.jsx
index 09534446ea..a4ccfe4851 100644
--- a/src/web/components/icon/__tests__/licenseicon.jsx
+++ b/src/web/components/icon/__tests__/licenseicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/listsvgicon.jsx b/src/web/components/icon/__tests__/listsvgicon.jsx
index 3805152d5e..210d0d1ac0 100644
--- a/src/web/components/icon/__tests__/listsvgicon.jsx
+++ b/src/web/components/icon/__tests__/listsvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/logouticon.jsx b/src/web/components/icon/__tests__/logouticon.jsx
index 44b5e7ee39..947f712f25 100644
--- a/src/web/components/icon/__tests__/logouticon.jsx
+++ b/src/web/components/icon/__tests__/logouticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/mysettingsicon.jsx b/src/web/components/icon/__tests__/mysettingsicon.jsx
index a5268cfeee..a5e9fd1e6e 100644
--- a/src/web/components/icon/__tests__/mysettingsicon.jsx
+++ b/src/web/components/icon/__tests__/mysettingsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/newicon.jsx b/src/web/components/icon/__tests__/newicon.jsx
index 10a317354e..bd6ca080f1 100644
--- a/src/web/components/icon/__tests__/newicon.jsx
+++ b/src/web/components/icon/__tests__/newicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/newnoteicon.jsx b/src/web/components/icon/__tests__/newnoteicon.jsx
index 023f2c4dc5..3aa4fad17e 100644
--- a/src/web/components/icon/__tests__/newnoteicon.jsx
+++ b/src/web/components/icon/__tests__/newnoteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/newoverrideicon.jsx b/src/web/components/icon/__tests__/newoverrideicon.jsx
index e1ea8454f6..32565f3316 100644
--- a/src/web/components/icon/__tests__/newoverrideicon.jsx
+++ b/src/web/components/icon/__tests__/newoverrideicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/nexticon.jsx b/src/web/components/icon/__tests__/nexticon.jsx
index fa6fdd7837..c2361a0b9e 100644
--- a/src/web/components/icon/__tests__/nexticon.jsx
+++ b/src/web/components/icon/__tests__/nexticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/noteicon.jsx b/src/web/components/icon/__tests__/noteicon.jsx
index b5aef3fee4..bc0c04c15f 100644
--- a/src/web/components/icon/__tests__/noteicon.jsx
+++ b/src/web/components/icon/__tests__/noteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/nvticon.jsx b/src/web/components/icon/__tests__/nvticon.jsx
index 175fc3ce43..c52560e963 100644
--- a/src/web/components/icon/__tests__/nvticon.jsx
+++ b/src/web/components/icon/__tests__/nvticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/ossvgicon.jsx b/src/web/components/icon/__tests__/ossvgicon.jsx
index f03160c242..f8a40fd70f 100644
--- a/src/web/components/icon/__tests__/ossvgicon.jsx
+++ b/src/web/components/icon/__tests__/ossvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/overrideicon.jsx b/src/web/components/icon/__tests__/overrideicon.jsx
index c024bd3076..bbc27ffa69 100644
--- a/src/web/components/icon/__tests__/overrideicon.jsx
+++ b/src/web/components/icon/__tests__/overrideicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/performanceicon.jsx b/src/web/components/icon/__tests__/performanceicon.jsx
index 10c0fbddba..07c745d1d8 100644
--- a/src/web/components/icon/__tests__/performanceicon.jsx
+++ b/src/web/components/icon/__tests__/performanceicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/permissionicon.jsx b/src/web/components/icon/__tests__/permissionicon.jsx
index af9d07736e..dc035a172a 100644
--- a/src/web/components/icon/__tests__/permissionicon.jsx
+++ b/src/web/components/icon/__tests__/permissionicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/policyicon.jsx b/src/web/components/icon/__tests__/policyicon.jsx
index 49b3313f3c..d45832cfde 100644
--- a/src/web/components/icon/__tests__/policyicon.jsx
+++ b/src/web/components/icon/__tests__/policyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/portlisticon.jsx b/src/web/components/icon/__tests__/portlisticon.jsx
index 271d326d1d..05e0d4ef5b 100644
--- a/src/web/components/icon/__tests__/portlisticon.jsx
+++ b/src/web/components/icon/__tests__/portlisticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/previousicon.jsx b/src/web/components/icon/__tests__/previousicon.jsx
index 3c697be78c..df89e2b85f 100644
--- a/src/web/components/icon/__tests__/previousicon.jsx
+++ b/src/web/components/icon/__tests__/previousicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/provideviewicon.jsx b/src/web/components/icon/__tests__/provideviewicon.jsx
index 3dbb9d103c..22942de072 100644
--- a/src/web/components/icon/__tests__/provideviewicon.jsx
+++ b/src/web/components/icon/__tests__/provideviewicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/radiusicon.jsx b/src/web/components/icon/__tests__/radiusicon.jsx
index e224b5b213..2bb3cdac1c 100644
--- a/src/web/components/icon/__tests__/radiusicon.jsx
+++ b/src/web/components/icon/__tests__/radiusicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/refreshicon.jsx b/src/web/components/icon/__tests__/refreshicon.jsx
index 71975be04d..45974962b0 100644
--- a/src/web/components/icon/__tests__/refreshicon.jsx
+++ b/src/web/components/icon/__tests__/refreshicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/removefromassetsicon.jsx b/src/web/components/icon/__tests__/removefromassetsicon.jsx
index e2103964f5..400799945b 100644
--- a/src/web/components/icon/__tests__/removefromassetsicon.jsx
+++ b/src/web/components/icon/__tests__/removefromassetsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/reportformaticon.jsx b/src/web/components/icon/__tests__/reportformaticon.jsx
index 6d5fec6d0c..9ac3616918 100644
--- a/src/web/components/icon/__tests__/reportformaticon.jsx
+++ b/src/web/components/icon/__tests__/reportformaticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/reporticon.jsx b/src/web/components/icon/__tests__/reporticon.jsx
index 2f3073769d..86fe6c0087 100644
--- a/src/web/components/icon/__tests__/reporticon.jsx
+++ b/src/web/components/icon/__tests__/reporticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/reseticon.jsx b/src/web/components/icon/__tests__/reseticon.jsx
index 25aa0325bc..891f9d47bc 100644
--- a/src/web/components/icon/__tests__/reseticon.jsx
+++ b/src/web/components/icon/__tests__/reseticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/restoreicon.jsx b/src/web/components/icon/__tests__/restoreicon.jsx
index 8b5b82c7f7..0c6cd9a7fd 100644
--- a/src/web/components/icon/__tests__/restoreicon.jsx
+++ b/src/web/components/icon/__tests__/restoreicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/resumeicon.jsx b/src/web/components/icon/__tests__/resumeicon.jsx
index ceb3f55804..d5a092474f 100644
--- a/src/web/components/icon/__tests__/resumeicon.jsx
+++ b/src/web/components/icon/__tests__/resumeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/roleicon.jsx b/src/web/components/icon/__tests__/roleicon.jsx
index 6db2054e2a..c9490627b2 100644
--- a/src/web/components/icon/__tests__/roleicon.jsx
+++ b/src/web/components/icon/__tests__/roleicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/scanconfigicon.jsx b/src/web/components/icon/__tests__/scanconfigicon.jsx
index 1ec8e39b3e..32d2141ad6 100644
--- a/src/web/components/icon/__tests__/scanconfigicon.jsx
+++ b/src/web/components/icon/__tests__/scanconfigicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/scannericon.jsx b/src/web/components/icon/__tests__/scannericon.jsx
index 3baa5e992e..0c4b26233e 100644
--- a/src/web/components/icon/__tests__/scannericon.jsx
+++ b/src/web/components/icon/__tests__/scannericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/scheduleicon.jsx b/src/web/components/icon/__tests__/scheduleicon.jsx
index 3efbd27972..e42ba10496 100644
--- a/src/web/components/icon/__tests__/scheduleicon.jsx
+++ b/src/web/components/icon/__tests__/scheduleicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/sensoricon.jsx b/src/web/components/icon/__tests__/sensoricon.jsx
index 7ec4ca34b9..e59ba19cfe 100644
--- a/src/web/components/icon/__tests__/sensoricon.jsx
+++ b/src/web/components/icon/__tests__/sensoricon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/solutiontypeicon.jsx b/src/web/components/icon/__tests__/solutiontypeicon.jsx
index 205bf0fdd4..d657f0d7ba 100644
--- a/src/web/components/icon/__tests__/solutiontypeicon.jsx
+++ b/src/web/components/icon/__tests__/solutiontypeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/icon/__tests__/solutiontypesvgicon.jsx b/src/web/components/icon/__tests__/solutiontypesvgicon.jsx
index d089ec4517..f29a489dcd 100644
--- a/src/web/components/icon/__tests__/solutiontypesvgicon.jsx
+++ b/src/web/components/icon/__tests__/solutiontypesvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/starticon.jsx b/src/web/components/icon/__tests__/starticon.jsx
index e591b995ff..aa400bef15 100644
--- a/src/web/components/icon/__tests__/starticon.jsx
+++ b/src/web/components/icon/__tests__/starticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/stmitigateicon.jsx b/src/web/components/icon/__tests__/stmitigateicon.jsx
index bad1b477ba..61b08106cc 100644
--- a/src/web/components/icon/__tests__/stmitigateicon.jsx
+++ b/src/web/components/icon/__tests__/stmitigateicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/stnonavailableicon.jsx b/src/web/components/icon/__tests__/stnonavailableicon.jsx
index 6065f20c49..2020c81e7b 100644
--- a/src/web/components/icon/__tests__/stnonavailableicon.jsx
+++ b/src/web/components/icon/__tests__/stnonavailableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/stopicon.jsx b/src/web/components/icon/__tests__/stopicon.jsx
index 5be61e1676..85ce156f3a 100644
--- a/src/web/components/icon/__tests__/stopicon.jsx
+++ b/src/web/components/icon/__tests__/stopicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/stunknownicon.jsx b/src/web/components/icon/__tests__/stunknownicon.jsx
index 1a158d9dbb..cc6fabaf7c 100644
--- a/src/web/components/icon/__tests__/stunknownicon.jsx
+++ b/src/web/components/icon/__tests__/stunknownicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/stvendorfixicon.jsx b/src/web/components/icon/__tests__/stvendorfixicon.jsx
index f644c37254..442db2d353 100644
--- a/src/web/components/icon/__tests__/stvendorfixicon.jsx
+++ b/src/web/components/icon/__tests__/stvendorfixicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/stwillnotfixicon.jsx b/src/web/components/icon/__tests__/stwillnotfixicon.jsx
index a93debf5cb..e541cd5fc3 100644
--- a/src/web/components/icon/__tests__/stwillnotfixicon.jsx
+++ b/src/web/components/icon/__tests__/stwillnotfixicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/stworkaroundicon.jsx b/src/web/components/icon/__tests__/stworkaroundicon.jsx
index cd8dde1e3c..8608d09f1c 100644
--- a/src/web/components/icon/__tests__/stworkaroundicon.jsx
+++ b/src/web/components/icon/__tests__/stworkaroundicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/svgicon.jsx b/src/web/components/icon/__tests__/svgicon.jsx
index d65f2e1ef8..5a5fcb92f1 100644
--- a/src/web/components/icon/__tests__/svgicon.jsx
+++ b/src/web/components/icon/__tests__/svgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useEffect} from 'react';
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/components/icon/__tests__/tagicon.jsx b/src/web/components/icon/__tests__/tagicon.jsx
index 7c2d1ed493..cae442376c 100644
--- a/src/web/components/icon/__tests__/tagicon.jsx
+++ b/src/web/components/icon/__tests__/tagicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/tagssvgicon.jsx b/src/web/components/icon/__tests__/tagssvgicon.jsx
index b64d34e153..aa2a40f3c2 100644
--- a/src/web/components/icon/__tests__/tagssvgicon.jsx
+++ b/src/web/components/icon/__tests__/tagssvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/taskicon.jsx b/src/web/components/icon/__tests__/taskicon.jsx
index 1962cea250..825806add8 100644
--- a/src/web/components/icon/__tests__/taskicon.jsx
+++ b/src/web/components/icon/__tests__/taskicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/tlscertificateicon.jsx b/src/web/components/icon/__tests__/tlscertificateicon.jsx
index 021fec6ee3..9d7f8142fb 100644
--- a/src/web/components/icon/__tests__/tlscertificateicon.jsx
+++ b/src/web/components/icon/__tests__/tlscertificateicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/toggle3dicon.jsx b/src/web/components/icon/__tests__/toggle3dicon.jsx
index 3e205083c6..d4773bda5a 100644
--- a/src/web/components/icon/__tests__/toggle3dicon.jsx
+++ b/src/web/components/icon/__tests__/toggle3dicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trashcanicon.jsx b/src/web/components/icon/__tests__/trashcanicon.jsx
index acdfd8c24c..33c875c9fd 100644
--- a/src/web/components/icon/__tests__/trashcanicon.jsx
+++ b/src/web/components/icon/__tests__/trashcanicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trashdeleteicon.jsx b/src/web/components/icon/__tests__/trashdeleteicon.jsx
index f6fa9ea341..bb99a0bbb6 100644
--- a/src/web/components/icon/__tests__/trashdeleteicon.jsx
+++ b/src/web/components/icon/__tests__/trashdeleteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trashicon.jsx b/src/web/components/icon/__tests__/trashicon.jsx
index d1963adf6f..2491908589 100644
--- a/src/web/components/icon/__tests__/trashicon.jsx
+++ b/src/web/components/icon/__tests__/trashicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trenddownicon.jsx b/src/web/components/icon/__tests__/trenddownicon.jsx
index da0290e8af..a57a10eb35 100644
--- a/src/web/components/icon/__tests__/trenddownicon.jsx
+++ b/src/web/components/icon/__tests__/trenddownicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trendlessicon.jsx b/src/web/components/icon/__tests__/trendlessicon.jsx
index 909a3582dd..44e814bcaf 100644
--- a/src/web/components/icon/__tests__/trendlessicon.jsx
+++ b/src/web/components/icon/__tests__/trendlessicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trendmoreicon.jsx b/src/web/components/icon/__tests__/trendmoreicon.jsx
index 8b8fee429e..398dc34dfb 100644
--- a/src/web/components/icon/__tests__/trendmoreicon.jsx
+++ b/src/web/components/icon/__tests__/trendmoreicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trendnochangeicon.jsx b/src/web/components/icon/__tests__/trendnochangeicon.jsx
index 380ddf620b..dd735e1b43 100644
--- a/src/web/components/icon/__tests__/trendnochangeicon.jsx
+++ b/src/web/components/icon/__tests__/trendnochangeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trendupicon.jsx b/src/web/components/icon/__tests__/trendupicon.jsx
index 16fbaeb0ea..a6e4159640 100644
--- a/src/web/components/icon/__tests__/trendupicon.jsx
+++ b/src/web/components/icon/__tests__/trendupicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/unfoldicon.jsx b/src/web/components/icon/__tests__/unfoldicon.jsx
index 82869b8fe2..21fbf6bed7 100644
--- a/src/web/components/icon/__tests__/unfoldicon.jsx
+++ b/src/web/components/icon/__tests__/unfoldicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/uploadicon.jsx b/src/web/components/icon/__tests__/uploadicon.jsx
index 2ae3c667af..13af8444d5 100644
--- a/src/web/components/icon/__tests__/uploadicon.jsx
+++ b/src/web/components/icon/__tests__/uploadicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/usericon.jsx b/src/web/components/icon/__tests__/usericon.jsx
index 493cc8f2b1..25c4567e11 100644
--- a/src/web/components/icon/__tests__/usericon.jsx
+++ b/src/web/components/icon/__tests__/usericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/verifyicon.jsx b/src/web/components/icon/__tests__/verifyicon.jsx
index 4622cab67f..a9a1db738c 100644
--- a/src/web/components/icon/__tests__/verifyicon.jsx
+++ b/src/web/components/icon/__tests__/verifyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/verifynoicon.jsx b/src/web/components/icon/__tests__/verifynoicon.jsx
index f45b3bdc54..1ba108be6b 100644
--- a/src/web/components/icon/__tests__/verifynoicon.jsx
+++ b/src/web/components/icon/__tests__/verifynoicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/viewothericon.jsx b/src/web/components/icon/__tests__/viewothericon.jsx
index c04a9a12de..50551db572 100644
--- a/src/web/components/icon/__tests__/viewothericon.jsx
+++ b/src/web/components/icon/__tests__/viewothericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/vulnerabilityicon.jsx b/src/web/components/icon/__tests__/vulnerabilityicon.jsx
index 1aedd2352b..b8d6a84d48 100644
--- a/src/web/components/icon/__tests__/vulnerabilityicon.jsx
+++ b/src/web/components/icon/__tests__/vulnerabilityicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/wizardicon.jsx b/src/web/components/icon/__tests__/wizardicon.jsx
index 8b746b9517..76d99fba3b 100644
--- a/src/web/components/icon/__tests__/wizardicon.jsx
+++ b/src/web/components/icon/__tests__/wizardicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/addtoassetsicon.jsx b/src/web/components/icon/addtoassetsicon.jsx
index d425d7f406..52c9191e09 100644
--- a/src/web/components/icon/addtoassetsicon.jsx
+++ b/src/web/components/icon/addtoassetsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/add_to_assets.svg';
diff --git a/src/web/components/icon/alerticon.jsx b/src/web/components/icon/alerticon.jsx
index b120e7debf..4cff4dd8b4 100644
--- a/src/web/components/icon/alerticon.jsx
+++ b/src/web/components/icon/alerticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/alert.svg';
diff --git a/src/web/components/icon/alterableicon.jsx b/src/web/components/icon/alterableicon.jsx
index e8bd815969..71b0a12698 100644
--- a/src/web/components/icon/alterableicon.jsx
+++ b/src/web/components/icon/alterableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/alterable.svg';
diff --git a/src/web/components/icon/arrowicon.jsx b/src/web/components/icon/arrowicon.jsx
index fb3cfb73ec..f0f4164cda 100644
--- a/src/web/components/icon/arrowicon.jsx
+++ b/src/web/components/icon/arrowicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/icon/auditicon.jsx b/src/web/components/icon/auditicon.jsx
index a19b9fbbfc..fecd82bed0 100644
--- a/src/web/components/icon/auditicon.jsx
+++ b/src/web/components/icon/auditicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/audit.svg';
diff --git a/src/web/components/icon/calendaricon.jsx b/src/web/components/icon/calendaricon.jsx
index 4c3a4589da..7abe9b1730 100644
--- a/src/web/components/icon/calendaricon.jsx
+++ b/src/web/components/icon/calendaricon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/calendar.svg';
diff --git a/src/web/components/icon/certbundadvicon.jsx b/src/web/components/icon/certbundadvicon.jsx
index d2af1f158f..3ee9e3e936 100644
--- a/src/web/components/icon/certbundadvicon.jsx
+++ b/src/web/components/icon/certbundadvicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/cert_bund_adv.svg';
diff --git a/src/web/components/icon/cloneicon.jsx b/src/web/components/icon/cloneicon.jsx
index db2b6ad761..ade92827c7 100644
--- a/src/web/components/icon/cloneicon.jsx
+++ b/src/web/components/icon/cloneicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/clone.svg';
diff --git a/src/web/components/icon/cpeicon.jsx b/src/web/components/icon/cpeicon.jsx
index 0c74e7598b..0685c45fb3 100644
--- a/src/web/components/icon/cpeicon.jsx
+++ b/src/web/components/icon/cpeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/icon/cpelogoicon.jsx b/src/web/components/icon/cpelogoicon.jsx
index 318a94fb36..e62566a68d 100644
--- a/src/web/components/icon/cpelogoicon.jsx
+++ b/src/web/components/icon/cpelogoicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/cpe.svg';
diff --git a/src/web/components/icon/credentialicon.jsx b/src/web/components/icon/credentialicon.jsx
index 5cd7106b4c..307838b75c 100644
--- a/src/web/components/icon/credentialicon.jsx
+++ b/src/web/components/icon/credentialicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/credential.svg';
diff --git a/src/web/components/icon/cveicon.jsx b/src/web/components/icon/cveicon.jsx
index ff7af3622d..c9b468bce5 100644
--- a/src/web/components/icon/cveicon.jsx
+++ b/src/web/components/icon/cveicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/cve.svg';
diff --git a/src/web/components/icon/cvssicon.jsx b/src/web/components/icon/cvssicon.jsx
index 21b489db9a..50ea4a936c 100644
--- a/src/web/components/icon/cvssicon.jsx
+++ b/src/web/components/icon/cvssicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/cvss_calculator.svg';
diff --git a/src/web/components/icon/dashboardicon.jsx b/src/web/components/icon/dashboardicon.jsx
index 6809846b07..f5ff16a803 100644
--- a/src/web/components/icon/dashboardicon.jsx
+++ b/src/web/components/icon/dashboardicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/dashboard.svg';
diff --git a/src/web/components/icon/deleteicon.jsx b/src/web/components/icon/deleteicon.jsx
index 3f7782c2be..3075a22362 100644
--- a/src/web/components/icon/deleteicon.jsx
+++ b/src/web/components/icon/deleteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/deltadifferenceicon.jsx b/src/web/components/icon/deltadifferenceicon.jsx
index 6b4db48498..5ba13f0d03 100644
--- a/src/web/components/icon/deltadifferenceicon.jsx
+++ b/src/web/components/icon/deltadifferenceicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/delta_second.svg';
diff --git a/src/web/components/icon/deltaicon.jsx b/src/web/components/icon/deltaicon.jsx
index d201fd453a..a9ed003fa5 100644
--- a/src/web/components/icon/deltaicon.jsx
+++ b/src/web/components/icon/deltaicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/delta.svg';
diff --git a/src/web/components/icon/deltasecondicon.jsx b/src/web/components/icon/deltasecondicon.jsx
index a584becd4f..952f8d7520 100644
--- a/src/web/components/icon/deltasecondicon.jsx
+++ b/src/web/components/icon/deltasecondicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/delta_second.svg';
diff --git a/src/web/components/icon/detailsicon.jsx b/src/web/components/icon/detailsicon.jsx
index d7fb47152a..415cba00b2 100644
--- a/src/web/components/icon/detailsicon.jsx
+++ b/src/web/components/icon/detailsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import SvgIcon from './svgicon';
diff --git a/src/web/components/icon/dfncertadvicon.jsx b/src/web/components/icon/dfncertadvicon.jsx
index 63d35adb5f..15293b1a0f 100644
--- a/src/web/components/icon/dfncertadvicon.jsx
+++ b/src/web/components/icon/dfncertadvicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/dfn_cert_adv.svg';
diff --git a/src/web/components/icon/disableicon.jsx b/src/web/components/icon/disableicon.jsx
index 2ed6b134c2..5537d6efa8 100644
--- a/src/web/components/icon/disableicon.jsx
+++ b/src/web/components/icon/disableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/disable.svg';
diff --git a/src/web/components/icon/downloadcsvicon.jsx b/src/web/components/icon/downloadcsvicon.jsx
index 61a7e9ed0e..44eb7eae3c 100644
--- a/src/web/components/icon/downloadcsvicon.jsx
+++ b/src/web/components/icon/downloadcsvicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_} from 'gmp/locale/lang';
import withSvgIcon from './withSvgIcon';
diff --git a/src/web/components/icon/downloaddebicon.jsx b/src/web/components/icon/downloaddebicon.jsx
index 0535c25d4b..6300bc48d8 100644
--- a/src/web/components/icon/downloaddebicon.jsx
+++ b/src/web/components/icon/downloaddebicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Icon from './svg/dl_deb.svg';
import withSvgIcon from './withSvgIcon';
diff --git a/src/web/components/icon/downloadexeicon.jsx b/src/web/components/icon/downloadexeicon.jsx
index dbe2a87574..3c350a1814 100644
--- a/src/web/components/icon/downloadexeicon.jsx
+++ b/src/web/components/icon/downloadexeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/dl_exe.svg';
diff --git a/src/web/components/icon/downloadicon.jsx b/src/web/components/icon/downloadicon.jsx
index 4ecba19e1d..c4ebb65c90 100644
--- a/src/web/components/icon/downloadicon.jsx
+++ b/src/web/components/icon/downloadicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/download.svg';
diff --git a/src/web/components/icon/downloadkeyicon.jsx b/src/web/components/icon/downloadkeyicon.jsx
index 5cfacb8a3d..977059c6c5 100644
--- a/src/web/components/icon/downloadkeyicon.jsx
+++ b/src/web/components/icon/downloadkeyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/dl_key.svg';
diff --git a/src/web/components/icon/downloadrpmicon.jsx b/src/web/components/icon/downloadrpmicon.jsx
index a865012b5e..31e857f9b3 100644
--- a/src/web/components/icon/downloadrpmicon.jsx
+++ b/src/web/components/icon/downloadrpmicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/dl_rpm.svg';
diff --git a/src/web/components/icon/downloadsvgicon.jsx b/src/web/components/icon/downloadsvgicon.jsx
index 6c35f45b53..655dad079f 100644
--- a/src/web/components/icon/downloadsvgicon.jsx
+++ b/src/web/components/icon/downloadsvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_} from 'gmp/locale/lang';
import withSvgIcon from './withSvgIcon';
diff --git a/src/web/components/icon/editicon.jsx b/src/web/components/icon/editicon.jsx
index a2be8bef0c..a8b99d3381 100644
--- a/src/web/components/icon/editicon.jsx
+++ b/src/web/components/icon/editicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/edit.svg';
diff --git a/src/web/components/icon/enableicon.jsx b/src/web/components/icon/enableicon.jsx
index 2b353eeeeb..caca9ef298 100644
--- a/src/web/components/icon/enableicon.jsx
+++ b/src/web/components/icon/enableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/enable.svg';
diff --git a/src/web/components/icon/exporticon.jsx b/src/web/components/icon/exporticon.jsx
index 765be54183..00ac016660 100644
--- a/src/web/components/icon/exporticon.jsx
+++ b/src/web/components/icon/exporticon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/feedicon.jsx b/src/web/components/icon/feedicon.jsx
index 6a98ef0525..30cfcfa137 100644
--- a/src/web/components/icon/feedicon.jsx
+++ b/src/web/components/icon/feedicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/feed.svg';
diff --git a/src/web/components/icon/filtericon.jsx b/src/web/components/icon/filtericon.jsx
index f6bdae4d72..3c7726f548 100644
--- a/src/web/components/icon/filtericon.jsx
+++ b/src/web/components/icon/filtericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/filter.svg';
diff --git a/src/web/components/icon/firsticon.jsx b/src/web/components/icon/firsticon.jsx
index 79be331ad5..b77a6e1aef 100644
--- a/src/web/components/icon/firsticon.jsx
+++ b/src/web/components/icon/firsticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/first.svg';
diff --git a/src/web/components/icon/foldicon.jsx b/src/web/components/icon/foldicon.jsx
index 45b1f7918a..f6459c568b 100644
--- a/src/web/components/icon/foldicon.jsx
+++ b/src/web/components/icon/foldicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import FoldSvg from './svg/fold.svg';
diff --git a/src/web/components/icon/foldstateicon.jsx b/src/web/components/icon/foldstateicon.jsx
index 44ea2c66d5..0fef7314d0 100644
--- a/src/web/components/icon/foldstateicon.jsx
+++ b/src/web/components/icon/foldstateicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/groupicon.jsx b/src/web/components/icon/groupicon.jsx
index cbbc6465ff..4c932ac3bc 100644
--- a/src/web/components/icon/groupicon.jsx
+++ b/src/web/components/icon/groupicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/group.svg';
diff --git a/src/web/components/icon/helpicon.jsx b/src/web/components/icon/helpicon.jsx
index 4fe0692a55..175c48b13a 100644
--- a/src/web/components/icon/helpicon.jsx
+++ b/src/web/components/icon/helpicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/help.svg';
diff --git a/src/web/components/icon/hosticon.jsx b/src/web/components/icon/hosticon.jsx
index 67b43cb32b..a6e154192f 100644
--- a/src/web/components/icon/hosticon.jsx
+++ b/src/web/components/icon/hosticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/host.svg';
diff --git a/src/web/components/icon/icon.jsx b/src/web/components/icon/icon.jsx
index 7bed457514..5cf6d8c885 100644
--- a/src/web/components/icon/icon.jsx
+++ b/src/web/components/icon/icon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import 'whatwg-fetch';
diff --git a/src/web/components/icon/importicon.jsx b/src/web/components/icon/importicon.jsx
index bd0fe0ccc9..5f35a6d6ae 100644
--- a/src/web/components/icon/importicon.jsx
+++ b/src/web/components/icon/importicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/import.svg';
diff --git a/src/web/components/icon/infoicon.jsx b/src/web/components/icon/infoicon.jsx
index 94bf0374ba..6e4a310deb 100644
--- a/src/web/components/icon/infoicon.jsx
+++ b/src/web/components/icon/infoicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/info.svg';
diff --git a/src/web/components/icon/keyicon.jsx b/src/web/components/icon/keyicon.jsx
index 820d32ad08..2d5c71ffac 100644
--- a/src/web/components/icon/keyicon.jsx
+++ b/src/web/components/icon/keyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/key.svg';
diff --git a/src/web/components/icon/lasticon.jsx b/src/web/components/icon/lasticon.jsx
index 756ea0c864..3375e48e66 100644
--- a/src/web/components/icon/lasticon.jsx
+++ b/src/web/components/icon/lasticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/last.svg';
diff --git a/src/web/components/icon/ldapicon.jsx b/src/web/components/icon/ldapicon.jsx
index 04537699c8..f736266587 100644
--- a/src/web/components/icon/ldapicon.jsx
+++ b/src/web/components/icon/ldapicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/ldap.svg';
diff --git a/src/web/components/icon/legendicon.jsx b/src/web/components/icon/legendicon.jsx
index 659e9d0d02..70784257ad 100644
--- a/src/web/components/icon/legendicon.jsx
+++ b/src/web/components/icon/legendicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/legend.svg';
diff --git a/src/web/components/icon/licenseicon.jsx b/src/web/components/icon/licenseicon.jsx
index 916927559d..f2f244a992 100644
--- a/src/web/components/icon/licenseicon.jsx
+++ b/src/web/components/icon/licenseicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/license.svg';
diff --git a/src/web/components/icon/listicon.jsx b/src/web/components/icon/listicon.jsx
index 6e0326ab77..bf7f499d19 100644
--- a/src/web/components/icon/listicon.jsx
+++ b/src/web/components/icon/listicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/icon/listsvgicon.jsx b/src/web/components/icon/listsvgicon.jsx
index b4bb506a89..18a93ddff4 100644
--- a/src/web/components/icon/listsvgicon.jsx
+++ b/src/web/components/icon/listsvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/list.svg';
diff --git a/src/web/components/icon/logouticon.jsx b/src/web/components/icon/logouticon.jsx
index 3ff9bb211e..3de765e2b6 100644
--- a/src/web/components/icon/logouticon.jsx
+++ b/src/web/components/icon/logouticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/logout.svg';
diff --git a/src/web/components/icon/manualicon.jsx b/src/web/components/icon/manualicon.jsx
index 2ac3f43f2e..705bb2cf64 100644
--- a/src/web/components/icon/manualicon.jsx
+++ b/src/web/components/icon/manualicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/icon/mysettingsicon.jsx b/src/web/components/icon/mysettingsicon.jsx
index 76c741b7af..411bd2c056 100644
--- a/src/web/components/icon/mysettingsicon.jsx
+++ b/src/web/components/icon/mysettingsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/my_setting.svg';
diff --git a/src/web/components/icon/newicon.jsx b/src/web/components/icon/newicon.jsx
index d017a73e09..b89f44914f 100644
--- a/src/web/components/icon/newicon.jsx
+++ b/src/web/components/icon/newicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/new.svg';
diff --git a/src/web/components/icon/newnoteicon.jsx b/src/web/components/icon/newnoteicon.jsx
index 02bc1dc303..9445a5e3dc 100644
--- a/src/web/components/icon/newnoteicon.jsx
+++ b/src/web/components/icon/newnoteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/new_note.svg';
diff --git a/src/web/components/icon/newoverrideicon.jsx b/src/web/components/icon/newoverrideicon.jsx
index 69bb529d37..ab5cecc7d4 100644
--- a/src/web/components/icon/newoverrideicon.jsx
+++ b/src/web/components/icon/newoverrideicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/new_override.svg';
diff --git a/src/web/components/icon/newticketicon.jsx b/src/web/components/icon/newticketicon.jsx
index 031515f89d..7a83e06b17 100644
--- a/src/web/components/icon/newticketicon.jsx
+++ b/src/web/components/icon/newticketicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import SvgIcon from './svgicon';
diff --git a/src/web/components/icon/nexticon.jsx b/src/web/components/icon/nexticon.jsx
index e7a5c73199..68da9455af 100644
--- a/src/web/components/icon/nexticon.jsx
+++ b/src/web/components/icon/nexticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/next.svg';
diff --git a/src/web/components/icon/noteicon.jsx b/src/web/components/icon/noteicon.jsx
index c0eef067c3..9d75147cf6 100644
--- a/src/web/components/icon/noteicon.jsx
+++ b/src/web/components/icon/noteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/note.svg';
diff --git a/src/web/components/icon/nvticon.jsx b/src/web/components/icon/nvticon.jsx
index c041e3c43e..00f3cc268b 100644
--- a/src/web/components/icon/nvticon.jsx
+++ b/src/web/components/icon/nvticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/nvt.svg';
diff --git a/src/web/components/icon/osicon.jsx b/src/web/components/icon/osicon.jsx
index 7bc8d4f428..3ad80e3e32 100644
--- a/src/web/components/icon/osicon.jsx
+++ b/src/web/components/icon/osicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/ossvgicon.jsx b/src/web/components/icon/ossvgicon.jsx
index c25c4031da..e8dd8f9945 100644
--- a/src/web/components/icon/ossvgicon.jsx
+++ b/src/web/components/icon/ossvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/os.svg';
diff --git a/src/web/components/icon/overrideicon.jsx b/src/web/components/icon/overrideicon.jsx
index bfbe622c42..5f987c49e0 100644
--- a/src/web/components/icon/overrideicon.jsx
+++ b/src/web/components/icon/overrideicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/override.svg';
diff --git a/src/web/components/icon/performanceicon.jsx b/src/web/components/icon/performanceicon.jsx
index beaea5a73f..bfd4e23655 100644
--- a/src/web/components/icon/performanceicon.jsx
+++ b/src/web/components/icon/performanceicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/performance.svg';
diff --git a/src/web/components/icon/permissionicon.jsx b/src/web/components/icon/permissionicon.jsx
index cf1e2b4e54..cd14d4e23d 100644
--- a/src/web/components/icon/permissionicon.jsx
+++ b/src/web/components/icon/permissionicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/permission.svg';
diff --git a/src/web/components/icon/policyicon.jsx b/src/web/components/icon/policyicon.jsx
index fa71872de9..d11f3b8e08 100644
--- a/src/web/components/icon/policyicon.jsx
+++ b/src/web/components/icon/policyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/policy.svg';
diff --git a/src/web/components/icon/portlisticon.jsx b/src/web/components/icon/portlisticon.jsx
index ebe16b22d1..02e39f3b57 100644
--- a/src/web/components/icon/portlisticon.jsx
+++ b/src/web/components/icon/portlisticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/port_list.svg';
diff --git a/src/web/components/icon/previousicon.jsx b/src/web/components/icon/previousicon.jsx
index de9d19a906..ba9f42f233 100644
--- a/src/web/components/icon/previousicon.jsx
+++ b/src/web/components/icon/previousicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/previous.svg';
diff --git a/src/web/components/icon/provideviewicon.jsx b/src/web/components/icon/provideviewicon.jsx
index fa5ce93cca..37e4ace3fd 100644
--- a/src/web/components/icon/provideviewicon.jsx
+++ b/src/web/components/icon/provideviewicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/provide_view.svg';
diff --git a/src/web/components/icon/radiusicon.jsx b/src/web/components/icon/radiusicon.jsx
index 019d7714a5..a9f80ee9bb 100644
--- a/src/web/components/icon/radiusicon.jsx
+++ b/src/web/components/icon/radiusicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/radius.svg';
diff --git a/src/web/components/icon/refreshicon.jsx b/src/web/components/icon/refreshicon.jsx
index c3b1160f6d..8bf433ebc1 100644
--- a/src/web/components/icon/refreshicon.jsx
+++ b/src/web/components/icon/refreshicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/refresh.svg';
diff --git a/src/web/components/icon/removefromassetsicon.jsx b/src/web/components/icon/removefromassetsicon.jsx
index e28cf69603..d6fc7b7633 100644
--- a/src/web/components/icon/removefromassetsicon.jsx
+++ b/src/web/components/icon/removefromassetsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/remove_from_assets.svg';
diff --git a/src/web/components/icon/reportconfigicon.jsx b/src/web/components/icon/reportconfigicon.jsx
index d43468780d..b39e5c241a 100644
--- a/src/web/components/icon/reportconfigicon.jsx
+++ b/src/web/components/icon/reportconfigicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/report_format.svg';
diff --git a/src/web/components/icon/reportformaticon.jsx b/src/web/components/icon/reportformaticon.jsx
index 7ecd5319ff..95f5392fc6 100644
--- a/src/web/components/icon/reportformaticon.jsx
+++ b/src/web/components/icon/reportformaticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/report_format.svg';
diff --git a/src/web/components/icon/reporticon.jsx b/src/web/components/icon/reporticon.jsx
index 0dddcd1f65..49938725d7 100644
--- a/src/web/components/icon/reporticon.jsx
+++ b/src/web/components/icon/reporticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/report.svg';
diff --git a/src/web/components/icon/reseticon.jsx b/src/web/components/icon/reseticon.jsx
index 6b9f65ff0d..8f69c2da4d 100644
--- a/src/web/components/icon/reseticon.jsx
+++ b/src/web/components/icon/reseticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/reset.svg';
diff --git a/src/web/components/icon/restoreicon.jsx b/src/web/components/icon/restoreicon.jsx
index 3e8a05b1ad..b8f05cb101 100644
--- a/src/web/components/icon/restoreicon.jsx
+++ b/src/web/components/icon/restoreicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/restore.svg';
diff --git a/src/web/components/icon/resulticon.jsx b/src/web/components/icon/resulticon.jsx
index 562be8a675..bc255cda0f 100644
--- a/src/web/components/icon/resulticon.jsx
+++ b/src/web/components/icon/resulticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/result.svg';
diff --git a/src/web/components/icon/resumeicon.jsx b/src/web/components/icon/resumeicon.jsx
index 91e954db05..abafe653a4 100644
--- a/src/web/components/icon/resumeicon.jsx
+++ b/src/web/components/icon/resumeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/resume.svg';
diff --git a/src/web/components/icon/roleicon.jsx b/src/web/components/icon/roleicon.jsx
index 642ad688c3..d6b8df8ca7 100644
--- a/src/web/components/icon/roleicon.jsx
+++ b/src/web/components/icon/roleicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/role.svg';
diff --git a/src/web/components/icon/scanconfigicon.jsx b/src/web/components/icon/scanconfigicon.jsx
index e21a18a0c0..a9c67eb8c2 100644
--- a/src/web/components/icon/scanconfigicon.jsx
+++ b/src/web/components/icon/scanconfigicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/config.svg';
diff --git a/src/web/components/icon/scannericon.jsx b/src/web/components/icon/scannericon.jsx
index ab8f8258f3..92a7e93cdd 100644
--- a/src/web/components/icon/scannericon.jsx
+++ b/src/web/components/icon/scannericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/scanner.svg';
diff --git a/src/web/components/icon/scheduleicon.jsx b/src/web/components/icon/scheduleicon.jsx
index 177daec451..5cfb98a09e 100644
--- a/src/web/components/icon/scheduleicon.jsx
+++ b/src/web/components/icon/scheduleicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/schedule.svg';
diff --git a/src/web/components/icon/sensoricon.jsx b/src/web/components/icon/sensoricon.jsx
index 4a0fd94993..470c158b5f 100644
--- a/src/web/components/icon/sensoricon.jsx
+++ b/src/web/components/icon/sensoricon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/sensor.svg';
diff --git a/src/web/components/icon/solutiontypeicon.jsx b/src/web/components/icon/solutiontypeicon.jsx
index 63d2a15b04..7639f1fb94 100644
--- a/src/web/components/icon/solutiontypeicon.jsx
+++ b/src/web/components/icon/solutiontypeicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/solutiontypesvgicon.jsx b/src/web/components/icon/solutiontypesvgicon.jsx
index 4b5387f8a9..b2401b4fa1 100644
--- a/src/web/components/icon/solutiontypesvgicon.jsx
+++ b/src/web/components/icon/solutiontypesvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/solution_type.svg';
diff --git a/src/web/components/icon/starticon.jsx b/src/web/components/icon/starticon.jsx
index 9189fc795e..11c559d0ce 100644
--- a/src/web/components/icon/starticon.jsx
+++ b/src/web/components/icon/starticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/start.svg';
diff --git a/src/web/components/icon/stmitigateicon.jsx b/src/web/components/icon/stmitigateicon.jsx
index ad70083c21..8eb288409c 100644
--- a/src/web/components/icon/stmitigateicon.jsx
+++ b/src/web/components/icon/stmitigateicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/st_mitigate.svg';
diff --git a/src/web/components/icon/stnonavailableicon.jsx b/src/web/components/icon/stnonavailableicon.jsx
index d1fef1589c..5c9181a1d7 100644
--- a/src/web/components/icon/stnonavailableicon.jsx
+++ b/src/web/components/icon/stnonavailableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/st_nonavailable.svg';
diff --git a/src/web/components/icon/stopicon.jsx b/src/web/components/icon/stopicon.jsx
index 6145f12f5b..b7a625fb4e 100644
--- a/src/web/components/icon/stopicon.jsx
+++ b/src/web/components/icon/stopicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/stop.svg';
diff --git a/src/web/components/icon/stunknownicon.jsx b/src/web/components/icon/stunknownicon.jsx
index 42ce79d674..b27ac56d49 100644
--- a/src/web/components/icon/stunknownicon.jsx
+++ b/src/web/components/icon/stunknownicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/st_unknown.svg';
diff --git a/src/web/components/icon/stvendorfixicon.jsx b/src/web/components/icon/stvendorfixicon.jsx
index 0ba7788537..5cb739b5d4 100644
--- a/src/web/components/icon/stvendorfixicon.jsx
+++ b/src/web/components/icon/stvendorfixicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/st_vendorfix.svg';
diff --git a/src/web/components/icon/stwillnotfixicon.jsx b/src/web/components/icon/stwillnotfixicon.jsx
index 1c1366735a..5625132e5b 100644
--- a/src/web/components/icon/stwillnotfixicon.jsx
+++ b/src/web/components/icon/stwillnotfixicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/st_willnotfix.svg';
diff --git a/src/web/components/icon/stworkaroundicon.jsx b/src/web/components/icon/stworkaroundicon.jsx
index c66d02838f..d3ec84acbf 100644
--- a/src/web/components/icon/stworkaroundicon.jsx
+++ b/src/web/components/icon/stworkaroundicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/st_workaround.svg';
diff --git a/src/web/components/icon/svgicon.jsx b/src/web/components/icon/svgicon.jsx
index 4637120782..ce0a8824fa 100644
--- a/src/web/components/icon/svgicon.jsx
+++ b/src/web/components/icon/svgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useEffect, useState, useRef} from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/icon/tagicon.jsx b/src/web/components/icon/tagicon.jsx
index 0daa6dd479..3c34f3df63 100644
--- a/src/web/components/icon/tagicon.jsx
+++ b/src/web/components/icon/tagicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/tag.svg';
diff --git a/src/web/components/icon/tagsicon.jsx b/src/web/components/icon/tagsicon.jsx
index 199384cae6..15e4ef529b 100644
--- a/src/web/components/icon/tagsicon.jsx
+++ b/src/web/components/icon/tagsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/tagssvgicon.jsx b/src/web/components/icon/tagssvgicon.jsx
index 8d796395d7..873c378055 100644
--- a/src/web/components/icon/tagssvgicon.jsx
+++ b/src/web/components/icon/tagssvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/tags.svg';
diff --git a/src/web/components/icon/targeticon.jsx b/src/web/components/icon/targeticon.jsx
index 3bac0ef29a..84d91d905b 100644
--- a/src/web/components/icon/targeticon.jsx
+++ b/src/web/components/icon/targeticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/target.svg';
diff --git a/src/web/components/icon/taskicon.jsx b/src/web/components/icon/taskicon.jsx
index a2f63e70d7..4a0287caed 100644
--- a/src/web/components/icon/taskicon.jsx
+++ b/src/web/components/icon/taskicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/task.svg';
diff --git a/src/web/components/icon/testing.jsx b/src/web/components/icon/testing.jsx
index d389d9b4ea..3837d546ff 100644
--- a/src/web/components/icon/testing.jsx
+++ b/src/web/components/icon/testing.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {test, expect, testing} from '@gsa/testing';
import {render, fireEvent, act} from 'web/utils/testing';
diff --git a/src/web/components/icon/ticketicon.jsx b/src/web/components/icon/ticketicon.jsx
index 9dbb5f525f..3f37770f6a 100644
--- a/src/web/components/icon/ticketicon.jsx
+++ b/src/web/components/icon/ticketicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import SvgIcon from './svgicon';
diff --git a/src/web/components/icon/tlscertificateicon.jsx b/src/web/components/icon/tlscertificateicon.jsx
index 0eb180b3d5..2b20bc4252 100644
--- a/src/web/components/icon/tlscertificateicon.jsx
+++ b/src/web/components/icon/tlscertificateicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/tlscertificate.svg';
diff --git a/src/web/components/icon/toggle3dicon.jsx b/src/web/components/icon/toggle3dicon.jsx
index 0caacf390e..2168bdd18e 100644
--- a/src/web/components/icon/toggle3dicon.jsx
+++ b/src/web/components/icon/toggle3dicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/toggle3d.svg';
diff --git a/src/web/components/icon/trashcanicon.jsx b/src/web/components/icon/trashcanicon.jsx
index 5be9944a11..c7c69added 100644
--- a/src/web/components/icon/trashcanicon.jsx
+++ b/src/web/components/icon/trashcanicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/trashcan.svg';
diff --git a/src/web/components/icon/trashdeleteicon.jsx b/src/web/components/icon/trashdeleteicon.jsx
index 3e2e6f49b1..c16db5ca63 100644
--- a/src/web/components/icon/trashdeleteicon.jsx
+++ b/src/web/components/icon/trashdeleteicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/icon/trashicon.jsx b/src/web/components/icon/trashicon.jsx
index 589bb283ef..71cfde96f9 100644
--- a/src/web/components/icon/trashicon.jsx
+++ b/src/web/components/icon/trashicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/trenddownicon.jsx b/src/web/components/icon/trenddownicon.jsx
index fcf7833292..8dc975b76b 100644
--- a/src/web/components/icon/trenddownicon.jsx
+++ b/src/web/components/icon/trenddownicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/trend_down.svg';
diff --git a/src/web/components/icon/trendlessicon.jsx b/src/web/components/icon/trendlessicon.jsx
index 8050f6ea63..4c6d0448d8 100644
--- a/src/web/components/icon/trendlessicon.jsx
+++ b/src/web/components/icon/trendlessicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/trend_less.svg';
diff --git a/src/web/components/icon/trendmoreicon.jsx b/src/web/components/icon/trendmoreicon.jsx
index 9c642d9ef6..49388c0dfb 100644
--- a/src/web/components/icon/trendmoreicon.jsx
+++ b/src/web/components/icon/trendmoreicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/trend_more.svg';
diff --git a/src/web/components/icon/trendnochangeicon.jsx b/src/web/components/icon/trendnochangeicon.jsx
index 74a0349540..64cc2f3774 100644
--- a/src/web/components/icon/trendnochangeicon.jsx
+++ b/src/web/components/icon/trendnochangeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/trend_nochange.svg';
diff --git a/src/web/components/icon/trendupicon.jsx b/src/web/components/icon/trendupicon.jsx
index a898fd36bc..bf0fba5321 100644
--- a/src/web/components/icon/trendupicon.jsx
+++ b/src/web/components/icon/trendupicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/trend_up.svg';
diff --git a/src/web/components/icon/unfoldicon.jsx b/src/web/components/icon/unfoldicon.jsx
index f0a3cec811..e4dd5f3974 100644
--- a/src/web/components/icon/unfoldicon.jsx
+++ b/src/web/components/icon/unfoldicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/unfold.svg';
diff --git a/src/web/components/icon/uploadicon.jsx b/src/web/components/icon/uploadicon.jsx
index 79075446c9..6ac84681fe 100644
--- a/src/web/components/icon/uploadicon.jsx
+++ b/src/web/components/icon/uploadicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/upload.svg';
diff --git a/src/web/components/icon/usericon.jsx b/src/web/components/icon/usericon.jsx
index 635a90a8e1..004f8c8d52 100644
--- a/src/web/components/icon/usericon.jsx
+++ b/src/web/components/icon/usericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/user.svg';
diff --git a/src/web/components/icon/verifyicon.jsx b/src/web/components/icon/verifyicon.jsx
index 01e14239df..fb8b7b8a49 100644
--- a/src/web/components/icon/verifyicon.jsx
+++ b/src/web/components/icon/verifyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/verify.svg';
diff --git a/src/web/components/icon/verifynoicon.jsx b/src/web/components/icon/verifynoicon.jsx
index d2bd2be1e7..148a36b027 100644
--- a/src/web/components/icon/verifynoicon.jsx
+++ b/src/web/components/icon/verifynoicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/verify_no.svg';
diff --git a/src/web/components/icon/viewothericon.jsx b/src/web/components/icon/viewothericon.jsx
index dbc22f0391..c913f53722 100644
--- a/src/web/components/icon/viewothericon.jsx
+++ b/src/web/components/icon/viewothericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/view_other.svg';
diff --git a/src/web/components/icon/vulnerabilityicon.jsx b/src/web/components/icon/vulnerabilityicon.jsx
index 7d8c9288bb..9c531e1537 100644
--- a/src/web/components/icon/vulnerabilityicon.jsx
+++ b/src/web/components/icon/vulnerabilityicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/vulnerability.svg';
diff --git a/src/web/components/icon/withIconSize.jsx b/src/web/components/icon/withIconSize.jsx
index a6b0907e06..276120b6a6 100644
--- a/src/web/components/icon/withIconSize.jsx
+++ b/src/web/components/icon/withIconSize.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/icon/withSvgIcon.jsx b/src/web/components/icon/withSvgIcon.jsx
index bc58bbb0ff..d859c458f5 100644
--- a/src/web/components/icon/withSvgIcon.jsx
+++ b/src/web/components/icon/withSvgIcon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import hoistStatics from 'hoist-non-react-statics';
diff --git a/src/web/components/icon/wizardicon.jsx b/src/web/components/icon/wizardicon.jsx
index 5fa5b0b086..f2b9e8af4d 100644
--- a/src/web/components/icon/wizardicon.jsx
+++ b/src/web/components/icon/wizardicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/wizard.svg';
diff --git a/src/web/components/img/__tests__/greenbone.jsx b/src/web/components/img/__tests__/greenbone.jsx
index afdfdb84a8..1e13cc6a47 100644
--- a/src/web/components/img/__tests__/greenbone.jsx
+++ b/src/web/components/img/__tests__/greenbone.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/img/__tests__/greenboneloginlogo.jsx b/src/web/components/img/__tests__/greenboneloginlogo.jsx
index fd24afccd3..d886b94a32 100644
--- a/src/web/components/img/__tests__/greenboneloginlogo.jsx
+++ b/src/web/components/img/__tests__/greenboneloginlogo.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/img/__tests__/img.jsx b/src/web/components/img/__tests__/img.jsx
index 6fe3b8cf82..4f722f46d2 100644
--- a/src/web/components/img/__tests__/img.jsx
+++ b/src/web/components/img/__tests__/img.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/img/__tests__/product.jsx b/src/web/components/img/__tests__/product.jsx
index 9e3f8c9db6..5c739c046b 100644
--- a/src/web/components/img/__tests__/product.jsx
+++ b/src/web/components/img/__tests__/product.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {rendererWith} from 'web/utils/testing';
diff --git a/src/web/components/img/greenbone.jsx b/src/web/components/img/greenbone.jsx
index afff626d96..b1f5c84dfb 100644
--- a/src/web/components/img/greenbone.jsx
+++ b/src/web/components/img/greenbone.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import GbLogo from 'web/components/icon/svg/greenbone.svg?url';
diff --git a/src/web/components/img/greenboneloginlogo.jsx b/src/web/components/img/greenboneloginlogo.jsx
index 508d1f683e..b21b1cd076 100644
--- a/src/web/components/img/greenboneloginlogo.jsx
+++ b/src/web/components/img/greenboneloginlogo.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/img/img.jsx b/src/web/components/img/img.jsx
index 8bbdb3c8f7..7aa566e8b3 100644
--- a/src/web/components/img/img.jsx
+++ b/src/web/components/img/img.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/img/product.jsx b/src/web/components/img/product.jsx
index 7411fd976e..e684a73a42 100644
--- a/src/web/components/img/product.jsx
+++ b/src/web/components/img/product.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/label/__tests__/severityclass.jsx b/src/web/components/label/__tests__/severityclass.jsx
index eed68e2313..5a020bcf58 100644
--- a/src/web/components/label/__tests__/severityclass.jsx
+++ b/src/web/components/label/__tests__/severityclass.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/label/severityclass.jsx b/src/web/components/label/severityclass.jsx
index 84ef917929..094c4bcdf6 100644
--- a/src/web/components/label/severityclass.jsx
+++ b/src/web/components/label/severityclass.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/layout/__tests__/Layout.jsx b/src/web/components/layout/__tests__/Layout.jsx
index 38e6d10fd6..adbccbe388 100644
--- a/src/web/components/layout/__tests__/Layout.jsx
+++ b/src/web/components/layout/__tests__/Layout.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Layout from 'web/components/layout/layout';
diff --git a/src/web/components/layout/__tests__/horizontalsep.jsx b/src/web/components/layout/__tests__/horizontalsep.jsx
index 0a87889dfb..a7885e7eb2 100644
--- a/src/web/components/layout/__tests__/horizontalsep.jsx
+++ b/src/web/components/layout/__tests__/horizontalsep.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import HorizontalSep from 'web/components/layout/horizontalsep';
diff --git a/src/web/components/layout/__tests__/pagetitle.jsx b/src/web/components/layout/__tests__/pagetitle.jsx
index b160897e23..3c9fc0419d 100644
--- a/src/web/components/layout/__tests__/pagetitle.jsx
+++ b/src/web/components/layout/__tests__/pagetitle.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import PageTitle from 'web/components/layout/pagetitle';
diff --git a/src/web/components/layout/__tests__/withLayout.jsx b/src/web/components/layout/__tests__/withLayout.jsx
index 22c57ce47c..97dc103aaa 100644
--- a/src/web/components/layout/__tests__/withLayout.jsx
+++ b/src/web/components/layout/__tests__/withLayout.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import withLayout from 'web/components/layout/withLayout';
diff --git a/src/web/components/layout/autosize.jsx b/src/web/components/layout/autosize.jsx
index a9f409eadf..3da8c95d6d 100644
--- a/src/web/components/layout/autosize.jsx
+++ b/src/web/components/layout/autosize.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/layout/divider.jsx b/src/web/components/layout/divider.jsx
index 24ecb7e44a..18205cc03b 100644
--- a/src/web/components/layout/divider.jsx
+++ b/src/web/components/layout/divider.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/layout/globalstyles.jsx b/src/web/components/layout/globalstyles.jsx
index e1da2d940a..93999990d8 100644
--- a/src/web/components/layout/globalstyles.jsx
+++ b/src/web/components/layout/globalstyles.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createGlobalStyle} from 'styled-components';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/layout/horizontalsep.jsx b/src/web/components/layout/horizontalsep.jsx
index 3f4a346f31..44aeb6790d 100644
--- a/src/web/components/layout/horizontalsep.jsx
+++ b/src/web/components/layout/horizontalsep.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/layout/icondivider.jsx b/src/web/components/layout/icondivider.jsx
index fae7649038..9362ceff36 100644
--- a/src/web/components/layout/icondivider.jsx
+++ b/src/web/components/layout/icondivider.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withComponentDefaults from 'web/utils/withComponentDefaults';
import Divider from './divider';
diff --git a/src/web/components/layout/layout.jsx b/src/web/components/layout/layout.jsx
index f025a561a7..c6282d3a80 100644
--- a/src/web/components/layout/layout.jsx
+++ b/src/web/components/layout/layout.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withLayout from './withLayout';
const Layout = withLayout()('div');
diff --git a/src/web/components/layout/pagetitle.jsx b/src/web/components/layout/pagetitle.jsx
index 95dbe3392f..b1382eacd0 100644
--- a/src/web/components/layout/pagetitle.jsx
+++ b/src/web/components/layout/pagetitle.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useEffect} from 'react';
import {isDefined} from 'gmp/utils/identity';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/layout/withLayout.jsx b/src/web/components/layout/withLayout.jsx
index 424c4e53a7..f6ef1338e2 100644
--- a/src/web/components/layout/withLayout.jsx
+++ b/src/web/components/layout/withLayout.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/link/__tests__/blanklink.jsx b/src/web/components/link/__tests__/blanklink.jsx
index d9d9d1db9f..37b2791551 100644
--- a/src/web/components/link/__tests__/blanklink.jsx
+++ b/src/web/components/link/__tests__/blanklink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/link/__tests__/certlink.jsx b/src/web/components/link/__tests__/certlink.jsx
index 97893096b6..65dc8d5ff2 100644
--- a/src/web/components/link/__tests__/certlink.jsx
+++ b/src/web/components/link/__tests__/certlink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {fireEvent, rendererWith} from 'web/utils/testing';
diff --git a/src/web/components/link/__tests__/cvelink.jsx b/src/web/components/link/__tests__/cvelink.jsx
index 0e46aece46..6b74d62342 100644
--- a/src/web/components/link/__tests__/cvelink.jsx
+++ b/src/web/components/link/__tests__/cvelink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {fireEvent, rendererWith} from 'web/utils/testing';
diff --git a/src/web/components/link/__tests__/detailslink.jsx b/src/web/components/link/__tests__/detailslink.jsx
index 56cd1e155c..fd78aced37 100644
--- a/src/web/components/link/__tests__/detailslink.jsx
+++ b/src/web/components/link/__tests__/detailslink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/components/link/__tests__/externallink.jsx b/src/web/components/link/__tests__/externallink.jsx
index c9d5ed190b..dbb20bbb19 100644
--- a/src/web/components/link/__tests__/externallink.jsx
+++ b/src/web/components/link/__tests__/externallink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {
diff --git a/src/web/components/link/__tests__/innerlink.jsx b/src/web/components/link/__tests__/innerlink.jsx
index e4eae29c96..bd484bd2ab 100644
--- a/src/web/components/link/__tests__/innerlink.jsx
+++ b/src/web/components/link/__tests__/innerlink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/link/__tests__/link.jsx b/src/web/components/link/__tests__/link.jsx
index 9d4575eb8b..2282d3b976 100644
--- a/src/web/components/link/__tests__/link.jsx
+++ b/src/web/components/link/__tests__/link.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {rendererWith, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/link/__tests__/manuallink.jsx b/src/web/components/link/__tests__/manuallink.jsx
index 3796b66454..c48314a3d8 100644
--- a/src/web/components/link/__tests__/manuallink.jsx
+++ b/src/web/components/link/__tests__/manuallink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {setLocale} from 'gmp/locale/lang';
diff --git a/src/web/components/link/__tests__/protocoldoclink.jsx b/src/web/components/link/__tests__/protocoldoclink.jsx
index 939b559be2..f746f7466e 100644
--- a/src/web/components/link/__tests__/protocoldoclink.jsx
+++ b/src/web/components/link/__tests__/protocoldoclink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {rendererWith} from 'web/utils/testing';
diff --git a/src/web/components/link/__tests__/target.jsx b/src/web/components/link/__tests__/target.jsx
index 02e3db4a44..ef7e4834ed 100644
--- a/src/web/components/link/__tests__/target.jsx
+++ b/src/web/components/link/__tests__/target.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/link/blanklink.jsx b/src/web/components/link/blanklink.jsx
index a59da17efe..20fea30586 100644
--- a/src/web/components/link/blanklink.jsx
+++ b/src/web/components/link/blanklink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/link/certlink.jsx b/src/web/components/link/certlink.jsx
index 864c7750fc..3b6dc46c87 100644
--- a/src/web/components/link/certlink.jsx
+++ b/src/web/components/link/certlink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/link/cvelink.jsx b/src/web/components/link/cvelink.jsx
index 8b6c0f0133..f01622f420 100644
--- a/src/web/components/link/cvelink.jsx
+++ b/src/web/components/link/cvelink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/link/detailslink.jsx b/src/web/components/link/detailslink.jsx
index 1a266a1319..b5dfa24121 100644
--- a/src/web/components/link/detailslink.jsx
+++ b/src/web/components/link/detailslink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/link/externallink.jsx b/src/web/components/link/externallink.jsx
index bcd9309f04..846ebb4760 100644
--- a/src/web/components/link/externallink.jsx
+++ b/src/web/components/link/externallink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/link/innerlink.jsx b/src/web/components/link/innerlink.jsx
index 5a7c5532d8..27ea303e9f 100644
--- a/src/web/components/link/innerlink.jsx
+++ b/src/web/components/link/innerlink.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/link/link.jsx b/src/web/components/link/link.jsx
index 44fd9711a1..a06340f7e3 100644
--- a/src/web/components/link/link.jsx
+++ b/src/web/components/link/link.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/link/manuallink.jsx b/src/web/components/link/manuallink.jsx
index 6a6bf07495..38977d8325 100644
--- a/src/web/components/link/manuallink.jsx
+++ b/src/web/components/link/manuallink.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {getLocale} from 'gmp/locale/lang';
diff --git a/src/web/components/link/protocoldoclink.jsx b/src/web/components/link/protocoldoclink.jsx
index 0b6a17da8b..2b7c6cf508 100644
--- a/src/web/components/link/protocoldoclink.jsx
+++ b/src/web/components/link/protocoldoclink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/link/target.jsx b/src/web/components/link/target.jsx
index 17a1a4a8c2..f8fdb622a8 100644
--- a/src/web/components/link/target.jsx
+++ b/src/web/components/link/target.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/loading/__tests__/loading.jsx b/src/web/components/loading/__tests__/loading.jsx
index 56abe4d131..4ce327f2a5 100644
--- a/src/web/components/loading/__tests__/loading.jsx
+++ b/src/web/components/loading/__tests__/loading.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/loading/__tests__/reload.jsx b/src/web/components/loading/__tests__/reload.jsx
index c803c1f2b7..908a201feb 100644
--- a/src/web/components/loading/__tests__/reload.jsx
+++ b/src/web/components/loading/__tests__/reload.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {act, fireEvent, rendererWith} from 'web/utils/testing';
diff --git a/src/web/components/loading/loading.jsx b/src/web/components/loading/loading.jsx
index 93cf74f14d..3e353ee9a6 100644
--- a/src/web/components/loading/loading.jsx
+++ b/src/web/components/loading/loading.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled, {keyframes} from 'styled-components';
diff --git a/src/web/components/loading/reload.jsx b/src/web/components/loading/reload.jsx
index bd94982ee7..b23c2f104a 100644
--- a/src/web/components/loading/reload.jsx
+++ b/src/web/components/loading/reload.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import logger from 'gmp/log';
diff --git a/src/web/components/menu/__tests__/usermenu.jsx b/src/web/components/menu/__tests__/usermenu.jsx
index d2a69a58a8..c49ff8da9b 100644
--- a/src/web/components/menu/__tests__/usermenu.jsx
+++ b/src/web/components/menu/__tests__/usermenu.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import date from 'gmp/models/date';
diff --git a/src/web/components/menu/iconmenu.jsx b/src/web/components/menu/iconmenu.jsx
index 39f984d44f..111fb33bd0 100644
--- a/src/web/components/menu/iconmenu.jsx
+++ b/src/web/components/menu/iconmenu.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/menu/menuentry.jsx b/src/web/components/menu/menuentry.jsx
index 9e7e70a376..831ff0b8cc 100644
--- a/src/web/components/menu/menuentry.jsx
+++ b/src/web/components/menu/menuentry.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/menu/menuhelpentry.jsx b/src/web/components/menu/menuhelpentry.jsx
index 3e322fe153..403ee7b6ee 100644
--- a/src/web/components/menu/menuhelpentry.jsx
+++ b/src/web/components/menu/menuhelpentry.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/menu/menusection.jsx b/src/web/components/menu/menusection.jsx
index e9305305a6..a5e18828c6 100644
--- a/src/web/components/menu/menusection.jsx
+++ b/src/web/components/menu/menusection.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/menu/usermenu.jsx b/src/web/components/menu/usermenu.jsx
index fbd580ff70..9dfe3298da 100644
--- a/src/web/components/menu/usermenu.jsx
+++ b/src/web/components/menu/usermenu.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {useHistory} from 'react-router-dom';
diff --git a/src/web/components/notification/__tests__/licensenotification.jsx b/src/web/components/notification/__tests__/licensenotification.jsx
index 73b071d166..dc652840ed 100644
--- a/src/web/components/notification/__tests__/licensenotification.jsx
+++ b/src/web/components/notification/__tests__/licensenotification.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/components/notification/dialognotification.jsx b/src/web/components/notification/dialognotification.jsx
index 96b42753be..8d80555794 100644
--- a/src/web/components/notification/dialognotification.jsx
+++ b/src/web/components/notification/dialognotification.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {hasValue} from 'gmp/utils/identity';
diff --git a/src/web/components/notification/licensenotification.jsx b/src/web/components/notification/licensenotification.jsx
index b3fe45ffe7..31e65c0b19 100644
--- a/src/web/components/notification/licensenotification.jsx
+++ b/src/web/components/notification/licensenotification.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/notification/withDialogNotifiaction.jsx b/src/web/components/notification/withDialogNotifiaction.jsx
index a50ab6b425..4aa362eccf 100644
--- a/src/web/components/notification/withDialogNotifiaction.jsx
+++ b/src/web/components/notification/withDialogNotifiaction.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import DialogNotification from './dialognotification';
diff --git a/src/web/components/observer/localeobserver.jsx b/src/web/components/observer/localeobserver.jsx
index 0d0e37deca..b0779e200a 100644
--- a/src/web/components/observer/localeobserver.jsx
+++ b/src/web/components/observer/localeobserver.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useEffect} from 'react';
import {onLanguageChange, getLocale} from 'gmp/locale/lang';
diff --git a/src/web/components/observer/locationobserver.jsx b/src/web/components/observer/locationobserver.jsx
index 9eeb0f1c71..c43c990d96 100644
--- a/src/web/components/observer/locationobserver.jsx
+++ b/src/web/components/observer/locationobserver.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/components/observer/sessionobserver.jsx b/src/web/components/observer/sessionobserver.jsx
index 0398b2062f..b9d29b9f09 100644
--- a/src/web/components/observer/sessionobserver.jsx
+++ b/src/web/components/observer/sessionobserver.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/components/pagination/pagination.jsx b/src/web/components/pagination/pagination.jsx
index 802a320b8b..913f6d6430 100644
--- a/src/web/components/pagination/pagination.jsx
+++ b/src/web/components/pagination/pagination.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/panel/__tests__/button.jsx b/src/web/components/panel/__tests__/button.jsx
index 9f4bce6d00..bb5dcea14c 100644
--- a/src/web/components/panel/__tests__/button.jsx
+++ b/src/web/components/panel/__tests__/button.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/panel/__tests__/infopanel.jsx b/src/web/components/panel/__tests__/infopanel.jsx
index c2132cab53..5e5cf2fc11 100644
--- a/src/web/components/panel/__tests__/infopanel.jsx
+++ b/src/web/components/panel/__tests__/infopanel.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, userEvent} from 'web/utils/testing';
diff --git a/src/web/components/panel/button.jsx b/src/web/components/panel/button.jsx
index 424b7389e7..b638a26a70 100644
--- a/src/web/components/panel/button.jsx
+++ b/src/web/components/panel/button.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/panel/infopanel.jsx b/src/web/components/panel/infopanel.jsx
index 033180b804..60a664694d 100644
--- a/src/web/components/panel/infopanel.jsx
+++ b/src/web/components/panel/infopanel.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/portal/__tests__/portal.jsx b/src/web/components/portal/__tests__/portal.jsx
index 985e8ed647..520944fc9b 100644
--- a/src/web/components/portal/__tests__/portal.jsx
+++ b/src/web/components/portal/__tests__/portal.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/portal/portal.jsx b/src/web/components/portal/portal.jsx
index e29ab22ce4..6ac2e4d5bf 100644
--- a/src/web/components/portal/portal.jsx
+++ b/src/web/components/portal/portal.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import ReactDOM from 'react-dom';
diff --git a/src/web/components/powerfilter/__tests__/applyoverridesgroup.jsx b/src/web/components/powerfilter/__tests__/applyoverridesgroup.jsx
index 9907b5e956..98b1c19488 100644
--- a/src/web/components/powerfilter/__tests__/applyoverridesgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/applyoverridesgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/components/powerfilter/__tests__/booleanfiltergroup.jsx b/src/web/components/powerfilter/__tests__/booleanfiltergroup.jsx
index fa074ae676..513eb5c4b9 100644
--- a/src/web/components/powerfilter/__tests__/booleanfiltergroup.jsx
+++ b/src/web/components/powerfilter/__tests__/booleanfiltergroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/components/powerfilter/__tests__/createnamedfiltergroup.jsx b/src/web/components/powerfilter/__tests__/createnamedfiltergroup.jsx
index 1db3a7678e..332c9b468e 100644
--- a/src/web/components/powerfilter/__tests__/createnamedfiltergroup.jsx
+++ b/src/web/components/powerfilter/__tests__/createnamedfiltergroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/filtersearchgroup.jsx b/src/web/components/powerfilter/__tests__/filtersearchgroup.jsx
index b56c1e3391..d486075cb5 100644
--- a/src/web/components/powerfilter/__tests__/filtersearchgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/filtersearchgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/filterstringgroup.jsx b/src/web/components/powerfilter/__tests__/filterstringgroup.jsx
index 0fc4876b09..9f37b0a96f 100644
--- a/src/web/components/powerfilter/__tests__/filterstringgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/filterstringgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/firstresultgroup.jsx b/src/web/components/powerfilter/__tests__/firstresultgroup.jsx
index 449bd0a7a1..9b506c1618 100644
--- a/src/web/components/powerfilter/__tests__/firstresultgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/firstresultgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/minqodgroup.jsx b/src/web/components/powerfilter/__tests__/minqodgroup.jsx
index 734d710272..2263778116 100644
--- a/src/web/components/powerfilter/__tests__/minqodgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/minqodgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/relationselector.jsx b/src/web/components/powerfilter/__tests__/relationselector.jsx
index 25057a6c88..437e486c79 100644
--- a/src/web/components/powerfilter/__tests__/relationselector.jsx
+++ b/src/web/components/powerfilter/__tests__/relationselector.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/resultsperpagegroup.jsx b/src/web/components/powerfilter/__tests__/resultsperpagegroup.jsx
index e35b9b4bc7..110f3cac01 100644
--- a/src/web/components/powerfilter/__tests__/resultsperpagegroup.jsx
+++ b/src/web/components/powerfilter/__tests__/resultsperpagegroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/severitylevelsgroup.jsx b/src/web/components/powerfilter/__tests__/severitylevelsgroup.jsx
index e85e28ca12..e657af68ce 100644
--- a/src/web/components/powerfilter/__tests__/severitylevelsgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/severitylevelsgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/severityvaluesgroup.jsx b/src/web/components/powerfilter/__tests__/severityvaluesgroup.jsx
index 7ae9c8f475..c55f446580 100644
--- a/src/web/components/powerfilter/__tests__/severityvaluesgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/severityvaluesgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/components/powerfilter/__tests__/solutiontypegroup.jsx b/src/web/components/powerfilter/__tests__/solutiontypegroup.jsx
index 5c4d1041e7..40736d2bbb 100644
--- a/src/web/components/powerfilter/__tests__/solutiontypegroup.jsx
+++ b/src/web/components/powerfilter/__tests__/solutiontypegroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/components/powerfilter/__tests__/sortbygroup.jsx b/src/web/components/powerfilter/__tests__/sortbygroup.jsx
index 2caccaf049..5ec8bb2b79 100644
--- a/src/web/components/powerfilter/__tests__/sortbygroup.jsx
+++ b/src/web/components/powerfilter/__tests__/sortbygroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/components/powerfilter/__tests__/tasktrendgroup.jsx b/src/web/components/powerfilter/__tests__/tasktrendgroup.jsx
index ffd220dcb3..456b5bc7ef 100644
--- a/src/web/components/powerfilter/__tests__/tasktrendgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/tasktrendgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/ticketstatusgroup.jsx b/src/web/components/powerfilter/__tests__/ticketstatusgroup.jsx
index f616126c2c..2831f536da 100644
--- a/src/web/components/powerfilter/__tests__/ticketstatusgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/ticketstatusgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/components/powerfilter/applyoverridesgroup.jsx b/src/web/components/powerfilter/applyoverridesgroup.jsx
index eb451c5d69..4f52a66854 100644
--- a/src/web/components/powerfilter/applyoverridesgroup.jsx
+++ b/src/web/components/powerfilter/applyoverridesgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/booleanfiltergroup.jsx b/src/web/components/powerfilter/booleanfiltergroup.jsx
index 62217860fb..13d58a4b4b 100644
--- a/src/web/components/powerfilter/booleanfiltergroup.jsx
+++ b/src/web/components/powerfilter/booleanfiltergroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/createnamedfiltergroup.jsx b/src/web/components/powerfilter/createnamedfiltergroup.jsx
index 296b0764bd..3653aeedea 100644
--- a/src/web/components/powerfilter/createnamedfiltergroup.jsx
+++ b/src/web/components/powerfilter/createnamedfiltergroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/powerfilter/dialog.jsx b/src/web/components/powerfilter/dialog.jsx
index 93998c555c..6f40e725c8 100644
--- a/src/web/components/powerfilter/dialog.jsx
+++ b/src/web/components/powerfilter/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import withFilterDialog from 'web/components/powerfilter/withFilterDialog';
diff --git a/src/web/components/powerfilter/dialogproptypes.jsx b/src/web/components/powerfilter/dialogproptypes.jsx
index 2bb39bd2c2..3eff513f78 100644
--- a/src/web/components/powerfilter/dialogproptypes.jsx
+++ b/src/web/components/powerfilter/dialogproptypes.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
const dialogPropType = {
diff --git a/src/web/components/powerfilter/filterdialog.jsx b/src/web/components/powerfilter/filterdialog.jsx
index 81bceea4a3..0bf650fd77 100644
--- a/src/web/components/powerfilter/filterdialog.jsx
+++ b/src/web/components/powerfilter/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/powerfilter/filtersearchgroup.jsx b/src/web/components/powerfilter/filtersearchgroup.jsx
index 70e03a5bc9..a0be5b4af5 100644
--- a/src/web/components/powerfilter/filtersearchgroup.jsx
+++ b/src/web/components/powerfilter/filtersearchgroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* this is experimental. trying to consolidate all filter terms whose
* method should be ~'value' into one. */
diff --git a/src/web/components/powerfilter/filterstringgroup.jsx b/src/web/components/powerfilter/filterstringgroup.jsx
index ed05b22edb..1d2b432c22 100644
--- a/src/web/components/powerfilter/filterstringgroup.jsx
+++ b/src/web/components/powerfilter/filterstringgroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isString} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/firstresultgroup.jsx b/src/web/components/powerfilter/firstresultgroup.jsx
index 4684dca549..96ab8ccb42 100644
--- a/src/web/components/powerfilter/firstresultgroup.jsx
+++ b/src/web/components/powerfilter/firstresultgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/minqodgroup.jsx b/src/web/components/powerfilter/minqodgroup.jsx
index a6f21f3389..7d6b574f0a 100644
--- a/src/web/components/powerfilter/minqodgroup.jsx
+++ b/src/web/components/powerfilter/minqodgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/powerfilter.jsx b/src/web/components/powerfilter/powerfilter.jsx
index 06d2ebd618..b20f315e09 100644
--- a/src/web/components/powerfilter/powerfilter.jsx
+++ b/src/web/components/powerfilter/powerfilter.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/powerfilter/relationselector.jsx b/src/web/components/powerfilter/relationselector.jsx
index ce8cccd2e6..77dd65a993 100644
--- a/src/web/components/powerfilter/relationselector.jsx
+++ b/src/web/components/powerfilter/relationselector.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable react/prop-types */
import React from 'react';
diff --git a/src/web/components/powerfilter/resultsperpagegroup.jsx b/src/web/components/powerfilter/resultsperpagegroup.jsx
index d7c5c0d651..c84b2c10eb 100644
--- a/src/web/components/powerfilter/resultsperpagegroup.jsx
+++ b/src/web/components/powerfilter/resultsperpagegroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/severitylevelsgroup.jsx b/src/web/components/powerfilter/severitylevelsgroup.jsx
index 3e3b500ff4..c8a2d8005f 100644
--- a/src/web/components/powerfilter/severitylevelsgroup.jsx
+++ b/src/web/components/powerfilter/severitylevelsgroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/severityvaluesgroup.jsx b/src/web/components/powerfilter/severityvaluesgroup.jsx
index 033365c94f..b340718a88 100644
--- a/src/web/components/powerfilter/severityvaluesgroup.jsx
+++ b/src/web/components/powerfilter/severityvaluesgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {parseSeverity} from 'gmp/parser';
diff --git a/src/web/components/powerfilter/solutiontypegroup.jsx b/src/web/components/powerfilter/solutiontypegroup.jsx
index 8822f9414e..a821160ea9 100644
--- a/src/web/components/powerfilter/solutiontypegroup.jsx
+++ b/src/web/components/powerfilter/solutiontypegroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/powerfilter/sortbygroup.jsx b/src/web/components/powerfilter/sortbygroup.jsx
index ea39c268e9..33196118ac 100644
--- a/src/web/components/powerfilter/sortbygroup.jsx
+++ b/src/web/components/powerfilter/sortbygroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/tasktrendgroup.jsx b/src/web/components/powerfilter/tasktrendgroup.jsx
index b0222088bd..f575fdc42b 100644
--- a/src/web/components/powerfilter/tasktrendgroup.jsx
+++ b/src/web/components/powerfilter/tasktrendgroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable react/prop-types */
import React from 'react';
diff --git a/src/web/components/powerfilter/ticketstatusgroup.jsx b/src/web/components/powerfilter/ticketstatusgroup.jsx
index 72f9ed738b..e24d8e2ba9 100644
--- a/src/web/components/powerfilter/ticketstatusgroup.jsx
+++ b/src/web/components/powerfilter/ticketstatusgroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/withFilterDialog.jsx b/src/web/components/powerfilter/withFilterDialog.jsx
index d2efae972a..74c49c781c 100644
--- a/src/web/components/powerfilter/withFilterDialog.jsx
+++ b/src/web/components/powerfilter/withFilterDialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/provider/capabilitiesprovider.jsx b/src/web/components/provider/capabilitiesprovider.jsx
index a3e3fbe537..9902adaec5 100644
--- a/src/web/components/provider/capabilitiesprovider.jsx
+++ b/src/web/components/provider/capabilitiesprovider.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
const CapabilitiesContext = React.createContext();
diff --git a/src/web/components/provider/gmpprovider.jsx b/src/web/components/provider/gmpprovider.jsx
index be7558de07..e7e80662e4 100644
--- a/src/web/components/provider/gmpprovider.jsx
+++ b/src/web/components/provider/gmpprovider.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
const GmpContext = React.createContext();
diff --git a/src/web/components/provider/iconsizeprovider.jsx b/src/web/components/provider/iconsizeprovider.jsx
index b2ca4dc156..b4191f23f6 100644
--- a/src/web/components/provider/iconsizeprovider.jsx
+++ b/src/web/components/provider/iconsizeprovider.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/provider/licenseprovider.jsx b/src/web/components/provider/licenseprovider.jsx
index 32f1156c37..3b4c2eab62 100644
--- a/src/web/components/provider/licenseprovider.jsx
+++ b/src/web/components/provider/licenseprovider.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useEffect, useState} from 'react';
import useGmp from 'web/utils/useGmp';
diff --git a/src/web/components/provider/subscriptionprovider.jsx b/src/web/components/provider/subscriptionprovider.jsx
index 7b7a24c6fd..c042d3830c 100644
--- a/src/web/components/provider/subscriptionprovider.jsx
+++ b/src/web/components/provider/subscriptionprovider.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/qod/__tests__/qod.jsx b/src/web/components/qod/__tests__/qod.jsx
index 02fb34c839..ef3017aa4d 100644
--- a/src/web/components/qod/__tests__/qod.jsx
+++ b/src/web/components/qod/__tests__/qod.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Qod from 'web/components/qod/qod';
diff --git a/src/web/components/qod/qod.jsx b/src/web/components/qod/qod.jsx
index 380c97e48b..07a328b8ca 100644
--- a/src/web/components/qod/qod.jsx
+++ b/src/web/components/qod/qod.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/section/header.jsx b/src/web/components/section/header.jsx
index 5befdf9c3d..9d217752e4 100644
--- a/src/web/components/section/header.jsx
+++ b/src/web/components/section/header.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/section/section.jsx b/src/web/components/section/section.jsx
index 6019bb86f3..1b161b6b76 100644
--- a/src/web/components/section/section.jsx
+++ b/src/web/components/section/section.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/sessionTimer/SessionTimer.jsx b/src/web/components/sessionTimer/SessionTimer.jsx
index 6af1f28fb0..8de5f7e254 100644
--- a/src/web/components/sessionTimer/SessionTimer.jsx
+++ b/src/web/components/sessionTimer/SessionTimer.jsx
@@ -1,3 +1,8 @@
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
import {useEffect, useState} from 'react';
import useUserSessionTimeout from 'web/utils/useUserSessionTimeout';
diff --git a/src/web/components/snackbar/__tests__/snackbar.jsx b/src/web/components/snackbar/__tests__/snackbar.jsx
index 8f138fe3b3..dd60f0340a 100644
--- a/src/web/components/snackbar/__tests__/snackbar.jsx
+++ b/src/web/components/snackbar/__tests__/snackbar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/snackbar/snackbar.jsx b/src/web/components/snackbar/snackbar.jsx
index 34c4e2ffa2..be8ab5a7a6 100644
--- a/src/web/components/snackbar/snackbar.jsx
+++ b/src/web/components/snackbar/snackbar.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled, {keyframes} from 'styled-components';
diff --git a/src/web/components/sortable/emptyrow.jsx b/src/web/components/sortable/emptyrow.jsx
index 1ee9481f7b..6b0d71ec15 100644
--- a/src/web/components/sortable/emptyrow.jsx
+++ b/src/web/components/sortable/emptyrow.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/sortable/grid.jsx b/src/web/components/sortable/grid.jsx
index c85b8f19be..8f585f4ab1 100644
--- a/src/web/components/sortable/grid.jsx
+++ b/src/web/components/sortable/grid.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {v4 as uuid} from 'uuid';
import React from 'react';
diff --git a/src/web/components/sortable/item.jsx b/src/web/components/sortable/item.jsx
index e674f5a33c..07735a9f4a 100644
--- a/src/web/components/sortable/item.jsx
+++ b/src/web/components/sortable/item.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/sortable/resizer.jsx b/src/web/components/sortable/resizer.jsx
index 16826836f7..78b7b83b14 100644
--- a/src/web/components/sortable/resizer.jsx
+++ b/src/web/components/sortable/resizer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/sortable/row.jsx b/src/web/components/sortable/row.jsx
index c8740d5e38..aaac70ad25 100644
--- a/src/web/components/sortable/row.jsx
+++ b/src/web/components/sortable/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/sortby/sortby.jsx b/src/web/components/sortby/sortby.jsx
index 575c59dedb..a15c6daf8c 100644
--- a/src/web/components/sortby/sortby.jsx
+++ b/src/web/components/sortby/sortby.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/structure/__tests__/footer.jsx b/src/web/components/structure/__tests__/footer.jsx
index 4978c0fbe7..069fbb8eb5 100644
--- a/src/web/components/structure/__tests__/footer.jsx
+++ b/src/web/components/structure/__tests__/footer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import date from 'gmp/models/date';
diff --git a/src/web/components/structure/__tests__/header.jsx b/src/web/components/structure/__tests__/header.jsx
index 3a8284a9ae..75bf997575 100644
--- a/src/web/components/structure/__tests__/header.jsx
+++ b/src/web/components/structure/__tests__/header.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {rendererWith} from 'web/utils/testing';
diff --git a/src/web/components/structure/__tests__/main.jsx b/src/web/components/structure/__tests__/main.jsx
index 8665b57af2..c398bd9b4d 100644
--- a/src/web/components/structure/__tests__/main.jsx
+++ b/src/web/components/structure/__tests__/main.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/structure/footer.jsx b/src/web/components/structure/footer.jsx
index 9456ae1d6b..6794f34704 100644
--- a/src/web/components/structure/footer.jsx
+++ b/src/web/components/structure/footer.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/structure/header.jsx b/src/web/components/structure/header.jsx
index c56f272874..43bfdbe4c4 100644
--- a/src/web/components/structure/header.jsx
+++ b/src/web/components/structure/header.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useCallback} from 'react';
import {useHistory} from 'react-router-dom';
diff --git a/src/web/components/structure/main.jsx b/src/web/components/structure/main.jsx
index 169e353d4e..475bf68b48 100644
--- a/src/web/components/structure/main.jsx
+++ b/src/web/components/structure/main.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
const Main = styled.main`
diff --git a/src/web/components/tab/tab.jsx b/src/web/components/tab/tab.jsx
index e1bb95ba5c..35ffc2a580 100644
--- a/src/web/components/tab/tab.jsx
+++ b/src/web/components/tab/tab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/tab/tablayout.jsx b/src/web/components/tab/tablayout.jsx
index 7decabdc27..bc26f53278 100644
--- a/src/web/components/tab/tablayout.jsx
+++ b/src/web/components/tab/tablayout.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import Theme from '../../utils/theme';
diff --git a/src/web/components/tab/tablist.jsx b/src/web/components/tab/tablist.jsx
index 341f726f5b..a2d5ee8eb6 100644
--- a/src/web/components/tab/tablist.jsx
+++ b/src/web/components/tab/tablist.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from '../../utils/proptypes';
diff --git a/src/web/components/tab/tabpanel.jsx b/src/web/components/tab/tabpanel.jsx
index c622979b1c..553e77eaaf 100644
--- a/src/web/components/tab/tabpanel.jsx
+++ b/src/web/components/tab/tabpanel.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
const TabPanel = ({children}) => {
diff --git a/src/web/components/tab/tabpanels.jsx b/src/web/components/tab/tabpanels.jsx
index 281ba8cbf0..f35b4a1c58 100644
--- a/src/web/components/tab/tabpanels.jsx
+++ b/src/web/components/tab/tabpanels.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/tab/tabs.jsx b/src/web/components/tab/tabs.jsx
index c76e1f4059..355af24a49 100644
--- a/src/web/components/tab/tabs.jsx
+++ b/src/web/components/tab/tabs.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useEffect, useState} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/table/__tests__/detailstable.jsx b/src/web/components/table/__tests__/detailstable.jsx
index 1fafdd2929..0435536355 100644
--- a/src/web/components/table/__tests__/detailstable.jsx
+++ b/src/web/components/table/__tests__/detailstable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/table/body.jsx b/src/web/components/table/body.jsx
index b46eb99ad2..2932828206 100644
--- a/src/web/components/table/body.jsx
+++ b/src/web/components/table/body.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
const TableBody = styled.tbody``;
diff --git a/src/web/components/table/data.jsx b/src/web/components/table/data.jsx
index 123a4c2fa1..17c9456db2 100644
--- a/src/web/components/table/data.jsx
+++ b/src/web/components/table/data.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/table/detailstable.jsx b/src/web/components/table/detailstable.jsx
index ee58d66ad6..cbdc573ef9 100644
--- a/src/web/components/table/detailstable.jsx
+++ b/src/web/components/table/detailstable.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {Col} from 'web/entity/page';
diff --git a/src/web/components/table/footer.jsx b/src/web/components/table/footer.jsx
index c199fb563d..61d3bdbd6b 100644
--- a/src/web/components/table/footer.jsx
+++ b/src/web/components/table/footer.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
const TableFooter = props => ;
diff --git a/src/web/components/table/head.jsx b/src/web/components/table/head.jsx
index 65fa73eb66..8ef86b9840 100644
--- a/src/web/components/table/head.jsx
+++ b/src/web/components/table/head.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/table/header.jsx b/src/web/components/table/header.jsx
index 0a128f52de..559c0d3413 100644
--- a/src/web/components/table/header.jsx
+++ b/src/web/components/table/header.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/table/infotable.jsx b/src/web/components/table/infotable.jsx
index 13241b274f..e2f55b57bd 100644
--- a/src/web/components/table/infotable.jsx
+++ b/src/web/components/table/infotable.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import SimpleTable from './simpletable';
diff --git a/src/web/components/table/row.jsx b/src/web/components/table/row.jsx
index 06e5b822aa..733ed7bc13 100644
--- a/src/web/components/table/row.jsx
+++ b/src/web/components/table/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from '../../utils/proptypes';
diff --git a/src/web/components/table/simpletable.jsx b/src/web/components/table/simpletable.jsx
index e3fafc9289..0c4da4578e 100644
--- a/src/web/components/table/simpletable.jsx
+++ b/src/web/components/table/simpletable.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/table/stripedtable.jsx b/src/web/components/table/stripedtable.jsx
index fc42ea69ce..2eb2e3faee 100644
--- a/src/web/components/table/stripedtable.jsx
+++ b/src/web/components/table/stripedtable.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Theme from 'web/utils/theme';
import Table from './table';
diff --git a/src/web/components/table/table.jsx b/src/web/components/table/table.jsx
index f5afbd2b25..d5f74e498b 100644
--- a/src/web/components/table/table.jsx
+++ b/src/web/components/table/table.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entities/__tests__/filterprovider.jsx b/src/web/entities/__tests__/filterprovider.jsx
index 40a2486476..d6d3b6a778 100644
--- a/src/web/entities/__tests__/filterprovider.jsx
+++ b/src/web/entities/__tests__/filterprovider.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter, {DEFAULT_FALLBACK_FILTER} from 'gmp/models/filter';
diff --git a/src/web/entities/__tests__/tagsdialog.jsx b/src/web/entities/__tests__/tagsdialog.jsx
index 95246f0f27..b46e300162 100644
--- a/src/web/entities/__tests__/tagsdialog.jsx
+++ b/src/web/entities/__tests__/tagsdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/entities/actions.jsx b/src/web/entities/actions.jsx
index 4174b8a5f8..f951bbb67f 100644
--- a/src/web/entities/actions.jsx
+++ b/src/web/entities/actions.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/entities/container.jsx b/src/web/entities/container.jsx
index 500b3ff584..a29c90f3a2 100644
--- a/src/web/entities/container.jsx
+++ b/src/web/entities/container.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {withRouter} from 'react-router-dom';
diff --git a/src/web/entities/entitynametabledata.jsx b/src/web/entities/entitynametabledata.jsx
index afec3896a7..5f6ef8cb9d 100644
--- a/src/web/entities/entitynametabledata.jsx
+++ b/src/web/entities/entitynametabledata.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entities/filterprovider.jsx b/src/web/entities/filterprovider.jsx
index bebae70ff0..b2319b05f6 100644
--- a/src/web/entities/filterprovider.jsx
+++ b/src/web/entities/filterprovider.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useEffect, useState} from 'react';
import {useSelector, useDispatch, shallowEqual} from 'react-redux';
diff --git a/src/web/entities/footer.jsx b/src/web/entities/footer.jsx
index ee2397fef8..0fbc899a8d 100644
--- a/src/web/entities/footer.jsx
+++ b/src/web/entities/footer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entities/header.jsx b/src/web/entities/header.jsx
index 192640296d..b1b04acdba 100644
--- a/src/web/entities/header.jsx
+++ b/src/web/entities/header.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/entities/page.jsx b/src/web/entities/page.jsx
index ddb3fac05a..274bf54cbc 100644
--- a/src/web/entities/page.jsx
+++ b/src/web/entities/page.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/entities/row.jsx b/src/web/entities/row.jsx
index 882d9ad27c..f33959de4a 100644
--- a/src/web/entities/row.jsx
+++ b/src/web/entities/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import withClickHandler from 'web/components/form/withClickHandler';
diff --git a/src/web/entities/selection.jsx b/src/web/entities/selection.jsx
index be31a8cec9..eb7389b99b 100644
--- a/src/web/entities/selection.jsx
+++ b/src/web/entities/selection.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/entities/table.jsx b/src/web/entities/table.jsx
index dddbabec92..90f32fb0fb 100644
--- a/src/web/entities/table.jsx
+++ b/src/web/entities/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entities/tagsdialog.jsx b/src/web/entities/tagsdialog.jsx
index 5179d5395d..abf3f69a31 100644
--- a/src/web/entities/tagsdialog.jsx
+++ b/src/web/entities/tagsdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entities/withEntitiesActions.jsx b/src/web/entities/withEntitiesActions.jsx
index 39dd4a3192..51daf7956f 100644
--- a/src/web/entities/withEntitiesActions.jsx
+++ b/src/web/entities/withEntitiesActions.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import EntitiesActions from './actions';
diff --git a/src/web/entities/withEntitiesContainer.jsx b/src/web/entities/withEntitiesContainer.jsx
index 2eab6be0e5..0db78be131 100644
--- a/src/web/entities/withEntitiesContainer.jsx
+++ b/src/web/entities/withEntitiesContainer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {useLocation} from 'react-router-dom';
diff --git a/src/web/entities/withRowDetails.jsx b/src/web/entities/withRowDetails.jsx
index fae9e992f1..b4998e88a2 100644
--- a/src/web/entities/withRowDetails.jsx
+++ b/src/web/entities/withRowDetails.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entity/__tests__/block.jsx b/src/web/entity/__tests__/block.jsx
index 0f5b1dfe5e..7e2753c10b 100644
--- a/src/web/entity/__tests__/block.jsx
+++ b/src/web/entity/__tests__/block.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/entity/__tests__/box.jsx b/src/web/entity/__tests__/box.jsx
index bbc9ce7134..3cb4e8d510 100644
--- a/src/web/entity/__tests__/box.jsx
+++ b/src/web/entity/__tests__/box.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Date from 'gmp/models/date';
diff --git a/src/web/entity/__tests__/info.jsx b/src/web/entity/__tests__/info.jsx
index 14212e97d5..5836ff2734 100644
--- a/src/web/entity/__tests__/info.jsx
+++ b/src/web/entity/__tests__/info.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/web/entity/__tests__/link.jsx b/src/web/entity/__tests__/link.jsx
index 0fa086d22e..2e4485e7cf 100644
--- a/src/web/entity/__tests__/link.jsx
+++ b/src/web/entity/__tests__/link.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/__tests__/note.jsx b/src/web/entity/__tests__/note.jsx
index caeb955a87..98bdfad1ed 100644
--- a/src/web/entity/__tests__/note.jsx
+++ b/src/web/entity/__tests__/note.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/__tests__/override.jsx b/src/web/entity/__tests__/override.jsx
index f5f82b17eb..237efaa7da 100644
--- a/src/web/entity/__tests__/override.jsx
+++ b/src/web/entity/__tests__/override.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/block.jsx b/src/web/entity/block.jsx
index 1a67b675de..f628aa7e85 100644
--- a/src/web/entity/block.jsx
+++ b/src/web/entity/block.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Layout from 'web/components/layout/layout';
diff --git a/src/web/entity/box.jsx b/src/web/entity/box.jsx
index 757026e782..7fc5db756e 100644
--- a/src/web/entity/box.jsx
+++ b/src/web/entity/box.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entity/component.jsx b/src/web/entity/component.jsx
index 475f27c6b5..662e4ac833 100644
--- a/src/web/entity/component.jsx
+++ b/src/web/entity/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/entity/container.jsx b/src/web/entity/container.jsx
index a1bac3cbbd..6451f30f25 100644
--- a/src/web/entity/container.jsx
+++ b/src/web/entity/container.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import logger from 'gmp/log';
diff --git a/src/web/entity/icon/__tests__/cloneicon.jsx b/src/web/entity/icon/__tests__/cloneicon.jsx
index 67e8c58f5a..ffd024d69a 100644
--- a/src/web/entity/icon/__tests__/cloneicon.jsx
+++ b/src/web/entity/icon/__tests__/cloneicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/icon/__tests__/createicon.jsx b/src/web/entity/icon/__tests__/createicon.jsx
index 8a645d40d5..fa4c130318 100644
--- a/src/web/entity/icon/__tests__/createicon.jsx
+++ b/src/web/entity/icon/__tests__/createicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/icon/__tests__/deleteicon.jsx b/src/web/entity/icon/__tests__/deleteicon.jsx
index 5cb4cc4f4d..d3b86f359e 100644
--- a/src/web/entity/icon/__tests__/deleteicon.jsx
+++ b/src/web/entity/icon/__tests__/deleteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/icon/__tests__/editicon.jsx b/src/web/entity/icon/__tests__/editicon.jsx
index f6edf5ebb2..0a27496e70 100644
--- a/src/web/entity/icon/__tests__/editicon.jsx
+++ b/src/web/entity/icon/__tests__/editicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/icon/__tests__/observericon.jsx b/src/web/entity/icon/__tests__/observericon.jsx
index 8959d1b47f..631ec8d9bf 100644
--- a/src/web/entity/icon/__tests__/observericon.jsx
+++ b/src/web/entity/icon/__tests__/observericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Task from 'gmp/models/task';
diff --git a/src/web/entity/icon/__tests__/trashicon.jsx b/src/web/entity/icon/__tests__/trashicon.jsx
index d2f6ea7723..ef136b5539 100644
--- a/src/web/entity/icon/__tests__/trashicon.jsx
+++ b/src/web/entity/icon/__tests__/trashicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/icon/__tests__/verifyicon.jsx b/src/web/entity/icon/__tests__/verifyicon.jsx
index 958b3e59c4..b17248daad 100644
--- a/src/web/entity/icon/__tests__/verifyicon.jsx
+++ b/src/web/entity/icon/__tests__/verifyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/icon/cloneicon.jsx b/src/web/entity/icon/cloneicon.jsx
index 0c1f8fd5c3..c702424e39 100644
--- a/src/web/entity/icon/cloneicon.jsx
+++ b/src/web/entity/icon/cloneicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/icon/createicon.jsx b/src/web/entity/icon/createicon.jsx
index 09a83f7e95..cefa950716 100644
--- a/src/web/entity/icon/createicon.jsx
+++ b/src/web/entity/icon/createicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/icon/deleteicon.jsx b/src/web/entity/icon/deleteicon.jsx
index 6b74f0e3dd..7165ea6f85 100644
--- a/src/web/entity/icon/deleteicon.jsx
+++ b/src/web/entity/icon/deleteicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/icon/editicon.jsx b/src/web/entity/icon/editicon.jsx
index ffec8dd4b2..732cf28cdf 100644
--- a/src/web/entity/icon/editicon.jsx
+++ b/src/web/entity/icon/editicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/icon/observericon.jsx b/src/web/entity/icon/observericon.jsx
index 86e0b85714..5952313052 100644
--- a/src/web/entity/icon/observericon.jsx
+++ b/src/web/entity/icon/observericon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/icon/trashicon.jsx b/src/web/entity/icon/trashicon.jsx
index 0ff3cdcce0..889545785e 100644
--- a/src/web/entity/icon/trashicon.jsx
+++ b/src/web/entity/icon/trashicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/icon/verifyicon.jsx b/src/web/entity/icon/verifyicon.jsx
index 50707a3996..1ff50cc9ef 100644
--- a/src/web/entity/icon/verifyicon.jsx
+++ b/src/web/entity/icon/verifyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/info.jsx b/src/web/entity/info.jsx
index a9ee3f2bc9..c82b6af78f 100644
--- a/src/web/entity/info.jsx
+++ b/src/web/entity/info.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entity/link.jsx b/src/web/entity/link.jsx
index 327b85b789..adf482aa76 100644
--- a/src/web/entity/link.jsx
+++ b/src/web/entity/link.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/note.jsx b/src/web/entity/note.jsx
index d5759e7965..3901edab8b 100644
--- a/src/web/entity/note.jsx
+++ b/src/web/entity/note.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/override.jsx b/src/web/entity/override.jsx
index 234802e08e..4bfe31bc25 100644
--- a/src/web/entity/override.jsx
+++ b/src/web/entity/override.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/page.jsx b/src/web/entity/page.jsx
index 31ab0e6f27..fed6083974 100644
--- a/src/web/entity/page.jsx
+++ b/src/web/entity/page.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/permissions.jsx b/src/web/entity/permissions.jsx
index d2141f0f50..bff8547421 100644
--- a/src/web/entity/permissions.jsx
+++ b/src/web/entity/permissions.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entity/tab.jsx b/src/web/entity/tab.jsx
index 7965730430..5fd5eddd64 100644
--- a/src/web/entity/tab.jsx
+++ b/src/web/entity/tab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entity/tags.jsx b/src/web/entity/tags.jsx
index cd96226d55..d0448bc584 100644
--- a/src/web/entity/tags.jsx
+++ b/src/web/entity/tags.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entity/withEntityContainer.jsx b/src/web/entity/withEntityContainer.jsx
index 26b4dbc5e3..e0b1ebbf1e 100644
--- a/src/web/entity/withEntityContainer.jsx
+++ b/src/web/entity/withEntityContainer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/hooks/__tests__/useTranslation.jsx b/src/web/hooks/__tests__/useTranslation.jsx
index ef1c3de091..fcc1b05289 100644
--- a/src/web/hooks/__tests__/useTranslation.jsx
+++ b/src/web/hooks/__tests__/useTranslation.jsx
@@ -2,6 +2,7 @@
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import {describe, test, expect} from '@gsa/testing';
import {fireEvent, rendererWith, screen} from 'web/utils/testing';
diff --git a/src/web/pages/alerts/__tests__/detailspage.jsx b/src/web/pages/alerts/__tests__/detailspage.jsx
index 47902aded9..845d41dfa0 100644
--- a/src/web/pages/alerts/__tests__/detailspage.jsx
+++ b/src/web/pages/alerts/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/alerts/__tests__/listpage.jsx b/src/web/pages/alerts/__tests__/listpage.jsx
index 243a955e24..0b2b2c3079 100644
--- a/src/web/pages/alerts/__tests__/listpage.jsx
+++ b/src/web/pages/alerts/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/alerts/alembavfiremethodpart.jsx b/src/web/pages/alerts/alembavfiremethodpart.jsx
index 8d13fb7ad5..126d139794 100644
--- a/src/web/pages/alerts/alembavfiremethodpart.jsx
+++ b/src/web/pages/alerts/alembavfiremethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {USERNAME_PASSWORD_CREDENTIAL_TYPE} from 'gmp/models/credential';
diff --git a/src/web/pages/alerts/component.jsx b/src/web/pages/alerts/component.jsx
index c735593264..7167a09e9d 100644
--- a/src/web/pages/alerts/component.jsx
+++ b/src/web/pages/alerts/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/alerts/condition.jsx b/src/web/pages/alerts/condition.jsx
index dbf431302b..b007150700 100644
--- a/src/web/pages/alerts/condition.jsx
+++ b/src/web/pages/alerts/condition.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {parseInt} from 'gmp/parser';
diff --git a/src/web/pages/alerts/contentcomposerdialog.jsx b/src/web/pages/alerts/contentcomposerdialog.jsx
index 63306e204f..963a223fb2 100644
--- a/src/web/pages/alerts/contentcomposerdialog.jsx
+++ b/src/web/pages/alerts/contentcomposerdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {NO_VALUE, YES_VALUE} from 'gmp/parser';
diff --git a/src/web/pages/alerts/details.jsx b/src/web/pages/alerts/details.jsx
index 62468eee2e..ce054a5822 100644
--- a/src/web/pages/alerts/details.jsx
+++ b/src/web/pages/alerts/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/detailspage.jsx b/src/web/pages/alerts/detailspage.jsx
index 3463b9e1b0..d88040d06f 100644
--- a/src/web/pages/alerts/detailspage.jsx
+++ b/src/web/pages/alerts/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/dialog.jsx b/src/web/pages/alerts/dialog.jsx
index 5fa7e550ff..6394d60e01 100644
--- a/src/web/pages/alerts/dialog.jsx
+++ b/src/web/pages/alerts/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/alerts/emailmethodpart.jsx b/src/web/pages/alerts/emailmethodpart.jsx
index b53e781c0b..15e258a0e0 100644
--- a/src/web/pages/alerts/emailmethodpart.jsx
+++ b/src/web/pages/alerts/emailmethodpart.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {selectSaveId} from 'gmp/utils/id';
diff --git a/src/web/pages/alerts/event.jsx b/src/web/pages/alerts/event.jsx
index c02127771f..1d4969d78e 100644
--- a/src/web/pages/alerts/event.jsx
+++ b/src/web/pages/alerts/event.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {secInfoTypeName} from 'gmp/models/secinfo';
diff --git a/src/web/pages/alerts/filtercountchangedconditionpart.jsx b/src/web/pages/alerts/filtercountchangedconditionpart.jsx
index c1c0a6a313..43b2e0fbfd 100644
--- a/src/web/pages/alerts/filtercountchangedconditionpart.jsx
+++ b/src/web/pages/alerts/filtercountchangedconditionpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Row from 'web/components/layout/row';
diff --git a/src/web/pages/alerts/filtercountleastconditionpart.jsx b/src/web/pages/alerts/filtercountleastconditionpart.jsx
index 95d850a118..898008bdb4 100644
--- a/src/web/pages/alerts/filtercountleastconditionpart.jsx
+++ b/src/web/pages/alerts/filtercountleastconditionpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Row from 'web/components/layout/row';
diff --git a/src/web/pages/alerts/httpmethodpart.jsx b/src/web/pages/alerts/httpmethodpart.jsx
index 1e2e4cd0cb..ea87446dc9 100644
--- a/src/web/pages/alerts/httpmethodpart.jsx
+++ b/src/web/pages/alerts/httpmethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/alerts/listpage.jsx b/src/web/pages/alerts/listpage.jsx
index 24a73dac49..8319ebb2a6 100644
--- a/src/web/pages/alerts/listpage.jsx
+++ b/src/web/pages/alerts/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/method.jsx b/src/web/pages/alerts/method.jsx
index b3cefdf897..eb88dcfcb0 100644
--- a/src/web/pages/alerts/method.jsx
+++ b/src/web/pages/alerts/method.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/alerts/row.jsx b/src/web/pages/alerts/row.jsx
index 2a008a4cb6..b5e0cfeb32 100644
--- a/src/web/pages/alerts/row.jsx
+++ b/src/web/pages/alerts/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/scpmethodpart.jsx b/src/web/pages/alerts/scpmethodpart.jsx
index e7403f75f1..0bdf4ab9e7 100644
--- a/src/web/pages/alerts/scpmethodpart.jsx
+++ b/src/web/pages/alerts/scpmethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {selectSaveId} from 'gmp/utils/id';
diff --git a/src/web/pages/alerts/secinfoeventpart.jsx b/src/web/pages/alerts/secinfoeventpart.jsx
index 6e83c47cde..64b205c0d9 100644
--- a/src/web/pages/alerts/secinfoeventpart.jsx
+++ b/src/web/pages/alerts/secinfoeventpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {EVENT_TYPE_NEW_SECINFO, isSecinfoEvent} from 'gmp/models/alert';
diff --git a/src/web/pages/alerts/sendmethodpart.jsx b/src/web/pages/alerts/sendmethodpart.jsx
index 061cc18e15..e90184464e 100644
--- a/src/web/pages/alerts/sendmethodpart.jsx
+++ b/src/web/pages/alerts/sendmethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {selectSaveId} from 'gmp/utils/id';
import {renderSelectItems, UNSET_VALUE} from '../../utils/render';
diff --git a/src/web/pages/alerts/severitychangedconditionpart.jsx b/src/web/pages/alerts/severitychangedconditionpart.jsx
index 9b4f5a405c..4e984b1b72 100644
--- a/src/web/pages/alerts/severitychangedconditionpart.jsx
+++ b/src/web/pages/alerts/severitychangedconditionpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Row from 'web/components/layout/row';
diff --git a/src/web/pages/alerts/severityleastconditionpart.jsx b/src/web/pages/alerts/severityleastconditionpart.jsx
index da858d11cb..a52fe9d4b6 100644
--- a/src/web/pages/alerts/severityleastconditionpart.jsx
+++ b/src/web/pages/alerts/severityleastconditionpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Row from 'web/components/layout/row';
diff --git a/src/web/pages/alerts/smbmethodpart.jsx b/src/web/pages/alerts/smbmethodpart.jsx
index 9a5b43a1a2..fb30872c88 100644
--- a/src/web/pages/alerts/smbmethodpart.jsx
+++ b/src/web/pages/alerts/smbmethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {selectSaveId} from 'gmp/utils/id';
diff --git a/src/web/pages/alerts/snmpmethodpart.jsx b/src/web/pages/alerts/snmpmethodpart.jsx
index 7fae5c48c9..27eb36aad7 100644
--- a/src/web/pages/alerts/snmpmethodpart.jsx
+++ b/src/web/pages/alerts/snmpmethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/alerts/sourcefiremethodpart.jsx b/src/web/pages/alerts/sourcefiremethodpart.jsx
index 3135a80569..053e966674 100644
--- a/src/web/pages/alerts/sourcefiremethodpart.jsx
+++ b/src/web/pages/alerts/sourcefiremethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {
diff --git a/src/web/pages/alerts/starttaskmethodpart.jsx b/src/web/pages/alerts/starttaskmethodpart.jsx
index 5908bbfe25..a3c2db9d62 100644
--- a/src/web/pages/alerts/starttaskmethodpart.jsx
+++ b/src/web/pages/alerts/starttaskmethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/alerts/table.jsx b/src/web/pages/alerts/table.jsx
index a4a2a2d06e..97b3a34ae6 100644
--- a/src/web/pages/alerts/table.jsx
+++ b/src/web/pages/alerts/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from '../../entities/footer';
diff --git a/src/web/pages/alerts/taskeventpart.jsx b/src/web/pages/alerts/taskeventpart.jsx
index bee003c287..ef73f85bf2 100644
--- a/src/web/pages/alerts/taskeventpart.jsx
+++ b/src/web/pages/alerts/taskeventpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {
diff --git a/src/web/pages/alerts/ticketeventpart.jsx b/src/web/pages/alerts/ticketeventpart.jsx
index 26dc1afd65..a083cc0e2a 100644
--- a/src/web/pages/alerts/ticketeventpart.jsx
+++ b/src/web/pages/alerts/ticketeventpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {
diff --git a/src/web/pages/alerts/tippingpointmethodpart.jsx b/src/web/pages/alerts/tippingpointmethodpart.jsx
index 20faab50fb..c76510d248 100644
--- a/src/web/pages/alerts/tippingpointmethodpart.jsx
+++ b/src/web/pages/alerts/tippingpointmethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {USERNAME_PASSWORD_CREDENTIAL_TYPE} from 'gmp/models/credential';
diff --git a/src/web/pages/alerts/verinicemethodpart.jsx b/src/web/pages/alerts/verinicemethodpart.jsx
index e7066afa0f..f1bea5d2ec 100644
--- a/src/web/pages/alerts/verinicemethodpart.jsx
+++ b/src/web/pages/alerts/verinicemethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {selectSaveId} from 'gmp/utils/id';
diff --git a/src/web/pages/audits/__tests__/actions.jsx b/src/web/pages/audits/__tests__/actions.jsx
index 22a90c5fc7..44a1aee8f1 100644
--- a/src/web/pages/audits/__tests__/actions.jsx
+++ b/src/web/pages/audits/__tests__/actions.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/audits/__tests__/details.jsx b/src/web/pages/audits/__tests__/details.jsx
index db295050bb..4ebd03bb13 100644
--- a/src/web/pages/audits/__tests__/details.jsx
+++ b/src/web/pages/audits/__tests__/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/audits/__tests__/detailspage.jsx b/src/web/pages/audits/__tests__/detailspage.jsx
index a4c2aa2a56..7bd5bded3c 100644
--- a/src/web/pages/audits/__tests__/detailspage.jsx
+++ b/src/web/pages/audits/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/audits/__tests__/listpage.jsx b/src/web/pages/audits/__tests__/listpage.jsx
index 2d54a0bd8c..5986f0ef07 100644
--- a/src/web/pages/audits/__tests__/listpage.jsx
+++ b/src/web/pages/audits/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/audits/__tests__/row.jsx b/src/web/pages/audits/__tests__/row.jsx
index cf3a04df12..437830dce5 100644
--- a/src/web/pages/audits/__tests__/row.jsx
+++ b/src/web/pages/audits/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/audits/__tests__/table.jsx b/src/web/pages/audits/__tests__/table.jsx
index 2da8109bd1..23e9ab303b 100644
--- a/src/web/pages/audits/__tests__/table.jsx
+++ b/src/web/pages/audits/__tests__/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/audits/actions.jsx b/src/web/pages/audits/actions.jsx
index fbb4632d70..1ae341a24c 100644
--- a/src/web/pages/audits/actions.jsx
+++ b/src/web/pages/audits/actions.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/audits/component.jsx b/src/web/pages/audits/component.jsx
index f2671b5c04..a3deda1916 100644
--- a/src/web/pages/audits/component.jsx
+++ b/src/web/pages/audits/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/audits/details.jsx b/src/web/pages/audits/details.jsx
index 7253860962..8571eae930 100644
--- a/src/web/pages/audits/details.jsx
+++ b/src/web/pages/audits/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/audits/detailspage.jsx b/src/web/pages/audits/detailspage.jsx
index b6352f300f..d76a7c685b 100644
--- a/src/web/pages/audits/detailspage.jsx
+++ b/src/web/pages/audits/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/audits/dialog.jsx b/src/web/pages/audits/dialog.jsx
index 6dd82bd07e..8fea590341 100644
--- a/src/web/pages/audits/dialog.jsx
+++ b/src/web/pages/audits/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/audits/listpage.jsx b/src/web/pages/audits/listpage.jsx
index 68f4d8aed4..51dae989c8 100644
--- a/src/web/pages/audits/listpage.jsx
+++ b/src/web/pages/audits/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/audits/row.jsx b/src/web/pages/audits/row.jsx
index cb67410c70..7eca63a339 100644
--- a/src/web/pages/audits/row.jsx
+++ b/src/web/pages/audits/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/audits/table.jsx b/src/web/pages/audits/table.jsx
index 80a6dab80f..85621bffdd 100644
--- a/src/web/pages/audits/table.jsx
+++ b/src/web/pages/audits/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/certbund/dashboard/createddisplay.jsx b/src/web/pages/certbund/dashboard/createddisplay.jsx
index 2f3516c2d0..9e9e81905b 100644
--- a/src/web/pages/certbund/dashboard/createddisplay.jsx
+++ b/src/web/pages/certbund/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CERTBUND_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/certbund/dashboard/cvssdisplay.jsx b/src/web/pages/certbund/dashboard/cvssdisplay.jsx
index 01c0828a19..44eea3d03a 100644
--- a/src/web/pages/certbund/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/certbund/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CERTBUND_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/certbund/dashboard/index.jsx b/src/web/pages/certbund/dashboard/index.jsx
index f9dafdbdc9..f36ea49792 100644
--- a/src/web/pages/certbund/dashboard/index.jsx
+++ b/src/web/pages/certbund/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/certbund/dashboard/loaders.jsx b/src/web/pages/certbund/dashboard/loaders.jsx
index 549b989efb..1222d4a819 100644
--- a/src/web/pages/certbund/dashboard/loaders.jsx
+++ b/src/web/pages/certbund/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/certbund/dashboard/severityclassdisplay.jsx b/src/web/pages/certbund/dashboard/severityclassdisplay.jsx
index 050dca4433..8d945966d1 100644
--- a/src/web/pages/certbund/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/certbund/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CERTBUND_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/certbund/details.jsx b/src/web/pages/certbund/details.jsx
index cef14e0f5e..46bffe04ae 100644
--- a/src/web/pages/certbund/details.jsx
+++ b/src/web/pages/certbund/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/certbund/detailspage.jsx b/src/web/pages/certbund/detailspage.jsx
index 81159c9b8b..fb4bd604f0 100644
--- a/src/web/pages/certbund/detailspage.jsx
+++ b/src/web/pages/certbund/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/certbund/filterdialog.jsx b/src/web/pages/certbund/filterdialog.jsx
index 988470bfbb..349e8b1988 100644
--- a/src/web/pages/certbund/filterdialog.jsx
+++ b/src/web/pages/certbund/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/certbund/listpage.jsx b/src/web/pages/certbund/listpage.jsx
index 8c05e93c51..ea84fdc2f9 100644
--- a/src/web/pages/certbund/listpage.jsx
+++ b/src/web/pages/certbund/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/certbund/row.jsx b/src/web/pages/certbund/row.jsx
index 6ddc153bf0..e6ff5978a9 100644
--- a/src/web/pages/certbund/row.jsx
+++ b/src/web/pages/certbund/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import SeverityBar from 'web/components/bar/severitybar';
diff --git a/src/web/pages/certbund/table.jsx b/src/web/pages/certbund/table.jsx
index 5991dccd5d..5fba423468 100644
--- a/src/web/pages/certbund/table.jsx
+++ b/src/web/pages/certbund/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/cpes/__tests__/detailspage.jsx b/src/web/pages/cpes/__tests__/detailspage.jsx
index a58baa3c3b..6663de3d20 100644
--- a/src/web/pages/cpes/__tests__/detailspage.jsx
+++ b/src/web/pages/cpes/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/cpes/__tests__/listpage.jsx b/src/web/pages/cpes/__tests__/listpage.jsx
index b9e5c62a2b..88c19ca4a6 100644
--- a/src/web/pages/cpes/__tests__/listpage.jsx
+++ b/src/web/pages/cpes/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/cpes/dashboard/createddisplay.jsx b/src/web/pages/cpes/dashboard/createddisplay.jsx
index 564f10f961..4a7f755b58 100644
--- a/src/web/pages/cpes/dashboard/createddisplay.jsx
+++ b/src/web/pages/cpes/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CPES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/cpes/dashboard/cvssdisplay.jsx b/src/web/pages/cpes/dashboard/cvssdisplay.jsx
index 2414e770af..4980b693fb 100644
--- a/src/web/pages/cpes/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/cpes/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CPES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/cpes/dashboard/index.jsx b/src/web/pages/cpes/dashboard/index.jsx
index 6c5cda9e8d..488534745b 100644
--- a/src/web/pages/cpes/dashboard/index.jsx
+++ b/src/web/pages/cpes/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/cpes/dashboard/loaders.jsx b/src/web/pages/cpes/dashboard/loaders.jsx
index 1ae9d10bbb..6981aa3f15 100644
--- a/src/web/pages/cpes/dashboard/loaders.jsx
+++ b/src/web/pages/cpes/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/cpes/dashboard/severityclassdisplay.jsx b/src/web/pages/cpes/dashboard/severityclassdisplay.jsx
index dc58ed686e..06878b6da0 100644
--- a/src/web/pages/cpes/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/cpes/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CPES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/cpes/details.jsx b/src/web/pages/cpes/details.jsx
index 69cb4e8e5b..2cc02d6e73 100644
--- a/src/web/pages/cpes/details.jsx
+++ b/src/web/pages/cpes/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/cpes/detailspage.jsx b/src/web/pages/cpes/detailspage.jsx
index 3b145a7bb2..280abb67bd 100644
--- a/src/web/pages/cpes/detailspage.jsx
+++ b/src/web/pages/cpes/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/cpes/filterdialog.jsx b/src/web/pages/cpes/filterdialog.jsx
index 84a1ff07f6..e95234c122 100644
--- a/src/web/pages/cpes/filterdialog.jsx
+++ b/src/web/pages/cpes/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/cpes/listpage.jsx b/src/web/pages/cpes/listpage.jsx
index 84f4192b0c..47bafc134c 100644
--- a/src/web/pages/cpes/listpage.jsx
+++ b/src/web/pages/cpes/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/cpes/row.jsx b/src/web/pages/cpes/row.jsx
index dce9f0b4a6..be37fa276d 100644
--- a/src/web/pages/cpes/row.jsx
+++ b/src/web/pages/cpes/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import SeverityBar from 'web/components/bar/severitybar';
diff --git a/src/web/pages/cpes/table.jsx b/src/web/pages/cpes/table.jsx
index 25c83044e8..c82d607c1e 100644
--- a/src/web/pages/cpes/table.jsx
+++ b/src/web/pages/cpes/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/credentials/__tests__/detailspage.jsx b/src/web/pages/credentials/__tests__/detailspage.jsx
index d8df170a38..c196610d12 100644
--- a/src/web/pages/credentials/__tests__/detailspage.jsx
+++ b/src/web/pages/credentials/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/credentials/__tests__/dialog.jsx b/src/web/pages/credentials/__tests__/dialog.jsx
index cb3c7a385d..29b123af0f 100644
--- a/src/web/pages/credentials/__tests__/dialog.jsx
+++ b/src/web/pages/credentials/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Credential, {ALL_CREDENTIAL_TYPES} from 'gmp/models/credential';
diff --git a/src/web/pages/credentials/__tests__/listpage.jsx b/src/web/pages/credentials/__tests__/listpage.jsx
index 883d993f1a..549cba3e9f 100644
--- a/src/web/pages/credentials/__tests__/listpage.jsx
+++ b/src/web/pages/credentials/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/credentials/component.jsx b/src/web/pages/credentials/component.jsx
index d84a6b9cc1..cc62f91520 100644
--- a/src/web/pages/credentials/component.jsx
+++ b/src/web/pages/credentials/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/credentials/details.jsx b/src/web/pages/credentials/details.jsx
index 37fcd82fe5..1361c19975 100644
--- a/src/web/pages/credentials/details.jsx
+++ b/src/web/pages/credentials/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/credentials/detailspage.jsx b/src/web/pages/credentials/detailspage.jsx
index 7a88d8989b..cf7d7fbf18 100644
--- a/src/web/pages/credentials/detailspage.jsx
+++ b/src/web/pages/credentials/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/credentials/dialog.jsx b/src/web/pages/credentials/dialog.jsx
index 11fd7360ee..122c18687f 100644
--- a/src/web/pages/credentials/dialog.jsx
+++ b/src/web/pages/credentials/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_} from 'gmp/locale/lang';
diff --git a/src/web/pages/credentials/downloadicon.jsx b/src/web/pages/credentials/downloadicon.jsx
index 59c93c127f..0dd54ab1a2 100644
--- a/src/web/pages/credentials/downloadicon.jsx
+++ b/src/web/pages/credentials/downloadicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/credentials/listpage.jsx b/src/web/pages/credentials/listpage.jsx
index 4fa01ccfd3..2f0e6c77bc 100644
--- a/src/web/pages/credentials/listpage.jsx
+++ b/src/web/pages/credentials/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {CREDENTIALS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/credentials/row.jsx b/src/web/pages/credentials/row.jsx
index 6cd4aa0692..e4bdda71aa 100644
--- a/src/web/pages/credentials/row.jsx
+++ b/src/web/pages/credentials/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/credentials/table.jsx b/src/web/pages/credentials/table.jsx
index adf6f1760c..ec5f395612 100644
--- a/src/web/pages/credentials/table.jsx
+++ b/src/web/pages/credentials/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from '../../entities/footer';
diff --git a/src/web/pages/cves/__tests__/detailspage.jsx b/src/web/pages/cves/__tests__/detailspage.jsx
index e0858ec2ca..230a8a51a6 100644
--- a/src/web/pages/cves/__tests__/detailspage.jsx
+++ b/src/web/pages/cves/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/cves/__tests__/listpage.jsx b/src/web/pages/cves/__tests__/listpage.jsx
index 6ce783c94a..cc8fbb7625 100644
--- a/src/web/pages/cves/__tests__/listpage.jsx
+++ b/src/web/pages/cves/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/cves/__tests__/row.jsx b/src/web/pages/cves/__tests__/row.jsx
index f1426e0c98..035747e4d3 100644
--- a/src/web/pages/cves/__tests__/row.jsx
+++ b/src/web/pages/cves/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/cves/__tests__/table.jsx b/src/web/pages/cves/__tests__/table.jsx
index 799c5c3830..1f7d04c30a 100644
--- a/src/web/pages/cves/__tests__/table.jsx
+++ b/src/web/pages/cves/__tests__/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/cves/dashboard/createddisplay.jsx b/src/web/pages/cves/dashboard/createddisplay.jsx
index 4a0e9688b9..f20d6d5c1e 100644
--- a/src/web/pages/cves/dashboard/createddisplay.jsx
+++ b/src/web/pages/cves/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CVES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/cves/dashboard/cvssdisplay.jsx b/src/web/pages/cves/dashboard/cvssdisplay.jsx
index 861bd19176..83c1fd56a8 100644
--- a/src/web/pages/cves/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/cves/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CVES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/cves/dashboard/index.jsx b/src/web/pages/cves/dashboard/index.jsx
index 772a8d57bb..96c5c4897c 100644
--- a/src/web/pages/cves/dashboard/index.jsx
+++ b/src/web/pages/cves/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/cves/dashboard/loaders.jsx b/src/web/pages/cves/dashboard/loaders.jsx
index dcb7a11e82..d3218877c6 100644
--- a/src/web/pages/cves/dashboard/loaders.jsx
+++ b/src/web/pages/cves/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/cves/dashboard/severityclassdisplay.jsx b/src/web/pages/cves/dashboard/severityclassdisplay.jsx
index 7cabb6b642..504b0e928e 100644
--- a/src/web/pages/cves/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/cves/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CVES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/cves/details.jsx b/src/web/pages/cves/details.jsx
index 2898564d5e..1bab1b535f 100644
--- a/src/web/pages/cves/details.jsx
+++ b/src/web/pages/cves/details.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/cves/detailspage.jsx b/src/web/pages/cves/detailspage.jsx
index de1a173fb3..41e19ec14d 100644
--- a/src/web/pages/cves/detailspage.jsx
+++ b/src/web/pages/cves/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/cves/filterdialog.jsx b/src/web/pages/cves/filterdialog.jsx
index 6a10a2fc00..4c55a0e036 100644
--- a/src/web/pages/cves/filterdialog.jsx
+++ b/src/web/pages/cves/filterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/cves/listpage.jsx b/src/web/pages/cves/listpage.jsx
index 26a456c393..0b52422de5 100644
--- a/src/web/pages/cves/listpage.jsx
+++ b/src/web/pages/cves/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/cves/row.jsx b/src/web/pages/cves/row.jsx
index 696f7f9879..7d9bdfc183 100644
--- a/src/web/pages/cves/row.jsx
+++ b/src/web/pages/cves/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_} from 'gmp/locale/lang';
diff --git a/src/web/pages/cves/table.jsx b/src/web/pages/cves/table.jsx
index d19695baf9..bdc87d581f 100644
--- a/src/web/pages/cves/table.jsx
+++ b/src/web/pages/cves/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/dfncert/dashboard/createddisplay.jsx b/src/web/pages/dfncert/dashboard/createddisplay.jsx
index da7554c2a1..9ce23def79 100644
--- a/src/web/pages/dfncert/dashboard/createddisplay.jsx
+++ b/src/web/pages/dfncert/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {DFNCERT_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/dfncert/dashboard/cvssdisplay.jsx b/src/web/pages/dfncert/dashboard/cvssdisplay.jsx
index 29bbd9a431..144055a639 100644
--- a/src/web/pages/dfncert/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/dfncert/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {DFNCERT_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/dfncert/dashboard/index.jsx b/src/web/pages/dfncert/dashboard/index.jsx
index 1a04925d9c..a388f194fe 100644
--- a/src/web/pages/dfncert/dashboard/index.jsx
+++ b/src/web/pages/dfncert/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/dfncert/dashboard/loaders.jsx b/src/web/pages/dfncert/dashboard/loaders.jsx
index 2adbca26ab..8a22a756c5 100644
--- a/src/web/pages/dfncert/dashboard/loaders.jsx
+++ b/src/web/pages/dfncert/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/dfncert/dashboard/severityclassdisplay.jsx b/src/web/pages/dfncert/dashboard/severityclassdisplay.jsx
index d2c648a6a0..e0110310ac 100644
--- a/src/web/pages/dfncert/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/dfncert/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {DFNCERT_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/dfncert/details.jsx b/src/web/pages/dfncert/details.jsx
index 38914635ac..41c1fbdc81 100644
--- a/src/web/pages/dfncert/details.jsx
+++ b/src/web/pages/dfncert/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/dfncert/detailspage.jsx b/src/web/pages/dfncert/detailspage.jsx
index 72b59bc937..febf5c588e 100644
--- a/src/web/pages/dfncert/detailspage.jsx
+++ b/src/web/pages/dfncert/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/dfncert/listpage.jsx b/src/web/pages/dfncert/listpage.jsx
index 406cdda6d5..871c7fc2c3 100644
--- a/src/web/pages/dfncert/listpage.jsx
+++ b/src/web/pages/dfncert/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/dfncert/row.jsx b/src/web/pages/dfncert/row.jsx
index 6ddc153bf0..e6ff5978a9 100644
--- a/src/web/pages/dfncert/row.jsx
+++ b/src/web/pages/dfncert/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import SeverityBar from 'web/components/bar/severitybar';
diff --git a/src/web/pages/dfncert/table.jsx b/src/web/pages/dfncert/table.jsx
index 47efd72cee..c30a556140 100644
--- a/src/web/pages/dfncert/table.jsx
+++ b/src/web/pages/dfncert/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/extras/__tests__/cvsscalculatorpage.jsx b/src/web/pages/extras/__tests__/cvsscalculatorpage.jsx
index 4446e2cd52..38a6bef0e3 100644
--- a/src/web/pages/extras/__tests__/cvsscalculatorpage.jsx
+++ b/src/web/pages/extras/__tests__/cvsscalculatorpage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {rendererWith, wait} from 'web/utils/testing';
diff --git a/src/web/pages/extras/__tests__/feedstatuspage.jsx b/src/web/pages/extras/__tests__/feedstatuspage.jsx
index 53d5ad300e..ab50f2df89 100644
--- a/src/web/pages/extras/__tests__/feedstatuspage.jsx
+++ b/src/web/pages/extras/__tests__/feedstatuspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {rendererWith, waitFor} from 'web/utils/testing';
diff --git a/src/web/pages/extras/cvsscalculatorpage.jsx b/src/web/pages/extras/cvsscalculatorpage.jsx
index 071bebfeb5..f65ea3bd0a 100644
--- a/src/web/pages/extras/cvsscalculatorpage.jsx
+++ b/src/web/pages/extras/cvsscalculatorpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState, useEffect} from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/extras/feedstatuspage.jsx b/src/web/pages/extras/feedstatuspage.jsx
index 0c274ed4fa..5c1adacd47 100644
--- a/src/web/pages/extras/feedstatuspage.jsx
+++ b/src/web/pages/extras/feedstatuspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/extras/trashactions.jsx b/src/web/pages/extras/trashactions.jsx
index 980be99fa0..3773c2fa00 100644
--- a/src/web/pages/extras/trashactions.jsx
+++ b/src/web/pages/extras/trashactions.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/extras/trashcanpage.jsx b/src/web/pages/extras/trashcanpage.jsx
index 1de9669045..65202184ed 100644
--- a/src/web/pages/extras/trashcanpage.jsx
+++ b/src/web/pages/extras/trashcanpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback, useEffect, useState} from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/filters/component.jsx b/src/web/pages/filters/component.jsx
index 7e78ce894e..3b473ab82e 100644
--- a/src/web/pages/filters/component.jsx
+++ b/src/web/pages/filters/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/filters/details.jsx b/src/web/pages/filters/details.jsx
index 2727ec9185..2a6b4c9dc3 100644
--- a/src/web/pages/filters/details.jsx
+++ b/src/web/pages/filters/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/filters/detailspage.jsx b/src/web/pages/filters/detailspage.jsx
index 8a103f0a6d..117fe40a22 100644
--- a/src/web/pages/filters/detailspage.jsx
+++ b/src/web/pages/filters/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/filters/dialog.jsx b/src/web/pages/filters/dialog.jsx
index 55b6ab063e..1734228e94 100644
--- a/src/web/pages/filters/dialog.jsx
+++ b/src/web/pages/filters/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/filters/filterdialog.jsx b/src/web/pages/filters/filterdialog.jsx
index 1302dc692a..ac48209a10 100644
--- a/src/web/pages/filters/filterdialog.jsx
+++ b/src/web/pages/filters/filterdialog.jsx
@@ -2,6 +2,7 @@
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/filters/listpage.jsx b/src/web/pages/filters/listpage.jsx
index 24a529e58c..b90245b0ed 100644
--- a/src/web/pages/filters/listpage.jsx
+++ b/src/web/pages/filters/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {FILTERS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/filters/row.jsx b/src/web/pages/filters/row.jsx
index d7a8335cf9..4f176e689e 100644
--- a/src/web/pages/filters/row.jsx
+++ b/src/web/pages/filters/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/filters/table.jsx b/src/web/pages/filters/table.jsx
index 0747490ad3..1afa621d85 100644
--- a/src/web/pages/filters/table.jsx
+++ b/src/web/pages/filters/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from '../../entities/footer';
diff --git a/src/web/pages/groups/component.jsx b/src/web/pages/groups/component.jsx
index 7a220c437e..aed3b8d8d7 100644
--- a/src/web/pages/groups/component.jsx
+++ b/src/web/pages/groups/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/groups/details.jsx b/src/web/pages/groups/details.jsx
index d68655ada4..060778c5b6 100644
--- a/src/web/pages/groups/details.jsx
+++ b/src/web/pages/groups/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/groups/detailspage.jsx b/src/web/pages/groups/detailspage.jsx
index 0a3dddb9ea..6078797ca4 100644
--- a/src/web/pages/groups/detailspage.jsx
+++ b/src/web/pages/groups/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/groups/dialog.jsx b/src/web/pages/groups/dialog.jsx
index 78094fc277..d11172994c 100644
--- a/src/web/pages/groups/dialog.jsx
+++ b/src/web/pages/groups/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/groups/header.jsx b/src/web/pages/groups/header.jsx
index ff89a4aecc..169658c490 100644
--- a/src/web/pages/groups/header.jsx
+++ b/src/web/pages/groups/header.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/groups/listpage.jsx b/src/web/pages/groups/listpage.jsx
index d4ae9da0ee..c623736f7d 100644
--- a/src/web/pages/groups/listpage.jsx
+++ b/src/web/pages/groups/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {GROUPS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/groups/row.jsx b/src/web/pages/groups/row.jsx
index f9eb5028da..73b3c02ea0 100644
--- a/src/web/pages/groups/row.jsx
+++ b/src/web/pages/groups/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/groups/table.jsx b/src/web/pages/groups/table.jsx
index 50549a3a19..2b0e393e75 100644
--- a/src/web/pages/groups/table.jsx
+++ b/src/web/pages/groups/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from '../../entities/footer';
diff --git a/src/web/pages/help/__tests__/about.jsx b/src/web/pages/help/__tests__/about.jsx
index 97178c381a..cb3151e9ef 100644
--- a/src/web/pages/help/__tests__/about.jsx
+++ b/src/web/pages/help/__tests__/about.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {rendererWith} from 'web/utils/testing';
diff --git a/src/web/pages/help/about.jsx b/src/web/pages/help/about.jsx
index 28a77409c8..40a1d9432a 100644
--- a/src/web/pages/help/about.jsx
+++ b/src/web/pages/help/about.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/hosts/__tests__/detailspage.jsx b/src/web/pages/hosts/__tests__/detailspage.jsx
index e4a9222193..decd12a3bc 100644
--- a/src/web/pages/hosts/__tests__/detailspage.jsx
+++ b/src/web/pages/hosts/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/hosts/__tests__/listpage.jsx b/src/web/pages/hosts/__tests__/listpage.jsx
index a605930626..7909d2981b 100644
--- a/src/web/pages/hosts/__tests__/listpage.jsx
+++ b/src/web/pages/hosts/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/hosts/component.jsx b/src/web/pages/hosts/component.jsx
index 5d07106f74..7f6a19a4c8 100644
--- a/src/web/pages/hosts/component.jsx
+++ b/src/web/pages/hosts/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/hosts/dashboard/cvssdisplay.jsx b/src/web/pages/hosts/dashboard/cvssdisplay.jsx
index d9b52af991..b4b494278a 100644
--- a/src/web/pages/hosts/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/hosts/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {HOSTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/hosts/dashboard/index.jsx b/src/web/pages/hosts/dashboard/index.jsx
index b760c2d0a6..664623be68 100644
--- a/src/web/pages/hosts/dashboard/index.jsx
+++ b/src/web/pages/hosts/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/hosts/dashboard/loaders.jsx b/src/web/pages/hosts/dashboard/loaders.jsx
index c8aef3cd9e..f4f2faf128 100644
--- a/src/web/pages/hosts/dashboard/loaders.jsx
+++ b/src/web/pages/hosts/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/hosts/dashboard/modifieddisplay.jsx b/src/web/pages/hosts/dashboard/modifieddisplay.jsx
index b41913ed33..45032fc24b 100644
--- a/src/web/pages/hosts/dashboard/modifieddisplay.jsx
+++ b/src/web/pages/hosts/dashboard/modifieddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/hosts/dashboard/modifiedhighdisplay.jsx b/src/web/pages/hosts/dashboard/modifiedhighdisplay.jsx
index 653493d476..402b47f962 100644
--- a/src/web/pages/hosts/dashboard/modifiedhighdisplay.jsx
+++ b/src/web/pages/hosts/dashboard/modifiedhighdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/hosts/dashboard/severityclassdisplay.jsx b/src/web/pages/hosts/dashboard/severityclassdisplay.jsx
index ffe90d0e9a..dabd847536 100644
--- a/src/web/pages/hosts/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/hosts/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {HOSTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/hosts/dashboard/topologydisplay.jsx b/src/web/pages/hosts/dashboard/topologydisplay.jsx
index 4b8833e671..f2c0e3dad1 100644
--- a/src/web/pages/hosts/dashboard/topologydisplay.jsx
+++ b/src/web/pages/hosts/dashboard/topologydisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {withRouter} from 'react-router-dom';
diff --git a/src/web/pages/hosts/dashboard/vulnscoredisplay.jsx b/src/web/pages/hosts/dashboard/vulnscoredisplay.jsx
index db4857364c..370944562c 100644
--- a/src/web/pages/hosts/dashboard/vulnscoredisplay.jsx
+++ b/src/web/pages/hosts/dashboard/vulnscoredisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {withRouter} from 'react-router-dom';
diff --git a/src/web/pages/hosts/details.jsx b/src/web/pages/hosts/details.jsx
index 1f9ee197bd..049b750e74 100644
--- a/src/web/pages/hosts/details.jsx
+++ b/src/web/pages/hosts/details.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/hosts/detailspage.jsx b/src/web/pages/hosts/detailspage.jsx
index ce419d3ecd..c55de16142 100644
--- a/src/web/pages/hosts/detailspage.jsx
+++ b/src/web/pages/hosts/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/hosts/dialog.jsx b/src/web/pages/hosts/dialog.jsx
index e130856cd0..0c85b2a9cf 100644
--- a/src/web/pages/hosts/dialog.jsx
+++ b/src/web/pages/hosts/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/hosts/filterdialog.jsx b/src/web/pages/hosts/filterdialog.jsx
index 5094cbd995..5affe47dac 100644
--- a/src/web/pages/hosts/filterdialog.jsx
+++ b/src/web/pages/hosts/filterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/hosts/identifiers.jsx b/src/web/pages/hosts/identifiers.jsx
index c3482ff88e..43facefdea 100644
--- a/src/web/pages/hosts/identifiers.jsx
+++ b/src/web/pages/hosts/identifiers.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState, useEffect} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/hosts/listpage.jsx b/src/web/pages/hosts/listpage.jsx
index e86e62ed92..10453b4f56 100644
--- a/src/web/pages/hosts/listpage.jsx
+++ b/src/web/pages/hosts/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/hosts/row.jsx b/src/web/pages/hosts/row.jsx
index 3853892a24..865504ce50 100644
--- a/src/web/pages/hosts/row.jsx
+++ b/src/web/pages/hosts/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/hosts/table.jsx b/src/web/pages/hosts/table.jsx
index eb9d1b1a7c..697aeebf64 100644
--- a/src/web/pages/hosts/table.jsx
+++ b/src/web/pages/hosts/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/ldap/__tests__/dialog.jsx b/src/web/pages/ldap/__tests__/dialog.jsx
index 09ecd2faff..be913aaf52 100644
--- a/src/web/pages/ldap/__tests__/dialog.jsx
+++ b/src/web/pages/ldap/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/pages/ldap/dialog.jsx b/src/web/pages/ldap/dialog.jsx
index e13b001350..29465b9bdb 100644
--- a/src/web/pages/ldap/dialog.jsx
+++ b/src/web/pages/ldap/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/ldap/ldappage.jsx b/src/web/pages/ldap/ldappage.jsx
index 48031409bf..4c2419218b 100644
--- a/src/web/pages/ldap/ldappage.jsx
+++ b/src/web/pages/ldap/ldappage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/login/__tests__/loginform.jsx b/src/web/pages/login/__tests__/loginform.jsx
index 36862a56c1..544c42c250 100644
--- a/src/web/pages/login/__tests__/loginform.jsx
+++ b/src/web/pages/login/__tests__/loginform.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {rendererWith, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/pages/login/__tests__/loginpage.jsx b/src/web/pages/login/__tests__/loginpage.jsx
index 1ebdc94e26..757563f632 100644
--- a/src/web/pages/login/__tests__/loginpage.jsx
+++ b/src/web/pages/login/__tests__/loginpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Logger from 'gmp/log';
diff --git a/src/web/pages/login/loginform.jsx b/src/web/pages/login/loginform.jsx
index 5b78743d1e..5b36460428 100644
--- a/src/web/pages/login/loginform.jsx
+++ b/src/web/pages/login/loginform.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/login/loginpage.jsx b/src/web/pages/login/loginpage.jsx
index 41f026e9bd..1745152e28 100644
--- a/src/web/pages/login/loginpage.jsx
+++ b/src/web/pages/login/loginpage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/notes/__tests__/detailspage.jsx b/src/web/pages/notes/__tests__/detailspage.jsx
index 7654f7aef7..2a94d62c7d 100644
--- a/src/web/pages/notes/__tests__/detailspage.jsx
+++ b/src/web/pages/notes/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/notes/__tests__/listpage.jsx b/src/web/pages/notes/__tests__/listpage.jsx
index 88256b4722..f87bc14f76 100644
--- a/src/web/pages/notes/__tests__/listpage.jsx
+++ b/src/web/pages/notes/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/notes/component.jsx b/src/web/pages/notes/component.jsx
index 54a1433575..3dded6d082 100644
--- a/src/web/pages/notes/component.jsx
+++ b/src/web/pages/notes/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/notes/dashboard/activedaysdisplay.jsx b/src/web/pages/notes/dashboard/activedaysdisplay.jsx
index a8f3f7b2ba..4f4748c5d4 100644
--- a/src/web/pages/notes/dashboard/activedaysdisplay.jsx
+++ b/src/web/pages/notes/dashboard/activedaysdisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/notes/dashboard/createddisplay.jsx b/src/web/pages/notes/dashboard/createddisplay.jsx
index c54591033e..e9814ffb86 100644
--- a/src/web/pages/notes/dashboard/createddisplay.jsx
+++ b/src/web/pages/notes/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {NOTES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/notes/dashboard/index.jsx b/src/web/pages/notes/dashboard/index.jsx
index e315c79429..e1fa182106 100644
--- a/src/web/pages/notes/dashboard/index.jsx
+++ b/src/web/pages/notes/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/notes/dashboard/loaders.jsx b/src/web/pages/notes/dashboard/loaders.jsx
index bf5400c27b..eeab6f5019 100644
--- a/src/web/pages/notes/dashboard/loaders.jsx
+++ b/src/web/pages/notes/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/notes/dashboard/wordclouddisplay.jsx b/src/web/pages/notes/dashboard/wordclouddisplay.jsx
index 638de2c0d0..a3ab2a90b5 100644
--- a/src/web/pages/notes/dashboard/wordclouddisplay.jsx
+++ b/src/web/pages/notes/dashboard/wordclouddisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/notes/details.jsx b/src/web/pages/notes/details.jsx
index 652ea9d8c9..f4cf064e56 100644
--- a/src/web/pages/notes/details.jsx
+++ b/src/web/pages/notes/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/notes/detailspage.jsx b/src/web/pages/notes/detailspage.jsx
index 130cbc2795..18c559a7d7 100644
--- a/src/web/pages/notes/detailspage.jsx
+++ b/src/web/pages/notes/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/notes/dialog.jsx b/src/web/pages/notes/dialog.jsx
index 684eeb6fbe..fb934126c0 100644
--- a/src/web/pages/notes/dialog.jsx
+++ b/src/web/pages/notes/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/notes/filterdialog.jsx b/src/web/pages/notes/filterdialog.jsx
index 6402a93d63..c4dadefd87 100644
--- a/src/web/pages/notes/filterdialog.jsx
+++ b/src/web/pages/notes/filterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/notes/listpage.jsx b/src/web/pages/notes/listpage.jsx
index c9479c7986..a32654e607 100644
--- a/src/web/pages/notes/listpage.jsx
+++ b/src/web/pages/notes/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/notes/row.jsx b/src/web/pages/notes/row.jsx
index b6f42c7c4f..4404fe702e 100644
--- a/src/web/pages/notes/row.jsx
+++ b/src/web/pages/notes/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/notes/table.jsx b/src/web/pages/notes/table.jsx
index 7183cad7c9..6ea9ec11b8 100644
--- a/src/web/pages/notes/table.jsx
+++ b/src/web/pages/notes/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/notfoundpage.jsx b/src/web/pages/notfoundpage.jsx
index bc0da628de..9ccb275770 100644
--- a/src/web/pages/notfoundpage.jsx
+++ b/src/web/pages/notfoundpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/nvts/__tests__/detailspage.jsx b/src/web/pages/nvts/__tests__/detailspage.jsx
index d99519502c..1f2397b105 100644
--- a/src/web/pages/nvts/__tests__/detailspage.jsx
+++ b/src/web/pages/nvts/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/nvts/__tests__/listpage.jsx b/src/web/pages/nvts/__tests__/listpage.jsx
index ad292da65e..dbfc86a2a5 100644
--- a/src/web/pages/nvts/__tests__/listpage.jsx
+++ b/src/web/pages/nvts/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/nvts/__tests__/row.jsx b/src/web/pages/nvts/__tests__/row.jsx
index 75be014716..3f5c3324c5 100644
--- a/src/web/pages/nvts/__tests__/row.jsx
+++ b/src/web/pages/nvts/__tests__/row.jsx
@@ -1,21 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
- * SPDX-License-Identifier: GPL-2.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
/* eslint-disable no-unused-vars */
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/nvts/component.jsx b/src/web/pages/nvts/component.jsx
index 4876c4f8a7..b1db0b1566 100644
--- a/src/web/pages/nvts/component.jsx
+++ b/src/web/pages/nvts/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/nvts/dashboard/createddisplay.jsx b/src/web/pages/nvts/dashboard/createddisplay.jsx
index a8c335a88c..4ec15f6df4 100644
--- a/src/web/pages/nvts/dashboard/createddisplay.jsx
+++ b/src/web/pages/nvts/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {NVTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/nvts/dashboard/cvssdisplay.jsx b/src/web/pages/nvts/dashboard/cvssdisplay.jsx
index 6e2e2d9f24..8c54040065 100644
--- a/src/web/pages/nvts/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/nvts/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {NVTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/nvts/dashboard/familydisplay.jsx b/src/web/pages/nvts/dashboard/familydisplay.jsx
index 57d8cdb7e1..ddc7c5b97f 100644
--- a/src/web/pages/nvts/dashboard/familydisplay.jsx
+++ b/src/web/pages/nvts/dashboard/familydisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/nvts/dashboard/index.jsx b/src/web/pages/nvts/dashboard/index.jsx
index 5b3232cf0e..eaef6a5030 100644
--- a/src/web/pages/nvts/dashboard/index.jsx
+++ b/src/web/pages/nvts/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/nvts/dashboard/loaders.jsx b/src/web/pages/nvts/dashboard/loaders.jsx
index 8b6aba71e9..03b1889dc7 100644
--- a/src/web/pages/nvts/dashboard/loaders.jsx
+++ b/src/web/pages/nvts/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/nvts/dashboard/qoddisplay.jsx b/src/web/pages/nvts/dashboard/qoddisplay.jsx
index c37ffe92b1..aa83cbdd07 100644
--- a/src/web/pages/nvts/dashboard/qoddisplay.jsx
+++ b/src/web/pages/nvts/dashboard/qoddisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/nvts/dashboard/qodtypedisplay.jsx b/src/web/pages/nvts/dashboard/qodtypedisplay.jsx
index b56685125c..115484dd07 100644
--- a/src/web/pages/nvts/dashboard/qodtypedisplay.jsx
+++ b/src/web/pages/nvts/dashboard/qodtypedisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/nvts/dashboard/severityclassdisplay.jsx b/src/web/pages/nvts/dashboard/severityclassdisplay.jsx
index 04166dc16c..1424428bc1 100644
--- a/src/web/pages/nvts/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/nvts/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {NVTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/nvts/details.jsx b/src/web/pages/nvts/details.jsx
index 0355a4db93..719b3ab998 100644
--- a/src/web/pages/nvts/details.jsx
+++ b/src/web/pages/nvts/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/nvts/detailspage.jsx b/src/web/pages/nvts/detailspage.jsx
index ee07516158..1c1cc526b7 100644
--- a/src/web/pages/nvts/detailspage.jsx
+++ b/src/web/pages/nvts/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/nvts/filterdialog.jsx b/src/web/pages/nvts/filterdialog.jsx
index 586bb99047..ca75e89806 100644
--- a/src/web/pages/nvts/filterdialog.jsx
+++ b/src/web/pages/nvts/filterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/nvts/listpage.jsx b/src/web/pages/nvts/listpage.jsx
index 47e2a0a0e5..efd95f9526 100644
--- a/src/web/pages/nvts/listpage.jsx
+++ b/src/web/pages/nvts/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/nvts/nvtpreference.jsx b/src/web/pages/nvts/nvtpreference.jsx
index fba2f41723..30b331524b 100644
--- a/src/web/pages/nvts/nvtpreference.jsx
+++ b/src/web/pages/nvts/nvtpreference.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/nvts/preferences.jsx b/src/web/pages/nvts/preferences.jsx
index 341d7c151f..a5674987c4 100644
--- a/src/web/pages/nvts/preferences.jsx
+++ b/src/web/pages/nvts/preferences.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/nvts/preformatted.jsx b/src/web/pages/nvts/preformatted.jsx
index be5c88787e..f9407737c5 100644
--- a/src/web/pages/nvts/preformatted.jsx
+++ b/src/web/pages/nvts/preformatted.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
/*
diff --git a/src/web/pages/nvts/references.jsx b/src/web/pages/nvts/references.jsx
index 2bfafb9224..1a90464b5f 100644
--- a/src/web/pages/nvts/references.jsx
+++ b/src/web/pages/nvts/references.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/nvts/row.jsx b/src/web/pages/nvts/row.jsx
index 7955065258..3f5e3e5c34 100644
--- a/src/web/pages/nvts/row.jsx
+++ b/src/web/pages/nvts/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Filter from 'gmp/models/filter.js';
diff --git a/src/web/pages/nvts/solution.jsx b/src/web/pages/nvts/solution.jsx
index a886010e38..2eb45d9437 100644
--- a/src/web/pages/nvts/solution.jsx
+++ b/src/web/pages/nvts/solution.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/nvts/table.jsx b/src/web/pages/nvts/table.jsx
index c4e10bff3e..c8e5de6133 100644
--- a/src/web/pages/nvts/table.jsx
+++ b/src/web/pages/nvts/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/omp.jsx b/src/web/pages/omp.jsx
index 7f38a7d5b8..485264a5bf 100644
--- a/src/web/pages/omp.jsx
+++ b/src/web/pages/omp.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {withRouter} from 'react-router-dom';
diff --git a/src/web/pages/operatingsystems/component.jsx b/src/web/pages/operatingsystems/component.jsx
index fd4d452f93..07a8f8494f 100644
--- a/src/web/pages/operatingsystems/component.jsx
+++ b/src/web/pages/operatingsystems/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import EntityComponent from 'web/entity/component';
diff --git a/src/web/pages/operatingsystems/dashboard/cvssdisplay.jsx b/src/web/pages/operatingsystems/dashboard/cvssdisplay.jsx
index 54eae63b55..7b0cec782f 100644
--- a/src/web/pages/operatingsystems/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/operatingsystems/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {OS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/operatingsystems/dashboard/index.jsx b/src/web/pages/operatingsystems/dashboard/index.jsx
index 89e5442592..a6a9c77f52 100644
--- a/src/web/pages/operatingsystems/dashboard/index.jsx
+++ b/src/web/pages/operatingsystems/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/operatingsystems/dashboard/loaders.jsx b/src/web/pages/operatingsystems/dashboard/loaders.jsx
index 383e518b69..9f8a1a7b38 100644
--- a/src/web/pages/operatingsystems/dashboard/loaders.jsx
+++ b/src/web/pages/operatingsystems/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/operatingsystems/dashboard/severityclassdisplay.jsx b/src/web/pages/operatingsystems/dashboard/severityclassdisplay.jsx
index 2d19bedee9..8608a98f64 100644
--- a/src/web/pages/operatingsystems/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/operatingsystems/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {OS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/operatingsystems/dashboard/vulnscoredisplay.jsx b/src/web/pages/operatingsystems/dashboard/vulnscoredisplay.jsx
index 237ace6b92..729a3e8a54 100644
--- a/src/web/pages/operatingsystems/dashboard/vulnscoredisplay.jsx
+++ b/src/web/pages/operatingsystems/dashboard/vulnscoredisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {withRouter} from 'react-router-dom';
diff --git a/src/web/pages/operatingsystems/detailspage.jsx b/src/web/pages/operatingsystems/detailspage.jsx
index 853a40194b..325e5ccbff 100644
--- a/src/web/pages/operatingsystems/detailspage.jsx
+++ b/src/web/pages/operatingsystems/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/operatingsystems/filterdialog.jsx b/src/web/pages/operatingsystems/filterdialog.jsx
index c21d70632d..e799ad4850 100644
--- a/src/web/pages/operatingsystems/filterdialog.jsx
+++ b/src/web/pages/operatingsystems/filterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/operatingsystems/listpage.jsx b/src/web/pages/operatingsystems/listpage.jsx
index 1a75eb43a7..76dcf4e217 100644
--- a/src/web/pages/operatingsystems/listpage.jsx
+++ b/src/web/pages/operatingsystems/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/operatingsystems/row.jsx b/src/web/pages/operatingsystems/row.jsx
index 4af29a1f0b..74ef925ab7 100644
--- a/src/web/pages/operatingsystems/row.jsx
+++ b/src/web/pages/operatingsystems/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/operatingsystems/table.jsx b/src/web/pages/operatingsystems/table.jsx
index 0783c0a6be..bd7886dd7e 100644
--- a/src/web/pages/operatingsystems/table.jsx
+++ b/src/web/pages/operatingsystems/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/overrides/__tests__/detailspage.jsx b/src/web/pages/overrides/__tests__/detailspage.jsx
index 1f3a907795..567e3b2d26 100644
--- a/src/web/pages/overrides/__tests__/detailspage.jsx
+++ b/src/web/pages/overrides/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/overrides/__tests__/listpage.jsx b/src/web/pages/overrides/__tests__/listpage.jsx
index db762d788d..d61355f405 100644
--- a/src/web/pages/overrides/__tests__/listpage.jsx
+++ b/src/web/pages/overrides/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/overrides/component.jsx b/src/web/pages/overrides/component.jsx
index 9b91d793fc..e407be94c9 100644
--- a/src/web/pages/overrides/component.jsx
+++ b/src/web/pages/overrides/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/overrides/dashboard/activedaysdisplay.jsx b/src/web/pages/overrides/dashboard/activedaysdisplay.jsx
index 2a5d3eec01..c672d54ced 100644
--- a/src/web/pages/overrides/dashboard/activedaysdisplay.jsx
+++ b/src/web/pages/overrides/dashboard/activedaysdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/overrides/dashboard/createddisplay.jsx b/src/web/pages/overrides/dashboard/createddisplay.jsx
index f7acadd007..2845c1da89 100644
--- a/src/web/pages/overrides/dashboard/createddisplay.jsx
+++ b/src/web/pages/overrides/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {OVERRIDES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/overrides/dashboard/index.jsx b/src/web/pages/overrides/dashboard/index.jsx
index 91eff19893..9ab7436ab6 100644
--- a/src/web/pages/overrides/dashboard/index.jsx
+++ b/src/web/pages/overrides/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/overrides/dashboard/loaders.jsx b/src/web/pages/overrides/dashboard/loaders.jsx
index e4875f045e..c2c2a92a7d 100644
--- a/src/web/pages/overrides/dashboard/loaders.jsx
+++ b/src/web/pages/overrides/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/overrides/dashboard/wordclouddisplay.jsx b/src/web/pages/overrides/dashboard/wordclouddisplay.jsx
index 957613e5b9..e98a36cebf 100644
--- a/src/web/pages/overrides/dashboard/wordclouddisplay.jsx
+++ b/src/web/pages/overrides/dashboard/wordclouddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/overrides/details.jsx b/src/web/pages/overrides/details.jsx
index f9a9d7c3ce..1f99d366a7 100644
--- a/src/web/pages/overrides/details.jsx
+++ b/src/web/pages/overrides/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/overrides/detailspage.jsx b/src/web/pages/overrides/detailspage.jsx
index 887dcebafb..a081378351 100644
--- a/src/web/pages/overrides/detailspage.jsx
+++ b/src/web/pages/overrides/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/overrides/dialog.jsx b/src/web/pages/overrides/dialog.jsx
index 672a52b174..f798e6d6c6 100644
--- a/src/web/pages/overrides/dialog.jsx
+++ b/src/web/pages/overrides/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/overrides/filterdialog.jsx b/src/web/pages/overrides/filterdialog.jsx
index ba7ae2e83b..2ed4860503 100644
--- a/src/web/pages/overrides/filterdialog.jsx
+++ b/src/web/pages/overrides/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/overrides/listpage.jsx b/src/web/pages/overrides/listpage.jsx
index 4af3d17041..6d138228fb 100644
--- a/src/web/pages/overrides/listpage.jsx
+++ b/src/web/pages/overrides/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/overrides/row.jsx b/src/web/pages/overrides/row.jsx
index c7511093f4..5525bded05 100644
--- a/src/web/pages/overrides/row.jsx
+++ b/src/web/pages/overrides/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/overrides/table.jsx b/src/web/pages/overrides/table.jsx
index c586069fab..8038f8e27f 100644
--- a/src/web/pages/overrides/table.jsx
+++ b/src/web/pages/overrides/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/page.jsx b/src/web/pages/page.jsx
index 0f3fd01f60..977077de72 100644
--- a/src/web/pages/page.jsx
+++ b/src/web/pages/page.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {useLocation} from 'react-router-dom';
diff --git a/src/web/pages/performance/__tests__/startendtimeselection.jsx b/src/web/pages/performance/__tests__/startendtimeselection.jsx
index 1a22a45534..c402b2fca7 100644
--- a/src/web/pages/performance/__tests__/startendtimeselection.jsx
+++ b/src/web/pages/performance/__tests__/startendtimeselection.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import MomentDate from 'gmp/models/date';
diff --git a/src/web/pages/performance/performancepage.jsx b/src/web/pages/performance/performancepage.jsx
index ffb74a60a1..eb42ffd460 100644
--- a/src/web/pages/performance/performancepage.jsx
+++ b/src/web/pages/performance/performancepage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/performance/startendtimeselection.jsx b/src/web/pages/performance/startendtimeselection.jsx
index 4862e16302..6330ebf588 100644
--- a/src/web/pages/performance/startendtimeselection.jsx
+++ b/src/web/pages/performance/startendtimeselection.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useState, useEffect} from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/permissions/component.jsx b/src/web/pages/permissions/component.jsx
index 69fd64dcbb..76b8669c5a 100644
--- a/src/web/pages/permissions/component.jsx
+++ b/src/web/pages/permissions/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/permissions/details.jsx b/src/web/pages/permissions/details.jsx
index a35979b186..35e39179da 100644
--- a/src/web/pages/permissions/details.jsx
+++ b/src/web/pages/permissions/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/permissions/detailspage.jsx b/src/web/pages/permissions/detailspage.jsx
index dc3c1dd537..7044d4ef46 100644
--- a/src/web/pages/permissions/detailspage.jsx
+++ b/src/web/pages/permissions/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/permissions/dialog.jsx b/src/web/pages/permissions/dialog.jsx
index 9e73036e6d..b64b6bc597 100644
--- a/src/web/pages/permissions/dialog.jsx
+++ b/src/web/pages/permissions/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Model from 'gmp/model';
diff --git a/src/web/pages/permissions/listpage.jsx b/src/web/pages/permissions/listpage.jsx
index 2277bfb090..e938ff85e7 100644
--- a/src/web/pages/permissions/listpage.jsx
+++ b/src/web/pages/permissions/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {PERMISSIONS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/permissions/multipledialog.jsx b/src/web/pages/permissions/multipledialog.jsx
index bd32fac8a9..484c360116 100644
--- a/src/web/pages/permissions/multipledialog.jsx
+++ b/src/web/pages/permissions/multipledialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/permissions/row.jsx b/src/web/pages/permissions/row.jsx
index b83cec4e9a..54a2cd588c 100644
--- a/src/web/pages/permissions/row.jsx
+++ b/src/web/pages/permissions/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/permissions/table.jsx b/src/web/pages/permissions/table.jsx
index c71d94892c..15b23e8b66 100644
--- a/src/web/pages/permissions/table.jsx
+++ b/src/web/pages/permissions/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/policies/__tests__/details.jsx b/src/web/pages/policies/__tests__/details.jsx
index 13fa63e5f0..b64652ce3a 100644
--- a/src/web/pages/policies/__tests__/details.jsx
+++ b/src/web/pages/policies/__tests__/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/policies/__tests__/detailspage.jsx b/src/web/pages/policies/__tests__/detailspage.jsx
index f1e9a151cb..929f788fcb 100644
--- a/src/web/pages/policies/__tests__/detailspage.jsx
+++ b/src/web/pages/policies/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/policies/__tests__/dialog.jsx b/src/web/pages/policies/__tests__/dialog.jsx
index 4ed898724b..7fbd4bc90e 100644
--- a/src/web/pages/policies/__tests__/dialog.jsx
+++ b/src/web/pages/policies/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/pages/policies/__tests__/listpage.jsx b/src/web/pages/policies/__tests__/listpage.jsx
index 75d6b02fb3..9fb4423a6e 100644
--- a/src/web/pages/policies/__tests__/listpage.jsx
+++ b/src/web/pages/policies/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/policies/__tests__/row.jsx b/src/web/pages/policies/__tests__/row.jsx
index 75c9619c05..6b5c89e018 100644
--- a/src/web/pages/policies/__tests__/row.jsx
+++ b/src/web/pages/policies/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-unused-vars */
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/policies/__tests__/table.jsx b/src/web/pages/policies/__tests__/table.jsx
index 7a5a103ece..be7b0afb0b 100644
--- a/src/web/pages/policies/__tests__/table.jsx
+++ b/src/web/pages/policies/__tests__/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/policies/component.jsx b/src/web/pages/policies/component.jsx
index 78dc2bdb9d..9cdd992be9 100644
--- a/src/web/pages/policies/component.jsx
+++ b/src/web/pages/policies/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/policies/details.jsx b/src/web/pages/policies/details.jsx
index 41431fa56f..498e8cc0c8 100644
--- a/src/web/pages/policies/details.jsx
+++ b/src/web/pages/policies/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/policies/detailspage.jsx b/src/web/pages/policies/detailspage.jsx
index df7e370b62..de1a004afd 100644
--- a/src/web/pages/policies/detailspage.jsx
+++ b/src/web/pages/policies/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/policies/dialog.jsx b/src/web/pages/policies/dialog.jsx
index c410b3fef4..c83045be85 100644
--- a/src/web/pages/policies/dialog.jsx
+++ b/src/web/pages/policies/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/policies/header.jsx b/src/web/pages/policies/header.jsx
index 952f2372eb..48fe675172 100644
--- a/src/web/pages/policies/header.jsx
+++ b/src/web/pages/policies/header.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/policies/listpage.jsx b/src/web/pages/policies/listpage.jsx
index 969c16842b..6e236957da 100644
--- a/src/web/pages/policies/listpage.jsx
+++ b/src/web/pages/policies/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {RESET_FILTER, SCANCONFIGS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/policies/row.jsx b/src/web/pages/policies/row.jsx
index 8d59f2e0dd..6635a03807 100644
--- a/src/web/pages/policies/row.jsx
+++ b/src/web/pages/policies/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/policies/table.jsx b/src/web/pages/policies/table.jsx
index 187f174722..d1611fafea 100644
--- a/src/web/pages/policies/table.jsx
+++ b/src/web/pages/policies/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/portlists/component.jsx b/src/web/pages/portlists/component.jsx
index 1f3e8ba61c..01afc7ff4a 100644
--- a/src/web/pages/portlists/component.jsx
+++ b/src/web/pages/portlists/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/portlists/details.jsx b/src/web/pages/portlists/details.jsx
index ac77ac53b1..704208a7f6 100644
--- a/src/web/pages/portlists/details.jsx
+++ b/src/web/pages/portlists/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/portlists/detailspage.jsx b/src/web/pages/portlists/detailspage.jsx
index 628c8e87fb..229cd43b8b 100644
--- a/src/web/pages/portlists/detailspage.jsx
+++ b/src/web/pages/portlists/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/portlists/dialog.jsx b/src/web/pages/portlists/dialog.jsx
index 1ff318f68c..85f011acf1 100644
--- a/src/web/pages/portlists/dialog.jsx
+++ b/src/web/pages/portlists/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {NO_VALUE, YES_VALUE, parseYesNo} from 'gmp/parser';
diff --git a/src/web/pages/portlists/filterdialog.jsx b/src/web/pages/portlists/filterdialog.jsx
index 0eb4ed74b5..33054637ed 100644
--- a/src/web/pages/portlists/filterdialog.jsx
+++ b/src/web/pages/portlists/filterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/portlists/importdialog.jsx b/src/web/pages/portlists/importdialog.jsx
index c6cc66916a..e074c66b14 100644
--- a/src/web/pages/portlists/importdialog.jsx
+++ b/src/web/pages/portlists/importdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/portlists/listpage.jsx b/src/web/pages/portlists/listpage.jsx
index 327ae66fa8..f437b4273a 100644
--- a/src/web/pages/portlists/listpage.jsx
+++ b/src/web/pages/portlists/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {PORTLISTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/portlists/portrangedialog.jsx b/src/web/pages/portlists/portrangedialog.jsx
index 2ccf9c09d6..5ed65feb05 100644
--- a/src/web/pages/portlists/portrangedialog.jsx
+++ b/src/web/pages/portlists/portrangedialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {parseInt} from 'gmp/parser';
diff --git a/src/web/pages/portlists/portrangestable.jsx b/src/web/pages/portlists/portrangestable.jsx
index 1a9a033c4d..cf1785e250 100644
--- a/src/web/pages/portlists/portrangestable.jsx
+++ b/src/web/pages/portlists/portrangestable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/portlists/row.jsx b/src/web/pages/portlists/row.jsx
index 9801dfbd74..656a8bce6f 100644
--- a/src/web/pages/portlists/row.jsx
+++ b/src/web/pages/portlists/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/portlists/table.jsx b/src/web/pages/portlists/table.jsx
index acaa57eea4..1ea78ce481 100644
--- a/src/web/pages/portlists/table.jsx
+++ b/src/web/pages/portlists/table.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/radius/__tests__/dialog.jsx b/src/web/pages/radius/__tests__/dialog.jsx
index b36eb5b4e7..b2b399bb2f 100644
--- a/src/web/pages/radius/__tests__/dialog.jsx
+++ b/src/web/pages/radius/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/pages/radius/__tests__/radiuspage.jsx b/src/web/pages/radius/__tests__/radiuspage.jsx
index 620f2d7db4..ae87c5081d 100644
--- a/src/web/pages/radius/__tests__/radiuspage.jsx
+++ b/src/web/pages/radius/__tests__/radiuspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Settings from 'gmp/models/settings';
diff --git a/src/web/pages/radius/dialog.jsx b/src/web/pages/radius/dialog.jsx
index 6505087869..c10b279336 100644
--- a/src/web/pages/radius/dialog.jsx
+++ b/src/web/pages/radius/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/radius/radiuspage.jsx b/src/web/pages/radius/radiuspage.jsx
index aec40f79b3..7471310fb0 100644
--- a/src/web/pages/radius/radiuspage.jsx
+++ b/src/web/pages/radius/radiuspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/reportconfigs/__mocks__/mockreportconfig.jsx b/src/web/pages/reportconfigs/__mocks__/mockreportconfig.jsx
index 4d8d2fb208..c252f5ede5 100644
--- a/src/web/pages/reportconfigs/__mocks__/mockreportconfig.jsx
+++ b/src/web/pages/reportconfigs/__mocks__/mockreportconfig.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const mockReportConfig = {
_id: '12345',
name: 'foo',
diff --git a/src/web/pages/reportconfigs/__mocks__/mockreportformats.jsx b/src/web/pages/reportconfigs/__mocks__/mockreportformats.jsx
index 3040d62c63..dc30aa7ac3 100644
--- a/src/web/pages/reportconfigs/__mocks__/mockreportformats.jsx
+++ b/src/web/pages/reportconfigs/__mocks__/mockreportformats.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const mockReportFormats = [
{
id: '123456',
diff --git a/src/web/pages/reportconfigs/__tests__/component.jsx b/src/web/pages/reportconfigs/__tests__/component.jsx
index 65fe5a00cc..7ca19fb944 100644
--- a/src/web/pages/reportconfigs/__tests__/component.jsx
+++ b/src/web/pages/reportconfigs/__tests__/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import ReportConfig from 'gmp/models/reportconfig';
diff --git a/src/web/pages/reportconfigs/__tests__/details.jsx b/src/web/pages/reportconfigs/__tests__/details.jsx
index c69d39738b..de37597ae3 100644
--- a/src/web/pages/reportconfigs/__tests__/details.jsx
+++ b/src/web/pages/reportconfigs/__tests__/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reportconfigs/__tests__/detailspage.jsx b/src/web/pages/reportconfigs/__tests__/detailspage.jsx
index e9283d8c56..9c600c197d 100644
--- a/src/web/pages/reportconfigs/__tests__/detailspage.jsx
+++ b/src/web/pages/reportconfigs/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reportconfigs/__tests__/dialog.jsx b/src/web/pages/reportconfigs/__tests__/dialog.jsx
index 6ec615a39b..89dd2b8131 100644
--- a/src/web/pages/reportconfigs/__tests__/dialog.jsx
+++ b/src/web/pages/reportconfigs/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import ReportConfig from 'gmp/models/reportconfig';
diff --git a/src/web/pages/reportconfigs/__tests__/listpage.jsx b/src/web/pages/reportconfigs/__tests__/listpage.jsx
index 64f26f68fe..4886892896 100644
--- a/src/web/pages/reportconfigs/__tests__/listpage.jsx
+++ b/src/web/pages/reportconfigs/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reportconfigs/__tests__/row.jsx b/src/web/pages/reportconfigs/__tests__/row.jsx
index ac6c203aea..37af81158c 100644
--- a/src/web/pages/reportconfigs/__tests__/row.jsx
+++ b/src/web/pages/reportconfigs/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-unused-vars */
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/reportconfigs/__tests__/table.jsx b/src/web/pages/reportconfigs/__tests__/table.jsx
index b7c6e995f6..ee41eaa857 100644
--- a/src/web/pages/reportconfigs/__tests__/table.jsx
+++ b/src/web/pages/reportconfigs/__tests__/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/reportconfigs/component.jsx b/src/web/pages/reportconfigs/component.jsx
index f97e91e90c..107a04b7ec 100644
--- a/src/web/pages/reportconfigs/component.jsx
+++ b/src/web/pages/reportconfigs/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportconfigs/details.jsx b/src/web/pages/reportconfigs/details.jsx
index 415b6c30c8..06659c57f9 100644
--- a/src/web/pages/reportconfigs/details.jsx
+++ b/src/web/pages/reportconfigs/details.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportconfigs/detailspage.jsx b/src/web/pages/reportconfigs/detailspage.jsx
index 5a36fa8fd1..500f9c0504 100644
--- a/src/web/pages/reportconfigs/detailspage.jsx
+++ b/src/web/pages/reportconfigs/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportconfigs/dialog.jsx b/src/web/pages/reportconfigs/dialog.jsx
index 5d1761b9b7..7de28077d6 100644
--- a/src/web/pages/reportconfigs/dialog.jsx
+++ b/src/web/pages/reportconfigs/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportconfigs/listpage.jsx b/src/web/pages/reportconfigs/listpage.jsx
index 8958d4b335..b1bdf27e79 100644
--- a/src/web/pages/reportconfigs/listpage.jsx
+++ b/src/web/pages/reportconfigs/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {REPORT_CONFIGS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/reportconfigs/row.jsx b/src/web/pages/reportconfigs/row.jsx
index 6ccbc900ee..58c982b8a9 100644
--- a/src/web/pages/reportconfigs/row.jsx
+++ b/src/web/pages/reportconfigs/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportconfigs/table.jsx b/src/web/pages/reportconfigs/table.jsx
index 6b5dbc1e12..005750dc2e 100644
--- a/src/web/pages/reportconfigs/table.jsx
+++ b/src/web/pages/reportconfigs/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/reportformats/component.jsx b/src/web/pages/reportformats/component.jsx
index a58127f771..485589c47f 100644
--- a/src/web/pages/reportformats/component.jsx
+++ b/src/web/pages/reportformats/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportformats/details.jsx b/src/web/pages/reportformats/details.jsx
index 5c26781ee8..d2d4664270 100644
--- a/src/web/pages/reportformats/details.jsx
+++ b/src/web/pages/reportformats/details.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportformats/detailspage.jsx b/src/web/pages/reportformats/detailspage.jsx
index 97523a35ce..e006b3df01 100644
--- a/src/web/pages/reportformats/detailspage.jsx
+++ b/src/web/pages/reportformats/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportformats/dialog.jsx b/src/web/pages/reportformats/dialog.jsx
index 0dd2529a40..faa4a42771 100644
--- a/src/web/pages/reportformats/dialog.jsx
+++ b/src/web/pages/reportformats/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {isDefined, isArray, hasValue} from 'gmp/utils/identity';
diff --git a/src/web/pages/reportformats/listpage.jsx b/src/web/pages/reportformats/listpage.jsx
index b2bcd51f25..278e347890 100644
--- a/src/web/pages/reportformats/listpage.jsx
+++ b/src/web/pages/reportformats/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {REPORT_FORMATS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/reportformats/row.jsx b/src/web/pages/reportformats/row.jsx
index 41aed7e9c1..fdf57d2083 100644
--- a/src/web/pages/reportformats/row.jsx
+++ b/src/web/pages/reportformats/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportformats/table.jsx b/src/web/pages/reportformats/table.jsx
index ada798ec59..da3d7aa167 100644
--- a/src/web/pages/reportformats/table.jsx
+++ b/src/web/pages/reportformats/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/reports/__mocks__/mockdeltareport.jsx b/src/web/pages/reports/__mocks__/mockdeltareport.jsx
index 706dc2df68..e02f3c1d67 100644
--- a/src/web/pages/reports/__mocks__/mockdeltareport.jsx
+++ b/src/web/pages/reports/__mocks__/mockdeltareport.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {setLocale} from 'gmp/locale/lang';
import Report from 'gmp/models/report';
diff --git a/src/web/pages/reports/__mocks__/mockreport.jsx b/src/web/pages/reports/__mocks__/mockreport.jsx
index 05df5ba85a..2fb8b5ed3f 100644
--- a/src/web/pages/reports/__mocks__/mockreport.jsx
+++ b/src/web/pages/reports/__mocks__/mockreport.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {setLocale} from 'gmp/locale/lang';
import Report from 'gmp/models/report';
diff --git a/src/web/pages/reports/__tests__/deltadetailscontent.jsx b/src/web/pages/reports/__tests__/deltadetailscontent.jsx
index c97be59762..e1044768c7 100644
--- a/src/web/pages/reports/__tests__/deltadetailscontent.jsx
+++ b/src/web/pages/reports/__tests__/deltadetailscontent.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/__tests__/detailscontent.jsx b/src/web/pages/reports/__tests__/detailscontent.jsx
index d0478892a0..1314138291 100644
--- a/src/web/pages/reports/__tests__/detailscontent.jsx
+++ b/src/web/pages/reports/__tests__/detailscontent.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/dashboard/cvssdisplay.jsx b/src/web/pages/reports/dashboard/cvssdisplay.jsx
index 771efb561d..bceaf6876c 100644
--- a/src/web/pages/reports/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/reports/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {REPORTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/reports/dashboard/highresultsdisplay.jsx b/src/web/pages/reports/dashboard/highresultsdisplay.jsx
index 45af20dcf2..79beaafcf3 100644
--- a/src/web/pages/reports/dashboard/highresultsdisplay.jsx
+++ b/src/web/pages/reports/dashboard/highresultsdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/dashboard/index.jsx b/src/web/pages/reports/dashboard/index.jsx
index e658912ba9..a80aa83ca8 100644
--- a/src/web/pages/reports/dashboard/index.jsx
+++ b/src/web/pages/reports/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/reports/dashboard/loaders.jsx b/src/web/pages/reports/dashboard/loaders.jsx
index db4e3ddd9c..243d91a669 100644
--- a/src/web/pages/reports/dashboard/loaders.jsx
+++ b/src/web/pages/reports/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/reports/dashboard/severityclassdisplay.jsx b/src/web/pages/reports/dashboard/severityclassdisplay.jsx
index e7f9286f28..9d2a2729a4 100644
--- a/src/web/pages/reports/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/reports/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {REPORTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/reports/deltadetailscontent.jsx b/src/web/pages/reports/deltadetailscontent.jsx
index ad8041d259..97141d8c48 100644
--- a/src/web/pages/reports/deltadetailscontent.jsx
+++ b/src/web/pages/reports/deltadetailscontent.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/deltadetailspage.jsx b/src/web/pages/reports/deltadetailspage.jsx
index ed381a7be6..0b9c74be7b 100644
--- a/src/web/pages/reports/deltadetailspage.jsx
+++ b/src/web/pages/reports/deltadetailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/reports/deltaresultsfiltergroup.jsx b/src/web/pages/reports/deltaresultsfiltergroup.jsx
index 0054cfb5f3..e3c0cfce44 100644
--- a/src/web/pages/reports/deltaresultsfiltergroup.jsx
+++ b/src/web/pages/reports/deltaresultsfiltergroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reports/details/__tests__/applicationstab.jsx b/src/web/pages/reports/details/__tests__/applicationstab.jsx
index 354e4ca0f9..8737e6eddd 100644
--- a/src/web/pages/reports/details/__tests__/applicationstab.jsx
+++ b/src/web/pages/reports/details/__tests__/applicationstab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/closedcvestab.jsx b/src/web/pages/reports/details/__tests__/closedcvestab.jsx
index bf784bd3bc..532970f114 100644
--- a/src/web/pages/reports/details/__tests__/closedcvestab.jsx
+++ b/src/web/pages/reports/details/__tests__/closedcvestab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/cvestab.jsx b/src/web/pages/reports/details/__tests__/cvestab.jsx
index e97b448043..60da8c1b6a 100644
--- a/src/web/pages/reports/details/__tests__/cvestab.jsx
+++ b/src/web/pages/reports/details/__tests__/cvestab.jsx
@@ -1,21 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
- * SPDX-License-Identifier: GPL-2.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/deltaresultstab.jsx b/src/web/pages/reports/details/__tests__/deltaresultstab.jsx
index f67adec103..0675d1cf23 100644
--- a/src/web/pages/reports/details/__tests__/deltaresultstab.jsx
+++ b/src/web/pages/reports/details/__tests__/deltaresultstab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/emptyreport.jsx b/src/web/pages/reports/details/__tests__/emptyreport.jsx
index 0f3c573951..4d2fe589c8 100644
--- a/src/web/pages/reports/details/__tests__/emptyreport.jsx
+++ b/src/web/pages/reports/details/__tests__/emptyreport.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/emptyresultsreport.jsx b/src/web/pages/reports/details/__tests__/emptyresultsreport.jsx
index 8e678e9c02..e3fa8ef837 100644
--- a/src/web/pages/reports/details/__tests__/emptyresultsreport.jsx
+++ b/src/web/pages/reports/details/__tests__/emptyresultsreport.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/pages/reports/details/__tests__/errorstab.jsx b/src/web/pages/reports/details/__tests__/errorstab.jsx
index f4292e3db1..6e5eb045af 100644
--- a/src/web/pages/reports/details/__tests__/errorstab.jsx
+++ b/src/web/pages/reports/details/__tests__/errorstab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/hoststab.jsx b/src/web/pages/reports/details/__tests__/hoststab.jsx
index f2e25d4e16..f96cd8716c 100644
--- a/src/web/pages/reports/details/__tests__/hoststab.jsx
+++ b/src/web/pages/reports/details/__tests__/hoststab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/operatingsystemstab.jsx b/src/web/pages/reports/details/__tests__/operatingsystemstab.jsx
index 2ce6173421..cb382d0b38 100644
--- a/src/web/pages/reports/details/__tests__/operatingsystemstab.jsx
+++ b/src/web/pages/reports/details/__tests__/operatingsystemstab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/pages/reports/details/__tests__/portstab.jsx b/src/web/pages/reports/details/__tests__/portstab.jsx
index 0d007c987f..012d870060 100644
--- a/src/web/pages/reports/details/__tests__/portstab.jsx
+++ b/src/web/pages/reports/details/__tests__/portstab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/pages/reports/details/__tests__/summary.jsx b/src/web/pages/reports/details/__tests__/summary.jsx
index 05694ed48b..2398109e02 100644
--- a/src/web/pages/reports/details/__tests__/summary.jsx
+++ b/src/web/pages/reports/details/__tests__/summary.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/thresholdpanel.jsx b/src/web/pages/reports/details/__tests__/thresholdpanel.jsx
index cd2618bab7..097b1270b1 100644
--- a/src/web/pages/reports/details/__tests__/thresholdpanel.jsx
+++ b/src/web/pages/reports/details/__tests__/thresholdpanel.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/pages/reports/details/__tests__/tlscertificatestab.jsx b/src/web/pages/reports/details/__tests__/tlscertificatestab.jsx
index 5899845680..cd5aa519ca 100644
--- a/src/web/pages/reports/details/__tests__/tlscertificatestab.jsx
+++ b/src/web/pages/reports/details/__tests__/tlscertificatestab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/pages/reports/details/__tests__/toolbaricons.jsx b/src/web/pages/reports/details/__tests__/toolbaricons.jsx
index e9a34cd022..980eae28e1 100644
--- a/src/web/pages/reports/details/__tests__/toolbaricons.jsx
+++ b/src/web/pages/reports/details/__tests__/toolbaricons.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/alertactions.jsx b/src/web/pages/reports/details/alertactions.jsx
index 0403c891b2..a4e2b5ffb6 100644
--- a/src/web/pages/reports/details/alertactions.jsx
+++ b/src/web/pages/reports/details/alertactions.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/reports/details/applicationstab.jsx b/src/web/pages/reports/details/applicationstab.jsx
index a719c002ab..68a709452e 100644
--- a/src/web/pages/reports/details/applicationstab.jsx
+++ b/src/web/pages/reports/details/applicationstab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import ApplicationsTable from './applicationstable';
diff --git a/src/web/pages/reports/details/applicationstable.jsx b/src/web/pages/reports/details/applicationstable.jsx
index baec0dd4d7..86eed34745 100644
--- a/src/web/pages/reports/details/applicationstable.jsx
+++ b/src/web/pages/reports/details/applicationstable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/details/closedcvestab.jsx b/src/web/pages/reports/details/closedcvestab.jsx
index 0195223132..231716813d 100644
--- a/src/web/pages/reports/details/closedcvestab.jsx
+++ b/src/web/pages/reports/details/closedcvestab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import ClosedCvesTable from './closedcvestable';
diff --git a/src/web/pages/reports/details/closedcvestable.jsx b/src/web/pages/reports/details/closedcvestable.jsx
index ef464eca67..0225f4ccb1 100644
--- a/src/web/pages/reports/details/closedcvestable.jsx
+++ b/src/web/pages/reports/details/closedcvestable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/details/cvestab.jsx b/src/web/pages/reports/details/cvestab.jsx
index d735fd3a3c..6e23e15b48 100644
--- a/src/web/pages/reports/details/cvestab.jsx
+++ b/src/web/pages/reports/details/cvestab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import CvesTable from './cvestable';
diff --git a/src/web/pages/reports/details/cvestable.jsx b/src/web/pages/reports/details/cvestable.jsx
index f9654c11e6..ff5e951b0f 100644
--- a/src/web/pages/reports/details/cvestable.jsx
+++ b/src/web/pages/reports/details/cvestable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/details/deltaresultstab.jsx b/src/web/pages/reports/details/deltaresultstab.jsx
index db697745bd..4b3a52a4ba 100644
--- a/src/web/pages/reports/details/deltaresultstab.jsx
+++ b/src/web/pages/reports/details/deltaresultstab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/reports/details/emptyreport.jsx b/src/web/pages/reports/details/emptyreport.jsx
index c9ba6d6f96..7e880c9af0 100644
--- a/src/web/pages/reports/details/emptyreport.jsx
+++ b/src/web/pages/reports/details/emptyreport.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reports/details/emptyresultsreport.jsx b/src/web/pages/reports/details/emptyresultsreport.jsx
index 0d44c9bd6c..f16368a556 100644
--- a/src/web/pages/reports/details/emptyresultsreport.jsx
+++ b/src/web/pages/reports/details/emptyresultsreport.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/details/errorstab.jsx b/src/web/pages/reports/details/errorstab.jsx
index 1dd519bcee..3135bd5bbb 100644
--- a/src/web/pages/reports/details/errorstab.jsx
+++ b/src/web/pages/reports/details/errorstab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import ErrorsTable from './errorstable';
diff --git a/src/web/pages/reports/details/errorstable.jsx b/src/web/pages/reports/details/errorstable.jsx
index df41075cbd..42938c48f7 100644
--- a/src/web/pages/reports/details/errorstable.jsx
+++ b/src/web/pages/reports/details/errorstable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/details/hoststab.jsx b/src/web/pages/reports/details/hoststab.jsx
index 3192aceb19..5da00be099 100644
--- a/src/web/pages/reports/details/hoststab.jsx
+++ b/src/web/pages/reports/details/hoststab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/reports/details/hoststable.jsx b/src/web/pages/reports/details/hoststable.jsx
index f8a0b8f7e8..7fa6990cbc 100644
--- a/src/web/pages/reports/details/hoststable.jsx
+++ b/src/web/pages/reports/details/hoststable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/details/operatingsystemstab.jsx b/src/web/pages/reports/details/operatingsystemstab.jsx
index 491faa0e0b..66dca4b897 100644
--- a/src/web/pages/reports/details/operatingsystemstab.jsx
+++ b/src/web/pages/reports/details/operatingsystemstab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import OperatingSystemsTable from './operatingsystemstable';
diff --git a/src/web/pages/reports/details/operatingsystemstable.jsx b/src/web/pages/reports/details/operatingsystemstable.jsx
index fd4a00aef7..eb29fb3262 100644
--- a/src/web/pages/reports/details/operatingsystemstable.jsx
+++ b/src/web/pages/reports/details/operatingsystemstable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/details/portstab.jsx b/src/web/pages/reports/details/portstab.jsx
index 14e4d5b2ab..311b5cbaf4 100644
--- a/src/web/pages/reports/details/portstab.jsx
+++ b/src/web/pages/reports/details/portstab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PortsTable from './portstable';
diff --git a/src/web/pages/reports/details/portstable.jsx b/src/web/pages/reports/details/portstable.jsx
index fd9164ad3e..79ae774460 100644
--- a/src/web/pages/reports/details/portstable.jsx
+++ b/src/web/pages/reports/details/portstable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/details/reportentitiescontainer.jsx b/src/web/pages/reports/details/reportentitiescontainer.jsx
index 172b9fc746..01aacea010 100644
--- a/src/web/pages/reports/details/reportentitiescontainer.jsx
+++ b/src/web/pages/reports/details/reportentitiescontainer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/reports/details/reportpanel.jsx b/src/web/pages/reports/details/reportpanel.jsx
index 7c4c2e054c..ce1f33b3a4 100644
--- a/src/web/pages/reports/details/reportpanel.jsx
+++ b/src/web/pages/reports/details/reportpanel.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/details/resultstab.jsx b/src/web/pages/reports/details/resultstab.jsx
index cb60757c03..37371e83b5 100644
--- a/src/web/pages/reports/details/resultstab.jsx
+++ b/src/web/pages/reports/details/resultstab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/reports/details/summary.jsx b/src/web/pages/reports/details/summary.jsx
index e3c9747ea1..62154f5fcf 100644
--- a/src/web/pages/reports/details/summary.jsx
+++ b/src/web/pages/reports/details/summary.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState, useEffect} from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/details/tabtitle.jsx b/src/web/pages/reports/details/tabtitle.jsx
index 84596b81da..ea445ceb0b 100644
--- a/src/web/pages/reports/details/tabtitle.jsx
+++ b/src/web/pages/reports/details/tabtitle.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/details/thresholdpanel.jsx b/src/web/pages/reports/details/thresholdpanel.jsx
index 292d3dcbb4..636efd327c 100644
--- a/src/web/pages/reports/details/thresholdpanel.jsx
+++ b/src/web/pages/reports/details/thresholdpanel.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/details/tlscertificatestab.jsx b/src/web/pages/reports/details/tlscertificatestab.jsx
index 800f30d17b..f236b2e08c 100644
--- a/src/web/pages/reports/details/tlscertificatestab.jsx
+++ b/src/web/pages/reports/details/tlscertificatestab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import TLSCertificatesTable from './tlscertificatestable';
diff --git a/src/web/pages/reports/details/tlscertificatestable.jsx b/src/web/pages/reports/details/tlscertificatestable.jsx
index 8dff8562ef..87d2b2d10b 100644
--- a/src/web/pages/reports/details/tlscertificatestable.jsx
+++ b/src/web/pages/reports/details/tlscertificatestable.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/details/toolbaricons.jsx b/src/web/pages/reports/details/toolbaricons.jsx
index 5b693fd5e9..3caadaef46 100644
--- a/src/web/pages/reports/details/toolbaricons.jsx
+++ b/src/web/pages/reports/details/toolbaricons.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reports/detailscontent.jsx b/src/web/pages/reports/detailscontent.jsx
index 42e9f5b180..19de6219a1 100644
--- a/src/web/pages/reports/detailscontent.jsx
+++ b/src/web/pages/reports/detailscontent.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/detailsfilterdialog.jsx b/src/web/pages/reports/detailsfilterdialog.jsx
index 89813ecb75..00d50790cb 100644
--- a/src/web/pages/reports/detailsfilterdialog.jsx
+++ b/src/web/pages/reports/detailsfilterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/reports/detailspage.jsx b/src/web/pages/reports/detailspage.jsx
index 45ca84f83a..bfe1ffc340 100644
--- a/src/web/pages/reports/detailspage.jsx
+++ b/src/web/pages/reports/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/reports/downloadreportdialog.jsx b/src/web/pages/reports/downloadreportdialog.jsx
index 91c21bd3ef..0c33d7161a 100644
--- a/src/web/pages/reports/downloadreportdialog.jsx
+++ b/src/web/pages/reports/downloadreportdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {NO_VALUE, YES_VALUE} from 'gmp/parser';
diff --git a/src/web/pages/reports/filterdialog.jsx b/src/web/pages/reports/filterdialog.jsx
index afa14c820f..7ea008e269 100644
--- a/src/web/pages/reports/filterdialog.jsx
+++ b/src/web/pages/reports/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/reports/importdialog.jsx b/src/web/pages/reports/importdialog.jsx
index ff38c87606..3a4421b878 100644
--- a/src/web/pages/reports/importdialog.jsx
+++ b/src/web/pages/reports/importdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {YES_VALUE} from 'gmp/parser';
diff --git a/src/web/pages/reports/listpage.jsx b/src/web/pages/reports/listpage.jsx
index 332bd452e7..946f2a0966 100644
--- a/src/web/pages/reports/listpage.jsx
+++ b/src/web/pages/reports/listpage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/reports/row.jsx b/src/web/pages/reports/row.jsx
index 12ccfa0e8d..ebb17ffabc 100644
--- a/src/web/pages/reports/row.jsx
+++ b/src/web/pages/reports/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reports/table.jsx b/src/web/pages/reports/table.jsx
index 5306953966..ecccbea9f1 100644
--- a/src/web/pages/reports/table.jsx
+++ b/src/web/pages/reports/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/thresholdmessage.jsx b/src/web/pages/reports/thresholdmessage.jsx
index 3b49b2e5af..ef762ae0c5 100644
--- a/src/web/pages/reports/thresholdmessage.jsx
+++ b/src/web/pages/reports/thresholdmessage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reports/triggeralertdialog.jsx b/src/web/pages/reports/triggeralertdialog.jsx
index 1aafacb4d5..185b480b7c 100644
--- a/src/web/pages/reports/triggeralertdialog.jsx
+++ b/src/web/pages/reports/triggeralertdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {NO_VALUE, YES_VALUE} from 'gmp/parser';
diff --git a/src/web/pages/results/__tests__/detailspage.jsx b/src/web/pages/results/__tests__/detailspage.jsx
index d204e76467..e04a93aad9 100644
--- a/src/web/pages/results/__tests__/detailspage.jsx
+++ b/src/web/pages/results/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/results/__tests__/diff.jsx b/src/web/pages/results/__tests__/diff.jsx
index f03c7d74e2..a3a2dbabaf 100644
--- a/src/web/pages/results/__tests__/diff.jsx
+++ b/src/web/pages/results/__tests__/diff.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/pages/results/__tests__/listpage.jsx b/src/web/pages/results/__tests__/listpage.jsx
index 2cb724b1cb..f1f50b59b5 100644
--- a/src/web/pages/results/__tests__/listpage.jsx
+++ b/src/web/pages/results/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/results/__tests__/row.jsx b/src/web/pages/results/__tests__/row.jsx
index 7e12bd9376..e71724102b 100644
--- a/src/web/pages/results/__tests__/row.jsx
+++ b/src/web/pages/results/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Result from 'gmp/models/result';
diff --git a/src/web/pages/results/dashboard/cvssdisplay.jsx b/src/web/pages/results/dashboard/cvssdisplay.jsx
index ec330f1097..c877bffaaa 100644
--- a/src/web/pages/results/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/results/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {RESULTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/results/dashboard/descriptionwordclouddisplay.jsx b/src/web/pages/results/dashboard/descriptionwordclouddisplay.jsx
index 8fdbf3ae08..9c92802051 100644
--- a/src/web/pages/results/dashboard/descriptionwordclouddisplay.jsx
+++ b/src/web/pages/results/dashboard/descriptionwordclouddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/results/dashboard/index.jsx b/src/web/pages/results/dashboard/index.jsx
index dd8c3e4258..15ae2baf86 100644
--- a/src/web/pages/results/dashboard/index.jsx
+++ b/src/web/pages/results/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/results/dashboard/loaders.jsx b/src/web/pages/results/dashboard/loaders.jsx
index cceb92881f..96d6fdd196 100644
--- a/src/web/pages/results/dashboard/loaders.jsx
+++ b/src/web/pages/results/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/results/dashboard/severityclassdisplay.jsx b/src/web/pages/results/dashboard/severityclassdisplay.jsx
index 8f1c3a515f..9b5cf3359d 100644
--- a/src/web/pages/results/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/results/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {RESULTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/results/dashboard/wordclouddisplay.jsx b/src/web/pages/results/dashboard/wordclouddisplay.jsx
index b55cabe7e6..83a42bcfeb 100644
--- a/src/web/pages/results/dashboard/wordclouddisplay.jsx
+++ b/src/web/pages/results/dashboard/wordclouddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/results/delta.jsx b/src/web/pages/results/delta.jsx
index a11f720080..0c3201543a 100644
--- a/src/web/pages/results/delta.jsx
+++ b/src/web/pages/results/delta.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/results/details.jsx b/src/web/pages/results/details.jsx
index fded4a22da..72eb6d1d6c 100644
--- a/src/web/pages/results/details.jsx
+++ b/src/web/pages/results/details.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/results/detailspage.jsx b/src/web/pages/results/detailspage.jsx
index 14ebe5fcfa..b08526539d 100644
--- a/src/web/pages/results/detailspage.jsx
+++ b/src/web/pages/results/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/results/diff.jsx b/src/web/pages/results/diff.jsx
index f7c56c23fa..435ba9b257 100644
--- a/src/web/pages/results/diff.jsx
+++ b/src/web/pages/results/diff.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/results/filterdialog.jsx b/src/web/pages/results/filterdialog.jsx
index bbcfff0dfb..33233aa446 100644
--- a/src/web/pages/results/filterdialog.jsx
+++ b/src/web/pages/results/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/results/listpage.jsx b/src/web/pages/results/listpage.jsx
index 5b14d6f44c..57961f137c 100644
--- a/src/web/pages/results/listpage.jsx
+++ b/src/web/pages/results/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/results/row.jsx b/src/web/pages/results/row.jsx
index c2b94835bf..64d72d7333 100644
--- a/src/web/pages/results/row.jsx
+++ b/src/web/pages/results/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/results/table.jsx b/src/web/pages/results/table.jsx
index d28592b7d8..ff9a20dcc0 100644
--- a/src/web/pages/results/table.jsx
+++ b/src/web/pages/results/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/roles/component.jsx b/src/web/pages/roles/component.jsx
index 5b2b18def8..6e5aa30fd5 100644
--- a/src/web/pages/roles/component.jsx
+++ b/src/web/pages/roles/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/roles/details.jsx b/src/web/pages/roles/details.jsx
index 3e14814fb0..9ff252ab96 100644
--- a/src/web/pages/roles/details.jsx
+++ b/src/web/pages/roles/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/roles/detailspage.jsx b/src/web/pages/roles/detailspage.jsx
index d0d893397a..43b6dfe760 100644
--- a/src/web/pages/roles/detailspage.jsx
+++ b/src/web/pages/roles/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/roles/dialog.jsx b/src/web/pages/roles/dialog.jsx
index 9fa7bf2aa9..6a6f89b013 100644
--- a/src/web/pages/roles/dialog.jsx
+++ b/src/web/pages/roles/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/roles/listpage.jsx b/src/web/pages/roles/listpage.jsx
index 2bea23bbb0..d934655b6f 100644
--- a/src/web/pages/roles/listpage.jsx
+++ b/src/web/pages/roles/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {ROLES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/roles/row.jsx b/src/web/pages/roles/row.jsx
index 6f21a10bf3..b0a49e676d 100644
--- a/src/web/pages/roles/row.jsx
+++ b/src/web/pages/roles/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/roles/table.jsx b/src/web/pages/roles/table.jsx
index dbe42eb644..9ab8a79012 100644
--- a/src/web/pages/roles/table.jsx
+++ b/src/web/pages/roles/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/scanconfigs/__tests__/details.jsx b/src/web/pages/scanconfigs/__tests__/details.jsx
index 9cee73f4de..0205fed1c2 100644
--- a/src/web/pages/scanconfigs/__tests__/details.jsx
+++ b/src/web/pages/scanconfigs/__tests__/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/scanconfigs/__tests__/detailspage.jsx b/src/web/pages/scanconfigs/__tests__/detailspage.jsx
index 48ebd3482b..5771c6e53d 100644
--- a/src/web/pages/scanconfigs/__tests__/detailspage.jsx
+++ b/src/web/pages/scanconfigs/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/scanconfigs/__tests__/dialog.jsx b/src/web/pages/scanconfigs/__tests__/dialog.jsx
index b3ac545d32..b707ffe519 100644
--- a/src/web/pages/scanconfigs/__tests__/dialog.jsx
+++ b/src/web/pages/scanconfigs/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/pages/scanconfigs/__tests__/editconfigfamilydialog.jsx b/src/web/pages/scanconfigs/__tests__/editconfigfamilydialog.jsx
index b40e983851..1acb76737c 100644
--- a/src/web/pages/scanconfigs/__tests__/editconfigfamilydialog.jsx
+++ b/src/web/pages/scanconfigs/__tests__/editconfigfamilydialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Nvt from 'gmp/models/nvt';
diff --git a/src/web/pages/scanconfigs/__tests__/editdialog.jsx b/src/web/pages/scanconfigs/__tests__/editdialog.jsx
index 235324adaf..a2b33409a0 100644
--- a/src/web/pages/scanconfigs/__tests__/editdialog.jsx
+++ b/src/web/pages/scanconfigs/__tests__/editdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {
diff --git a/src/web/pages/scanconfigs/__tests__/editnvtdetailsdialog.jsx b/src/web/pages/scanconfigs/__tests__/editnvtdetailsdialog.jsx
index 0ccaf67335..9f205f5a7f 100644
--- a/src/web/pages/scanconfigs/__tests__/editnvtdetailsdialog.jsx
+++ b/src/web/pages/scanconfigs/__tests__/editnvtdetailsdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import date from 'gmp/models/date';
diff --git a/src/web/pages/scanconfigs/__tests__/listpage.jsx b/src/web/pages/scanconfigs/__tests__/listpage.jsx
index 874b40ff97..d6cad5cf03 100644
--- a/src/web/pages/scanconfigs/__tests__/listpage.jsx
+++ b/src/web/pages/scanconfigs/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/scanconfigs/__tests__/row.jsx b/src/web/pages/scanconfigs/__tests__/row.jsx
index 7e12428d6f..628dfe073a 100644
--- a/src/web/pages/scanconfigs/__tests__/row.jsx
+++ b/src/web/pages/scanconfigs/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-unused-vars */
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/scanconfigs/__tests__/table.jsx b/src/web/pages/scanconfigs/__tests__/table.jsx
index 7468eadf53..1fb0b62875 100644
--- a/src/web/pages/scanconfigs/__tests__/table.jsx
+++ b/src/web/pages/scanconfigs/__tests__/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/scanconfigs/__tests__/trend.jsx b/src/web/pages/scanconfigs/__tests__/trend.jsx
index 593b290fae..7ebaa893dc 100644
--- a/src/web/pages/scanconfigs/__tests__/trend.jsx
+++ b/src/web/pages/scanconfigs/__tests__/trend.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/web/pages/scanconfigs/component.jsx b/src/web/pages/scanconfigs/component.jsx
index 8771a1236e..89a053d585 100644
--- a/src/web/pages/scanconfigs/component.jsx
+++ b/src/web/pages/scanconfigs/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/details.jsx b/src/web/pages/scanconfigs/details.jsx
index 7dc1b22cbe..c275ae9e54 100644
--- a/src/web/pages/scanconfigs/details.jsx
+++ b/src/web/pages/scanconfigs/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/detailspage.jsx b/src/web/pages/scanconfigs/detailspage.jsx
index 33e99b6b97..e613e2a6c7 100644
--- a/src/web/pages/scanconfigs/detailspage.jsx
+++ b/src/web/pages/scanconfigs/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/dialog.jsx b/src/web/pages/scanconfigs/dialog.jsx
index e9f76b599e..7cc2066fb0 100644
--- a/src/web/pages/scanconfigs/dialog.jsx
+++ b/src/web/pages/scanconfigs/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/scanconfigs/editconfigfamilydialog.jsx b/src/web/pages/scanconfigs/editconfigfamilydialog.jsx
index 3f63cc3ce4..2e435fe1b6 100644
--- a/src/web/pages/scanconfigs/editconfigfamilydialog.jsx
+++ b/src/web/pages/scanconfigs/editconfigfamilydialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState, useEffect} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/scanconfigs/editdialog.jsx b/src/web/pages/scanconfigs/editdialog.jsx
index 4d4f41add2..daa9014296 100644
--- a/src/web/pages/scanconfigs/editdialog.jsx
+++ b/src/web/pages/scanconfigs/editdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useReducer, useState, useEffect} from 'react';
import {SCANCONFIG_TREND_STATIC} from 'gmp/models/scanconfig';
diff --git a/src/web/pages/scanconfigs/editnvtdetailsdialog.jsx b/src/web/pages/scanconfigs/editnvtdetailsdialog.jsx
index fc092c632d..99ae9a7556 100644
--- a/src/web/pages/scanconfigs/editnvtdetailsdialog.jsx
+++ b/src/web/pages/scanconfigs/editnvtdetailsdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useEffect, useReducer, useState} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/scanconfigs/header.jsx b/src/web/pages/scanconfigs/header.jsx
index e0771a3bf4..daea24a52c 100644
--- a/src/web/pages/scanconfigs/header.jsx
+++ b/src/web/pages/scanconfigs/header.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/importdialog.jsx b/src/web/pages/scanconfigs/importdialog.jsx
index 7cd3cc7e27..5bc35bd6fa 100644
--- a/src/web/pages/scanconfigs/importdialog.jsx
+++ b/src/web/pages/scanconfigs/importdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/scanconfigs/listpage.jsx b/src/web/pages/scanconfigs/listpage.jsx
index 097b00aeee..cc8a3c7fb2 100644
--- a/src/web/pages/scanconfigs/listpage.jsx
+++ b/src/web/pages/scanconfigs/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/nvtfamilies.jsx b/src/web/pages/scanconfigs/nvtfamilies.jsx
index 24b2f6626c..c778c1d639 100644
--- a/src/web/pages/scanconfigs/nvtfamilies.jsx
+++ b/src/web/pages/scanconfigs/nvtfamilies.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {
diff --git a/src/web/pages/scanconfigs/nvtpreferences.jsx b/src/web/pages/scanconfigs/nvtpreferences.jsx
index d6d9a5b105..0bb01afc61 100644
--- a/src/web/pages/scanconfigs/nvtpreferences.jsx
+++ b/src/web/pages/scanconfigs/nvtpreferences.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/scanconfigs/row.jsx b/src/web/pages/scanconfigs/row.jsx
index d4fbd47a8c..49c4af1809 100644
--- a/src/web/pages/scanconfigs/row.jsx
+++ b/src/web/pages/scanconfigs/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/scannerpreferences.jsx b/src/web/pages/scanconfigs/scannerpreferences.jsx
index 2061b0a493..7b42ad12d7 100644
--- a/src/web/pages/scanconfigs/scannerpreferences.jsx
+++ b/src/web/pages/scanconfigs/scannerpreferences.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {parseInt} from 'gmp/parser';
diff --git a/src/web/pages/scanconfigs/table.jsx b/src/web/pages/scanconfigs/table.jsx
index e1dd50586b..8fc6ea2c70 100644
--- a/src/web/pages/scanconfigs/table.jsx
+++ b/src/web/pages/scanconfigs/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/scanconfigs/trend.jsx b/src/web/pages/scanconfigs/trend.jsx
index 4810ba7842..0eaa6b585f 100644
--- a/src/web/pages/scanconfigs/trend.jsx
+++ b/src/web/pages/scanconfigs/trend.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanners/__tests__/dialog.jsx b/src/web/pages/scanners/__tests__/dialog.jsx
index bca75f19df..a4a030a716 100644
--- a/src/web/pages/scanners/__tests__/dialog.jsx
+++ b/src/web/pages/scanners/__tests__/dialog.jsx
@@ -1,21 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
- * SPDX-License-Identifier: GPL-2.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Credential, {
diff --git a/src/web/pages/scanners/component.jsx b/src/web/pages/scanners/component.jsx
index 4ef7c37770..6a92f339d5 100644
--- a/src/web/pages/scanners/component.jsx
+++ b/src/web/pages/scanners/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/scanners/details.jsx b/src/web/pages/scanners/details.jsx
index b83b2e0ba2..ec6658fd76 100644
--- a/src/web/pages/scanners/details.jsx
+++ b/src/web/pages/scanners/details.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanners/detailspage.jsx b/src/web/pages/scanners/detailspage.jsx
index 70ef4500e3..1dd432c191 100644
--- a/src/web/pages/scanners/detailspage.jsx
+++ b/src/web/pages/scanners/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanners/dialog.jsx b/src/web/pages/scanners/dialog.jsx
index fae0de8e2f..cfa3f132a6 100644
--- a/src/web/pages/scanners/dialog.jsx
+++ b/src/web/pages/scanners/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {filter, map} from 'gmp/utils/array';
diff --git a/src/web/pages/scanners/listpage.jsx b/src/web/pages/scanners/listpage.jsx
index b935cc1fc9..01a439e503 100644
--- a/src/web/pages/scanners/listpage.jsx
+++ b/src/web/pages/scanners/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {SCANNERS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/scanners/row.jsx b/src/web/pages/scanners/row.jsx
index ea73a57e13..01cf5e7fa7 100644
--- a/src/web/pages/scanners/row.jsx
+++ b/src/web/pages/scanners/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanners/table.jsx b/src/web/pages/scanners/table.jsx
index 26341bf3d1..51dc15f00d 100644
--- a/src/web/pages/scanners/table.jsx
+++ b/src/web/pages/scanners/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/schedules/__tests__/detailspage.jsx b/src/web/pages/schedules/__tests__/detailspage.jsx
index 48c4e41697..3a328397f6 100644
--- a/src/web/pages/schedules/__tests__/detailspage.jsx
+++ b/src/web/pages/schedules/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/schedules/__tests__/dialog.jsx b/src/web/pages/schedules/__tests__/dialog.jsx
index 89068c6729..55ff4d95f5 100644
--- a/src/web/pages/schedules/__tests__/dialog.jsx
+++ b/src/web/pages/schedules/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Schedule from 'gmp/models/schedule';
diff --git a/src/web/pages/schedules/__tests__/listpage.jsx b/src/web/pages/schedules/__tests__/listpage.jsx
index 3b5400175b..dd677264fb 100644
--- a/src/web/pages/schedules/__tests__/listpage.jsx
+++ b/src/web/pages/schedules/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/schedules/component.jsx b/src/web/pages/schedules/component.jsx
index 0859c34764..e9b72899ff 100644
--- a/src/web/pages/schedules/component.jsx
+++ b/src/web/pages/schedules/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/schedules/dayselect.jsx b/src/web/pages/schedules/dayselect.jsx
index 035beccdb6..e74061674a 100644
--- a/src/web/pages/schedules/dayselect.jsx
+++ b/src/web/pages/schedules/dayselect.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/schedules/details.jsx b/src/web/pages/schedules/details.jsx
index 0dc6617442..9954e516d6 100644
--- a/src/web/pages/schedules/details.jsx
+++ b/src/web/pages/schedules/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/schedules/detailspage.jsx b/src/web/pages/schedules/detailspage.jsx
index 6a98197349..db683d5c45 100644
--- a/src/web/pages/schedules/detailspage.jsx
+++ b/src/web/pages/schedules/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/schedules/dialog.jsx b/src/web/pages/schedules/dialog.jsx
index 6e858a2480..bf00f9574b 100644
--- a/src/web/pages/schedules/dialog.jsx
+++ b/src/web/pages/schedules/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/schedules/listpage.jsx b/src/web/pages/schedules/listpage.jsx
index 169b711f86..0ad275c384 100644
--- a/src/web/pages/schedules/listpage.jsx
+++ b/src/web/pages/schedules/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {SCHEDULES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/schedules/monthdaysselect.jsx b/src/web/pages/schedules/monthdaysselect.jsx
index 1b9e5ebb7c..a10b213f5c 100644
--- a/src/web/pages/schedules/monthdaysselect.jsx
+++ b/src/web/pages/schedules/monthdaysselect.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/schedules/render.jsx b/src/web/pages/schedules/render.jsx
index 4ebc40ba2c..b80af91359 100644
--- a/src/web/pages/schedules/render.jsx
+++ b/src/web/pages/schedules/render.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/schedules/row.jsx b/src/web/pages/schedules/row.jsx
index 511c9e20cd..29dcc9659f 100644
--- a/src/web/pages/schedules/row.jsx
+++ b/src/web/pages/schedules/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/schedules/table.jsx b/src/web/pages/schedules/table.jsx
index aae71914db..2d88c320c5 100644
--- a/src/web/pages/schedules/table.jsx
+++ b/src/web/pages/schedules/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/schedules/timeunitselect.jsx b/src/web/pages/schedules/timeunitselect.jsx
index bafc5530d5..2939928867 100644
--- a/src/web/pages/schedules/timeunitselect.jsx
+++ b/src/web/pages/schedules/timeunitselect.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {ReccurenceFrequency} from 'gmp/models/event';
diff --git a/src/web/pages/schedules/weekdayselect.jsx b/src/web/pages/schedules/weekdayselect.jsx
index 265d203031..6f625843d7 100644
--- a/src/web/pages/schedules/weekdayselect.jsx
+++ b/src/web/pages/schedules/weekdayselect.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/start/__tests__/page.jsx b/src/web/pages/start/__tests__/page.jsx
index 31031de709..849630c3be 100644
--- a/src/web/pages/start/__tests__/page.jsx
+++ b/src/web/pages/start/__tests__/page.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/start/confirmremovedialog.jsx b/src/web/pages/start/confirmremovedialog.jsx
index df6bfd8c87..5d185d5331 100644
--- a/src/web/pages/start/confirmremovedialog.jsx
+++ b/src/web/pages/start/confirmremovedialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/start/dashboard.jsx b/src/web/pages/start/dashboard.jsx
index d982e99abf..b5895bfc66 100644
--- a/src/web/pages/start/dashboard.jsx
+++ b/src/web/pages/start/dashboard.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/start/editdashboarddialog.jsx b/src/web/pages/start/editdashboarddialog.jsx
index 1c18902ac7..a82eb32533 100644
--- a/src/web/pages/start/editdashboarddialog.jsx
+++ b/src/web/pages/start/editdashboarddialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import SaveDialog from 'web/components/dialog/savedialog';
diff --git a/src/web/pages/start/newdashboarddialog.jsx b/src/web/pages/start/newdashboarddialog.jsx
index da1ec12e4e..294fc211d2 100644
--- a/src/web/pages/start/newdashboarddialog.jsx
+++ b/src/web/pages/start/newdashboarddialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/start/page.jsx b/src/web/pages/start/page.jsx
index f911bf940a..a6d5324fc9 100644
--- a/src/web/pages/start/page.jsx
+++ b/src/web/pages/start/page.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {v4 as uuid} from 'uuid';
diff --git a/src/web/pages/tags/component.jsx b/src/web/pages/tags/component.jsx
index 9d36a84882..870f8eaf47 100644
--- a/src/web/pages/tags/component.jsx
+++ b/src/web/pages/tags/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tags/details.jsx b/src/web/pages/tags/details.jsx
index ece7bf3191..bc6e02e87e 100644
--- a/src/web/pages/tags/details.jsx
+++ b/src/web/pages/tags/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tags/detailspage.jsx b/src/web/pages/tags/detailspage.jsx
index 3bf4e52ea8..91473a3f26 100644
--- a/src/web/pages/tags/detailspage.jsx
+++ b/src/web/pages/tags/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tags/dialog.jsx b/src/web/pages/tags/dialog.jsx
index 66517b5534..6b46478046 100644
--- a/src/web/pages/tags/dialog.jsx
+++ b/src/web/pages/tags/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/tags/listpage.jsx b/src/web/pages/tags/listpage.jsx
index 5b0449175b..a70e716fa3 100644
--- a/src/web/pages/tags/listpage.jsx
+++ b/src/web/pages/tags/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {TAGS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/tags/resourcelist.jsx b/src/web/pages/tags/resourcelist.jsx
index 178534bcf9..9f9f4bba66 100644
--- a/src/web/pages/tags/resourcelist.jsx
+++ b/src/web/pages/tags/resourcelist.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tags/row.jsx b/src/web/pages/tags/row.jsx
index ce4ffc958c..49d5a20626 100644
--- a/src/web/pages/tags/row.jsx
+++ b/src/web/pages/tags/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tags/table.jsx b/src/web/pages/tags/table.jsx
index 7a67a443b7..13873acd22 100644
--- a/src/web/pages/tags/table.jsx
+++ b/src/web/pages/tags/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/targets/__tests__/details.jsx b/src/web/pages/targets/__tests__/details.jsx
index 08fd096339..9c4ed94021 100644
--- a/src/web/pages/targets/__tests__/details.jsx
+++ b/src/web/pages/targets/__tests__/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/targets/__tests__/detailspage.jsx b/src/web/pages/targets/__tests__/detailspage.jsx
index 1699353417..2915d1ec63 100644
--- a/src/web/pages/targets/__tests__/detailspage.jsx
+++ b/src/web/pages/targets/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/targets/__tests__/dialog.jsx b/src/web/pages/targets/__tests__/dialog.jsx
index ed40096a8c..4d693a8452 100644
--- a/src/web/pages/targets/__tests__/dialog.jsx
+++ b/src/web/pages/targets/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Credential, {
diff --git a/src/web/pages/targets/__tests__/listpage.jsx b/src/web/pages/targets/__tests__/listpage.jsx
index 500bd8f81b..84af90ad77 100644
--- a/src/web/pages/targets/__tests__/listpage.jsx
+++ b/src/web/pages/targets/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/targets/__tests__/row.jsx b/src/web/pages/targets/__tests__/row.jsx
index 2106a5aa96..b78c8df0be 100644
--- a/src/web/pages/targets/__tests__/row.jsx
+++ b/src/web/pages/targets/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-unused-vars */
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/targets/component.jsx b/src/web/pages/targets/component.jsx
index ff848e05a0..a3cc36564b 100644
--- a/src/web/pages/targets/component.jsx
+++ b/src/web/pages/targets/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/targets/details.jsx b/src/web/pages/targets/details.jsx
index 58187e1bfb..d67c5d15c9 100644
--- a/src/web/pages/targets/details.jsx
+++ b/src/web/pages/targets/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/targets/detailspage.jsx b/src/web/pages/targets/detailspage.jsx
index 9dcc326433..47aabb2152 100644
--- a/src/web/pages/targets/detailspage.jsx
+++ b/src/web/pages/targets/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AGH
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/targets/dialog.jsx b/src/web/pages/targets/dialog.jsx
index f7d8d5cd23..679efa5ab4 100644
--- a/src/web/pages/targets/dialog.jsx
+++ b/src/web/pages/targets/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {NO_VALUE, YES_VALUE} from 'gmp/parser';
diff --git a/src/web/pages/targets/listpage.jsx b/src/web/pages/targets/listpage.jsx
index 562fc354e7..7ed1d9da13 100644
--- a/src/web/pages/targets/listpage.jsx
+++ b/src/web/pages/targets/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {TARGETS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/targets/row.jsx b/src/web/pages/targets/row.jsx
index 82e81a2799..8d2c601fc0 100644
--- a/src/web/pages/targets/row.jsx
+++ b/src/web/pages/targets/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/targets/table.jsx b/src/web/pages/targets/table.jsx
index 5589a08cec..450fc6d88a 100644
--- a/src/web/pages/targets/table.jsx
+++ b/src/web/pages/targets/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/tasks/__tests__/actions.jsx b/src/web/pages/tasks/__tests__/actions.jsx
index 2eb3e0ad89..afe4c73184 100644
--- a/src/web/pages/tasks/__tests__/actions.jsx
+++ b/src/web/pages/tasks/__tests__/actions.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/tasks/__tests__/autodeletereportsgroup.jsx b/src/web/pages/tasks/__tests__/autodeletereportsgroup.jsx
index 13560f7448..1ca0a65c4c 100644
--- a/src/web/pages/tasks/__tests__/autodeletereportsgroup.jsx
+++ b/src/web/pages/tasks/__tests__/autodeletereportsgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/pages/tasks/__tests__/containerdialog.jsx b/src/web/pages/tasks/__tests__/containerdialog.jsx
index e6559580c5..5dd3e288be 100644
--- a/src/web/pages/tasks/__tests__/containerdialog.jsx
+++ b/src/web/pages/tasks/__tests__/containerdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Task from 'gmp/models/task';
diff --git a/src/web/pages/tasks/__tests__/details.jsx b/src/web/pages/tasks/__tests__/details.jsx
index 86294f326a..e233f037d3 100644
--- a/src/web/pages/tasks/__tests__/details.jsx
+++ b/src/web/pages/tasks/__tests__/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/__tests__/detailspage.jsx b/src/web/pages/tasks/__tests__/detailspage.jsx
index ff654c7c24..7707af4cd8 100644
--- a/src/web/pages/tasks/__tests__/detailspage.jsx
+++ b/src/web/pages/tasks/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/__tests__/listpage.jsx b/src/web/pages/tasks/__tests__/listpage.jsx
index 044d5745c4..5b08e75956 100644
--- a/src/web/pages/tasks/__tests__/listpage.jsx
+++ b/src/web/pages/tasks/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/__tests__/row.jsx b/src/web/pages/tasks/__tests__/row.jsx
index a2d15b3cb5..44b0cbab62 100644
--- a/src/web/pages/tasks/__tests__/row.jsx
+++ b/src/web/pages/tasks/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/tasks/__tests__/status.jsx b/src/web/pages/tasks/__tests__/status.jsx
index 553cf532be..09945e8af1 100644
--- a/src/web/pages/tasks/__tests__/status.jsx
+++ b/src/web/pages/tasks/__tests__/status.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/__tests__/table.jsx b/src/web/pages/tasks/__tests__/table.jsx
index a0571b64e8..dc6f774de7 100644
--- a/src/web/pages/tasks/__tests__/table.jsx
+++ b/src/web/pages/tasks/__tests__/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/__tests__/trend.jsx b/src/web/pages/tasks/__tests__/trend.jsx
index 7203f11ec9..9072955722 100644
--- a/src/web/pages/tasks/__tests__/trend.jsx
+++ b/src/web/pages/tasks/__tests__/trend.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/pages/tasks/actions.jsx b/src/web/pages/tasks/actions.jsx
index 00e34d8cee..6963f8e774 100644
--- a/src/web/pages/tasks/actions.jsx
+++ b/src/web/pages/tasks/actions.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/addresultstoassetsgroup.jsx b/src/web/pages/tasks/addresultstoassetsgroup.jsx
index 78b9b79444..1ec6805369 100644
--- a/src/web/pages/tasks/addresultstoassetsgroup.jsx
+++ b/src/web/pages/tasks/addresultstoassetsgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/tasks/autodeletereportsgroup.jsx b/src/web/pages/tasks/autodeletereportsgroup.jsx
index d1aac10b99..1a6c6b30d7 100644
--- a/src/web/pages/tasks/autodeletereportsgroup.jsx
+++ b/src/web/pages/tasks/autodeletereportsgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {AUTO_DELETE_KEEP, AUTO_DELETE_NO} from 'gmp/models/task';
diff --git a/src/web/pages/tasks/component.jsx b/src/web/pages/tasks/component.jsx
index 23125d5169..a6cfcc9bd2 100644
--- a/src/web/pages/tasks/component.jsx
+++ b/src/web/pages/tasks/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/tasks/containerdialog.jsx b/src/web/pages/tasks/containerdialog.jsx
index c5833e1dbd..3298283f6a 100644
--- a/src/web/pages/tasks/containerdialog.jsx
+++ b/src/web/pages/tasks/containerdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/tasks/dashboard/cvssdisplay.jsx b/src/web/pages/tasks/dashboard/cvssdisplay.jsx
index 4ffa12bea4..03e58640b8 100644
--- a/src/web/pages/tasks/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/tasks/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {TASKS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/tasks/dashboard/highresults.jsx b/src/web/pages/tasks/dashboard/highresults.jsx
index 625a28eb1d..34a43c8b2a 100644
--- a/src/web/pages/tasks/dashboard/highresults.jsx
+++ b/src/web/pages/tasks/dashboard/highresults.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {withRouter} from 'react-router-dom';
diff --git a/src/web/pages/tasks/dashboard/index.jsx b/src/web/pages/tasks/dashboard/index.jsx
index 2b1d036aa9..d0999b88be 100644
--- a/src/web/pages/tasks/dashboard/index.jsx
+++ b/src/web/pages/tasks/dashboard/index.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/tasks/dashboard/loaders.jsx b/src/web/pages/tasks/dashboard/loaders.jsx
index bb078f385b..3d3dc2f3e2 100644
--- a/src/web/pages/tasks/dashboard/loaders.jsx
+++ b/src/web/pages/tasks/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/tasks/dashboard/mosthighresults.jsx b/src/web/pages/tasks/dashboard/mosthighresults.jsx
index 935f8676b3..2fbe5bf242 100644
--- a/src/web/pages/tasks/dashboard/mosthighresults.jsx
+++ b/src/web/pages/tasks/dashboard/mosthighresults.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {withRouter} from 'react-router-dom';
diff --git a/src/web/pages/tasks/dashboard/schedulesdisplay.jsx b/src/web/pages/tasks/dashboard/schedulesdisplay.jsx
index 7dfec1c197..68219581e0 100644
--- a/src/web/pages/tasks/dashboard/schedulesdisplay.jsx
+++ b/src/web/pages/tasks/dashboard/schedulesdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {dateTimeWithTimeZone} from 'gmp/locale/date';
diff --git a/src/web/pages/tasks/dashboard/severityclassdisplay.jsx b/src/web/pages/tasks/dashboard/severityclassdisplay.jsx
index 432a3dbd82..46eaf7085a 100644
--- a/src/web/pages/tasks/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/tasks/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {TASKS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/tasks/dashboard/statusdisplay.jsx b/src/web/pages/tasks/dashboard/statusdisplay.jsx
index c82bacdcdf..cb8af2f76b 100644
--- a/src/web/pages/tasks/dashboard/statusdisplay.jsx
+++ b/src/web/pages/tasks/dashboard/statusdisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {scaleOrdinal} from 'd3-scale';
import {interpolateHcl} from 'd3-interpolate';
diff --git a/src/web/pages/tasks/details.jsx b/src/web/pages/tasks/details.jsx
index a112de6c29..f3bbf8bd7e 100644
--- a/src/web/pages/tasks/details.jsx
+++ b/src/web/pages/tasks/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/tasks/detailspage.jsx b/src/web/pages/tasks/detailspage.jsx
index 9f8e1f1b9e..4cf49ebf50 100644
--- a/src/web/pages/tasks/detailspage.jsx
+++ b/src/web/pages/tasks/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/dialog.jsx b/src/web/pages/tasks/dialog.jsx
index e4851a11de..f9aa843546 100644
--- a/src/web/pages/tasks/dialog.jsx
+++ b/src/web/pages/tasks/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/tasks/filterdialog.jsx b/src/web/pages/tasks/filterdialog.jsx
index cec0105def..134ebd2f52 100644
--- a/src/web/pages/tasks/filterdialog.jsx
+++ b/src/web/pages/tasks/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/tasks/icons/__tests__/resumeicon.jsx b/src/web/pages/tasks/icons/__tests__/resumeicon.jsx
index bfa8648551..ca68849f21 100644
--- a/src/web/pages/tasks/icons/__tests__/resumeicon.jsx
+++ b/src/web/pages/tasks/icons/__tests__/resumeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/icons/__tests__/starticon.jsx b/src/web/pages/tasks/icons/__tests__/starticon.jsx
index 8d9ef08cae..8ffcd99fcf 100644
--- a/src/web/pages/tasks/icons/__tests__/starticon.jsx
+++ b/src/web/pages/tasks/icons/__tests__/starticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/icons/__tests__/stopicon.jsx b/src/web/pages/tasks/icons/__tests__/stopicon.jsx
index 3e9d51dce0..35922cbf5f 100644
--- a/src/web/pages/tasks/icons/__tests__/stopicon.jsx
+++ b/src/web/pages/tasks/icons/__tests__/stopicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/icons/importreporticon.jsx b/src/web/pages/tasks/icons/importreporticon.jsx
index 6489bb6e24..9c957312da 100644
--- a/src/web/pages/tasks/icons/importreporticon.jsx
+++ b/src/web/pages/tasks/icons/importreporticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/icons/newiconmenu.jsx b/src/web/pages/tasks/icons/newiconmenu.jsx
index dd0f2d7270..fb54d4008a 100644
--- a/src/web/pages/tasks/icons/newiconmenu.jsx
+++ b/src/web/pages/tasks/icons/newiconmenu.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/icons/resumeicon.jsx b/src/web/pages/tasks/icons/resumeicon.jsx
index c8d6418234..04cf10b43b 100644
--- a/src/web/pages/tasks/icons/resumeicon.jsx
+++ b/src/web/pages/tasks/icons/resumeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/icons/scheduleicon.jsx b/src/web/pages/tasks/icons/scheduleicon.jsx
index 2ad50fb66e..fd9b12fc3e 100644
--- a/src/web/pages/tasks/icons/scheduleicon.jsx
+++ b/src/web/pages/tasks/icons/scheduleicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/tasks/icons/starticon.jsx b/src/web/pages/tasks/icons/starticon.jsx
index 6b1ffc2a46..41d2c00445 100644
--- a/src/web/pages/tasks/icons/starticon.jsx
+++ b/src/web/pages/tasks/icons/starticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/icons/stopicon.jsx b/src/web/pages/tasks/icons/stopicon.jsx
index 7bd123c366..8967af8fcc 100644
--- a/src/web/pages/tasks/icons/stopicon.jsx
+++ b/src/web/pages/tasks/icons/stopicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/listpage.jsx b/src/web/pages/tasks/listpage.jsx
index b3123042d0..a8b2b88f39 100644
--- a/src/web/pages/tasks/listpage.jsx
+++ b/src/web/pages/tasks/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {TASKS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/tasks/row.jsx b/src/web/pages/tasks/row.jsx
index 842b8c7b96..bae1e56855 100644
--- a/src/web/pages/tasks/row.jsx
+++ b/src/web/pages/tasks/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/status.jsx b/src/web/pages/tasks/status.jsx
index 8383f34834..03a6778574 100644
--- a/src/web/pages/tasks/status.jsx
+++ b/src/web/pages/tasks/status.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/tasks/table.jsx b/src/web/pages/tasks/table.jsx
index abe385c44b..88c4d10612 100644
--- a/src/web/pages/tasks/table.jsx
+++ b/src/web/pages/tasks/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/tasks/task.jsx b/src/web/pages/tasks/task.jsx
index d34239678d..8906e64d64 100644
--- a/src/web/pages/tasks/task.jsx
+++ b/src/web/pages/tasks/task.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/tasks/trend.jsx b/src/web/pages/tasks/trend.jsx
index 81d1ae12cb..91c164546c 100644
--- a/src/web/pages/tasks/trend.jsx
+++ b/src/web/pages/tasks/trend.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tickets/__tests__/createdialog.jsx b/src/web/pages/tickets/__tests__/createdialog.jsx
index 7218110376..69a7fdc4e5 100644
--- a/src/web/pages/tickets/__tests__/createdialog.jsx
+++ b/src/web/pages/tickets/__tests__/createdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import User from 'gmp/models/user';
diff --git a/src/web/pages/tickets/__tests__/editdialog.jsx b/src/web/pages/tickets/__tests__/editdialog.jsx
index 778f4148f4..68a4fa020c 100644
--- a/src/web/pages/tickets/__tests__/editdialog.jsx
+++ b/src/web/pages/tickets/__tests__/editdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/pages/tickets/component.jsx b/src/web/pages/tickets/component.jsx
index d6d3223578..f9ee109fbd 100644
--- a/src/web/pages/tickets/component.jsx
+++ b/src/web/pages/tickets/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/tickets/createdialog.jsx b/src/web/pages/tickets/createdialog.jsx
index a326378c2c..0d37c7aebd 100644
--- a/src/web/pages/tickets/createdialog.jsx
+++ b/src/web/pages/tickets/createdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import SaveDialog from 'web/components/dialog/savedialog';
diff --git a/src/web/pages/tickets/dashboard/createddisplay.jsx b/src/web/pages/tickets/dashboard/createddisplay.jsx
index a53a5d68b4..c79f5266ad 100644
--- a/src/web/pages/tickets/dashboard/createddisplay.jsx
+++ b/src/web/pages/tickets/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {shortDate} from 'gmp/locale/date';
diff --git a/src/web/pages/tickets/dashboard/index.jsx b/src/web/pages/tickets/dashboard/index.jsx
index ce4d715351..6123001d39 100644
--- a/src/web/pages/tickets/dashboard/index.jsx
+++ b/src/web/pages/tickets/dashboard/index.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from 'web/components/dashboard/dashboard';
diff --git a/src/web/pages/tickets/dashboard/loaders.jsx b/src/web/pages/tickets/dashboard/loaders.jsx
index 63fe0e373b..7bc6fa49b5 100644
--- a/src/web/pages/tickets/dashboard/loaders.jsx
+++ b/src/web/pages/tickets/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Filter from 'gmp/models/filter';
diff --git a/src/web/pages/tickets/dashboard/statusdisplay.jsx b/src/web/pages/tickets/dashboard/statusdisplay.jsx
index 52c0d1d99a..1f9c5597cd 100644
--- a/src/web/pages/tickets/dashboard/statusdisplay.jsx
+++ b/src/web/pages/tickets/dashboard/statusdisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {scaleOrdinal} from 'd3-scale';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/tickets/dashboard/usersassigneddisplay.jsx b/src/web/pages/tickets/dashboard/usersassigneddisplay.jsx
index 9e313ff392..0de254cb34 100644
--- a/src/web/pages/tickets/dashboard/usersassigneddisplay.jsx
+++ b/src/web/pages/tickets/dashboard/usersassigneddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {scaleLinear} from 'd3-scale';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/tickets/details.jsx b/src/web/pages/tickets/details.jsx
index d5550580d6..2c990f6979 100644
--- a/src/web/pages/tickets/details.jsx
+++ b/src/web/pages/tickets/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tickets/detailspage.jsx b/src/web/pages/tickets/detailspage.jsx
index 81b9f7144c..9a11f190f6 100644
--- a/src/web/pages/tickets/detailspage.jsx
+++ b/src/web/pages/tickets/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tickets/editdialog.jsx b/src/web/pages/tickets/editdialog.jsx
index 082e29e3b8..e8686c0dd3 100644
--- a/src/web/pages/tickets/editdialog.jsx
+++ b/src/web/pages/tickets/editdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {TICKET_STATUS, TICKET_STATUS_TRANSLATIONS} from 'gmp/models/ticket';
diff --git a/src/web/pages/tickets/filterdialog.jsx b/src/web/pages/tickets/filterdialog.jsx
index 1e428d2e5f..c8ba2ba18c 100644
--- a/src/web/pages/tickets/filterdialog.jsx
+++ b/src/web/pages/tickets/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/tickets/listpage.jsx b/src/web/pages/tickets/listpage.jsx
index 9d54bc721a..545a529966 100644
--- a/src/web/pages/tickets/listpage.jsx
+++ b/src/web/pages/tickets/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tickets/table.jsx b/src/web/pages/tickets/table.jsx
index 9e3dc7709a..89215410ce 100644
--- a/src/web/pages/tickets/table.jsx
+++ b/src/web/pages/tickets/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_l, _} from 'gmp/locale/lang';
diff --git a/src/web/pages/tickets/validationrules.jsx b/src/web/pages/tickets/validationrules.jsx
index 21c6729208..301237275d 100644
--- a/src/web/pages/tickets/validationrules.jsx
+++ b/src/web/pages/tickets/validationrules.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_} from 'gmp/locale/lang';
import {shouldBeNonEmpty} from 'web/components/form/useFormValidation';
diff --git a/src/web/pages/tlscertificates/__tests__/detailspage.jsx b/src/web/pages/tlscertificates/__tests__/detailspage.jsx
index a0554a3718..fb39785025 100644
--- a/src/web/pages/tlscertificates/__tests__/detailspage.jsx
+++ b/src/web/pages/tlscertificates/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tlscertificates/__tests__/listpage.jsx b/src/web/pages/tlscertificates/__tests__/listpage.jsx
index 1467c4551d..de1b65f8de 100644
--- a/src/web/pages/tlscertificates/__tests__/listpage.jsx
+++ b/src/web/pages/tlscertificates/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/tlscertificates/__tests__/row.jsx b/src/web/pages/tlscertificates/__tests__/row.jsx
index 0131875e09..3f6e354831 100644
--- a/src/web/pages/tlscertificates/__tests__/row.jsx
+++ b/src/web/pages/tlscertificates/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/tlscertificates/__tests__/table.jsx b/src/web/pages/tlscertificates/__tests__/table.jsx
index 6c80606195..43ab01082e 100644
--- a/src/web/pages/tlscertificates/__tests__/table.jsx
+++ b/src/web/pages/tlscertificates/__tests__/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tlscertificates/component.jsx b/src/web/pages/tlscertificates/component.jsx
index 2d49176a7f..9417183e76 100644
--- a/src/web/pages/tlscertificates/component.jsx
+++ b/src/web/pages/tlscertificates/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/tlscertificates/dashboard/index.jsx b/src/web/pages/tlscertificates/dashboard/index.jsx
index 707125692e..67626a923d 100644
--- a/src/web/pages/tlscertificates/dashboard/index.jsx
+++ b/src/web/pages/tlscertificates/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from 'web/components/dashboard/dashboard';
diff --git a/src/web/pages/tlscertificates/dashboard/loaders.jsx b/src/web/pages/tlscertificates/dashboard/loaders.jsx
index 90d1392fc5..9a03ba915c 100644
--- a/src/web/pages/tlscertificates/dashboard/loaders.jsx
+++ b/src/web/pages/tlscertificates/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/tlscertificates/dashboard/modifieddisplay.jsx b/src/web/pages/tlscertificates/dashboard/modifieddisplay.jsx
index 9640d750e7..ac11cecfa5 100644
--- a/src/web/pages/tlscertificates/dashboard/modifieddisplay.jsx
+++ b/src/web/pages/tlscertificates/dashboard/modifieddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/tlscertificates/dashboard/timestatusdisplay.jsx b/src/web/pages/tlscertificates/dashboard/timestatusdisplay.jsx
index 3f6dc327e9..2380469916 100644
--- a/src/web/pages/tlscertificates/dashboard/timestatusdisplay.jsx
+++ b/src/web/pages/tlscertificates/dashboard/timestatusdisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {scaleOrdinal} from 'd3-scale';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/tlscertificates/details.jsx b/src/web/pages/tlscertificates/details.jsx
index 434b8c779a..3a9fa57fa1 100644
--- a/src/web/pages/tlscertificates/details.jsx
+++ b/src/web/pages/tlscertificates/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/tlscertificates/detailspage.jsx b/src/web/pages/tlscertificates/detailspage.jsx
index c62c44011d..cac6ab54a7 100644
--- a/src/web/pages/tlscertificates/detailspage.jsx
+++ b/src/web/pages/tlscertificates/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AGH
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tlscertificates/filterdialog.jsx b/src/web/pages/tlscertificates/filterdialog.jsx
index f12cce66ac..f8ea18db00 100644
--- a/src/web/pages/tlscertificates/filterdialog.jsx
+++ b/src/web/pages/tlscertificates/filterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/tlscertificates/listpage.jsx b/src/web/pages/tlscertificates/listpage.jsx
index 093a65e17f..7c012c1fa1 100644
--- a/src/web/pages/tlscertificates/listpage.jsx
+++ b/src/web/pages/tlscertificates/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {TLS_CERTIFICATES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/tlscertificates/row.jsx b/src/web/pages/tlscertificates/row.jsx
index 6a914a3f04..3bfd38bd83 100644
--- a/src/web/pages/tlscertificates/row.jsx
+++ b/src/web/pages/tlscertificates/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/tlscertificates/table.jsx b/src/web/pages/tlscertificates/table.jsx
index dc6eba8916..ac154406d1 100644
--- a/src/web/pages/tlscertificates/table.jsx
+++ b/src/web/pages/tlscertificates/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/users/component.jsx b/src/web/pages/users/component.jsx
index 8be409a499..8ce38f8c82 100644
--- a/src/web/pages/users/component.jsx
+++ b/src/web/pages/users/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/users/confirmdeletedialog.jsx b/src/web/pages/users/confirmdeletedialog.jsx
index 8839326b4a..8941d4163a 100644
--- a/src/web/pages/users/confirmdeletedialog.jsx
+++ b/src/web/pages/users/confirmdeletedialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/users/details.jsx b/src/web/pages/users/details.jsx
index ee96c9b278..7cfc08c8d0 100644
--- a/src/web/pages/users/details.jsx
+++ b/src/web/pages/users/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/users/detailspage.jsx b/src/web/pages/users/detailspage.jsx
index 63ba884a2a..1e9519df38 100644
--- a/src/web/pages/users/detailspage.jsx
+++ b/src/web/pages/users/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/users/dialog.jsx b/src/web/pages/users/dialog.jsx
index cbe402c69c..3bb03723fb 100644
--- a/src/web/pages/users/dialog.jsx
+++ b/src/web/pages/users/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/users/filterdialog.jsx b/src/web/pages/users/filterdialog.jsx
index c1e7886bc6..c2f37c74bc 100644
--- a/src/web/pages/users/filterdialog.jsx
+++ b/src/web/pages/users/filterdialog.jsx
@@ -2,6 +2,7 @@
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/users/header.jsx b/src/web/pages/users/header.jsx
index efcee2c892..4addfb24fd 100644
--- a/src/web/pages/users/header.jsx
+++ b/src/web/pages/users/header.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/users/listpage.jsx b/src/web/pages/users/listpage.jsx
index 53209566bc..0231034f51 100644
--- a/src/web/pages/users/listpage.jsx
+++ b/src/web/pages/users/listpage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/users/row.jsx b/src/web/pages/users/row.jsx
index 81e1ee62f7..d501f0d8a0 100644
--- a/src/web/pages/users/row.jsx
+++ b/src/web/pages/users/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/users/table.jsx b/src/web/pages/users/table.jsx
index 3f923587f9..6ecc5c1201 100644
--- a/src/web/pages/users/table.jsx
+++ b/src/web/pages/users/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/usersettings/defaultspart.jsx b/src/web/pages/usersettings/defaultspart.jsx
index 2233225b0d..aaed7a73ce 100644
--- a/src/web/pages/usersettings/defaultspart.jsx
+++ b/src/web/pages/usersettings/defaultspart.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import FormGroup from 'web/components/form/formgroup';
diff --git a/src/web/pages/usersettings/dialog.jsx b/src/web/pages/usersettings/dialog.jsx
index 6a5f6c236a..ed730b3345 100644
--- a/src/web/pages/usersettings/dialog.jsx
+++ b/src/web/pages/usersettings/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback, useState} from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/usersettings/filterpart.jsx b/src/web/pages/usersettings/filterpart.jsx
index 13c98f66aa..c2712c52b5 100644
--- a/src/web/pages/usersettings/filterpart.jsx
+++ b/src/web/pages/usersettings/filterpart.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import FormGroup from 'web/components/form/formgroup';
diff --git a/src/web/pages/usersettings/generalpart.jsx b/src/web/pages/usersettings/generalpart.jsx
index 2dc9dcc40b..c8470ae5af 100644
--- a/src/web/pages/usersettings/generalpart.jsx
+++ b/src/web/pages/usersettings/generalpart.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/usersettings/severitypart.jsx b/src/web/pages/usersettings/severitypart.jsx
index f16e03c151..bf5fbd718a 100644
--- a/src/web/pages/usersettings/severitypart.jsx
+++ b/src/web/pages/usersettings/severitypart.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {YES_VALUE, NO_VALUE} from 'gmp/parser';
diff --git a/src/web/pages/usersettings/usersettingspage.jsx b/src/web/pages/usersettings/usersettingspage.jsx
index 96df1e00b8..4cd197574c 100644
--- a/src/web/pages/usersettings/usersettingspage.jsx
+++ b/src/web/pages/usersettings/usersettingspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/usersettings/validationrules.jsx b/src/web/pages/usersettings/validationrules.jsx
index 91d029d2ec..cc3414561f 100644
--- a/src/web/pages/usersettings/validationrules.jsx
+++ b/src/web/pages/usersettings/validationrules.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
const VALID_ROWSPERPAGE_ERROR_MESSAGE = _l(
diff --git a/src/web/pages/vulns/dashboard/cvssdisplay.jsx b/src/web/pages/vulns/dashboard/cvssdisplay.jsx
index 965f61a9f5..5cf55bd7a0 100644
--- a/src/web/pages/vulns/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/vulns/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {VULNS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/vulns/dashboard/hostsdisplay.jsx b/src/web/pages/vulns/dashboard/hostsdisplay.jsx
index 7289c2a973..0482b8c5f0 100644
--- a/src/web/pages/vulns/dashboard/hostsdisplay.jsx
+++ b/src/web/pages/vulns/dashboard/hostsdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {format as d3format} from 'd3-format';
diff --git a/src/web/pages/vulns/dashboard/index.jsx b/src/web/pages/vulns/dashboard/index.jsx
index 0957f9c6d1..be97d6a522 100644
--- a/src/web/pages/vulns/dashboard/index.jsx
+++ b/src/web/pages/vulns/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/vulns/dashboard/loaders.jsx b/src/web/pages/vulns/dashboard/loaders.jsx
index 29de79304c..50f5994ea0 100644
--- a/src/web/pages/vulns/dashboard/loaders.jsx
+++ b/src/web/pages/vulns/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/vulns/dashboard/severityclassdisplay.jsx b/src/web/pages/vulns/dashboard/severityclassdisplay.jsx
index 493bfeff8f..ac8d7d7d25 100644
--- a/src/web/pages/vulns/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/vulns/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import SeverityClassDisplay from 'web/components/dashboard/display/severity/severityclassdisplay'; // eslint-disable-line max-len
diff --git a/src/web/pages/vulns/filterdialog.jsx b/src/web/pages/vulns/filterdialog.jsx
index c6da4ad19c..63542d241b 100644
--- a/src/web/pages/vulns/filterdialog.jsx
+++ b/src/web/pages/vulns/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/vulns/listpage.jsx b/src/web/pages/vulns/listpage.jsx
index 93dbb368ef..f9beff1ea9 100644
--- a/src/web/pages/vulns/listpage.jsx
+++ b/src/web/pages/vulns/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/vulns/row.jsx b/src/web/pages/vulns/row.jsx
index f3e8587b64..8fc4154270 100644
--- a/src/web/pages/vulns/row.jsx
+++ b/src/web/pages/vulns/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import DateTime from 'web/components/date/datetime';
diff --git a/src/web/pages/vulns/table.jsx b/src/web/pages/vulns/table.jsx
index 4029ba5361..33b75e86a2 100644
--- a/src/web/pages/vulns/table.jsx
+++ b/src/web/pages/vulns/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/routes.jsx b/src/web/routes.jsx
index 75b4c745f3..63d0825356 100644
--- a/src/web/routes.jsx
+++ b/src/web/routes.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {Router, Route, Switch} from 'react-router-dom';
diff --git a/src/web/setupTests.js b/src/web/setupTests.js
index 2097175f86..79e01e2265 100644
--- a/src/web/setupTests.js
+++ b/src/web/setupTests.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {testing, beforeEach, expect} from '@gsa/testing';
diff --git a/src/web/store/__tests__/utils.js b/src/web/store/__tests__/utils.js
index b3cd8cdc2d..ebe0a7e10d 100644
--- a/src/web/store/__tests__/utils.js
+++ b/src/web/store/__tests__/utils.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/actions.js b/src/web/store/actions.js
index 8c5f15f47d..162b726016 100644
--- a/src/web/store/actions.js
+++ b/src/web/store/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const CLEAR_STORE = 'CLEAR_STORE';
const clearStoreAction = {
diff --git a/src/web/store/dashboard/data/__tests__/actions.js b/src/web/store/dashboard/data/__tests__/actions.js
index 8cbf15a083..691f80151c 100644
--- a/src/web/store/dashboard/data/__tests__/actions.js
+++ b/src/web/store/dashboard/data/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/dashboard/data/__tests__/loader.js b/src/web/store/dashboard/data/__tests__/loader.js
index e40317ea00..56a34f5a06 100644
--- a/src/web/store/dashboard/data/__tests__/loader.js
+++ b/src/web/store/dashboard/data/__tests__/loader.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/dashboard/data/__tests__/reducers.js b/src/web/store/dashboard/data/__tests__/reducers.js
index adc483889b..6343c91829 100644
--- a/src/web/store/dashboard/data/__tests__/reducers.js
+++ b/src/web/store/dashboard/data/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/dashboard/data/__tests__/selectors.js b/src/web/store/dashboard/data/__tests__/selectors.js
index f63c24c286..6a8b036070 100644
--- a/src/web/store/dashboard/data/__tests__/selectors.js
+++ b/src/web/store/dashboard/data/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/dashboard/data/actions.js b/src/web/store/dashboard/data/actions.js
index 2fa462ff3f..45b402992b 100644
--- a/src/web/store/dashboard/data/actions.js
+++ b/src/web/store/dashboard/data/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const DASHBOARD_DATA_LOADING_SUCCESS = 'DASHBOARD_DATA_LOADING_SUCCESS';
export const DASHBOARD_DATA_LOADING_REQUEST = 'DASHBOARD_DATA_LOADING_REQUEST';
export const DASHBOARD_DATA_LOADING_ERROR = 'DASHBOARD_DATA_LOADING_ERROR';
diff --git a/src/web/store/dashboard/data/loader.js b/src/web/store/dashboard/data/loader.js
index 421fa06867..6cfa8e27a8 100644
--- a/src/web/store/dashboard/data/loader.js
+++ b/src/web/store/dashboard/data/loader.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
@@ -39,28 +27,28 @@ export const loaderPropTypes = {
filter: PropTypes.filter,
};
-export const loadFunc = (func, id) => ({dataId = id, ...props}) => (
- dispatch,
- getState,
-) => {
- const rootState = getState();
- const state = getDashboardData(rootState);
+export const loadFunc =
+ (func, id) =>
+ ({dataId = id, ...props}) =>
+ (dispatch, getState) => {
+ const rootState = getState();
+ const state = getDashboardData(rootState);
- const {filter} = props;
+ const {filter} = props;
- if (state.getIsLoading(dataId, filter)) {
- // we are already loading data
- return Promise.resolve();
- }
+ if (state.getIsLoading(dataId, filter)) {
+ // we are already loading data
+ return Promise.resolve();
+ }
- dispatch(requestDashboardData(dataId, filter));
+ dispatch(requestDashboardData(dataId, filter));
- const promise = func(props);
- return promise.then(
- data => dispatch(receivedDashboardData(dataId, data, filter)),
- error => dispatch(receivedDashboardError(dataId, error, filter)),
- );
-};
+ const promise = func(props);
+ return promise.then(
+ data => dispatch(receivedDashboardData(dataId, data, filter)),
+ error => dispatch(receivedDashboardError(dataId, error, filter)),
+ );
+ };
class Loader extends React.Component {
constructor(...args) {
@@ -157,10 +145,7 @@ const mapDispatchToProps = (dispatch, {load, ...props}) => ({
export default compose(
withGmp,
withSubscription,
- connect(
- mapStateToProps,
- mapDispatchToProps,
- ),
+ connect(mapStateToProps, mapDispatchToProps),
)(Loader);
// vim: set ts=2 sw=2 tw=80:
diff --git a/src/web/store/dashboard/data/reducers.js b/src/web/store/dashboard/data/reducers.js
index cb7704d019..f6decffa23 100644
--- a/src/web/store/dashboard/data/reducers.js
+++ b/src/web/store/dashboard/data/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {filterIdentifier} from 'web/store/utils';
diff --git a/src/web/store/dashboard/data/selectors.js b/src/web/store/dashboard/data/selectors.js
index 69bfc30c54..d88257d754 100644
--- a/src/web/store/dashboard/data/selectors.js
+++ b/src/web/store/dashboard/data/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {filterIdentifier} from 'web/store/utils';
diff --git a/src/web/store/dashboard/settings/__tests__/actions.js b/src/web/store/dashboard/settings/__tests__/actions.js
index 7d396dd0fb..2b8d60c9ef 100644
--- a/src/web/store/dashboard/settings/__tests__/actions.js
+++ b/src/web/store/dashboard/settings/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/web/store/dashboard/settings/__tests__/reducers.js b/src/web/store/dashboard/settings/__tests__/reducers.js
index 5f15797572..4116a08077 100644
--- a/src/web/store/dashboard/settings/__tests__/reducers.js
+++ b/src/web/store/dashboard/settings/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import dashboardSettings from '../reducers';
diff --git a/src/web/store/dashboard/settings/__tests__/selectors.js b/src/web/store/dashboard/settings/__tests__/selectors.js
index bf3933a043..85db8925b2 100644
--- a/src/web/store/dashboard/settings/__tests__/selectors.js
+++ b/src/web/store/dashboard/settings/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import getDashboardSettings from '../selectors';
diff --git a/src/web/store/dashboard/settings/actions.js b/src/web/store/dashboard/settings/actions.js
index ad4598d7f9..8641bbd096 100644
--- a/src/web/store/dashboard/settings/actions.js
+++ b/src/web/store/dashboard/settings/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import getDashboardSettings from './selectors';
export const DASHBOARD_SETTINGS_LOADING_SUCCESS =
@@ -123,23 +111,19 @@ export const loadSettings = gmp => (id, defaults) => (dispatch, getState) => {
dispatch(loadDashboardSettingsRequest(id));
- return gmp.dashboard
- .getSetting(id)
- .then(
- ({data}) => dispatch(loadDashboardSettingsSuccess(id, data, defaults)),
- error => dispatch(loadDashboardSettingsError(id, error)),
- );
+ return gmp.dashboard.getSetting(id).then(
+ ({data}) => dispatch(loadDashboardSettingsSuccess(id, data, defaults)),
+ error => dispatch(loadDashboardSettingsError(id, error)),
+ );
};
export const saveSettings = gmp => (id, settings) => dispatch => {
dispatch(saveDashboardSettingsRequest(id, settings));
- return gmp.dashboard
- .saveSetting(id, settings)
- .then(
- () => dispatch(saveDashboardSettingsSuccess(id)),
- error => dispatch(saveDashboardSettingsError(id, error)),
- );
+ return gmp.dashboard.saveSetting(id, settings).then(
+ () => dispatch(saveDashboardSettingsSuccess(id)),
+ error => dispatch(saveDashboardSettingsError(id, error)),
+ );
};
export const resetSettings = gmp => id => (dispatch, getState) => {
@@ -149,12 +133,10 @@ export const resetSettings = gmp => id => (dispatch, getState) => {
dispatch(resetDashboardSettingsRequest(id, defaults));
- return gmp.dashboard
- .saveSetting(id, defaults)
- .then(
- () => dispatch(resetDashboardSettingsSuccess(id)),
- error => dispatch(resetDashboardSettingsError(id, error)),
- );
+ return gmp.dashboard.saveSetting(id, defaults).then(
+ () => dispatch(resetDashboardSettingsSuccess(id)),
+ error => dispatch(resetDashboardSettingsError(id, error)),
+ );
};
// vim: set ts=2 sw=2 tw=80:
diff --git a/src/web/store/dashboard/settings/reducers.js b/src/web/store/dashboard/settings/reducers.js
index 436b797b58..a72d9dfcd2 100644
--- a/src/web/store/dashboard/settings/reducers.js
+++ b/src/web/store/dashboard/settings/reducers.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {
diff --git a/src/web/store/dashboard/settings/selectors.js b/src/web/store/dashboard/settings/selectors.js
index 85e2a3f8af..4df2db64a8 100644
--- a/src/web/store/dashboard/settings/selectors.js
+++ b/src/web/store/dashboard/settings/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
export class DashboardSetting {
diff --git a/src/web/store/entities/__tests__/alerts.js b/src/web/store/entities/__tests__/alerts.js
index 70e89793fb..1322030b3d 100644
--- a/src/web/store/entities/__tests__/alerts.js
+++ b/src/web/store/entities/__tests__/alerts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as alert from '../alerts';
diff --git a/src/web/store/entities/__tests__/audits.js b/src/web/store/entities/__tests__/audits.js
index f733ca73eb..db9653a3c6 100644
--- a/src/web/store/entities/__tests__/audits.js
+++ b/src/web/store/entities/__tests__/audits.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as audits from '../audits';
diff --git a/src/web/store/entities/__tests__/certbund.js b/src/web/store/entities/__tests__/certbund.js
index 1d269a8a96..664660cdf7 100644
--- a/src/web/store/entities/__tests__/certbund.js
+++ b/src/web/store/entities/__tests__/certbund.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as certbund from '../certbund';
diff --git a/src/web/store/entities/__tests__/cpes.js b/src/web/store/entities/__tests__/cpes.js
index d0e7b6f4fd..c95ed86bf9 100644
--- a/src/web/store/entities/__tests__/cpes.js
+++ b/src/web/store/entities/__tests__/cpes.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as cpe from '../cpes';
diff --git a/src/web/store/entities/__tests__/credentials.js b/src/web/store/entities/__tests__/credentials.js
index c8ed634607..7e1cba8d55 100644
--- a/src/web/store/entities/__tests__/credentials.js
+++ b/src/web/store/entities/__tests__/credentials.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as credential from '../credentials';
diff --git a/src/web/store/entities/__tests__/cves.js b/src/web/store/entities/__tests__/cves.js
index dcdcc7cda5..762b8b02ee 100644
--- a/src/web/store/entities/__tests__/cves.js
+++ b/src/web/store/entities/__tests__/cves.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as cve from '../cves';
diff --git a/src/web/store/entities/__tests__/dfncerts.js b/src/web/store/entities/__tests__/dfncerts.js
index 11dfab3acc..850e5a8013 100644
--- a/src/web/store/entities/__tests__/dfncerts.js
+++ b/src/web/store/entities/__tests__/dfncerts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as dfncert from '../dfncerts';
diff --git a/src/web/store/entities/__tests__/filters.js b/src/web/store/entities/__tests__/filters.js
index c5e50c283f..2a82612310 100644
--- a/src/web/store/entities/__tests__/filters.js
+++ b/src/web/store/entities/__tests__/filters.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as filter from '../filters';
diff --git a/src/web/store/entities/__tests__/groups.js b/src/web/store/entities/__tests__/groups.js
index bc27bc427e..f0fc9ed876 100644
--- a/src/web/store/entities/__tests__/groups.js
+++ b/src/web/store/entities/__tests__/groups.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as group from '../groups';
diff --git a/src/web/store/entities/__tests__/hosts.js b/src/web/store/entities/__tests__/hosts.js
index 6b780d5341..cf2c7fad95 100644
--- a/src/web/store/entities/__tests__/hosts.js
+++ b/src/web/store/entities/__tests__/hosts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as host from '../hosts';
diff --git a/src/web/store/entities/__tests__/notes.js b/src/web/store/entities/__tests__/notes.js
index 8e8a7f5400..994d1e9174 100644
--- a/src/web/store/entities/__tests__/notes.js
+++ b/src/web/store/entities/__tests__/notes.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as note from '../notes';
diff --git a/src/web/store/entities/__tests__/nvts.js b/src/web/store/entities/__tests__/nvts.js
index 663c1c2dea..a27ad2bf30 100644
--- a/src/web/store/entities/__tests__/nvts.js
+++ b/src/web/store/entities/__tests__/nvts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as nvts from '../nvts';
diff --git a/src/web/store/entities/__tests__/operatingsystems.js b/src/web/store/entities/__tests__/operatingsystems.js
index 0aeeb342d6..a5421b4e37 100644
--- a/src/web/store/entities/__tests__/operatingsystems.js
+++ b/src/web/store/entities/__tests__/operatingsystems.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../operatingsystems';
diff --git a/src/web/store/entities/__tests__/overrides.js b/src/web/store/entities/__tests__/overrides.js
index 0a396841ab..c144cf9522 100644
--- a/src/web/store/entities/__tests__/overrides.js
+++ b/src/web/store/entities/__tests__/overrides.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../overrides';
diff --git a/src/web/store/entities/__tests__/permissions.js b/src/web/store/entities/__tests__/permissions.js
index d5f423100a..46d90a3730 100644
--- a/src/web/store/entities/__tests__/permissions.js
+++ b/src/web/store/entities/__tests__/permissions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../permissions';
diff --git a/src/web/store/entities/__tests__/policies.js b/src/web/store/entities/__tests__/policies.js
index 06f2372539..d313878556 100644
--- a/src/web/store/entities/__tests__/policies.js
+++ b/src/web/store/entities/__tests__/policies.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as policy from '../policies';
diff --git a/src/web/store/entities/__tests__/portlists.js b/src/web/store/entities/__tests__/portlists.js
index 6b06bdfed6..fe412542e1 100644
--- a/src/web/store/entities/__tests__/portlists.js
+++ b/src/web/store/entities/__tests__/portlists.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as portlist from '../portlists';
diff --git a/src/web/store/entities/__tests__/reducers.js b/src/web/store/entities/__tests__/reducers.js
index 6026b5a65e..71e7a11e04 100644
--- a/src/web/store/entities/__tests__/reducers.js
+++ b/src/web/store/entities/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/web/store/entities/__tests__/reportformats.js b/src/web/store/entities/__tests__/reportformats.js
index e122eda42c..f30fe5a2f6 100644
--- a/src/web/store/entities/__tests__/reportformats.js
+++ b/src/web/store/entities/__tests__/reportformats.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as reportformat from '../reportformats';
diff --git a/src/web/store/entities/__tests__/reports.js b/src/web/store/entities/__tests__/reports.js
index b3a185a45c..4951fec83a 100644
--- a/src/web/store/entities/__tests__/reports.js
+++ b/src/web/store/entities/__tests__/reports.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {
testEntitiesActions,
testLoadEntities,
diff --git a/src/web/store/entities/__tests__/results.js b/src/web/store/entities/__tests__/results.js
index 18607047bc..7e0319baa6 100644
--- a/src/web/store/entities/__tests__/results.js
+++ b/src/web/store/entities/__tests__/results.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../results';
diff --git a/src/web/store/entities/__tests__/roles.js b/src/web/store/entities/__tests__/roles.js
index 6f7a4c855e..1cbe4915a4 100644
--- a/src/web/store/entities/__tests__/roles.js
+++ b/src/web/store/entities/__tests__/roles.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../roles';
diff --git a/src/web/store/entities/__tests__/scanconfigs.js b/src/web/store/entities/__tests__/scanconfigs.js
index 51511c3acd..4171069427 100644
--- a/src/web/store/entities/__tests__/scanconfigs.js
+++ b/src/web/store/entities/__tests__/scanconfigs.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as scanconfig from '../scanconfigs';
diff --git a/src/web/store/entities/__tests__/scanners.js b/src/web/store/entities/__tests__/scanners.js
index 32f27d6cfc..d9e2689c6e 100644
--- a/src/web/store/entities/__tests__/scanners.js
+++ b/src/web/store/entities/__tests__/scanners.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as scanner from '../scanners';
diff --git a/src/web/store/entities/__tests__/schedules.js b/src/web/store/entities/__tests__/schedules.js
index 30ef6cb3bd..f8dbba2c5c 100644
--- a/src/web/store/entities/__tests__/schedules.js
+++ b/src/web/store/entities/__tests__/schedules.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as schedule from '../schedules';
diff --git a/src/web/store/entities/__tests__/tags.js b/src/web/store/entities/__tests__/tags.js
index bd40643c51..a985962dec 100644
--- a/src/web/store/entities/__tests__/tags.js
+++ b/src/web/store/entities/__tests__/tags.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../tags';
diff --git a/src/web/store/entities/__tests__/targets.js b/src/web/store/entities/__tests__/targets.js
index 7eef074f2e..d25afa5b82 100644
--- a/src/web/store/entities/__tests__/targets.js
+++ b/src/web/store/entities/__tests__/targets.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as targets from '../targets';
diff --git a/src/web/store/entities/__tests__/tasks.js b/src/web/store/entities/__tests__/tasks.js
index 759c30abb9..b45e0d2fd1 100644
--- a/src/web/store/entities/__tests__/tasks.js
+++ b/src/web/store/entities/__tests__/tasks.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as tasks from '../tasks';
diff --git a/src/web/store/entities/__tests__/tickets.js b/src/web/store/entities/__tests__/tickets.js
index df649b68fa..f3144de39c 100644
--- a/src/web/store/entities/__tests__/tickets.js
+++ b/src/web/store/entities/__tests__/tickets.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as tickets from '../tickets';
diff --git a/src/web/store/entities/__tests__/users.js b/src/web/store/entities/__tests__/users.js
index 5b1f3a263b..66cf238392 100644
--- a/src/web/store/entities/__tests__/users.js
+++ b/src/web/store/entities/__tests__/users.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../users';
diff --git a/src/web/store/entities/__tests__/vulns.js b/src/web/store/entities/__tests__/vulns.js
index e564dbd68b..18a7c2ab4e 100644
--- a/src/web/store/entities/__tests__/vulns.js
+++ b/src/web/store/entities/__tests__/vulns.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../vulns';
diff --git a/src/web/store/entities/alerts.js b/src/web/store/entities/alerts.js
index d537996e6d..fc76b1da42 100644
--- a/src/web/store/entities/alerts.js
+++ b/src/web/store/entities/alerts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/audits.js b/src/web/store/entities/audits.js
index 7c244fd41f..19e861e7b5 100644
--- a/src/web/store/entities/audits.js
+++ b/src/web/store/entities/audits.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/certbund.js b/src/web/store/entities/certbund.js
index 0f955ea66f..0a44d5d130 100644
--- a/src/web/store/entities/certbund.js
+++ b/src/web/store/entities/certbund.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/cpes.js b/src/web/store/entities/cpes.js
index 2a2c2586d3..ea59c7bc06 100644
--- a/src/web/store/entities/cpes.js
+++ b/src/web/store/entities/cpes.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/credentials.js b/src/web/store/entities/credentials.js
index 965a2ce352..00f45da88c 100644
--- a/src/web/store/entities/credentials.js
+++ b/src/web/store/entities/credentials.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/cves.js b/src/web/store/entities/cves.js
index 1a9568e33f..953d3af2e2 100644
--- a/src/web/store/entities/cves.js
+++ b/src/web/store/entities/cves.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/dfncerts.js b/src/web/store/entities/dfncerts.js
index 58caef9f50..4d1d4f6642 100644
--- a/src/web/store/entities/dfncerts.js
+++ b/src/web/store/entities/dfncerts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/filters.js b/src/web/store/entities/filters.js
index 14ce25c2ca..b61f76bde5 100644
--- a/src/web/store/entities/filters.js
+++ b/src/web/store/entities/filters.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/groups.js b/src/web/store/entities/groups.js
index d4eb960562..0769103f20 100644
--- a/src/web/store/entities/groups.js
+++ b/src/web/store/entities/groups.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/hosts.js b/src/web/store/entities/hosts.js
index 812ab798f6..a5c126d970 100644
--- a/src/web/store/entities/hosts.js
+++ b/src/web/store/entities/hosts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/notes.js b/src/web/store/entities/notes.js
index 413a438aeb..ce58c6b551 100644
--- a/src/web/store/entities/notes.js
+++ b/src/web/store/entities/notes.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/nvts.js b/src/web/store/entities/nvts.js
index 8b5d28b4b0..8bdd610136 100644
--- a/src/web/store/entities/nvts.js
+++ b/src/web/store/entities/nvts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/operatingsystems.js b/src/web/store/entities/operatingsystems.js
index 2e7563d3b5..63d89f7354 100644
--- a/src/web/store/entities/operatingsystems.js
+++ b/src/web/store/entities/operatingsystems.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/overrides.js b/src/web/store/entities/overrides.js
index 3380157e6f..c07f40e431 100644
--- a/src/web/store/entities/overrides.js
+++ b/src/web/store/entities/overrides.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/permissions.js b/src/web/store/entities/permissions.js
index aea499149b..b44bb61482 100644
--- a/src/web/store/entities/permissions.js
+++ b/src/web/store/entities/permissions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/policies.js b/src/web/store/entities/policies.js
index 7e0bb90b61..775abd47b3 100644
--- a/src/web/store/entities/policies.js
+++ b/src/web/store/entities/policies.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/portlists.js b/src/web/store/entities/portlists.js
index 3853629a2d..d9100c4a75 100644
--- a/src/web/store/entities/portlists.js
+++ b/src/web/store/entities/portlists.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/reducers.js b/src/web/store/entities/reducers.js
index c89056ae37..d12f11332f 100644
--- a/src/web/store/entities/reducers.js
+++ b/src/web/store/entities/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {combineReducers} from 'redux';
import {reducer as alert} from './alerts';
diff --git a/src/web/store/entities/report/__tests__/actions.js b/src/web/store/entities/report/__tests__/actions.js
index 0ab3f50971..5712358259 100644
--- a/src/web/store/entities/report/__tests__/actions.js
+++ b/src/web/store/entities/report/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/entities/report/__tests__/reducers.js b/src/web/store/entities/report/__tests__/reducers.js
index 93b2c5ecde..90dd59a7c2 100644
--- a/src/web/store/entities/report/__tests__/reducers.js
+++ b/src/web/store/entities/report/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/entities/report/__tests__/selectors.js b/src/web/store/entities/report/__tests__/selectors.js
index e836b84849..327c66f665 100644
--- a/src/web/store/entities/report/__tests__/selectors.js
+++ b/src/web/store/entities/report/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/entities/report/actions.js b/src/web/store/entities/report/actions.js
index 096ecc5fa1..50bf796acf 100644
--- a/src/web/store/entities/report/actions.js
+++ b/src/web/store/entities/report/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {
@@ -53,116 +41,112 @@ export const reportActions = {
}),
};
-export const loadReport = gmp => (
- id,
- {filter, details = true, force = false} = {},
-) => (dispatch, getState) => {
- const rootState = getState();
- const state = reportSelector(rootState);
-
- if (!force && state.isLoadingEntity(id, filter)) {
- // we are already loading data
- return Promise.resolve();
- }
-
- dispatch(reportActions.request(id, filter));
-
- return gmp.report
- .get({id}, {filter, details})
- .then(
- response => response.data,
- error => {
- dispatch(reportActions.error(id, error, filter));
- return Promise.reject(error);
- },
- )
- .then(data => {
- dispatch(reportActions.success(id, data, filter));
- return data;
- });
-};
-
-export const loadReportWithThreshold = gmp => (id, {filter} = {}) => (
- dispatch,
- getState,
-) => {
- const rootState = getState();
- const state = reportSelector(rootState);
-
- if (state.isLoadingEntity(id, filter)) {
- // we are already loading data
- return Promise.resolve();
- }
-
- dispatch(reportActions.request(id, filter));
-
- const {reportResultsThreshold: threshold} = gmp.settings;
- return gmp.report
- .get({id}, {filter, details: false})
- .then(
- response => response.data,
- error => {
- dispatch(reportActions.error(id, error, filter));
- return Promise.reject(error);
- },
- )
- .then(report => {
- const fullReport =
- isDefined(report) &&
- isDefined(report.report) &&
- isDefined(report.report.results) &&
- report.report.results.counts.filtered < threshold;
-
- dispatch(reportActions.success(id, report, filter));
-
- if (fullReport) {
- return loadReport(gmp)(id, {filter, details: true, force: true})(
- dispatch,
- getState,
- );
- }
- });
-};
-
-export const loadReportIfNeeded = gmp => (
- id,
- {filter, details = false} = {},
-) => (dispatch, getState) => {
- // loads the small report (without details) if these information are not
- // yet in the store. resolve() otherwise
- const rootState = getState();
- const state = reportSelector(rootState);
-
- if (isDefined(state.getEntity(id, filter))) {
- // we are already loading data or have it in the store
- return Promise.resolve();
- }
- return loadReport(gmp)(id, {filter, details})(dispatch, getState);
-};
+export const loadReport =
+ gmp =>
+ (id, {filter, details = true, force = false} = {}) =>
+ (dispatch, getState) => {
+ const rootState = getState();
+ const state = reportSelector(rootState);
+
+ if (!force && state.isLoadingEntity(id, filter)) {
+ // we are already loading data
+ return Promise.resolve();
+ }
+
+ dispatch(reportActions.request(id, filter));
+
+ return gmp.report
+ .get({id}, {filter, details})
+ .then(
+ response => response.data,
+ error => {
+ dispatch(reportActions.error(id, error, filter));
+ return Promise.reject(error);
+ },
+ )
+ .then(data => {
+ dispatch(reportActions.success(id, data, filter));
+ return data;
+ });
+ };
+
+export const loadReportWithThreshold =
+ gmp =>
+ (id, {filter} = {}) =>
+ (dispatch, getState) => {
+ const rootState = getState();
+ const state = reportSelector(rootState);
+
+ if (state.isLoadingEntity(id, filter)) {
+ // we are already loading data
+ return Promise.resolve();
+ }
+
+ dispatch(reportActions.request(id, filter));
+
+ const {reportResultsThreshold: threshold} = gmp.settings;
+ return gmp.report
+ .get({id}, {filter, details: false})
+ .then(
+ response => response.data,
+ error => {
+ dispatch(reportActions.error(id, error, filter));
+ return Promise.reject(error);
+ },
+ )
+ .then(report => {
+ const fullReport =
+ isDefined(report) &&
+ isDefined(report.report) &&
+ isDefined(report.report.results) &&
+ report.report.results.counts.filtered < threshold;
+
+ dispatch(reportActions.success(id, report, filter));
+
+ if (fullReport) {
+ return loadReport(gmp)(id, {filter, details: true, force: true})(
+ dispatch,
+ getState,
+ );
+ }
+ });
+ };
+
+export const loadReportIfNeeded =
+ gmp =>
+ (id, {filter, details = false} = {}) =>
+ (dispatch, getState) => {
+ // loads the small report (without details) if these information are not
+ // yet in the store. resolve() otherwise
+ const rootState = getState();
+ const state = reportSelector(rootState);
+
+ if (isDefined(state.getEntity(id, filter))) {
+ // we are already loading data or have it in the store
+ return Promise.resolve();
+ }
+ return loadReport(gmp)(id, {filter, details})(dispatch, getState);
+ };
export const deltaReportActions = createEntityLoadingActions('deltaReport');
-export const loadDeltaReport = gmp => (id, deltaId, filter) => (
- dispatch,
- getState,
-) => {
- const rootState = getState();
- const state = deltaReportSelector(rootState);
+export const loadDeltaReport =
+ gmp => (id, deltaId, filter) => (dispatch, getState) => {
+ const rootState = getState();
+ const state = deltaReportSelector(rootState);
- if (state.isLoading(id, deltaId)) {
- // we are already loading data
- return Promise.resolve();
- }
+ if (state.isLoading(id, deltaId)) {
+ // we are already loading data
+ return Promise.resolve();
+ }
- const identifier = deltaReportIdentifier(id, deltaId);
+ const identifier = deltaReportIdentifier(id, deltaId);
- dispatch(deltaReportActions.request(identifier));
+ dispatch(deltaReportActions.request(identifier));
- return gmp.report
- .getDelta({id}, {id: deltaId}, {filter})
- .then(
+ return gmp.report.getDelta({id}, {id: deltaId}, {filter}).then(
response =>
dispatch(deltaReportActions.success(identifier, response.data)),
error => dispatch(deltaReportActions.error(identifier, error)),
);
-};
+ };
diff --git a/src/web/store/entities/report/reducers.js b/src/web/store/entities/report/reducers.js
index 452e7547f3..0166bac722 100644
--- a/src/web/store/entities/report/reducers.js
+++ b/src/web/store/entities/report/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {types} from 'web/store/entities/utils/actions';
import {isError} from 'web/store/entities/utils/reducers';
diff --git a/src/web/store/entities/report/selectors.js b/src/web/store/entities/report/selectors.js
index d422f43386..228b0d241a 100644
--- a/src/web/store/entities/report/selectors.js
+++ b/src/web/store/entities/report/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
export const simplifiedReportIdentifier = (reportId, filter) => {
diff --git a/src/web/store/entities/reportconfigs.js b/src/web/store/entities/reportconfigs.js
index 1f2161b03d..99eac55f62 100644
--- a/src/web/store/entities/reportconfigs.js
+++ b/src/web/store/entities/reportconfigs.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/reportformats.js b/src/web/store/entities/reportformats.js
index fc15dec730..57e0267e72 100644
--- a/src/web/store/entities/reportformats.js
+++ b/src/web/store/entities/reportformats.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/reports.js b/src/web/store/entities/reports.js
index 39a063f496..03af38c0a5 100644
--- a/src/web/store/entities/reports.js
+++ b/src/web/store/entities/reports.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {
createEntitiesLoadingActions,
createLoadAllEntities,
diff --git a/src/web/store/entities/reports/__tests__/reducers.js b/src/web/store/entities/reports/__tests__/reducers.js
index b735007b22..7c05c0ef78 100644
--- a/src/web/store/entities/reports/__tests__/reducers.js
+++ b/src/web/store/entities/reports/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/entities/reports/reducers.js b/src/web/store/entities/reports/reducers.js
index 5e5ea2b697..cd66b54b5f 100644
--- a/src/web/store/entities/reports/reducers.js
+++ b/src/web/store/entities/reports/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {types} from 'web/store/entities/utils/actions';
import {isError} from 'web/store/entities/utils/reducers';
diff --git a/src/web/store/entities/results.js b/src/web/store/entities/results.js
index 8ed5910524..6476fcc94d 100644
--- a/src/web/store/entities/results.js
+++ b/src/web/store/entities/results.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/roles.js b/src/web/store/entities/roles.js
index e2eb257ca5..0aa9c4a3c5 100644
--- a/src/web/store/entities/roles.js
+++ b/src/web/store/entities/roles.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/scanconfigs.js b/src/web/store/entities/scanconfigs.js
index 89b13fd37f..77ae3d3c3a 100644
--- a/src/web/store/entities/scanconfigs.js
+++ b/src/web/store/entities/scanconfigs.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/scanners.js b/src/web/store/entities/scanners.js
index 6d90206381..fd162ccfe6 100644
--- a/src/web/store/entities/scanners.js
+++ b/src/web/store/entities/scanners.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/schedules.js b/src/web/store/entities/schedules.js
index 2981ebaeec..0fd60243a2 100644
--- a/src/web/store/entities/schedules.js
+++ b/src/web/store/entities/schedules.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/tags.js b/src/web/store/entities/tags.js
index 4a0f34ceb3..9ef1215a22 100644
--- a/src/web/store/entities/tags.js
+++ b/src/web/store/entities/tags.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/targets.js b/src/web/store/entities/targets.js
index 40166809c2..dd20805179 100644
--- a/src/web/store/entities/targets.js
+++ b/src/web/store/entities/targets.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/tasks.js b/src/web/store/entities/tasks.js
index 2dc3816c75..1c597526d6 100644
--- a/src/web/store/entities/tasks.js
+++ b/src/web/store/entities/tasks.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/tickets.js b/src/web/store/entities/tickets.js
index 7b238f5619..83498b5d41 100644
--- a/src/web/store/entities/tickets.js
+++ b/src/web/store/entities/tickets.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/tlscertificates.js b/src/web/store/entities/tlscertificates.js
index e0468d85ce..c79c23fbb4 100644
--- a/src/web/store/entities/tlscertificates.js
+++ b/src/web/store/entities/tlscertificates.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/users.js b/src/web/store/entities/users.js
index be0de8c33f..ee4bbbc849 100644
--- a/src/web/store/entities/users.js
+++ b/src/web/store/entities/users.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/utils/__tests__/actions.js b/src/web/store/entities/utils/__tests__/actions.js
index 9f4a2a190a..d33776ac56 100644
--- a/src/web/store/entities/utils/__tests__/actions.js
+++ b/src/web/store/entities/utils/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/web/store/entities/utils/__tests__/main.js b/src/web/store/entities/utils/__tests__/main.js
index 661160e5b6..ba1cf370b6 100644
--- a/src/web/store/entities/utils/__tests__/main.js
+++ b/src/web/store/entities/utils/__tests__/main.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/web/store/entities/utils/__tests__/reducers.js b/src/web/store/entities/utils/__tests__/reducers.js
index 4882ae1eb9..af1a8b2c7f 100644
--- a/src/web/store/entities/utils/__tests__/reducers.js
+++ b/src/web/store/entities/utils/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/web/store/entities/utils/__tests__/selectors.js b/src/web/store/entities/utils/__tests__/selectors.js
index 577e3e8078..bf57628474 100644
--- a/src/web/store/entities/utils/__tests__/selectors.js
+++ b/src/web/store/entities/utils/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/entities/utils/actions.js b/src/web/store/entities/utils/actions.js
index bef6e9e03d..ea5c5a172e 100644
--- a/src/web/store/entities/utils/actions.js
+++ b/src/web/store/entities/utils/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Filter, {ALL_FILTER} from 'gmp/models/filter';
import {pluralizeType} from 'gmp/utils/entitytype';
@@ -81,88 +69,90 @@ export const entityDeleteActions = {
}),
};
-export const createLoadEntities = ({
- selector,
- actions,
- entityType,
-}) => gmp => filter => (dispatch, getState) => {
- const rootState = getState();
- const state = selector(rootState);
-
- if (state.isLoadingEntities(filter)) {
- // we are already loading data
- return Promise.resolve();
- }
-
- dispatch(actions.request(filter));
-
- return gmp[pluralizeType(entityType)].get({filter}).then(
- response => {
- const {data, meta} = response;
- const {filter: loadedFilter, counts} = meta;
- return dispatch(actions.success(data, filter, loadedFilter, counts));
- },
- error => dispatch(actions.error(error, filter)),
- );
-};
-
-export const createLoadAllEntities = ({
- selector,
- actions,
- entityType,
-}) => gmp => filter => (dispatch, getState) => {
- const rootState = getState();
- const state = selector(rootState);
-
- if (isDefined(filter)) {
- filter = isDefined(filter.toFilterString)
- ? filter.all()
- : Filter.fromString(filter).all();
- } else {
- filter = ALL_FILTER;
- }
-
- if (state.isLoadingEntities(filter)) {
- // we are already loading data
- return Promise.resolve();
- }
- dispatch(actions.request(filter));
-
- return gmp[pluralizeType(entityType)].get({filter}).then(
- response => {
- const {data, meta} = response;
- const {filter: loadedFilter, counts} = meta;
- return dispatch(actions.success(data, filter, loadedFilter, counts));
- },
- error => dispatch(actions.error(error, filter)),
- );
-};
+export const createLoadEntities =
+ ({selector, actions, entityType}) =>
+ gmp =>
+ filter =>
+ (dispatch, getState) => {
+ const rootState = getState();
+ const state = selector(rootState);
+
+ if (state.isLoadingEntities(filter)) {
+ // we are already loading data
+ return Promise.resolve();
+ }
+
+ dispatch(actions.request(filter));
+
+ return gmp[pluralizeType(entityType)].get({filter}).then(
+ response => {
+ const {data, meta} = response;
+ const {filter: loadedFilter, counts} = meta;
+ return dispatch(actions.success(data, filter, loadedFilter, counts));
+ },
+ error => dispatch(actions.error(error, filter)),
+ );
+ };
+
+export const createLoadAllEntities =
+ ({selector, actions, entityType}) =>
+ gmp =>
+ filter =>
+ (dispatch, getState) => {
+ const rootState = getState();
+ const state = selector(rootState);
+
+ if (isDefined(filter)) {
+ filter = isDefined(filter.toFilterString)
+ ? filter.all()
+ : Filter.fromString(filter).all();
+ } else {
+ filter = ALL_FILTER;
+ }
+
+ if (state.isLoadingEntities(filter)) {
+ // we are already loading data
+ return Promise.resolve();
+ }
+ dispatch(actions.request(filter));
+
+ return gmp[pluralizeType(entityType)].get({filter}).then(
+ response => {
+ const {data, meta} = response;
+ const {filter: loadedFilter, counts} = meta;
+ return dispatch(actions.success(data, filter, loadedFilter, counts));
+ },
+ error => dispatch(actions.error(error, filter)),
+ );
+ };
-export const createLoadEntity = ({
- selector,
- actions,
- entityType,
-}) => gmp => id => (dispatch, getState) => {
- const rootState = getState();
- const state = selector(rootState);
+export const createLoadEntity =
+ ({selector, actions, entityType}) =>
+ gmp =>
+ id =>
+ (dispatch, getState) => {
+ const rootState = getState();
+ const state = selector(rootState);
- if (state.isLoadingEntity(id)) {
- // we are already loading data
- return Promise.resolve();
- }
+ if (state.isLoadingEntity(id)) {
+ // we are already loading data
+ return Promise.resolve();
+ }
- dispatch(actions.request(id));
+ dispatch(actions.request(id));
- return gmp[entityType]
- .get({id})
- .then(
+ return gmp[entityType].get({id}).then(
response => dispatch(actions.success(id, response.data)),
error => dispatch(actions.error(id, error)),
);
-};
-
-export const createDeleteEntity = ({entityType}) => gmp => id => dispatch =>
- gmp[entityType]
- .delete({id})
- .then(() => dispatch(entityDeleteActions.success(entityType, id)));
+ };
+
+export const createDeleteEntity =
+ ({entityType}) =>
+ gmp =>
+ id =>
+ dispatch =>
+ gmp[entityType]
+ .delete({id})
+ .then(() => dispatch(entityDeleteActions.success(entityType, id)));
// vim: set ts=2 sw=2 tw=80:
diff --git a/src/web/store/entities/utils/main.js b/src/web/store/entities/utils/main.js
index dfde439211..7d3b1e7efa 100644
--- a/src/web/store/entities/utils/main.js
+++ b/src/web/store/entities/utils/main.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {
createEntitiesLoadingActions,
createEntityLoadingActions,
diff --git a/src/web/store/entities/utils/reducers.js b/src/web/store/entities/utils/reducers.js
index d9229b5267..c6e9bc6810 100644
--- a/src/web/store/entities/utils/reducers.js
+++ b/src/web/store/entities/utils/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {types} from './actions';
diff --git a/src/web/store/entities/utils/selectors.js b/src/web/store/entities/utils/selectors.js
index d3f690b6f1..9e7d220d5b 100644
--- a/src/web/store/entities/utils/selectors.js
+++ b/src/web/store/entities/utils/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Filter, {ALL_FILTER} from 'gmp/models/filter';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/store/entities/utils/testing.js b/src/web/store/entities/utils/testing.js
index 45e15a446f..52dd51ec2b 100644
--- a/src/web/store/entities/utils/testing.js
+++ b/src/web/store/entities/utils/testing.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/web/store/entities/vulns.js b/src/web/store/entities/vulns.js
index d4becebe03..7c3a47a234 100644
--- a/src/web/store/entities/vulns.js
+++ b/src/web/store/entities/vulns.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/index.js b/src/web/store/index.js
index 81800ab8c3..d9496efebb 100644
--- a/src/web/store/index.js
+++ b/src/web/store/index.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {
diff --git a/src/web/store/pages/__tests__/actions.js b/src/web/store/pages/__tests__/actions.js
index dda4eb565d..2f989c248f 100644
--- a/src/web/store/pages/__tests__/actions.js
+++ b/src/web/store/pages/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {pageFilter, CHANGE_PAGE_FILTER} from '../actions';
diff --git a/src/web/store/pages/__tests__/reducers.js b/src/web/store/pages/__tests__/reducers.js
index 2b731412aa..d61f9d933b 100644
--- a/src/web/store/pages/__tests__/reducers.js
+++ b/src/web/store/pages/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import reducer from '../reducers';
diff --git a/src/web/store/pages/__tests__/selectors.js b/src/web/store/pages/__tests__/selectors.js
index 13a25f2666..ce1550bfff 100644
--- a/src/web/store/pages/__tests__/selectors.js
+++ b/src/web/store/pages/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import getPage from 'web/store/pages/selectors';
diff --git a/src/web/store/pages/actions.js b/src/web/store/pages/actions.js
index c472e3f1dd..27d7a528cb 100644
--- a/src/web/store/pages/actions.js
+++ b/src/web/store/pages/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const CHANGE_PAGE_FILTER = 'CHANGE_PAGE_FILTER';
export const pageFilter = (page, filter) => ({
diff --git a/src/web/store/pages/reducers.js b/src/web/store/pages/reducers.js
index 0df3e27f8c..7bd4bcb773 100644
--- a/src/web/store/pages/reducers.js
+++ b/src/web/store/pages/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {CHANGE_PAGE_FILTER} from './actions';
diff --git a/src/web/store/pages/selectors.js b/src/web/store/pages/selectors.js
index 66104a8f27..2cdbe208f1 100644
--- a/src/web/store/pages/selectors.js
+++ b/src/web/store/pages/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
class PageSelector {
diff --git a/src/web/store/reducers.js b/src/web/store/reducers.js
index 3167c5010c..7158e82c24 100644
--- a/src/web/store/reducers.js
+++ b/src/web/store/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {combineReducers} from 'redux';
import dashboardData from './dashboard/data/reducers';
diff --git a/src/web/store/usersettings/__tests__/actions.js b/src/web/store/usersettings/__tests__/actions.js
index b68e6b6959..3535625a71 100644
--- a/src/web/store/usersettings/__tests__/actions.js
+++ b/src/web/store/usersettings/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import moment from 'gmp/models/date';
diff --git a/src/web/store/usersettings/__tests__/reducers.js b/src/web/store/usersettings/__tests__/reducers.js
index d80e0a100d..58bc4cb20c 100644
--- a/src/web/store/usersettings/__tests__/reducers.js
+++ b/src/web/store/usersettings/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {CLEAR_STORE} from 'web/store/actions';
diff --git a/src/web/store/usersettings/__tests__/selectors.js b/src/web/store/usersettings/__tests__/selectors.js
index 581edc8df0..9b0bd43db2 100644
--- a/src/web/store/usersettings/__tests__/selectors.js
+++ b/src/web/store/usersettings/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {
diff --git a/src/web/store/usersettings/actions.js b/src/web/store/usersettings/actions.js
index e0c5153981..c046627fd6 100644
--- a/src/web/store/usersettings/actions.js
+++ b/src/web/store/usersettings/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const USER_SETTINGS_LOAD_REPORT_COMPOSER_DEFAULTS_SUCCESS =
'USER_SETTINGS_LOAD_REPORT_COMPOSER_DEFAULTS_SUCCESS';
export const USER_SETTINGS_SET_TIMEZONE = 'USER_SETTINGS_SET_TIMEZONE';
diff --git a/src/web/store/usersettings/defaultfilters/__tests__/actions.js b/src/web/store/usersettings/defaultfilters/__tests__/actions.js
index 7e504f3ab3..e9c6e8c4bc 100644
--- a/src/web/store/usersettings/defaultfilters/__tests__/actions.js
+++ b/src/web/store/usersettings/defaultfilters/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {DEFAULT_FILTER_SETTINGS} from 'gmp/commands/users';
diff --git a/src/web/store/usersettings/defaultfilters/__tests__/reducers.js b/src/web/store/usersettings/defaultfilters/__tests__/reducers.js
index 4cb6942c99..6a4614075f 100644
--- a/src/web/store/usersettings/defaultfilters/__tests__/reducers.js
+++ b/src/web/store/usersettings/defaultfilters/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {defaultFilterLoadingActions} from '../actions';
diff --git a/src/web/store/usersettings/defaultfilters/__tests__/selectors.js b/src/web/store/usersettings/defaultfilters/__tests__/selectors.js
index 13a864bf95..9086062881 100644
--- a/src/web/store/usersettings/defaultfilters/__tests__/selectors.js
+++ b/src/web/store/usersettings/defaultfilters/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/usersettings/defaultfilters/actions.js b/src/web/store/usersettings/defaultfilters/actions.js
index 4b98550af1..8fda6778bb 100644
--- a/src/web/store/usersettings/defaultfilters/actions.js
+++ b/src/web/store/usersettings/defaultfilters/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {DEFAULT_FILTER_SETTINGS} from 'gmp/commands/users';
@@ -45,45 +33,43 @@ export const defaultFilterLoadingActions = {
}),
};
-export const loadUserSettingsDefaultFilter = gmp => entityType => (
- dispatch,
- getState,
-) => {
- const rootState = getState();
- const selector = getUserSettingsDefaultFilter(rootState, entityType);
+export const loadUserSettingsDefaultFilter =
+ gmp => entityType => (dispatch, getState) => {
+ const rootState = getState();
+ const selector = getUserSettingsDefaultFilter(rootState, entityType);
- if (selector.isLoading()) {
- // we are already loading data
- return Promise.resolve();
- }
+ if (selector.isLoading()) {
+ // we are already loading data
+ return Promise.resolve();
+ }
- dispatch(defaultFilterLoadingActions.request(entityType));
+ dispatch(defaultFilterLoadingActions.request(entityType));
- const settingId = DEFAULT_FILTER_SETTINGS[entityType];
+ const settingId = DEFAULT_FILTER_SETTINGS[entityType];
- return gmp.user
- .getSetting(settingId)
- .then(resp => {
- const {data: setting} = resp;
- return isDefined(setting) ? setting.value : undefined;
- })
- .then(filterId =>
- isDefined(filterId) && filterId !== 0
- ? gmp.filter.get({id: filterId})
- : null,
- )
- .then(resp => {
- if (resp === null) {
- dispatch(defaultFilterLoadingActions.success(entityType, null));
- } else {
- dispatch(defaultFilterLoadingActions.success(entityType, resp.data));
- }
- })
- .catch(err => {
- if (isDefined(err)) {
- dispatch(defaultFilterLoadingActions.error(entityType, err));
- }
- });
-};
+ return gmp.user
+ .getSetting(settingId)
+ .then(resp => {
+ const {data: setting} = resp;
+ return isDefined(setting) ? setting.value : undefined;
+ })
+ .then(filterId =>
+ isDefined(filterId) && filterId !== 0
+ ? gmp.filter.get({id: filterId})
+ : null,
+ )
+ .then(resp => {
+ if (resp === null) {
+ dispatch(defaultFilterLoadingActions.success(entityType, null));
+ } else {
+ dispatch(defaultFilterLoadingActions.success(entityType, resp.data));
+ }
+ })
+ .catch(err => {
+ if (isDefined(err)) {
+ dispatch(defaultFilterLoadingActions.error(entityType, err));
+ }
+ });
+ };
// vim: set ts=2 sw=2 two=80:
diff --git a/src/web/store/usersettings/defaultfilters/reducers.js b/src/web/store/usersettings/defaultfilters/reducers.js
index caf12961e0..84ed851ea0 100644
--- a/src/web/store/usersettings/defaultfilters/reducers.js
+++ b/src/web/store/usersettings/defaultfilters/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {combineReducers} from 'web/store/utils';
import {
diff --git a/src/web/store/usersettings/defaultfilters/selectors.js b/src/web/store/usersettings/defaultfilters/selectors.js
index 486f9ee359..d9beb9427f 100644
--- a/src/web/store/usersettings/defaultfilters/selectors.js
+++ b/src/web/store/usersettings/defaultfilters/selectors.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
class UserSettingsDefaultFilterSelector {
diff --git a/src/web/store/usersettings/defaults/__tests__/actions.js b/src/web/store/usersettings/defaults/__tests__/actions.js
index feb13ce02e..9b1c788f89 100644
--- a/src/web/store/usersettings/defaults/__tests__/actions.js
+++ b/src/web/store/usersettings/defaults/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {
diff --git a/src/web/store/usersettings/defaults/__tests__/reducers.js b/src/web/store/usersettings/defaults/__tests__/reducers.js
index 5149de6ba5..8342158d57 100644
--- a/src/web/store/usersettings/defaults/__tests__/reducers.js
+++ b/src/web/store/usersettings/defaults/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {loadingActions} from '../actions';
diff --git a/src/web/store/usersettings/defaults/__tests__/selectors.js b/src/web/store/usersettings/defaults/__tests__/selectors.js
index af00c4ae48..1f8a68f0a6 100644
--- a/src/web/store/usersettings/defaults/__tests__/selectors.js
+++ b/src/web/store/usersettings/defaults/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {getUserSettingsDefaults} from '../selectors';
diff --git a/src/web/store/usersettings/defaults/actions.js b/src/web/store/usersettings/defaults/actions.js
index cc84a941cf..29ffd2fb68 100644
--- a/src/web/store/usersettings/defaults/actions.js
+++ b/src/web/store/usersettings/defaults/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {getUserSettingsDefaults} from './selectors';
import {isDefined} from 'gmp/utils/identity';
@@ -53,12 +41,10 @@ export const loadUserSettingDefaults = gmp => () => (dispatch, getState) => {
dispatch(loadingActions.request());
- return gmp.user
- .currentSettings()
- .then(
- response => dispatch(loadingActions.success(response.data)),
- err => dispatch(loadingActions.error(err)),
- );
+ return gmp.user.currentSettings().then(
+ response => dispatch(loadingActions.success(response.data)),
+ err => dispatch(loadingActions.error(err)),
+ );
};
export const loadUserSettingDefault = gmp => id => (dispatch, getState) => {
diff --git a/src/web/store/usersettings/defaults/reducers.js b/src/web/store/usersettings/defaults/reducers.js
index 0d4007a640..c156b353be 100644
--- a/src/web/store/usersettings/defaults/reducers.js
+++ b/src/web/store/usersettings/defaults/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {combineReducers} from 'web/store/utils';
import {
diff --git a/src/web/store/usersettings/defaults/selectors.js b/src/web/store/usersettings/defaults/selectors.js
index b60ff508f8..a565a88d96 100644
--- a/src/web/store/usersettings/defaults/selectors.js
+++ b/src/web/store/usersettings/defaults/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
class UserSettingsDefaultsSelector {
diff --git a/src/web/store/usersettings/reducers.js b/src/web/store/usersettings/reducers.js
index 8a7e11d481..9110a1eebd 100644
--- a/src/web/store/usersettings/reducers.js
+++ b/src/web/store/usersettings/reducers.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {combineReducers} from 'web/store/utils';
diff --git a/src/web/store/usersettings/selectors.js b/src/web/store/usersettings/selectors.js
index 416ae3facb..215d38ef8c 100644
--- a/src/web/store/usersettings/selectors.js
+++ b/src/web/store/usersettings/selectors.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
export const getReportComposerDefaults = rootState => {
diff --git a/src/web/store/utils.js b/src/web/store/utils.js
index d1ffc8969c..08d7c3baef 100644
--- a/src/web/store/utils.js
+++ b/src/web/store/utils.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {hasValue} from 'gmp/utils/identity';
@@ -36,19 +23,21 @@ export const filterIdentifier = filter =>
*
* @returns {Function} A new combined reducer function
*/
-export const combineReducers = reducers => (state = {}, action) => {
- let hasChanged = false;
- const nextState = {};
-
- for (const [name, reducer] of Object.entries(reducers)) {
- const prevStateForReducer = state[name];
- const nextStateForReducers = reducer(prevStateForReducer, action);
-
- nextState[name] = nextStateForReducers;
- hasChanged = hasChanged || prevStateForReducer !== nextStateForReducers;
- }
-
- return hasChanged ? nextState : state;
-};
+export const combineReducers =
+ reducers =>
+ (state = {}, action) => {
+ let hasChanged = false;
+ const nextState = {};
+
+ for (const [name, reducer] of Object.entries(reducers)) {
+ const prevStateForReducer = state[name];
+ const nextStateForReducers = reducer(prevStateForReducer, action);
+
+ nextState[name] = nextStateForReducers;
+ hasChanged = hasChanged || prevStateForReducer !== nextStateForReducers;
+ }
+
+ return hasChanged ? nextState : state;
+ };
// vim: set ts=2 sw=2 tw=80:
diff --git a/src/web/utils/__tests__/render.jsx b/src/web/utils/__tests__/render.jsx
index 4d32a4edaf..69cbbf298b 100644
--- a/src/web/utils/__tests__/render.jsx
+++ b/src/web/utils/__tests__/render.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {generateFilename, renderSelectItems} from '../render';
diff --git a/src/web/utils/__tests__/sort.jsx b/src/web/utils/__tests__/sort.jsx
index 3ac46240ab..c573d01ca1 100644
--- a/src/web/utils/__tests__/sort.jsx
+++ b/src/web/utils/__tests__/sort.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import moment from 'gmp/models/date';
diff --git a/src/web/utils/__tests__/timePickerHelpers.js b/src/web/utils/__tests__/timePickerHelpers.js
index 155bc0fe27..408fe30d3c 100644
--- a/src/web/utils/__tests__/timePickerHelpers.js
+++ b/src/web/utils/__tests__/timePickerHelpers.js
@@ -1,3 +1,8 @@
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
import {formatSplitTime, formatTimeForTimePicker} from '../timePickerHelpers';
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/web/utils/__tests__/useCapabilities.jsx b/src/web/utils/__tests__/useCapabilities.jsx
index 91afd17a07..429bc13c69 100644
--- a/src/web/utils/__tests__/useCapabilities.jsx
+++ b/src/web/utils/__tests__/useCapabilities.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/utils/__tests__/useGmp.jsx b/src/web/utils/__tests__/useGmp.jsx
index e2429b5952..6a5e54b94a 100644
--- a/src/web/utils/__tests__/useGmp.jsx
+++ b/src/web/utils/__tests__/useGmp.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {rendererWith} from '../testing';
diff --git a/src/web/utils/__tests__/useUserIsLoggedIn.jsx b/src/web/utils/__tests__/useUserIsLoggedIn.jsx
index 184883c52d..f1c7ab667d 100644
--- a/src/web/utils/__tests__/useUserIsLoggedIn.jsx
+++ b/src/web/utils/__tests__/useUserIsLoggedIn.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {setIsLoggedIn as setIsLoggedInAction} from 'web/store/usersettings/actions';
diff --git a/src/web/utils/__tests__/useUserName.jsx b/src/web/utils/__tests__/useUserName.jsx
index 4830dabe01..f66cccfc96 100644
--- a/src/web/utils/__tests__/useUserName.jsx
+++ b/src/web/utils/__tests__/useUserName.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {setUsername} from 'web/store/usersettings/actions';
diff --git a/src/web/utils/__tests__/useUserSessionTimeout.jsx b/src/web/utils/__tests__/useUserSessionTimeout.jsx
index 34214a7fe9..6d7c17d758 100644
--- a/src/web/utils/__tests__/useUserSessionTimeout.jsx
+++ b/src/web/utils/__tests__/useUserSessionTimeout.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {dateFormat} from 'gmp/locale/date';
diff --git a/src/web/utils/__tests__/useUserTimezone.jsx b/src/web/utils/__tests__/useUserTimezone.jsx
index 3422aec821..efe8b82bec 100644
--- a/src/web/utils/__tests__/useUserTimezone.jsx
+++ b/src/web/utils/__tests__/useUserTimezone.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {setTimezone as setTimezoneAction} from 'web/store/usersettings/actions';
diff --git a/src/web/utils/cert.jsx b/src/web/utils/cert.jsx
index 3d1c4d22f0..9dbfd0cec3 100644
--- a/src/web/utils/cert.jsx
+++ b/src/web/utils/cert.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const BEGIN_CERTIFICATE = '-----BEGIN CERTIFICATE-----';
const END_CERTIFICATE = '-----END CERTIFICATE-----';
diff --git a/src/web/utils/compose.jsx b/src/web/utils/compose.jsx
index 48894ca752..c7553fb7ca 100644
--- a/src/web/utils/compose.jsx
+++ b/src/web/utils/compose.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/**
* Compose several HOCs
*
diff --git a/src/web/utils/cpe.jsx b/src/web/utils/cpe.jsx
index 6357353300..ed3f46b4ec 100644
--- a/src/web/utils/cpe.jsx
+++ b/src/web/utils/cpe.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const cpes = [
{
pattern: 'cpe:/a:apache:http_server',
diff --git a/src/web/utils/languages.jsx b/src/web/utils/languages.jsx
index bb53c6c4d0..8b3db88e58 100644
--- a/src/web/utils/languages.jsx
+++ b/src/web/utils/languages.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import GmpLanguages, {BROWSER_LANGUAGE} from 'gmp/locale/languages';
diff --git a/src/web/utils/os.jsx b/src/web/utils/os.jsx
index 9a17eb0872..1c54189eb8 100644
--- a/src/web/utils/os.jsx
+++ b/src/web/utils/os.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const operating_systems = [
{
pattern: 'cpe:/o:microsoft:windows_nt:4.0:sp1',
diff --git a/src/web/utils/proptypes.jsx b/src/web/utils/proptypes.jsx
index 83cdbdadac..8f0075a7c9 100644
--- a/src/web/utils/proptypes.jsx
+++ b/src/web/utils/proptypes.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import ReactPropTypes from 'prop-types';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/utils/render.jsx b/src/web/utils/render.jsx
index 9d1a967e8d..f5a5097c92 100644
--- a/src/web/utils/render.jsx
+++ b/src/web/utils/render.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {format} from 'd3-format';
import React from 'react';
diff --git a/src/web/utils/selectiontype.jsx b/src/web/utils/selectiontype.jsx
index 837b8e796a..60b9a5283e 100644
--- a/src/web/utils/selectiontype.jsx
+++ b/src/web/utils/selectiontype.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const SelectionType = {
SELECTION_PAGE_CONTENTS: '0',
SELECTION_USER: '1',
diff --git a/src/web/utils/severity.jsx b/src/web/utils/severity.jsx
index df5c59103a..ecd807eb47 100644
--- a/src/web/utils/severity.jsx
+++ b/src/web/utils/severity.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/utils/sort.jsx b/src/web/utils/sort.jsx
index e06bdd26c1..0216681f2e 100644
--- a/src/web/utils/sort.jsx
+++ b/src/web/utils/sort.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {parseInt, parseFloat} from 'gmp/parser';
import {isDefined, isFunction} from 'gmp/utils/identity';
diff --git a/src/web/utils/state.jsx b/src/web/utils/state.jsx
index a180b70a59..41a2c072b9 100644
--- a/src/web/utils/state.jsx
+++ b/src/web/utils/state.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from './proptypes';
diff --git a/src/web/utils/styledConfig.jsx b/src/web/utils/styledConfig.jsx
index a059f0e2c9..d2b46ee406 100644
--- a/src/web/utils/styledConfig.jsx
+++ b/src/web/utils/styledConfig.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const excludePropsConfig = excludedProps => {
return {
shouldForwardProp: prop => {
diff --git a/src/web/utils/testing.jsx b/src/web/utils/testing.jsx
index c8e1c371db..0e932acb78 100644
--- a/src/web/utils/testing.jsx
+++ b/src/web/utils/testing.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable react/prop-types */
import {afterEach} from '@gsa/testing';
diff --git a/src/web/utils/theme.jsx b/src/web/utils/theme.jsx
index 2e8281b153..d6f31fdaf9 100644
--- a/src/web/utils/theme.jsx
+++ b/src/web/utils/theme.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const Theme = {
/* source styleguide */
lightGreen: '#A1DDBA',
diff --git a/src/web/utils/timePickerHelpers.js b/src/web/utils/timePickerHelpers.js
index 83e1ac0d07..f316b5ab75 100644
--- a/src/web/utils/timePickerHelpers.js
+++ b/src/web/utils/timePickerHelpers.js
@@ -1,3 +1,8 @@
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
export const formatSplitTime = (start_hour, start_minute) => {
const formattedStartHour = start_hour.toString().padStart(2, '0');
const formattedStartMinute = start_minute.toString().padStart(2, '0');
diff --git a/src/web/utils/urls.jsx b/src/web/utils/urls.jsx
index e82253df83..d16e29a438 100644
--- a/src/web/utils/urls.jsx
+++ b/src/web/utils/urls.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const public_url_loader = name => {
return import.meta.env.BASE_URL + 'img/' + name; // eslint-disable-line no-process-env,no-undef
};
diff --git a/src/web/utils/useCapabilities.jsx b/src/web/utils/useCapabilities.jsx
index 4515b1069f..2b50336488 100644
--- a/src/web/utils/useCapabilities.jsx
+++ b/src/web/utils/useCapabilities.jsx
@@ -1,21 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
- * SPDX-License-Identifier: GPL-2.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import {useContext} from 'react';
import CapabilitiesContext from 'web/components/provider/capabilitiesprovider';
diff --git a/src/web/utils/useGmp.jsx b/src/web/utils/useGmp.jsx
index 35e75d2556..91287a1f6a 100644
--- a/src/web/utils/useGmp.jsx
+++ b/src/web/utils/useGmp.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useContext} from 'react';
import GmpContext from 'web/components/provider/gmpprovider';
diff --git a/src/web/utils/useLicense.jsx b/src/web/utils/useLicense.jsx
index 3de87e9787..71f80bc2af 100644
--- a/src/web/utils/useLicense.jsx
+++ b/src/web/utils/useLicense.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useContext} from 'react';
import {LicenseContext} from 'web/components/provider/licenseprovider';
diff --git a/src/web/utils/useUserIsLoggedIn.jsx b/src/web/utils/useUserIsLoggedIn.jsx
index b5a2fb2765..44c13461b3 100644
--- a/src/web/utils/useUserIsLoggedIn.jsx
+++ b/src/web/utils/useUserIsLoggedIn.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useSelector, useDispatch} from 'react-redux';
import {isLoggedIn} from 'web/store/usersettings/selectors';
diff --git a/src/web/utils/useUserName.jsx b/src/web/utils/useUserName.jsx
index 1cb2325309..84328093d4 100644
--- a/src/web/utils/useUserName.jsx
+++ b/src/web/utils/useUserName.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useSelector, useDispatch} from 'react-redux';
import {getUsername} from 'web/store/usersettings/selectors';
diff --git a/src/web/utils/useUserSessionTimeout.jsx b/src/web/utils/useUserSessionTimeout.jsx
index 317fe4c063..44b3e5f093 100644
--- a/src/web/utils/useUserSessionTimeout.jsx
+++ b/src/web/utils/useUserSessionTimeout.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useSelector, useDispatch} from 'react-redux';
import {getSessionTimeout} from 'web/store/usersettings/selectors';
diff --git a/src/web/utils/useUserTimezone.jsx b/src/web/utils/useUserTimezone.jsx
index 0b9476c576..060f07bbe6 100644
--- a/src/web/utils/useUserTimezone.jsx
+++ b/src/web/utils/useUserTimezone.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useSelector, useDispatch} from 'react-redux';
import {getTimezone} from 'web/store/usersettings/selectors';
diff --git a/src/web/utils/warning.jsx b/src/web/utils/warning.jsx
index 9de7761660..06f805926e 100644
--- a/src/web/utils/warning.jsx
+++ b/src/web/utils/warning.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const warning = (condition, ...args) => {
if (process.env.NODE_ENV !== 'production' && condition) {
console.warn(...args); // eslint-disable-line no-console
diff --git a/src/web/utils/withCapabilities.jsx b/src/web/utils/withCapabilities.jsx
index ca205fd358..c1b5d3d0a3 100644
--- a/src/web/utils/withCapabilities.jsx
+++ b/src/web/utils/withCapabilities.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import hoistStatics from 'hoist-non-react-statics';
diff --git a/src/web/utils/withComponentDefaults.jsx b/src/web/utils/withComponentDefaults.jsx
index 83e1001db9..2189fa2d60 100644
--- a/src/web/utils/withComponentDefaults.jsx
+++ b/src/web/utils/withComponentDefaults.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
export const withComponentDefaults = (options = {}) => Component => {
diff --git a/src/web/utils/withGmp.jsx b/src/web/utils/withGmp.jsx
index 293b454c53..4c52bc68a8 100644
--- a/src/web/utils/withGmp.jsx
+++ b/src/web/utils/withGmp.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import hoistStatics from 'hoist-non-react-statics';
diff --git a/src/web/utils/withPrefix.jsx b/src/web/utils/withPrefix.jsx
index a2ce6dea14..e15926fca2 100644
--- a/src/web/utils/withPrefix.jsx
+++ b/src/web/utils/withPrefix.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/utils/withSubscription.jsx b/src/web/utils/withSubscription.jsx
index 32b905806d..7b26056f3e 100644
--- a/src/web/utils/withSubscription.jsx
+++ b/src/web/utils/withSubscription.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {SubscriptionContext} from 'web/components/provider/subscriptionprovider';
diff --git a/src/web/utils/withUserName.jsx b/src/web/utils/withUserName.jsx
index 8fccb6e42f..31a7311b24 100644
--- a/src/web/utils/withUserName.jsx
+++ b/src/web/utils/withUserName.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {connect} from 'react-redux';
import {getUsername} from 'web/store/usersettings/selectors.js';
diff --git a/src/web/wizard/__tests__/advancedtaskwizard.jsx b/src/web/wizard/__tests__/advancedtaskwizard.jsx
index ee914c2e08..22cc417106 100644
--- a/src/web/wizard/__tests__/advancedtaskwizard.jsx
+++ b/src/web/wizard/__tests__/advancedtaskwizard.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/wizard/__tests__/modifytaskwizard.jsx b/src/web/wizard/__tests__/modifytaskwizard.jsx
index 704b37a0c3..a56679fd31 100644
--- a/src/web/wizard/__tests__/modifytaskwizard.jsx
+++ b/src/web/wizard/__tests__/modifytaskwizard.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/wizard/advancedtaskwizard.jsx b/src/web/wizard/advancedtaskwizard.jsx
index 24f8bf9c90..a3260846bf 100644
--- a/src/web/wizard/advancedtaskwizard.jsx
+++ b/src/web/wizard/advancedtaskwizard.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useState} from 'react';
import {
diff --git a/src/web/wizard/modifytaskwizard.jsx b/src/web/wizard/modifytaskwizard.jsx
index fe14b69bc8..8bcf775cfc 100644
--- a/src/web/wizard/modifytaskwizard.jsx
+++ b/src/web/wizard/modifytaskwizard.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useState} from 'react';
import {parseYesNo, NO_VALUE, YES_VALUE} from 'gmp/parser';
diff --git a/src/web/wizard/taskwizard.jsx b/src/web/wizard/taskwizard.jsx
index 253dcdec35..d1296cda36 100644
--- a/src/web/wizard/taskwizard.jsx
+++ b/src/web/wizard/taskwizard.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
From 42e0689e2b257d5d7dca03defc948517d21a8714 Mon Sep 17 00:00:00 2001
From: daniele-mng
Date: Fri, 23 Aug 2024 13:55:39 +0200
Subject: [PATCH 105/150] Rebase opensight UI (#4121)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* Add: Add a react hook for storing instance variables
An instance variable stores the value directly and doesn't cause
re-renders if it is changed. Variables returned from this hooks are
comparable to instance variables for class components.
* Add a test for useInstanceVariable hook
* CI: Allow the dependency review workflow to write a message to the PR
The dependency review workflow is able to write a summary message to the
PR if it is allowed to write to the workflow.
* Add: Add a useShallowEqualSelector hook
The useShallowEqualSelector hooks allows to avoid re-renders if an
object is selected from the redux store but its value(s) didn't change.
With the standard selector which uses `===` comparison even updating an
object's value to the same value will cause a re-render (because a new
state object is created).
This pattern can be found at https://react-redux.js.org/api/hooks#recipe-useshallowequalselector
* Add: Add a usePageFilter hook to get the applied filter of a page
The new usePageFilter hook allows to get the current applied filter of a
page from the redux store.
* Allow to change, reset and remove a page filter
Update the usePageFilter hook to add additional functions to change,
reset and remove a page filter.
* Use useShallowEqualSelector in usePageFilter
The selectors where invented for usage with mapStateToProps therefore
they return objects at the moment. To avoid unnecessary re-renders the
returned objects need to be compared with shallow equal.
* Add tests for usePageFilter hook
* Refactor FilterProvider to use usePageFilter internally
At the end FilterProvider should be replaced with usePageFilter
completely.
* Reorder variable and hook definitions
Allow for better reading flow where variables and hooks are defined at
the top.
* Add: CVSS 4.0 Calculator (#4036)
* Add: CVSS 4.0 Calculator
* Add: test for CvssV4Point0Calculator
* Apply: review comments
* Add: German translations
* Add: Add a usePreviousValue hook
Add a new hooks that allows to get the previous value after the value is
changed. For example this hook can be used to check whether a filter has
changed.
* Add: Eslint rules
* fix header
* fix header in jsx files
* fix gpl 2
* ignore specific year in header
* adjust rule for files
* Add: Support CVSS 4.0 fields in CVEs.
CVSS 4.0 metrics can now be displayed in CVE details.
* Add more tests.
* Capitalize first letter in metric values instead of all caps
for translation and consistency with the calculator.
* Add: Implement a useTiming hook
The hook can be used to run a function after a specific amount of time
for example for doing a reload of data.
* Change: withIconSize HOC to hook (#4060)
* Change: withIconSize HOC to hook
* add tests
* improve test coverage
* remove snapshot test
* Bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot]
* Add: Add a useReload hook to make the Reload component obsolete
The new useReload hook is based in useTiming. It calls a timing
function before every reload to calculate the timeout before the reload.
This timing function gets a isVisible argument passed. Using the
argument the timing function can decide to extend the timeout when the
current browser window is not visible.
* Add: Add a useFilterSortBy hook
The hook determines the sort field and direction of a filter and allows
to change both via a returned function. The hook can be used to
implement the filter changes when clicking on the different header
columns of a entities list.
* Add: Add a usePagination hook
The hook returns functions the update a filter for getting the next,
previous, first and last page for a list of entities.
* Add: Add a useSelection hook
The useSelection hook implements the entity selection at a entities list
table. It is possible to select/deselect specific entities from the
list/table, to select all entities displayed at the page or all entities
for the current filter (filter without rows value applied).
* Add: eslint rule camelCase
* create exeptions
* Add: Add new hook to determine the loading interval for entities pages
Add a useEntitiesReloadInterval hook to replace in conjunction with the
useReload hook the Reload component. useEntitiesReloadInterval
calculates the timeout for the next reload and useReload actually calls
a function after this timeout to allow reloading data.
* Add: Add a BulkTags component for handling tagging of entities
The BulkTags component provides dialogs and functions for tagging several
entities with an existing or new tag.
* Fix: Don't pass gmp object to TagDialog onSave handle
The gmp object is not part of saving a tag. Therefore it shouldn't be
put into the state of the TagDialog and passed to the onSave handler.
* Change: Allow to show errors in the TagsDialog
Allow to show errors in the TagsDialog. This may be necessary for
example if a new tag can't be created.
* Add: Add a useDownload hook
The useDownload hook in conjunction with the Download component should
replace the withDownload HOC in future.
* Add a simple test for useDownload hook
Combine Download with useDownload in a simple test.
* Bump ws from 8.16.0 to 8.17.1
Bumps [ws](https://github.com/websockets/ws) from 8.16.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.16.0...8.17.1)
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot]
* Add: Toggle to enable EPSS fields
The EPSS fields for CVEs and VTs can now be toggled with an option in
the config.js file.
This is done because no EPSS feed is provided yet, so the new fields
should only be enabled for testing.
* Clean up EPSS on CVE and NVT pages
A superfluous fragment has been removed and consts are used for
the EPSS scores and percentiles in tables for better readability.
* Remove .jsx suffix from useGmp and cvelink imports
* Add enableEPSS to readme
* Use camelCase for EPSS local variables
* Change: Use `.js` as file suffix for hooks
Hooks usually don't contain JSX and therefore should use `.js` for the
file suffix. Currently this is mixed up between `.jsx` and `.js`.
* Change: Extract ErrorMarker from useFormValidation hook module
Hooks should not contain JSX code and should be plain JS only. Therefore
extract the ErrorMarker component from the useFormValidation module and
use `js` file suffix for the module.
* Simplify ErrorMarker component
Just support the actual prop in use (`isVisible`) and drop passing a
child.
* Change: Refactor PortLists page to a HOC less entities page
Use the PortLists page as an example on howto refactor an entities page
to use the new hooks instead of the withEntitiesContainer HOC. Despite
having some more lines of code it should be easier to understand then
before.
* Add: EPSS scoring info to results
Scan results now show EPSS scores, percentiles and CVEs of their VTs if
the enableEPSS option is set to true.
* Change: Move useCapabilities hook to hooks directory
* Remove: Remove unused useUserIsLoggedIn hook
* Change: Move useUserName hook to hooks directory
* Change: Move useUserSessionTimeout hook to hooks directory
* Change: Move useUserTimezone hook to hooks directory
* Change: Move useLicense hook to hooks directory
The license feature is unused and could possibly removed completely. But
until now we should get a consistent directory layout.
* Change: Move useGmp hook to hooks directory
* fix: dates inconsistencies in new task wizard and schedules
* Automatic release to 23.1.0
* Automatic adjustments after release [skip ci]
* Update to version 23.1.1-dev1
* Fix: Allow applying report configs to delta reports.
* Automatic release to 23.1.1
* Automatic adjustments after release [skip ci]
* Update to version 23.1.2-dev1
* Change: Update node version for build in release-pontos
* Automatic release to 23.1.1
* Automatic adjustments after release [skip ci]
* Update to version 23.1.2-dev1
* Deps: Bump docker/build-push-action from 5 to 6
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot]
* Add: Push workflow for greenbone registry #4075
* Remove debug statement
* Update useGmp import in results table and row
* Add: Available optional features in Capabilities
The Capabilities object now has a featureEnabled method that checks if
an optional feature is enabled according to the new GET_FEATURES GMP
command.
This will allow toggling/modifying UI elements for these features
without a redundant setting in the GSA config.
* Use camelCase for capabilities, update exceptions
Attributes in Capabilities now use camelCase and exceptions for
snake_case in the GMP responses have been added.
* Add: conditional route component for feature flag
* add test
* Update ConditionalRoute.jsx
* Deps: Bump @testing-library/react from 15.0.6 to 16.0.0 (#4091)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 15.0.6 to 16.0.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v15.0.6...v16.0.0)
---
updated-dependencies:
- dependency-name: "@testing-library/react"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: daniele-mng
* Deps: Bump uuid from 9.0.1 to 10.0.0 (#4086)
Bumps [uuid](https://github.com/uuidjs/uuid) from 9.0.1 to 10.0.0.
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.1...v10.0.0)
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: daniele-mng
* Deps: Bump @sentry/react from 8.7.0 to 8.13.0 (#4089)
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript) from 8.7.0 to 8.13.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.7.0...8.13.0)
---
updated-dependencies:
- dependency-name: "@sentry/react"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: daniele-mng
* Deps: Bump prettier from 3.2.5 to 3.3.2 (#4090)
Bumps [prettier](https://github.com/prettier/prettier) from 3.2.5 to 3.3.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.2.5...3.3.2)
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: daniele-mng
* Deps: Bump the patch-updates group across 1 directory with 7 updates (#4096)
Bumps the patch-updates group with 7 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) | `2.2.5` | `2.2.6` |
| [qs](https://github.com/ljharb/qs) | `6.12.1` | `6.12.3` |
| [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) | `7.24.6` | `7.24.7` |
| [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) | `6.4.5` | `6.4.6` |
| [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `4.3.0` | `4.3.1` |
| [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) | `7.34.2` | `7.34.3` |
| [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) | `0.4.7` | `0.4.8` |
Updates `@reduxjs/toolkit` from 2.2.5 to 2.2.6
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v2.2.5...v2.2.6)
Updates `qs` from 6.12.1 to 6.12.3
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.12.1...v6.12.3)
Updates `@babel/cli` from 7.24.6 to 7.24.7
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.7/packages/babel-cli)
Updates `@testing-library/jest-dom` from 6.4.5 to 6.4.6
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.5...v6.4.6)
Updates `@vitejs/plugin-react` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.3.1/packages/plugin-react)
Updates `eslint-plugin-react` from 7.34.2 to 7.34.3
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.2...v7.34.3)
Updates `eslint-plugin-react-refresh` from 0.4.7 to 0.4.8
- [Release notes](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases)
- [Changelog](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.7...v0.4.8)
---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: qs
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: "@babel/cli"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: "@vitejs/plugin-react"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: eslint-plugin-react-refresh
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: patch-updates
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: daniele-mng
* Deps: Bump vite from 5.2.12 to 5.3.3 (#4100)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.2.12 to 5.3.3.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.3/packages/vite)
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: daniele-mng
* Deps: Bump typescript from 5.4.5 to 5.5.3 (#4101)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.5 to 5.5.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.3)
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Deps: Bump @typescript-eslint/eslint-plugin from 7.12.0 to 7.16.0 (#4099)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.12.0 to 7.16.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.0/packages/eslint-plugin)
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Deps: Bump @typescript-eslint/parser from 7.12.0 to 7.16.0 (#4097)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.12.0 to 7.16.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.0/packages/parser)
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix: bug loading status button in download report dialog
* Fix: Make report configs optional in alerts and reports
If the report configs are not available, the report export and alert
dialogs will hide the report config fields.
This will make the dialogs work as expected if the report config
commands are disabled.
* Use withCapabilities in alert method parts
Instead of passing the capabilities as a prop, use withCapabilities in
the dialog part components for the alert methods SCP, Send, SMB and
Verinice.
* Use useCapabilities hook in alert method parts
Instead of using the withCapabilities HOC, the alert method parts now
use the useCapabilities hook.
* Automatic release to 23.2.0
* Automatic adjustments after release [skip ci]
* Update to version 23.2.1-dev1
* Fix: Disable mangling in production build minify
The production build now uses terser with the "mangle" option
deactivated.
This addresses a false positive Lintian warning from a mangled variable
name.
* Automatic release to 23.2.1
* Automatic adjustments after release [skip ci]
* Update to version 23.2.2-dev1
* Bump fast-xml-parser from 4.3.6 to 4.4.1
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.3.6 to 4.4.1.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.3.6...v4.4.1)
---
updated-dependencies:
- dependency-name: fast-xml-parser
dependency-type: direct:production
...
Signed-off-by: dependabot[bot]
* add: cvss 4 calculator missing de translation
* Deps: Bump eslint-plugin-react from 7.34.3 to 7.35.0 (#4118)
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.34.3 to 7.35.0.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.3...v7.35.0)
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Deps: Bump @typescript-eslint/parser from 7.16.0 to 7.18.0 (#4114)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.16.0 to 7.18.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.18.0/packages/parser)
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: daniele-mng
* Deps: Bump i18next from 23.11.5 to 23.12.2 (#4117)
Bumps [i18next](https://github.com/i18next/i18next) from 23.11.5 to 23.12.2.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v23.11.5...v23.12.2)
---
updated-dependencies:
- dependency-name: i18next
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Deps: Bump @typescript-eslint/eslint-plugin from 7.16.0 to 8.0.0 (#4113)
* Deps: Bump @typescript-eslint/eslint-plugin from 7.16.0 to 8.0.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.16.0 to 8.0.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.0.0/packages/eslint-plugin)
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot]
* update ts eslint parser version
---------
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: daniele-mng
* Deps: Bump @sentry/react from 8.13.0 to 8.22.0 (#4119)
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript) from 8.13.0 to 8.22.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.13.0...8.22.0)
---
updated-dependencies:
- dependency-name: "@sentry/react"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Deps: Bump the patch-updates group with 9 updates (#4112)
Bumps the patch-updates group with 9 updates:
| Package | From | To |
| --- | --- | --- |
| [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) | `2.2.6` | `2.2.7` |
| [downshift](https://github.com/downshift-js/downshift) | `9.0.6` | `9.0.7` |
| [styled-components](https://github.com/styled-components/styled-components) | `6.1.11` | `6.1.12` |
| [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) | `7.24.7` | `7.24.8` |
| [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) | `6.4.6` | `6.4.8` |
| [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) | `0.4.8` | `0.4.9` |
| [prettier](https://github.com/prettier/prettier) | `3.3.2` | `3.3.3` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.5.3` | `5.5.4` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.3.3` | `5.3.5` |
Updates `@reduxjs/toolkit` from 2.2.6 to 2.2.7
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v2.2.6...v2.2.7)
Updates `downshift` from 9.0.6 to 9.0.7
- [Release notes](https://github.com/downshift-js/downshift/releases)
- [Changelog](https://github.com/downshift-js/downshift/blob/master/CHANGELOG.md)
- [Commits](https://github.com/downshift-js/downshift/compare/v9.0.6...v9.0.7)
Updates `styled-components` from 6.1.11 to 6.1.12
- [Release notes](https://github.com/styled-components/styled-components/releases)
- [Commits](https://github.com/styled-components/styled-components/compare/v6.1.11...v6.1.12)
Updates `@babel/cli` from 7.24.7 to 7.24.8
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.8/packages/babel-cli)
Updates `@testing-library/jest-dom` from 6.4.6 to 6.4.8
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.6...v6.4.8)
Updates `eslint-plugin-react-refresh` from 0.4.8 to 0.4.9
- [Release notes](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases)
- [Changelog](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.8...v0.4.9)
Updates `prettier` from 3.3.2 to 3.3.3
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.3.2...3.3.3)
Updates `typescript` from 5.5.3 to 5.5.4
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.3...v5.5.4)
Updates `vite` from 5.3.3 to 5.3.5
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.5/packages/vite)
---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: downshift
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: styled-components
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: "@babel/cli"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: eslint-plugin-react-refresh
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: vite
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: patch-updates
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Deps: Bump @vitest/ui from 1.6.0 to 2.0.5 (#4116)
* Deps: Bump @vitest/ui from 1.6.0 to 2.0.5
Bumps [@vitest/ui](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui) from 1.6.0 to 2.0.5.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.0.5/packages/ui)
---
updated-dependencies:
- dependency-name: "@vitest/ui"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot]
* update dep
---------
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: daniele-mng
* Add: Add opensight-ui-components and mantine for new UI
Start to implement new UI components for GSA.
* Add: Add new components for row and column layouts
Both components are based on mantine and flexbox. They are intended to
replace Layout especially in dialogs.
* Add: Add useValueChange hook for form components
All form components should be able to call the onChange handler with the
value, name pair. Therefore introduce a generic hook to abstract the
event handling.
* Provide userEvent from @testing-library/user-event@14
Use latest release of userEvent.
* Render theme provider for opensight-ui in tests
The theme provider is required to be able to test components based on
opensight-ui and mantine.
* Setup ResizeObserver for components based on opensight-ui/mantine
The ResizeObserver is required to be able to run the tests for
opensight based components.
* Add: Add a hook to load the user's capabilities from the backend
The capabilities of the user are provided via a react context and
therefore it should be able to load them independently from the redux
store.
* Add: Add hooks for handling the filter dialog state
Using the new hooks allows to rewrite all filter dialogs to function
components more easily.
* Add theme provider for opensight-ui based components
When rendering the react app the theme provider for mantine is required.
* Change: Refactor all form UI components
Use opensight-ui and mantine for all form components. With this change
all the form components are refreshed in their visual appearance.
* Change: Rework dialog components to use Modal as base
Update Dialog component to use the Model component from opensight for
improved UI.
* Add: Implement new Menu
Use opensight AppNavigation to implement a new menu.
* Add: Implement new Menubar
Use new AppBar from opensight.
* Fix rendering of list page content
Align the content of list pages at the top.
* Change: Adjust login page for new UI
Use new form components for updated UI at the login page.
* Change: Update DialogNotification for new Dialog UI
Adjust the DialogNotification component for new Dialog.
* Change: Refactor TrashCan page to function component with new UI
Adjust TrashCan page for new UI.
* Improve dialog footer layout
* Change: Update wizards for new UI
Adjust layout of wizard dialogs for new UI.
* Change: Adjust dashboard dialogs for new UI
* Change: Adjust performance page for new UI
Fix the layout of the performance page.
* Change: Adjust powerfilter components for new UI elements
* Change: Update create and edit dialog to new UI layout
Adjust create and edit dialogs for new UI components and layout.
* Change: Update usersettings dialog to new UI
* Change: Update all filter dialogs for new UI
Adjust the filter dialogs of all list pages.
* Update menu entries
Fix the CPE icon and update the menu entries to use contain necessary
object properties.
* Fix issue with using opensight-ui as CJS but shipping with ESM
```
SyntaxError: Unexpected token 'export'
Module /node_modules/@greenbone/opensight-ui-components/lib/utils/compareHelper.js:1 seems to be an ES Module but shipped in a CommonJS package. You might want to create an issue to the package "@greenbone/opensight-ui-components" asking them to ship the file in .mjs extension or add "type": "module" in their package.json.
As a temporary workaround you can try to inline the package by updating your config:
// vitest.config.js
export default {
test: {
server: {
deps: {
inline: [
"@greenbone/opensight-ui-components"
]
}
}
}
}
```
* Deploy compose file automatically
* Deploy compose file automatically
* Remove obsolete dialog components
These components are obsolete since we are using the Modal component
from opensight-ui/mantine now.
* Use react-i18next to initialize translations for opensight-ui
* Change: Don't require the to prop for Link component
Actually it is optional and it is set to an empty string by default
already.
* Extract opensight-ui and its dependencies into an own chunk
Split the required js code for opensigth-ui into an own chunk bundle for
production builds.
* Provide a mock implementation for window.matchMedia
It seems window.matchMedia is required for the Select components now.
Thus implement a mock of the API for being able to test the select
components.
* Change: Remove obsolete TitleBar component
The TitleBar is not used anymore.
* Fix, update and improve dialog tests
Get the tests for the dialog components running again, drop all
snapshots because with mantine they aren't stable anymore and improve
testing specific component parts by adding getter functions.
* Update form tests for new testing functions
The getters for specific components were extracted into a testing
module.
* Update all powerfilter component tests
Fix and update all powerfilter tests by adapting to new form components
and using the testing getters.
* Fix remaining web/component tests
* Fix additional tests and components
* Update and improve layout of alert dialog
* Rename function method from clickItem to clickElement
clickElement is more generic because the function allows to send a click
event on arbitrary HTML elements not only select items.
* Fix typo for flexbox layout `stetch` -> `stretch`
* Make component testing functions more flexible
Allow for querying within a specific parent element. This will allow for
easier usage of the testing functions within pages tests where
components like select boxes may be rendered at several places.
* Extend the testing functions for querying pages tests components
We need to be able to test the bulk actions. Therefore is is required to
query for the table footer, the table and the check boxes within and the
bulk action icons.
* Fix the alert page tests
* Add testing function for getting action items
Action items are icons that cause some action on use clicks.
* Update audit tests
Testing clicking on export, start and resume for the detailspage doesn't
work at the moment. The click handler is just not called.
* Update cpe pages tests
* Define where to find the `@gsa/testing` module
Allow completion for expect, etc. in VS code.
* Add testing functions for getting the dialog buttons
* Fix getting the options of select components
It seems queryAllByRole doesn't return the desired elements under some
circumstances. Therefore use an easier query for getting the options.
* Add a changeInputValue testing method
Abstract fireEvent for changing the value of an input element.
* Update and fix credential pages tests
* Update and fix cve pages tests
* Update and fix cvss calculator page tests
* Drop snapshot test for dialog closebutton
The snapshot test are not very useful and prone for changes which get
applied without a deeper review.
* Update and fix about page tests
* Update and fix LDAP page tests
* Update and fix tests for hosts list page
* Update and fix radius page tests
* Update and fix notes list page tests
* Update and fix NVT list page tests
* Update and fix overrides list page tests
* Update and improve policies pages
* Allow for easier testing of multiselect components
Add testing function for easier testing the behavior of multiselect
components.
* Update and fix report config pages tests
* Allow to display a menu entry for asset management
* Update and fix report pages tests
* Update and fix result pages tests
* Add a testing function for getting a table header
Besides getting the footer and body also allow to get the header of a
table.
* Update and fix scan config pages tests
* Update and fix scanner dialog tests
* Update and fix schedule pages tests
* Update and fix ticket pages tests
* Update and fix task pages tests
* Update and fix tls cert list page tests
* Add a testing function for getting file inputs
* Update and fix target pages tests
* Avoid issues causing flaky tests with pointer events
When clicking on multiselects sometimes user event complained about
`pointer-events` css property being `none`. Avoid this issue by not
checking for `pointer-event` at all.
* Fix warning about emotion css-in-js library already loaded during tests
The emotion library has a check if global vi or jest is set to detect if
it is running in a testing environment. Therefore just an empty vi
object for the tests to keep it quiet.
* Use an own language switcher component for the app header
Add a draft for toggling the language between en and de via a language
switcher in the app header.
* Mark asset-management link as external
asset-mangement is an external application and therefore internal links
can't be used.
* Change: powerFilter width and select loading state
* fix test
* add: new UI error
* add dependency lucide-react
* Add: ci job to run on opensight-ui branch (#4105)
* Change: opensight version 0.3.0
* Add: Session timer
* Add: opensight date picker
* add tests
* remove unused dep
* split date and time components
* add test
* fix imports
* add missing props to select timezone
* Fix: Error panel in dialog (#4106)
* fix: Select component label (#4107)
* rebase fix
---------
Signed-off-by: dependabot[bot]
Co-authored-by: Björn Ricks
Co-authored-by: Ahmed Abdelsalam
Co-authored-by: Ahmed <144101267+a-h-abdelsalam@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Timo Pollmeier
Co-authored-by: Greenbone Bot
Co-authored-by: pascalholthaus <94793111+pascalholthaus@users.noreply.github.com>
---
.docker/prod.Dockerfile | 2 +-
.eslintrc.cjs | 9 +
.github/workflows/container.yml | 2 +-
.github/workflows/dependency-review.yml | 1 +
.github/workflows/push.yml | 26 +
.github/workflows/release-pontos.yml | 2 +-
README.md | 10 +-
allowedSnakeCase.cjs | 690 +++
package-lock.json | 4167 ++++-------------
package.json | 54 +-
public/locales/gsa-de.json | 36 +
scripts/cleanuptranslations.js | 15 +-
src/gmp/__tests__/parser.js | 191 +-
.../capabilities/__tests__/capabilities.js | 13 +
src/gmp/capabilities/capabilities.js | 26 +-
src/gmp/capabilities/everything.js | 1 +
src/gmp/commands/__tests__/user.js | 55 +
src/gmp/commands/alerts.js | 23 +-
src/gmp/commands/users.js | 3 +-
src/gmp/gmpsettings.js | 2 +
src/gmp/models/__tests__/cve.js | 34 +-
src/gmp/models/cve.js | 20 +-
src/gmp/parser/__tests__/cvssV4.js | 136 +
src/gmp/parser/cvss.js | 161 +-
src/gmp/parser/cvssV4.js | 210 +
src/version.js | 2 +-
.../__tests__/__snapshots__/badge.jsx.snap | 96 -
src/web/components/badge/__tests__/badge.jsx | 2 +-
.../__snapshots__/progressbar.jsx.snap | 127 -
.../__snapshots__/severitybar.jsx.snap | 131 -
.../__snapshots__/statusbar.jsx.snap | 71 -
.../__tests__/__snapshots__/titlebar.jsx.snap | 603 ---
.../components/bar/__tests__/progressbar.jsx | 2 +-
.../components/bar/__tests__/severitybar.jsx | 2 +-
.../conditionalRoute/ConditionalRoute.jsx | 30 +
.../__tests__/ConditionalRoute.jsx | 47 +
src/web/components/date/datetime.jsx | 2 +-
.../dialog/__tests__/closebutton.jsx | 4 +-
src/web/components/dialog/closebutton.jsx | 34 +-
src/web/components/dialog/dialog.jsx | 8 +-
src/web/components/form/ErrorMarker.jsx | 32 +
.../components/form/__tests__/multiselect.jsx | 4 +-
src/web/components/form/__tests__/select.jsx | 3 +-
.../components/form/__tests__/useDownload.jsx | 40 +
.../form/{useDownload.jsx => useDownload.js} | 0
...ormValidation.jsx => useFormValidation.js} | 24 +-
.../{useFormValues.jsx => useFormValues.js} | 1 -
.../__snapshots__/arrowicon.jsx.snap | 45 -
.../__snapshots__/solutiontypeicon.jsx.snap | 272 --
.../__tests__/__snapshots__/svgicon.jsx.snap | 52 -
.../components/icon/__tests__/arrowicon.jsx | 4 +-
src/web/components/icon/__tests__/icon.jsx | 33 +
.../icon/__tests__/solutiontypeicon.jsx | 16 +-
src/web/components/icon/__tests__/svgicon.jsx | 5 +-
src/web/components/icon/arrowicon.jsx | 31 +-
src/web/components/icon/icon.jsx | 156 +-
src/web/components/icon/svgicon.jsx | 37 +-
src/web/components/icon/testing.jsx | 5 +-
src/web/components/icon/withIconSize.jsx | 76 -
src/web/components/icon/withSvgIcon.jsx | 18 +-
src/web/components/img/product.jsx | 2 +-
src/web/components/link/manuallink.jsx | 2 +-
src/web/components/link/protocoldoclink.jsx | 2 +-
.../__tests__/__snapshots__/loading.jsx.snap | 95 -
.../components/loading/__tests__/loading.jsx | 2 +-
src/web/components/menu/menu.jsx | 4 +-
src/web/components/menu/usermenu.jsx | 8 +-
.../notification/licensenotification.jsx | 2 +-
.../applyoverridesgroup.jsx.snap | 405 --
.../__snapshots__/relationselector.jsx.snap | 709 ---
.../severitylevelsgroup.jsx.snap | 312 --
.../severityvaluesgroup.jsx.snap | 915 ----
.../__snapshots__/solutiontypegroup.jsx.snap | 516 --
.../__snapshots__/sortbygroup.jsx.snap | 363 --
.../__snapshots__/tasktrendgroup.jsx.snap | 841 ----
.../__snapshots__/ticketstatusgroup.jsx.snap | 841 ----
.../__tests__/applyoverridesgroup.jsx | 2 +-
.../__tests__/booleanfiltergroup.jsx | 149 -
.../__tests__/createnamedfiltergroup.jsx | 126 -
.../__tests__/filtersearchgroup.jsx | 60 -
.../__tests__/filterstringgroup.jsx | 82 -
.../__tests__/firstresultgroup.jsx | 76 -
.../powerfilter/__tests__/minqodgroup.jsx | 77 -
.../__tests__/relationselector.jsx | 2 +-
.../__tests__/resultsperpagegroup.jsx | 76 -
.../__tests__/severitylevelsgroup.jsx | 2 +-
.../__tests__/severityvaluesgroup.jsx | 2 +-
.../__tests__/solutiontypegroup.jsx | 2 +-
.../powerfilter/__tests__/sortbygroup.jsx | 2 +-
.../powerfilter/__tests__/tasktrendgroup.jsx | 2 +-
.../__tests__/ticketstatusgroup.jsx | 2 +-
src/web/components/powerfilter/dialog.jsx | 3 +-
.../powerfilter/useFilterDialogSave.jsx | 2 +-
.../components/provider/licenseprovider.jsx | 2 +-
.../components/sessionTimer/SessionTimer.jsx | 2 +-
.../components/structure/__tests__/header.jsx | 24 -
src/web/components/structure/header.jsx | 6 +-
src/web/entities/BulkTags.jsx | 236 +
src/web/entities/__tests__/BulkTags.jsx | 206 +
.../__tests__/useEntitiesReloadInterval.jsx | 98 +
src/web/entities/filterprovider.jsx | 120 +-
src/web/entities/tagsdialog.jsx | 7 +
src/web/entities/useEntitiesReloadInterval.js | 52 +
.../__tests__/useCapabilities.jsx | 4 +-
src/web/hooks/__tests__/useFilterSortBy.jsx | 67 +
src/web/{utils => hooks}/__tests__/useGmp.jsx | 2 +-
src/web/hooks/__tests__/useIconSize.jsx | 32 +
.../hooks/__tests__/useInstanceVariable.jsx | 45 +
src/web/hooks/__tests__/usePageFilter.jsx | 378 ++
src/web/hooks/__tests__/usePagination.jsx | 108 +
src/web/hooks/__tests__/usePreviousValue.jsx | 41 +
src/web/hooks/__tests__/useReload.jsx | 188 +
src/web/hooks/__tests__/useSelection.jsx | 78 +
.../__tests__/useShallowEqualSelector.jsx | 96 +
src/web/hooks/__tests__/useTiming.jsx | 141 +
.../__tests__/useUserName.jsx | 2 +-
.../__tests__/useUserSessionTimeout.jsx | 4 +-
.../__tests__/useUserTimezone.jsx | 2 +-
.../useCapabilities.js} | 0
src/web/hooks/useFilterSortBy.js | 49 +
src/web/{utils/useGmp.jsx => hooks/useGmp.js} | 0
src/web/hooks/useIconSize.js | 45 +
src/web/hooks/useInstanceVariable.js | 26 +
.../useLicense.jsx => hooks/useLicense.js} | 0
src/web/hooks/useLoadCapabilities.jsx | 2 +-
src/web/hooks/{useLocale.jsx => useLocale.js} | 0
src/web/hooks/usePageFilter.js | 183 +
src/web/hooks/usePagination.js | 54 +
src/web/hooks/usePreviousValue.js | 35 +
src/web/hooks/useReload.js | 47 +
src/web/hooks/useSelection.js | 58 +
src/web/hooks/useShallowEqualSelector.js | 20 +
src/web/hooks/useTiming.js | 107 +
.../{useTranslation.jsx => useTranslation.js} | 0
.../useUserIsLoggedIn.js} | 0
.../useUserName.jsx => hooks/useUserName.js} | 0
.../useUserSessionTimeout.js} | 2 +-
.../useUserTimezone.js} | 0
src/web/pages/alerts/emailmethodpart.jsx | 46 +-
src/web/pages/alerts/scpmethodpart.jsx | 26 +-
src/web/pages/alerts/sendmethodpart.jsx | 26 +-
src/web/pages/alerts/smbmethodpart.jsx | 23 +-
src/web/pages/alerts/verinicemethodpart.jsx | 24 +-
src/web/pages/audits/__tests__/actions.jsx | 4 +-
.../pages/audits/__tests__/detailspage.jsx | 4 +
src/web/pages/audits/__tests__/listpage.jsx | 5 +-
src/web/pages/audits/__tests__/row.jsx | 2 +
src/web/pages/audits/__tests__/table.jsx | 1 +
src/web/pages/audits/dialog.jsx | 2 +-
src/web/pages/credentials/listpage.jsx | 2 +-
src/web/pages/cves/__tests__/detailspage.jsx | 21 +-
src/web/pages/cves/__tests__/listpage.jsx | 2 +-
src/web/pages/cves/__tests__/table.jsx | 12 +-
src/web/pages/cves/details.jsx | 14 +-
src/web/pages/cves/row.jsx | 74 +-
src/web/pages/cves/table.jsx | 50 +-
.../pages/extras/cvssV4/CvssV4Calculator.jsx | 117 +
src/web/pages/extras/cvssV4/Metrics.jsx | 28 +
src/web/pages/extras/cvssV4/MetricsGroups.jsx | 47 +
.../cvssV4/__tests__/cvssV4Calculator.jsx | 129 +
.../pages/extras/cvssV4/__tests__/metrics.jsx | 36 +
src/web/pages/extras/cvssV4/cvssConfig.js | 342 ++
src/web/pages/extras/cvsscalculatorpage.jsx | 119 +-
src/web/pages/extras/feedstatuspage.jsx | 2 +-
src/web/pages/extras/trashcanpage.jsx | 6 +-
src/web/pages/filters/listpage.jsx | 2 +-
src/web/pages/groups/listpage.jsx | 2 +-
src/web/pages/notes/filterdialog.jsx | 2 +-
src/web/pages/nvts/__tests__/detailspage.jsx | 10 +-
src/web/pages/nvts/__tests__/listpage.jsx | 4 +-
src/web/pages/nvts/details.jsx | 38 +-
src/web/pages/nvts/row.jsx | 24 +-
src/web/pages/nvts/table.jsx | 49 +-
src/web/pages/overrides/filterdialog.jsx | 2 +-
src/web/pages/performance/performancepage.jsx | 2 +-
src/web/pages/permissions/dialog.jsx | 2 +-
src/web/pages/permissions/listpage.jsx | 2 +-
src/web/pages/permissions/multipledialog.jsx | 2 +-
.../pages/policies/__tests__/detailspage.jsx | 3 +
src/web/pages/policies/__tests__/listpage.jsx | 1 +
src/web/pages/policies/__tests__/row.jsx | 1 +
src/web/pages/policies/__tests__/table.jsx | 1 +
src/web/pages/policies/listpage.jsx | 2 +-
src/web/pages/portlists/listpage.jsx | 318 +-
.../reportconfigs/__tests__/detailspage.jsx | 1 +
.../reportconfigs/__tests__/listpage.jsx | 3 +-
src/web/pages/reportconfigs/__tests__/row.jsx | 2 +
src/web/pages/reportconfigs/listpage.jsx | 2 +-
src/web/pages/reportformats/listpage.jsx | 2 +-
src/web/pages/reports/deltadetailspage.jsx | 30 +-
src/web/pages/reports/detailsfilterdialog.jsx | 2 +-
.../pages/reports/downloadreportdialog.jsx | 52 +-
src/web/pages/reports/filterdialog.jsx | 2 +-
.../pages/results/__tests__/detailspage.jsx | 40 +-
src/web/pages/results/__tests__/row.jsx | 55 +-
src/web/pages/results/detailspage.jsx | 84 +-
src/web/pages/results/filterdialog.jsx | 10 +-
src/web/pages/results/row.jsx | 17 +-
src/web/pages/results/table.jsx | 31 +-
src/web/pages/roles/listpage.jsx | 2 +-
.../scanconfigs/__tests__/detailspage.jsx | 3 +
.../__tests__/editconfigfamilydialog.jsx | 4 +
.../pages/scanconfigs/__tests__/listpage.jsx | 1 +
src/web/pages/scanconfigs/__tests__/row.jsx | 1 +
src/web/pages/scanconfigs/__tests__/table.jsx | 1 +
src/web/pages/scanners/detailspage.jsx | 2 +-
src/web/pages/scanners/dialog.jsx | 2 +-
src/web/pages/scanners/listpage.jsx | 4 +-
src/web/pages/scanners/row.jsx | 2 +-
src/web/pages/schedules/listpage.jsx | 2 +-
src/web/pages/tags/dialog.jsx | 1 +
src/web/pages/tags/listpage.jsx | 2 +-
src/web/pages/targets/listpage.jsx | 2 +-
src/web/pages/tasks/__tests__/detailspage.jsx | 4 +
src/web/pages/tasks/__tests__/listpage.jsx | 2 +
src/web/pages/tasks/__tests__/trend.jsx | 2 +-
src/web/pages/tasks/filterdialog.jsx | 2 +-
src/web/pages/tasks/listpage.jsx | 2 +-
.../pages/tickets/__tests__/createdialog.jsx | 42 +
src/web/pages/tickets/filterdialog.jsx | 2 +-
src/web/pages/users/dialog.jsx | 4 +-
src/web/pages/users/listpage.jsx | 2 +-
src/web/pages/usersettings/defaultspart.jsx | 2 +-
src/web/pages/usersettings/dialog.jsx | 2 +-
.../pages/usersettings/usersettingspage.jsx | 2 +-
src/web/pages/vulns/filterdialog.jsx | 2 +-
src/web/setupTests.js | 1 +
src/web/store/dashboard/settings/reducers.js | 1 +
src/web/store/index.js | 1 +
.../usersettings/defaultfilters/selectors.js | 1 +
src/web/store/usersettings/reducers.js | 1 +
src/web/store/usersettings/selectors.js | 1 +
src/web/utils/__tests__/useUserIsLoggedIn.jsx | 47 -
src/web/utils/testing.jsx | 2 +
src/web/wizard/advancedtaskwizard.jsx | 2 +-
src/web/wizard/modifytaskwizard.jsx | 2 +-
vite.config.ts | 4 +
237 files changed, 6913 insertions(+), 11372 deletions(-)
create mode 100644 .github/workflows/push.yml
create mode 100644 allowedSnakeCase.cjs
create mode 100644 src/gmp/parser/__tests__/cvssV4.js
create mode 100644 src/gmp/parser/cvssV4.js
delete mode 100644 src/web/components/badge/__tests__/__snapshots__/badge.jsx.snap
delete mode 100644 src/web/components/bar/__tests__/__snapshots__/progressbar.jsx.snap
delete mode 100644 src/web/components/bar/__tests__/__snapshots__/severitybar.jsx.snap
delete mode 100644 src/web/components/bar/__tests__/__snapshots__/titlebar.jsx.snap
create mode 100644 src/web/components/conditionalRoute/ConditionalRoute.jsx
create mode 100644 src/web/components/conditionalRoute/__tests__/ConditionalRoute.jsx
create mode 100644 src/web/components/form/ErrorMarker.jsx
create mode 100644 src/web/components/form/__tests__/useDownload.jsx
rename src/web/components/form/{useDownload.jsx => useDownload.js} (100%)
rename src/web/components/form/{useFormValidation.jsx => useFormValidation.js} (81%)
rename src/web/components/form/{useFormValues.jsx => useFormValues.js} (99%)
delete mode 100644 src/web/components/icon/__tests__/__snapshots__/arrowicon.jsx.snap
delete mode 100644 src/web/components/icon/__tests__/__snapshots__/solutiontypeicon.jsx.snap
delete mode 100644 src/web/components/icon/__tests__/__snapshots__/svgicon.jsx.snap
create mode 100644 src/web/components/icon/__tests__/icon.jsx
delete mode 100644 src/web/components/icon/withIconSize.jsx
delete mode 100644 src/web/components/loading/__tests__/__snapshots__/loading.jsx.snap
delete mode 100644 src/web/components/powerfilter/__tests__/__snapshots__/applyoverridesgroup.jsx.snap
delete mode 100644 src/web/components/powerfilter/__tests__/__snapshots__/relationselector.jsx.snap
delete mode 100644 src/web/components/powerfilter/__tests__/__snapshots__/severitylevelsgroup.jsx.snap
delete mode 100644 src/web/components/powerfilter/__tests__/__snapshots__/severityvaluesgroup.jsx.snap
delete mode 100644 src/web/components/powerfilter/__tests__/__snapshots__/solutiontypegroup.jsx.snap
delete mode 100644 src/web/components/powerfilter/__tests__/__snapshots__/sortbygroup.jsx.snap
delete mode 100644 src/web/components/powerfilter/__tests__/__snapshots__/tasktrendgroup.jsx.snap
delete mode 100644 src/web/components/powerfilter/__tests__/__snapshots__/ticketstatusgroup.jsx.snap
delete mode 100644 src/web/components/powerfilter/__tests__/booleanfiltergroup.jsx
delete mode 100644 src/web/components/powerfilter/__tests__/createnamedfiltergroup.jsx
delete mode 100644 src/web/components/powerfilter/__tests__/filtersearchgroup.jsx
delete mode 100644 src/web/components/powerfilter/__tests__/filterstringgroup.jsx
delete mode 100644 src/web/components/powerfilter/__tests__/firstresultgroup.jsx
delete mode 100644 src/web/components/powerfilter/__tests__/minqodgroup.jsx
delete mode 100644 src/web/components/powerfilter/__tests__/resultsperpagegroup.jsx
delete mode 100644 src/web/components/structure/__tests__/header.jsx
create mode 100644 src/web/entities/BulkTags.jsx
create mode 100644 src/web/entities/__tests__/BulkTags.jsx
create mode 100644 src/web/entities/__tests__/useEntitiesReloadInterval.jsx
create mode 100644 src/web/entities/useEntitiesReloadInterval.js
rename src/web/{utils => hooks}/__tests__/useCapabilities.jsx (92%)
create mode 100644 src/web/hooks/__tests__/useFilterSortBy.jsx
rename src/web/{utils => hooks}/__tests__/useGmp.jsx (92%)
create mode 100644 src/web/hooks/__tests__/useIconSize.jsx
create mode 100644 src/web/hooks/__tests__/useInstanceVariable.jsx
create mode 100644 src/web/hooks/__tests__/usePageFilter.jsx
create mode 100644 src/web/hooks/__tests__/usePagination.jsx
create mode 100644 src/web/hooks/__tests__/usePreviousValue.jsx
create mode 100644 src/web/hooks/__tests__/useReload.jsx
create mode 100644 src/web/hooks/__tests__/useSelection.jsx
create mode 100644 src/web/hooks/__tests__/useShallowEqualSelector.jsx
create mode 100644 src/web/hooks/__tests__/useTiming.jsx
rename src/web/{utils => hooks}/__tests__/useUserName.jsx (94%)
rename src/web/{utils => hooks}/__tests__/useUserSessionTimeout.jsx (89%)
rename src/web/{utils => hooks}/__tests__/useUserTimezone.jsx (94%)
rename src/web/{utils/useCapabilities.jsx => hooks/useCapabilities.js} (100%)
create mode 100644 src/web/hooks/useFilterSortBy.js
rename src/web/{utils/useGmp.jsx => hooks/useGmp.js} (100%)
create mode 100644 src/web/hooks/useIconSize.js
create mode 100644 src/web/hooks/useInstanceVariable.js
rename src/web/{utils/useLicense.jsx => hooks/useLicense.js} (100%)
rename src/web/hooks/{useLocale.jsx => useLocale.js} (100%)
create mode 100644 src/web/hooks/usePageFilter.js
create mode 100644 src/web/hooks/usePagination.js
create mode 100644 src/web/hooks/usePreviousValue.js
create mode 100644 src/web/hooks/useReload.js
create mode 100644 src/web/hooks/useSelection.js
create mode 100644 src/web/hooks/useShallowEqualSelector.js
create mode 100644 src/web/hooks/useTiming.js
rename src/web/hooks/{useTranslation.jsx => useTranslation.js} (100%)
rename src/web/{utils/useUserIsLoggedIn.jsx => hooks/useUserIsLoggedIn.js} (100%)
rename src/web/{utils/useUserName.jsx => hooks/useUserName.js} (100%)
rename src/web/{utils/useUserSessionTimeout.jsx => hooks/useUserSessionTimeout.js} (97%)
rename src/web/{utils/useUserTimezone.jsx => hooks/useUserTimezone.js} (100%)
create mode 100644 src/web/pages/extras/cvssV4/CvssV4Calculator.jsx
create mode 100644 src/web/pages/extras/cvssV4/Metrics.jsx
create mode 100644 src/web/pages/extras/cvssV4/MetricsGroups.jsx
create mode 100644 src/web/pages/extras/cvssV4/__tests__/cvssV4Calculator.jsx
create mode 100644 src/web/pages/extras/cvssV4/__tests__/metrics.jsx
create mode 100644 src/web/pages/extras/cvssV4/cvssConfig.js
delete mode 100644 src/web/utils/__tests__/useUserIsLoggedIn.jsx
diff --git a/.docker/prod.Dockerfile b/.docker/prod.Dockerfile
index c3aa4826e3..6d7df41079 100644
--- a/.docker/prod.Dockerfile
+++ b/.docker/prod.Dockerfile
@@ -1,7 +1,7 @@
ARG VERSION=stable
ARG DEBIAN_FRONTEND=noninteractive
-FROM --platform=linux/amd64 debian:stable-slim as builder
+FROM debian:stable-slim as builder
ENV NODE_VERSION=node_18.x
ENV NODE_KEYRING=/usr/share/keyrings/nodesource.gpg
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index e1fb300d68..3c4373bc58 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -1,3 +1,5 @@
+const allowedSnakeCase = require('./allowedSnakeCase.cjs');
+
module.exports = {
ignorePatterns: ['build', '.eslintrc.cjs'],
extends: [
@@ -31,6 +33,13 @@ module.exports = {
'warn',
{ignore: ['children', 'className', 'location']},
],
+ camelcase: [
+ 'warn',
+ {
+ allow: allowedSnakeCase,
+ properties: 'always',
+ },
+ ],
'no-case-declarations': 'off',
'no-unused-vars': [
'warn',
diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml
index a62b6b28a6..80ef5f1749 100644
--- a/.github/workflows/container.yml
+++ b/.github/workflows/container.yml
@@ -85,7 +85,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Container image
- uses: docker/build-push-action@v5
+ uses: docker/build-push-action@v6
with:
context: .
push: true
diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml
index 36afcc3257..d4be39743d 100644
--- a/.github/workflows/dependency-review.yml
+++ b/.github/workflows/dependency-review.yml
@@ -3,6 +3,7 @@ on: [pull_request]
permissions:
contents: read
+ pull-requests: write
jobs:
dependency-review:
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
new file mode 100644
index 0000000000..0c27150a3e
--- /dev/null
+++ b/.github/workflows/push.yml
@@ -0,0 +1,26 @@
+name: Build and Push to Greenbone Registry
+
+on:
+ push:
+ branches: [ main ]
+ tags: ["v*"]
+ pull_request:
+ branches: [ main ]
+ workflow_dispatch:
+ inputs:
+ ref-name:
+ type: string
+ description: "The ref to build a container image from. For example a tag v23.0.0."
+ required: true
+
+jobs:
+ build:
+ name: Build and Push to Greenbone Registry
+ uses: greenbone/workflows/.github/workflows/container-build-push-2nd-gen.yml@main
+ with:
+ image-url: community/gsa
+ image-labels: |
+ org.opencontainers.image.vendor=Greenbone
+ org.opencontainers.image.base.name=greenbone/gsad
+ ref-name: ${{ inputs.ref-name }}
+ secrets: inherit
diff --git a/.github/workflows/release-pontos.yml b/.github/workflows/release-pontos.yml
index de5769160f..8bdfc59b2c 100644
--- a/.github/workflows/release-pontos.yml
+++ b/.github/workflows/release-pontos.yml
@@ -66,7 +66,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v4
with:
- node-version: "14"
+ node-version: "18"
cache: "npm"
- name: Install npm dependencies
run: npm install
diff --git a/README.md b/README.md
index 4aaec73d86..31b2b60f6f 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,7 @@ written in [React](https://reactjs.org/).
- [vendorLabel](#vendorlabel)
- [guestUsername and guestPassword](#guestusername-and-guestpassword)
- [disableLoginForm](#disableloginform)
+ - [enableEPSS](#enableepss)
- [enableStoreDebugLog](#enablestoredebuglog)
- [logLevel](#loglevel)
- [timeout](#timeout)
@@ -235,11 +236,12 @@ instantiated once for the [GSA application](./src/web/app.js#L53)
### Config Variables
| Name | Type | Default | Changeable during runtime | Persistent after reload |
-| ------------------------------------------------- | -------------------------- | -------------------------------------------------------------------------------- | ------------------------- | ----------------------- |
+|---------------------------------------------------|----------------------------|----------------------------------------------------------------------------------|---------------------------|-------------------------|
| [apiProtocol](#apiprotocol) | String ('http' or 'https') | `global.location.protocol` | - | x |
| [apiServer](#apiserver) | String | `global.location.host` | - | x |
| enableGreenboneSensor | Boolean | false | - | x |
| [disableLoginForm](#disableloginform) | Boolean | false | - | x |
+| [enableEPSS](#enableepss) | Boolean | false | x | x |
| [enableStoreDebugLog](#enablestoredebuglog) | Boolean | false | x | x |
| [guestUsername](#guestusername-and-guestpassword) | String | undefined | - | x |
| [guestPassword](#guestusername-and-guestpassword) | String | undefined | - | x |
@@ -279,6 +281,12 @@ will be shown.
This setting allows to deactivate the username password form at the Login page.
It can be used to deactivate login for *normal* users.
+#### enableEPSS
+
+Enables the display of EPSS scores and percentiles in CVEs and NVTs.
+
+The data required for this is not available in the feed yet, so this is disabled by default.
+
#### enableStoreDebugLog
Changes to this settings are persistent during browser reload. If the value has
diff --git a/allowedSnakeCase.cjs b/allowedSnakeCase.cjs
new file mode 100644
index 0000000000..b257daf6f7
--- /dev/null
+++ b/allowedSnakeCase.cjs
@@ -0,0 +1,690 @@
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+module.exports = [
+ 'access_hosts',
+ 'action_result',
+ 'actions_column',
+ 'activation_time',
+ 'active_filter',
+ 'active_notes',
+ 'active_overrides',
+ 'add_tag',
+ 'aggregate_mode',
+ 'aggregate_type',
+ 'alert_email',
+ 'alert_id',
+ 'alert_ids',
+ 'alert_items',
+ 'alert_list',
+ 'alerts_data',
+ 'alive_tests',
+ 'allow_insecure',
+ 'allow_simultaneous_ips',
+ 'apply_overrides',
+ 'apps_array',
+ 'apps_temp',
+ '_asset_id',
+ 'asset_id',
+ 'assigned_to',
+ 'auth_algorithm',
+ 'auth_conf_setting',
+ 'auth_method',
+ 'auth_settings',
+ 'auto_cache_rebuild',
+ 'auto_delete',
+ 'auto_delete_data',
+ 'auto_start',
+ 'av_duration',
+ 'average_duration',
+ 'average_severity',
+ 'average_severity_score',
+ 'backend_operation',
+ 'base_metrics',
+ 'best_os_cpe',
+ 'best_os_txt',
+ 'bulk_select',
+ 'cancel_token',
+ 'can_create_target',
+ 'cap_names',
+ 'ca_pub',
+ 'ca_pub_info',
+ 'c_count',
+ 'cert_bund_adv',
+ 'certificate_info',
+ 'cert_ref',
+ 'certs_array',
+ 'certs_per_port',
+ 'cert_type',
+ 'change_community',
+ 'change_passphrase',
+ 'change_password',
+ 'change_privacy_password',
+ 'change_task',
+ 'client_address',
+ 'closed_cves',
+ 'closed_note',
+ 'closed_time',
+ 'collection_count_parse_func',
+ 'compliance_count',
+ 'component_name',
+ 'condition_data_at_least_count',
+ 'condition_data_at_least_filter_id',
+ 'condition_data_count',
+ 'condition_data_direction',
+ 'condition_data_fields',
+ 'condition_data_filter_id',
+ 'condition_data_filters',
+ 'condition_data_filt_id',
+ 'condition_data_severity',
+ 'config_id',
+ 'config_list',
+ 'config_resp',
+ 'config_resp_all',
+ 'configs_data',
+ 'configurable_formats',
+ 'contents_table',
+ 'content_type',
+ 'convert_allow',
+ 'convert_auth_method',
+ 'convert_data',
+ 'convert_func',
+ 'cpe_host_details',
+ 'created_port_ranges',
+ 'created_port_ranges_copy',
+ 'create_func',
+ 'create_pem_certificate',
+ 'create_values',
+ 'creation_time',
+ 'credential_id',
+ 'credential_list',
+ 'credential_login',
+ 'credentials_data',
+ 'credentials_title',
+ 'credential_type',
+ 'csv_blob',
+ 'csv_data',
+ 'currently_syncing',
+ 'current_report',
+ 'customer_name',
+ 'custom_severity',
+ 'cve_id',
+ 'cve_refs',
+ 'cves_array',
+ 'cvss_base',
+ 'cvss_v2_entries',
+ 'cvss_v3_entries',
+ 'cvss_vector',
+ 'data_all',
+ 'default_item',
+ 'default_item_label',
+ 'default_item_value',
+ 'default_labels',
+ 'default_severity',
+ 'default_timeout',
+ 'default_values',
+ 'deleted_port_ranges',
+ 'deleted_port_ranges_copy',
+ 'delete_func',
+ 'delta_report',
+ 'delta_report_id',
+ 'delta_states',
+ 'delta_type',
+ '_deprecated_by',
+ 'describe_auth_response',
+ 'details_count_for_cpe',
+ 'details_fname',
+ 'detection_details',
+ 'dfn_cert_adv',
+ 'download_title',
+ 'dynamic_severity',
+ 'edit_alert',
+ 'email_credential_filter',
+ 'empty_default',
+ 'end_time',
+ 'entities_filter_func',
+ 'entities_parse_func',
+ 'entity_v2',
+ 'entity_v3',
+ 'errors_array',
+ 'esxi_cred',
+ 'esxi_credential',
+ 'esxi_credential_filter',
+ 'esxi_credential_id',
+ 'event_data',
+ 'event_data_feed_event',
+ 'event_data_fields',
+ 'event_data_modify_task_fields',
+ 'event_data_quick_first_scan_fields',
+ 'event_data_quick_task_fields',
+ 'event_data_secinfo_type',
+ 'event_data_status',
+ 'event_type',
+ 'exclude_array',
+ 'exclude_file',
+ 'exclude_hosts',
+ 'exclude_props',
+ 'executable_version',
+ 'executable_version_unreliable',
+ 'expiration_time',
+ 'false_positive',
+ 'family_count',
+ 'family_list',
+ 'feed_event',
+ 'feed_type',
+ 'field_value',
+ 'filtered_count',
+ 'filter_func',
+ 'filter_id',
+ 'filter_identifiers',
+ 'filter_list',
+ 'filter_parse_func',
+ 'filter_results_filter',
+ 'filters_data',
+ 'filter_secinfo_filter',
+ 'filter_string',
+ 'filter_type',
+ 'filter_types',
+ 'f_impact',
+ 'find_item',
+ 'find_label',
+ 'first_time',
+ 'fixed_note',
+ 'fixed_time',
+ 'fix_verified_report',
+ 'fix_verified_time',
+ 'foo_id',
+ 'format_items',
+ 'formdata_append',
+ 'from_address',
+ 'from_file',
+ 'full_count',
+ 'full_type',
+ 'general_note',
+ 'general_permissions',
+ 'get_aggregate',
+ 'get_aggregates_response',
+ 'get_capabilities',
+ 'get_config_family_response',
+ 'get_config_nvt_response',
+ 'get_features_response',
+ 'get_feeds',
+ 'get_feeds_response',
+ 'get_identifier',
+ 'get_img_url',
+ 'get_info',
+ 'get_info_response',
+ 'get_license',
+ 'get_license_response',
+ 'get_nvt_families',
+ 'get_nvt_families_response',
+ 'get_nvts_response',
+ 'get_resource_names',
+ 'get_resource_names_response',
+ 'get_scanner',
+ 'get_settings',
+ 'get_settings_response',
+ 'get_value',
+ 'goto_details',
+ 'goto_host',
+ 'goto_list',
+ 'grant_full',
+ 'group_column',
+ 'group_id',
+ 'group_ids',
+ 'group_list',
+ 'groups_data',
+ 'gsad_response',
+ 'has_av_duration',
+ 'has_detection',
+ 'has_duration',
+ 'has_reference',
+ 'has_selected',
+ 'has_severity_filter',
+ 'header_title',
+ 'help_response',
+ 'highest_severity',
+ 'high_per_host',
+ 'host_allow',
+ 'host_cves',
+ 'hostnames_by_ip',
+ 'hosts_allow',
+ 'hosts_array',
+ 'hosts_count',
+ 'hosts_filter',
+ 'hosts_manual',
+ 'hosts_ordering',
+ 'hr_name',
+ 'i18n_1',
+ 'id_field',
+ 'id_lists',
+ 'id_name',
+ 'id_or__',
+ 'id_or_empty',
+ 'ignore_pagination',
+ 'img_path',
+ 'import_func',
+ 'in_assets',
+ 'include_related',
+ 'includes_type',
+ 'info_elem',
+ 'info_filter',
+ 'info_id',
+ '_Info_Issuer',
+ 'info_type',
+ '_Info_URL',
+ 'inheritor_id',
+ 'in_use',
+ 'invisible_alerts',
+ 'invisible_report_configs',
+ 'is_edit',
+ 'is_ended',
+ 'is_radio',
+ 'issuer_dn',
+ 'is_task_event',
+ 'key_code',
+ 'known_nvt_count',
+ 'last_id',
+ 'last_report',
+ 'last_seen',
+ 'latest_severity',
+ 'ldaps_only',
+ 'list_fname',
+ 'load_formats',
+ 'lsc_password',
+ 'max_checks',
+ 'max_epss',
+ 'max_groups',
+ 'max_high',
+ 'max_hosts',
+ 'max_log',
+ 'max_low',
+ 'max_medium',
+ 'max_nvt_count',
+ 'max_severity',
+ 'may_edit_target',
+ 'may_op_configuration',
+ 'may_op_scans',
+ 'md5_fingerprint',
+ 'method_data_composer_ignore_pagination',
+ 'method_data_composer_include_notes',
+ 'method_data_composer_include_overrides',
+ 'method_data_defense_center_ip',
+ 'method_data_defense_center_port',
+ 'method_data_delta_report_id',
+ 'method_data_delta_type',
+ 'method_data_details_url',
+ 'method_data_fields',
+ 'method_data_from_address',
+ 'method_data_message',
+ 'method_data_message_attach',
+ 'method_data_notice',
+ 'method_data_notice_attach_config',
+ 'method_data_notice_attach_format',
+ 'method_data_notice_report_config',
+ 'method_data_notice_report_format',
+ 'method_data_pkcs12_credential',
+ 'method_data_recipient_credential',
+ 'method_data_scp_credential',
+ 'method_data_scp_host',
+ 'method_data_scp_known_hosts',
+ 'method_data_scp_path',
+ 'method_data_scp_port',
+ 'method_data_scp_report_config',
+ 'method_data_scp_report_format',
+ 'method_data_send_host',
+ 'method_data_send_port',
+ 'method_data_send_report_config',
+ 'method_data_send_report_format',
+ 'method_data_smb_credential',
+ 'method_data_smb_file_path',
+ 'method_data_smb_file_path_type',
+ 'method_data_smb_max_protocol',
+ 'method_data_smb_report_config',
+ 'method_data_smb_report_format',
+ 'method_data_smb_share_path',
+ 'method_data_snmp_agent',
+ 'method_data_snmp_community',
+ 'method_data_snmp_message',
+ 'method_data_start_task_task',
+ 'method_data_status',
+ 'method_data_subject',
+ 'method_data_submethod',
+ 'method_data_to_address',
+ 'method_data_tp_sms_credential',
+ 'method_data_tp_sms_hostname',
+ 'method_data_tp_sms_tls_workaround',
+ 'method_data_URL',
+ 'method_data_verinice_server_credential',
+ 'method_data_verinice_server_report_config',
+ 'method_data_verinice_server_report_format',
+ 'method_data_verinice_server_url',
+ 'method_data_vfire_base_url',
+ 'method_data_vfire_call_description',
+ 'method_data_vfire_call_impact_name',
+ 'method_data_vfire_call_partition_name',
+ 'method_data_vfire_call_template_name',
+ 'method_data_vfire_call_type_name',
+ 'method_data_vfire_call_urgency_name',
+ 'method_data_vfire_client_id',
+ 'method_data_vfire_credential',
+ 'method_data_vfire_session_type',
+ 'min_high',
+ 'min_low',
+ 'min_medium',
+ 'min_qod',
+ 'model_type',
+ 'modification_time',
+ 'modify_password',
+ 'native_name',
+ 'new_alert',
+ 'new_family',
+ 'new_port_ranges',
+ 'new_severity',
+ 'new_severity_from_list',
+ 'new_threat',
+ 'new_title',
+ 'next_time',
+ 'no_filter_history',
+ 'noop_convert',
+ 'no_redirect',
+ 'note_list',
+ 'notes_data',
+ 'nvd_id',
+ 'nvt_count',
+ 'nvt_name',
+ 'nvt_preferences',
+ 'obj_url',
+ 'old_login',
+ 'old_name',
+ 'old_password',
+ 'open_dialog',
+ 'open_note',
+ 'open_time',
+ 'openvas_config_id',
+ 'openvas_scan_config_items',
+ 'operating_systems',
+ 'optional_resource_type',
+ 'orig_filter',
+ 'original_severity',
+ 'origin_id',
+ 'origin_type',
+ 'os_array',
+ 'os_count',
+ 'os_cpe',
+ 'os_icon',
+ 'os_txt',
+ 'override_list',
+ 'overrides_data',
+ 'package_format',
+ 'package_unreliable',
+ 'param_item',
+ 'param_name',
+ 'params_using_default',
+ 'param_types',
+ 'parse_collection_counts',
+ 'parse_count',
+ 'parse_counts',
+ 'parse_errors',
+ 'parse_page_count',
+ 'parse_report_report_counts',
+ 'parse_scanner_info',
+ 'password_only_credential_filter',
+ 'period_months',
+ 'permission_group_id',
+ 'permission_list',
+ 'permission_role_id',
+ 'permissions_data',
+ 'permission_type',
+ 'permission_user_id',
+ 'perm_names',
+ 'pkcs12_credential_id',
+ 'plural_name',
+ 'policy_resp',
+ 'policy_resp_all',
+ 'port_count',
+ 'port_list',
+ 'port_list_id',
+ 'port_list_list',
+ 'port_lists',
+ 'port_lists_data',
+ 'port_lists_title',
+ 'port_manual',
+ 'port_range',
+ 'port_range_end',
+ 'port_range_id',
+ 'port_ranges',
+ 'port_range_start',
+ 'ports_array',
+ 'port_type',
+ 'pref_count',
+ 'preference_count',
+ 'privacy_algorithm',
+ 'privacy_password',
+ 'private_key',
+ 'prop_name',
+ 'props_value',
+ 'protocol_type',
+ 'public_key',
+ 'public_url_loader',
+ 'raw_data',
+ 'raw_exploit',
+ 'raw_impact',
+ 'ready_1',
+ 'recipient_credential_id',
+ '_reference_type',
+ 'reference_type',
+ 'Ref_Num',
+ 'remote_active',
+ 'remote_analysis',
+ 'remote_app',
+ 'remote_banner',
+ 'remote_banner_unreliable',
+ 'remote_probe',
+ 'remote_vul',
+ 'render_alerts',
+ 'render_credentials',
+ 'render_filter',
+ 'render_filters',
+ 'render_groups',
+ 'render_notes',
+ 'render_overrides',
+ 'render_permissions',
+ 'render_port_lists',
+ 'render_report_configs',
+ 'render_report_formats',
+ 'render_roles',
+ 'render_scanners',
+ 'render_schedules',
+ 'render_severity',
+ 'render_tags',
+ 'render_targets',
+ 'render_tickets',
+ 'report_config',
+ 'report_config_id',
+ 'report_config_ids',
+ 'report_config_list',
+ 'report_configs',
+ 'report_configs_data',
+ 'report_config_values',
+ 'report_count',
+ 'report_fname',
+ 'report_format',
+ 'report_format_id',
+ 'report_format_ids',
+ 'report_format_list',
+ 'report_formats',
+ 'report_formats_data',
+ 'report_id',
+ 'report_type',
+ 'resource_id',
+ 'resource_ids',
+ 'resources_action',
+ 'resource_type',
+ 'resource_types',
+ 'response_alerts',
+ 'response_all',
+ 'response_configs',
+ 'response_credentials',
+ 'response_filters',
+ 'response_groups',
+ 'response_notes',
+ 'response_overrides',
+ 'response_permissions',
+ 'response_port_lists',
+ 'response_report_configs',
+ 'response_report_formats',
+ 'response_roles',
+ 'response_scanners',
+ 'response_schedules',
+ 'response_tags',
+ 'response_targets',
+ 'response_tasks',
+ 'response_tickets',
+ 'result_count',
+ 'result_counts',
+ 'result_filter_id',
+ 'result_filters',
+ 'result_hosts_only',
+ 'result_id',
+ 'result_name',
+ 'result_severity',
+ 'results_with_cve',
+ 'result_uuid',
+ 'reverse_lookup_only',
+ 'reverse_lookup_unify',
+ 'role_id',
+ 'role_ids',
+ 'role_list',
+ 'roles_data',
+ '_same_source',
+ 'same_source',
+ 'scan_configs',
+ 'scan_end',
+ 'scanner_credentials',
+ 'scanner_host',
+ 'scanner_id',
+ 'scanner_list',
+ 'scanner_name',
+ 'scanner_preferences',
+ 'scanners_data',
+ 'scanner_type',
+ 'scan_nvt_version',
+ 'scan_run_status',
+ 'scan_start',
+ 'schedule_id',
+ 'schedule_items',
+ 'schedule_list',
+ 'schedule_periods',
+ 'schedules_data',
+ 'schedules_only',
+ 'scp_credential',
+ 'scp_credential_id',
+ 'secinfo_filters',
+ 'secinfo_type',
+ 'section_title',
+ 'select_verinice_report_id',
+ 'setting_id',
+ 'setting_value',
+ 'set_url_loader',
+ 'severity_class',
+ 'severity_from_list_items',
+ 'severity_levels',
+ 'sha256_fingerprint',
+ 'simple_duration',
+ 'simple_period',
+ 'slave_id',
+ 'smb_cred',
+ 'smb_credential',
+ 'smb_credential_filter',
+ 'smb_credential_id',
+ 'snmp_agent',
+ 'snmp_cred',
+ 'snmp_credential',
+ 'snmp_credential_filter',
+ 'snmp_credential_id',
+ 'snmp_credentials',
+ 'solution_type',
+ 'source_type',
+ 'ssh_cred',
+ 'ssh_credential',
+ 'ssh_credential_filter',
+ 'ssh_credential_id',
+ 'ssh_credentials',
+ 'ssh_elevate_credential',
+ 'ssh_elevate_credential_id',
+ 'ssh_port',
+ 'ssl_certs',
+ 'start_date',
+ 'start_hour',
+ 'start_minute',
+ 'start_time',
+ 'start_timezone',
+ 'subgroup_column',
+ 'subject_dn',
+ 'subject_type',
+ 'svg_blob',
+ 'svg_data',
+ 'sys_reports',
+ 'sys_response',
+ 'table_props',
+ 'tag_id',
+ 'tag_items',
+ 'tag_list',
+ 'tag_name',
+ 'tags_data',
+ 'tag_value',
+ 'target_elevate',
+ 'target_exclude_source',
+ 'target_hosts',
+ 'target_id',
+ 'target_items',
+ 'target_list',
+ 'target_no_elevate',
+ 'target_no_portlist',
+ 'targets_data',
+ 'target_source',
+ 'target_title',
+ 'task_id',
+ 'task_list',
+ 'task_name',
+ 'tasks_data',
+ 'task_uuid',
+ 'temp_ports',
+ 'text_excerpt',
+ 'ticket_id',
+ 'ticket_list',
+ 'tickets_data',
+ 'ticket_status',
+ 'time_status',
+ 'timezone_abbrev',
+ 'tls_cert',
+ 'tls_certificate',
+ 'tls_certificate_id',
+ 'tls_certificates',
+ 'to_address',
+ 'tp_sms_credential_id',
+ 'up_credentials',
+ 'update_time',
+ 'url_loader',
+ 'usage_type',
+ 'use_default_check',
+ 'use_openvas_scan_config',
+ 'user_id',
+ 'user_tags',
+ '_using_default',
+ 'value_func',
+ 'value_labels',
+ 'value_using_default',
+ 'vendor_version',
+ 'verinice_credential_id',
+ 'verinice_server_credential',
+ 'vFire_credential_filter',
+ 'vfire_credential_id',
+ 'which_cert',
+ 'xml_file',
+ 'yes_no_props',
+ 'zh_TW',
+];
diff --git a/package-lock.json b/package-lock.json
index fd15b0f9a2..8edec5596d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,18 +1,18 @@
{
"name": "gsa",
- "version": "23.0.1-dev1",
+ "version": "23.2.2-dev1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "gsa",
- "version": "23.0.1-dev1",
+ "version": "23.2.2-dev1",
"license": "AGPL-3.0+",
"dependencies": {
"@greenbone/opensight-ui-components": "^0.3.0",
"@mantine/core": "^6.0.0",
- "@reduxjs/toolkit": "^2.2.5",
- "@sentry/react": "^8.7.0",
+ "@reduxjs/toolkit": "^2.2.7",
+ "@sentry/react": "^8.22.0",
"@visx/axis": "^3.10.1",
"@visx/gradient": "^3.3.0",
"@visx/shape": "^3.5.0",
@@ -26,13 +26,13 @@
"d3-interpolate": "^3.0.1",
"d3-scale": "^4.0.2",
"d3-shape": "^3.2.0",
- "downshift": "^9.0.6",
+ "downshift": "^9.0.7",
"eslint-plugin-header": "^3.1.1",
"fast-deep-equal": "^3.1.3",
- "fast-xml-parser": "^4.2.5",
+ "fast-xml-parser": "^4.4.1",
"history": "^4.10.1",
"hoist-non-react-statics": "^3.3.2",
- "i18next": "^23.11.5",
+ "i18next": "^23.12.2",
"i18next-http-backend": "^2.5.2",
"ical.js": "^2.0.0",
"lucide-react": "^0.395.0",
@@ -41,7 +41,7 @@
"moment-timezone": "^0.5.45",
"prop-types": "^15.8.1",
"qhistory": "^1.1.0",
- "qs": "^6.12.0",
+ "qs": "^6.12.3",
"react": "^18.3.1",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^18.3.1",
@@ -50,42 +50,44 @@
"react-router-dom": "^5.2.0",
"redux": "^5.0.1",
"redux-logger": "^3.0.6",
- "styled-components": "^6.1.11",
- "uuid": "^9.0.1",
+ "resize-observer-polyfill": "^1.5.1",
+ "styled-components": "^6.1.12",
+ "uuid": "^10.0.0",
"whatwg-fetch": "^3.6.20"
},
"devDependencies": {
- "@babel/cli": "^7.24.6",
- "@testing-library/jest-dom": "^6.4.5",
- "@testing-library/react": "^15.0.6",
- "@testing-library/user-event": "^14.0.0",
+ "@babel/cli": "^7.24.8",
+ "@pandatix/js-cvss": "^0.4.4",
+ "@testing-library/jest-dom": "^6.4.8",
+ "@testing-library/react": "^16.0.0",
+ "@testing-library/user-event": "^14.5.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
- "@typescript-eslint/eslint-plugin": "^7.12.0",
- "@typescript-eslint/parser": "^7.12.0",
+ "@typescript-eslint/eslint-plugin": "^8.0.0",
+ "@typescript-eslint/parser": "^8.0.0",
"@vitejs/plugin-legacy": "^5.4.1",
- "@vitejs/plugin-react": "^4.3.0",
- "@vitest/coverage-v8": "^1.6.0",
- "@vitest/ui": "^1.5.0",
+ "@vitejs/plugin-react": "^4.3.1",
+ "@vitest/coverage-v8": "^2.0.5",
+ "@vitest/ui": "^2.0.5",
"babel-plugin-i18next-extract": "^0.10.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
- "eslint-plugin-react": "^7.34.2",
+ "eslint-plugin-header": "^3.1.1",
+ "eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
- "eslint-plugin-react-refresh": "^0.4.7",
+ "eslint-plugin-react-refresh": "^0.4.9",
"eslint-plugin-vitest-globals": "^1.5.0",
"husky": "^2.7.0",
"jest-styled-components": "^7.2.0",
- "jsdom": "^24.0.0",
+ "jsdom": "^24.1.1",
"lint-staged": "^13.1.0",
- "prettier": "^3.2.5",
- "resize-observer-polyfill": "^1.5.1",
- "typescript": "^5.2.2",
- "vite": "^5.2.12",
+ "prettier": "^3.3.3",
+ "typescript": "^5.5.4",
+ "vite": "^5.3.5",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-eslint2": "^4.4.0",
"vite-plugin-svgr": "^4.2.0",
- "vitest": "^1.5.0"
+ "vitest": "^2.0.5"
},
"engines": {
"node": ">=18.0"
@@ -100,9 +102,9 @@
}
},
"node_modules/@adobe/css-tools": {
- "version": "4.3.3",
- "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.3.tgz",
- "integrity": "sha512-rE0Pygv0sEZ4vBWHlAgJLGDU7Pm8xoO6p3wsEceb7GYAjScrOHpEo8KK/eVkAcnSM+slAEtXjA2JpdjLp4fJQQ==",
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.4.0.tgz",
+ "integrity": "sha512-Ff9+ksdQQB3rMncgqDK78uLznstjyfIf2Arnh22pW8kBpLs6rpKDwgnZT46hin5Hl1WzazzK64DOrhSwYpS7bQ==",
"dev": true
},
"node_modules/@ampproject/remapping": {
@@ -118,9 +120,9 @@
}
},
"node_modules/@babel/cli": {
- "version": "7.24.6",
- "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.24.6.tgz",
- "integrity": "sha512-Sm/YhG/0REw9SKByFHDf4hkk7PYsjcsOyZgHGz1nvab4tUTQ9N4XVv+ykK0Y+VCJ3OshA/7EDyxnwCd8NEP/mQ==",
+ "version": "7.24.8",
+ "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.24.8.tgz",
+ "integrity": "sha512-isdp+G6DpRyKc+3Gqxy2rjzgF7Zj9K0mzLNnxz+E/fgeag8qT3vVulX4gY9dGO1q0y+0lUv6V3a+uhUzMzrwXg==",
"dev": true,
"dependencies": {
"@jridgewell/trace-mapping": "^0.3.25",
@@ -821,20 +823,6 @@
"@babel/core": "^7.0.0-0"
}
},
- "node_modules/@babel/plugin-syntax-bigint": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz",
- "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
"node_modules/@babel/plugin-syntax-class-properties": {
"version": "7.12.13",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz",
@@ -2325,9 +2313,9 @@
"integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww=="
},
"node_modules/@esbuild/aix-ppc64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.20.2.tgz",
- "integrity": "sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz",
+ "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==",
"cpu": [
"ppc64"
],
@@ -2341,9 +2329,9 @@
}
},
"node_modules/@esbuild/android-arm": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.20.2.tgz",
- "integrity": "sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz",
+ "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==",
"cpu": [
"arm"
],
@@ -2357,9 +2345,9 @@
}
},
"node_modules/@esbuild/android-arm64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.20.2.tgz",
- "integrity": "sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz",
+ "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==",
"cpu": [
"arm64"
],
@@ -2373,9 +2361,9 @@
}
},
"node_modules/@esbuild/android-x64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.20.2.tgz",
- "integrity": "sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz",
+ "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==",
"cpu": [
"x64"
],
@@ -2389,9 +2377,9 @@
}
},
"node_modules/@esbuild/darwin-arm64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.20.2.tgz",
- "integrity": "sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz",
+ "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==",
"cpu": [
"arm64"
],
@@ -2405,9 +2393,9 @@
}
},
"node_modules/@esbuild/darwin-x64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.20.2.tgz",
- "integrity": "sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz",
+ "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==",
"cpu": [
"x64"
],
@@ -2421,9 +2409,9 @@
}
},
"node_modules/@esbuild/freebsd-arm64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.20.2.tgz",
- "integrity": "sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz",
+ "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==",
"cpu": [
"arm64"
],
@@ -2437,9 +2425,9 @@
}
},
"node_modules/@esbuild/freebsd-x64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.20.2.tgz",
- "integrity": "sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz",
+ "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==",
"cpu": [
"x64"
],
@@ -2453,9 +2441,9 @@
}
},
"node_modules/@esbuild/linux-arm": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.20.2.tgz",
- "integrity": "sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz",
+ "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==",
"cpu": [
"arm"
],
@@ -2469,9 +2457,9 @@
}
},
"node_modules/@esbuild/linux-arm64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.20.2.tgz",
- "integrity": "sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz",
+ "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==",
"cpu": [
"arm64"
],
@@ -2485,9 +2473,9 @@
}
},
"node_modules/@esbuild/linux-ia32": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.20.2.tgz",
- "integrity": "sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz",
+ "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==",
"cpu": [
"ia32"
],
@@ -2501,9 +2489,9 @@
}
},
"node_modules/@esbuild/linux-loong64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.20.2.tgz",
- "integrity": "sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz",
+ "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==",
"cpu": [
"loong64"
],
@@ -2517,9 +2505,9 @@
}
},
"node_modules/@esbuild/linux-mips64el": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.20.2.tgz",
- "integrity": "sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz",
+ "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==",
"cpu": [
"mips64el"
],
@@ -2533,9 +2521,9 @@
}
},
"node_modules/@esbuild/linux-ppc64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.20.2.tgz",
- "integrity": "sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz",
+ "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==",
"cpu": [
"ppc64"
],
@@ -2549,9 +2537,9 @@
}
},
"node_modules/@esbuild/linux-riscv64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.20.2.tgz",
- "integrity": "sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz",
+ "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==",
"cpu": [
"riscv64"
],
@@ -2565,9 +2553,9 @@
}
},
"node_modules/@esbuild/linux-s390x": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.20.2.tgz",
- "integrity": "sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz",
+ "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==",
"cpu": [
"s390x"
],
@@ -2581,9 +2569,9 @@
}
},
"node_modules/@esbuild/linux-x64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.20.2.tgz",
- "integrity": "sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz",
+ "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==",
"cpu": [
"x64"
],
@@ -2597,9 +2585,9 @@
}
},
"node_modules/@esbuild/netbsd-x64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.20.2.tgz",
- "integrity": "sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz",
+ "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==",
"cpu": [
"x64"
],
@@ -2613,9 +2601,9 @@
}
},
"node_modules/@esbuild/openbsd-x64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.20.2.tgz",
- "integrity": "sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz",
+ "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==",
"cpu": [
"x64"
],
@@ -2629,9 +2617,9 @@
}
},
"node_modules/@esbuild/sunos-x64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.20.2.tgz",
- "integrity": "sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz",
+ "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==",
"cpu": [
"x64"
],
@@ -2645,9 +2633,9 @@
}
},
"node_modules/@esbuild/win32-arm64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.20.2.tgz",
- "integrity": "sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz",
+ "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==",
"cpu": [
"arm64"
],
@@ -2661,9 +2649,9 @@
}
},
"node_modules/@esbuild/win32-ia32": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.20.2.tgz",
- "integrity": "sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz",
+ "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==",
"cpu": [
"ia32"
],
@@ -2677,9 +2665,9 @@
}
},
"node_modules/@esbuild/win32-x64": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.20.2.tgz",
- "integrity": "sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz",
+ "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==",
"cpu": [
"x64"
],
@@ -2894,619 +2882,155 @@
"resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",
"integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA=="
},
- "node_modules/@istanbuljs/load-nyc-config": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",
- "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==",
+ "node_modules/@isaacs/cliui": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
+ "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
"dev": true,
- "optional": true,
- "peer": true,
"dependencies": {
- "camelcase": "^5.3.1",
- "find-up": "^4.1.0",
- "get-package-type": "^0.1.0",
- "js-yaml": "^3.13.1",
- "resolve-from": "^5.0.0"
+ "string-width": "^5.1.2",
+ "string-width-cjs": "npm:string-width@^4.2.0",
+ "strip-ansi": "^7.0.1",
+ "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
+ "wrap-ansi": "^8.1.0",
+ "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
},
"engines": {
- "node": ">=8"
- }
- },
- "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
- "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "sprintf-js": "~1.0.2"
+ "node": ">=12"
}
},
- "node_modules/@istanbuljs/load-nyc-config/node_modules/camelcase": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
+ "node_modules/@isaacs/cliui/node_modules/ansi-regex": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
"dev": true,
- "optional": true,
- "peer": true,
"engines": {
- "node": ">=6"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
}
},
- "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "node_modules/@isaacs/cliui/node_modules/strip-ansi": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
"dev": true,
- "optional": true,
- "peer": true,
"dependencies": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
+ "ansi-regex": "^6.0.1"
},
"engines": {
- "node": ">=8"
- }
- },
- "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": {
- "version": "3.14.1",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
- "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "argparse": "^1.0.7",
- "esprima": "^4.0.0"
+ "node": ">=12"
},
- "bin": {
- "js-yaml": "bin/js-yaml.js"
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
}
},
- "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
+ "node_modules/@istanbuljs/schema": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz",
+ "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==",
"dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "p-locate": "^4.1.0"
- },
"engines": {
"node": ">=8"
}
},
- "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
- "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "dev": true,
- "optional": true,
- "peer": true,
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
+ "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==",
"dependencies": {
- "p-try": "^2.0.0"
+ "@jridgewell/set-array": "^1.2.1",
+ "@jridgewell/sourcemap-codec": "^1.4.10",
+ "@jridgewell/trace-mapping": "^0.3.24"
},
"engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=6.0.0"
}
},
- "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "p-limit": "^2.2.0"
- },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
"engines": {
- "node": ">=8"
+ "node": ">=6.0.0"
}
},
- "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
- "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
- "dev": true,
- "optional": true,
- "peer": true,
+ "node_modules/@jridgewell/set-array": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
+ "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
"engines": {
- "node": ">=8"
+ "node": ">=6.0.0"
}
},
- "node_modules/@istanbuljs/schema": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz",
- "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==",
+ "node_modules/@jridgewell/source-map": {
+ "version": "0.3.6",
+ "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz",
+ "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==",
"dev": true,
- "engines": {
- "node": ">=8"
+ "peer": true,
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.25"
}
},
- "node_modules/@jest/console": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz",
- "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==",
- "dev": true,
- "optional": true,
- "peer": true,
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
+ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg=="
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.25",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
+ "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
"dependencies": {
- "@jest/types": "^29.6.3",
- "@types/node": "*",
- "chalk": "^4.0.0",
- "jest-message-util": "^29.7.0",
- "jest-util": "^29.7.0",
- "slash": "^3.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
}
},
- "node_modules/@jest/core": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz",
- "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==",
- "dev": true,
- "optional": true,
- "peer": true,
+ "node_modules/@mantine/core": {
+ "version": "6.0.21",
+ "resolved": "https://registry.npmjs.org/@mantine/core/-/core-6.0.21.tgz",
+ "integrity": "sha512-Kx4RrRfv0I+cOCIcsq/UA2aWcYLyXgW3aluAuW870OdXnbII6qg7RW28D+r9D76SHPxWFKwIKwmcucAG08Divg==",
"dependencies": {
- "@jest/console": "^29.7.0",
- "@jest/reporters": "^29.7.0",
- "@jest/test-result": "^29.7.0",
- "@jest/transform": "^29.7.0",
- "@jest/types": "^29.6.3",
- "@types/node": "*",
- "ansi-escapes": "^4.2.1",
- "chalk": "^4.0.0",
- "ci-info": "^3.2.0",
- "exit": "^0.1.2",
- "graceful-fs": "^4.2.9",
- "jest-changed-files": "^29.7.0",
- "jest-config": "^29.7.0",
- "jest-haste-map": "^29.7.0",
- "jest-message-util": "^29.7.0",
- "jest-regex-util": "^29.6.3",
- "jest-resolve": "^29.7.0",
- "jest-resolve-dependencies": "^29.7.0",
- "jest-runner": "^29.7.0",
- "jest-runtime": "^29.7.0",
- "jest-snapshot": "^29.7.0",
- "jest-util": "^29.7.0",
- "jest-validate": "^29.7.0",
- "jest-watcher": "^29.7.0",
- "micromatch": "^4.0.4",
- "pretty-format": "^29.7.0",
- "slash": "^3.0.0",
- "strip-ansi": "^6.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ "@floating-ui/react": "^0.19.1",
+ "@mantine/styles": "6.0.21",
+ "@mantine/utils": "6.0.21",
+ "@radix-ui/react-scroll-area": "1.0.2",
+ "react-remove-scroll": "^2.5.5",
+ "react-textarea-autosize": "8.3.4"
},
"peerDependencies": {
- "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
- },
- "peerDependenciesMeta": {
- "node-notifier": {
- "optional": true
- }
+ "@mantine/hooks": "6.0.21",
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
}
},
- "node_modules/@jest/core/node_modules/ansi-escapes": {
- "version": "4.3.2",
- "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
- "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
- "dev": true,
- "optional": true,
- "peer": true,
+ "node_modules/@mantine/core/node_modules/@floating-ui/react": {
+ "version": "0.19.2",
+ "resolved": "https://registry.npmjs.org/@floating-ui/react/-/react-0.19.2.tgz",
+ "integrity": "sha512-JyNk4A0Ezirq8FlXECvRtQOX/iBe5Ize0W/pLkrZjfHW9GUV7Xnq6zm6fyZuQzaHHqEnVizmvlA96e1/CkZv+w==",
"dependencies": {
- "type-fest": "^0.21.3"
- },
- "engines": {
- "node": ">=8"
+ "@floating-ui/react-dom": "^1.3.0",
+ "aria-hidden": "^1.1.3",
+ "tabbable": "^6.0.1"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
}
},
- "node_modules/@jest/core/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
+ "node_modules/@mantine/core/node_modules/@floating-ui/react-dom": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-1.3.0.tgz",
+ "integrity": "sha512-htwHm67Ji5E/pROEAr7f8IKFShuiCKHwUC/UY4vC3I5jiSvGFAYnSYiZO5MlGmads+QqvUkR9ANHEguGrDv72g==",
+ "dependencies": {
+ "@floating-ui/dom": "^1.2.1"
},
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/@jest/core/node_modules/ci-info": {
- "version": "3.9.0",
- "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz",
- "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/sibiraj-s"
- }
- ],
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/@jest/core/node_modules/pretty-format": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
- "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/schemas": "^29.6.3",
- "ansi-styles": "^5.0.0",
- "react-is": "^18.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/@jest/core/node_modules/type-fest": {
- "version": "0.21.3",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
- "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@jest/environment": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz",
- "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/fake-timers": "^29.7.0",
- "@jest/types": "^29.6.3",
- "@types/node": "*",
- "jest-mock": "^29.7.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/@jest/expect": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz",
- "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "expect": "^29.7.0",
- "jest-snapshot": "^29.7.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/@jest/expect-utils": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz",
- "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "jest-get-type": "^29.6.3"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/@jest/fake-timers": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz",
- "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/types": "^29.6.3",
- "@sinonjs/fake-timers": "^10.0.2",
- "@types/node": "*",
- "jest-message-util": "^29.7.0",
- "jest-mock": "^29.7.0",
- "jest-util": "^29.7.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/@jest/globals": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz",
- "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/environment": "^29.7.0",
- "@jest/expect": "^29.7.0",
- "@jest/types": "^29.6.3",
- "jest-mock": "^29.7.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/@jest/reporters": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz",
- "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@bcoe/v8-coverage": "^0.2.3",
- "@jest/console": "^29.7.0",
- "@jest/test-result": "^29.7.0",
- "@jest/transform": "^29.7.0",
- "@jest/types": "^29.6.3",
- "@jridgewell/trace-mapping": "^0.3.18",
- "@types/node": "*",
- "chalk": "^4.0.0",
- "collect-v8-coverage": "^1.0.0",
- "exit": "^0.1.2",
- "glob": "^7.1.3",
- "graceful-fs": "^4.2.9",
- "istanbul-lib-coverage": "^3.0.0",
- "istanbul-lib-instrument": "^6.0.0",
- "istanbul-lib-report": "^3.0.0",
- "istanbul-lib-source-maps": "^4.0.0",
- "istanbul-reports": "^3.1.3",
- "jest-message-util": "^29.7.0",
- "jest-util": "^29.7.0",
- "jest-worker": "^29.7.0",
- "slash": "^3.0.0",
- "string-length": "^4.0.1",
- "strip-ansi": "^6.0.0",
- "v8-to-istanbul": "^9.0.1"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- },
- "peerDependencies": {
- "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
- },
- "peerDependenciesMeta": {
- "node-notifier": {
- "optional": true
- }
- }
- },
- "node_modules/@jest/schemas": {
- "version": "29.6.3",
- "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz",
- "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==",
- "dev": true,
- "dependencies": {
- "@sinclair/typebox": "^0.27.8"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/@jest/source-map": {
- "version": "29.6.3",
- "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz",
- "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jridgewell/trace-mapping": "^0.3.18",
- "callsites": "^3.0.0",
- "graceful-fs": "^4.2.9"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/@jest/test-result": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz",
- "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/console": "^29.7.0",
- "@jest/types": "^29.6.3",
- "@types/istanbul-lib-coverage": "^2.0.0",
- "collect-v8-coverage": "^1.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/@jest/test-sequencer": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz",
- "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/test-result": "^29.7.0",
- "graceful-fs": "^4.2.9",
- "jest-haste-map": "^29.7.0",
- "slash": "^3.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/@jest/transform": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz",
- "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@babel/core": "^7.11.6",
- "@jest/types": "^29.6.3",
- "@jridgewell/trace-mapping": "^0.3.18",
- "babel-plugin-istanbul": "^6.1.1",
- "chalk": "^4.0.0",
- "convert-source-map": "^2.0.0",
- "fast-json-stable-stringify": "^2.1.0",
- "graceful-fs": "^4.2.9",
- "jest-haste-map": "^29.7.0",
- "jest-regex-util": "^29.6.3",
- "jest-util": "^29.7.0",
- "micromatch": "^4.0.4",
- "pirates": "^4.0.4",
- "slash": "^3.0.0",
- "write-file-atomic": "^4.0.2"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/@jest/types": {
- "version": "29.6.3",
- "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz",
- "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/schemas": "^29.6.3",
- "@types/istanbul-lib-coverage": "^2.0.0",
- "@types/istanbul-reports": "^3.0.0",
- "@types/node": "*",
- "@types/yargs": "^17.0.8",
- "chalk": "^4.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/@jridgewell/gen-mapping": {
- "version": "0.3.5",
- "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
- "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==",
- "dependencies": {
- "@jridgewell/set-array": "^1.2.1",
- "@jridgewell/sourcemap-codec": "^1.4.10",
- "@jridgewell/trace-mapping": "^0.3.24"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@jridgewell/resolve-uri": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
- "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@jridgewell/set-array": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
- "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@jridgewell/source-map": {
- "version": "0.3.6",
- "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz",
- "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@jridgewell/gen-mapping": "^0.3.5",
- "@jridgewell/trace-mapping": "^0.3.25"
- }
- },
- "node_modules/@jridgewell/sourcemap-codec": {
- "version": "1.4.15",
- "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
- "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg=="
- },
- "node_modules/@jridgewell/trace-mapping": {
- "version": "0.3.25",
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
- "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
- "dependencies": {
- "@jridgewell/resolve-uri": "^3.1.0",
- "@jridgewell/sourcemap-codec": "^1.4.14"
- }
- },
- "node_modules/@mantine/core": {
- "version": "6.0.21",
- "resolved": "https://registry.npmjs.org/@mantine/core/-/core-6.0.21.tgz",
- "integrity": "sha512-Kx4RrRfv0I+cOCIcsq/UA2aWcYLyXgW3aluAuW870OdXnbII6qg7RW28D+r9D76SHPxWFKwIKwmcucAG08Divg==",
- "dependencies": {
- "@floating-ui/react": "^0.19.1",
- "@mantine/styles": "6.0.21",
- "@mantine/utils": "6.0.21",
- "@radix-ui/react-scroll-area": "1.0.2",
- "react-remove-scroll": "^2.5.5",
- "react-textarea-autosize": "8.3.4"
- },
- "peerDependencies": {
- "@mantine/hooks": "6.0.21",
- "react": ">=16.8.0",
- "react-dom": ">=16.8.0"
- }
- },
- "node_modules/@mantine/core/node_modules/@floating-ui/react": {
- "version": "0.19.2",
- "resolved": "https://registry.npmjs.org/@floating-ui/react/-/react-0.19.2.tgz",
- "integrity": "sha512-JyNk4A0Ezirq8FlXECvRtQOX/iBe5Ize0W/pLkrZjfHW9GUV7Xnq6zm6fyZuQzaHHqEnVizmvlA96e1/CkZv+w==",
- "dependencies": {
- "@floating-ui/react-dom": "^1.3.0",
- "aria-hidden": "^1.1.3",
- "tabbable": "^6.0.1"
- },
- "peerDependencies": {
- "react": ">=16.8.0",
- "react-dom": ">=16.8.0"
- }
- },
- "node_modules/@mantine/core/node_modules/@floating-ui/react-dom": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-1.3.0.tgz",
- "integrity": "sha512-htwHm67Ji5E/pROEAr7f8IKFShuiCKHwUC/UY4vC3I5jiSvGFAYnSYiZO5MlGmads+QqvUkR9ANHEguGrDv72g==",
- "dependencies": {
- "@floating-ui/dom": "^1.2.1"
- },
- "peerDependencies": {
- "react": ">=16.8.0",
- "react-dom": ">=16.8.0"
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
}
},
"node_modules/@mantine/dates": {
@@ -3620,6 +3144,22 @@
"node": ">= 8"
}
},
+ "node_modules/@pandatix/js-cvss": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/@pandatix/js-cvss/-/js-cvss-0.4.4.tgz",
+ "integrity": "sha512-hhBbQ7IKfoRoV3QKTP9hLKJT166/e0FkeiVSLZZIEVsO7DjxVmIWhJlPvbp+RXaM4w215xghtnXQv13Ebdlj/w==",
+ "dev": true
+ },
+ "node_modules/@pkgjs/parseargs": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
+ "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
+ "dev": true,
+ "optional": true,
+ "engines": {
+ "node": ">=14"
+ }
+ },
"node_modules/@polka/url": {
"version": "1.0.0-next.25",
"resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.25.tgz",
@@ -3758,9 +3298,9 @@
}
},
"node_modules/@reduxjs/toolkit": {
- "version": "2.2.5",
- "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.2.5.tgz",
- "integrity": "sha512-aeFA/s5NCG7NoJe/MhmwREJxRkDs0ZaSqt0MxhWUrwCf1UQXpwR87RROJEql0uAkLI6U7snBOYOcKw83ew3FPg==",
+ "version": "2.2.7",
+ "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.2.7.tgz",
+ "integrity": "sha512-faI3cZbSdFb8yv9dhDTmGwclW0vk0z5o1cia+kf7gCbaCwHI5e+7tP57mJUv22pNcNbeA62GSrPpfrUfdXcQ6g==",
"dependencies": {
"immer": "^10.0.3",
"redux": "^5.0.1",
@@ -3998,97 +3538,97 @@
]
},
"node_modules/@sentry-internal/browser-utils": {
- "version": "8.7.0",
- "resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-8.7.0.tgz",
- "integrity": "sha512-RFBK1sYBwV5qGMEwWF0rjOTqQpp4/SvE+qHkOJNRUTVYmfjM+Y9lcxwn4B6lu3aboxePpBw/i1PlP6XwX4UnGA==",
+ "version": "8.22.0",
+ "resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-8.22.0.tgz",
+ "integrity": "sha512-R0u8KPaSivueIwUOhmYxcisKaJq3gx+I0xOcWoluDB3OI1Ds/QOSP/vmTsMg/mjwG/nUJ8RRM8pj0s8vlqCrjg==",
"dependencies": {
- "@sentry/core": "8.7.0",
- "@sentry/types": "8.7.0",
- "@sentry/utils": "8.7.0"
+ "@sentry/core": "8.22.0",
+ "@sentry/types": "8.22.0",
+ "@sentry/utils": "8.22.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/feedback": {
- "version": "8.7.0",
- "resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-8.7.0.tgz",
- "integrity": "sha512-qcGtWCtRB4eP7NVQoxW936oPkU4qu9otMLYELPGmOJPnuAG0lujlJXW7BucaM7ADyJgJTE75hG849bHecfnbmQ==",
+ "version": "8.22.0",
+ "resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-8.22.0.tgz",
+ "integrity": "sha512-Sy2+v0xBmVnZ5LQ48603CvLy5vVQvAZ+hc9xQSAHexts07NkvApMU1qv26YNwxlAWfDha1wXiW6ryd4YDzaoVA==",
"dependencies": {
- "@sentry/core": "8.7.0",
- "@sentry/types": "8.7.0",
- "@sentry/utils": "8.7.0"
+ "@sentry/core": "8.22.0",
+ "@sentry/types": "8.22.0",
+ "@sentry/utils": "8.22.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/replay": {
- "version": "8.7.0",
- "resolved": "https://registry.npmjs.org/@sentry-internal/replay/-/replay-8.7.0.tgz",
- "integrity": "sha512-bQzOkWplaWTe3u+aDBhxWY3Qy0aT7ss2A3VR8iC6N8ZIEP9PxqyJwTNoouhinfgmlnCguI7RDOO4f3r3e2M80Q==",
+ "version": "8.22.0",
+ "resolved": "https://registry.npmjs.org/@sentry-internal/replay/-/replay-8.22.0.tgz",
+ "integrity": "sha512-sF8RyMPJP1fSIyyBDAbtybvKCu0dy8ZAfMwLP7ZqEnWrhZqktVuqM7/++EAFMlD5YaWJXm1IDuOXjgSQjUtSIQ==",
"dependencies": {
- "@sentry-internal/browser-utils": "8.7.0",
- "@sentry/core": "8.7.0",
- "@sentry/types": "8.7.0",
- "@sentry/utils": "8.7.0"
+ "@sentry-internal/browser-utils": "8.22.0",
+ "@sentry/core": "8.22.0",
+ "@sentry/types": "8.22.0",
+ "@sentry/utils": "8.22.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry-internal/replay-canvas": {
- "version": "8.7.0",
- "resolved": "https://registry.npmjs.org/@sentry-internal/replay-canvas/-/replay-canvas-8.7.0.tgz",
- "integrity": "sha512-FOnvBPbq6MJVHPduc0hcsdE3PeeovQ2z5WJnZDGhvp/Obehxqe+XgX7K/595vRIknv4EokRn/3Kw0mFwG8E+ZQ==",
+ "version": "8.22.0",
+ "resolved": "https://registry.npmjs.org/@sentry-internal/replay-canvas/-/replay-canvas-8.22.0.tgz",
+ "integrity": "sha512-/gV8qN3JqWw0LXTMuCGB8RDI8Bx1VESNRBdh/7Cmc5+hxYBfcketuix3S8mHWcE/JO+Ed9g1Abzys6GphTB9LA==",
"dependencies": {
- "@sentry-internal/replay": "8.7.0",
- "@sentry/core": "8.7.0",
- "@sentry/types": "8.7.0",
- "@sentry/utils": "8.7.0"
+ "@sentry-internal/replay": "8.22.0",
+ "@sentry/core": "8.22.0",
+ "@sentry/types": "8.22.0",
+ "@sentry/utils": "8.22.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry/browser": {
- "version": "8.7.0",
- "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-8.7.0.tgz",
- "integrity": "sha512-4EEp+PlcktsMN0p+MdCPl/lghTkq7eOtZjQG9NGhWzfyWrJ3tuL1nsDr2SSivJ1V277F01KtKYo6BFwP2NtBZA==",
+ "version": "8.22.0",
+ "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-8.22.0.tgz",
+ "integrity": "sha512-t3b+/9WWcP9SQTWwrHrB57B33ENgmUjyFlW2+JSlCXkSJBSmAoquPZ/GPjOuPaSr3HIA0mu9uEr4A41d5diASQ==",
"dependencies": {
- "@sentry-internal/browser-utils": "8.7.0",
- "@sentry-internal/feedback": "8.7.0",
- "@sentry-internal/replay": "8.7.0",
- "@sentry-internal/replay-canvas": "8.7.0",
- "@sentry/core": "8.7.0",
- "@sentry/types": "8.7.0",
- "@sentry/utils": "8.7.0"
+ "@sentry-internal/browser-utils": "8.22.0",
+ "@sentry-internal/feedback": "8.22.0",
+ "@sentry-internal/replay": "8.22.0",
+ "@sentry-internal/replay-canvas": "8.22.0",
+ "@sentry/core": "8.22.0",
+ "@sentry/types": "8.22.0",
+ "@sentry/utils": "8.22.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry/core": {
- "version": "8.7.0",
- "resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.7.0.tgz",
- "integrity": "sha512-Sq/46B+5nWmgnCD6dEMZ6HTkKbV/KAdgaSvT8oXDb9OWoPy1jJ/gbLrhLs62KbjuDQk4/vWnOgHiKQbcslSzMw==",
+ "version": "8.22.0",
+ "resolved": "https://registry.npmjs.org/@sentry/core/-/core-8.22.0.tgz",
+ "integrity": "sha512-fYPnxp7UkY2tckaOtivIySxnJvlbekuxs+Qi6rkUv9JpF+TYKpt7OPNUAbgVIhS0xazAEN6iKTfmnmpUbFRLmQ==",
"dependencies": {
- "@sentry/types": "8.7.0",
- "@sentry/utils": "8.7.0"
+ "@sentry/types": "8.22.0",
+ "@sentry/utils": "8.22.0"
},
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry/react": {
- "version": "8.7.0",
- "resolved": "https://registry.npmjs.org/@sentry/react/-/react-8.7.0.tgz",
- "integrity": "sha512-JFo8QW8JB4eaFC8RdkOBO96JvlGgstywmyMZ39qWfFbD735vGl8PnOa0AnrC/5Auc86dZ98/I4OEPboqUE9q1w==",
- "dependencies": {
- "@sentry/browser": "8.7.0",
- "@sentry/core": "8.7.0",
- "@sentry/types": "8.7.0",
- "@sentry/utils": "8.7.0",
+ "version": "8.22.0",
+ "resolved": "https://registry.npmjs.org/@sentry/react/-/react-8.22.0.tgz",
+ "integrity": "sha512-LcO8SPfjYsx3Zvg1mQwjreVvtriVxde+6njIJyXU9TArB0e8bFexvd4MGXdBExgW9aY449hNaStgKRWMNHeVHQ==",
+ "dependencies": {
+ "@sentry/browser": "8.22.0",
+ "@sentry/core": "8.22.0",
+ "@sentry/types": "8.22.0",
+ "@sentry/utils": "8.22.0",
"hoist-non-react-statics": "^3.3.2"
},
"engines": {
@@ -4099,52 +3639,24 @@
}
},
"node_modules/@sentry/types": {
- "version": "8.7.0",
- "resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.7.0.tgz",
- "integrity": "sha512-11KLOKumP6akugVGLvSoEig+JlP0ZEzW3nN9P+ppgdIx9HAxMIh6UvumbieG4/DWjAh2kh6NPNfUw3gk2Gfq1A==",
+ "version": "8.22.0",
+ "resolved": "https://registry.npmjs.org/@sentry/types/-/types-8.22.0.tgz",
+ "integrity": "sha512-1MLK3xO+uF2oJaa+M98aLIrQsEHzV7xnVWPfE3MhejYLNQebj4rQnQKTut/xZNIF9W0Q+bRcakLarC3ce2a74g==",
"engines": {
"node": ">=14.18"
}
},
"node_modules/@sentry/utils": {
- "version": "8.7.0",
- "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.7.0.tgz",
- "integrity": "sha512-aWmcbSoOmrbzll/FkNQFJcCtLAuJLvTYbRKiCSkV3FScA7UaA742HkTZAPFiioALFIESWk/fcGZqtN0s4I281Q==",
+ "version": "8.22.0",
+ "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-8.22.0.tgz",
+ "integrity": "sha512-0ITG2+3EtyMtyc/nQG8aB9z9eIQ4L43nM/KuNgYSnM1vPl/zegbaLT0Ek/xkQB1OLIOLkEPQ6x9GWe+248/n3g==",
"dependencies": {
- "@sentry/types": "8.7.0"
+ "@sentry/types": "8.22.0"
},
"engines": {
"node": ">=14.18"
}
},
- "node_modules/@sinclair/typebox": {
- "version": "0.27.8",
- "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz",
- "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==",
- "dev": true
- },
- "node_modules/@sinonjs/commons": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz",
- "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "type-detect": "4.0.8"
- }
- },
- "node_modules/@sinonjs/fake-timers": {
- "version": "10.3.0",
- "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz",
- "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@sinonjs/commons": "^3.0.0"
- }
- },
"node_modules/@svgr/babel-plugin-add-jsx-attribute": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-8.0.0.tgz",
@@ -4378,6 +3890,7 @@
"resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.0.0.tgz",
"integrity": "sha512-PmJPnogldqoVFf+EwbHvbBJ98MmqASV8kLrBYgsDNxQcFMeIS7JFL48sfyXvuMtgmWO/wMhh25odr+8VhDmn4g==",
"dev": true,
+ "peer": true,
"dependencies": {
"@babel/code-frame": "^7.10.4",
"@babel/runtime": "^7.12.5",
@@ -4393,12 +3906,12 @@
}
},
"node_modules/@testing-library/jest-dom": {
- "version": "6.4.5",
- "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.4.5.tgz",
- "integrity": "sha512-AguB9yvTXmCnySBP1lWjfNNUwpbElsaQ567lt2VdGqAdHtpieLgjmcVyv1q7PMIvLbgpDdkWV5Ydv3FEejyp2A==",
+ "version": "6.4.8",
+ "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.4.8.tgz",
+ "integrity": "sha512-JD0G+Zc38f5MBHA4NgxQMR5XtO5Jx9g86jqturNTt2WUfRmLDIY7iKkWHDCCTiDuFMre6nxAD5wHw9W5kI4rGw==",
"dev": true,
"dependencies": {
- "@adobe/css-tools": "^4.3.2",
+ "@adobe/css-tools": "^4.4.0",
"@babel/runtime": "^7.9.2",
"aria-query": "^5.0.0",
"chalk": "^3.0.0",
@@ -4411,30 +3924,6 @@
"node": ">=14",
"npm": ">=6",
"yarn": ">=1"
- },
- "peerDependencies": {
- "@jest/globals": ">= 28",
- "@types/bun": "latest",
- "@types/jest": ">= 28",
- "jest": ">= 28",
- "vitest": ">= 0.32"
- },
- "peerDependenciesMeta": {
- "@jest/globals": {
- "optional": true
- },
- "@types/bun": {
- "optional": true
- },
- "@types/jest": {
- "optional": true
- },
- "jest": {
- "optional": true
- },
- "vitest": {
- "optional": true
- }
}
},
"node_modules/@testing-library/jest-dom/node_modules/chalk": {
@@ -4457,26 +3946,29 @@
"dev": true
},
"node_modules/@testing-library/react": {
- "version": "15.0.6",
- "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-15.0.6.tgz",
- "integrity": "sha512-UlbazRtEpQClFOiYp+1BapMT+xyqWMnE+hh9tn5DQ6gmlE7AIZWcGpzZukmDZuFk3By01oiqOf8lRedLS4k6xQ==",
+ "version": "16.0.0",
+ "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.0.0.tgz",
+ "integrity": "sha512-guuxUKRWQ+FgNX0h0NS0FIq3Q3uLtWVpBzcLOggmfMoUpgBnzBzvLLd4fbm6yS8ydJd94cIfY4yP9qUQjM2KwQ==",
"dev": true,
"dependencies": {
- "@babel/runtime": "^7.12.5",
- "@testing-library/dom": "^10.0.0",
- "@types/react-dom": "^18.0.0"
+ "@babel/runtime": "^7.12.5"
},
"engines": {
"node": ">=18"
},
"peerDependencies": {
+ "@testing-library/dom": "^10.0.0",
"@types/react": "^18.0.0",
+ "@types/react-dom": "^18.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
}
}
},
@@ -4497,7 +3989,8 @@
"version": "5.0.4",
"resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz",
"integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==",
- "dev": true
+ "dev": true,
+ "peer": true
},
"node_modules/@types/babel__core": {
"version": "7.20.5",
@@ -4628,17 +4121,6 @@
"resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.14.tgz",
"integrity": "sha512-WCfD5Ht3ZesJUsONdhvm84dmzWOiOzOAqOncN0++w0lBw1o8OuDNJF2McvvCef/yBqb/HYRahp1BYtODFQ8bRg=="
},
- "node_modules/@types/graceful-fs": {
- "version": "4.1.9",
- "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz",
- "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@types/node": "*"
- }
- },
"node_modules/@types/hoist-non-react-statics": {
"version": "3.3.5",
"resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.5.tgz",
@@ -4648,78 +4130,6 @@
"hoist-non-react-statics": "^3.3.0"
}
},
- "node_modules/@types/istanbul-lib-coverage": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz",
- "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==",
- "dev": true,
- "optional": true,
- "peer": true
- },
- "node_modules/@types/istanbul-lib-report": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz",
- "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@types/istanbul-lib-coverage": "*"
- }
- },
- "node_modules/@types/istanbul-reports": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz",
- "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@types/istanbul-lib-report": "*"
- }
- },
- "node_modules/@types/jest": {
- "version": "29.5.12",
- "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz",
- "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "expect": "^29.0.0",
- "pretty-format": "^29.0.0"
- }
- },
- "node_modules/@types/jest/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/@types/jest/node_modules/pretty-format": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
- "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/schemas": "^29.6.3",
- "ansi-styles": "^5.0.0",
- "react-is": "^18.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
"node_modules/@types/json-schema": {
"version": "7.0.15",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
@@ -4803,14 +4213,6 @@
"@types/react": "*"
}
},
- "node_modules/@types/stack-utils": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz",
- "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==",
- "dev": true,
- "optional": true,
- "peer": true
- },
"node_modules/@types/stylis": {
"version": "4.2.5",
"resolved": "https://registry.npmjs.org/@types/stylis/-/stylis-4.2.5.tgz",
@@ -4821,51 +4223,32 @@
"resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz",
"integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA=="
},
- "node_modules/@types/yargs": {
- "version": "17.0.32",
- "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz",
- "integrity": "sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@types/yargs-parser": "*"
- }
- },
- "node_modules/@types/yargs-parser": {
- "version": "21.0.3",
- "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz",
- "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==",
- "dev": true,
- "optional": true,
- "peer": true
- },
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "7.12.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.12.0.tgz",
- "integrity": "sha512-7F91fcbuDf/d3S8o21+r3ZncGIke/+eWk0EpO21LXhDfLahriZF9CGj4fbAetEjlaBdjdSm9a6VeXbpbT6Z40Q==",
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.0.0.tgz",
+ "integrity": "sha512-STIZdwEQRXAHvNUS6ILDf5z3u95Gc8jzywunxSNqX00OooIemaaNIA0vEgynJlycL5AjabYLLrIyHd4iazyvtg==",
"dev": true,
"dependencies": {
"@eslint-community/regexpp": "^4.10.0",
- "@typescript-eslint/scope-manager": "7.12.0",
- "@typescript-eslint/type-utils": "7.12.0",
- "@typescript-eslint/utils": "7.12.0",
- "@typescript-eslint/visitor-keys": "7.12.0",
+ "@typescript-eslint/scope-manager": "8.0.0",
+ "@typescript-eslint/type-utils": "8.0.0",
+ "@typescript-eslint/utils": "8.0.0",
+ "@typescript-eslint/visitor-keys": "8.0.0",
"graphemer": "^1.4.0",
"ignore": "^5.3.1",
"natural-compare": "^1.4.0",
"ts-api-utils": "^1.3.0"
},
"engines": {
- "node": "^18.18.0 || >=20.0.0"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
- "@typescript-eslint/parser": "^7.0.0",
- "eslint": "^8.56.0"
+ "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0",
+ "eslint": "^8.57.0 || ^9.0.0"
},
"peerDependenciesMeta": {
"typescript": {
@@ -4874,26 +4257,26 @@
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "7.12.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.12.0.tgz",
- "integrity": "sha512-dm/J2UDY3oV3TKius2OUZIFHsomQmpHtsV0FTh1WO8EKgHLQ1QCADUqscPgTpU+ih1e21FQSRjXckHn3txn6kQ==",
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.0.0.tgz",
+ "integrity": "sha512-pS1hdZ+vnrpDIxuFXYQpLTILglTjSYJ9MbetZctrUawogUsPdz31DIIRZ9+rab0LhYNTsk88w4fIzVheiTbWOQ==",
"dev": true,
"dependencies": {
- "@typescript-eslint/scope-manager": "7.12.0",
- "@typescript-eslint/types": "7.12.0",
- "@typescript-eslint/typescript-estree": "7.12.0",
- "@typescript-eslint/visitor-keys": "7.12.0",
+ "@typescript-eslint/scope-manager": "8.0.0",
+ "@typescript-eslint/types": "8.0.0",
+ "@typescript-eslint/typescript-estree": "8.0.0",
+ "@typescript-eslint/visitor-keys": "8.0.0",
"debug": "^4.3.4"
},
"engines": {
- "node": "^18.18.0 || >=20.0.0"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
- "eslint": "^8.56.0"
+ "eslint": "^8.57.0 || ^9.0.0"
},
"peerDependenciesMeta": {
"typescript": {
@@ -4902,16 +4285,16 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "7.12.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.12.0.tgz",
- "integrity": "sha512-itF1pTnN6F3unPak+kutH9raIkL3lhH1YRPGgt7QQOh43DQKVJXmWkpb+vpc/TiDHs6RSd9CTbDsc/Y+Ygq7kg==",
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.0.0.tgz",
+ "integrity": "sha512-V0aa9Csx/ZWWv2IPgTfY7T4agYwJyILESu/PVqFtTFz9RIS823mAze+NbnBI8xiwdX3iqeQbcTYlvB04G9wyQw==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "7.12.0",
- "@typescript-eslint/visitor-keys": "7.12.0"
+ "@typescript-eslint/types": "8.0.0",
+ "@typescript-eslint/visitor-keys": "8.0.0"
},
"engines": {
- "node": "^18.18.0 || >=20.0.0"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
@@ -4919,26 +4302,23 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "7.12.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.12.0.tgz",
- "integrity": "sha512-lib96tyRtMhLxwauDWUp/uW3FMhLA6D0rJ8T7HmH7x23Gk1Gwwu8UZ94NMXBvOELn6flSPiBrCKlehkiXyaqwA==",
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.0.0.tgz",
+ "integrity": "sha512-mJAFP2mZLTBwAn5WI4PMakpywfWFH5nQZezUQdSKV23Pqo6o9iShQg1hP2+0hJJXP2LnZkWPphdIq4juYYwCeg==",
"dev": true,
"dependencies": {
- "@typescript-eslint/typescript-estree": "7.12.0",
- "@typescript-eslint/utils": "7.12.0",
+ "@typescript-eslint/typescript-estree": "8.0.0",
+ "@typescript-eslint/utils": "8.0.0",
"debug": "^4.3.4",
"ts-api-utils": "^1.3.0"
},
"engines": {
- "node": "^18.18.0 || >=20.0.0"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
- "peerDependencies": {
- "eslint": "^8.56.0"
- },
"peerDependenciesMeta": {
"typescript": {
"optional": true
@@ -4946,12 +4326,12 @@
}
},
"node_modules/@typescript-eslint/types": {
- "version": "7.12.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.12.0.tgz",
- "integrity": "sha512-o+0Te6eWp2ppKY3mLCU+YA9pVJxhUJE15FV7kxuD9jgwIAa+w/ycGJBMrYDTpVGUM/tgpa9SeMOugSabWFq7bg==",
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.0.0.tgz",
+ "integrity": "sha512-wgdSGs9BTMWQ7ooeHtu5quddKKs5Z5dS+fHLbrQI+ID0XWJLODGMHRfhwImiHoeO2S5Wir2yXuadJN6/l4JRxw==",
"dev": true,
"engines": {
- "node": "^18.18.0 || >=20.0.0"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
@@ -4959,13 +4339,13 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
- "version": "7.12.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.12.0.tgz",
- "integrity": "sha512-5bwqLsWBULv1h6pn7cMW5dXX/Y2amRqLaKqsASVwbBHMZSnHqE/HN4vT4fE0aFsiwxYvr98kqOWh1a8ZKXalCQ==",
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.0.0.tgz",
+ "integrity": "sha512-5b97WpKMX+Y43YKi4zVcCVLtK5F98dFls3Oxui8LbnmRsseKenbbDinmvxrWegKDMmlkIq/XHuyy0UGLtpCDKg==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "7.12.0",
- "@typescript-eslint/visitor-keys": "7.12.0",
+ "@typescript-eslint/types": "8.0.0",
+ "@typescript-eslint/visitor-keys": "8.0.0",
"debug": "^4.3.4",
"globby": "^11.1.0",
"is-glob": "^4.0.3",
@@ -4974,7 +4354,7 @@
"ts-api-utils": "^1.3.0"
},
"engines": {
- "node": "^18.18.0 || >=20.0.0"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
@@ -4987,38 +4367,38 @@
}
},
"node_modules/@typescript-eslint/utils": {
- "version": "7.12.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.12.0.tgz",
- "integrity": "sha512-Y6hhwxwDx41HNpjuYswYp6gDbkiZ8Hin9Bf5aJQn1bpTs3afYY4GX+MPYxma8jtoIV2GRwTM/UJm/2uGCVv+DQ==",
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.0.0.tgz",
+ "integrity": "sha512-k/oS/A/3QeGLRvOWCg6/9rATJL5rec7/5s1YmdS0ZU6LHveJyGFwBvLhSRBv6i9xaj7etmosp+l+ViN1I9Aj/Q==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.0",
- "@typescript-eslint/scope-manager": "7.12.0",
- "@typescript-eslint/types": "7.12.0",
- "@typescript-eslint/typescript-estree": "7.12.0"
+ "@typescript-eslint/scope-manager": "8.0.0",
+ "@typescript-eslint/types": "8.0.0",
+ "@typescript-eslint/typescript-estree": "8.0.0"
},
"engines": {
- "node": "^18.18.0 || >=20.0.0"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
- "eslint": "^8.56.0"
+ "eslint": "^8.57.0 || ^9.0.0"
}
},
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "7.12.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.12.0.tgz",
- "integrity": "sha512-uZk7DevrQLL3vSnfFl5bj4sL75qC9D6EdjemIdbtkuUmIheWpuiiylSY01JxJE7+zGrOWDZrp1WxOuDntvKrHQ==",
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.0.0.tgz",
+ "integrity": "sha512-oN0K4nkHuOyF3PVMyETbpP5zp6wfyOvm7tWhTMfoqxSSsPmJIh6JNASuZDlODE8eE+0EB9uar+6+vxr9DBTYOA==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "7.12.0",
+ "@typescript-eslint/types": "8.0.0",
"eslint-visitor-keys": "^3.4.3"
},
"engines": {
- "node": "^18.18.0 || >=20.0.0"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
@@ -5202,9 +4582,9 @@
}
},
"node_modules/@vitejs/plugin-react": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.0.tgz",
- "integrity": "sha512-KcEbMsn4Dpk+LIbHMj7gDPRKaTMStxxWRkRmxsg/jVdFdJCZWt1SchZcf0M4t8lIKdwwMsEyzhrcOXRrDPtOBw==",
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.1.tgz",
+ "integrity": "sha512-m/V2syj5CuVnaxcUJOQRel/Wr31FFXRFlnOoq1TVtkCxsY5veGMTEmpWHndrhB2U8ScHtCQB1e+4hWYExQc6Lg==",
"dev": true,
"dependencies": {
"@babel/core": "^7.24.5",
@@ -5221,201 +4601,150 @@
}
},
"node_modules/@vitest/coverage-v8": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-1.6.0.tgz",
- "integrity": "sha512-KvapcbMY/8GYIG0rlwwOKCVNRc0OL20rrhFkg/CHNzncV03TE2XWvO5w9uZYoxNiMEBacAJt3unSOiZ7svePew==",
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-2.0.5.tgz",
+ "integrity": "sha512-qeFcySCg5FLO2bHHSa0tAZAOnAUbp4L6/A5JDuj9+bt53JREl8hpLjLHEWF0e/gWc8INVpJaqA7+Ene2rclpZg==",
"dev": true,
"dependencies": {
- "@ampproject/remapping": "^2.2.1",
+ "@ampproject/remapping": "^2.3.0",
"@bcoe/v8-coverage": "^0.2.3",
- "debug": "^4.3.4",
+ "debug": "^4.3.5",
"istanbul-lib-coverage": "^3.2.2",
"istanbul-lib-report": "^3.0.1",
- "istanbul-lib-source-maps": "^5.0.4",
- "istanbul-reports": "^3.1.6",
- "magic-string": "^0.30.5",
- "magicast": "^0.3.3",
- "picocolors": "^1.0.0",
- "std-env": "^3.5.0",
- "strip-literal": "^2.0.0",
- "test-exclude": "^6.0.0"
+ "istanbul-lib-source-maps": "^5.0.6",
+ "istanbul-reports": "^3.1.7",
+ "magic-string": "^0.30.10",
+ "magicast": "^0.3.4",
+ "std-env": "^3.7.0",
+ "test-exclude": "^7.0.1",
+ "tinyrainbow": "^1.2.0"
},
"funding": {
"url": "https://opencollective.com/vitest"
},
"peerDependencies": {
- "vitest": "1.6.0"
+ "vitest": "2.0.5"
}
},
- "node_modules/@vitest/coverage-v8/node_modules/istanbul-lib-source-maps": {
- "version": "5.0.4",
- "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-5.0.4.tgz",
- "integrity": "sha512-wHOoEsNJTVltaJp8eVkm8w+GVkVNHT2YDYo53YdzQEL2gWm1hBX5cGFR9hQJtuGLebidVX7et3+dmDZrmclduw==",
+ "node_modules/@vitest/coverage-v8/node_modules/debug": {
+ "version": "4.3.6",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz",
+ "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==",
"dev": true,
"dependencies": {
- "@jridgewell/trace-mapping": "^0.3.23",
- "debug": "^4.1.1",
- "istanbul-lib-coverage": "^3.0.0"
+ "ms": "2.1.2"
},
"engines": {
- "node": ">=10"
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
}
},
"node_modules/@vitest/expect": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-1.6.0.tgz",
- "integrity": "sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==",
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.0.5.tgz",
+ "integrity": "sha512-yHZtwuP7JZivj65Gxoi8upUN2OzHTi3zVfjwdpu2WrvCZPLwsJ2Ey5ILIPccoW23dd/zQBlJ4/dhi7DWNyXCpA==",
"dev": true,
"dependencies": {
- "@vitest/spy": "1.6.0",
- "@vitest/utils": "1.6.0",
- "chai": "^4.3.10"
+ "@vitest/spy": "2.0.5",
+ "@vitest/utils": "2.0.5",
+ "chai": "^5.1.1",
+ "tinyrainbow": "^1.2.0"
},
"funding": {
"url": "https://opencollective.com/vitest"
}
},
- "node_modules/@vitest/runner": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-1.6.0.tgz",
- "integrity": "sha512-P4xgwPjwesuBiHisAVz/LSSZtDjOTPYZVmNAnpHHSR6ONrf8eCJOFRvUwdHn30F5M1fxhqtl7QZQUk2dprIXAg==",
+ "node_modules/@vitest/pretty-format": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.0.5.tgz",
+ "integrity": "sha512-h8k+1oWHfwTkyTkb9egzwNMfJAEx4veaPSnMeKbVSjp4euqGSbQlm5+6VHwTr7u4FJslVVsUG5nopCaAYdOmSQ==",
"dev": true,
"dependencies": {
- "@vitest/utils": "1.6.0",
- "p-limit": "^5.0.0",
- "pathe": "^1.1.1"
+ "tinyrainbow": "^1.2.0"
},
"funding": {
"url": "https://opencollective.com/vitest"
}
},
- "node_modules/@vitest/runner/node_modules/p-limit": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-5.0.0.tgz",
- "integrity": "sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==",
+ "node_modules/@vitest/runner": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.0.5.tgz",
+ "integrity": "sha512-TfRfZa6Bkk9ky4tW0z20WKXFEwwvWhRY+84CnSEtq4+3ZvDlJyY32oNTJtM7AW9ihW90tX/1Q78cb6FjoAs+ig==",
"dev": true,
"dependencies": {
- "yocto-queue": "^1.0.0"
- },
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@vitest/runner/node_modules/yocto-queue": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz",
- "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==",
- "dev": true,
- "engines": {
- "node": ">=12.20"
+ "@vitest/utils": "2.0.5",
+ "pathe": "^1.1.2"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://opencollective.com/vitest"
}
},
"node_modules/@vitest/snapshot": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-1.6.0.tgz",
- "integrity": "sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==",
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.0.5.tgz",
+ "integrity": "sha512-SgCPUeDFLaM0mIUHfaArq8fD2WbaXG/zVXjRupthYfYGzc8ztbFbu6dUNOblBG7XLMR1kEhS/DNnfCZ2IhdDew==",
"dev": true,
"dependencies": {
- "magic-string": "^0.30.5",
- "pathe": "^1.1.1",
- "pretty-format": "^29.7.0"
+ "@vitest/pretty-format": "2.0.5",
+ "magic-string": "^0.30.10",
+ "pathe": "^1.1.2"
},
"funding": {
"url": "https://opencollective.com/vitest"
}
},
- "node_modules/@vitest/snapshot/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/@vitest/snapshot/node_modules/pretty-format": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
- "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
- "dev": true,
- "dependencies": {
- "@jest/schemas": "^29.6.3",
- "ansi-styles": "^5.0.0",
- "react-is": "^18.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
"node_modules/@vitest/spy": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-1.6.0.tgz",
- "integrity": "sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==",
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.0.5.tgz",
+ "integrity": "sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==",
"dev": true,
"dependencies": {
- "tinyspy": "^2.2.0"
+ "tinyspy": "^3.0.0"
},
"funding": {
"url": "https://opencollective.com/vitest"
}
},
"node_modules/@vitest/ui": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/@vitest/ui/-/ui-1.6.0.tgz",
- "integrity": "sha512-k3Lyo+ONLOgylctiGovRKy7V4+dIN2yxstX3eY5cWFXH6WP+ooVX79YSyi0GagdTQzLmT43BF27T0s6dOIPBXA==",
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@vitest/ui/-/ui-2.0.5.tgz",
+ "integrity": "sha512-m+ZpVt/PVi/nbeRKEjdiYeoh0aOfI9zr3Ria9LO7V2PlMETtAXJS3uETEZkc8Be2oOl8mhd7Ew+5SRBXRYncNw==",
"dev": true,
"dependencies": {
- "@vitest/utils": "1.6.0",
+ "@vitest/utils": "2.0.5",
"fast-glob": "^3.3.2",
- "fflate": "^0.8.1",
- "flatted": "^3.2.9",
- "pathe": "^1.1.1",
- "picocolors": "^1.0.0",
- "sirv": "^2.0.4"
+ "fflate": "^0.8.2",
+ "flatted": "^3.3.1",
+ "pathe": "^1.1.2",
+ "sirv": "^2.0.4",
+ "tinyrainbow": "^1.2.0"
},
"funding": {
"url": "https://opencollective.com/vitest"
},
"peerDependencies": {
- "vitest": "1.6.0"
+ "vitest": "2.0.5"
}
},
"node_modules/@vitest/utils": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-1.6.0.tgz",
- "integrity": "sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==",
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.0.5.tgz",
+ "integrity": "sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==",
"dev": true,
"dependencies": {
- "diff-sequences": "^29.6.3",
+ "@vitest/pretty-format": "2.0.5",
"estree-walker": "^3.0.3",
- "loupe": "^2.3.7",
- "pretty-format": "^29.7.0"
+ "loupe": "^3.1.1",
+ "tinyrainbow": "^1.2.0"
},
"funding": {
"url": "https://opencollective.com/vitest"
}
},
- "node_modules/@vitest/utils/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
"node_modules/@vitest/utils/node_modules/estree-walker": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
@@ -5425,20 +4754,6 @@
"@types/estree": "^1.0.0"
}
},
- "node_modules/@vitest/utils/node_modules/pretty-format": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
- "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
- "dev": true,
- "dependencies": {
- "@jest/schemas": "^29.6.3",
- "ansi-styles": "^5.0.0",
- "react-is": "^18.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
"node_modules/acorn": {
"version": "8.11.3",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz",
@@ -5458,15 +4773,6 @@
"acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
}
},
- "node_modules/acorn-walk": {
- "version": "8.3.2",
- "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz",
- "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==",
- "dev": true,
- "engines": {
- "node": ">=0.4.0"
- }
- },
"node_modules/agent-base": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz",
@@ -5682,29 +4988,20 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/array.prototype.toreversed": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/array.prototype.toreversed/-/array.prototype.toreversed-1.1.2.tgz",
- "integrity": "sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1",
- "es-shim-unscopables": "^1.0.0"
- }
- },
"node_modules/array.prototype.tosorted": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.3.tgz",
- "integrity": "sha512-/DdH4TiTmOKzyQbp/eadcCVexiCb36xJg7HshYOYJnNZFDj33GEv0P7GxsynpShhq4OLYJzbGcBDkLsDt7MnNg==",
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz",
+ "integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.5",
+ "call-bind": "^1.0.7",
"define-properties": "^1.2.1",
- "es-abstract": "^1.22.3",
- "es-errors": "^1.1.0",
+ "es-abstract": "^1.23.3",
+ "es-errors": "^1.3.0",
"es-shim-unscopables": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
}
},
"node_modules/arraybuffer.prototype.slice": {
@@ -5730,12 +5027,12 @@
}
},
"node_modules/assertion-error": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz",
- "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
+ "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==",
"dev": true,
"engines": {
- "node": "*"
+ "node": ">=12"
}
},
"node_modules/asynckit": {
@@ -5759,29 +5056,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/babel-jest": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz",
- "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/transform": "^29.7.0",
- "@types/babel__core": "^7.1.14",
- "babel-plugin-istanbul": "^6.1.1",
- "babel-preset-jest": "^29.6.3",
- "chalk": "^4.0.0",
- "graceful-fs": "^4.2.9",
- "slash": "^3.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.8.0"
- }
- },
"node_modules/babel-plugin-i18next-extract": {
"version": "0.10.0",
"resolved": "https://registry.npmjs.org/babel-plugin-i18next-extract/-/babel-plugin-i18next-extract-0.10.0.tgz",
@@ -5812,97 +5086,33 @@
"node": ">=6.9.0"
}
},
- "node_modules/babel-plugin-istanbul": {
- "version": "6.1.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz",
- "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==",
- "dev": true,
- "optional": true,
- "peer": true,
+ "node_modules/babel-plugin-macros": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz",
+ "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.0.0",
- "@istanbuljs/load-nyc-config": "^1.0.0",
- "@istanbuljs/schema": "^0.1.2",
- "istanbul-lib-instrument": "^5.0.4",
- "test-exclude": "^6.0.0"
+ "@babel/runtime": "^7.12.5",
+ "cosmiconfig": "^7.0.0",
+ "resolve": "^1.19.0"
},
"engines": {
- "node": ">=8"
+ "node": ">=10",
+ "npm": ">=6"
}
},
- "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz",
- "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==",
- "dev": true,
- "optional": true,
- "peer": true,
+ "node_modules/babel-plugin-macros/node_modules/cosmiconfig": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz",
+ "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==",
"dependencies": {
- "@babel/core": "^7.12.3",
- "@babel/parser": "^7.14.7",
- "@istanbuljs/schema": "^0.1.2",
- "istanbul-lib-coverage": "^3.2.0",
- "semver": "^6.3.0"
+ "@types/parse-json": "^4.0.0",
+ "import-fresh": "^3.2.1",
+ "parse-json": "^5.0.0",
+ "path-type": "^4.0.0",
+ "yaml": "^1.10.0"
},
"engines": {
- "node": ">=8"
- }
- },
- "node_modules/babel-plugin-istanbul/node_modules/semver": {
- "version": "6.3.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
- "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "bin": {
- "semver": "bin/semver.js"
- }
- },
- "node_modules/babel-plugin-jest-hoist": {
- "version": "29.6.3",
- "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz",
- "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@babel/template": "^7.3.3",
- "@babel/types": "^7.3.3",
- "@types/babel__core": "^7.1.14",
- "@types/babel__traverse": "^7.0.6"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/babel-plugin-macros": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz",
- "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==",
- "dependencies": {
- "@babel/runtime": "^7.12.5",
- "cosmiconfig": "^7.0.0",
- "resolve": "^1.19.0"
- },
- "engines": {
- "node": ">=10",
- "npm": ">=6"
- }
- },
- "node_modules/babel-plugin-macros/node_modules/cosmiconfig": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz",
- "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==",
- "dependencies": {
- "@types/parse-json": "^4.0.0",
- "import-fresh": "^3.2.1",
- "parse-json": "^5.0.0",
- "path-type": "^4.0.0",
- "yaml": "^1.10.0"
- },
- "engines": {
- "node": ">=10"
+ "node": ">=10"
}
},
"node_modules/babel-plugin-macros/node_modules/yaml": {
@@ -5962,49 +5172,6 @@
"resolved": "https://registry.npmjs.org/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.24.tgz",
"integrity": "sha512-eqj0hVcJUR57/Ug2zE1Yswsw4LhuqqHhD+8v120T1cl3kjg76QwtyBrdIk4WVwK+lAhBJVYCd/v+4nc4y+8JsA=="
},
- "node_modules/babel-preset-current-node-syntax": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz",
- "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@babel/plugin-syntax-async-generators": "^7.8.4",
- "@babel/plugin-syntax-bigint": "^7.8.3",
- "@babel/plugin-syntax-class-properties": "^7.8.3",
- "@babel/plugin-syntax-import-meta": "^7.8.3",
- "@babel/plugin-syntax-json-strings": "^7.8.3",
- "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3",
- "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
- "@babel/plugin-syntax-numeric-separator": "^7.8.3",
- "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
- "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
- "@babel/plugin-syntax-optional-chaining": "^7.8.3",
- "@babel/plugin-syntax-top-level-await": "^7.8.3"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/babel-preset-jest": {
- "version": "29.6.3",
- "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz",
- "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "babel-plugin-jest-hoist": "^29.6.3",
- "babel-preset-current-node-syntax": "^1.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
"node_modules/babel-preset-react-app": {
"version": "10.0.1",
"resolved": "https://registry.npmjs.org/babel-preset-react-app/-/babel-preset-react-app-10.0.1.tgz",
@@ -6055,12 +5222,12 @@
}
},
"node_modules/braces": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
- "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
"dev": true,
"dependencies": {
- "fill-range": "^7.0.1"
+ "fill-range": "^7.1.1"
},
"engines": {
"node": ">=8"
@@ -6115,17 +5282,6 @@
"browserslist": "*"
}
},
- "node_modules/bser": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz",
- "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "node-int64": "^0.4.0"
- }
- },
"node_modules/buffer-from": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
@@ -6241,21 +5397,19 @@
]
},
"node_modules/chai": {
- "version": "4.4.1",
- "resolved": "https://registry.npmjs.org/chai/-/chai-4.4.1.tgz",
- "integrity": "sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==",
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/chai/-/chai-5.1.1.tgz",
+ "integrity": "sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==",
"dev": true,
"dependencies": {
- "assertion-error": "^1.1.0",
- "check-error": "^1.0.3",
- "deep-eql": "^4.1.3",
- "get-func-name": "^2.0.2",
- "loupe": "^2.3.6",
- "pathval": "^1.1.1",
- "type-detect": "^4.0.8"
+ "assertion-error": "^2.0.1",
+ "check-error": "^2.1.1",
+ "deep-eql": "^5.0.1",
+ "loupe": "^3.1.0",
+ "pathval": "^2.0.0"
},
"engines": {
- "node": ">=4"
+ "node": ">=12"
}
},
"node_modules/chalk": {
@@ -6273,27 +5427,13 @@
"url": "https://github.com/chalk/chalk?sponsor=1"
}
},
- "node_modules/char-regex": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz",
- "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/check-error": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.3.tgz",
- "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==",
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.1.tgz",
+ "integrity": "sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==",
"dev": true,
- "dependencies": {
- "get-func-name": "^2.0.2"
- },
"engines": {
- "node": "*"
+ "node": ">= 16"
}
},
"node_modules/chokidar": {
@@ -6338,14 +5478,6 @@
"integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==",
"dev": true
},
- "node_modules/cjs-module-lexer": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz",
- "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==",
- "dev": true,
- "optional": true,
- "peer": true
- },
"node_modules/classnames": {
"version": "2.5.1",
"resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz",
@@ -6382,96 +5514,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/cliui": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
- "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "string-width": "^4.2.0",
- "strip-ansi": "^6.0.1",
- "wrap-ansi": "^7.0.0"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/cliui/node_modules/emoji-regex": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
- "dev": true,
- "optional": true,
- "peer": true
- },
- "node_modules/cliui/node_modules/is-fullwidth-code-point": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/cliui/node_modules/string-width": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/cliui/node_modules/wrap-ansi": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
- "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "ansi-styles": "^4.0.0",
- "string-width": "^4.1.0",
- "strip-ansi": "^6.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
- }
- },
- "node_modules/co": {
- "version": "4.6.0",
- "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
- "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "iojs": ">= 1.0.0",
- "node": ">= 0.12.0"
- }
- },
- "node_modules/collect-v8-coverage": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz",
- "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==",
- "dev": true,
- "optional": true,
- "peer": true
- },
"node_modules/color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
@@ -6576,29 +5618,6 @@
}
}
},
- "node_modules/create-jest": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz",
- "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/types": "^29.6.3",
- "chalk": "^4.0.0",
- "exit": "^0.1.2",
- "graceful-fs": "^4.2.9",
- "jest-config": "^29.7.0",
- "jest-util": "^29.7.0",
- "prompts": "^2.0.1"
- },
- "bin": {
- "create-jest": "bin/create-jest.js"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
"node_modules/cross-fetch": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz",
@@ -6664,6 +5683,12 @@
"node": ">=18"
}
},
+ "node_modules/cssstyle/node_modules/rrweb-cssom": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz",
+ "integrity": "sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==",
+ "dev": true
+ },
"node_modules/csstype": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
@@ -6932,35 +5957,16 @@
"integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==",
"dev": true
},
- "node_modules/dedent": {
- "version": "1.5.3",
- "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz",
- "integrity": "sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "peerDependencies": {
- "babel-plugin-macros": "^3.1.0"
- },
- "peerDependenciesMeta": {
- "babel-plugin-macros": {
- "optional": true
- }
- }
- },
"node_modules/deep-diff": {
"version": "0.3.8",
"resolved": "https://registry.npmjs.org/deep-diff/-/deep-diff-0.3.8.tgz",
"integrity": "sha512-yVn6RZmHiGnxRKR9sJb3iVV2XTF1Ghh2DiWRZ3dMnGc43yUdWWF/kX6lQyk3+P84iprfWKU/8zFTrlkvtFm1ug=="
},
"node_modules/deep-eql": {
- "version": "4.1.3",
- "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz",
- "integrity": "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==",
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",
+ "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==",
"dev": true,
- "dependencies": {
- "type-detect": "^4.0.0"
- },
"engines": {
"node": ">=6"
}
@@ -7038,31 +6044,11 @@
"node": ">=6"
}
},
- "node_modules/detect-newline": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz",
- "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/detect-node-es": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz",
"integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ=="
},
- "node_modules/diff-sequences": {
- "version": "29.6.3",
- "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz",
- "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==",
- "dev": true,
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
"node_modules/dir-glob": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
@@ -7090,7 +6076,8 @@
"version": "0.5.16",
"resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz",
"integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==",
- "dev": true
+ "dev": true,
+ "peer": true
},
"node_modules/dom-helpers": {
"version": "5.2.1",
@@ -7112,9 +6099,9 @@
}
},
"node_modules/downshift": {
- "version": "9.0.6",
- "resolved": "https://registry.npmjs.org/downshift/-/downshift-9.0.6.tgz",
- "integrity": "sha512-lkqWh0eb34XuH+3z3/BH/LGVRV7ur0rielSlxtlQKsjAFF/wc/c0wsM9phUGXyzK2g1QWHoNHQyc+vVAheI17Q==",
+ "version": "9.0.7",
+ "resolved": "https://registry.npmjs.org/downshift/-/downshift-9.0.7.tgz",
+ "integrity": "sha512-B6JY4sJGEl9xBEJEvC/C+QYYYtPWN5RL+TlROJQfue9+ZFgrD/p1ZgGw73I0WSTNH9/h5q3LIKQA4FLd/N10vg==",
"dependencies": {
"@babel/runtime": "^7.24.5",
"compute-scroll-into-view": "^3.1.0",
@@ -7137,20 +6124,6 @@
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.736.tgz",
"integrity": "sha512-Rer6wc3ynLelKNM4lOCg7/zPQj8tPOCB2hzD32PX9wd3hgRRi9MxEbmkFCokzcEhRVMiOVLjnL9ig9cefJ+6+Q=="
},
- "node_modules/emittery": {
- "version": "0.13.1",
- "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz",
- "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sindresorhus/emittery?sponsor=1"
- }
- },
"node_modules/emoji-regex": {
"version": "9.2.2",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
@@ -7343,9 +6316,9 @@
}
},
"node_modules/esbuild": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.2.tgz",
- "integrity": "sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==",
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",
+ "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
"dev": true,
"hasInstallScript": true,
"bin": {
@@ -7355,29 +6328,29 @@
"node": ">=12"
},
"optionalDependencies": {
- "@esbuild/aix-ppc64": "0.20.2",
- "@esbuild/android-arm": "0.20.2",
- "@esbuild/android-arm64": "0.20.2",
- "@esbuild/android-x64": "0.20.2",
- "@esbuild/darwin-arm64": "0.20.2",
- "@esbuild/darwin-x64": "0.20.2",
- "@esbuild/freebsd-arm64": "0.20.2",
- "@esbuild/freebsd-x64": "0.20.2",
- "@esbuild/linux-arm": "0.20.2",
- "@esbuild/linux-arm64": "0.20.2",
- "@esbuild/linux-ia32": "0.20.2",
- "@esbuild/linux-loong64": "0.20.2",
- "@esbuild/linux-mips64el": "0.20.2",
- "@esbuild/linux-ppc64": "0.20.2",
- "@esbuild/linux-riscv64": "0.20.2",
- "@esbuild/linux-s390x": "0.20.2",
- "@esbuild/linux-x64": "0.20.2",
- "@esbuild/netbsd-x64": "0.20.2",
- "@esbuild/openbsd-x64": "0.20.2",
- "@esbuild/sunos-x64": "0.20.2",
- "@esbuild/win32-arm64": "0.20.2",
- "@esbuild/win32-ia32": "0.20.2",
- "@esbuild/win32-x64": "0.20.2"
+ "@esbuild/aix-ppc64": "0.21.5",
+ "@esbuild/android-arm": "0.21.5",
+ "@esbuild/android-arm64": "0.21.5",
+ "@esbuild/android-x64": "0.21.5",
+ "@esbuild/darwin-arm64": "0.21.5",
+ "@esbuild/darwin-x64": "0.21.5",
+ "@esbuild/freebsd-arm64": "0.21.5",
+ "@esbuild/freebsd-x64": "0.21.5",
+ "@esbuild/linux-arm": "0.21.5",
+ "@esbuild/linux-arm64": "0.21.5",
+ "@esbuild/linux-ia32": "0.21.5",
+ "@esbuild/linux-loong64": "0.21.5",
+ "@esbuild/linux-mips64el": "0.21.5",
+ "@esbuild/linux-ppc64": "0.21.5",
+ "@esbuild/linux-riscv64": "0.21.5",
+ "@esbuild/linux-s390x": "0.21.5",
+ "@esbuild/linux-x64": "0.21.5",
+ "@esbuild/netbsd-x64": "0.21.5",
+ "@esbuild/openbsd-x64": "0.21.5",
+ "@esbuild/sunos-x64": "0.21.5",
+ "@esbuild/win32-arm64": "0.21.5",
+ "@esbuild/win32-ia32": "0.21.5",
+ "@esbuild/win32-x64": "0.21.5"
}
},
"node_modules/escalade": {
@@ -7469,40 +6442,41 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/eslint-plugin-header/-/eslint-plugin-header-3.1.1.tgz",
"integrity": "sha512-9vlKxuJ4qf793CmeeSrZUvVClw6amtpghq3CuWcB5cUNnWHQhgcqy5eF8oVKFk1G3Y/CbchGfEaw3wiIJaNmVg==",
+ "dev": true,
"peerDependencies": {
"eslint": ">=7.7.0"
}
},
"node_modules/eslint-plugin-react": {
- "version": "7.34.2",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.34.2.tgz",
- "integrity": "sha512-2HCmrU+/JNigDN6tg55cRDKCQWicYAPB38JGSFDQt95jDm8rrvSUo7YPkOIm5l6ts1j1zCvysNcasvfTMQzUOw==",
+ "version": "7.35.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.35.0.tgz",
+ "integrity": "sha512-v501SSMOWv8gerHkk+IIQBkcGRGrO2nfybfj5pLxuJNFTPxxA3PSryhXTK+9pNbtkggheDdsC0E9Q8CuPk6JKA==",
"dev": true,
"dependencies": {
"array-includes": "^3.1.8",
"array.prototype.findlast": "^1.2.5",
"array.prototype.flatmap": "^1.3.2",
- "array.prototype.toreversed": "^1.1.2",
- "array.prototype.tosorted": "^1.1.3",
+ "array.prototype.tosorted": "^1.1.4",
"doctrine": "^2.1.0",
"es-iterator-helpers": "^1.0.19",
"estraverse": "^5.3.0",
+ "hasown": "^2.0.2",
"jsx-ast-utils": "^2.4.1 || ^3.0.0",
"minimatch": "^3.1.2",
"object.entries": "^1.1.8",
"object.fromentries": "^2.0.8",
- "object.hasown": "^1.1.4",
"object.values": "^1.2.0",
"prop-types": "^15.8.1",
"resolve": "^2.0.0-next.5",
"semver": "^6.3.1",
- "string.prototype.matchall": "^4.0.11"
+ "string.prototype.matchall": "^4.0.11",
+ "string.prototype.repeat": "^1.0.0"
},
"engines": {
"node": ">=4"
},
"peerDependencies": {
- "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
+ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7"
}
},
"node_modules/eslint-plugin-react-hooks": {
@@ -7518,9 +6492,9 @@
}
},
"node_modules/eslint-plugin-react-refresh": {
- "version": "0.4.7",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.7.tgz",
- "integrity": "sha512-yrj+KInFmwuQS2UQcg1SF83ha1tuHC1jMQbRNyuWtlEzzKRDgAl7L4Yp4NlDUZTZNlWvHEzOtJhMi40R7JxcSw==",
+ "version": "0.4.9",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.9.tgz",
+ "integrity": "sha512-QK49YrBAo5CLNLseZ7sZgvgTy21E6NEw22eZqc4teZfH8pxV3yXc9XXOYfUI6JNpw7mfHNkAeWtBxrTyykB6HA==",
"dev": true,
"peerDependencies": {
"eslint": ">=7"
@@ -7816,35 +6790,6 @@
"which": "bin/which"
}
},
- "node_modules/exit": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",
- "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/expect": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz",
- "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/expect-utils": "^29.7.0",
- "jest-get-type": "^29.6.3",
- "jest-matcher-utils": "^29.7.0",
- "jest-message-util": "^29.7.0",
- "jest-util": "^29.7.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
"node_modules/fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
@@ -7889,9 +6834,9 @@
"integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw=="
},
"node_modules/fast-xml-parser": {
- "version": "4.3.6",
- "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.3.6.tgz",
- "integrity": "sha512-M2SovcRxD4+vC493Uc2GZVcZaj66CCJhWurC4viynVSTvrpErCShNcDz1lAho6n9REQKvL/ll4A4/fw6Y9z8nw==",
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz",
+ "integrity": "sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==",
"funding": [
{
"type": "github",
@@ -7917,17 +6862,6 @@
"reusify": "^1.0.4"
}
},
- "node_modules/fb-watchman": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz",
- "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "bser": "2.1.1"
- }
- },
"node_modules/fflate": {
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz",
@@ -7946,9 +6880,9 @@
}
},
"node_modules/fill-range": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
- "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
"dev": true,
"dependencies": {
"to-regex-range": "^5.0.1"
@@ -8004,6 +6938,34 @@
"is-callable": "^1.1.3"
}
},
+ "node_modules/foreground-child": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz",
+ "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==",
+ "dev": true,
+ "dependencies": {
+ "cross-spawn": "^7.0.0",
+ "signal-exit": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/foreground-child/node_modules/signal-exit": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
+ "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
+ "dev": true,
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
"node_modules/form-data": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
@@ -8086,17 +7048,6 @@
"node": ">=6.9.0"
}
},
- "node_modules/get-caller-file": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
- "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": "6.* || 8.* || >= 10.*"
- }
- },
"node_modules/get-func-name": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz",
@@ -8132,17 +7083,6 @@
"node": ">=6"
}
},
- "node_modules/get-package-type": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz",
- "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=8.0.0"
- }
- },
"node_modules/get-stdin": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz",
@@ -8285,14 +7225,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/graceful-fs": {
- "version": "4.2.11",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
- "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
- "dev": true,
- "optional": true,
- "peer": true
- },
"node_modules/graphemer": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
@@ -8446,9 +7378,9 @@
}
},
"node_modules/https-proxy-agent": {
- "version": "7.0.4",
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz",
- "integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==",
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz",
+ "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==",
"dev": true,
"dependencies": {
"agent-base": "^7.0.2",
@@ -8626,9 +7558,9 @@
}
},
"node_modules/i18next": {
- "version": "23.11.5",
- "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.11.5.tgz",
- "integrity": "sha512-41pvpVbW9rhZPk5xjCX2TPJi2861LEig/YRhUkY+1FQ2IQPS0bKUDYnEqY8XPPbB48h1uIwLnP9iiEfuSl20CA==",
+ "version": "23.12.2",
+ "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.12.2.tgz",
+ "integrity": "sha512-XIeh5V+bi8SJSWGL3jqbTEBW5oD6rbP5L+E7dVQh1MNTxxYef0x15rhJVcRb7oiuq4jLtgy2SD8eFlf6P2cmqg==",
"funding": [
{
"type": "individual",
@@ -8704,27 +7636,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/import-local": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz",
- "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "pkg-dir": "^4.2.0",
- "resolve-cwd": "^3.0.0"
- },
- "bin": {
- "import-local-fixture": "fixtures/cli.js"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/imurmurhash": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
@@ -8968,17 +7879,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-generator-fn": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz",
- "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/is-generator-function": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz",
@@ -9223,24 +8123,6 @@
"node": ">=8"
}
},
- "node_modules/istanbul-lib-instrument": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.2.tgz",
- "integrity": "sha512-1WUsZ9R1lA0HtBSohTkm39WTPlNKSJ5iFk7UwqXkBLoHQT+hfqPsfsTDVuZdKGaBwn7din9bS7SsnoAr943hvw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@babel/core": "^7.23.9",
- "@babel/parser": "^7.23.9",
- "@istanbuljs/schema": "^0.1.3",
- "istanbul-lib-coverage": "^3.2.0",
- "semver": "^7.5.4"
- },
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/istanbul-lib-report": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz",
@@ -9271,16 +8153,14 @@
}
},
"node_modules/istanbul-lib-source-maps": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz",
- "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==",
+ "version": "5.0.6",
+ "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-5.0.6.tgz",
+ "integrity": "sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A==",
"dev": true,
- "optional": true,
- "peer": true,
"dependencies": {
+ "@jridgewell/trace-mapping": "^0.3.23",
"debug": "^4.1.1",
- "istanbul-lib-coverage": "^3.0.0",
- "source-map": "^0.6.1"
+ "istanbul-lib-coverage": "^3.0.0"
},
"engines": {
"node": ">=10"
@@ -9300,1064 +8180,46 @@
}
},
"node_modules/iterator.prototype": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz",
- "integrity": "sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==",
- "dev": true,
- "dependencies": {
- "define-properties": "^1.2.1",
- "get-intrinsic": "^1.2.1",
- "has-symbols": "^1.0.3",
- "reflect.getprototypeof": "^1.0.4",
- "set-function-name": "^2.0.1"
- }
- },
- "node_modules/jest": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz",
- "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/core": "^29.7.0",
- "@jest/types": "^29.6.3",
- "import-local": "^3.0.2",
- "jest-cli": "^29.7.0"
- },
- "bin": {
- "jest": "bin/jest.js"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- },
- "peerDependencies": {
- "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
- },
- "peerDependenciesMeta": {
- "node-notifier": {
- "optional": true
- }
- }
- },
- "node_modules/jest-changed-files": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz",
- "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "execa": "^5.0.0",
- "jest-util": "^29.7.0",
- "p-limit": "^3.1.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-changed-files/node_modules/execa": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
- "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "cross-spawn": "^7.0.3",
- "get-stream": "^6.0.0",
- "human-signals": "^2.1.0",
- "is-stream": "^2.0.0",
- "merge-stream": "^2.0.0",
- "npm-run-path": "^4.0.1",
- "onetime": "^5.1.2",
- "signal-exit": "^3.0.3",
- "strip-final-newline": "^2.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sindresorhus/execa?sponsor=1"
- }
- },
- "node_modules/jest-changed-files/node_modules/get-stream": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
- "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/jest-changed-files/node_modules/human-signals": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
- "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10.17.0"
- }
- },
- "node_modules/jest-changed-files/node_modules/is-stream": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
- "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/jest-changed-files/node_modules/npm-run-path": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
- "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "path-key": "^3.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/jest-changed-files/node_modules/strip-final-newline": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
- "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/jest-circus": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz",
- "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/environment": "^29.7.0",
- "@jest/expect": "^29.7.0",
- "@jest/test-result": "^29.7.0",
- "@jest/types": "^29.6.3",
- "@types/node": "*",
- "chalk": "^4.0.0",
- "co": "^4.6.0",
- "dedent": "^1.0.0",
- "is-generator-fn": "^2.0.0",
- "jest-each": "^29.7.0",
- "jest-matcher-utils": "^29.7.0",
- "jest-message-util": "^29.7.0",
- "jest-runtime": "^29.7.0",
- "jest-snapshot": "^29.7.0",
- "jest-util": "^29.7.0",
- "p-limit": "^3.1.0",
- "pretty-format": "^29.7.0",
- "pure-rand": "^6.0.0",
- "slash": "^3.0.0",
- "stack-utils": "^2.0.3"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-circus/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/jest-circus/node_modules/pretty-format": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
- "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/schemas": "^29.6.3",
- "ansi-styles": "^5.0.0",
- "react-is": "^18.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-cli": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz",
- "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/core": "^29.7.0",
- "@jest/test-result": "^29.7.0",
- "@jest/types": "^29.6.3",
- "chalk": "^4.0.0",
- "create-jest": "^29.7.0",
- "exit": "^0.1.2",
- "import-local": "^3.0.2",
- "jest-config": "^29.7.0",
- "jest-util": "^29.7.0",
- "jest-validate": "^29.7.0",
- "yargs": "^17.3.1"
- },
- "bin": {
- "jest": "bin/jest.js"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- },
- "peerDependencies": {
- "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
- },
- "peerDependenciesMeta": {
- "node-notifier": {
- "optional": true
- }
- }
- },
- "node_modules/jest-config": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz",
- "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@babel/core": "^7.11.6",
- "@jest/test-sequencer": "^29.7.0",
- "@jest/types": "^29.6.3",
- "babel-jest": "^29.7.0",
- "chalk": "^4.0.0",
- "ci-info": "^3.2.0",
- "deepmerge": "^4.2.2",
- "glob": "^7.1.3",
- "graceful-fs": "^4.2.9",
- "jest-circus": "^29.7.0",
- "jest-environment-node": "^29.7.0",
- "jest-get-type": "^29.6.3",
- "jest-regex-util": "^29.6.3",
- "jest-resolve": "^29.7.0",
- "jest-runner": "^29.7.0",
- "jest-util": "^29.7.0",
- "jest-validate": "^29.7.0",
- "micromatch": "^4.0.4",
- "parse-json": "^5.2.0",
- "pretty-format": "^29.7.0",
- "slash": "^3.0.0",
- "strip-json-comments": "^3.1.1"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- },
- "peerDependencies": {
- "@types/node": "*",
- "ts-node": ">=9.0.0"
- },
- "peerDependenciesMeta": {
- "@types/node": {
- "optional": true
- },
- "ts-node": {
- "optional": true
- }
- }
- },
- "node_modules/jest-config/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/jest-config/node_modules/ci-info": {
- "version": "3.9.0",
- "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz",
- "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/sibiraj-s"
- }
- ],
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/jest-config/node_modules/pretty-format": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
- "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/schemas": "^29.6.3",
- "ansi-styles": "^5.0.0",
- "react-is": "^18.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-diff": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz",
- "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "chalk": "^4.0.0",
- "diff-sequences": "^29.6.3",
- "jest-get-type": "^29.6.3",
- "pretty-format": "^29.7.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-diff/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/jest-diff/node_modules/pretty-format": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
- "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/schemas": "^29.6.3",
- "ansi-styles": "^5.0.0",
- "react-is": "^18.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-docblock": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz",
- "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "detect-newline": "^3.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-each": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz",
- "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/types": "^29.6.3",
- "chalk": "^4.0.0",
- "jest-get-type": "^29.6.3",
- "jest-util": "^29.7.0",
- "pretty-format": "^29.7.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-each/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/jest-each/node_modules/pretty-format": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
- "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/schemas": "^29.6.3",
- "ansi-styles": "^5.0.0",
- "react-is": "^18.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-environment-node": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz",
- "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/environment": "^29.7.0",
- "@jest/fake-timers": "^29.7.0",
- "@jest/types": "^29.6.3",
- "@types/node": "*",
- "jest-mock": "^29.7.0",
- "jest-util": "^29.7.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-get-type": {
- "version": "29.6.3",
- "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz",
- "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-haste-map": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz",
- "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/types": "^29.6.3",
- "@types/graceful-fs": "^4.1.3",
- "@types/node": "*",
- "anymatch": "^3.0.3",
- "fb-watchman": "^2.0.0",
- "graceful-fs": "^4.2.9",
- "jest-regex-util": "^29.6.3",
- "jest-util": "^29.7.0",
- "jest-worker": "^29.7.0",
- "micromatch": "^4.0.4",
- "walker": "^1.0.8"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- },
- "optionalDependencies": {
- "fsevents": "^2.3.2"
- }
- },
- "node_modules/jest-leak-detector": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz",
- "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "jest-get-type": "^29.6.3",
- "pretty-format": "^29.7.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-leak-detector/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/jest-leak-detector/node_modules/pretty-format": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
- "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/schemas": "^29.6.3",
- "ansi-styles": "^5.0.0",
- "react-is": "^18.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-matcher-utils": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz",
- "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "chalk": "^4.0.0",
- "jest-diff": "^29.7.0",
- "jest-get-type": "^29.6.3",
- "pretty-format": "^29.7.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-matcher-utils/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/jest-matcher-utils/node_modules/pretty-format": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
- "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/schemas": "^29.6.3",
- "ansi-styles": "^5.0.0",
- "react-is": "^18.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-message-util": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz",
- "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@babel/code-frame": "^7.12.13",
- "@jest/types": "^29.6.3",
- "@types/stack-utils": "^2.0.0",
- "chalk": "^4.0.0",
- "graceful-fs": "^4.2.9",
- "micromatch": "^4.0.4",
- "pretty-format": "^29.7.0",
- "slash": "^3.0.0",
- "stack-utils": "^2.0.3"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-message-util/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/jest-message-util/node_modules/pretty-format": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
- "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/schemas": "^29.6.3",
- "ansi-styles": "^5.0.0",
- "react-is": "^18.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-mock": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz",
- "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/types": "^29.6.3",
- "@types/node": "*",
- "jest-util": "^29.7.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-pnp-resolver": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz",
- "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=6"
- },
- "peerDependencies": {
- "jest-resolve": "*"
- },
- "peerDependenciesMeta": {
- "jest-resolve": {
- "optional": true
- }
- }
- },
- "node_modules/jest-regex-util": {
- "version": "29.6.3",
- "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz",
- "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-resolve": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz",
- "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "chalk": "^4.0.0",
- "graceful-fs": "^4.2.9",
- "jest-haste-map": "^29.7.0",
- "jest-pnp-resolver": "^1.2.2",
- "jest-util": "^29.7.0",
- "jest-validate": "^29.7.0",
- "resolve": "^1.20.0",
- "resolve.exports": "^2.0.0",
- "slash": "^3.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-resolve-dependencies": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz",
- "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "jest-regex-util": "^29.6.3",
- "jest-snapshot": "^29.7.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-runner": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz",
- "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/console": "^29.7.0",
- "@jest/environment": "^29.7.0",
- "@jest/test-result": "^29.7.0",
- "@jest/transform": "^29.7.0",
- "@jest/types": "^29.6.3",
- "@types/node": "*",
- "chalk": "^4.0.0",
- "emittery": "^0.13.1",
- "graceful-fs": "^4.2.9",
- "jest-docblock": "^29.7.0",
- "jest-environment-node": "^29.7.0",
- "jest-haste-map": "^29.7.0",
- "jest-leak-detector": "^29.7.0",
- "jest-message-util": "^29.7.0",
- "jest-resolve": "^29.7.0",
- "jest-runtime": "^29.7.0",
- "jest-util": "^29.7.0",
- "jest-watcher": "^29.7.0",
- "jest-worker": "^29.7.0",
- "p-limit": "^3.1.0",
- "source-map-support": "0.5.13"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-runner/node_modules/source-map-support": {
- "version": "0.5.13",
- "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz",
- "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "buffer-from": "^1.0.0",
- "source-map": "^0.6.0"
- }
- },
- "node_modules/jest-runtime": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz",
- "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/environment": "^29.7.0",
- "@jest/fake-timers": "^29.7.0",
- "@jest/globals": "^29.7.0",
- "@jest/source-map": "^29.6.3",
- "@jest/test-result": "^29.7.0",
- "@jest/transform": "^29.7.0",
- "@jest/types": "^29.6.3",
- "@types/node": "*",
- "chalk": "^4.0.0",
- "cjs-module-lexer": "^1.0.0",
- "collect-v8-coverage": "^1.0.0",
- "glob": "^7.1.3",
- "graceful-fs": "^4.2.9",
- "jest-haste-map": "^29.7.0",
- "jest-message-util": "^29.7.0",
- "jest-mock": "^29.7.0",
- "jest-regex-util": "^29.6.3",
- "jest-resolve": "^29.7.0",
- "jest-snapshot": "^29.7.0",
- "jest-util": "^29.7.0",
- "slash": "^3.0.0",
- "strip-bom": "^4.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-snapshot": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz",
- "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@babel/core": "^7.11.6",
- "@babel/generator": "^7.7.2",
- "@babel/plugin-syntax-jsx": "^7.7.2",
- "@babel/plugin-syntax-typescript": "^7.7.2",
- "@babel/types": "^7.3.3",
- "@jest/expect-utils": "^29.7.0",
- "@jest/transform": "^29.7.0",
- "@jest/types": "^29.6.3",
- "babel-preset-current-node-syntax": "^1.0.0",
- "chalk": "^4.0.0",
- "expect": "^29.7.0",
- "graceful-fs": "^4.2.9",
- "jest-diff": "^29.7.0",
- "jest-get-type": "^29.6.3",
- "jest-matcher-utils": "^29.7.0",
- "jest-message-util": "^29.7.0",
- "jest-util": "^29.7.0",
- "natural-compare": "^1.4.0",
- "pretty-format": "^29.7.0",
- "semver": "^7.5.3"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-snapshot/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/jest-snapshot/node_modules/pretty-format": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
- "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/schemas": "^29.6.3",
- "ansi-styles": "^5.0.0",
- "react-is": "^18.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-styled-components": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/jest-styled-components/-/jest-styled-components-7.2.0.tgz",
- "integrity": "sha512-gwyyveNjvuRA0pyhbQoydXZllLZESs2VuL5fXCabzh0buHPAOUfANtW7n5YMPmdC0sH3VB7h2eUGZ23+tjvaBA==",
- "dev": true,
- "dependencies": {
- "@adobe/css-tools": "^4.0.1"
- },
- "engines": {
- "node": ">= 12"
- },
- "peerDependencies": {
- "styled-components": ">= 5"
- }
- },
- "node_modules/jest-util": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz",
- "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/types": "^29.6.3",
- "@types/node": "*",
- "chalk": "^4.0.0",
- "ci-info": "^3.2.0",
- "graceful-fs": "^4.2.9",
- "picomatch": "^2.2.3"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-util/node_modules/ci-info": {
- "version": "3.9.0",
- "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz",
- "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/sibiraj-s"
- }
- ],
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/jest-validate": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz",
- "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/types": "^29.6.3",
- "camelcase": "^6.2.0",
- "chalk": "^4.0.0",
- "jest-get-type": "^29.6.3",
- "leven": "^3.1.0",
- "pretty-format": "^29.7.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-validate/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/jest-validate/node_modules/pretty-format": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
- "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/schemas": "^29.6.3",
- "ansi-styles": "^5.0.0",
- "react-is": "^18.0.0"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-watcher": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz",
- "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jest/test-result": "^29.7.0",
- "@jest/types": "^29.6.3",
- "@types/node": "*",
- "ansi-escapes": "^4.2.1",
- "chalk": "^4.0.0",
- "emittery": "^0.13.1",
- "jest-util": "^29.7.0",
- "string-length": "^4.0.1"
- },
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
- }
- },
- "node_modules/jest-watcher/node_modules/ansi-escapes": {
- "version": "4.3.2",
- "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
- "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "type-fest": "^0.21.3"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/jest-watcher/node_modules/type-fest": {
- "version": "0.21.3",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
- "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz",
+ "integrity": "sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==",
"dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "dependencies": {
+ "define-properties": "^1.2.1",
+ "get-intrinsic": "^1.2.1",
+ "has-symbols": "^1.0.3",
+ "reflect.getprototypeof": "^1.0.4",
+ "set-function-name": "^2.0.1"
}
},
- "node_modules/jest-worker": {
- "version": "29.7.0",
- "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz",
- "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==",
+ "node_modules/jackspeak": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",
+ "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",
"dev": true,
- "optional": true,
- "peer": true,
"dependencies": {
- "@types/node": "*",
- "jest-util": "^29.7.0",
- "merge-stream": "^2.0.0",
- "supports-color": "^8.0.0"
+ "@isaacs/cliui": "^8.0.2"
},
- "engines": {
- "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ },
+ "optionalDependencies": {
+ "@pkgjs/parseargs": "^0.11.0"
}
},
- "node_modules/jest-worker/node_modules/supports-color": {
- "version": "8.1.1",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",
- "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",
+ "node_modules/jest-styled-components": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/jest-styled-components/-/jest-styled-components-7.2.0.tgz",
+ "integrity": "sha512-gwyyveNjvuRA0pyhbQoydXZllLZESs2VuL5fXCabzh0buHPAOUfANtW7n5YMPmdC0sH3VB7h2eUGZ23+tjvaBA==",
"dev": true,
- "optional": true,
- "peer": true,
"dependencies": {
- "has-flag": "^4.0.0"
+ "@adobe/css-tools": "^4.0.1"
},
"engines": {
- "node": ">=10"
+ "node": ">= 12"
},
- "funding": {
- "url": "https://github.com/chalk/supports-color?sponsor=1"
+ "peerDependencies": {
+ "styled-components": ">= 5"
}
},
"node_modules/js-tokens": {
@@ -10377,9 +8239,9 @@
}
},
"node_modules/jsdom": {
- "version": "24.0.0",
- "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-24.0.0.tgz",
- "integrity": "sha512-UDS2NayCvmXSXVP6mpTj+73JnNQadZlr9N68189xib2tx5Mls7swlTNao26IoHv46BZJFvXygyRtyXd1feAk1A==",
+ "version": "24.1.1",
+ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-24.1.1.tgz",
+ "integrity": "sha512-5O1wWV99Jhq4DV7rCLIoZ/UIhyQeDR7wHVyZAHAshbrvZsLs+Xzz7gtwnlJTJDjleiTKh54F4dXrX70vJQTyJQ==",
"dev": true,
"dependencies": {
"cssstyle": "^4.0.1",
@@ -10387,21 +8249,21 @@
"decimal.js": "^10.4.3",
"form-data": "^4.0.0",
"html-encoding-sniffer": "^4.0.0",
- "http-proxy-agent": "^7.0.0",
- "https-proxy-agent": "^7.0.2",
+ "http-proxy-agent": "^7.0.2",
+ "https-proxy-agent": "^7.0.5",
"is-potential-custom-element-name": "^1.0.1",
- "nwsapi": "^2.2.7",
+ "nwsapi": "^2.2.12",
"parse5": "^7.1.2",
- "rrweb-cssom": "^0.6.0",
+ "rrweb-cssom": "^0.7.1",
"saxes": "^6.0.0",
"symbol-tree": "^3.2.4",
- "tough-cookie": "^4.1.3",
+ "tough-cookie": "^4.1.4",
"w3c-xmlserializer": "^5.0.0",
"webidl-conversions": "^7.0.0",
"whatwg-encoding": "^3.1.1",
"whatwg-mimetype": "^4.0.0",
"whatwg-url": "^14.0.0",
- "ws": "^8.16.0",
+ "ws": "^8.18.0",
"xml-name-validator": "^5.0.0"
},
"engines": {
@@ -10488,12 +8350,6 @@
"node": ">=6"
}
},
- "node_modules/jsonc-parser": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.1.tgz",
- "integrity": "sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==",
- "dev": true
- },
"node_modules/jsonify": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.1.tgz",
@@ -10526,28 +8382,6 @@
"json-buffer": "3.0.1"
}
},
- "node_modules/kleur": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
- "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/leven": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
- "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/levn": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
@@ -10748,22 +8582,6 @@
}
}
},
- "node_modules/local-pkg": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-0.5.0.tgz",
- "integrity": "sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==",
- "dev": true,
- "dependencies": {
- "mlly": "^1.4.2",
- "pkg-types": "^1.0.3"
- },
- "engines": {
- "node": ">=14"
- },
- "funding": {
- "url": "https://github.com/sponsors/antfu"
- }
- },
"node_modules/locate-path": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
@@ -10851,9 +8669,9 @@
}
},
"node_modules/loupe": {
- "version": "2.3.7",
- "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz",
- "integrity": "sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==",
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.1.1.tgz",
+ "integrity": "sha512-edNu/8D5MKVfGVFRhFf8aAxiTM6Wumfz5XsaatSxlD3w4R1d/WEKUTydCdPGbl9K7QG/Ca3GnDV2sIKIpXRQcw==",
"dev": true,
"dependencies": {
"get-func-name": "^2.0.1"
@@ -10897,6 +8715,7 @@
"resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz",
"integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==",
"dev": true,
+ "peer": true,
"bin": {
"lz-string": "bin/bin.js"
}
@@ -10943,17 +8762,6 @@
"semver": "bin/semver"
}
},
- "node_modules/makeerror": {
- "version": "1.0.12",
- "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz",
- "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "tmpl": "1.0.5"
- }
- },
"node_modules/math-expression-evaluator": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/math-expression-evaluator/-/math-expression-evaluator-1.4.0.tgz",
@@ -11058,16 +8866,13 @@
"url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/mlly": {
- "version": "1.6.1",
- "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.6.1.tgz",
- "integrity": "sha512-vLgaHvaeunuOXHSmEbZ9izxPx3USsk8KCQ8iC+aTlp5sKRSoZvwhHh5L9VbKSaVC6sJDqbyohIS76E2VmHIPAA==",
+ "node_modules/minipass": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
+ "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",
"dev": true,
- "dependencies": {
- "acorn": "^8.11.3",
- "pathe": "^1.1.2",
- "pkg-types": "^1.0.3",
- "ufo": "^1.3.2"
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
}
},
"node_modules/moment": {
@@ -11179,14 +8984,6 @@
"webidl-conversions": "^3.0.0"
}
},
- "node_modules/node-int64": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
- "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==",
- "dev": true,
- "optional": true,
- "peer": true
- },
"node_modules/node-releases": {
"version": "2.0.14",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz",
@@ -11244,9 +9041,9 @@
}
},
"node_modules/nwsapi": {
- "version": "2.2.7",
- "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.7.tgz",
- "integrity": "sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==",
+ "version": "2.2.12",
+ "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.12.tgz",
+ "integrity": "sha512-qXDmcVlZV4XRtKFzddidpfVP4oMSGhga+xdMc25mv8kaLUHtgzCDhUxkrN8exkGdTlLNaXj7CV3GtON7zuGZ+w==",
"dev": true
},
"node_modules/object-assign": {
@@ -11324,23 +9121,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/object.hasown": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.4.tgz",
- "integrity": "sha512-FZ9LZt9/RHzGySlBARE3VF+gE26TxR38SdmqOqliuTnl9wrKulaQs+4dee1V+Io8VfxqzAfHu6YuRgUy8OHoTg==",
- "dev": true,
- "dependencies": {
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.2",
- "es-object-atoms": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
"node_modules/object.values": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.0.tgz",
@@ -11443,6 +9223,12 @@
"node": ">=6"
}
},
+ "node_modules/package-json-from-dist": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz",
+ "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==",
+ "dev": true
+ },
"node_modules/parent-module": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
@@ -11512,6 +9298,28 @@
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="
},
+ "node_modules/path-scurry": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",
+ "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",
+ "dev": true,
+ "dependencies": {
+ "lru-cache": "^10.2.0",
+ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/path-scurry/node_modules/lru-cache": {
+ "version": "10.4.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
+ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
+ "dev": true
+ },
"node_modules/path-to-regexp": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz",
@@ -11535,18 +9343,18 @@
"dev": true
},
"node_modules/pathval": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz",
- "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.0.tgz",
+ "integrity": "sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==",
"dev": true,
"engines": {
- "node": "*"
+ "node": ">= 14.16"
}
},
"node_modules/picocolors": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
- "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz",
+ "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew=="
},
"node_modules/picomatch": {
"version": "2.3.1",
@@ -11581,17 +9389,6 @@
"node": ">=6"
}
},
- "node_modules/pirates": {
- "version": "4.0.6",
- "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
- "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">= 6"
- }
- },
"node_modules/pkg-dir": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
@@ -11656,17 +9453,6 @@
"node": ">=8"
}
},
- "node_modules/pkg-types": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.0.3.tgz",
- "integrity": "sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==",
- "dev": true,
- "dependencies": {
- "jsonc-parser": "^3.2.0",
- "mlly": "^1.2.0",
- "pathe": "^1.1.0"
- }
- },
"node_modules/please-upgrade-node": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz",
@@ -11726,9 +9512,9 @@
}
},
"node_modules/prettier": {
- "version": "3.2.5",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz",
- "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==",
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz",
+ "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==",
"dev": true,
"bin": {
"prettier": "bin/prettier.cjs"
@@ -11745,6 +9531,7 @@
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz",
"integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==",
"dev": true,
+ "peer": true,
"dependencies": {
"ansi-regex": "^5.0.1",
"ansi-styles": "^5.0.0",
@@ -11759,6 +9546,7 @@
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
"integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
"dev": true,
+ "peer": true,
"engines": {
"node": ">=10"
},
@@ -11770,22 +9558,8 @@
"version": "17.0.2",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
"integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
- "dev": true
- },
- "node_modules/prompts": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
- "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",
"dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "kleur": "^3.0.3",
- "sisteransi": "^1.0.5"
- },
- "engines": {
- "node": ">= 6"
- }
+ "peer": true
},
"node_modules/prop-types": {
"version": "15.8.1",
@@ -11831,24 +9605,6 @@
"node": ">=6"
}
},
- "node_modules/pure-rand": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz",
- "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==",
- "dev": true,
- "funding": [
- {
- "type": "individual",
- "url": "https://github.com/sponsors/dubzzz"
- },
- {
- "type": "opencollective",
- "url": "https://opencollective.com/fast-check"
- }
- ],
- "optional": true,
- "peer": true
- },
"node_modules/qhistory": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/qhistory/-/qhistory-1.1.0.tgz",
@@ -11861,9 +9617,9 @@
}
},
"node_modules/qs": {
- "version": "6.12.1",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.12.1.tgz",
- "integrity": "sha512-zWmv4RSuB9r2mYQw3zxQuHWeU+42aKi1wWig/j4ele4ygELZ7PEO6MM7rim9oAQH2A5MWfsAVf/jPvTPgCbvUQ==",
+ "version": "6.12.3",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.12.3.tgz",
+ "integrity": "sha512-AWJm14H1vVaO/iNZ4/hO+HyaTehuy9nRqVdkTqlJt0HWvBiBIEXFmb4C0DGeYo3Xes9rrEW+TxHsaigCbN5ICQ==",
"dependencies": {
"side-channel": "^1.0.6"
},
@@ -12414,17 +10170,6 @@
"jsesc": "bin/jsesc"
}
},
- "node_modules/require-directory": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
- "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/requires-port": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
@@ -12439,8 +10184,7 @@
"node_modules/resize-observer-polyfill": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
- "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==",
- "dev": true
+ "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
},
"node_modules/resolve": {
"version": "1.22.8",
@@ -12458,31 +10202,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/resolve-cwd": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz",
- "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "resolve-from": "^5.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/resolve-cwd/node_modules/resolve-from": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
- "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/resolve-from": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
@@ -12496,17 +10215,6 @@
"resolved": "https://registry.npmjs.org/resolve-pathname/-/resolve-pathname-3.0.0.tgz",
"integrity": "sha512-C7rARubxI8bXFNB/hqcp/4iUeIXJhJZvFPFPiSPRnhU5UPxzMFIl+2E6yY6c4k9giDJAhtV+enfA+G89N6Csng=="
},
- "node_modules/resolve.exports": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz",
- "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/restore-cursor": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz",
@@ -12592,9 +10300,9 @@
}
},
"node_modules/rrweb-cssom": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz",
- "integrity": "sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==",
+ "version": "0.7.1",
+ "resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.7.1.tgz",
+ "integrity": "sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg==",
"dev": true
},
"node_modules/run-node": {
@@ -12835,14 +10543,6 @@
"node": ">= 10"
}
},
- "node_modules/sisteransi": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
- "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==",
- "dev": true,
- "optional": true,
- "peer": true
- },
"node_modules/slash": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
@@ -12957,31 +10657,6 @@
"integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",
"dev": true
},
- "node_modules/stack-utils": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz",
- "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "escape-string-regexp": "^2.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/stack-utils/node_modules/escape-string-regexp": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
- "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/stackback": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
@@ -13003,21 +10678,6 @@
"node": ">=0.6.19"
}
},
- "node_modules/string-length": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",
- "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "char-regex": "^1.0.2",
- "strip-ansi": "^6.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/string-width": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
@@ -13035,6 +10695,36 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/string-width-cjs": {
+ "name": "string-width",
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dev": true,
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/string-width-cjs/node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true
+ },
+ "node_modules/string-width-cjs/node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/string-width/node_modules/ansi-regex": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
@@ -13088,6 +10778,16 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/string.prototype.repeat": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz",
+ "integrity": "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==",
+ "dev": true,
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.5"
+ }
+ },
"node_modules/string.prototype.trim": {
"version": "1.2.9",
"resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz",
@@ -13148,13 +10848,15 @@
"node": ">=8"
}
},
- "node_modules/strip-bom": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",
- "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==",
+ "node_modules/strip-ansi-cjs": {
+ "name": "strip-ansi",
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
- "optional": true,
- "peer": true,
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
"engines": {
"node": ">=8"
}
@@ -13203,33 +10905,15 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/strip-literal": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-2.1.0.tgz",
- "integrity": "sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==",
- "dev": true,
- "dependencies": {
- "js-tokens": "^9.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/antfu"
- }
- },
- "node_modules/strip-literal/node_modules/js-tokens": {
- "version": "9.0.0",
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.0.tgz",
- "integrity": "sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==",
- "dev": true
- },
"node_modules/strnum": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz",
"integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA=="
},
"node_modules/styled-components": {
- "version": "6.1.11",
- "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-6.1.11.tgz",
- "integrity": "sha512-Ui0jXPzbp1phYij90h12ksljKGqF8ncGx+pjrNPsSPhbUUjWT2tD1FwGo2LF6USCnbrsIhNngDfodhxbegfEOA==",
+ "version": "6.1.12",
+ "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-6.1.12.tgz",
+ "integrity": "sha512-n/O4PzRPhbYI0k1vKKayfti3C/IGcPf+DqcrOB7O/ab9x4u/zjqraneT5N45+sIe87cxrCApXM8Bna7NYxwoTA==",
"dependencies": {
"@emotion/is-prop-valid": "1.2.2",
"@emotion/unitless": "0.8.1",
@@ -13323,39 +11007,37 @@
}
},
"node_modules/test-exclude": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz",
- "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-7.0.1.tgz",
+ "integrity": "sha512-pFYqmTw68LXVjeWJMST4+borgQP2AyMNbg1BpZh9LbyhUeNkeaPF9gzfPGUAnSMV3qPYdWUwDIjjCLiSDOl7vg==",
"dev": true,
"dependencies": {
"@istanbuljs/schema": "^0.1.2",
- "glob": "^7.1.4",
- "minimatch": "^3.0.4"
+ "glob": "^10.4.1",
+ "minimatch": "^9.0.4"
},
"engines": {
- "node": ">=8"
- }
- },
- "node_modules/test-exclude/node_modules/brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
+ "node": ">=18"
}
},
- "node_modules/test-exclude/node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "node_modules/test-exclude/node_modules/glob": {
+ "version": "10.4.5",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
+ "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
"dev": true,
"dependencies": {
- "brace-expansion": "^1.1.7"
+ "foreground-child": "^3.1.0",
+ "jackspeak": "^3.1.2",
+ "minimatch": "^9.0.4",
+ "minipass": "^7.1.2",
+ "package-json-from-dist": "^1.0.0",
+ "path-scurry": "^1.11.1"
},
- "engines": {
- "node": "*"
+ "bin": {
+ "glob": "dist/esm/bin.mjs"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
}
},
"node_modules/text-table": {
@@ -13379,36 +11061,37 @@
"integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA=="
},
"node_modules/tinybench": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.7.0.tgz",
- "integrity": "sha512-Qgayeb106x2o4hNzNjsZEfFziw8IbKqtbXBjVh7VIZfBxfD5M4gWtpyx5+YTae2gJ6Y6Dz/KLepiv16RFeQWNA==",
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
+ "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",
"dev": true
},
"node_modules/tinypool": {
- "version": "0.8.4",
- "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-0.8.4.tgz",
- "integrity": "sha512-i11VH5gS6IFeLY3gMBQ00/MmLncVP7JLXOw1vlgkytLmJK7QnEr7NXf0LBdxfmNPAeyetukOk0bOYrJrFGjYJQ==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.0.0.tgz",
+ "integrity": "sha512-KIKExllK7jp3uvrNtvRBYBWBOAXSX8ZvoaD8T+7KB/QHIuoJW3Pmr60zucywjAlMb5TeXUkcs/MWeWLu0qvuAQ==",
"dev": true,
"engines": {
- "node": ">=14.0.0"
+ "node": "^18.0.0 || >=20.0.0"
}
},
- "node_modules/tinyspy": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-2.2.1.tgz",
- "integrity": "sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==",
+ "node_modules/tinyrainbow": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-1.2.0.tgz",
+ "integrity": "sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==",
"dev": true,
"engines": {
"node": ">=14.0.0"
}
},
- "node_modules/tmpl": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz",
- "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==",
+ "node_modules/tinyspy": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-3.0.0.tgz",
+ "integrity": "sha512-q5nmENpTHgiPVd1cJDDc9cVoYN5x4vCvwT3FMilvKPKneCBZAxn2YWQjDF0UMcE9k0Cay1gBiDfTMU0g+mPMQA==",
"dev": true,
- "optional": true,
- "peer": true
+ "engines": {
+ "node": ">=14.0.0"
+ }
},
"node_modules/to-fast-properties": {
"version": "2.0.0",
@@ -13445,9 +11128,9 @@
}
},
"node_modules/tough-cookie": {
- "version": "4.1.3",
- "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz",
- "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==",
+ "version": "4.1.4",
+ "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz",
+ "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==",
"dev": true,
"dependencies": {
"psl": "^1.1.33",
@@ -13499,15 +11182,6 @@
"node": ">= 0.8.0"
}
},
- "node_modules/type-detect": {
- "version": "4.0.8",
- "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
- "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
"node_modules/type-fest": {
"version": "0.20.2",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
@@ -13593,9 +11267,9 @@
}
},
"node_modules/typescript": {
- "version": "5.4.5",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz",
- "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
+ "version": "5.5.4",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz",
+ "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==",
"dev": true,
"bin": {
"tsc": "bin/tsc",
@@ -13605,12 +11279,6 @@
"node": ">=14.17"
}
},
- "node_modules/ufo": {
- "version": "1.5.3",
- "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.5.3.tgz",
- "integrity": "sha512-Y7HYmWaFwPUmkoQCUIAYpKqkOf+SbVj/2fJJZ4RJMCfZp0rTGwRbzQD+HghfnhKOjL9E01okqz+ncJskGYfBNw==",
- "dev": true
- },
"node_modules/unbox-primitive": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz",
@@ -13829,9 +11497,9 @@
}
},
"node_modules/uuid": {
- "version": "9.0.1",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",
- "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==",
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz",
+ "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==",
"funding": [
"https://github.com/sponsors/broofa",
"https://github.com/sponsors/ctavan"
@@ -13840,22 +11508,6 @@
"uuid": "dist/bin/uuid"
}
},
- "node_modules/v8-to-istanbul": {
- "version": "9.2.0",
- "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz",
- "integrity": "sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "@jridgewell/trace-mapping": "^0.3.12",
- "@types/istanbul-lib-coverage": "^2.0.1",
- "convert-source-map": "^2.0.0"
- },
- "engines": {
- "node": ">=10.12.0"
- }
- },
"node_modules/validate-npm-package-license": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
@@ -13872,13 +11524,13 @@
"integrity": "sha512-NOJ6JZCAWr0zlxZt+xqCHNTEKOsrks2HQd4MqhP1qy4z1SkbEP467eNx6TgDKXMvUOb+OENfJCZwM+16n7fRfw=="
},
"node_modules/vite": {
- "version": "5.2.12",
- "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.12.tgz",
- "integrity": "sha512-/gC8GxzxMK5ntBwb48pR32GGhENnjtY30G4A0jemunsBkiEZFw60s8InGpN8gkhHEkjnRK1aSAxeQgwvFhUHAA==",
+ "version": "5.3.5",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-5.3.5.tgz",
+ "integrity": "sha512-MdjglKR6AQXQb9JGiS7Rc2wC6uMjcm7Go/NHNO63EwiJXfuk9PgqiP/n5IDJCziMkfw9n4Ubp7lttNwz+8ZVKA==",
"dev": true,
"dependencies": {
- "esbuild": "^0.20.1",
- "postcss": "^8.4.38",
+ "esbuild": "^0.21.3",
+ "postcss": "^8.4.39",
"rollup": "^4.13.0"
},
"bin": {
@@ -13927,15 +11579,15 @@
}
},
"node_modules/vite-node": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-1.6.0.tgz",
- "integrity": "sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==",
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.0.5.tgz",
+ "integrity": "sha512-LdsW4pxj0Ot69FAoXZ1yTnA9bjGohr2yNBU7QKRxpz8ITSkhuDl6h3zS/tvgz4qrNjeRnvrWeXQ8ZF7Um4W00Q==",
"dev": true,
"dependencies": {
"cac": "^6.7.14",
- "debug": "^4.3.4",
- "pathe": "^1.1.1",
- "picocolors": "^1.0.0",
+ "debug": "^4.3.5",
+ "pathe": "^1.1.2",
+ "tinyrainbow": "^1.2.0",
"vite": "^5.0.0"
},
"bin": {
@@ -13948,6 +11600,23 @@
"url": "https://opencollective.com/vitest"
}
},
+ "node_modules/vite-node/node_modules/debug": {
+ "version": "4.3.6",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz",
+ "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==",
+ "dev": true,
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
"node_modules/vite-plugin-eslint": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/vite-plugin-eslint/-/vite-plugin-eslint-1.8.1.tgz",
@@ -14030,32 +11699,59 @@
"vite": "^2.6.0 || 3 || 4 || 5"
}
},
- "node_modules/vitest": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/vitest/-/vitest-1.6.0.tgz",
- "integrity": "sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==",
+ "node_modules/vite/node_modules/postcss": {
+ "version": "8.4.39",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.39.tgz",
+ "integrity": "sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==",
"dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
"dependencies": {
- "@vitest/expect": "1.6.0",
- "@vitest/runner": "1.6.0",
- "@vitest/snapshot": "1.6.0",
- "@vitest/spy": "1.6.0",
- "@vitest/utils": "1.6.0",
- "acorn-walk": "^8.3.2",
- "chai": "^4.3.10",
- "debug": "^4.3.4",
+ "nanoid": "^3.3.7",
+ "picocolors": "^1.0.1",
+ "source-map-js": "^1.2.0"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/vitest": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.0.5.tgz",
+ "integrity": "sha512-8GUxONfauuIdeSl5f9GTgVEpg5BTOlplET4WEDaeY2QBiN8wSm68vxN/tb5z405OwppfoCavnwXafiaYBC/xOA==",
+ "dev": true,
+ "dependencies": {
+ "@ampproject/remapping": "^2.3.0",
+ "@vitest/expect": "2.0.5",
+ "@vitest/pretty-format": "^2.0.5",
+ "@vitest/runner": "2.0.5",
+ "@vitest/snapshot": "2.0.5",
+ "@vitest/spy": "2.0.5",
+ "@vitest/utils": "2.0.5",
+ "chai": "^5.1.1",
+ "debug": "^4.3.5",
"execa": "^8.0.1",
- "local-pkg": "^0.5.0",
- "magic-string": "^0.30.5",
- "pathe": "^1.1.1",
- "picocolors": "^1.0.0",
- "std-env": "^3.5.0",
- "strip-literal": "^2.0.0",
- "tinybench": "^2.5.1",
- "tinypool": "^0.8.3",
+ "magic-string": "^0.30.10",
+ "pathe": "^1.1.2",
+ "std-env": "^3.7.0",
+ "tinybench": "^2.8.0",
+ "tinypool": "^1.0.0",
+ "tinyrainbow": "^1.2.0",
"vite": "^5.0.0",
- "vite-node": "1.6.0",
- "why-is-node-running": "^2.2.2"
+ "vite-node": "2.0.5",
+ "why-is-node-running": "^2.3.0"
},
"bin": {
"vitest": "vitest.mjs"
@@ -14069,8 +11765,8 @@
"peerDependencies": {
"@edge-runtime/vm": "*",
"@types/node": "^18.0.0 || >=20.0.0",
- "@vitest/browser": "1.6.0",
- "@vitest/ui": "1.6.0",
+ "@vitest/browser": "2.0.5",
+ "@vitest/ui": "2.0.5",
"happy-dom": "*",
"jsdom": "*"
},
@@ -14095,6 +11791,23 @@
}
}
},
+ "node_modules/vitest/node_modules/debug": {
+ "version": "4.3.6",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz",
+ "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==",
+ "dev": true,
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
"node_modules/vitest/node_modules/execa": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz",
@@ -14237,17 +11950,6 @@
"node": ">=18"
}
},
- "node_modules/walker": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz",
- "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "makeerror": "1.0.12"
- }
- },
"node_modules/webfontloader": {
"version": "1.6.28",
"resolved": "https://registry.npmjs.org/webfontloader/-/webfontloader-1.6.28.tgz",
@@ -14401,9 +12103,9 @@
}
},
"node_modules/why-is-node-running": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.2.2.tgz",
- "integrity": "sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==",
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",
+ "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==",
"dev": true,
"dependencies": {
"siginfo": "^2.0.0",
@@ -14433,6 +12135,53 @@
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
}
},
+ "node_modules/wrap-ansi-cjs": {
+ "name": "wrap-ansi",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true
+ },
+ "node_modules/wrap-ansi-cjs/node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/wrap-ansi-cjs/node_modules/string-width": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dev": true,
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/wrap-ansi/node_modules/ansi-regex": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
@@ -14477,25 +12226,10 @@
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
},
- "node_modules/write-file-atomic": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz",
- "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "imurmurhash": "^0.1.4",
- "signal-exit": "^3.0.7"
- },
- "engines": {
- "node": "^12.13.0 || ^14.15.0 || >=16.0.0"
- }
- },
"node_modules/ws": {
- "version": "8.16.0",
- "resolved": "https://registry.npmjs.org/ws/-/ws-8.16.0.tgz",
- "integrity": "sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==",
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz",
+ "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==",
"dev": true,
"engines": {
"node": ">=10.0.0"
@@ -14528,17 +12262,6 @@
"integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==",
"dev": true
},
- "node_modules/y18n": {
- "version": "5.0.8",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
- "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/yallist": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
@@ -14553,72 +12276,6 @@
"node": ">= 14"
}
},
- "node_modules/yargs": {
- "version": "17.7.2",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
- "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "cliui": "^8.0.1",
- "escalade": "^3.1.1",
- "get-caller-file": "^2.0.5",
- "require-directory": "^2.1.1",
- "string-width": "^4.2.3",
- "y18n": "^5.0.5",
- "yargs-parser": "^21.1.1"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/yargs-parser": {
- "version": "21.1.1",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
- "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/yargs/node_modules/emoji-regex": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
- "dev": true,
- "optional": true,
- "peer": true
- },
- "node_modules/yargs/node_modules/is-fullwidth-code-point": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
- "dev": true,
- "optional": true,
- "peer": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/yargs/node_modules/string-width": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
- "dev": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/yocto-queue": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
diff --git a/package.json b/package.json
index a328dbbcbc..a52411dfda 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "gsa",
- "version": "23.0.1-dev1",
+ "version": "23.2.2-dev1",
"description": "Greenbone Security Assistant",
"keywords": [
"openvas",
@@ -34,8 +34,8 @@
"dependencies": {
"@greenbone/opensight-ui-components": "^0.3.0",
"@mantine/core": "^6.0.0",
- "@reduxjs/toolkit": "^2.2.5",
- "@sentry/react": "^8.7.0",
+ "@reduxjs/toolkit": "^2.2.7",
+ "@sentry/react": "^8.22.0",
"@visx/axis": "^3.10.1",
"@visx/gradient": "^3.3.0",
"@visx/shape": "^3.5.0",
@@ -49,13 +49,13 @@
"d3-interpolate": "^3.0.1",
"d3-scale": "^4.0.2",
"d3-shape": "^3.2.0",
- "downshift": "^9.0.6",
+ "downshift": "^9.0.7",
"eslint-plugin-header": "^3.1.1",
"fast-deep-equal": "^3.1.3",
- "fast-xml-parser": "^4.2.5",
+ "fast-xml-parser": "^4.4.1",
"history": "^4.10.1",
"hoist-non-react-statics": "^3.3.2",
- "i18next": "^23.11.5",
+ "i18next": "^23.12.2",
"i18next-http-backend": "^2.5.2",
"ical.js": "^2.0.0",
"lucide-react": "^0.395.0",
@@ -64,7 +64,7 @@
"moment-timezone": "^0.5.45",
"prop-types": "^15.8.1",
"qhistory": "^1.1.0",
- "qs": "^6.12.0",
+ "qs": "^6.12.3",
"react": "^18.3.1",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^18.3.1",
@@ -73,42 +73,44 @@
"react-router-dom": "^5.2.0",
"redux": "^5.0.1",
"redux-logger": "^3.0.6",
- "styled-components": "^6.1.11",
- "uuid": "^9.0.1",
+ "resize-observer-polyfill": "^1.5.1",
+ "styled-components": "^6.1.12",
+ "uuid": "^10.0.0",
"whatwg-fetch": "^3.6.20"
},
"devDependencies": {
- "@babel/cli": "^7.24.6",
- "@testing-library/jest-dom": "^6.4.5",
- "@testing-library/react": "^15.0.6",
- "@testing-library/user-event": "^14.0.0",
+ "@babel/cli": "^7.24.8",
+ "@pandatix/js-cvss": "^0.4.4",
+ "@testing-library/jest-dom": "^6.4.8",
+ "@testing-library/react": "^16.0.0",
+ "@testing-library/user-event": "^14.5.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
- "@typescript-eslint/eslint-plugin": "^7.12.0",
- "@typescript-eslint/parser": "^7.12.0",
+ "@typescript-eslint/eslint-plugin": "^8.0.0",
+ "@typescript-eslint/parser": "^8.0.0",
"@vitejs/plugin-legacy": "^5.4.1",
- "@vitejs/plugin-react": "^4.3.0",
- "@vitest/coverage-v8": "^1.6.0",
- "@vitest/ui": "^1.5.0",
+ "@vitejs/plugin-react": "^4.3.1",
+ "@vitest/coverage-v8": "^2.0.5",
+ "@vitest/ui": "^2.0.5",
"babel-plugin-i18next-extract": "^0.10.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
- "eslint-plugin-react": "^7.34.2",
+ "eslint-plugin-header": "^3.1.1",
+ "eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
- "eslint-plugin-react-refresh": "^0.4.7",
+ "eslint-plugin-react-refresh": "^0.4.9",
"eslint-plugin-vitest-globals": "^1.5.0",
"husky": "^2.7.0",
"jest-styled-components": "^7.2.0",
- "jsdom": "^24.0.0",
+ "jsdom": "^24.1.1",
"lint-staged": "^13.1.0",
- "prettier": "^3.2.5",
- "resize-observer-polyfill": "^1.5.1",
- "typescript": "^5.2.2",
- "vite": "^5.2.12",
+ "prettier": "^3.3.3",
+ "typescript": "^5.5.4",
+ "vite": "^5.3.5",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-eslint2": "^4.4.0",
"vite-plugin-svgr": "^4.2.0",
- "vitest": "^1.5.0"
+ "vitest": "^2.0.5"
},
"husky": {
"hooks": {
diff --git a/public/locales/gsa-de.json b/public/locales/gsa-de.json
index 63e98a4f62..24374558ee 100644
--- a/public/locales/gsa-de.json
+++ b/public/locales/gsa-de.json
@@ -108,6 +108,7 @@
"Alterable Audit": "Änderbares Audit",
"Alterable Task": "Änderbare Aufgabe",
"Always": "Immer",
+ "Amber": "Gelb",
"An error occurred during Testing the alert {{name}}": "Es ist ein Fehler während des Tests der Benachrichtigung {{name}} aufgetreten",
"An error occurred during making the request. Most likely the web server does not respond.": "Es ist ein Fehler während der Anfrage aufgetreten. Höchstwahrscheinlich antwortet der Webserver nicht.",
"An error occurred in this chart.": "Es ist ein Fehler in diesem Diagramm aufgetreten.",
@@ -148,6 +149,8 @@
"Attach report": "Bericht anhängen",
"Attack Complexity": "Angriffskomplexität",
"Attack Vector": "Angriffsvektor",
+ "Attack Requirements": "Angriffsvoraussetzungen",
+ "Attacked": "Angegriffen",
"Audit": "Audit",
"Audit List": "Auditliste",
"Audit is alterable": "Audit ist änderbar",
@@ -165,10 +168,13 @@
"Auto Delete Reports": "Berichte automatisch löschen",
"Auto delete Reports": "Berichte automatisch löschen",
"Auto-generate": "Auto-Generieren",
+ "Automatable": "Automatisierbar",
+ "Automatic": "Automatisch",
"Automatically delete oldest reports but always keep newest": "Älteste Berichte automatisch löschen, aber neuesten Bericht behalten",
"Automatically delete oldest reports but always keep newest {{nr}} reports": "Älteste Berichte automatisch löschen, aber neueste {{nr}} Berichte behalten",
"Availability": "Verfügbarkeit",
"Availability Impact": "Verfügbarkeitsauswirkungen",
+ "Availability Requirements": "Verfügbarkeitsanforderungen",
"Average": "Durchschnitt",
"Average Scan duration": "Durchschnittliche Scandauer",
"Average Severity": "Durchschnittlicher Schweregrad",
@@ -177,6 +183,7 @@
"Base Score": "Basisscore",
"Base URL": "Basis-URL",
"Base Vector": "Basisvektor",
+ "Base Metrics": "Basismetriken",
"Base with a minimum set of NVTs": "Basis Konfiguration mit einer minimalen Anzahl an NVTs",
"Best OS": "Bestes OS",
"Browser Language": "Browser-Sprache",
@@ -221,6 +228,7 @@
"CVSS v3.1 Vector": "CVSS v3.1 Basisvektor",
"CVSSv2 Base Score Calculator": "CVSSv2 Basis-Score-Rechner",
"CVSSv3 Base Score Calculator": "CVSSv3 Basis-Score-Rechner",
+ "CVSSv4 Score Calculator": "CVSSv4 Score-Rechner",
"Call Description": "Beschreibung (Call Description)",
"Call Template": "Vorlage (Call Template)",
"Call Type": "Typ (Call Type)",
@@ -291,6 +299,7 @@
"Chart: Vulnerabilities by Severity Class": "Diagramm: Schwachstellen nach Schweregradklasse",
"Choose Display": "Anzeige auswählen",
"Choose Tag": "Tag auswählen",
+ "Clear": "Klar",
"Client Certificate": "Benutzerzertifikat",
"Client Certificate (from Credential)": "Benutzerzertifikat (aus Anmeldedaten)",
"Clone Alert": "Benachrichtigung klonen",
@@ -319,9 +328,11 @@
"Compose": "Zusammenstellen",
"Compose Content for Scan Report": "Inhalt für Scan-Bericht zusammenstellen",
"Compose Report Content": "Berichtinhalt zusammenstellen",
+ "Concentrated": "Konzentriert",
"Condition": "Bedingung",
"Confidentiality": "Vertraulichkeit",
"Confidentiality Impact": "Vertraulichkeitsauswirkungen",
+ "Confidentiality Requirements": "Vertraulichkeitsanforderungen",
"Config": "Konfiguration",
"Configs Filter": "Konfigurationen-Filter",
"Configuration": "Konfiguration",
@@ -464,6 +475,7 @@
"Detection Result": "Erkennungsergebnis",
"Detection Results": "Erkennungsergebnisse",
"Different Lines": "Zeilenunterschiede",
+ "Diffuse": "Diffus",
"Disable Tag": "Tag deaktivieren",
"Distance": "Entfernung",
"Do not automatically delete reports": "Berichte nicht automatisch löschen",
@@ -547,6 +559,8 @@
"Edit {{entity}}": "{{entity}} bearbeiten",
"Effect": "Auswirkung",
"Elevate privileges": "Berechtigungen erweitern",
+ "Environmental (Modified Base Metrics)": "Umgebung (Modifizierte Basismetriken)",
+ "Environmental (Security Requirements)": "Umgebung (Sicherheitsanforderungen)",
"Email": "E-Mail",
"Email Encryption": "E-Mail-Verschlüsselung",
"Email report to": "E-Mail-Bericht an",
@@ -595,6 +609,8 @@
"Expired": "Abgelaufen",
"Expires": "Läuft ab",
"Exploit": "Exploit",
+ "Exploit Maturity": "Ausnutzungsreife",
+ "Exploitability Metrics": "Ausnutzbarkeitsmetriken",
"Export Alert": "Benachrichtigung exportieren",
"Export Alert as XML": "Benachrichtigung als XML exportieren",
"Export Audit": "Audit exportieren",
@@ -700,6 +716,7 @@
"Global {{type}}": "Globale(r) {{type}}",
"Gone": "Entfallen",
"Grant": "Gewähre",
+ "Green": "Grün",
"Greenbone": "Greenbone",
"Greenbone AG": "Greenbone AG",
"Greenbone Security Assistant": "Greenbone Security Assistant",
@@ -831,6 +848,7 @@
"Insight": "Einblick",
"Integrity": "Integrität",
"Integrity Impact": "Integritätsauswirkungen",
+ "Integrity Requirements": "Integritätsanforderungen",
"Interrupted": "Unterbrochen",
"Issued By": "Ausgestellt von",
"Issued by": "Ausgestellt von",
@@ -919,6 +937,7 @@
"Min QoD": "Min. QdE",
"Mitigation": "Schadensminderung",
"Mo.": "Mo.",
+ "Moderate": "Mäßig",
"Modification Time": "Änderungszeit",
"Modified": "Geändert",
"Modified Hosts": "Geänderte Hosts",
@@ -966,6 +985,7 @@
"NVTs: Total": "NVTs: Gesamt",
"NVTs: Trend": "NVTS: Trend",
"Name": "Name",
+ "Negligible": "Vernachlässigbar",
"Network": "Netzwerk",
"Network Vulnerability Test Preferences ({{counts}})": "Network-Vulnerability-Test-Vorgaben ({{counts}})",
"New": "Neu",
@@ -1058,6 +1078,7 @@
"None.": "Keine.",
"None. Result was an open port.": "Keine. Das Ergebnis war ein offener Port.",
"Not a valid PGP file": "Keine gültige PGP-Datei",
+ "Not Defined": "Nicht definiert",
"Not finished yet": "Noch nicht beendet",
"Note": "Notiz",
"Note Details": "Notizdetails",
@@ -1134,6 +1155,7 @@
"Parameter Details": "Parameter-Details",
"Partial": "Partiell",
"Partition": "Partition",
+ "Passive": "Passiv",
"Passphrase": "Passphrase",
"Password": "Passwort",
"Password only": "Nur Passwort",
@@ -1172,6 +1194,7 @@
"Please note: You are about to change your own personal user data as Super Admin! It is not possible to change the login name. If you have modified the login name, neither the login name nor any other changes made will be saved. If you have made any modifications other than the login name, the data will be saved when clicking OK, and you will be logged out immediately.": "Bitte beachten Sie: Sie sind dabei Ihre eigenen persönlichen Nutzerdaten als Super Administrator zu ändern! Es ist nicht möglich, den Loginnamen zu ändern. Wenn Sie den Loginnamen modifiziert haben, werden weder der Loginname noch jedwede andere Änderungen gespeichert. Wenn Sie andere Änderungen vorgenommen haben, werden die Daten beim Klick auf OK gespeichert und Sie werden umgehend ausgeloggt.",
"Please note: You are about to create a user without a role. This user will not have any permissions and as a result will not be able to login.": "Bitte beachten Sie: Sie sind dabei einen Benutzer ohne Rolle zu erstellen. Dieser Benutzer wird keine Berechtigungen haben und deshalb nicht in der Lage sein, sich einzuloggen.",
"Please try again.": "Bitte versuchen Sie es erneut.",
+ "POC": "POC",
"Policies": "Richtlinien",
"Policies List": "Richtlinienliste",
"Policy": "Richtlinie",
@@ -1194,6 +1217,7 @@
"Ports": "Ports",
"Preferences": "Vorgaben",
"Prefs": "Vorgaben",
+ "Present": "Vorhanden",
"Previous": "Vorherige",
"Previous completed report of the same task": "Vorheriger abgeschlossener Bericht der selben Aufgabe",
"Privacy Algorithm": "Privacy-Algorithmus",
@@ -1204,6 +1228,7 @@
"Product": "Produkt",
"Product Detection Result": "Ergebnis zur Produkterkennung",
"Protocol": "Protokoll",
+ "Provider Urgency": "Dringlichkeit des Anbieters",
"Published": "Veröffentlicht",
"Published:": "Veröffentlicht:",
"QoD": "QdE",
@@ -1218,8 +1243,10 @@
"RADIUS Authentication Only": "Nur RADIUS-Authentifizierung",
"RADIUS Host": "RADIUS-Host",
"Random": "Zufällig",
+ "Recovery": "Wiederherstellung",
"Recur on day(s)": "Wiederholen an Tag(en)",
"Recurrence": "Wiederholung",
+ "Red": "Rot",
"Reference Source": "Referenzquelle",
"Reference URL": "Bezugs-URL",
"Referenced CVEs": "CVE-Verweise",
@@ -1362,6 +1389,7 @@
"SSH elevate credential ": "SSH-Anmeldedaten für zusätzliche Berechtigungen ",
"SSL / TLS Certificate": "SSL-/TLS-Zertifikat",
"Sa.": "Sa.",
+ "Safety": "Sicherheit",
"Same": "Gleich",
"Saturday": "Samstag",
"Save": "Speichern",
@@ -1416,6 +1444,7 @@
"SecInfo": "Sicherheitsinfos",
"SecInfo Displays": "SecInfo-Anzeigen",
"Secret Key": "Geheimer Schlüssel",
+ "Security Requirements": "Sicherheitsanforderungen",
"Security note: The SMB protocol does not offer a fingerprint to establish complete mutual trust. Thus a man-in-the-middle attack can not be fully prevented.": "Sicherheitshinweis: Das SMB-Protokoll bietet keinen Fingerprint an, um komplettes gegenseitiges Vertrauen herzustellen. Ein Man-in-the-Middle-Angriff kann somit nicht völlig ausgeschlossen werden.",
"Select": "Auswählen",
"Select Filter": "Filter auswählen",
@@ -1467,6 +1496,8 @@
"Sort by": "Sortieren nach",
"Sorted In Ascending Order By {{sortBy}}": "In aufsteigender Reihenfolge sortiert nach {{sortBy}}",
"Sorted In Descending Order By {{sortBy}}": "In absteigender Reihenfolge sortiert nach {{sortBy}}",
+ "Subsequent System Impact Metrics": "Auswirkungsmetriken für nachfolgende Systeme",
+ "Supplemental Metrics": "Ergänzende Metriken",
"Source": "Quelle",
"Sourcefire Connector": "Sourcefire-Schnittstelle",
"Sources": "Quellen",
@@ -1609,6 +1640,7 @@
"Th.": "Do.",
"The First": "Jeden ersten",
"The Fourth": "Jeden vierten",
+ "Threat Metrics": "Bedrohungsmetriken",
"The GMP documentation is available ": "Die GMP-Dokumentation finden Sie ",
"The Greenbone Enterprise License for this system expired {{days}} days ago. You can still use the system without restrictions, but you will not receive updates anymore. Especially you will miss new vulnerability tests and thus your scans will not detect important new vulnerabilities in your network. Please contact your administrator for renewing the license.": "Die Greenbone Enterprise License für dieses System ist vor {{days}} Tagen abgelaufen. Sie können das System weiterhin ohne Einschränkungen nutzen, aber Sie erhalten keine weiteren Updates. Insbesondere erhalten Sie keine neuen Schwachstellentests und Ihre Scans werden keine neuen Schwachstellen in Ihrem Netzwerk entdecken. Bitte kontaktieren Sie Ihren Administrator, um die Lizenz zu erneuern.",
"The Greenbone Enterprise License for this system expired {{days}} days ago. You can still use the system without restrictions, but you will not receive updates anymore. Especially, you will miss new vulnerability tests and thus your scans will not detect important new vulnerabilities in your network.": "Die Greenbone Enterprise License für dieses System ist vor {{days}} Tagen abgelaufen. Sie können das System weiterhin ohne Einschränkungen nutzen, aber Sie erhalten keine weiteren Updates. Insbesondere erhalten Sie keine neuen Schwachstellentests und Ihre Scans werden keine neuen Schwachstellen in Ihrem Netzwerk entdecken.",
@@ -1733,6 +1765,7 @@
"Unchanged": "Unverändert",
"Unfold": "Ausklappen",
"Unfold all details": "Alle Details ausklappen",
+ "Unreported": "Nicht gemeldet",
"Unknown": "Unbekannt",
"Unknown Error": "Unbekannter Fehler",
"Unknown error on login.": "Unbekannter Fehler beim Login.",
@@ -1772,6 +1805,7 @@
"Users {{user}}": "Benutzer {{user}}",
"Valid": "Gültig",
"Value": "Wert",
+ "Value Density": "Wertdichte",
"Vector": "Vektor",
"Vendor": "Hersteller",
"Vendor fix": "Herstellerlösung",
@@ -1803,6 +1837,8 @@
"Vulnerability count increased": "Anzahl der Schwachstellen erhöht",
"Vulnerability was detected according to the Detection Method.": "Schwachstelle wurde entsprechend der Schwachstellen-Erkennungsmethode erkannt.",
"Vulnerable Products": "Verwundbare Produkte",
+ "Vulnerability Response Effort": "Aufwand zur Behebung von Schwachstellen",
+ "Vulnerable System Impact Metrics": "Auswirkungsmetriken für verwundbares System",
"WARNING: Please be aware that the report has more results than the threshold of {{threshold}}. Therefore, this action can take a really long time to finish. It might even exceed the session timeout!": "WARNUNG: Der Bericht enthält mehr als {{threshold}} Ergebnisse. Deshalb könnte diese Aktion eine sehr lange Zeit in Anspruch nehmen. Es ist sogar möglich, dass das Sitzungstimeout überschritten wird!",
"Warning: Connection unencrypted": "Warnung: Verbindung unverschlüsselt",
"Warning: You are using IE11": "Warnung: Sie nutzen IE11",
diff --git a/scripts/cleanuptranslations.js b/scripts/cleanuptranslations.js
index 3481861962..f902dd2def 100644
--- a/scripts/cleanuptranslations.js
+++ b/scripts/cleanuptranslations.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2020-2021 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
/* eslint-disable no-console */
diff --git a/src/gmp/__tests__/parser.js b/src/gmp/__tests__/parser.js
index 8a0014a492..a3d25b94c4 100644
--- a/src/gmp/__tests__/parser.js
+++ b/src/gmp/__tests__/parser.js
@@ -519,15 +519,15 @@ describe('parseCvssV2BaseVector tests', () => {
'AV:ERROR/AC:ERROR/Au:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV2BaseVector({accessVector: 'LOCAL'})).toEqual([
+ expect(parseCvssV2BaseVector({accessVector: 'Local'})).toEqual([
'AV:L/AC:ERROR/Au:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV2BaseVector({accessVector: 'NETWORK'})).toEqual([
+ expect(parseCvssV2BaseVector({accessVector: 'Network'})).toEqual([
'AV:N/AC:ERROR/Au:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV2BaseVector({accessVector: 'ADJACENT_NETWORK'})).toEqual([
+ expect(parseCvssV2BaseVector({accessVector: 'Adjacent'})).toEqual([
'AV:A/AC:ERROR/Au:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
@@ -538,15 +538,15 @@ describe('parseCvssV2BaseVector tests', () => {
'AV:ERROR/AC:ERROR/Au:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV2BaseVector({accessComplexity: 'LOW'})).toEqual([
+ expect(parseCvssV2BaseVector({accessComplexity: 'Low'})).toEqual([
'AV:ERROR/AC:L/Au:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV2BaseVector({accessComplexity: 'MEDIUM'})).toEqual([
+ expect(parseCvssV2BaseVector({accessComplexity: 'Medium'})).toEqual([
'AV:ERROR/AC:M/Au:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV2BaseVector({accessComplexity: 'HIGH'})).toEqual([
+ expect(parseCvssV2BaseVector({accessComplexity: 'High'})).toEqual([
'AV:ERROR/AC:H/Au:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
@@ -557,14 +557,15 @@ describe('parseCvssV2BaseVector tests', () => {
'AV:ERROR/AC:ERROR/Au:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV2BaseVector({authentication: 'NONE'})).toEqual([
+ expect(parseCvssV2BaseVector({authentication: 'None'})).toEqual([
'AV:ERROR/AC:ERROR/Au:N/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(
- parseCvssV2BaseVector({authentication: 'MULTIPLE_INSTANCES'}),
- ).toEqual(['AV:ERROR/AC:ERROR/Au:M/C:ERROR/I:ERROR/A:ERROR', undefined]);
- expect(parseCvssV2BaseVector({authentication: 'SINGLE_INSTANCE'})).toEqual([
+ expect(parseCvssV2BaseVector({authentication: 'Multiple'})).toEqual([
+ 'AV:ERROR/AC:ERROR/Au:M/C:ERROR/I:ERROR/A:ERROR',
+ undefined,
+ ]);
+ expect(parseCvssV2BaseVector({authentication: 'Single'})).toEqual([
'AV:ERROR/AC:ERROR/Au:S/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
@@ -575,15 +576,15 @@ describe('parseCvssV2BaseVector tests', () => {
'AV:ERROR/AC:ERROR/Au:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV2BaseVector({confidentialityImpact: 'NONE'})).toEqual([
+ expect(parseCvssV2BaseVector({confidentialityImpact: 'None'})).toEqual([
'AV:ERROR/AC:ERROR/Au:ERROR/C:N/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV2BaseVector({confidentialityImpact: 'PARTIAL'})).toEqual([
+ expect(parseCvssV2BaseVector({confidentialityImpact: 'Partial'})).toEqual([
'AV:ERROR/AC:ERROR/Au:ERROR/C:P/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV2BaseVector({confidentialityImpact: 'COMPLETE'})).toEqual([
+ expect(parseCvssV2BaseVector({confidentialityImpact: 'Complete'})).toEqual([
'AV:ERROR/AC:ERROR/Au:ERROR/C:C/I:ERROR/A:ERROR',
undefined,
]);
@@ -594,15 +595,15 @@ describe('parseCvssV2BaseVector tests', () => {
'AV:ERROR/AC:ERROR/Au:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV2BaseVector({integrityImpact: 'NONE'})).toEqual([
+ expect(parseCvssV2BaseVector({integrityImpact: 'None'})).toEqual([
'AV:ERROR/AC:ERROR/Au:ERROR/C:ERROR/I:N/A:ERROR',
undefined,
]);
- expect(parseCvssV2BaseVector({integrityImpact: 'PARTIAL'})).toEqual([
+ expect(parseCvssV2BaseVector({integrityImpact: 'Partial'})).toEqual([
'AV:ERROR/AC:ERROR/Au:ERROR/C:ERROR/I:P/A:ERROR',
undefined,
]);
- expect(parseCvssV2BaseVector({integrityImpact: 'COMPLETE'})).toEqual([
+ expect(parseCvssV2BaseVector({integrityImpact: 'Complete'})).toEqual([
'AV:ERROR/AC:ERROR/Au:ERROR/C:ERROR/I:C/A:ERROR',
undefined,
]);
@@ -613,15 +614,15 @@ describe('parseCvssV2BaseVector tests', () => {
'AV:ERROR/AC:ERROR/Au:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV2BaseVector({availabilityImpact: 'NONE'})).toEqual([
+ expect(parseCvssV2BaseVector({availabilityImpact: 'None'})).toEqual([
'AV:ERROR/AC:ERROR/Au:ERROR/C:ERROR/I:ERROR/A:N',
undefined,
]);
- expect(parseCvssV2BaseVector({availabilityImpact: 'PARTIAL'})).toEqual([
+ expect(parseCvssV2BaseVector({availabilityImpact: 'Partial'})).toEqual([
'AV:ERROR/AC:ERROR/Au:ERROR/C:ERROR/I:ERROR/A:P',
undefined,
]);
- expect(parseCvssV2BaseVector({availabilityImpact: 'COMPLETE'})).toEqual([
+ expect(parseCvssV2BaseVector({availabilityImpact: 'Complete'})).toEqual([
'AV:ERROR/AC:ERROR/Au:ERROR/C:ERROR/I:ERROR/A:C',
undefined,
]);
@@ -643,15 +644,15 @@ describe('parseCvssV3BaseVector tests', () => {
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({attackVector: 'LOCAL'})).toEqual([
+ expect(parseCvssV3BaseVector({attackVector: 'Local'})).toEqual([
'CVSS:3.1/AV:L/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({attackVector: 'NETWORK'})).toEqual([
+ expect(parseCvssV3BaseVector({attackVector: 'Network'})).toEqual([
'CVSS:3.1/AV:N/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({attackVector: 'PHYSICAL'})).toEqual([
+ expect(parseCvssV3BaseVector({attackVector: 'Physical'})).toEqual([
'CVSS:3.1/AV:P/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
@@ -662,11 +663,11 @@ describe('parseCvssV3BaseVector tests', () => {
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({attackComplexity: 'LOW'})).toEqual([
+ expect(parseCvssV3BaseVector({attackComplexity: 'Low'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:L/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({attackComplexity: 'HIGH'})).toEqual([
+ expect(parseCvssV3BaseVector({attackComplexity: 'High'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:H/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
@@ -677,15 +678,15 @@ describe('parseCvssV3BaseVector tests', () => {
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({privilegesRequired: 'NONE'})).toEqual([
+ expect(parseCvssV3BaseVector({privilegesRequired: 'None'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:N/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({privilegesRequired: 'HIGH'})).toEqual([
+ expect(parseCvssV3BaseVector({privilegesRequired: 'High'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:H/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({privilegesRequired: 'LOW'})).toEqual([
+ expect(parseCvssV3BaseVector({privilegesRequired: 'Low'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:L/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
@@ -696,11 +697,11 @@ describe('parseCvssV3BaseVector tests', () => {
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({userInteraction: 'NONE'})).toEqual([
+ expect(parseCvssV3BaseVector({userInteraction: 'None'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:N/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({userInteraction: 'REQUIRED'})).toEqual([
+ expect(parseCvssV3BaseVector({userInteraction: 'Required'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:R/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
@@ -711,11 +712,11 @@ describe('parseCvssV3BaseVector tests', () => {
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({scope: 'UNCHANGED'})).toEqual([
+ expect(parseCvssV3BaseVector({scope: 'Unchanged'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:U/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({scope: 'CHANGED'})).toEqual([
+ expect(parseCvssV3BaseVector({scope: 'Changed'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:C/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
@@ -726,15 +727,15 @@ describe('parseCvssV3BaseVector tests', () => {
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({confidentialityImpact: 'NONE'})).toEqual([
+ expect(parseCvssV3BaseVector({confidentialityImpact: 'None'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:N/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({confidentialityImpact: 'LOW'})).toEqual([
+ expect(parseCvssV3BaseVector({confidentialityImpact: 'Low'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:L/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({confidentialityImpact: 'HIGH'})).toEqual([
+ expect(parseCvssV3BaseVector({confidentialityImpact: 'High'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:H/I:ERROR/A:ERROR',
undefined,
]);
@@ -745,15 +746,15 @@ describe('parseCvssV3BaseVector tests', () => {
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({integrityImpact: 'NONE'})).toEqual([
+ expect(parseCvssV3BaseVector({integrityImpact: 'None'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:N/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({integrityImpact: 'LOW'})).toEqual([
+ expect(parseCvssV3BaseVector({integrityImpact: 'Low'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:L/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({integrityImpact: 'HIGH'})).toEqual([
+ expect(parseCvssV3BaseVector({integrityImpact: 'High'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:H/A:ERROR',
undefined,
]);
@@ -764,15 +765,15 @@ describe('parseCvssV3BaseVector tests', () => {
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:ERROR',
undefined,
]);
- expect(parseCvssV3BaseVector({availabilityImpact: 'NONE'})).toEqual([
+ expect(parseCvssV3BaseVector({availabilityImpact: 'None'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:N',
undefined,
]);
- expect(parseCvssV3BaseVector({availabilityImpact: 'LOW'})).toEqual([
+ expect(parseCvssV3BaseVector({availabilityImpact: 'Low'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:L',
undefined,
]);
- expect(parseCvssV3BaseVector({availabilityImpact: 'HIGH'})).toEqual([
+ expect(parseCvssV3BaseVector({availabilityImpact: 'High'})).toEqual([
'CVSS:3.1/AV:ERROR/AC:ERROR/PR:ERROR/UI:ERROR/S:ERROR/C:ERROR/I:ERROR/A:H',
undefined,
]);
@@ -813,7 +814,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
test('should parse av', () => {
expect(parseCvssV2BaseFromVector('AV:L')).toEqual({
- accessVector: 'LOCAL',
+ accessVector: 'Local',
accessComplexity: undefined,
authentication: undefined,
availabilityImpact: undefined,
@@ -822,7 +823,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
cvssScore: undefined,
});
expect(parseCvssV2BaseFromVector('AV:A')).toEqual({
- accessVector: 'ADJACENT_NETWORK',
+ accessVector: 'Adjacent',
accessComplexity: undefined,
authentication: undefined,
availabilityImpact: undefined,
@@ -831,7 +832,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
cvssScore: undefined,
});
expect(parseCvssV2BaseFromVector('AV:N')).toEqual({
- accessVector: 'NETWORK',
+ accessVector: 'Network',
accessComplexity: undefined,
authentication: undefined,
availabilityImpact: undefined,
@@ -844,7 +845,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
test('should parse ac', () => {
expect(parseCvssV2BaseFromVector('AC:L')).toEqual({
accessVector: undefined,
- accessComplexity: 'LOW',
+ accessComplexity: 'Low',
authentication: undefined,
availabilityImpact: undefined,
confidentialityImpact: undefined,
@@ -853,7 +854,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
});
expect(parseCvssV2BaseFromVector('AC:M')).toEqual({
accessVector: undefined,
- accessComplexity: 'MEDIUM',
+ accessComplexity: 'Medium',
authentication: undefined,
availabilityImpact: undefined,
confidentialityImpact: undefined,
@@ -862,7 +863,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
});
expect(parseCvssV2BaseFromVector('AC:H')).toEqual({
accessVector: undefined,
- accessComplexity: 'HIGH',
+ accessComplexity: 'High',
authentication: undefined,
availabilityImpact: undefined,
confidentialityImpact: undefined,
@@ -875,7 +876,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
expect(parseCvssV2BaseFromVector('AU:M')).toEqual({
accessVector: undefined,
accessComplexity: undefined,
- authentication: 'MULTIPLE_INSTANCES',
+ authentication: 'Multiple',
availabilityImpact: undefined,
confidentialityImpact: undefined,
integrityImpact: undefined,
@@ -884,7 +885,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
expect(parseCvssV2BaseFromVector('AU:S')).toEqual({
accessVector: undefined,
accessComplexity: undefined,
- authentication: 'SINGLE_INSTANCE',
+ authentication: 'Single',
availabilityImpact: undefined,
confidentialityImpact: undefined,
integrityImpact: undefined,
@@ -893,7 +894,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
expect(parseCvssV2BaseFromVector('AU:N')).toEqual({
accessVector: undefined,
accessComplexity: undefined,
- authentication: 'NONE',
+ authentication: 'None',
availabilityImpact: undefined,
confidentialityImpact: undefined,
integrityImpact: undefined,
@@ -907,7 +908,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
accessComplexity: undefined,
authentication: undefined,
availabilityImpact: undefined,
- confidentialityImpact: 'COMPLETE',
+ confidentialityImpact: 'Complete',
integrityImpact: undefined,
cvssScore: undefined,
});
@@ -916,7 +917,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
accessComplexity: undefined,
authentication: undefined,
availabilityImpact: undefined,
- confidentialityImpact: 'PARTIAL',
+ confidentialityImpact: 'Partial',
integrityImpact: undefined,
cvssScore: undefined,
});
@@ -925,7 +926,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
accessComplexity: undefined,
authentication: undefined,
availabilityImpact: undefined,
- confidentialityImpact: 'NONE',
+ confidentialityImpact: 'None',
integrityImpact: undefined,
cvssScore: undefined,
});
@@ -938,7 +939,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
authentication: undefined,
availabilityImpact: undefined,
confidentialityImpact: undefined,
- integrityImpact: 'COMPLETE',
+ integrityImpact: 'Complete',
cvssScore: undefined,
});
expect(parseCvssV2BaseFromVector('I:P')).toEqual({
@@ -947,7 +948,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
authentication: undefined,
availabilityImpact: undefined,
confidentialityImpact: undefined,
- integrityImpact: 'PARTIAL',
+ integrityImpact: 'Partial',
cvssScore: undefined,
});
expect(parseCvssV2BaseFromVector('I:N')).toEqual({
@@ -956,7 +957,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
authentication: undefined,
availabilityImpact: undefined,
confidentialityImpact: undefined,
- integrityImpact: 'NONE',
+ integrityImpact: 'None',
cvssScore: undefined,
});
});
@@ -966,7 +967,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
accessVector: undefined,
accessComplexity: undefined,
authentication: undefined,
- availabilityImpact: 'COMPLETE',
+ availabilityImpact: 'Complete',
confidentialityImpact: undefined,
integrityImpact: undefined,
cvssScore: undefined,
@@ -975,7 +976,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
accessVector: undefined,
accessComplexity: undefined,
authentication: undefined,
- availabilityImpact: 'PARTIAL',
+ availabilityImpact: 'Partial',
confidentialityImpact: undefined,
integrityImpact: undefined,
cvssScore: undefined,
@@ -984,7 +985,7 @@ describe('parseCvssV2BaseFromVector tests', () => {
accessVector: undefined,
accessComplexity: undefined,
authentication: undefined,
- availabilityImpact: 'NONE',
+ availabilityImpact: 'None',
confidentialityImpact: undefined,
integrityImpact: undefined,
cvssScore: undefined,
@@ -993,12 +994,12 @@ describe('parseCvssV2BaseFromVector tests', () => {
test('should parse full vector', () => {
expect(parseCvssV2BaseFromVector('AV:N/AC:H/AU:S/C:C/I:C/A:C')).toEqual({
- accessVector: 'NETWORK',
- accessComplexity: 'HIGH',
- authentication: 'SINGLE_INSTANCE',
- availabilityImpact: 'COMPLETE',
- confidentialityImpact: 'COMPLETE',
- integrityImpact: 'COMPLETE',
+ accessVector: 'Network',
+ accessComplexity: 'High',
+ authentication: 'Single',
+ availabilityImpact: 'Complete',
+ confidentialityImpact: 'Complete',
+ integrityImpact: 'Complete',
cvssScore: 7.1,
});
});
@@ -1027,7 +1028,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
test('should parse av', () => {
expect(parseCvssV3BaseFromVector('AV:L')).toEqual({
- attackVector: 'LOCAL',
+ attackVector: 'Local',
attackComplexity: undefined,
privilegesRequired: undefined,
userInteraction: undefined,
@@ -1038,7 +1039,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
cvssScore: undefined,
});
expect(parseCvssV3BaseFromVector('AV:A')).toEqual({
- attackVector: 'ADJACENT_NETWORK',
+ attackVector: 'Adjacent',
attackComplexity: undefined,
privilegesRequired: undefined,
userInteraction: undefined,
@@ -1049,7 +1050,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
cvssScore: undefined,
});
expect(parseCvssV3BaseFromVector('AV:N')).toEqual({
- attackVector: 'NETWORK',
+ attackVector: 'Network',
attackComplexity: undefined,
privilegesRequired: undefined,
userInteraction: undefined,
@@ -1060,7 +1061,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
cvssScore: undefined,
});
expect(parseCvssV3BaseFromVector('AV:L')).toEqual({
- attackVector: 'LOCAL',
+ attackVector: 'Local',
attackComplexity: undefined,
privilegesRequired: undefined,
userInteraction: undefined,
@@ -1075,7 +1076,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
test('should parse ac', () => {
expect(parseCvssV3BaseFromVector('AC:L')).toEqual({
attackVector: undefined,
- attackComplexity: 'LOW',
+ attackComplexity: 'Low',
privilegesRequired: undefined,
userInteraction: undefined,
scope: undefined,
@@ -1086,7 +1087,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
});
expect(parseCvssV3BaseFromVector('AC:H')).toEqual({
attackVector: undefined,
- attackComplexity: 'HIGH',
+ attackComplexity: 'High',
privilegesRequired: undefined,
userInteraction: undefined,
scope: undefined,
@@ -1101,7 +1102,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
expect(parseCvssV3BaseFromVector('PR:H')).toEqual({
attackVector: undefined,
attackComplexity: undefined,
- privilegesRequired: 'HIGH',
+ privilegesRequired: 'High',
userInteraction: undefined,
scope: undefined,
availabilityImpact: undefined,
@@ -1112,7 +1113,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
expect(parseCvssV3BaseFromVector('PR:L')).toEqual({
attackVector: undefined,
attackComplexity: undefined,
- privilegesRequired: 'LOW',
+ privilegesRequired: 'Low',
userInteraction: undefined,
scope: undefined,
availabilityImpact: undefined,
@@ -1123,7 +1124,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
expect(parseCvssV3BaseFromVector('PR:N')).toEqual({
attackVector: undefined,
attackComplexity: undefined,
- privilegesRequired: 'NONE',
+ privilegesRequired: 'None',
userInteraction: undefined,
scope: undefined,
availabilityImpact: undefined,
@@ -1138,7 +1139,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
attackVector: undefined,
attackComplexity: undefined,
privilegesRequired: undefined,
- userInteraction: 'REQUIRED',
+ userInteraction: 'Required',
scope: undefined,
availabilityImpact: undefined,
confidentialityImpact: undefined,
@@ -1149,7 +1150,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
attackVector: undefined,
attackComplexity: undefined,
privilegesRequired: undefined,
- userInteraction: 'NONE',
+ userInteraction: 'None',
scope: undefined,
availabilityImpact: undefined,
confidentialityImpact: undefined,
@@ -1164,7 +1165,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
attackComplexity: undefined,
privilegesRequired: undefined,
userInteraction: undefined,
- scope: 'CHANGED',
+ scope: 'Changed',
availabilityImpact: undefined,
confidentialityImpact: undefined,
integrityImpact: undefined,
@@ -1175,7 +1176,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
attackComplexity: undefined,
privilegesRequired: undefined,
userInteraction: undefined,
- scope: 'UNCHANGED',
+ scope: 'Unchanged',
availabilityImpact: undefined,
confidentialityImpact: undefined,
integrityImpact: undefined,
@@ -1191,7 +1192,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
userInteraction: undefined,
scope: undefined,
availabilityImpact: undefined,
- confidentialityImpact: 'HIGH',
+ confidentialityImpact: 'High',
integrityImpact: undefined,
cvssScore: undefined,
});
@@ -1202,7 +1203,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
userInteraction: undefined,
scope: undefined,
availabilityImpact: undefined,
- confidentialityImpact: 'LOW',
+ confidentialityImpact: 'Low',
integrityImpact: undefined,
cvssScore: undefined,
});
@@ -1213,7 +1214,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
userInteraction: undefined,
scope: undefined,
availabilityImpact: undefined,
- confidentialityImpact: 'NONE',
+ confidentialityImpact: 'None',
integrityImpact: undefined,
cvssScore: undefined,
});
@@ -1228,7 +1229,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
scope: undefined,
availabilityImpact: undefined,
confidentialityImpact: undefined,
- integrityImpact: 'HIGH',
+ integrityImpact: 'High',
cvssScore: undefined,
});
expect(parseCvssV3BaseFromVector('I:L')).toEqual({
@@ -1239,7 +1240,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
scope: undefined,
availabilityImpact: undefined,
confidentialityImpact: undefined,
- integrityImpact: 'LOW',
+ integrityImpact: 'Low',
cvssScore: undefined,
});
expect(parseCvssV3BaseFromVector('I:N')).toEqual({
@@ -1250,7 +1251,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
scope: undefined,
availabilityImpact: undefined,
confidentialityImpact: undefined,
- integrityImpact: 'NONE',
+ integrityImpact: 'None',
cvssScore: undefined,
});
});
@@ -1262,7 +1263,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
privilegesRequired: undefined,
userInteraction: undefined,
scope: undefined,
- availabilityImpact: 'HIGH',
+ availabilityImpact: 'High',
confidentialityImpact: undefined,
integrityImpact: undefined,
cvssScore: undefined,
@@ -1273,7 +1274,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
privilegesRequired: undefined,
userInteraction: undefined,
scope: undefined,
- availabilityImpact: 'LOW',
+ availabilityImpact: 'Low',
confidentialityImpact: undefined,
integrityImpact: undefined,
cvssScore: undefined,
@@ -1284,7 +1285,7 @@ describe('parseCvssV3BaseFromVector tests', () => {
privilegesRequired: undefined,
userInteraction: undefined,
scope: undefined,
- availabilityImpact: 'NONE',
+ availabilityImpact: 'None',
confidentialityImpact: undefined,
integrityImpact: undefined,
cvssScore: undefined,
@@ -1295,14 +1296,14 @@ describe('parseCvssV3BaseFromVector tests', () => {
expect(
parseCvssV3BaseFromVector('CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N'),
).toEqual({
- attackVector: 'PHYSICAL',
- attackComplexity: 'LOW',
- privilegesRequired: 'NONE',
- userInteraction: 'NONE',
- scope: 'CHANGED',
- availabilityImpact: 'NONE',
- confidentialityImpact: 'NONE',
- integrityImpact: 'HIGH',
+ attackVector: 'Physical',
+ attackComplexity: 'Low',
+ privilegesRequired: 'None',
+ userInteraction: 'None',
+ scope: 'Changed',
+ availabilityImpact: 'None',
+ confidentialityImpact: 'None',
+ integrityImpact: 'High',
cvssScore: 5.3,
});
});
diff --git a/src/gmp/capabilities/__tests__/capabilities.js b/src/gmp/capabilities/__tests__/capabilities.js
index 835994a957..ee6ad31798 100644
--- a/src/gmp/capabilities/__tests__/capabilities.js
+++ b/src/gmp/capabilities/__tests__/capabilities.js
@@ -215,6 +215,19 @@ describe('Capabilities tests', () => {
}
expect(i).toEqual(4);
});
+
+ test('should handle features', () => {
+ const featureList = [
+ {name: 'ENABLED_FEATURE_1', _enabled: 1},
+ {name: 'DISABLED_FEATURE', _enabled: 0},
+ {name: 'ENABLED_FEATURE_2', _enabled: 1},
+ ];
+ const caps = new Capabilities(['everything'], featureList);
+ expect(caps.featureEnabled('ENABLED_FEATURE_1')).toBe(true);
+ expect(caps.featureEnabled('DISABLED_FEATURE')).toBe(false);
+ expect(caps.featureEnabled('enabled_feature_2')).toBe(true);
+ expect(caps.featureEnabled('UNDEFINED_FEATURE')).toBe(false);
+ });
});
// vim: set ts=2 sw=2 tw=80:
diff --git a/src/gmp/capabilities/capabilities.js b/src/gmp/capabilities/capabilities.js
index aba48bccc9..f8baa0e991 100644
--- a/src/gmp/capabilities/capabilities.js
+++ b/src/gmp/capabilities/capabilities.js
@@ -4,8 +4,9 @@
*/
import {isDefined} from 'gmp/utils/identity';
-import {map} from 'gmp/utils/array';
+import {forEach, map} from 'gmp/utils/array';
import {pluralizeType} from 'gmp/utils/entitytype';
+import {parseBoolean} from 'gmp/parser';
const types = {
audit: 'task',
@@ -50,16 +51,27 @@ const convertType = type => {
};
class Capabilities {
- constructor(cap_names) {
- this._has_caps = isDefined(cap_names);
+ constructor(cap_names, featuresList) {
+ this._hasCaps = isDefined(cap_names);
+ this._hasFeatures = isDefined(featuresList);
let caps;
+ let featuresEnabled = {};
- if (this._has_caps) {
+ if (this._hasCaps) {
caps = map(cap_names, name => name.toLowerCase());
}
+ if (this._hasFeatures) {
+ forEach(featuresList, feature => {
+ featuresEnabled[feature.name.toUpperCase()] = parseBoolean(
+ feature._enabled,
+ );
+ });
+ }
+
this._capabilities = new Set(caps);
+ this._featuresEnabled = featuresEnabled;
}
[Symbol.iterator]() {
@@ -67,7 +79,7 @@ class Capabilities {
}
areDefined() {
- return this._has_caps;
+ return this._hasCaps;
}
has(name) {
@@ -101,6 +113,10 @@ class Capabilities {
get length() {
return this._capabilities.size;
}
+
+ featureEnabled(feature) {
+ return this._featuresEnabled[feature.toUpperCase()] == true;
+ }
}
export default Capabilities;
diff --git a/src/gmp/capabilities/everything.js b/src/gmp/capabilities/everything.js
index 0332e1d623..b02b9d68a7 100644
--- a/src/gmp/capabilities/everything.js
+++ b/src/gmp/capabilities/everything.js
@@ -3,6 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import Capabilities from './capabilities.js';
class EverythingCapabilities extends Capabilities {
diff --git a/src/gmp/commands/__tests__/user.js b/src/gmp/commands/__tests__/user.js
index 17fe9d1ec9..fe39552f46 100644
--- a/src/gmp/commands/__tests__/user.js
+++ b/src/gmp/commands/__tests__/user.js
@@ -121,3 +121,58 @@ describe('UserCommand transformSettingName() function tests', () => {
expect(transformSettingName(str4)).toEqual('foobar');
});
});
+
+describe('UserCommand capabilities tests', () => {
+ test('should get capabilities', () => {
+ const response = createResponse({
+ get_capabilities: {
+ help_response: {
+ schema: {
+ command: [
+ {
+ name: 'get_reports',
+ },
+ {
+ name: 'get_tasks',
+ },
+ ],
+ },
+ },
+ get_features_response: {
+ feature: [
+ {
+ _enabled: 1,
+ name: 'TEST_FEATURE_1',
+ },
+ {
+ _enabled: 1,
+ name: 'TEST_FEATURE_2',
+ },
+ ],
+ },
+ },
+ });
+ const fakeHttp = createHttp(response);
+ const cmd = new UserCommand(fakeHttp);
+
+ cmd.currentCapabilities().then(resp => {
+ const {data: caps} = resp;
+
+ expect(fakeHttp.request).toHaveBeenCalledWith('get', {
+ args: {
+ cmd: 'get_capabilities',
+ },
+ });
+
+ expect(caps._hasCaps).toBe(true);
+ expect(caps.mayAccess('report')).toBe(true);
+ expect(caps.mayAccess('task')).toBe(true);
+ expect(caps.mayAccess('user')).toBe(false);
+
+ expect(caps._hasFeatures).toBe(true);
+ expect(caps.featureEnabled('test_feature_1')).toBe(true);
+ expect(caps.featureEnabled('TEST_FEATURE_2')).toBe(true);
+ expect(caps.featureEnabled('TEST_FEATURE_3')).toBe(false);
+ });
+ });
+});
diff --git a/src/gmp/commands/alerts.js b/src/gmp/commands/alerts.js
index 2dbfc320cb..ab18c8ae49 100644
--- a/src/gmp/commands/alerts.js
+++ b/src/gmp/commands/alerts.js
@@ -9,6 +9,7 @@ import {map} from 'gmp/utils/array';
import registerCommand from 'gmp/command';
import {parseModelFromElement} from 'gmp/model';
+import {isDefined} from 'gmp/utils/identity';
import Alert from 'gmp/models/alert';
import Credential from 'gmp/models/credential';
@@ -190,10 +191,12 @@ class AlertCommand extends EntityCommand {
new_alert.get_report_formats_response.report_format,
format => parseModelFromElement(format, 'reportformat'),
);
- new_alert.report_configs = map(
- new_alert.get_report_configs_response.report_config,
- config => parseModelFromElement(config, 'reportconfig'),
- );
+ if (isDefined(new_alert.get_report_configs_response)) {
+ new_alert.report_configs = map(
+ new_alert.get_report_configs_response.report_config,
+ config => parseModelFromElement(config, 'reportconfig'),
+ );
+ }
new_alert.credentials = map(
new_alert.get_credentials_response.credential,
credential => Credential.fromElement(credential),
@@ -226,11 +229,13 @@ class AlertCommand extends EntityCommand {
);
delete edit_alert.get_report_formats_response;
- edit_alert.report_configs = map(
- edit_alert.get_report_configs_response.report_config,
- config => parseModelFromElement(config, 'reportconfig'),
- );
- delete edit_alert.get_report_configs_response;
+ if (isDefined(edit_alert.get_report_configs_response)) {
+ edit_alert.report_configs = map(
+ edit_alert.get_report_configs_response.report_config,
+ config => parseModelFromElement(config, 'reportconfig'),
+ );
+ delete edit_alert.get_report_configs_response;
+ }
edit_alert.credentials = map(
edit_alert.get_credentials_response.credential,
diff --git a/src/gmp/commands/users.js b/src/gmp/commands/users.js
index 65dcc9ab98..c94c4077e7 100644
--- a/src/gmp/commands/users.js
+++ b/src/gmp/commands/users.js
@@ -162,8 +162,9 @@ export class UserCommand extends EntityCommand {
).then(response => {
const {data} = response;
const {command: commands} = data.get_capabilities.help_response.schema;
+ const featuresList = data.get_capabilities.get_features_response.feature;
const caps = map(commands, command => command.name);
- return response.setData(new Capabilities(caps));
+ return response.setData(new Capabilities(caps, featuresList));
});
}
diff --git a/src/gmp/gmpsettings.js b/src/gmp/gmpsettings.js
index d870404312..0a262fbd53 100644
--- a/src/gmp/gmpsettings.js
+++ b/src/gmp/gmpsettings.js
@@ -43,6 +43,7 @@ const warnDeprecatedSetting = (oldName, newName) => {
class GmpSettings {
constructor(storage = global.localStorage, options = {}) {
const {
+ enableEPSS = false,
enableGreenboneSensor = false,
disableLoginForm = false,
enableStoreDebugLog,
@@ -109,6 +110,7 @@ class GmpSettings {
setAndFreeze(this, 'apiProtocol', apiProtocol);
setAndFreeze(this, 'apiServer', apiServer);
setAndFreeze(this, 'disableLoginForm', disableLoginForm);
+ setAndFreeze(this, 'enableEPSS', enableEPSS);
setAndFreeze(this, 'enableGreenboneSensor', enableGreenboneSensor);
setAndFreeze(this, 'guestUsername', guestUsername);
setAndFreeze(this, 'guestPassword', guestPassword);
diff --git a/src/gmp/models/__tests__/cve.js b/src/gmp/models/__tests__/cve.js
index 20bad7cfd6..9cb39af35b 100644
--- a/src/gmp/models/__tests__/cve.js
+++ b/src/gmp/models/__tests__/cve.js
@@ -128,12 +128,12 @@ describe('CVE model tests', () => {
const cve = Cve.fromElement(elem);
expect(cve.cvssBaseVector).toEqual('AV:N/AC:L/Au:N/C:C/I:C/A:C');
- expect(cve.cvssAccessComplexity).toEqual('LOW');
- expect(cve.cvssAccessVector).toEqual('NETWORK');
- expect(cve.cvssAuthentication).toEqual('NONE');
- expect(cve.cvssAvailabilityImpact).toEqual('COMPLETE');
- expect(cve.cvssConfidentialityImpact).toEqual('COMPLETE');
- expect(cve.cvssIntegrityImpact).toEqual('COMPLETE');
+ expect(cve.cvssAccessComplexity).toEqual('Low');
+ expect(cve.cvssAccessVector).toEqual('Network');
+ expect(cve.cvssAuthentication).toEqual('None');
+ expect(cve.cvssAvailabilityImpact).toEqual('Complete');
+ expect(cve.cvssConfidentialityImpact).toEqual('Complete');
+ expect(cve.cvssIntegrityImpact).toEqual('Complete');
});
test('should parse vulnerable products', () => {
@@ -278,4 +278,26 @@ describe('CVE model tests', () => {
expect(cve.name).toBe('CVE-1234');
expect(cve.id).toBe('CVE-1234');
});
+
+ test('should parse CVSS4 metrics', () => {
+ const elem = {
+ cve: {
+ cvss_vector:
+ 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:L/VA:N/SC:L/SI:H/SA:N',
+ },
+ };
+ const cve = Cve.fromElement(elem);
+
+ expect(cve.cvssAttackVector).toEqual('Network');
+ expect(cve.cvssAttackComplexity).toEqual('Low');
+ expect(cve.cvssAttackRequirements).toEqual('Present');
+ expect(cve.cvssPrivilegesRequired).toEqual('Low');
+ expect(cve.cvssUserInteraction).toEqual('Active');
+ expect(cve.cvssConfidentialityVS).toEqual('High');
+ expect(cve.cvssIntegrityVS).toEqual('Low');
+ expect(cve.cvssAvailabilityVS).toEqual('None');
+ expect(cve.cvssConfidentialitySS).toEqual('Low');
+ expect(cve.cvssIntegritySS).toEqual('High');
+ expect(cve.cvssAvailabilitySS).toEqual('None');
+ });
});
diff --git a/src/gmp/models/cve.js b/src/gmp/models/cve.js
index b068a58c69..bb0fc32424 100644
--- a/src/gmp/models/cve.js
+++ b/src/gmp/models/cve.js
@@ -13,6 +13,9 @@ import {
parseCvssV2BaseFromVector,
parseCvssV3BaseFromVector,
} from 'gmp/parser/cvss';
+
+import {parseCvssV4MetricsFromVector} from 'gmp/parser/cvssV4';
+
import Info from './info';
class Cve extends Info {
@@ -23,6 +26,7 @@ class Cve extends Info {
ret.name = element.name;
ret.id = element.name;
+ ret.epss = element.epss;
return ret;
}
@@ -62,7 +66,21 @@ class Cve extends Info {
if (isEmpty(ret.cvss_vector)) {
ret.cvss_vector = '';
}
- if (ret.cvss_vector.includes('CVSS:3')) {
+ if (ret.cvss_vector.includes('CVSS:4')) {
+ const {AV, AC, AT, PR, UI, VC, VI, VA, SC, SI, SA} =
+ parseCvssV4MetricsFromVector(ret.cvss_vector);
+ ret.cvssAttackVector = AV;
+ ret.cvssAttackComplexity = AC;
+ ret.cvssAttackRequirements = AT;
+ ret.cvssPrivilegesRequired = PR;
+ ret.cvssUserInteraction = UI;
+ ret.cvssConfidentialityVS = VC;
+ ret.cvssIntegrityVS = VI;
+ ret.cvssAvailabilityVS = VA;
+ ret.cvssConfidentialitySS = SC;
+ ret.cvssIntegritySS = SI;
+ ret.cvssAvailabilitySS = SA;
+ } else if (ret.cvss_vector.includes('CVSS:3')) {
const {
attackVector,
attackComplexity,
diff --git a/src/gmp/parser/__tests__/cvssV4.js b/src/gmp/parser/__tests__/cvssV4.js
new file mode 100644
index 0000000000..32f558485f
--- /dev/null
+++ b/src/gmp/parser/__tests__/cvssV4.js
@@ -0,0 +1,136 @@
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+import {describe, test, expect} from '@gsa/testing';
+
+import {
+ calculateVector,
+ expectedMetricOptionsOrdered,
+ parseCvssV4MetricsFromVector,
+ processVector,
+ removeUnusedMetrics,
+} from '../cvssV4';
+
+describe('CVSSV4 parser', () => {
+ describe('calculateVector', () => {
+ test('should correctly calculate the CVSS vector', () => {
+ const cvssVectorObject = {
+ AC: 'L',
+ PR: 'N',
+ S: 'P',
+ UI: 'N',
+ AV: 'N',
+ };
+
+ const result = calculateVector(
+ cvssVectorObject,
+ expectedMetricOptionsOrdered,
+ );
+ expect(result).toEqual('AV:N/AC:L/PR:N/UI:N/S:P');
+ });
+ });
+
+ describe('processVector', () => {
+ test('should correctly process the CVSS vector', () => {
+ const vectorString =
+ 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N';
+ const result = processVector(vectorString);
+ expect(result).toEqual({
+ AC: 'L',
+ AT: 'N',
+ AV: 'N',
+ PR: 'N',
+ SA: 'N',
+ SC: 'N',
+ SI: 'N',
+ UI: 'N',
+ VA: 'N',
+ VC: 'N',
+ VI: 'N',
+ });
+ });
+
+ test('should return only valid elements', () => {
+ const incompleteVectorString =
+ 'CVSS:4.0/AV:Q/AC:L/AT:N/PR:N/UI:N/VC:N/CR';
+ const result = processVector(incompleteVectorString);
+ expect(result).toEqual({
+ AC: 'L',
+ AT: 'N',
+ PR: 'N',
+ UI: 'N',
+ VC: 'N',
+ });
+ });
+ });
+ describe('removeUnusedMetrics', () => {
+ test('removes metrics with value X and returns the rest in order', () => {
+ const cvssVector = {
+ AV: 'N',
+ AC: 'L',
+ AT: 'N',
+ PR: 'L',
+ UI: 'A',
+ VC: 'N',
+ VI: 'H',
+ VA: 'N',
+ SC: 'L',
+ SI: 'N',
+ SA: 'N',
+ E: 'X',
+ CR: 'X',
+ IR: 'X',
+ AR: 'X',
+ MVA: 'L',
+ MSC: 'X',
+ MSI: 'X',
+ MSA: 'L',
+ U: 'X',
+ };
+ const result = removeUnusedMetrics(cvssVector);
+ expect(result).toBe(
+ 'AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:H/VA:N/SC:L/SI:N/SA:N/MVA:L/MSA:L',
+ );
+ });
+ });
+ describe('parseCvssV4MetricsFromVector', () => {
+ test('should return metric labels from CVSS vector', () => {
+ const vectorString =
+ 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:H/SI:L/SA:N';
+ const result = parseCvssV4MetricsFromVector(vectorString);
+ expect(result).toEqual({
+ AV: 'Network',
+ AC: 'Low',
+ AT: 'None',
+ PR: 'None',
+ UI: 'None',
+ VC: 'Low',
+ VI: 'High',
+ VA: 'None',
+ SC: 'High',
+ SI: 'Low',
+ SA: 'None',
+ });
+ });
+
+ test('should return only valid metric labels', () => {
+ const incompleteVectorString =
+ 'CVSS:4.0/AV:Q/AC:L/AT:N/PR:N/UI:N/VC:N/CR';
+ const result = parseCvssV4MetricsFromVector(incompleteVectorString);
+ expect(result).toEqual({
+ AC: 'Low',
+ AT: 'None',
+ PR: 'None',
+ UI: 'None',
+ VC: 'None',
+ });
+ });
+
+ test('should return an empty object', () => {
+ expect(parseCvssV4MetricsFromVector('')).toEqual({});
+ expect(parseCvssV4MetricsFromVector()).toEqual({});
+ });
+ });
+});
diff --git a/src/gmp/parser/cvss.js b/src/gmp/parser/cvss.js
index d83005ed86..02c264b940 100644
--- a/src/gmp/parser/cvss.js
+++ b/src/gmp/parser/cvss.js
@@ -3,6 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import {isDefined} from 'gmp/utils/identity';
/* CVSS v2 .... */
@@ -63,15 +64,15 @@ export const parseCvssV2BaseVector = ({
let vector = 'AV:';
switch (accessVector) {
- case 'LOCAL':
+ case 'Local':
vector += 'L';
av = 0.395;
break;
- case 'ADJACENT_NETWORK':
+ case 'Adjacent':
vector += 'A';
av = 0.646;
break;
- case 'NETWORK':
+ case 'Network':
vector += 'N';
av = 1.0;
break;
@@ -82,15 +83,15 @@ export const parseCvssV2BaseVector = ({
vector += '/AC:';
switch (accessComplexity) {
- case 'LOW':
+ case 'Low':
vector += 'L';
ac = 0.71;
break;
- case 'MEDIUM':
+ case 'Medium':
vector += 'M';
ac = 0.61;
break;
- case 'HIGH':
+ case 'High':
vector += 'H';
ac = 0.35;
break;
@@ -101,15 +102,15 @@ export const parseCvssV2BaseVector = ({
vector += '/Au:';
switch (authentication) {
- case 'NONE':
+ case 'None':
vector += 'N';
au = 0.704;
break;
- case 'MULTIPLE_INSTANCES':
+ case 'Multiple':
vector += 'M';
au = 0.45;
break;
- case 'SINGLE_INSTANCE':
+ case 'Single':
vector += 'S';
au = 0.56;
break;
@@ -120,15 +121,15 @@ export const parseCvssV2BaseVector = ({
vector += '/C:';
switch (confidentialityImpact) {
- case 'NONE':
+ case 'None':
vector += 'N';
c = 0.0;
break;
- case 'PARTIAL':
+ case 'Partial':
vector += 'P';
c = 0.275;
break;
- case 'COMPLETE':
+ case 'Complete':
vector += 'C';
c = 0.66;
break;
@@ -139,15 +140,15 @@ export const parseCvssV2BaseVector = ({
vector += '/I:';
switch (integrityImpact) {
- case 'NONE':
+ case 'None':
vector += 'N';
i = 0.0;
break;
- case 'PARTIAL':
+ case 'Partial':
vector += 'P';
i = 0.275;
break;
- case 'COMPLETE':
+ case 'Complete':
vector += 'C';
i = 0.66;
break;
@@ -158,15 +159,15 @@ export const parseCvssV2BaseVector = ({
vector += '/A:';
switch (availabilityImpact) {
- case 'NONE':
+ case 'None':
vector += 'N';
a = 0.0;
break;
- case 'PARTIAL':
+ case 'Partial':
vector += 'P';
a = 0.275;
break;
- case 'COMPLETE':
+ case 'Complete':
vector += 'C';
a = 0.66;
break;
@@ -217,73 +218,73 @@ export const parseCvssV2BaseFromVector = vector => {
switch (metric) {
case 'av':
if (value === 'l') {
- accessVector = 'LOCAL';
+ accessVector = 'Local';
av = 0.395;
} else if (value === 'a') {
- accessVector = 'ADJACENT_NETWORK';
+ accessVector = 'Adjacent';
av = 0.646;
} else if (value === 'n') {
- accessVector = 'NETWORK';
+ accessVector = 'Network';
av = 1.0;
}
break;
case 'ac':
if (value === 'h') {
- accessComplexity = 'HIGH';
+ accessComplexity = 'High';
ac = 0.35;
} else if (value === 'm') {
- accessComplexity = 'MEDIUM';
+ accessComplexity = 'Medium';
ac = 0.61;
} else if (value === 'l') {
- accessComplexity = 'LOW';
+ accessComplexity = 'Low';
ac = 0.71;
}
break;
case 'au':
if (value === 'm') {
- authentication = 'MULTIPLE_INSTANCES';
+ authentication = 'Multiple';
au = 0.45;
} else if (value === 's') {
- authentication = 'SINGLE_INSTANCE';
+ authentication = 'Single';
au = 0.56;
} else if (value === 'n') {
- authentication = 'NONE';
+ authentication = 'None';
au = 0.704;
}
break;
case 'c':
if (value === 'c') {
- confidentialityImpact = 'COMPLETE';
+ confidentialityImpact = 'Complete';
c = 0.66;
} else if (value === 'p') {
- confidentialityImpact = 'PARTIAL';
+ confidentialityImpact = 'Partial';
c = 0.275;
} else if (value === 'n') {
- confidentialityImpact = 'NONE';
+ confidentialityImpact = 'None';
c = 0.0;
}
break;
case 'i':
if (value === 'c') {
- integrityImpact = 'COMPLETE';
+ integrityImpact = 'Complete';
i = 0.66;
} else if (value === 'p') {
- integrityImpact = 'PARTIAL';
+ integrityImpact = 'Partial';
i = 0.275;
} else if (value === 'n') {
- integrityImpact = 'NONE';
+ integrityImpact = 'None';
i = 0.0;
}
break;
case 'a':
if (value === 'c') {
- availabilityImpact = 'COMPLETE';
+ availabilityImpact = 'Complete';
a = 0.66;
} else if (value === 'p') {
- availabilityImpact = 'PARTIAL';
+ availabilityImpact = 'Partial';
a = 0.275;
} else if (value === 'n') {
- availabilityImpact = 'NONE';
+ availabilityImpact = 'None';
a = 0.0;
}
break;
@@ -353,19 +354,19 @@ export const parseCvssV3BaseVector = ({
let vector = 'CVSS:3.1/AV:';
switch (attackVector) {
- case 'PHYSICAL':
+ case 'Physical':
vector += 'P';
av = 0.2;
break;
- case 'LOCAL':
+ case 'Local':
vector += 'L';
av = 0.55;
break;
- case 'ADJACENT_NETWORK':
+ case 'Adjacent':
vector += 'A';
av = 0.62;
break;
- case 'NETWORK':
+ case 'Network':
vector += 'N';
av = 0.85;
break;
@@ -376,11 +377,11 @@ export const parseCvssV3BaseVector = ({
vector += '/AC:';
switch (attackComplexity) {
- case 'HIGH':
+ case 'High':
vector += 'H';
ac = 0.44;
break;
- case 'LOW':
+ case 'Low':
vector += 'L';
ac = 0.77;
break;
@@ -391,15 +392,15 @@ export const parseCvssV3BaseVector = ({
vector += '/PR:';
switch (privilegesRequired) {
- case 'HIGH':
+ case 'High':
vector += 'H';
pr = 0.27;
break;
- case 'LOW':
+ case 'Low':
vector += 'L';
pr = 0.62;
break;
- case 'NONE':
+ case 'None':
vector += 'N';
pr = 0.85;
break;
@@ -410,11 +411,11 @@ export const parseCvssV3BaseVector = ({
vector += '/UI:';
switch (userInteraction) {
- case 'REQUIRED':
+ case 'Required':
vector += 'R';
ui = 0.62;
break;
- case 'NONE':
+ case 'None':
vector += 'N';
ui = 0.85;
break;
@@ -425,11 +426,11 @@ export const parseCvssV3BaseVector = ({
vector += '/S:';
switch (scope) {
- case 'UNCHANGED':
+ case 'Unchanged':
vector += 'U';
s = 6.42;
break;
- case 'CHANGED':
+ case 'Changed':
vector += 'C';
s = 7.52;
break;
@@ -440,15 +441,15 @@ export const parseCvssV3BaseVector = ({
vector += '/C:';
switch (confidentialityImpact) {
- case 'HIGH':
+ case 'High':
vector += 'H';
c = 0.56;
break;
- case 'LOW':
+ case 'Low':
vector += 'L';
c = 0.22;
break;
- case 'NONE':
+ case 'None':
vector += 'N';
c = 0.0;
break;
@@ -459,15 +460,15 @@ export const parseCvssV3BaseVector = ({
vector += '/I:';
switch (integrityImpact) {
- case 'HIGH':
+ case 'High':
vector += 'H';
i = 0.56;
break;
- case 'LOW':
+ case 'Low':
vector += 'L';
i = 0.22;
break;
- case 'NONE':
+ case 'None':
vector += 'N';
i = 0.0;
break;
@@ -478,15 +479,15 @@ export const parseCvssV3BaseVector = ({
vector += '/A:';
switch (availabilityImpact) {
- case 'HIGH':
+ case 'High':
vector += 'H';
a = 0.56;
break;
- case 'LOW':
+ case 'Low':
vector += 'L';
a = 0.22;
break;
- case 'NONE':
+ case 'None':
vector += 'N';
a = 0.0;
break;
@@ -543,91 +544,91 @@ export const parseCvssV3BaseFromVector = vector => {
switch (metric) {
case 'av':
if (value === 'l') {
- attackVector = 'LOCAL';
+ attackVector = 'Local';
av = 0.55;
} else if (value === 'a') {
- attackVector = 'ADJACENT_NETWORK';
+ attackVector = 'Adjacent';
av = 0.62;
} else if (value === 'n') {
- attackVector = 'NETWORK';
+ attackVector = 'Network';
av = 0.85;
} else if (value === 'p') {
- attackVector = 'PHYSICAL';
+ attackVector = 'Physical';
av = 0.2;
}
break;
case 'ac':
if (value === 'h') {
- attackComplexity = 'HIGH';
+ attackComplexity = 'High';
ac = 0.44;
} else if (value === 'l') {
- attackComplexity = 'LOW';
+ attackComplexity = 'Low';
ac = 0.77;
}
break;
case 'pr':
if (value === 'h') {
- privilegesRequired = 'HIGH';
+ privilegesRequired = 'High';
pr = 0.27;
} else if (value === 'l') {
- privilegesRequired = 'LOW';
+ privilegesRequired = 'Low';
pr = 0.62;
} else if (value === 'n') {
- privilegesRequired = 'NONE';
+ privilegesRequired = 'None';
pr = 0.85;
}
break;
case 'ui':
if (value === 'r') {
- userInteraction = 'REQUIRED';
+ userInteraction = 'Required';
ui = 0.62;
} else if (value === 'n') {
- userInteraction = 'NONE';
+ userInteraction = 'None';
ui = 0.85;
}
break;
case 's':
if (value === 'u') {
- scope = 'UNCHANGED';
+ scope = 'Unchanged';
s = 6.42;
} else if (value === 'c') {
- scope = 'CHANGED';
+ scope = 'Changed';
s = 7.52;
}
break;
case 'c':
if (value === 'h') {
- confidentialityImpact = 'HIGH';
+ confidentialityImpact = 'High';
c = 0.56;
} else if (value === 'l') {
- confidentialityImpact = 'LOW';
+ confidentialityImpact = 'Low';
c = 0.22;
} else if (value === 'n') {
- confidentialityImpact = 'NONE';
+ confidentialityImpact = 'None';
c = 0.0;
}
break;
case 'i':
if (value === 'h') {
- integrityImpact = 'HIGH';
+ integrityImpact = 'High';
i = 0.56;
} else if (value === 'l') {
- integrityImpact = 'LOW';
+ integrityImpact = 'Low';
i = 0.22;
} else if (value === 'n') {
- integrityImpact = 'NONE';
+ integrityImpact = 'None';
i = 0.0;
}
break;
case 'a':
if (value === 'h') {
- availabilityImpact = 'HIGH';
+ availabilityImpact = 'High';
a = 0.56;
} else if (value === 'l') {
- availabilityImpact = 'LOW';
+ availabilityImpact = 'Low';
a = 0.22;
} else if (value === 'n') {
- availabilityImpact = 'NONE';
+ availabilityImpact = 'None';
a = 0.0;
}
break;
diff --git a/src/gmp/parser/cvssV4.js b/src/gmp/parser/cvssV4.js
new file mode 100644
index 0000000000..ef0fdcd468
--- /dev/null
+++ b/src/gmp/parser/cvssV4.js
@@ -0,0 +1,210 @@
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+import {isDefined} from 'gmp/utils/identity';
+import {CVSS40} from '@pandatix/js-cvss';
+
+export const expectedMetricOptionsOrdered = [
+ ['AV', 'N', 'A', 'L', 'P'],
+ ['AC', 'L', 'H'],
+ ['AT', 'N', 'P'],
+ ['PR', 'N', 'L', 'H'],
+ ['UI', 'N', 'P', 'A'],
+ ['VC', 'N', 'L', 'H'],
+ ['VI', 'N', 'L', 'H'],
+ ['VA', 'N', 'L', 'H'],
+ ['SC', 'N', 'L', 'H'],
+ ['SI', 'N', 'L', 'H'],
+ ['SA', 'N', 'L', 'H'],
+ ['E', 'X', 'A', 'P', 'U'],
+ ['CR', 'X', 'H', 'M', 'L'],
+ ['IR', 'X', 'H', 'M', 'L'],
+ ['AR', 'X', 'H', 'M', 'L'],
+ ['MAV', 'X', 'N', 'A', 'L', 'P'],
+ ['MAC', 'X', 'L', 'H'],
+ ['MAT', 'X', 'N', 'P'],
+ ['MPR', 'X', 'N', 'L', 'H'],
+ ['MUI', 'X', 'N', 'P', 'A'],
+ ['MVC', 'X', 'H', 'L', 'N'],
+ ['MVI', 'X', 'H', 'L', 'N'],
+ ['MVA', 'X', 'H', 'L', 'N'],
+ ['MSC', 'X', 'H', 'L', 'N'],
+ ['MSI', 'X', 'S', 'H', 'L', 'N'],
+ ['MSA', 'X', 'S', 'H', 'L', 'N'],
+ ['S', 'X', 'N', 'P'],
+ ['AU', 'X', 'N', 'Y'],
+ ['R', 'X', 'A', 'U', 'I'],
+ ['V', 'X', 'D', 'C'],
+ ['RE', 'X', 'L', 'M', 'H'],
+ ['U', 'X', 'Clear', 'Green', 'Amber', 'Red'],
+];
+
+const cvss4MetricValueToLabels = {
+ AV: {
+ N: 'Network',
+ A: 'Adjacent',
+ L: 'Local',
+ P: 'Physical',
+ },
+ AC: {
+ L: 'Low',
+ H: 'High',
+ },
+ AT: {
+ N: 'None',
+ P: 'Present',
+ },
+ PR: {
+ N: 'None',
+ L: 'Low',
+ H: 'High',
+ },
+ UI: {
+ N: 'None',
+ P: 'Passive',
+ A: 'Active',
+ },
+ VC: {
+ N: 'None',
+ L: 'Low',
+ H: 'High',
+ },
+ VI: {
+ N: 'None',
+ L: 'Low',
+ H: 'High',
+ },
+ VA: {
+ N: 'None',
+ L: 'Low',
+ H: 'High',
+ },
+ SC: {
+ N: 'None',
+ L: 'Low',
+ H: 'High',
+ },
+ SI: {
+ N: 'None',
+ L: 'Low',
+ H: 'High',
+ },
+ SA: {
+ N: 'None',
+ L: 'Low',
+ H: 'High',
+ },
+};
+
+/**
+ * This function calculates the CVSS vector from a set of metrics.
+ *
+ * @param {Record} cvssVectorObject - An object with key-value pairs of the metrics.
+ * @returns {string} - The CVSS vector string.
+ */
+
+export const calculateVector = cvssVectorObject => {
+ const result = expectedMetricOptionsOrdered
+ .filter(metric => cvssVectorObject[metric[0]] !== undefined)
+ .map(metric => `${metric[0]}:${cvssVectorObject[metric[0]]}`)
+ .join('/');
+ return result;
+};
+
+/**
+ * This function processes a CVSS vector string and returns an object with the metrics.
+ * Checks if the metric is a valid option.
+ *
+ * @param {string} vectorString - The CVSS vector string to process.
+ * @returns {Record} - An object with key-value pairs of the metrics.
+ */
+
+export const processVector = vectorString => {
+ const vector = vectorString.replace(/^CVSS:4.0\//, '').split('/');
+ const result = {};
+ const expectedMetricMap = new Map(
+ expectedMetricOptionsOrdered.map(metric => [metric[0], metric]),
+ );
+
+ vector.forEach(metricString => {
+ const [key, value] = metricString.split(':');
+ if (
+ expectedMetricMap.has(key) &&
+ value &&
+ expectedMetricMap.get(key).includes(value)
+ ) {
+ result[key] = value;
+ }
+ });
+
+ return result;
+};
+
+/**
+ * This function removes the unused metrics from a CVSS vector.
+ * The unused optional metrics are the ones with the value 'X'.
+ *
+ * @param {Record} cvssVector - The CVSS vector to remove the unused metrics.
+ * @returns {string} - The CVSS vector without the unused metrics.
+ */
+
+export const removeUnusedMetrics = cvssVector => {
+ const vector = calculateVector(cvssVector).split('/');
+
+ const validMetrics = vector.filter(metric => {
+ const [, value] = metric.split(':');
+ return value !== 'X';
+ });
+
+ const orderMap = new Map(
+ expectedMetricOptionsOrdered.map((metric, index) => [metric[0], index]),
+ );
+
+ const getKey = metricString => metricString.split(':')[0];
+ validMetrics.sort(
+ (a, b) => orderMap.get(getKey(a)) - orderMap.get(getKey(b)),
+ );
+
+ return validMetrics.join('/');
+};
+
+/**
+ * This function calculates the CVSS score from a CVSS vector.
+ * @param {string} cvssVector - The CVSS vector with all the metrics to calculate the score.
+ * @returns {number | undefined} - The CVSS score.
+ *
+ */
+
+export const calculateScoreSafely = cvssVector => {
+ try {
+ return new CVSS40(cvssVector).Score();
+ } catch {
+ return undefined;
+ }
+};
+
+/**
+ * This function parses a CVSS vector string and returns an object with the
+ * metrics as labels.
+ * @param {string} cvssVector - The CVSS vector to parse the metrics from.
+ * @returns {Record} - An object with key-value pairs of the metrics.
+ */
+export const parseCvssV4MetricsFromVector = cvssVector => {
+ if (!isDefined(cvssVector) || cvssVector.trim().length === 0) {
+ return {};
+ }
+ let ret = {};
+ const metrics = processVector(cvssVector);
+
+ for (const metric in metrics) {
+ const value = metrics[metric];
+ if (
+ isDefined(cvss4MetricValueToLabels[metric]) &&
+ isDefined(cvss4MetricValueToLabels[metric][value])
+ )
+ ret[metric] = cvss4MetricValueToLabels[metric][value];
+ }
+ return ret;
+};
diff --git a/src/version.js b/src/version.js
index 84513958f9..a7081ca6ed 100644
--- a/src/version.js
+++ b/src/version.js
@@ -14,7 +14,7 @@ const getMajorMinorVersion = () => {
return `${major}.${minor}`;
};
-export const VERSION = '23.0.1-dev1';
+export const VERSION = '23.2.2-dev1';
export const RELEASE_VERSION = getMajorMinorVersion();
diff --git a/src/web/components/badge/__tests__/__snapshots__/badge.jsx.snap b/src/web/components/badge/__tests__/__snapshots__/badge.jsx.snap
deleted file mode 100644
index 41462c8980..0000000000
--- a/src/web/components/badge/__tests__/__snapshots__/badge.jsx.snap
+++ /dev/null
@@ -1,96 +0,0 @@
-// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
-
-exports[`Badge tests > should render badge 1`] = `
-.c1 {
- height: 16px;
- width: 16px;
- line-height: 16px;
-}
-
-.c1 * {
- height: inherit;
- width: inherit;
-}
-
-.c0 {
- position: relative;
- display: -webkit-inline-box;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- margin-right: 0px;
-}
-
-.c2 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-flex-wrap: wrap;
- -webkit-flex-wrap: wrap;
- -ms-flex-wrap: wrap;
- flex-wrap: wrap;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-align-content: center;
- -ms-flex-line-pack: center;
- align-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- position: absolute;
- font-size: 10px;
- background-color: red;
- font-weight: bold;
- border-radius: 10px;
- min-width: 10px;
- padding: 3px 5px;
- z-index: 1;
- background-color: #11ab51;
- color: #fff;
- bottom: -8px;
- right: 0px;
-}
-
-