]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6022 Update dead links pointing to documentation
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Tue, 6 Jan 2015 10:39:50 +0000 (11:39 +0100)
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Tue, 6 Jan 2015 10:49:31 +0000 (11:49 +0100)
25 files changed:
README.md
server/sonar-server/src/main/java/org/sonar/server/component/ws/EventsWs.java
server/sonar-server/src/main/java/org/sonar/server/component/ws/ResourcesWs.java
server/sonar-server/src/main/java/org/sonar/server/config/ws/PropertiesWs.java
server/sonar-server/src/main/java/org/sonar/server/measure/ws/ManualMeasuresWs.java
server/sonar-server/src/main/java/org/sonar/server/measure/ws/MetricsWs.java
server/sonar-server/src/main/java/org/sonar/server/measure/ws/TimeMachineWs.java
server/sonar-server/src/main/java/org/sonar/server/user/ws/FavoritesWs.java
server/sonar-server/src/main/java/org/sonar/server/user/ws/UserPropertiesWs.java
server/sonar-web/src/main/hbs/design/design.hbs
server/sonar-web/src/main/webapp/WEB-INF/app/models/database_migration_manager.rb
server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/generate_secret_form.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/maintenance/index.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/updatecenter/system_updates.html.erb
sonar-application/src/main/assembly/conf/sonar.properties
sonar-application/src/main/assembly/extensions/jdbc-driver/oracle/README.txt
sonar-deprecated/src/main/java/org/sonar/api/batch/SquidUtils.java
sonar-deprecated/src/main/java/org/sonar/api/resources/JavaFile.java
sonar-deprecated/src/main/java/org/sonar/api/resources/JavaPackage.java
sonar-markdown/src/main/java/org/sonar/markdown/HtmlLinkChannel.java
sonar-markdown/src/test/java/org/sonar/markdown/MarkdownTest.java
sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java

index 951fdb35beff5ae2a3423a1fa72baf9262719e61..e3ea1a7ef082a93cfc39dfae4f17e405a20b8c36 100644 (file)
--- a/README.md
+++ b/README.md
@@ -35,4 +35,4 @@ Licensed under the GNU Lesser General Public License, Version 3.0: http://www.gn
 
  [1]: http://www.sonarqube.org/
  [2]: http://jira.codehaus.org/browse/SONAR
- [3]: http://docs.codehaus.org/display/SONAR
+ [3]: http://docs.sonarqube.org/display/SONAR
index 629112cada71cf582504adf587d2650db35699f3..8f566aff6d25adab9114536d5c1a5d9ffda73a82 100644 (file)
@@ -38,7 +38,7 @@ public class EventsWs implements WebService {
 
   private void defineIndexAction(NewController controller) {
     controller.createAction("index")
-      .setDescription("Documentation of this web service is available <a href=\"http://docs.codehaus.org/x/2ICYDg\">here</a>")
+      .setDescription("Documentation of this web service is available <a href=\"http://redirect.sonarsource.com/doc/old-web-service-api.html\">here</a>")
       .setSince("2.6")
       .setHandler(RailsHandler.INSTANCE);
   }
index 6431124137fd60fd32277be325479d38eeb6bde6..4239f67a0f7d0c9740f9fdc472126524930b92eb 100644 (file)
@@ -50,7 +50,7 @@ public class ResourcesWs implements WebService {
       .setExampleValue("org.codehaus.sonar:sonar");
 
     action.createParam("metrics")
-      .setDescription("Comma-separated list of <a href=\"http://docs.codehaus.org/display/SONAR/Metric+definitions\">metric keys/ids</a>. " +
+      .setDescription("Comma-separated list of <a href=\"http://redirect.sonarsource.com/doc/metric-definitions.html\">metric keys/ids</a>. " +
         "Load measures on selected metrics. If only one metric is set, then measures are ordered by value")
       .setExampleValue("lines,blocker_violations");
 
index b90b1e18fb71ac09d26cfd6e4f403ac154d1bf8f..40d8a4f3201fdf71248261d454716f2f6fd237b7 100644 (file)
@@ -38,7 +38,7 @@ public class PropertiesWs implements WebService {
 
   private void defineIndexAction(NewController controller) {
     controller.createAction("index")
-      .setDescription("Documentation of this web service is available <a href=\"http://docs.codehaus.org/x/0YCYDg\">here</a>")
+      .setDescription("Documentation of this web service is available <a href=\"http://redirect.sonarsource.com/doc/old-web-service-api.html\">here</a>")
       .setSince("2.6")
       .setHandler(RailsHandler.INSTANCE);
   }
index 553efe1f5cd0846aa4ee4b46bbebcc7032d3a341..d3797ef4df10af300260beaa36a94dcfe7ad3811 100644 (file)
@@ -37,7 +37,7 @@ public class ManualMeasuresWs implements WebService {
 
   private void defineIndexAction(NewController controller) {
     controller.createAction("index")
-      .setDescription("Documentation of this web service is available <a href=\"http://docs.codehaus.org/x/0oCYDg\">here</a>")
+      .setDescription("Documentation of this web service is available <a href=\"http://redirect.sonarsource.com/doc/old-web-service-api.html\">here</a>")
       .setSince("2.10")
       .setHandler(RailsHandler.INSTANCE);
   }
index 897d7c6f9f3b63af453c61fa5c02c05ec5fee68e..ed34355709bcfb7d4c047f38d78f1840fa6ceafd 100644 (file)
@@ -38,7 +38,7 @@ public class MetricsWs implements WebService {
 
   private void defineIndexAction(NewController controller) {
     controller.createAction("index")
-      .setDescription("Documentation of this web service is available <a href=\"http://docs.codehaus.org/x/04CYDg\">here</a>")
+      .setDescription("Documentation of this web service is available <a href=\"http://redirect.sonarsource.com/doc/old-web-service-api.html\">here</a>")
       .setSince("2.6")
       .setHandler(RailsHandler.INSTANCE);
   }
index 94f8f819a474b5be23a4b3b1d4478159165c80ae..5bfd2bbbc6df5616696e3465a25547e0f2f20090 100644 (file)
@@ -50,7 +50,7 @@ public class TimeMachineWs implements WebService {
       .setExampleValue("org.codehaus.sonar:sonar");
 
     action.createParam("metrics")
-      .setDescription("Comma-separated list of <a href=\"http://docs.codehaus.org/display/SONAR/Metric+definitions\">metric keys/ids</a>")
+      .setDescription("Comma-separated list of <a href=\"http://redirect.sonarsource.com/doc/metric-definitions.html\">metric keys/ids</a>")
       .setRequired(true)
       .setExampleValue("coverage,violations");
 
index 63e1036d5631630ea9cd82b01f9ec8730ede6d8c..52c3c89639fe01d137ff0527e1deee0d09cf93a7 100644 (file)
@@ -38,7 +38,7 @@ public class FavoritesWs implements WebService {
 
   private void defineIndexAction(NewController controller) {
     controller.createAction("index")
-      .setDescription("Documentation of this web service is available <a href=\"http://docs.codehaus.org/x/3ICYDg\">here</a>")
+      .setDescription("Documentation of this web service is available <a href=\"http://redirect.sonarsource.com/doc/old-web-service-api.html\">here</a>")
       .setSince("2.6")
       .setHandler(RailsHandler.INSTANCE);
   }
index a05a9d2a7525d1cc59fb029eb2d3783980f8a665..f4db43de3e92863d503b082ef812cab19deef49f 100644 (file)
@@ -38,7 +38,7 @@ public class UserPropertiesWs implements WebService {
 
   private void defineIndexAction(NewController controller) {
     controller.createAction("index")
-      .setDescription("Documentation of this web service is available <a href=\"http://docs.codehaus.org/x/5ICYDg\">here</a>")
+      .setDescription("Documentation of this web service is available <a href=\"http://redirect.sonarsource.com/doc/old-web-service-api.html\">here</a>")
       .setSince("2.6")
       .setHandler(RailsHandler.INSTANCE);
   }
index b81223774e7fc86b25c92ff0d1d9683ee9fb06e6..e4b7a8b3033a9fd4bf0ac56927ae00f0d8db81bc 100644 (file)
@@ -1,5 +1,5 @@
 <div class="dsm-header">
-  <i class="icon-help"></i> <a href="http://docs.codehaus.org/x/QQFhC">{{t 'design.help'}}</a>
+  <i class="icon-help"></i> <a href="http://redirect.sonarsource.com/doc/dsm.html">{{t 'design.help'}}</a>
 </div>
 
 <ul class="dsm-legend">
index f8a817ad1283694017fee80bb893448551db9197..869140287287fefeac32f09210a7bac35d52864b 100644 (file)
@@ -58,7 +58,7 @@ class DatabaseMigrationManager
         @message = "Migration required."
       else
         @status = MIGRATION_FAILED
-        @message = "Upgrade is not supported. Please use a <a href=\"http://docs.codehaus.org/display/SONAR/Requirements\">production-ready database</a>."
+        @message = "Upgrade is not supported. Please use a <a href=\"http://redirect.sonarsource.com/doc/requirements.html\">production-ready database</a>."
       end
     end
   end
index 84dcbea1570bc531767da88174bcd72e051bb6be..e2624527d17ba6e6842d5064101ed9464bd42413 100644 (file)
@@ -9,7 +9,7 @@
   <tr class="property">
     <td style="padding: 10px">
       <p class="marginbottom10">Secret key is required to be able to encrypt properties.
-        <a href="http://docs.codehaus.org/display/SONAR/Security#Security-encryption" class="external" target="sonar_doc">More
+        <a href="http://redirect.sonarsource.com/doc/settings-encryption.html" class="external" target="sonar_doc">More
           information</a>.</p>
 
       <div id="secret_content">
index e1c63be7cf6d5ac0b4a27ee31387613ded18100d..4b0cb7c2d479532a8b219b789e22913c60c1b042 100644 (file)
@@ -40,7 +40,7 @@
       <span id="encryption_error" class="error" style="display:none"></span>
 
       <p><br/>Note that the <%= link_to 'secret key can be changed', {:action => 'generate_secret_form'}, :class => 'link-action', :id => 'link-generate-key' %>
-        but all the encrypted properties will have to be updated. <a href="http://docs.codehaus.org/display/SONAR/Settings+Encryption" class="external" target="sonar_doc">More information</a>.</p>
+        but all the encrypted properties will have to be updated. <a href="http://redirect.sonarsource.com/doc/settings-encryption.html" class="external" target="sonar_doc">More information</a>.</p>
     </td>
   </tr>
   </tbody>
index 687ca6b6db89b2373bc6c81f0660bb31d705c6f6..7b7518175316b4774428ef4c86528f633e647d2a 100644 (file)
@@ -3,7 +3,7 @@
   <div style="margin-top:150px;text-align:center;line-height:1.4;color:#333;">
     The web interface cannot be displayed because your browser is not supported.<br>
     Please switch to a <a target="_blank"
-                          href="http://docs.codehaus.org/x/zYHEBg">supported version or another supported browser</a>.
+                          href="http://redirect.sonarsource.com/doc/requirements.html">supported version or another supported browser</a>.
   </div>
 </div>
 <!--<![endif]-->
index da3714624caead566e5416a8baa5b951963e4aea..e7ef992a7b86a1d4b9fc3d58e7decb672dd2f0da 100644 (file)
           <br><br><span class="error">The embedded database will not scale, it will not support upgrading to newer versions of SonarQube, and there is no support for migrating your data out of it into a different database engine.</span>
         <% end %>
       </div>
-      <!--[if lte IE 8 ]><br/><span class="ie-warn">IE 8 is not supported. Some widgets may not be properly displayed. Please switch to a <a target="_blank" href="http://docs.codehaus.org/x/zYHEBg">supported version or another supported browser</a>.</span><!--<![endif]-->
+      <!--[if lte IE 8 ]><br/><span class="ie-warn">IE 8 is not supported. Some widgets may not be properly displayed. Please switch to a <a target="_blank" href="http://redirect.sonarsource.com/doc/requirements.html">supported version or another supported browser</a>.</span><!--<![endif]-->
     </div>
   </div>
 <% end %>
index 8917874ce9c74bfb64d331d11fbcd06b50d993de..8571ebb1edd497b03134dd762795af8febb4c620 100644 (file)
@@ -13,5 +13,5 @@
 <div id="maintenance">
 <div id="maintenancelogo"><a href="http://www.sonarqube.org"><%= image_tag('logo.png', :class => 'png') -%></a></div>
 <h1>SonarQube is under maintenance. <a href="<%= ApplicationController.root_context -%>/">Please check back later.</a></h1>
-<p>Whilst waiting, you might want to check <a href="http://sonar-plugins.codehaus.org">new plugins</a> to extend the current functionality. </p><p>If you are an administrator and have no idea why this message is showing, you should read the <a href="http://docs.codehaus.org/x/CIF7BQ">upgrade guide</a>.</p>
+<p>Whilst waiting, you might want to check <a href="http://sonar-plugins.codehaus.org">new plugins</a> to extend the current functionality. </p><p>If you are an administrator and have no idea why this message is showing, you should read the <a href="http://redirect.sonarsource.com/doc/upgrading.html">upgrade guide</a>.</p>
 </div>
index 9b7c63199cec508d10532da8a6d9a06bef9032b9..4f671b530385077f60e50a7b5bec311b07bb75ea 100644 (file)
@@ -71,7 +71,7 @@
                       <ol class="bulletpoints">
                         <li>Stop SonarQube</li>
                         <li><%= link_to 'Download', release.getDownloadUrl(), :class => 'external' -%> and install
-                          SonarQube <%= release.getVersion() -%> after having carefully read the <a href="http://docs.codehaus.org/display/SONAR/Upgrading" class="external">upgrade guide</a>.
+                          SonarQube <%= release.getVersion() -%> after having carefully read the <a href="http://redirect.sonarsource.com/doc/upgrading.html" class="external">upgrade guide</a>.
                         </li>
                         <% update.getIncompatiblePlugins().each do |incompatible_plugin| %>
                         <li>
@@ -92,7 +92,7 @@
 
                     <% else %>
                       <%= link_to 'Download', release.getDownloadUrl(), :class => 'external' -%> and install
-                      SonarQube <%= release.getVersion() -%> after having carefully read the <a href="http://docs.codehaus.org/display/SONAR/Upgrading" class="external">upgrade guide</a>.
+                      SonarQube <%= release.getVersion() -%> after having carefully read the <a href="http://redirect.sonarsource.com/doc/upgrading.html" class="external">upgrade guide</a>.
                     <% end %>
                   </td>
                 </tr>
index 4c720ee9982871a2344d1b77957b02817d9254a1..7e87e5c3fedd2ab99501a283cc28069f4600e013 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Property values can:
 # - reference an environment variable, for example sonar.jdbc.url= ${env:SONAR_JDBC_URL}
-# - be encrypted. See http://docs.codehaus.org/display/SONAR/Settings+Encryption
+# - be encrypted. See http://redirect.sonarsource.com/doc/settings-encryption.html
 
 
 #--------------------------------------------------------------------------------------------------
index 06f081518f85dccba1dd1674738411b97a5d6785..34e00ed4bd886270589eac6f12ccf66f54b0d691 100644 (file)
@@ -1,2 +1,2 @@
-Please copy an Oracle JDBC driver in this directory. See compatible versions at http://docs.codehaus.org/display/SONAR/Requirements.
+Please copy an Oracle JDBC driver in this directory. See compatible versions at http://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 b3ead5d4214e5d12cab218adcf840503a70ecbec..d215d11b83e443d24309a18beae732cc8abb7311 100644 (file)
@@ -49,7 +49,7 @@ public final class SquidUtils {
   }
 
   private static UnsupportedOperationException unsupported() {
-    return new UnsupportedOperationException("Not supported since v4.2. See http://docs.codehaus.org/display/SONAR/API+Changes");
+    return new UnsupportedOperationException("Not supported since v4.2. See http://redirect.sonarsource.com/doc/api-changes.html");
   }
 
   /**
index a7f2f3ba7cf38b8654f04f67a72e0a2f7ff455eb..5d4c3eadff44e1da3c613d9e88e277b3b01f130e 100644 (file)
@@ -115,7 +115,7 @@ public class JavaFile extends Resource {
   }
 
   private static UnsupportedOperationException unsupported() {
-    throw new UnsupportedOperationException("Not supported since v4.2. See http://docs.codehaus.org/display/SONAR/API+Changes");
+    throw new UnsupportedOperationException("Not supported since v4.2. See http://redirect.sonarsource.com/doc/api-changes.html");
   }
 
 }
index 650c7c96889afc0c0fa2e577428048f3f61eed49..28909ce0ae9f837b7e4495e5d65da1ecbd80a025 100644 (file)
@@ -83,6 +83,6 @@ public class JavaPackage extends Resource {
   }
 
   private static UnsupportedOperationException unsupported() {
-    throw new UnsupportedOperationException("Not supported since v4.2. See http://docs.codehaus.org/display/SONAR/API+Changes");
+    throw new UnsupportedOperationException("Not supported since v4.2. See http://redirect.sonarsource.com/doc/api-changes.html");
   }
 }
index bcaada3817271726e43dfcf2e5aeeb0636d67091..41874951533df802d1edb0ca154bdaa70f6de994 100644 (file)
@@ -27,8 +27,8 @@ import java.util.regex.Pattern;
 /**
  * Markdown interprets text in brackets followed by text in parentheses to generate documented links.
  *
- * E.g., the input [See documentation](http://docs.codehaus.org/display/SONAR) will produce
- * {@literal<a href="http://docs.codehaus.org/display/SONAR">}See documentation{@literal</a>}
+ * E.g., the input [See documentation](http://docs.sonarqube.org/display/SONAR) will produce
+ * {@literal<a href="http://docs.sonarqube.org/display/SONAR">}See documentation{@literal</a>}
  */
 class HtmlLinkChannel extends RegexChannel<MarkdownOutput> {
 
index 462bee371751d25d75cc52119d7d9334fe293062..900118963d172922f7805769753f4e548982272d 100644 (file)
@@ -33,8 +33,8 @@ public class MarkdownTest {
 
   @Test
   public void shouldDecorateDocumentedLink() {
-    assertThat(Markdown.convertToHtml("For more details, please [check online documentation](http://docs.codehaus.org/display/SONAR)."))
-        .isEqualTo("For more details, please <a href=\"http://docs.codehaus.org/display/SONAR\" target=\"_blank\">check online documentation</a>.");
+    assertThat(Markdown.convertToHtml("For more details, please [check online documentation](http://docs.sonarqube.org/display/SONAR)."))
+        .isEqualTo("For more details, please <a href=\"http://docs.sonarqube.org/display/SONAR\" target=\"_blank\">check online documentation</a>.");
   }
 
 
index 19b43b0bc40f0b36d5a0375678a9bcf38a3758ea..b4a7f3400de8570d02aacbeb7fe89e6b44a04c7c 100644 (file)
@@ -45,7 +45,7 @@ public @interface NavigationSection {
   String CONFIGURATION = "configuration";
 
   /**
-   * Only Ruby and rails application. See http://docs.codehaus.org/display/SONAR/Extend+Web+Application.
+   * Only Ruby and rails application. See "Extend Web Application" section of http://redirect.sonarsource.com/doc/extension-guide.html.
    * Use the resource parameter in order to get the current resource.
    *
    * @since 3.6