]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8721 Redirect links should be using https
authorStas Vilchik <vilchiks@gmail.com>
Wed, 8 Feb 2017 15:40:34 +0000 (16:40 +0100)
committerStas Vilchik <stas-vilchik@users.noreply.github.com>
Thu, 9 Feb 2017 10:26:29 +0000 (11:26 +0100)
20 files changed:
server/sonar-server/src/main/resources/org/sonar/server/plugins/ws/example-installed_plugins.json
server/sonar-server/src/main/resources/org/sonar/server/plugins/ws/example-pending_plugins.json
server/sonar-server/src/test/java/org/sonar/server/platform/ws/UpgradesActionTest.java
server/sonar-server/src/test/java/org/sonar/server/plugins/ws/PendingActionTest.java
server/sonar-server/src/test/java/org/sonar/server/plugins/ws/PluginWSCommonsTest.java
server/sonar-web/src/main/js/app/components/GlobalFooter.js
server/sonar-web/src/main/js/app/components/nav/templates/nav-shortcuts-help.hbs
server/sonar-web/src/main/js/apps/about/components/AboutLeakPeriod.js
server/sonar-web/src/main/js/apps/about/components/AboutQualityGates.js
server/sonar-web/src/main/js/apps/about/components/AboutScanners.js
server/sonar-web/src/main/js/apps/about/components/AboutStandards.js
server/sonar-web/src/main/js/apps/maintenance/templates/_maintenance-state-migration-required.hbs
server/sonar-web/src/main/js/apps/maintenance/templates/_maintenance-status-migration.hbs
server/sonar-web/src/main/js/apps/settings/encryption/EncryptionForm.js
server/sonar-web/src/main/js/apps/settings/encryption/GenerateSecretKeyForm.js
sonar-application/src/main/assembly/conf/sonar.properties
sonar-application/src/main/assembly/extensions/jdbc-driver/oracle/README.txt
sonar-application/src/main/assembly/extensions/plugins/README.txt
sonar-core/src/main/java/org/sonar/core/config/WebhookProperties.java
sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java

index 5380dff2fc6a1c262166d53ba3846107fe4718fd..4b17325ac9577d7f8d2e5f566cfe6f0a8118c3de 100644 (file)
@@ -8,7 +8,7 @@
       "license": "GNU LGPL 3",
       "organizationName": "SonarSource",
       "organizationUrl": "http://www.sonarsource.com",
-      "homepageUrl": "http://redirect.sonarsource.com/plugins/scmgit.html",
+      "homepageUrl": "https://redirect.sonarsource.com/plugins/scmgit.html",
       "issueTrackerUrl": "http://jira.sonarsource.com/browse/SONARSCGIT",
       "implementationBuild": "9ce9d330c313c296fab051317cc5ad4b26319e07"
     },
@@ -20,7 +20,7 @@
       "license": "GNU LGPL 3",
       "organizationName": "SonarSource",
       "organizationUrl": "http://www.sonarsource.com",
-      "homepageUrl": "http://redirect.sonarsource.com/plugins/java.html",
+      "homepageUrl": "https://redirect.sonarsource.com/plugins/java.html",
       "issueTrackerUrl": "http://jira.sonarsource.com/browse/SONARJAVA",
       "implementationBuild": "65396a609ddface8b311a6a665aca92a7da694f1"
     },
@@ -32,7 +32,7 @@
       "license": "GNU LGPL 3",
       "organizationName": "SonarSource",
       "organizationUrl": "http://www.sonarsource.com",
-      "homepageUrl": "http://redirect.sonarsource.com/plugins/scmsvn.html",
+      "homepageUrl": "https://redirect.sonarsource.com/plugins/scmsvn.html",
       "issueTrackerUrl": "http://jira.sonarsource.com/browse/SONARSCSVN",
       "implementationBuild": "213fc8a8b582ff530b12dd4a59a6512be1071234"
     }
index efb51d7404c8c782dac4ab1c94f181f7a16d61e9..e0c27a41ab3ca443491ddfd7319d8ddc4570906b 100644 (file)
@@ -9,7 +9,7 @@
       "license": "GNU LGPL 3",
       "organizationName": "SonarSource",
       "organizationUrl": "http://www.sonarsource.com",
-      "homepageUrl": "http://redirect.sonarsource.com/plugins/scmcvs.html",
+      "homepageUrl": "https://redirect.sonarsource.com/plugins/scmcvs.html",
       "issueTrackerUrl": "http://jira.codehaus.org/browse/SONARSCCVS",
       "implementationBuild": "f9735104bfa053abc50edad720c79d89a4f5cd72"
     }
@@ -24,7 +24,7 @@
       "license": "GNU LGPL 3",
       "organizationName": "SonarSource",
       "organizationUrl": "http://www.sonarsource.com",
-      "homepageUrl": "http://redirect.sonarsource.com/plugins/csharp.html",
+      "homepageUrl": "https://redirect.sonarsource.com/plugins/csharp.html",
       "issueTrackerUrl": "https://jira.sonarsource.com/browse/SONARCS",
       "implementationBuild": "54d1d010bc1816dc89bf31237ce361921eaf3242"
     }
@@ -39,7 +39,7 @@
       "license": "GNU LGPL 3",
       "organizationName": "SonarSource",
       "organizationUrl": "http://www.sonarsource.com",
-      "homepageUrl": "http://redirect.sonarsource.com/plugins/scmgit.html/sonar-scm-git-plugin",
+      "homepageUrl": "https://redirect.sonarsource.com/plugins/scmgit.html/sonar-scm-git-plugin",
       "issueTrackerUrl": "https://jira.sonarsource.com/browse/SONARSCGIT",
       "implementationBuild": "a713dd64daf8719ba4e7f551f9a1966c62690c17"
     }
index 478efa5001a8f4f9d1618cb52025ab7cc4d1556c..bdf1a0884beb5334eed8455e4e770e819c0cb287 100644 (file)
@@ -123,7 +123,7 @@ public class UpgradesActionTest {
       .setName("Views")
       .setCategory("Governance")
       .setDescription("Create aggregation trees to group projects. Projects can for instance be grouped by applications,   applications by team, teams by department.")
-      .setHomepageUrl("http://redirect.sonarsource.com/plugins/views.html")
+      .setHomepageUrl("https://redirect.sonarsource.com/plugins/views.html")
       .setLicense("Commercial")
       .setOrganization("SonarSource")
       .setOrganizationUrl("http://www.sonarsource.com")
index e7a0bf5fae799f224dd9ac2d6383aa8e25b627a2..d58f04d9964d55966c7bc77d2f171f997bce2855 100644 (file)
@@ -144,7 +144,7 @@ public class PendingActionTest {
         "      \"category\":\"cat_1\"," +
         "      \"organizationName\": \"SonarSource\"," +
         "      \"organizationUrl\": \"http://www.sonarsource.com\"," +
-        "      \"homepageUrl\": \"http://redirect.sonarsource.com/plugins/scmgit.html\"," +
+        "      \"homepageUrl\": \"https://redirect.sonarsource.com/plugins/scmgit.html\"," +
         "      \"issueTrackerUrl\": \"http://jira.sonarsource.com/browse/SONARSCGIT\"," +
         "      \"implementationBuild\": \"9ce9d330c313c296fab051317cc5ad4b26319e07\"" +
         "    }" +
@@ -175,7 +175,7 @@ public class PendingActionTest {
         "      \"license\": \"GNU LGPL 3\"," +
         "      \"organizationName\": \"SonarSource\"," +
         "      \"organizationUrl\": \"http://www.sonarsource.com\"," +
-        "      \"homepageUrl\": \"http://redirect.sonarsource.com/plugins/scmgit.html\"," +
+        "      \"homepageUrl\": \"https://redirect.sonarsource.com/plugins/scmgit.html\"," +
         "      \"issueTrackerUrl\": \"http://jira.sonarsource.com/browse/SONARSCGIT\"," +
         "      \"implementationBuild\": \"9ce9d330c313c296fab051317cc5ad4b26319e07\"" +
         "    }" +
@@ -314,7 +314,7 @@ public class PendingActionTest {
       .setLicense("GNU LGPL 3")
       .setOrganizationName("SonarSource")
       .setOrganizationUrl("http://www.sonarsource.com")
-      .setHomepageUrl("http://redirect.sonarsource.com/plugins/scmgit.html")
+      .setHomepageUrl("https://redirect.sonarsource.com/plugins/scmgit.html")
       .setIssueTrackerUrl("http://jira.sonarsource.com/browse/SONARSCGIT")
       .setImplementationBuild("9ce9d330c313c296fab051317cc5ad4b26319e07");
   }
index e232f225f76522566350dafc72f9907182e78e70..d4231b1c6b17245ce20f5402a3dfbc014c304e72 100644 (file)
@@ -56,7 +56,7 @@ public class PluginWSCommonsTest {
       "  \"license\": \"GNU LGPL 3\"," +
       "  \"organizationName\": \"SonarSource\"," +
       "  \"organizationUrl\": \"http://www.sonarsource.com\"," +
-      "  \"homepageUrl\": \"http://redirect.sonarsource.com/plugins/scmgit.html\"," +
+      "  \"homepageUrl\": \"https://redirect.sonarsource.com/plugins/scmgit.html\"," +
       "  \"issueTrackerUrl\": \"http://jira.sonarsource.com/browse/SONARSCGIT\"" +
       "}");
   }
@@ -75,7 +75,7 @@ public class PluginWSCommonsTest {
       "  \"category\":\"cat_1\"" +
       "  \"organizationName\": \"SonarSource\"," +
       "  \"organizationUrl\": \"http://www.sonarsource.com\"," +
-      "  \"homepageUrl\": \"http://redirect.sonarsource.com/plugins/scmgit.html\"," +
+      "  \"homepageUrl\": \"https://redirect.sonarsource.com/plugins/scmgit.html\"," +
       "  \"issueTrackerUrl\": \"http://jira.sonarsource.com/browse/SONARSCGIT\"," +
       "}");
   }
@@ -213,7 +213,7 @@ public class PluginWSCommonsTest {
       .setLicense("GNU LGPL 3")
       .setOrganizationName("SonarSource")
       .setOrganizationUrl("http://www.sonarsource.com")
-      .setHomepageUrl("http://redirect.sonarsource.com/plugins/scmgit.html")
+      .setHomepageUrl("https://redirect.sonarsource.com/plugins/scmgit.html")
       .setIssueTrackerUrl("http://jira.sonarsource.com/browse/SONARSCGIT");
   }
 
index 3faccd10282fc3b87fcffa7e40ce83c43523d311..5559da43b51864ac4dc8853477b65955ff995a04 100644 (file)
@@ -55,7 +55,7 @@ class GlobalFooter extends React.Component {
             {' - '}
             <a href="http://www.sonarqube.org/support">Get Support</a>
             {' - '}
-            <a href="http://redirect.sonarsource.com/doc/plugin-library.html">Plugins</a>
+            <a href="https://redirect.sonarsource.com/doc/plugin-library.html">Plugins</a>
             {' - '}
             <Link to="/web_api">Web API</Link>
             {' - '}
index ae4f9967233a937aa4d018fe95dc1f9bd4b7776f..12d360d7b1771bf67f7e4ab5d8825b34552a61f3 100644 (file)
@@ -7,7 +7,7 @@
     <a href="http://www.sonarqube.org" target="sonar">Community</a> -
     <a href="http://www.sonarqube.org/documentation" target="sonar_doc">Documentation</a> -
     <a href="http://www.sonarqube.org/support" target="support">Get Support</a> -
-    <a href="http://redirect.sonarsource.com/doc/plugin-library.html" target="plugins">Plugins</a> -
+    <a href="https://redirect.sonarsource.com/doc/plugin-library.html" target="plugins">Plugins</a> -
     <a href="{{link '/web_api'}}">Web API</a> -
     <a href="{{link '/about'}}">About</a>
   </div>
index feb094aa5c9952234e085f12f22f93a61cdce539..d1dc058a29267c5e2f13f6ffa90bf4680b8a1cd4 100644 (file)
@@ -21,7 +21,7 @@ import React from 'react';
 import ReadMore from './ReadMore';
 import { translate } from '../../../helpers/l10n';
 
-const link = 'http://redirect.sonarsource.com/doc/fix-the-leak.html';
+const link = 'https://redirect.sonarsource.com/doc/fix-the-leak.html';
 
 export default class AboutLeakPeriod extends React.Component {
   render () {
index 024fb12b51042468a0543cca703b72cb43283339..39aff34e91b83908bab2392fd0400f8523e8a429 100644 (file)
@@ -21,7 +21,7 @@ import React from 'react';
 import ReadMore from './ReadMore';
 import { translate } from '../../../helpers/l10n';
 
-const link = 'http://redirect.sonarsource.com/doc/quality-gates.html';
+const link = 'https://redirect.sonarsource.com/doc/quality-gates.html';
 
 export default class AboutQualityGates extends React.Component {
   render () {
index 42b0e5328a9f56757aac6d9f7279bdc8a1f0292f..d610aecb58db25e1f0715fb02513d145f751e780 100644 (file)
@@ -23,22 +23,22 @@ import { translate } from '../../../helpers/l10n';
 const scanners = [
   {
     key: 'sonarqube',
-    link: 'http://redirect.sonarsource.com/doc/install-configure-scanner.html'
+    link: 'https://redirect.sonarsource.com/doc/install-configure-scanner.html'
   }, {
     key: 'msbuild',
-    link: 'http://redirect.sonarsource.com/doc/install-configure-scanner-msbuild.html'
+    link: 'https://redirect.sonarsource.com/doc/install-configure-scanner-msbuild.html'
   }, {
     key: 'maven',
-    link: 'http://redirect.sonarsource.com/doc/install-configure-scanner-maven.html'
+    link: 'https://redirect.sonarsource.com/doc/install-configure-scanner-maven.html'
   }, {
     key: 'gradle',
-    link: 'http://redirect.sonarsource.com/doc/gradle.html'
+    link: 'https://redirect.sonarsource.com/doc/gradle.html'
   }, {
     key: 'jenkins',
-    link: 'http://redirect.sonarsource.com/plugins/jenkins.html'
+    link: 'https://redirect.sonarsource.com/plugins/jenkins.html'
   }, {
     key: 'ant',
-    link: 'http://redirect.sonarsource.com/doc/install-configure-scanner-ant.html'
+    link: 'https://redirect.sonarsource.com/doc/install-configure-scanner-ant.html'
   }
 ];
 
index a0a2b8fb0b7022bad105bbe134c002713b7b586e..3c0bdb338d358b00b5f5bc6f1caf5eb1b2ead0bd 100644 (file)
@@ -23,7 +23,7 @@ import ReadMore from './ReadMore';
 import { translate } from '../../../helpers/l10n';
 import { getRulesUrl } from '../../../helpers/urls';
 
-const link = 'http://redirect.sonarsource.com/doc/rules.html';
+const link = 'https://redirect.sonarsource.com/doc/rules.html';
 
 const owaspTags = 'owasp-a1,owasp-a2,owasp-a3,owasp-a4,owasp-a5,owasp-a6,owasp-a7,owasp-a8,owasp-a9,owasp-a10';
 
index 7f470d2cc87a61e77aab7e6d4f6f81b8f0ad5266..3830c20044ce9e3463e2a332bfa2713db907942e 100644 (file)
@@ -1,7 +1,7 @@
 <h1 class="maintenance-title">Upgrade Database</h1>
 <p class="maintenance-text">The database upgrade can take several minutes.</p>
 <p class="maintenance-text">It is mandatory to <strong>back up database</strong> before upgrading.</p>
-<p class="maintenance-text">Make sure you have followed the steps from the <a target="_blank" href="http://redirect.sonarsource.com/doc/upgrading.html">SonarQube Upgrade guide</a>.</p>
+<p class="maintenance-text">Make sure you have followed the steps from the <a target="_blank" href="https://redirect.sonarsource.com/doc/upgrading.html">SonarQube Upgrade guide</a>.</p>
 <div class="maintenance-spinner">
   <button id="start-migration">Upgrade</button>
 </div>
index be237a54b4036783e471cc3144035a49a171cfcc..267107206aa8a3df21175a7bb1d4d9a58efebd16 100644 (file)
@@ -1,7 +1,7 @@
 <h1 class="maintenance-title">SonarQube is under maintenance</h1>
 <p class="maintenance-text">While waiting, you might want to investigate
-  <a href="http://redirect.sonarsource.com/doc/plugin-library.html">new plugins</a> to extend the current functionality.
+  <a href="https://redirect.sonarsource.com/doc/plugin-library.html">new plugins</a> to extend the current functionality.
 </p>
 <p class="maintenance-text">If you are an administrator and have no idea why this message is being shown, you should
-  read the <a href="http://redirect.sonarsource.com/doc/upgrading.html">upgrade guide</a>.
+  read the <a href="https://redirect.sonarsource.com/doc/upgrading.html">upgrade guide</a>.
 </p>
index b983d25ef4a9c96c4c0efb9dc751a3f11c133d0f..e8c0f1dd945a9851fe483dfb654236fd833e15cc 100644 (file)
@@ -73,7 +73,7 @@ export default class EncryptionForm extends React.Component {
             <div className="big-spacer-top spacer-bottom">
               Note that the secret key can be changed, but all the encrypted properties will have to be updated.
               {' '}
-              <a href="http://redirect.sonarsource.com/doc/settings-encryption.html">More information</a>
+              <a href="https://redirect.sonarsource.com/doc/settings-encryption.html">More information</a>
             </div>
 
             <form id="encryption-new-key-form" onSubmit={e => this.handleGenerateNewKey(e)}>
index 65b70985d8868bd87b450d6c6688a41f91485d57..49527dc4a8635d3f7c877362dc6b4e0bafbaa2d9 100644 (file)
@@ -75,7 +75,7 @@ export default class GenerateSecretKeyForm extends React.Component {
                 <p className="spacer-bottom">
                   Secret key is required to be able to encrypt properties.
                   {' '}
-                  <a href="http://redirect.sonarsource.com/doc/settings-encryption.html">More information</a>
+                  <a href="https://redirect.sonarsource.com/doc/settings-encryption.html">More information</a>
                 </p>
 
                 <form id="generate-secret-key-form" onSubmit={e => this.handleSubmit(e)}>
index 58be1973b885ecccb2a83e7be14fe08483fc9eba..1ccc58a80a1da456ad2ce0135b1b0f62a00b4379 100644 (file)
@@ -1,6 +1,6 @@
 # Property values can:
 # - reference an environment variable, for example sonar.jdbc.url= ${env:SONAR_JDBC_URL}
-# - be encrypted. See http://redirect.sonarsource.com/doc/settings-encryption.html
+# - be encrypted. See https://redirect.sonarsource.com/doc/settings-encryption.html
 
 #--------------------------------------------------------------------------------------------------
 # DATABASE
index 34e00ed4bd886270589eac6f12ccf66f54b0d691..c3d67e9c173ce902f33c42391b38758d200e24c9 100644 (file)
@@ -1,2 +1,2 @@
-Please copy an Oracle JDBC driver in this directory. See compatible versions at http://redirect.sonarsource.com/doc/requirements.html.
+Please copy an Oracle JDBC driver in this directory. See compatible versions at https://redirect.sonarsource.com/doc/requirements.html.
 Note that only a single JAR file is accepted. A failure is raised at startup if multiple JAR files are available.
\ No newline at end of file
index c3c5c569313b675447fa0c702e96abde270418b2..c8edf50f70f0b6b7b6ad19586c5c658ffdd29c4b 100644 (file)
@@ -1,3 +1,3 @@
 Plugins can be downloaded from :
-- http://redirect.sonarsource.com/doc/plugin-library.html
+- https://redirect.sonarsource.com/doc/plugin-library.html
 - http://www.sonarsource.com/plugins
index 3b0bca38f2bfcfe3bebb1815b02cebff192474b8..ed5e88343aff0a3c9cab6ce5ee897b07d49289a2 100644 (file)
@@ -49,7 +49,7 @@ public class WebhookProperties {
   private static final String CATEGORY = "webhooks";
   private static final String DESCRIPTION = "Webhooks are used to notify external services when a project analysis is done. " +
     "An HTTP POST request including a JSON payload is sent to each of the first ten provided URLs. <br/>" +
-    "Learn more in the <a href=\"http://redirect.sonarsource.com/doc/webhooks.html\">Webhooks documentation</a>.";
+    "Learn more in the <a href=\"https://redirect.sonarsource.com/doc/webhooks.html\">Webhooks documentation</a>.";
 
   private WebhookProperties() {
     // only static stuff
index 51c104cebd13fad65417dbc92f3516beb508035d..5cb9d19092c292b961dc47a39004176be20f905e 100644 (file)
@@ -50,7 +50,7 @@ public @interface NavigationSection {
   String CONFIGURATION = "configuration";
 
   /**
-   * Only Ruby and rails application. See "Extend Web Application" section of http://redirect.sonarsource.com/doc/extension-guide.html.
+   * Only Ruby and rails application. See "Extend Web Application" section of https://redirect.sonarsource.com/doc/extension-guide.html.
    * Use the resource parameter in order to get the current resource.
    *
    * @since 3.6