Mercurial > hg > orthanc
annotate TODO @ 5462:505416b269a0
Fix XSS in Orthanc error reporting (as reported by Sébastien Doria, Vumetric Cybersecurity)
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 12 Dec 2023 10:13:49 +0100 |
parents | 9ffd6d18daf3 |
children | f7ac06300f86 |
rev | line source |
---|---|
2163 | 1 ======================= |
2 === Orthanc Roadmap === | |
3 ======================= | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 |
4707 | 5 For higher-level ideas in the roadmap, please first read the |
6 "Contributing to Orthanc" section of the Orthanc Book: | |
5432
59e3b6f8c5be
migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5409
diff
changeset
|
7 https://orthanc.uclouvain.be/book/contributing.html |
4707 | 8 |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 |
4978
2cfa50d8eb60
Speed-up handling of DicomModalitiesInStudy in C-Find and tools/find queries
Alain Mazy <am@osimis.io>
parents:
4954
diff
changeset
|
10 Some features are being funded by an OpenCollective one-time donations. |
4927 | 11 selected features are marked with priorities ((1) - higher, (2) - medium, (3) - nice to have) |
12 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 ======= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 General |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 ======= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
16 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
17 * Configure an user-defined site UID root if generating DICOM UIDs |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
18 ("FromDcmtkBridge::GenerateUuid()") |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
19 * Improve handling of errors in the command queue: |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
20 https://groups.google.com/d/msg/orthanc-users/--njEbqcDDI/rBu8XL-Mm-cJ |
2178 | 21 * Support partial file retrieval in Orthanc::HttpClient |
22 * Support retry counter in Orthanc::HttpClient | |
4662 | 23 * Option to enable DNS lookups in DICOM: |
5432
59e3b6f8c5be
migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5409
diff
changeset
|
24 https://orthanc.uclouvain.be/hg/orthanc/file/Orthanc-1.9.3/OrthancFramework/Sources/OrthancFramework.cpp#l88 |
4643 | 25 * Toolbox::ComputeMD5() fails on files larger than 4GB |
4841 | 26 * Add an option to run Orthanc in read-only mode both for DICOM and for Rest API. |
5450
9ffd6d18daf3
log lines now contain the thread name
Alain Mazy <am@osimis.io>
parents:
5432
diff
changeset
|
27 * Logging: add more specific information to contextualize the logs. |
5166 | 28 For a DICOM Transfer, that would be nice to include the modality in the context + a study identifier or a job id. |
4927 | 29 * (1) Accept extra DICOM tags dictionaries in the DCMTK format '.dic' (easier to use than declare |
4885 | 30 them in the Orthanc configuration file). Even the standard dictionaries could be |
31 overriden by these custom dictionaries. | |
4931 | 32 * Provide more flexibility wrt Dicom TLS ciphers and TLS version: |
4926 | 33 https://groups.google.com/g/orthanc-users/c/X4IhmXCSr7I/m/EirawAFcBwAJ |
5010 | 34 Can maybe be achieved by adding a configuration to select the TLS Security Profile: |
35 https://github.com/DCMTK/dcmtk/blob/master/dcmtls/include/dcmtk/dcmtls/tlsciphr.h#L83 | |
36 (e.g: TSP_Profile_BCP195_ND instead of TSP_Profile_BCP195) | |
5013 | 37 * Add configurations to enable/disable warnings: |
38 - Modifying an instance while keeping its original SOPInstanceUID: This should be avoided! | |
5034 | 39 - Modifying a study while keeping its original StudyInstanceUID: This should be avoided! |
5391 | 40 * Store the job registry in a dedicatd table in DB ? |
41 https://discourse.orthanc-server.org/t/performance-issue-when-adding-a-lot-of-jobs-in-the-queue/3915/2 | |
42 Note: that might also be the right time to have a central jobs registry when working | |
43 with multiple Orthanc instances on the same DB. | |
5400 | 44 * Right now, some Stable events never occurs (e.g. when Orthanc is restarted before the event is triggered). |
45 Since these events are used to e.g. generate dicom-web cache (or update it !), we should try | |
46 to make sure these events always happen. | |
47 - Generate the events when setting IsStable=true when starting an Orthanc (ok for SQLite) ? | |
48 - Also consider the use case of an Orthanc cluster that is being scaled-down just after one Orthanc instance | |
49 has received a few instances -> we can not only check for missing stable events at startup since no Orthanc will start. | |
50 We would need to maintain the list of "unstable" resources in DB instead of memory only. | |
51 * In prometheus metrics, implement Histograms or Exponential Histograms to measure durations. Right now, we only provide | |
52 "average" durations that are not very relevant | |
53 (https://opentelemetry.io/docs/specs/otel/metrics/data-model/#histogram) | |
54 - for job durations (+ have one histogram for each job) | |
55 - for HTTP request handling | |
56 - ... | |
5409 | 57 * Investigate if one could fix KeepAlive race conditions: |
58 https://discourse.orthanc-server.org/t/socket-hangup-with-rest-api/4023/3 | |
4643 | 59 |
60 ============================ | |
61 Documentation (Orthanc Book) | |
62 ============================ | |
63 | |
4928 | 64 * Write a getting started guide (step by step) for each platform to replace |
5432
59e3b6f8c5be
migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5409
diff
changeset
|
65 https://orthanc.uclouvain.be/book/users/cookbook.html : |
4928 | 66 - Ubuntu/Debian |
67 - Windows | |
68 - OSX | |
69 - Docker on Linux | |
70 Each step by step guide should contain: | |
71 - get binaries | |
72 - launch | |
73 - open explorer | |
74 - edit configuration file | |
75 - restart and observe changes | |
76 | |
4645 | 77 * Explain how log rotation can be achieved (no built-in support in Orthanc) |
78 * Explain how to interface with Mirth/NextGen Connect | |
79 https://en.wikipedia.org/wiki/NextGen_Connect | |
80 * How to reproduce issues by replacing Orthanc with storescp or wlmscpfs | |
81 * How to capture TCP traffic of DICOM protocol using tcpdump and Wireshark | |
82 * Add more configurations of viewers (Weasis, Slicer...): | |
5432
59e3b6f8c5be
migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5409
diff
changeset
|
83 https://orthanc.uclouvain.be/book/integrations.html |
4648 | 84 * Discuss HL7 in a dedicated page: |
85 https://groups.google.com/d/msg/orthanc-users/4dt4992O0lQ/opTjTFU2BgAJ | |
4728 | 86 https://groups.google.com/g/orthanc-users/c/Spjtcj9vSPo/m/ktUArWxUDQAJ |
4812 | 87 |
88 | |
89 ================ | |
90 Orthanc Explorer | |
91 ================ | |
92 | |
93 * Option to tune the number of results for a local lookup: | |
94 https://groups.google.com/g/orthanc-users/c/LF39musq02Y/ | |
95 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
96 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
97 ======== |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
98 REST API |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
99 ======== |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
100 |
5014 | 101 ---------- |
102 Short-term | |
103 ---------- | |
104 | |
105 | |
3967 | 106 -------- |
107 Mid-term | |
108 -------- | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
109 |
4927 | 110 * (1) Archive jobs: Resume downloads using "range requests": |
4478 | 111 https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests |
4927 | 112 * (3) Create DICOM from DICOMweb JSON ("application/dicom+json") |
4459
16392fe89ce0
new mutex to protect registration of REST callbacks: restCallbackRegistrationMutex_
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4452
diff
changeset
|
113 with "/tools/create-dicom" |
4927 | 114 * (2) Create multi-frame images with /tools/create-dicom (by adding a |
4644 | 115 "MultiFrame" flag to avoid creating a series), or modify PixelData |
116 of a multi-frame image: | |
117 https://groups.google.com/g/orthanc-users/c/y3-xa_GcdLM/m/m0Kr5G5UPAAJ | |
4927 | 118 * (1) Specify the transfer syntax in /tools/create-dicom |
5055 | 119 https://groups.google.com/g/orthanc-users/c/o15Dekecgds/m/xmPE2y3bAwAJ |
5305
50e73f7db661
todo palette PNG in create-dicom
Alain Mazy <am@osimis.io>
parents:
5304
diff
changeset
|
120 * Support Palette PNG in /tools/create-dicom: |
50e73f7db661
todo palette PNG in create-dicom
Alain Mazy <am@osimis.io>
parents:
5304
diff
changeset
|
121 https://discourse.orthanc-server.org/t/404-on-tools-create-dicom-endpoint-with-specific-png/3562 |
4927 | 122 * (1) In the /studies/{id}/anonymize route, add an option to remove |
4478 | 123 secondary captures. They usually contains Patient info in the |
124 image. The SOPClassUID might be used to identify such secondary | |
125 captures. | |
126 * Support "/preview" and "/matlab" for LUT color images | |
4803 | 127 * Try to transcode files if a simple decoding fails: |
128 https://groups.google.com/g/orthanc-users/c/b8168-NkAhA/m/Df3j-CO9CgAJ | |
4927 | 129 * (2) Ranges of DICOM tags for "Keep" and "Remove" in ".../modify" and ".../anonymize": |
4644 | 130 https://groups.google.com/g/orthanc-users/c/6dETktKo9v8/m/b0LUvSfwAgAJ |
5006 | 131 * return error code/reason in HTTP response if resubmit/cancel/pause fails ... |
5008 | 132 * filter /changes by type e.g: /changes?filter=StablePatient |
133 https://groups.google.com/g/orthanc-users/c/r20kDb0axms/m/2tzbQzYJAgAJ | |
134 * save more details in jobs e.g: the resources being sent/exported ... | |
135 https://groups.google.com/g/orthanc-users/c/rDDusFG5Lco/m/TzTUjWXLAQAJ | |
5386 | 136 https://discourse.orthanc-server.org/t/some-confusion-about-jobs-function/3887 |
5133 | 137 * allow filtering/ordering on the /jobs route: |
138 https://groups.google.com/g/orthanc-users/c/hsZ1jng5rIg/m/8xZL2C1VBgAJ | |
5367 | 139 * add an "AutoDeleteIfSuccessful": false option when creating jobs |
140 https://discourse.orthanc-server.org/t/job-history-combined-with-auto-forwarding/3729/10 | |
5208 | 141 * Also implement a GET variant of /tools/create-archive + sibling routes |
142 in which resources & transcode options are provided as get arguments. | |
143 https://groups.google.com/g/orthanc-users/c/PmaRZ609ztA/m/JdwXvIBKAQAJ | |
5314
0b8068aa7142
revert 5306:155637655710: re-enable automatic conversion from YBR to RGB
Alain Mazy <am@osimis.io>
parents:
5307
diff
changeset
|
144 * Allow skiping automatic conversion of color-space in transcoding/decoding. |
0b8068aa7142
revert 5306:155637655710: re-enable automatic conversion from YBR to RGB
Alain Mazy <am@osimis.io>
parents:
5307
diff
changeset
|
145 The patch that was initialy provided was breaking the IngestTranscoding. |
0b8068aa7142
revert 5306:155637655710: re-enable automatic conversion from YBR to RGB
Alain Mazy <am@osimis.io>
parents:
5307
diff
changeset
|
146 https://discourse.orthanc-server.org/t/orthanc-convert-ybr-to-rgb-but-does-not-change-metadata/3533/9 |
5382 | 147 * Implement a 'commit' route to force the Stable status earlier. |
148 https://discourse.orthanc-server.org/t/expediting-stability-of-a-dicom-study-new-api-endpoint/1684 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
149 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
150 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
151 Long-term |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
152 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
153 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
154 * Stick to the JSONapi or JAREST guidelines for a "v2" of the API: |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
155 https://groups.google.com/forum/#!msg/orthanc-users/Bag-SwEE9ZI/-w7QXI6p7-oJ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
156 http://www.admiraalit.nl/jarest/ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
157 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
158 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
159 ===== |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
160 DICOM |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
161 ===== |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
162 |
3383 | 163 -------- |
164 Mid-term | |
165 -------- | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
166 |
4452 | 167 * Support C-GET SCU (note that C-GET SCP was introduced in Orthanc 1.7.0) |
3335 | 168 * Support "Retrieve AE Title" (0008,0054) in C-FIND: |
5432
59e3b6f8c5be
migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5409
diff
changeset
|
169 - On SCP side: done by https://orthanc.uclouvain.be/hg/orthanc/rev/1ec3e1e18f50 |
3472 | 170 - On SCU side: |
171 https://groups.google.com/d/msg/orthanc-users/wPl0g5mqZco/5X1Z8tEzBgAJ | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
172 * Check Big Endian transfer syntax in ParsedDicomFile::EmbedImage and |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
173 DicomImageDecoder |
3384 | 174 * Strict hierarchical C-FIND: |
175 https://groups.google.com/d/msg/orthanc-users/VBHpeGVSNKM/tkaVvjWFBwAJ | |
4986 | 176 * report DIMSE error codes in Rest API and job status for /store /query /move /retrieve |
5114 | 177 * report progress report of C-Move operation in jop progress. There are |
178 progress callbacks available in DIMSE_moveUser | |
179 https://groups.google.com/g/orthanc-users/c/c8cGnA7FzsE/m/BSs66D8wBwAJ | |
4986 | 180 * Log outgoing C-Find queries |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
181 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
182 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
183 Long-term |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
184 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
185 |
4885 | 186 * Support extended association (e.g. for C-Find relational queries): |
2405
85a22aad7dfe
todo: extended association
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2377
diff
changeset
|
187 https://groups.google.com/d/msg/orthanc-users/xD4d3mpc6ms/srF7E2goAAAJ |
3465 | 188 * Support C-MOVE-CANCEL: |
189 https://groups.google.com/d/msg/orthanc-users/KnduYBFd06A/o86cl5SeCAAJ | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
190 |
3967 | 191 -------------------- |
192 Internationalization | |
193 -------------------- | |
3218 | 194 |
195 * Support multiple specific character sets (cf. "SCSH32" in orthanc-tests) | |
3223
c94f23198946
unit testing japanese
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3221
diff
changeset
|
196 - http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.12.html#sect_C.12.1.1.2 |
c94f23198946
unit testing japanese
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3221
diff
changeset
|
197 - Japanese test: http://dicom.nema.org/MEDICAL/dicom/2017c/output/chtml/part05/sect_H.3.2.html |
5385 | 198 https://discourse.orthanc-server.org/t/garbled-characters-when-i-uploaded-japanese-patient-name/3204/5 |
3218 | 199 * Support Supplementary Kanji set (ISO 2022 IR 159) |
3261 | 200 * Create DICOM files with multibyte encodings (Korean, JapaneseKanji, SimplifiedChinese) |
3218 | 201 |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
202 |
4467 | 203 =========== |
204 Performance | |
205 =========== | |
206 | |
4927 | 207 * (3) ServerContext::DicomCacheLocker => give access to the raw buffer, |
4467 | 208 useful in ServerContext::DecodeDicomInstance() |
4927 | 209 * (2) DicomMap: create a cache to the main DICOM tags index |
210 * (3) Check out rapidjson: https://github.com/miloyip/nativejson-benchmark | |
4978
2cfa50d8eb60
Speed-up handling of DicomModalitiesInStudy in C-Find and tools/find queries
Alain Mazy <am@osimis.io>
parents:
4954
diff
changeset
|
211 * For C-Find results: we could store the computed tags |
4944
f377d5643538
new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents:
4928
diff
changeset
|
212 in metadata on some events like NewSeries + DeletedSeries (same for other computer tags). |
f377d5643538
new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents:
4928
diff
changeset
|
213 OtherTags that could be saved in Metadata as well: |
f377d5643538
new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents:
4928
diff
changeset
|
214 - ModalitiesInStudy |
f377d5643538
new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents:
4928
diff
changeset
|
215 - all computed counters at series/study/patient level |
f377d5643538
new Warnings configuration + InstanceAvailability tag
Alain Mazy <am@osimis.io>
parents:
4928
diff
changeset
|
216 - RequestAttributesSequence (sequence that must be included in all DicomWeb QIDO-RS for series) |
4467 | 217 |
4986 | 218 * Long-shot & not sure it is even feasible at all: try to reduce memory usage by implementing streaming |
219 when receiving DICOM instances from the Rest API or from DICOM and store files directly to disk as they | |
220 are received. Note that this would likely require rewriting large parts of Orthanc. Note sure that | |
221 would be compatible with Transcoding. | |
222 Use case: receiving 10 1GB instances in parallel can consume up to 20 GB | |
223 Alternative option 1: write an "external application/plugin" that would take care of these receptions, write the | |
5096 | 224 file at the right place and send a signal to Orthanc to "adopt" the file. |
4986 | 225 Alternative option 2: declare a memory resource (X GB) that is available for reception. Every time |
5096 | 226 Orthanc starts receiving a file, it reserves the memory or twice the memory (through a Semaphore) |
227 if no memory is available, it waits and possibly timeouts returning a 503 or DIMSE A700 (out of resources). | |
228 This would at least protect from "out of memory" crashes. | |
229 Alternative option 3: Configure DCMTK to "stream" DICOM files on a temporary file on disk. Pass the file handle | |
230 to Orthanc and/or the Storage plugin (instead of passing a memory buffer) -> the object-storage plugin could | |
231 "stream" the file to the storage. The HTTP server could also "stream" its response from file handles. | |
232 Transcoding should be "file based" too. | |
5404 | 233 * To investigate: usage of mapped_file (not only in the indexer plugin): |
234 https://discourse.orthanc-server.org/t/patch-for-orthanc-indexer-plugin-crashing-on-big-non-dicom-files/3849/7 | |
4986 | 235 |
4624 | 236 ======== |
237 Database | |
238 ======== | |
239 | |
240 * Integration test searching for "\" and "%" in PatientName, PatientID... | |
241 | |
242 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
243 ======= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
244 Plugins |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
245 ======= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
246 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
247 --- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
248 SDK |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
249 --- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
250 |
4212 | 251 * Implement PluginsJob::GetOutput() to allow user-defined jobs to provide output: |
252 https://groups.google.com/g/orthanc-users/c/GZ7u0bTTVoo/m/Z7iTNTi2BgAJ | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
253 * Add plugins for normalized operations (notably so as to support |
4645 | 254 Print SCU/SCP, cf. "dcmprscp"): |
3570
f05887b1d1bf
Replaced broken url with url from wayback archive
Tomas Zubiri <me@tomaszubiri.com>
parents:
3472
diff
changeset
|
255 https://web.archive.org/web/20170923150432/https://www.medicalconnections.co.uk/kb/DICOM_Print_Service |
3153 | 256 * Provide access to the Orthanc::DicomUserConnection class in plugins: |
257 https://groups.google.com/d/msg/orthanc-users/ycDA1xPuTRY/nsT2_GOtEgAJ | |
3390 | 258 * Provide a C++ callback similar to "ReceivedInstanceFilter()" in Lua |
5432
59e3b6f8c5be
migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5409
diff
changeset
|
259 https://orthanc.uclouvain.be/book/users/lua.html#filtering-incoming-dicom-instances |
3390 | 260 https://groups.google.com/d/msg/orthanc-users/BtvLTE5Ni8A/vIMhmMgfBAAJ |
4645 | 261 * In "OrthancPluginLog[Error|Warning|Info]()", prefix the log line with |
262 the name of the plugin, as retrieved by "OrthancPluginGetName()" | |
4912
45d6ce72a84e
fix linking of Sanitizer sample plugin
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4892
diff
changeset
|
263 * Update the SDK to handle buffer sizes > 4GB (all sizes are currently coded in uint32_t) |
5106 | 264 * Add a C-Get SCP handler: OrthancPluginRegisterGetCallback |
5107 | 265 https://groups.google.com/g/orthanc-users/c/NRhPkYX9IXQ/m/mWS11g0jBwAJ |
5165 | 266 * Add a primitive for user authentication (to generate 401 HTTP status, whereas |
267 the "RegisterIncomingHttpRequestFilter()" can only generate 403 HTTP status) | |
268 https://groups.google.com/g/orthanc-users/c/ymtaAmgSs6Q/m/PqVBactQAQAJ | |
5408 | 269 * Add an index on the UUID column in the DelayedDeletion plugin: |
270 https://discourse.orthanc-server.org/t/delayeddeletion-improvement-unique-index-on-pending-uuid-column/4032 | |
271 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
272 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
273 ---------------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
274 Ideas of plugins |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
275 ---------------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
276 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
277 * DICOM-RT primitives (RT-STRUCT, RT-PLAN, RT-DOSE) |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
278 * Converter to/from NIfTI |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
279 * Decode JPEG2k with grok: https://github.com/GrokImageCompression/grok |
2251 | 280 * Generate dynamic HTTP content using Lua: |
2199 | 281 https://groups.google.com/d/msg/orthanc-users/KompazkxRSs/5Rh03mzgDAAJ |
2251 | 282 * More generally, expose more callbacks of the plugin SDK in Lua: |
283 https://groups.google.com/d/msg/orthanc-users/_FbiRHuXPGM/J-OAv7zaCAAJ | |
3300 | 284 * Configuration interface plugin |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
285 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
286 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
287 === |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
288 Lua |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
289 === |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
290 |
5016
c89ffa13173e
Lua: new "SetHttpTimeout" function
Alain Mazy <am@osimis.io>
parents:
5015
diff
changeset
|
291 * Configure HTTP headers from Lua (in RestApiPost(), RestApiPut() |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
292 and RestApiDelete(). |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
293 https://groups.google.com/forum/#!msg/orthanc-users/WNnW187OILM/6XX_bm96BwAJ |
5387 | 294 * Retrieve HTTP status from calls to HttpGet, HttpPost, ... |
295 https://discourse.orthanc-server.org/t/how-to-get-http-status-code-from-httppost/1263/4 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
296 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
297 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
298 ================ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
299 Code refactoring |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
300 ================ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
301 |
2207
6dc3bdb4088b
Fix handling of encodings in C-FIND for worklists
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2202
diff
changeset
|
302 * Avoid direct calls to FromDcmtkBridge (make most of its |
6dc3bdb4088b
Fix handling of encodings in C-FIND for worklists
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2202
diff
changeset
|
303 methods private), go through ParsedDicomFile wherever possible |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
304 |
4459
16392fe89ce0
new mutex to protect registration of REST callbacks: restCallbackRegistrationMutex_
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4452
diff
changeset
|
305 |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
306 ================= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
307 Platform-specific |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
308 ================= |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
309 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
310 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
311 Packaging |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
312 --------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
313 |
4467 | 314 * RHEL through EPEL (as of 2021, CentOS seems to be over): |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
315 http://fedoraproject.org/wiki/EPEL_Package_Maintainers |
4643 | 316 * Fedora: Are DICOM dictionaries correctly located? |
317 https://groups.google.com/g/orthanc-users/c/YB_LTBuUQNA/m/3H1xsrZJDgAJ | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
318 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
319 ------------------------ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
320 Big-endian architectures |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
321 ------------------------ |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
322 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
323 * Check the generated 16bpp PNG images |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
324 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
325 ----------------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
326 Microsoft Windows |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
327 ----------------- |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
328 |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
329 * Add compatibility with non-ASCII paths (Orthanc expresses its paths |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
330 as UTF-8 strings, but Windows expects them to be translated to the |
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
331 system locale) |
5053 | 332 * Fix error message when stopping the service: |
333 https://groups.google.com/g/orthanc-users/c/NyrwUJ9N6Ec/m/sTZIcWvaAgAJ | |
334 | |
2162
d738945c25cd
migrating TODO from Trello
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
335 |
3672
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
336 ==== |
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
337 Misc |
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
338 ==== |
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
339 |
4643 | 340 ----------------- |
341 Maintenance tools | |
342 ----------------- | |
343 | |
344 * Standalone tool to detect corrupted files: | |
345 https://groups.google.com/g/orthanc-users/c/KASEJ9Gx3vQ/m/MIJFJdRhAwAJ | |
346 * Standalone tool to detect orphan files in OrthancStorage | |
347 | |
348 ---------------------------------- | |
349 Code quality and integration tests | |
350 ---------------------------------- | |
4459
16392fe89ce0
new mutex to protect registration of REST callbacks: restCallbackRegistrationMutex_
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4452
diff
changeset
|
351 |
4467 | 352 * Have a look at openQA (cf. GNU Health) |
4643 | 353 * Add integration tests for LUT |
4926 | 354 * Add more complex testing scenarios like data-migration, change of |
355 configuration files, multiple orthanc interacting togethers with various | |
356 config. This should probably look like the python toolbox tests ... | |
5304 | 357 - add a test to validate Modalities and Peers stored in DB are not lost |
358 while upgrading from one version to the other (Sylvain) | |
5349 | 359 * On Ubuntu 20.04, accesses to unitialized memory are sometimes |
360 reported in libgjpeg by valgrind, if running the following command | |
361 (this is probably unrelated to Orthanc): | |
362 $ ./Start.sh --force Orthanc.test_bitbucket_issue_141 Orthanc.test_create_pdf Orthanc.test_decode_brainix_as_jpeg | |
4926 | 363 |
3672
ea8c1c0e81eb
Fix issue #65 (Logging improvements)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3570
diff
changeset
|
364 |
4467 | 365 --------------------- |
366 External applications | |
367 --------------------- | |
368 | |
369 * Create REST bindings with Slicer | |
370 * Create REST bindings with Horos/OsiriX |