diff options
author | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2015-01-06 11:39:50 +0100 |
---|---|---|
committer | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2015-01-06 11:39:50 +0100 |
commit | 099f5133ceec1648c5dc96420c8cd0676e48df68 (patch) | |
tree | 65d226c14d60b7c241db5e15d146702129d9ef28 | |
parent | f9456b80f26bbc0a8bbe22c8985c3fdeb59a5454 (diff) | |
download | sonarqube-099f5133ceec1648c5dc96420c8cd0676e48df68.tar.gz sonarqube-099f5133ceec1648c5dc96420c8cd0676e48df68.zip |
SONAR-6022 Update dead links pointing to documentation
25 files changed, 28 insertions, 28 deletions
diff --git a/README.md b/README.md index 951fdb35bef..e3ea1a7ef08 100644 --- 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 diff --git a/server/sonar-server/src/main/java/org/sonar/server/component/ws/EventsWs.java b/server/sonar-server/src/main/java/org/sonar/server/component/ws/EventsWs.java index 629112cada7..8f566aff6d2 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/component/ws/EventsWs.java +++ b/server/sonar-server/src/main/java/org/sonar/server/component/ws/EventsWs.java @@ -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); } diff --git a/server/sonar-server/src/main/java/org/sonar/server/component/ws/ResourcesWs.java b/server/sonar-server/src/main/java/org/sonar/server/component/ws/ResourcesWs.java index 428cb6cef3e..d69bb9344ec 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/component/ws/ResourcesWs.java +++ b/server/sonar-server/src/main/java/org/sonar/server/component/ws/ResourcesWs.java @@ -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"); diff --git a/server/sonar-server/src/main/java/org/sonar/server/config/ws/PropertiesWs.java b/server/sonar-server/src/main/java/org/sonar/server/config/ws/PropertiesWs.java index b90b1e18fb7..40d8a4f3201 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/config/ws/PropertiesWs.java +++ b/server/sonar-server/src/main/java/org/sonar/server/config/ws/PropertiesWs.java @@ -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); } diff --git a/server/sonar-server/src/main/java/org/sonar/server/measure/ws/ManualMeasuresWs.java b/server/sonar-server/src/main/java/org/sonar/server/measure/ws/ManualMeasuresWs.java index 66337c24d3a..d585104d646 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/measure/ws/ManualMeasuresWs.java +++ b/server/sonar-server/src/main/java/org/sonar/server/measure/ws/ManualMeasuresWs.java @@ -38,7 +38,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); } diff --git a/server/sonar-server/src/main/java/org/sonar/server/measure/ws/MetricsWs.java b/server/sonar-server/src/main/java/org/sonar/server/measure/ws/MetricsWs.java index 897d7c6f9f3..ed34355709b 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/measure/ws/MetricsWs.java +++ b/server/sonar-server/src/main/java/org/sonar/server/measure/ws/MetricsWs.java @@ -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); } diff --git a/server/sonar-server/src/main/java/org/sonar/server/measure/ws/TimeMachineWs.java b/server/sonar-server/src/main/java/org/sonar/server/measure/ws/TimeMachineWs.java index 94f8f819a47..5bfd2bbbc6d 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/measure/ws/TimeMachineWs.java +++ b/server/sonar-server/src/main/java/org/sonar/server/measure/ws/TimeMachineWs.java @@ -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"); diff --git a/server/sonar-server/src/main/java/org/sonar/server/user/ws/FavoritesWs.java b/server/sonar-server/src/main/java/org/sonar/server/user/ws/FavoritesWs.java index 63e1036d563..52c3c89639f 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/user/ws/FavoritesWs.java +++ b/server/sonar-server/src/main/java/org/sonar/server/user/ws/FavoritesWs.java @@ -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); } diff --git a/server/sonar-server/src/main/java/org/sonar/server/user/ws/UserPropertiesWs.java b/server/sonar-server/src/main/java/org/sonar/server/user/ws/UserPropertiesWs.java index a05a9d2a752..f4db43de3e9 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/user/ws/UserPropertiesWs.java +++ b/server/sonar-server/src/main/java/org/sonar/server/user/ws/UserPropertiesWs.java @@ -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); } diff --git a/server/sonar-web/src/main/hbs/design/design.hbs b/server/sonar-web/src/main/hbs/design/design.hbs index b81223774e7..e4b7a8b3033 100644 --- a/server/sonar-web/src/main/hbs/design/design.hbs +++ b/server/sonar-web/src/main/hbs/design/design.hbs @@ -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"> diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/models/database_migration_manager.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/models/database_migration_manager.rb index f8a817ad128..86914028728 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/models/database_migration_manager.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/models/database_migration_manager.rb @@ -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 diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/generate_secret_form.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/generate_secret_form.html.erb index 84dcbea1570..e2624527d17 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/generate_secret_form.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/generate_secret_form.html.erb @@ -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"> diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb index e1c63be7cf6..4b0cb7c2d47 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/encryption_configuration/index.html.erb @@ -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> diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb index 687ca6b6db8..7b751817531 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb @@ -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]--> diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb index fd4844050c6..fb83ec46c99 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb @@ -225,7 +225,7 @@ <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 %> diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/maintenance/index.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/maintenance/index.html.erb index 8917874ce9c..8571ebb1edd 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/maintenance/index.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/maintenance/index.html.erb @@ -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> diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/updatecenter/system_updates.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/updatecenter/system_updates.html.erb index 9b7c63199ce..4f671b53038 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/updatecenter/system_updates.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/updatecenter/system_updates.html.erb @@ -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> diff --git a/sonar-application/src/main/assembly/conf/sonar.properties b/sonar-application/src/main/assembly/conf/sonar.properties index 95c2d766e03..324ed71e5f8 100644 --- a/sonar-application/src/main/assembly/conf/sonar.properties +++ b/sonar-application/src/main/assembly/conf/sonar.properties @@ -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 #-------------------------------------------------------------------------------------------------- diff --git a/sonar-application/src/main/assembly/extensions/jdbc-driver/oracle/README.txt b/sonar-application/src/main/assembly/extensions/jdbc-driver/oracle/README.txt index 06f081518f8..34e00ed4bd8 100644 --- a/sonar-application/src/main/assembly/extensions/jdbc-driver/oracle/README.txt +++ b/sonar-application/src/main/assembly/extensions/jdbc-driver/oracle/README.txt @@ -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 diff --git a/sonar-deprecated/src/main/java/org/sonar/api/batch/SquidUtils.java b/sonar-deprecated/src/main/java/org/sonar/api/batch/SquidUtils.java index b3ead5d4214..d215d11b83e 100644 --- a/sonar-deprecated/src/main/java/org/sonar/api/batch/SquidUtils.java +++ b/sonar-deprecated/src/main/java/org/sonar/api/batch/SquidUtils.java @@ -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"); } /** diff --git a/sonar-deprecated/src/main/java/org/sonar/api/resources/JavaFile.java b/sonar-deprecated/src/main/java/org/sonar/api/resources/JavaFile.java index a7f2f3ba7cf..5d4c3eadff4 100644 --- a/sonar-deprecated/src/main/java/org/sonar/api/resources/JavaFile.java +++ b/sonar-deprecated/src/main/java/org/sonar/api/resources/JavaFile.java @@ -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"); } } diff --git a/sonar-deprecated/src/main/java/org/sonar/api/resources/JavaPackage.java b/sonar-deprecated/src/main/java/org/sonar/api/resources/JavaPackage.java index 650c7c96889..28909ce0ae9 100644 --- a/sonar-deprecated/src/main/java/org/sonar/api/resources/JavaPackage.java +++ b/sonar-deprecated/src/main/java/org/sonar/api/resources/JavaPackage.java @@ -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"); } } diff --git a/sonar-markdown/src/main/java/org/sonar/markdown/HtmlLinkChannel.java b/sonar-markdown/src/main/java/org/sonar/markdown/HtmlLinkChannel.java index bcaada38172..41874951533 100644 --- a/sonar-markdown/src/main/java/org/sonar/markdown/HtmlLinkChannel.java +++ b/sonar-markdown/src/main/java/org/sonar/markdown/HtmlLinkChannel.java @@ -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> { diff --git a/sonar-markdown/src/test/java/org/sonar/markdown/MarkdownTest.java b/sonar-markdown/src/test/java/org/sonar/markdown/MarkdownTest.java index 462bee37175..900118963d1 100644 --- a/sonar-markdown/src/test/java/org/sonar/markdown/MarkdownTest.java +++ b/sonar-markdown/src/test/java/org/sonar/markdown/MarkdownTest.java @@ -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>."); } diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java b/sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java index 19b43b0bc40..b4a7f3400de 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/web/NavigationSection.java @@ -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 |