view TODO @ 147:41cd08e0e878

todo
author Alain Mazy <am@osimis.io>
date Mon, 20 Nov 2023 08:59:48 +0100
parents 1ce48763e75b
children 3c98306828de
line wrap: on
line source

Bug:
===

* The plugin does not support calls to 'curl http://localhost:8042/tools/reset -d ""' 
  if the script registers the OnChangeCallback. Ex:

    import orthanc

    def OnChange(changeType, level, resource):
      print("OnChange")
    orthanc.RegisterOnChangeCallback(OnChange)


Possible improvements:
=====================

* In ReceivedInstanceFilter: change the orthanc.InstanceOrigin enum for an 
  object similar to the origin table in lua for the Python Plugin?
  https://discourse.orthanc-server.org/t/python-plugin-get-origin-information-calledaet-remoteip/4045

* Allow working with python virtual env (since python 3.11, we must sometimes use --break-system-packages).


Primitives the Orthanc community is missing
===========================================

* "OrthancPluginRegisterFindCallback()":
  https://groups.google.com/d/msg/orthanc-users/eOku4cDu308/k9P6Qa5vBgAJ

* "OrthancPluginRegisterWorklistCallback()":
  https://groups.google.com/d/msg/orthanc-users/4gvRJQzwh1U/fwFfXGMtAwAJ

* Create Python jobs:
  https://groups.google.com/g/orthanc-users/c/8-OYbc3mnyI/m/Mr9QvLKeAgAJ