Skip to content

Commit

Permalink
Update headers for new files.
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h-abdelsalam committed Jun 11, 2024
1 parent 93f1f2f commit ae14f69
Show file tree
Hide file tree
Showing 20 changed files with 40 additions and 280 deletions.
16 changes: 2 additions & 14 deletions src/gmp/commands/__tests__/auditreport.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

import {describe, test, expect} from '@gsa/testing';
import {createHttp, createEntityResponse} from 'gmp/commands/testing';
import {AuditReportCommand} from 'gmp/commands/auditreports';
Expand Down
16 changes: 2 additions & 14 deletions src/gmp/commands/__tests__/auditreports.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

import {describe, test, expect} from '@gsa/testing';
import {ALL_FILTER} from 'gmp/models/filter';

Expand Down
16 changes: 2 additions & 14 deletions src/gmp/commands/auditreports.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

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

import registerCommand from 'gmp/command';
Expand Down
16 changes: 2 additions & 14 deletions src/gmp/models/auditreport.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

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

import {isDefined} from 'gmp/utils/identity';
Expand Down
16 changes: 2 additions & 14 deletions src/gmp/models/report/auditreport.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

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

Expand Down
16 changes: 2 additions & 14 deletions src/web/components/bar/compliancebar.jsx
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

import React from 'react';

import {isDefined} from 'gmp/utils/identity';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/label/compliancestate.jsx
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

import styled from 'styled-components';

import _ from 'gmp/locale';
Expand Down
16 changes: 2 additions & 14 deletions src/web/components/powerfilter/compliancelevelsgroup.jsx
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/


import React from 'react';

import _ from 'gmp/locale';
Expand Down
16 changes: 2 additions & 14 deletions src/web/pages/reports/auditdashboard/index.jsx
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/


import Dashboard from 'web/components/dashboard/dashboard';

import {
Expand Down
16 changes: 2 additions & 14 deletions src/web/pages/reports/auditdashboard/loaders.jsx
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

import Loader, {
loadFunc,
loaderPropTypes,
Expand Down
16 changes: 2 additions & 14 deletions src/web/pages/reports/auditdashboard/statusdisplay.jsx
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/


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

import {AUDIT_REPORTS_FILTER_FILTER} from 'gmp/models/filter';
Expand Down
16 changes: 2 additions & 14 deletions src/web/pages/reports/auditdeltadetailspage.jsx
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/


import React, {useEffect, useState} from 'react';

import {useDispatch, useSelector, shallowEqual} from 'react-redux';
Expand Down
16 changes: 2 additions & 14 deletions src/web/pages/reports/auditdetailscontent.jsx
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/


import React from 'react';

import styled from 'styled-components';
Expand Down
16 changes: 2 additions & 14 deletions src/web/pages/reports/auditdetailspage.jsx
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/


import React, {useEffect, useState} from 'react';

import {useDispatch, useSelector, shallowEqual} from 'react-redux';
Expand Down
16 changes: 2 additions & 14 deletions src/web/pages/reports/auditfilterdialog.jsx
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

import React from 'react';

import {_l, _} from 'gmp/locale/lang';
Expand Down
16 changes: 2 additions & 14 deletions src/web/pages/reports/auditreportrow.jsx
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/


import React from 'react';

import _ from 'gmp/locale';
Expand Down
16 changes: 2 additions & 14 deletions src/web/pages/reports/auditreportslistpage.jsx
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/


import React, {useEffect, useState} from 'react';

import {useHistory} from 'react-router-dom';
Expand Down
Loading

0 comments on commit ae14f69

Please sign in to comment.