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/web/app.jsx b/src/web/app.jsx
index d26cedd3ac..a3cc8e4d01 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__/titlebar.jsx b/src/web/components/bar/__tests__/titlebar.jsx
index 2381f8c37f..8ee1748f81 100644
--- a/src/web/components/bar/__tests__/titlebar.jsx
+++ b/src/web/components/bar/__tests__/titlebar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * 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/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/menubar.jsx b/src/web/components/bar/menubar.jsx
index ea33f47a71..8d5e567a03 100644
--- a/src/web/components/bar/menubar.jsx
+++ b/src/web/components/bar/menubar.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 {connect} from 'react-redux';
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/titlebar.jsx b/src/web/components/bar/titlebar.jsx
index 33568c7da9..460cfd624e 100644
--- a/src/web/components/bar/titlebar.jsx
+++ b/src/web/components/bar/titlebar.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/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..926d691d2c 100644
--- a/src/web/components/certinfo/certinfo.jsx
+++ b/src/web/components/certinfo/certinfo.jsx
@@ -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 React from 'react';
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__/button.jsx b/src/web/components/dialog/__tests__/button.jsx
index eda3871474..75729932f3 100644
--- a/src/web/components/dialog/__tests__/button.jsx
+++ b/src/web/components/dialog/__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/dialog/__tests__/closebutton.jsx b/src/web/components/dialog/__tests__/closebutton.jsx
index a872f3fe13..0dacb82373 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 85b084fa7a..a683150263 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 a694586e86..959e420e70 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 3aec3a2ef1..3752b3128d 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__/errordialog.jsx b/src/web/components/dialog/__tests__/errordialog.jsx
index 1a82a85ad6..e283a50c9d 100644
--- a/src/web/components/dialog/__tests__/errordialog.jsx
+++ b/src/web/components/dialog/__tests__/errordialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * 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__/multistepfooter.jsx b/src/web/components/dialog/__tests__/multistepfooter.jsx
index ec9d5393da..ece75394a6 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} from 'web/utils/testing';
diff --git a/src/web/components/dialog/__tests__/twobuttonfooter.jsx b/src/web/components/dialog/__tests__/twobuttonfooter.jsx
index 22a6ad325a..55d9682556 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} from 'web/utils/testing';
diff --git a/src/web/components/dialog/button.jsx b/src/web/components/dialog/button.jsx
index bc2e2e5257..35aa3ab355 100644
--- a/src/web/components/dialog/button.jsx
+++ b/src/web/components/dialog/button.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You 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/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 3c0fc46b60..7e8ee76626 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 3b5ec6f128..d0df2ec22c 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 from 'react';
import _ from 'gmp/locale';
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 9e2c12685b..99f71b365d 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';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/dialog/dialog.jsx b/src/web/components/dialog/dialog.jsx
index 77fd338437..24bc073e80 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 from 'react';
import {KeyCode} from 'gmp/utils/event';
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/errordialog.jsx b/src/web/components/dialog/errordialog.jsx
index fc8df38384..fd0f9ef0fd 100644
--- a/src/web/components/dialog/errordialog.jsx
+++ b/src/web/components/dialog/errordialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You 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/dialog/footer.jsx b/src/web/components/dialog/footer.jsx
index 08af61cece..54c4a7bc43 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 4e1d8e0958..eacbe190db 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/overlay.jsx b/src/web/components/dialog/overlay.jsx
index 19d5789978..e3e6d2e55b 100644
--- a/src/web/components/dialog/overlay.jsx
+++ b/src/web/components/dialog/overlay.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/dialog/resizer.jsx b/src/web/components/dialog/resizer.jsx
index 9e0b4039d0..5002643498 100644
--- a/src/web/components/dialog/resizer.jsx
+++ b/src/web/components/dialog/resizer.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/savedialog.jsx b/src/web/components/dialog/savedialog.jsx
index 456f1cf3aa..8374521b11 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 _ from 'gmp/locale';
diff --git a/src/web/components/dialog/scrollablecontent.jsx b/src/web/components/dialog/scrollablecontent.jsx
index 09dd217864..d58eeeba45 100644
--- a/src/web/components/dialog/scrollablecontent.jsx
+++ b/src/web/components/dialog/scrollablecontent.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/dialog/title.jsx b/src/web/components/dialog/title.jsx
index e07f5be143..114a40c8df 100644
--- a/src/web/components/dialog/title.jsx
+++ b/src/web/components/dialog/title.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You 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/twobuttonfooter.jsx b/src/web/components/dialog/twobuttonfooter.jsx
index 023021ec72..6c387252e7 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 styled from 'styled-components';
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 01f82a7aff..520cbc75ad 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 40eecacd0f..09e51ee1be 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 25d8942943..a88f0c28df 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 ea83f63730..dbf0f8d5a7 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 ef38012dab..101c50c2bb 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/__tests__/button.jsx b/src/web/components/form/__tests__/button.jsx
index 96e1ee5cc5..baf56b0efd 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} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/checkbox.jsx b/src/web/components/form/__tests__/checkbox.jsx
index cba3337126..599ed80ddd 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} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/download.jsx b/src/web/components/form/__tests__/download.jsx
index fd4868d44f..5ab258b66f 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__/field.jsx b/src/web/components/form/__tests__/field.jsx
index 1132d0c36a..7348766268 100644
--- a/src/web/components/form/__tests__/field.jsx
+++ b/src/web/components/form/__tests__/field.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__/filefield.jsx b/src/web/components/form/__tests__/filefield.jsx
index 64c9286f2e..347de0f1f1 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 24698c95b6..54c9507b16 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} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/loadingbutton.jsx b/src/web/components/form/__tests__/loadingbutton.jsx
index 7511f0594a..ec7e7f530e 100644
--- a/src/web/components/form/__tests__/loadingbutton.jsx
+++ b/src/web/components/form/__tests__/loadingbutton.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__/multiselect.jsx b/src/web/components/form/__tests__/multiselect.jsx
index 8378db55fe..d8ae1e32eb 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, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/numberfield.jsx b/src/web/components/form/__tests__/numberfield.jsx
index 0d3c24d699..1a1e385549 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 {KeyCode} from 'gmp/utils/event';
diff --git a/src/web/components/form/__tests__/passwordfield.jsx b/src/web/components/form/__tests__/passwordfield.jsx
index 4885c9d954..ac9632203e 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} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/radio.jsx b/src/web/components/form/__tests__/radio.jsx
index 9539caa40b..2834deb64a 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} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/select.jsx b/src/web/components/form/__tests__/select.jsx
index c111c6bc69..37c7776305 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 {
diff --git a/src/web/components/form/__tests__/selectelement.jsx b/src/web/components/form/__tests__/selectelement.jsx
index b17bf93746..81b096b9ce 100644
--- a/src/web/components/form/__tests__/selectelement.jsx
+++ b/src/web/components/form/__tests__/selectelement.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 React from 'react';
diff --git a/src/web/components/form/__tests__/spinner.jsx b/src/web/components/form/__tests__/spinner.jsx
index a734b646df..69a21152d1 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 700d0606f1..7d76d54d7d 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 Theme from 'web/utils/theme';
diff --git a/src/web/components/form/__tests__/textfield.jsx b/src/web/components/form/__tests__/textfield.jsx
index 352823d71f..89864f42b7 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} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/timezoneselect.jsx b/src/web/components/form/__tests__/timezoneselect.jsx
index 137672e0ac..7ac3416bf8 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 {setLocale} from 'gmp/locale/lang';
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 0c3463bf13..21ecd57cd5 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__/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 30d66a5517..49033267ad 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 {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/form/button.jsx b/src/web/components/form/button.jsx
index b52997797d..4a65537176 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 styled from 'styled-components';
diff --git a/src/web/components/form/checkbox.jsx b/src/web/components/form/checkbox.jsx
index 609ae0dfb5..271c5e15d0 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 from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/form/datepicker.jsx b/src/web/components/form/datepicker.jsx
index 4820690a81..88eef8b23d 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 styled from 'styled-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/field.jsx b/src/web/components/form/field.jsx
index 777c5fb9bf..ec4c058f12 100644
--- a/src/web/components/form/field.jsx
+++ b/src/web/components/form/field.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 {isDefined} from 'gmp/utils/identity';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/form/filefield.jsx b/src/web/components/form/filefield.jsx
index d5a1fcba2f..77f75c7f2e 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 from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/form/formgroup.jsx b/src/web/components/form/formgroup.jsx
index d557d0e9d8..845220d5b7 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 styled from 'styled-components';
diff --git a/src/web/components/form/loadingbutton.jsx b/src/web/components/form/loadingbutton.jsx
index 84241d2b58..963a31b8b8 100644
--- a/src/web/components/form/loadingbutton.jsx
+++ b/src/web/components/form/loadingbutton.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License 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 Button from 'web/components/form/button';
diff --git a/src/web/components/form/multiselect.jsx b/src/web/components/form/multiselect.jsx
index ed9c076212..0680d3183c 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 from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/form/numberfield.jsx b/src/web/components/form/numberfield.jsx
index 7d4321eb47..bebf04e659 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 from 'react';
import {KeyCode} from 'gmp/utils/event';
diff --git a/src/web/components/form/passwordfield.jsx b/src/web/components/form/passwordfield.jsx
index 54097a2d79..a7e727a5e4 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 Field from './field';
diff --git a/src/web/components/form/radio.jsx b/src/web/components/form/radio.jsx
index 034f48268f..b017dadf2e 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, {useState} from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/form/select.jsx b/src/web/components/form/select.jsx
index 6a931d8eb8..77b3d8c7e7 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 React from 'react';
import Downshift from 'downshift';
diff --git a/src/web/components/form/selectelements.jsx b/src/web/components/form/selectelements.jsx
index decc43b124..ca38b7d7ed 100644
--- a/src/web/components/form/selectelements.jsx
+++ b/src/web/components/form/selectelements.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/form/spinner.jsx b/src/web/components/form/spinner.jsx
index 552ce6cc6b..0f00c5a7df 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 styled from 'styled-components';
diff --git a/src/web/components/form/textarea.jsx b/src/web/components/form/textarea.jsx
index 3bc08942d4..89cc9ee260 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, {useCallback} from 'react';
import {isDefined} from 'gmp/utils/identity';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/form/textfield.jsx b/src/web/components/form/textfield.jsx
index fdaee53e62..f0f9f44c16 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 PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/form/timezoneselect.jsx b/src/web/components/form/timezoneselect.jsx
index 1a1c1f8f4a..e8221b11d5 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 from 'react';
import _ from 'gmp/locale';
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 2aee67d78a..55d074619c 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 f3aefa9ac5..18b2de3fc4 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 ca6b3faac9..9c8c7964fd 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 e0effc14ea..bf444b67c2 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/menu.jsx b/src/web/components/menu/menu.jsx
index 2ef166fc73..c16cfdef31 100644
--- a/src/web/components/menu/menu.jsx
+++ b/src/web/components/menu/menu.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, {keyframes} 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 d4cb300f17..f3b89b4777 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 9c7b2bd466..af26cd24fa 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 42298f6e63..7cd03eab88 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 {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/booleanfiltergroup.jsx b/src/web/components/powerfilter/__tests__/booleanfiltergroup.jsx
index 239dd45e15..2c61cb0d9f 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 {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/createnamedfiltergroup.jsx b/src/web/components/powerfilter/__tests__/createnamedfiltergroup.jsx
index b3d6ad2321..de070c8979 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 df65f834b5..4f2e694f9e 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 b6ac8feb3c..22cc2fd3ca 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 89d714f929..a0481671a0 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 9da2ae663f..880f384d47 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 2683a932f3..4a1fe232cc 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, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/resultsperpagegroup.jsx b/src/web/components/powerfilter/__tests__/resultsperpagegroup.jsx
index 646721e1cc..d3a358dc9a 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 f4db03abd5..3f0c54cf7b 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 3ba6c80983..c092ad7500 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 {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/solutiontypegroup.jsx b/src/web/components/powerfilter/__tests__/solutiontypegroup.jsx
index 6e26d0e3b3..149cfe65c5 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 {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/sortbygroup.jsx b/src/web/components/powerfilter/__tests__/sortbygroup.jsx
index 914153006e..54b5a69cbf 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 {render, fireEvent, queryAllByTestId} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/tasktrendgroup.jsx b/src/web/components/powerfilter/__tests__/tasktrendgroup.jsx
index 7cdd80aa77..eac487c8c9 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, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/ticketstatusgroup.jsx b/src/web/components/powerfilter/__tests__/ticketstatusgroup.jsx
index 9a0111c415..8a48a1a78f 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 {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/applyoverridesgroup.jsx b/src/web/components/powerfilter/applyoverridesgroup.jsx
index dc8b6f5f53..1339b2ba09 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 _ from 'gmp/locale';
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 05fe06d6fe..a1a5f963be 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 styled from 'styled-components';
diff --git a/src/web/components/powerfilter/dialog.jsx b/src/web/components/powerfilter/dialog.jsx
index f18d26a329..0dc53614f9 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 Layout from 'web/components/layout/layout';
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 4cfb463259..314a43006b 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 _ from 'gmp/locale';
diff --git a/src/web/components/powerfilter/filtersearchgroup.jsx b/src/web/components/powerfilter/filtersearchgroup.jsx
index c2e4a833c8..82bc520145 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 b02dbfd120..00af4fbe91 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 _ from 'gmp/locale';
diff --git a/src/web/components/powerfilter/firstresultgroup.jsx b/src/web/components/powerfilter/firstresultgroup.jsx
index b7766ddff6..6fcb5366a0 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 _ from 'gmp/locale';
diff --git a/src/web/components/powerfilter/minqodgroup.jsx b/src/web/components/powerfilter/minqodgroup.jsx
index 1335b5d111..e9a9846105 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 _ from 'gmp/locale';
diff --git a/src/web/components/powerfilter/powerfilter.jsx b/src/web/components/powerfilter/powerfilter.jsx
index ceab251bb0..e828879588 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 94241adebe..1a9a8c6c99 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 0c5c36c06c..6af601b62b 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 _ from 'gmp/locale';
diff --git a/src/web/components/powerfilter/severitylevelsgroup.jsx b/src/web/components/powerfilter/severitylevelsgroup.jsx
index ef4f0b826a..4aaee31991 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 from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/powerfilter/severityvaluesgroup.jsx b/src/web/components/powerfilter/severityvaluesgroup.jsx
index 6ddb150f1f..4b530c81d7 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 5176b688a2..69cb52ba0f 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 _ from 'gmp/locale';
diff --git a/src/web/components/powerfilter/sortbygroup.jsx b/src/web/components/powerfilter/sortbygroup.jsx
index a761fb03de..175c705b1f 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 _ from 'gmp/locale';
diff --git a/src/web/components/powerfilter/tasktrendgroup.jsx b/src/web/components/powerfilter/tasktrendgroup.jsx
index dc01ea2cc2..97c46db235 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 4740ecbf53..7ac7586119 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 _ from 'gmp/locale';
diff --git a/src/web/components/powerfilter/withFilterDialog.jsx b/src/web/components/powerfilter/withFilterDialog.jsx
index c16b5f17f8..0090cc85c9 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 FilterDialog from './filterdialog';
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/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 2102ef30e6..97d673ea20 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 c02c72d238..0300d86ac1 100644
--- a/src/web/components/structure/header.jsx
+++ b/src/web/components/structure/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 Titlebar from 'web/components/bar/titlebar';
diff --git a/src/web/components/structure/main.jsx b/src/web/components/structure/main.jsx
index 8a20afe87c..468d99cda9 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';
import withLayout from 'web/components/layout/withLayout';
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 88102e0ed2..b245249a6c 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 d6186839e7..689fdbf4bc 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 from 'react';
import Loading from 'web/components/loading/loading';
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 3d59f9ab83..5d1d46cede 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 76acbe7530..e951eb0181 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 87cc204d2b..2df51bf749 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 261e1b95f3..53528f9c6b 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 _ from 'gmp/locale';
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 9fa830195b..9e916a39d1 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 _ from 'gmp/locale';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/alerts/contentcomposerdialog.jsx b/src/web/pages/alerts/contentcomposerdialog.jsx
index 13e0521193..350585e63f 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 styled from 'styled-components';
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 4ec0705e54..8b195883e2 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 16fc93235e..f9d912c27c 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 ec4f1d4d79..3f87aae5e3 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 _ from 'gmp/locale';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/alerts/filtercountchangedconditionpart.jsx b/src/web/pages/alerts/filtercountchangedconditionpart.jsx
index 54e04bfa2e..42109f6bcd 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 _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/filtercountleastconditionpart.jsx b/src/web/pages/alerts/filtercountleastconditionpart.jsx
index f13dde18b2..0a0d75fcad 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 _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/httpmethodpart.jsx b/src/web/pages/alerts/httpmethodpart.jsx
index ad24dc4a7d..d188e8f0f2 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 _ from 'gmp/locale';
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 6e8c3c5310..df64497901 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 c35915f572..be5fbef6ce 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 c45dbb09e3..9f1c0f36d3 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 _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/sendmethodpart.jsx b/src/web/pages/alerts/sendmethodpart.jsx
index 637d7cc65c..97f1c7c075 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 56cdb27a6e..d6074a4247 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 _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/severityleastconditionpart.jsx b/src/web/pages/alerts/severityleastconditionpart.jsx
index 47110cfa72..025fc3d60d 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 _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/smbmethodpart.jsx b/src/web/pages/alerts/smbmethodpart.jsx
index 818f6c3208..9da988a6ca 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 2864908a04..81ff27f8e2 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 _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/sourcefiremethodpart.jsx b/src/web/pages/alerts/sourcefiremethodpart.jsx
index bfaa3f6ce6..2fceafa0a5 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 _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/starttaskmethodpart.jsx b/src/web/pages/alerts/starttaskmethodpart.jsx
index 777852616b..34c2fdd0ac 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 _ from 'gmp/locale';
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 c6e18cb156..5ffe21ec24 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 _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/ticketeventpart.jsx b/src/web/pages/alerts/ticketeventpart.jsx
index 4967741398..5d8e8df991 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 {_} from 'gmp/locale/lang';
diff --git a/src/web/pages/alerts/tippingpointmethodpart.jsx b/src/web/pages/alerts/tippingpointmethodpart.jsx
index a385f8daef..6361f3059e 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 _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/verinicemethodpart.jsx b/src/web/pages/alerts/verinicemethodpart.jsx
index b620aadb3a..a89797eb0d 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 59ecdcb850..4dae847e5b 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 230cb1e9af..a4faca8b07 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 66c2deacdc..202f613347 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 18c9db2b00..c3e0426b34 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 57e2de3137..c594edcb9f 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 41184c929c..514f22e57e 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 4c09cad37b..47eb904a2b 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 _ from 'gmp/locale';
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 85f13e1a66..ac14d14694 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 {_l} from 'gmp/locale/lang';
import {createFilterDialog} from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/certbund/listpage.jsx b/src/web/pages/certbund/listpage.jsx
index ca09cd2321..a21a177007 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 25df4747d5..2db32f8005 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 e6a1a0c9d1..7ee302e21e 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 {_l} from 'gmp/locale/lang';
import {createFilterDialog} from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/cpes/listpage.jsx b/src/web/pages/cpes/listpage.jsx
index 4fdd86a64b..4edd009459 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 b0bc11f25f..3e27467bd8 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 1046a50e46..19a5e0b772 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 bd79caf695..a36ba56f0e 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 7c0325c5df..7efc21a228 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 92b3381741..6d2062b490 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 _ from 'gmp/locale';
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 5b04e60198..4e83cb7375 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 9de784482f..65405841af 100644
--- a/src/web/pages/cves/filterdialog.jsx
+++ b/src/web/pages/cves/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 {_l} from 'gmp/locale/lang';
import {createFilterDialog} 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 480d0dacfd..78092c03c9 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 {fireEvent, rendererWith, waitFor, 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 e19d40cdab..c4e056b33c 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 PropTypes from 'prop-types';
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/trashcanpage.jsx b/src/web/pages/extras/trashcanpage.jsx
index fd9b444816..a76d5f393a 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 from 'react';
import {connect} from 'react-redux';
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 f5e2cf2307..f442167806 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 _ from 'gmp/locale';
diff --git a/src/web/pages/filters/listpage.jsx b/src/web/pages/filters/listpage.jsx
index 071898fda4..38c4d69708 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 _ from 'gmp/locale';
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 4db84a5cab..b8eb3835bf 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 _ from 'gmp/locale';
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 10553c7a1a..5e27523a74 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 _ from 'gmp/locale';
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 8c970d76ec..2052de95fc 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, waitFor, fireEvent} 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 bfb4ed6d2a..45c26843c0 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 5926676d5e..d45fa8d4fa 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 _ from 'gmp/locale';
diff --git a/src/web/pages/hosts/filterdialog.jsx b/src/web/pages/hosts/filterdialog.jsx
index 8e0b138b61..52c75418dc 100644
--- a/src/web/pages/hosts/filterdialog.jsx
+++ b/src/web/pages/hosts/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 {_l} from 'gmp/locale/lang';
import {createFilterDialog} 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 3482051f45..e4da98e025 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 4c883c891d..3f79e267aa 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 _ from 'gmp/locale';
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 fa6ee1ec4c..4ff1bf0a69 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 a6e759e884..435da6fe33 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 4c3045cb2b..1e8e79ccb9 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 _ from 'gmp/locale';
diff --git a/src/web/pages/notes/filterdialog.jsx b/src/web/pages/notes/filterdialog.jsx
index 3d87f13663..4fe699ec1b 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 {_l, _} from 'gmp/locale/lang';
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 596e206220..99b42831f2 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/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 900b887c2d..128460c6a6 100644
--- a/src/web/pages/nvts/filterdialog.jsx
+++ b/src/web/pages/nvts/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 {_l} from 'gmp/locale/lang';
import {createFilterDialog} 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 9dd32b6f47..5a22ce5298 100644
--- a/src/web/pages/operatingsystems/filterdialog.jsx
+++ b/src/web/pages/operatingsystems/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 {_l} from 'gmp/locale/lang';
import {createFilterDialog} 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 8ced8a24d5..d1fc094bd9 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 7395dbab23..45ad5527ce 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 _ from 'gmp/locale';
diff --git a/src/web/pages/overrides/filterdialog.jsx b/src/web/pages/overrides/filterdialog.jsx
index 97fdd9ec7e..7d6988fb39 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 {_l, _} from 'gmp/locale/lang';
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 1d3d371019..db27412f0e 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 {withRouter} from 'react-router-dom';
diff --git a/src/web/pages/performance/__tests__/startendtimeselection.jsx b/src/web/pages/performance/__tests__/startendtimeselection.jsx
index c6935b065f..b912301025 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 Date from 'gmp/models/date';
diff --git a/src/web/pages/performance/performancepage.jsx b/src/web/pages/performance/performancepage.jsx
index d41634bbd5..7c8edb172e 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 8deeb91d15..ef09ef85c9 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 React 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 2966d38411..61fbf155d4 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 _ from 'gmp/locale';
diff --git a/src/web/pages/permissions/listpage.jsx b/src/web/pages/permissions/listpage.jsx
index 2f2a73e11e..ba043cac93 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 _ from 'gmp/locale';
diff --git a/src/web/pages/permissions/multipledialog.jsx b/src/web/pages/permissions/multipledialog.jsx
index cd68b2bccb..4c24841222 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 3c633852b3..b5f35b3620 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 94ac47a33a..7c72a427ab 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 c1e04448e4..16391f0610 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 87422bf224..d2007574e0 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 f9b25f7cd8..59a123a34f 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 1c77718341..ace476fff2 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 7f2c65e57c..a21c4ea6ca 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 _ from 'gmp/locale';
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 71434e9ef5..6758e42779 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 _ from 'gmp/locale';
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 dc919cdd21..387bb711a8 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 _ from 'gmp/locale';
diff --git a/src/web/pages/portlists/filterdialog.jsx b/src/web/pages/portlists/filterdialog.jsx
index 1b912265e8..bcc78c86b1 100644
--- a/src/web/pages/portlists/filterdialog.jsx
+++ b/src/web/pages/portlists/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 {_l} from 'gmp/locale/lang';
import {createFilterDialog} from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/portlists/importdialog.jsx b/src/web/pages/portlists/importdialog.jsx
index 2ceaae21fb..dad4def6ba 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 _ from 'gmp/locale';
diff --git a/src/web/pages/portlists/listpage.jsx b/src/web/pages/portlists/listpage.jsx
index ba6ffdc321..c55a96641c 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 _ from 'gmp/locale';
diff --git a/src/web/pages/portlists/portrangedialog.jsx b/src/web/pages/portlists/portrangedialog.jsx
index 8bce67c250..b4ed431b2c 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 _ from 'gmp/locale';
diff --git a/src/web/pages/portlists/portrangestable.jsx b/src/web/pages/portlists/portrangestable.jsx
index c6bf496039..6f87b11437 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 _ from 'gmp/locale';
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 d9aa3cdc7d..c3bf968326 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, userEvent} 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 0d1ec8fbf6..05996f6b8c 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 _ from 'gmp/locale';
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 066da2dfbf..4823ad4218 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 cc4c5403dc..ac3afb9cdd 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 c805615f2c..09cb759153 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 75e4f55278..584dc3558b 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 c695c9d632..ea5b5baf07 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 7fbcd2a6a2..d48e137ef4 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 f885cbb799..2ef7e25435 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 4b3fb1d4f8..700ff39bb3 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 fdf71e5607..1ffd3f3c80 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 _ from 'gmp/locale';
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 a451625997..4e9d0f6a00 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 from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportformats/listpage.jsx b/src/web/pages/reportformats/listpage.jsx
index fab7d1b57c..30898f94a1 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 _ from 'gmp/locale';
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 95bafd67c6..f99d1b4300 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 41c3447b2a..6b6f39e938 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 f7f96e73ad..e37ac172aa 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__/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 017077b600..2e65e99ac8 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 _ from 'gmp/locale';
diff --git a/src/web/pages/reports/detailspage.jsx b/src/web/pages/reports/detailspage.jsx
index fa3846794e..63a76527f3 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 c04f747219..e3ca51b539 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 styled from 'styled-components';
diff --git a/src/web/pages/reports/filterdialog.jsx b/src/web/pages/reports/filterdialog.jsx
index cf6ff73f1c..5c90d45fd8 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 {_l, _} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/importdialog.jsx b/src/web/pages/reports/importdialog.jsx
index dcf8f6e1df..2b6ffbc7bb 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 _ from 'gmp/locale';
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 97be7c5db0..204e574240 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 styled from 'styled-components';
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 a4c023f824..b4fe403c05 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 b3d6131bd6..f646fe7335 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 c8f30da98a..a7ce7cd648 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 {_, _l} from 'gmp/locale/lang';
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 c8f2b9fb3a..cc61908e9c 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 _ from 'gmp/locale';
diff --git a/src/web/pages/roles/listpage.jsx b/src/web/pages/roles/listpage.jsx
index 72888223f5..2f34633ad1 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 _ from 'gmp/locale';
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 7ad7a421aa..aa2e006100 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 e7a614ea63..7996b71cba 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 07a395753c..7929fd38eb 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 35271d0220..f9a0529428 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 8f4d98da5c..249125b96e 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 8c31014fd6..362dd81232 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 7f58ffabf9..7aaf40e482 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 55dd93b927..03b359fa57 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 e38661ee6e..c2d8402fe0 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 a081533ed8..26dbab0004 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 c60bbe3223..69de760007 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 _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/editconfigfamilydialog.jsx b/src/web/pages/scanconfigs/editconfigfamilydialog.jsx
index b015a8b60c..afdb8b61c8 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 _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/editdialog.jsx b/src/web/pages/scanconfigs/editdialog.jsx
index a5c11526c3..2207837ad0 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 _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/editnvtdetailsdialog.jsx b/src/web/pages/scanconfigs/editnvtdetailsdialog.jsx
index 0b689976dd..9df5607dcf 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 _ from 'gmp/locale';
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 3ebe94f45f..bc4b3cf2c0 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 _ from 'gmp/locale';
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 f088f797ad..05cd1a8667 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 _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/nvtpreferences.jsx b/src/web/pages/scanconfigs/nvtpreferences.jsx
index 48f3c08ce5..f1887cbe18 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 d3d31ba71a..44acbc9907 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 _ from 'gmp/locale';
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/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 d66809be21..c69b049b2d 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 from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanners/listpage.jsx b/src/web/pages/scanners/listpage.jsx
index 99a8deb2d4..dd289e1275 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 _ from 'gmp/locale';
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 1f97ed9bab..f0c86b0f64 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 081a537496..e2cb0b1867 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 19e3f16c3b..23f165ac93 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 {_l} from 'gmp/locale/lang';
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 8e6fed6ae2..2000314ae6 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 from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/schedules/listpage.jsx b/src/web/pages/schedules/listpage.jsx
index 887988e56e..777af7584b 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 _ from 'gmp/locale';
diff --git a/src/web/pages/schedules/monthdaysselect.jsx b/src/web/pages/schedules/monthdaysselect.jsx
index 7ceaea879b..5876d7c750 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 from 'react';
import _ from 'gmp/locale';
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 804d80828d..0c34ed4df5 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 {_l} from 'gmp/locale/lang';
diff --git a/src/web/pages/schedules/weekdayselect.jsx b/src/web/pages/schedules/weekdayselect.jsx
index 28bcde6385..6813f0dc53 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 from 'react';
import _ from 'gmp/locale';
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 e7ec4c53e0..e78b9553be 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 382eda631f..2d6a6bbbf7 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 _ from 'gmp/locale';
diff --git a/src/web/pages/start/newdashboarddialog.jsx b/src/web/pages/start/newdashboarddialog.jsx
index 0e3b8732d2..42cb6a8125 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 _ from 'gmp/locale';
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 022a1382f6..1606fad4be 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 04ccf6fb08..82317819d3 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 {_, _l} from 'gmp/locale/lang';
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 821b6295a6..6803dad30a 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 f8c4e1122c..b0b37c0500 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 22c438234b..f122bd1b88 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 d5473966ca..3ad2b13752 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 {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/targets/filterdialog.jsx b/src/web/pages/targets/filterdialog.jsx
index 0320349bde..fef803b1f1 100644
--- a/src/web/pages/targets/filterdialog.jsx
+++ b/src/web/pages/targets/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 {_l} from 'gmp/locale/lang';
import {createFilterDialog} from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/targets/listpage.jsx b/src/web/pages/targets/listpage.jsx
index 4db01dd9ab..da57e19f61 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 _ from 'gmp/locale';
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 0369f4d60d..e6a4566b5f 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 fe584c0b47..6ce25b0068 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 d7aebce716..0e14e1d963 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 {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/pages/tasks/__tests__/details.jsx b/src/web/pages/tasks/__tests__/details.jsx
index 9134b58f3d..483d382ec9 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 8814f05e50..09a9a14d4d 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 fc2a538414..592b24ee15 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 f728ea0031..dfc68c8ac7 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 f2773f4367..bc43b56ed1 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 6acfd0449e..79d05da265 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 d767c46798..de2e007fea 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 be58d337fb..821db8a36f 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 _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/autodeletereportsgroup.jsx b/src/web/pages/tasks/autodeletereportsgroup.jsx
index 0dc3e51bb1..6fcd9a90c2 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 _ from 'gmp/locale';
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 3e8a8591b1..6e52fb4e68 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 _ from 'gmp/locale';
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 0124ff9f38..013f5dd7f2 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 _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/filterdialog.jsx b/src/web/pages/tasks/filterdialog.jsx
index ea540b66d1..1b2dd024ef 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 {_l, _} from 'gmp/locale/lang';
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 bbed3a639f..eef81f28fd 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 _ 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 dc6aa0c344..2a6ad8aec4 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 e29677b62e..43d424138b 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, queryAllByTestId} 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 179ea97f17..c93b538a7e 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 _ from 'gmp/locale';
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 43b2f68c9e..435b7bbbc9 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 _ from 'gmp/locale';
diff --git a/src/web/pages/tickets/filterdialog.jsx b/src/web/pages/tickets/filterdialog.jsx
index b2af524832..b69dd09974 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 {_} from 'gmp/locale/lang';
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 5397a5b57e..5ef032ad40 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 8dac86cc3e..f502e4d7f1 100644
--- a/src/web/pages/tlscertificates/filterdialog.jsx
+++ b/src/web/pages/tlscertificates/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License 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 {createFilterDialog} from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/tlscertificates/listpage.jsx b/src/web/pages/tlscertificates/listpage.jsx
index aeecd86003..36d46e73cc 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 _ from 'gmp/locale';
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 a8b2800196..01b1597d74 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 _ from 'gmp/locale';
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 ddfc8f79f6..ec227e8951 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 from 'react';
import {connect} from 'react-redux';
import {getUsername} from 'web/store/usersettings/selectors';
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 cfdb544bf6..485f45d448 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 9eb3785ff0..10aec0b97c 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 _ from 'gmp/locale';
diff --git a/src/web/pages/usersettings/dialog.jsx b/src/web/pages/usersettings/dialog.jsx
index 784a936945..d458e546eb 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 e01b71540f..0ecd2bc407 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 _ from 'gmp/locale';
diff --git a/src/web/pages/usersettings/generalpart.jsx b/src/web/pages/usersettings/generalpart.jsx
index efd58320b1..69262416ae 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 91e3862f69..7defe212c7 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 _ from 'gmp/locale';
diff --git a/src/web/pages/usersettings/usersettingspage.jsx b/src/web/pages/usersettings/usersettingspage.jsx
index cfdd3220f3..15d44347da 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 e5e38787cd..25a323bcb4 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 {_l, _} from 'gmp/locale/lang';
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/utils/__tests__/render.jsx b/src/web/utils/__tests__/render.jsx
index 3ed1d74ab4..ab52012c58 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__/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 9689be606f..89a7783522 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 972329f704..35ab6f8b4e 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 35899f8aa5..0317cc129e 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 633f040e7e..3627648ac1 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/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/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 761600e4a1..44503d24d8 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 50ad70a8ea..01a56c4d85 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 c87f7dab2e..cf91c2c41c 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 e68fe8cec6..233fbdb34e 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 React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/wizard/modifytaskwizard.jsx b/src/web/wizard/modifytaskwizard.jsx
index 6f0783d44c..b9f4f82ab3 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 React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/wizard/taskwizard.jsx b/src/web/wizard/taskwizard.jsx
index 776128e32b..3ce6a347b4 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';