aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2021-02-08 15:57:58 +0100
committersonartech <sonartech@sonarsource.com>2021-02-09 20:07:16 +0000
commita36d2c54fc4dd7fab1bf84c693407d3c5585c3b2 (patch)
tree21ace0cc0c9a987ad1b9245f9cc296d04746a788
parent2669c3416be312cb6e2673dc4fa7bdd44d19665b (diff)
downloadsonarqube-a36d2c54fc4dd7fab1bf84c693407d3c5585c3b2.tar.gz
sonarqube-a36d2c54fc4dd7fab1bf84c693407d3c5585c3b2.zip
Fix license in header & footer
-rw-r--r--README.md2
-rw-r--r--server/sonar-docs/src/components/Footer.tsx2
-rw-r--r--server/sonar-web/__mocks__/lodash.ts2
-rw-r--r--server/sonar-web/__mocks__/react-virtualized.tsx2
-rw-r--r--server/sonar-web/__mocks__/react-virtualized/dist/commonjs/AutoSizer.ts2
-rw-r--r--server/sonar-web/__mocks__/react-virtualized/dist/commonjs/WindowScroller.ts2
-rw-r--r--server/sonar-web/build.gradle2
-rw-r--r--server/sonar-web/src/main/js/helpers/__tests__/security-standard-test.ts19
-rw-r--r--server/sonar-web/src/main/js/helpers/urls.ts19
9 files changed, 7 insertions, 45 deletions
diff --git a/README.md b/README.md
index cc540c29968..d5627df0e31 100644
--- a/README.md
+++ b/README.md
@@ -77,6 +77,6 @@ Then open the root file `build.gradle` as a project in Intellij or Eclipse.
License
-------
-Copyright 2008-2020 SonarSource.
+Copyright 2008-2021 SonarSource.
Licensed under the [GNU Lesser General Public License, Version 3.0](https://www.gnu.org/licenses/lgpl.txt)
diff --git a/server/sonar-docs/src/components/Footer.tsx b/server/sonar-docs/src/components/Footer.tsx
index dfa90fe1473..e06aff0dbe8 100644
--- a/server/sonar-docs/src/components/Footer.tsx
+++ b/server/sonar-docs/src/components/Footer.tsx
@@ -32,7 +32,7 @@ export default function Footer() {
src="https://licensebuttons.net/l/by-nc/3.0/us/88x31.png"
/>
</a>
- © 2008-2020, SonarSource S.A, Switzerland. Except where otherwise noted, content in this space
+ © 2008-2021, SonarSource S.A, Switzerland. Except where otherwise noted, content in this space
is licensed under a{' '}
<a
href="https://creativecommons.org/licenses/by-nc/3.0/us/"
diff --git a/server/sonar-web/__mocks__/lodash.ts b/server/sonar-web/__mocks__/lodash.ts
index 1e313e407df..2e43ca7373d 100644
--- a/server/sonar-web/__mocks__/lodash.ts
+++ b/server/sonar-web/__mocks__/lodash.ts
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2019 SonarSource SA
+ * Copyright (C) 2009-2021 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/server/sonar-web/__mocks__/react-virtualized.tsx b/server/sonar-web/__mocks__/react-virtualized.tsx
index dbcab3e1a61..a6086ac1c27 100644
--- a/server/sonar-web/__mocks__/react-virtualized.tsx
+++ b/server/sonar-web/__mocks__/react-virtualized.tsx
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2019 SonarSource SA
+ * Copyright (C) 2009-2021 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/server/sonar-web/__mocks__/react-virtualized/dist/commonjs/AutoSizer.ts b/server/sonar-web/__mocks__/react-virtualized/dist/commonjs/AutoSizer.ts
index a494f2f12e3..699eced6536 100644
--- a/server/sonar-web/__mocks__/react-virtualized/dist/commonjs/AutoSizer.ts
+++ b/server/sonar-web/__mocks__/react-virtualized/dist/commonjs/AutoSizer.ts
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2019 SonarSource SA
+ * Copyright (C) 2009-2021 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/server/sonar-web/__mocks__/react-virtualized/dist/commonjs/WindowScroller.ts b/server/sonar-web/__mocks__/react-virtualized/dist/commonjs/WindowScroller.ts
index 641a7d883d9..520c7fa66bf 100644
--- a/server/sonar-web/__mocks__/react-virtualized/dist/commonjs/WindowScroller.ts
+++ b/server/sonar-web/__mocks__/react-virtualized/dist/commonjs/WindowScroller.ts
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2019 SonarSource SA
+ * Copyright (C) 2009-2021 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/server/sonar-web/build.gradle b/server/sonar-web/build.gradle
index 429a2c1c262..77194301796 100644
--- a/server/sonar-web/build.gradle
+++ b/server/sonar-web/build.gradle
@@ -63,7 +63,7 @@ yarn_audit {
dependsOn(yarn)
}
-def sources = fileTree(dir: "src") + fileTree(dir: "scripts") + fileTree(dir: "config")
+def sources = fileTree(dir: "src") + fileTree(dir: "scripts") + fileTree(dir: "config") + fileTree(dir: "__mocks__")
task licenseCheckWeb(type: com.hierynomus.gradle.license.tasks.LicenseCheck) {
source = sources
diff --git a/server/sonar-web/src/main/js/helpers/__tests__/security-standard-test.ts b/server/sonar-web/src/main/js/helpers/__tests__/security-standard-test.ts
index e2566bdf81d..0927db31c34 100644
--- a/server/sonar-web/src/main/js/helpers/__tests__/security-standard-test.ts
+++ b/server/sonar-web/src/main/js/helpers/__tests__/security-standard-test.ts
@@ -18,25 +18,6 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import { Standards } from '../../types/security';
-/*
- * SonarQube
- * Copyright (C) 2009-2020 SonarSource SA
- * mailto:info AT sonarsource DOT com
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
import {
renderCWECategory,
renderOwaspTop10Category,
diff --git a/server/sonar-web/src/main/js/helpers/urls.ts b/server/sonar-web/src/main/js/helpers/urls.ts
index b62322ae3be..f591b968188 100644
--- a/server/sonar-web/src/main/js/helpers/urls.ts
+++ b/server/sonar-web/src/main/js/helpers/urls.ts
@@ -18,25 +18,6 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import { pick } from 'lodash';
-/*
- * SonarQube
- * Copyright (C) 2009-2020 SonarSource SA
- * mailto:info AT sonarsource DOT com
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
import { getBaseUrl, Location } from 'sonar-ui-common/helpers/urls';
import { getProfilePath } from '../apps/quality-profiles/utils';
import { BranchLike, BranchParameters } from '../types/branch-like';