changeset 449:2922fb1bd65e

fix links
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 03 Jul 2020 09:33:10 +0200
parents 74fc0203d882
children 235a5541e06e
files Sphinx/source/contributing.rst Sphinx/source/developers/coding-style.rst Sphinx/source/developers/creating-plugins.rst Sphinx/source/developers/stone.rst Sphinx/source/dicom-guide.rst Sphinx/source/faq/licensing.rst Sphinx/source/faq/orthanc-ids.rst Sphinx/source/faq/rest-samples.rst Sphinx/source/faq/supported-images.rst Sphinx/source/faq/transcoding.rst Sphinx/source/plugins/authorization.rst Sphinx/source/plugins/dicomweb.rst Sphinx/source/plugins/google-cloud-platform.rst Sphinx/source/plugins/postgresql.rst Sphinx/source/plugins/serve-folders.rst Sphinx/source/plugins/transfers.rst Sphinx/source/plugins/worklists-plugin.rst Sphinx/source/users/advanced-rest.rst Sphinx/source/users/lua.rst Sphinx/source/users/replication.rst Sphinx/source/users/rest.rst Sphinx/source/users/storage-commitment.rst
diffstat 22 files changed, 39 insertions(+), 39 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/contributing.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/contributing.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -22,9 +22,9 @@
   - Answer questions posted to the `mailing list
     <https://groups.google.com/forum/#!forum/orthanc-users>`_.
   - Improve the text of the `Orthanc Book and REST API documentation
-    <https://hg.orthanc-server.com/orthanc-book/file/tip>`__ (check
+    <https://hg.orthanc-server.com/orthanc-book/file/default>`__ (check
     out the instructions provided in the `README file
-    <https://hg.orthanc-server.com/orthanc-book/file/tip/README.md>`__,
+    <https://hg.orthanc-server.com/orthanc-book/file/default/README.md>`__,
     and send us a :ref:`simple patch <hg-patch>`).
   - Provide documentation and use cases (inside the dedicated `GitHub
     repository <https://github.com/jodogne/OrthancContributed>`_, via
--- a/Sphinx/source/developers/coding-style.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/developers/coding-style.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -12,7 +12,7 @@
 <https://en.wikipedia.org/wiki/Indent_style#Allman_style>`__", with
 some adaptations that are described below. A compliant Eclipse
 formatter is `available in the Orthanc distribution
-<https://hg.orthanc-server.com/orthanc/file/default/Resources/EclipseCodingStyle.xml>`__.
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancFramework/Resources/Graveyard/EclipseCodingStyle.xml>`__ (not maintained anymore).
 
 Licensing
 ---------
--- a/Sphinx/source/developers/creating-plugins.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/developers/creating-plugins.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -26,7 +26,7 @@
 
 * Sample code for plugins can be found `in the official Orthanc
   repository
-  <https://hg.orthanc-server.com/orthanc/file/default/Plugins/Samples/>`__
+  <https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Plugins/Samples/>`__
   (in the ``Plugins/Samples`` folder).
 
 * A tutorial showing how to implement a basic WADO server is
--- a/Sphinx/source/developers/stone.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/developers/stone.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -9,5 +9,5 @@
 
 For the time being, documentation is provided through various sample
 applications that can be found in the `source distribution
-<https://hg.orthanc-server.com/orthanc-stone/file/tip/Applications/Samples>`__.
+<https://hg.orthanc-server.com/orthanc-stone/file/default/Samples>`__.
 
--- a/Sphinx/source/dicom-guide.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/dicom-guide.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -133,7 +133,7 @@
 <https://en.wikipedia.org/wiki/Medical_ultrasound>`__).
 
 `As written in its DICOM conformance statement
-<https://hg.orthanc-server.com/orthanc/file/default/Resources/DicomConformanceStatement.txt>`__,
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/DicomConformanceStatement.txt>`__,
 the Orthanc software can receive, store and send any kind of DICOM
 images (i.e. all the standard transfer syntaxes are
 supported). Furthermore, Orthanc can :ref:`convert most uncompressed
--- a/Sphinx/source/faq/licensing.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/faq/licensing.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -273,7 +273,7 @@
 
 * Unit testing is mandatory. Integration tests should be submitted to
   the `dedicated repository
-  <https://hg.orthanc-server.com/orthanc-tests/file/tip>`__.
+  <https://hg.orthanc-server.com/orthanc-tests/file/default>`__.
 
 * In the case of a doubt wrt. a potential contribution, please discuss
   it on the `Orthanc Users
--- a/Sphinx/source/faq/orthanc-ids.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/faq/orthanc-ids.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -41,7 +41,7 @@
 
 The actual implementation of the hashing is carried on by the
 `DicomInstanceHasher class
-<https://hg.orthanc-server.com/orthanc/file/default/Core/DicomFormat/DicomInstanceHasher.cpp>`_.
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancFramework/Sources/DicomFormat/DicomInstanceHasher.cpp>`_.
 
 If two different instances have the same Orthanc identifier, only one
 of them is kept. By default, the first instance that was received by
--- a/Sphinx/source/faq/rest-samples.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/faq/rest-samples.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -10,11 +10,11 @@
   dedicated section <rest-advanced>`.
 * Many working examples written in Python are `available in the source
   distribution
-  <https://hg.orthanc-server.com/orthanc/file/default/Resources/Samples/Python/>`__.
+  <https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/Python/>`__.
 * If you cannot find an example for some feature in this manual or in
   the Python examples, please check the `publicly available
   integration tests
-  <https://hg.orthanc-server.com/orthanc-tests/file/tip/Tests/Tests.py>`__
+  <https://hg.orthanc-server.com/orthanc-tests/file/default/Tests/Tests.py>`__
   that span most of the REST API.
 * Samples for the deprecated APIs are available below.
 
@@ -50,7 +50,7 @@
 
 *Note:* This API has been superseded by the ``/modalities/.../query``
 URI. Please check the ``test_rest_query_retrieve`` `integration test
-<https://hg.orthanc-server.com/orthanc-tests/file/tip/Tests/Tests.py>`__.
+<https://hg.orthanc-server.com/orthanc-tests/file/default/Tests/Tests.py>`__.
 
 
 Using Orthanc to Ease WADO Querying (Deprecated)
@@ -85,4 +85,4 @@
 
 *Note:* This API has been superseded by the ``/modalities/.../query``
 URI. Please check the ``test_rest_query_retrieve`` `integration test
-<https://hg.orthanc-server.com/orthanc-tests/file/tip/Tests/Tests.py>`__.
+<https://hg.orthanc-server.com/orthanc-tests/file/default/Tests/Tests.py>`__.
--- a/Sphinx/source/faq/supported-images.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/faq/supported-images.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -5,7 +5,7 @@
 
 Orthanc can **receive/store/send** any kind of standard DICOM files
 (cf. the `DICOM conformance statement
-<https://hg.orthanc-server.com/orthanc/file/default/Resources/DicomConformanceStatement.txt>`__).
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/DicomConformanceStatement.txt>`__).
 Note that the ``UnknownSopClassAccepted`` :ref:`configuration option
 <configuration>` can be set to `true` if interfacing with modalities
 that are producing non-standard SOP classes.
--- a/Sphinx/source/faq/transcoding.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/faq/transcoding.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -210,7 +210,7 @@
 ``OrthancPluginRegisterOnStoredInstanceCallback()`` function). A
 sample Lua script that converts every incoming DICOM file to the
 JPEG2k transfer syntax is `part of the Orthanc sources
-<https://hg.orthanc-server.com/orthanc/file/default/Resources/Samples/Lua/AutomatedJpeg2kCompression.lua>`__. Note
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/Lua/AutomatedJpeg2kCompression.lua>`__. Note
 that this solution makes no sense anymore in Orthanc 1.7.0, as it
 provides built-in support for transcoding.
 
--- a/Sphinx/source/plugins/authorization.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/plugins/authorization.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -13,7 +13,7 @@
 set to ``403`` (Forbidden).
 
 The `source code of this plugin
-<https://hg.orthanc-server.com/orthanc-authorization/file/tip>`__ is
+<https://hg.orthanc-server.com/orthanc-authorization/file/default>`__ is
 freely available under the terms of the AGPLv3 license.
 
 
@@ -183,7 +183,7 @@
   the cache entry will never expire.
 
 **Note:** The source code of the plugin contains a `basic example
-<https://hg.orthanc-server.com/orthanc-authorization/file/tip/Resources/TestService.js>`__
+<https://hg.orthanc-server.com/orthanc-authorization/file/default/Resources/TestService.js>`__
 of such a Web service written in node.js.
 
 
--- a/Sphinx/source/plugins/dicomweb.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/plugins/dicomweb.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -19,7 +19,7 @@
 
 The full standard is not implemented yet, the supported features are
 `tracked in the repository
-<https://hg.orthanc-server.com/orthanc-dicomweb/file/tip/Status.txt>`__.
+<https://hg.orthanc-server.com/orthanc-dicomweb/file/default/Status.txt>`__.
 
 
 Compilation
@@ -48,7 +48,7 @@
 
 *Remark:* Some older build instructions are also available in the
 `source distribution
-<https://hg.orthanc-server.com/orthanc-dicomweb/file/tip/Resources/BuildInstructions.txt>`__.
+<https://hg.orthanc-server.com/orthanc-dicomweb/file/default/Resources/BuildInstructions.txt>`__.
 
 
 Installation
@@ -651,12 +651,12 @@
 
 Samples of how to call DICOMweb services from standalone applications
 are available for `Python
-<https://hg.orthanc-server.com/orthanc-dicomweb/file/tip/Resources/Samples/Python>`__
+<https://hg.orthanc-server.com/orthanc-dicomweb/file/default/Resources/Samples/Python>`__
 and for `JavaScript
-<https://hg.orthanc-server.com/orthanc-dicomweb/file/tip/Resources/Samples/JavaScript>`__.
+<https://hg.orthanc-server.com/orthanc-dicomweb/file/default/Resources/Samples/JavaScript>`__.
 
 Integration tests are `available separately
-<https://hg.orthanc-server.com/orthanc-tests/file/tip/Plugins/DicomWeb/Run.py>`__,
+<https://hg.orthanc-server.com/orthanc-tests/file/default/Plugins/DicomWeb/Run.py>`__,
 and provide samples for more advanced features of the REST API (such
 as dynamically adding/updating/removing remote DICOMweb servers using
 HTTP PUT and DELETE methods).
--- a/Sphinx/source/plugins/google-cloud-platform.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/plugins/google-cloud-platform.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -11,7 +11,7 @@
 ------------
 
 Osimis freely provides the `source code
-<https://hg.orthanc-server.com/orthanc-gcp/file/tip/>`__ of a plugin
+<https://hg.orthanc-server.com/orthanc-gcp/file/default/>`__ of a plugin
 to interface Orthanc with the Healthcare API of `Google Cloud Platform
 (GCP) <https://en.wikipedia.org/wiki/Google_Cloud_Platform>`__ through
 `DICOMweb <https://www.dicomstandard.org/dicomweb/>`__.
--- a/Sphinx/source/plugins/postgresql.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/plugins/postgresql.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -88,7 +88,7 @@
 In such a situation, please add your version of PostgreSQL to the
 macro ``PostgreSQL_ADDITIONAL_VERSIONS`` that is defined at the end of
 the `Resources/CMake/PostgreSQLConfiguration.cmake file
-<https://hg.orthanc-server.com/orthanc-databases/file/tip/Resources/CMake/PostgreSQLConfiguration.cmake>`__
+<https://hg.orthanc-server.com/orthanc-databases/file/default/Resources/CMake/PostgreSQLConfiguration.cmake>`__
 in the sources of the project.
   
   
--- a/Sphinx/source/plugins/serve-folders.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/plugins/serve-folders.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -12,7 +12,7 @@
  
 The source code of this sample plugin is `available in the source
 distribution of Orthanc
-<https://hg.orthanc-server.com/orthanc/file/default/Plugins/Samples/ServeFolders/>`__
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Plugins/Samples/ServeFolders/>`__
 (GPLv3+ license).
 
 
--- a/Sphinx/source/plugins/transfers.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/plugins/transfers.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -7,7 +7,7 @@
 .. contents::
 
 Osimis provides a `transfers accelerator plugin
-<https://hg.orthanc-server.com/orthanc-transfers/file/tip>`__ whose
+<https://hg.orthanc-server.com/orthanc-transfers/file/default>`__ whose
 purpose is to speed up the transfers of DICOM instances over networks
 (with respect to the native DICOM protocol or to the built-in
 :ref:`Orthanc peers <peers>` mechanism).
--- a/Sphinx/source/plugins/worklists-plugin.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/plugins/worklists-plugin.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -26,7 +26,7 @@
 
 The source code of this sample plugin is `available in the source
 distribution of Orthanc
-<https://hg.orthanc-server.com/orthanc/file/default/Plugins/Samples/ModalityWorklists/>`__
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Plugins/Samples/ModalityWorklists/>`__
 (GPLv3+ license).
 
 
@@ -59,7 +59,7 @@
 
 The folder ``WorklistsDatabase`` of the `source distribution of
 Orthanc
-<https://hg.orthanc-server.com/orthanc/file/default/Plugins/Samples/ModalityWorklists/>`__
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Plugins/Samples/ModalityWorklists/>`__
 contains a database of sample worklists, that comes from the DCMTK
 source distribution, as described in the `FAQ entry #37 of the DCMTK
 project <https://forum.dcmtk.org/viewtopic.php?t=84>`__.
@@ -73,7 +73,7 @@
 - Download `DCMTK utilities
   <https://dicom.offis.de/download/dcmtk/release/bin/>`__.
 - Download sample `worklist files
-  <https://hg.orthanc-server.com/orthanc/file/default/Plugins/Samples/ModalityWorklists/>`__
+  <https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Plugins/Samples/ModalityWorklists/>`__
   from the Orthanc source code and copy them in a dedicated folder.
 - Generate the :ref:`default configuration of Orthanc <configuration>`.
 - Enable the ModalityWorklist plugin in your configuration file by adding this section::
@@ -130,7 +130,7 @@
   
 - Start with an existing worklist file, some samples of which can be
   found in the `Orthanc source distribution
-  <https://hg.orthanc-server.com/orthanc/file/default/Plugins/Samples/ModalityWorklists/WorklistsDatabase/>`__
+  <https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Plugins/Samples/ModalityWorklists/WorklistsDatabase/>`__
   (with ``.wl`` file extensions).
 - The worklist file is a DICOM file. Dump its content as a text file
   using ``dcmdump``::
--- a/Sphinx/source/users/advanced-rest.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/users/advanced-rest.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -150,7 +150,7 @@
 * Retry a job in ``Failed`` state by POST-ing to ``/jobs/.../resubmit``.
 
 The related state machine is depicted in the `implementation notes
-<https://hg.orthanc-server.com/orthanc/raw-file/tip/Resources/ImplementationNotes/JobsEngineStates.pdf>`__.
+<https://hg.orthanc-server.com/orthanc/raw-file/default/OrthancServer/Resources/ImplementationNotes/JobsEngineStates.pdf>`__.
   
 
 
--- a/Sphinx/source/users/lua.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/users/lua.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -13,7 +13,7 @@
 scripting.
 
 Many other examples are `available in the source distribution
-<https://hg.orthanc-server.com/orthanc/file/default/Resources/Samples/Lua/>`__.
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/Lua/>`__.
 
 
 Installing a Lua script
@@ -110,7 +110,7 @@
   protocol. This allows to inspect the content of the C-Find query,
   and possibly modify it if a patch is needed for some manufacturer. A
   `sample script is available
-  <https://hg.orthanc-server.com/orthanc/file/default/Resources/Samples/Lua/IncomingFindRequestFilter.lua>`__.
+  <https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/Lua/IncomingFindRequestFilter.lua>`__.
 
 Some other **resource-related events** are available:
 
@@ -139,7 +139,7 @@
 SCP, several callbacks are successively invoked to specify which
 **transfer syntaxes** are accepted for the association. These
 callbacks are listed in `this sample script
-<https://hg.orthanc-server.com/orthanc/file/default/Resources/Samples/Lua/TransferSyntaxEnable.lua>`__.
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/Lua/TransferSyntaxEnable.lua>`__.
 
 *Note:* All of these callbacks are guaranteed to be **invoked in
 mutual exclusion**. This implies that Lua scripting in Orthanc does
--- a/Sphinx/source/users/replication.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/users/replication.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -71,7 +71,7 @@
 
 The most direct way to replicate an instance of Orthanc consists in
 using the `ImportDicomFiles
-<https://hg.orthanc-server.com/orthanc/file/default/Resources/Samples/ImportDicomFiles/ImportDicomFiles.py>`_
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/ImportDicomFiles/ImportDicomFiles.py>`_
 script of the Orthanc distribution. For instance, the following
 command would recursively explore the content of the
 ``OrthancStorage`` folder (where Orthanc stores its DICOM files by
@@ -111,7 +111,7 @@
 -------------------
 
 If you cannot use the first method, you can use the `Replicate
-<https://hg.orthanc-server.com/orthanc/file/default/Resources/Samples/Python/Replicate.py>`_
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/Python/Replicate.py>`_
 script of the Orthanc distribution. This script will use the REST API
 of both the source and target instances of Orthanc. For instance::
 
--- a/Sphinx/source/users/rest.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/users/rest.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -57,7 +57,7 @@
     $ curl -X POST -H "Expect:" http://localhost:8042/instances --data-binary @CT.X.1.2.276.0.7230010.dcm
 
 The code distribution of Orthanc contains a `sample Python script
-<https://hg.orthanc-server.com/orthanc/file/default/Resources/Samples/ImportDicomFiles/ImportDicomFiles.py>`__
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/ImportDicomFiles/ImportDicomFiles.py>`__
 that recursively upload the content of some folder into Orthanc using
 the REST API::
 
@@ -629,7 +629,7 @@
    The list of the resources to be sent are given as a JSON array. In
    this case, a single DICOM connection is used. `Sample code is
    available
-   <https://hg.orthanc-server.com/orthanc/file/default/Resources/Samples/Python/HighPerformanceAutoRouting.py>`__.
+   <https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/Python/HighPerformanceAutoRouting.py>`__.
 
    Note that the list of resources to be sent can include the
    :ref:`Orthanc identifiers <orthanc-ids>` of entire patients,
@@ -1012,7 +1012,7 @@
     $ curl 'http://localhost:8042/changes?limit=100&since=922'
 
 A `sample code in the source distribution
-<https://hg.orthanc-server.com/orthanc/file/default/Resources/Samples/Python/ChangesLoop.py>`__
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/Python/ChangesLoop.py>`__
 shows how to use this Changes API to implement a polling loop.
 
 
--- a/Sphinx/source/users/storage-commitment.rst	Tue Jun 30 11:58:03 2020 +0200
+++ b/Sphinx/source/users/storage-commitment.rst	Fri Jul 03 09:33:10 2020 +0200
@@ -192,7 +192,7 @@
 instances.
 
 Note that a `sample plugin
-<https://hg.orthanc-server.com/orthanc/file/tip/Plugins/Samples/StorageCommitmentScp>`__
+<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Plugins/Samples/StorageCommitmentScp>`__
 is also available in the source distribution of Orthanc.