dcoraid 0.0.7__tar.gz → 0.14.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (313) hide show
  1. dcoraid-0.14.2/.github/workflows/check.yml +76 -0
  2. dcoraid-0.14.2/.github/workflows/deploy_github.yml +59 -0
  3. dcoraid-0.14.2/.github/workflows/deploy_pypi.yml +31 -0
  4. dcoraid-0.14.2/.gitignore +111 -0
  5. dcoraid-0.14.2/CHANGELOG +427 -0
  6. dcoraid-0.14.2/PKG-INFO +68 -0
  7. {dcoraid-0.0.7 → dcoraid-0.14.2}/README.rst +10 -10
  8. dcoraid-0.14.2/build-recipes/DCOR-Aid.icns +0 -0
  9. dcoraid-0.14.2/build-recipes/DCOR-Aid.ico +0 -0
  10. dcoraid-0.14.2/build-recipes/DCOR-AidLauncher.py +4 -0
  11. dcoraid-0.14.2/build-recipes/hook-dcoraid.py +20 -0
  12. dcoraid-0.14.2/build-recipes/macos_DCOR-Aid.spec +57 -0
  13. dcoraid-0.14.2/build-recipes/macos_build_app.sh +73 -0
  14. dcoraid-0.14.2/build-recipes/macos_build_requirements.txt +2 -0
  15. dcoraid-0.14.2/build-recipes/win_DCOR-Aid.spec +39 -0
  16. dcoraid-0.14.2/build-recipes/win_build_requirements.txt +2 -0
  17. dcoraid-0.14.2/build-recipes/win_dcoraid.iss_dummy +116 -0
  18. dcoraid-0.14.2/build-recipes/win_make_iss.py +32 -0
  19. dcoraid-0.14.2/dcoraid/__init__.py +6 -0
  20. dcoraid-0.14.2/dcoraid/__main__.py +61 -0
  21. dcoraid-0.14.2/dcoraid/_version.py +16 -0
  22. dcoraid-0.14.2/dcoraid/api/__init__.py +8 -0
  23. dcoraid-0.14.2/dcoraid/api/ckan_api.py +410 -0
  24. dcoraid-0.14.2/dcoraid/api/dataset.py +448 -0
  25. dcoraid-0.14.2/dcoraid/api/errors.py +53 -0
  26. dcoraid-0.14.2/dcoraid/api/s3_api.py +621 -0
  27. dcoraid-0.14.2/dcoraid/cli.py +183 -0
  28. dcoraid-0.14.2/dcoraid/common.py +44 -0
  29. dcoraid-0.14.2/dcoraid/dbmodel/__init__.py +3 -0
  30. dcoraid-0.14.2/dcoraid/dbmodel/db_api.py +202 -0
  31. dcoraid-0.14.2/dcoraid/dbmodel/db_core.py +89 -0
  32. dcoraid-0.14.2/dcoraid/dbmodel/extract.py +101 -0
  33. dcoraid-0.14.2/dcoraid/download/__init__.py +3 -0
  34. dcoraid-0.14.2/dcoraid/download/job.py +430 -0
  35. dcoraid-0.14.2/dcoraid/download/queue.py +211 -0
  36. dcoraid-0.14.2/dcoraid/download/task.py +39 -0
  37. dcoraid-0.14.2/dcoraid/gui/api.py +48 -0
  38. dcoraid-0.14.2/dcoraid/gui/browse_public/widget_browse_public.py +55 -0
  39. dcoraid-0.14.2/dcoraid/gui/browse_public/widget_browse_public.ui +128 -0
  40. dcoraid-0.14.2/dcoraid/gui/dbview/drag_table_widget.py +23 -0
  41. dcoraid-0.14.2/dcoraid/gui/dbview/filter_base.py +116 -0
  42. dcoraid-0.14.2/dcoraid/gui/dbview/filter_base.ui +157 -0
  43. dcoraid-0.14.2/dcoraid/gui/dbview/filter_chain.py +184 -0
  44. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/dbview/filter_chain.ui +5 -7
  45. dcoraid-0.14.2/dcoraid/gui/dbview/filter_views.py +175 -0
  46. dcoraid-0.14.2/dcoraid/gui/download/widget_download.py +255 -0
  47. dcoraid-0.0.7/dcoraid/gui/upload/widget_upload.ui → dcoraid-0.14.2/dcoraid/gui/download/widget_download.ui +7 -31
  48. dcoraid-0.14.2/dcoraid/gui/logs/__init__.py +0 -0
  49. dcoraid-0.14.2/dcoraid/gui/logs/widget_log.py +139 -0
  50. dcoraid-0.14.2/dcoraid/gui/logs/widget_log.ui +59 -0
  51. dcoraid-0.14.2/dcoraid/gui/main.py +249 -0
  52. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/main.ui +184 -185
  53. dcoraid-0.14.2/dcoraid/gui/maintenance/__init__.py +0 -0
  54. dcoraid-0.14.2/dcoraid/gui/maintenance/widget_maintenance.py +86 -0
  55. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/maintenance/widget_maintenance.ui +1 -4
  56. dcoraid-0.14.2/dcoraid/gui/preferences/dlg_preferences.py +322 -0
  57. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/preferences/dlg_preferences.ui +176 -19
  58. dcoraid-0.14.2/dcoraid/gui/status_widget.py +154 -0
  59. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/tools/__init__.py +0 -1
  60. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/tools/wait_cursor.py +1 -1
  61. dcoraid-0.14.2/dcoraid/gui/upload/__init__.py +0 -0
  62. dcoraid-0.14.2/dcoraid/gui/upload/circle_mgr.py +87 -0
  63. dcoraid-0.14.2/dcoraid/gui/upload/dlg_upload.py +422 -0
  64. dcoraid-0.14.2/dcoraid/gui/upload/dlg_upload.ui +671 -0
  65. dcoraid-0.14.2/dcoraid/gui/upload/resource_schema_preset.py +31 -0
  66. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/upload/resources_model.py +36 -6
  67. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/upload/widget_schema.py +7 -1
  68. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/upload/widget_supplement_item.py +14 -7
  69. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/upload/widget_supplement_item.ui +41 -1
  70. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/upload/widget_tablecell_actions.py +14 -8
  71. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/upload/widget_tablecell_actions.ui +11 -6
  72. dcoraid-0.14.2/dcoraid/gui/upload/widget_upload.py +506 -0
  73. dcoraid-0.14.2/dcoraid/gui/upload/widget_upload.ui +220 -0
  74. dcoraid-0.14.2/dcoraid/gui/wizard/__init__.py +212 -0
  75. dcoraid-0.14.2/dcoraid/gui/wizard/dcordevapi.ui +190 -0
  76. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/wizard/wizard.ui +91 -64
  77. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/__init__.py +1 -1
  78. dcoraid-0.14.2/dcoraid/img/dcoraid_text.png +0 -0
  79. dcoraid-0.14.2/dcoraid/img/dcoraid_text.svg +222 -0
  80. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/16/application-exit.svg +1 -1
  81. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/16/dialog-cancel.svg +1 -1
  82. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/16/dialog-close.svg +1 -1
  83. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/16/dialog-messages.svg +1 -1
  84. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/16/dialog-ok-apply.svg +1 -1
  85. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/16/dialog-ok.svg +1 -1
  86. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/16/document-open-folder.svg +1 -1
  87. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/16/document-open.svg +13 -0
  88. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/16/document-save.svg +1 -1
  89. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/16/documentinfo.svg +12 -0
  90. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/16/edit-clear.svg +1 -1
  91. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/16/gtk-preferences.svg +1 -1
  92. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/16/messagebox_warning.svg +1 -1
  93. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/16/preferences-activities.svg +1 -1
  94. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/22/application-exit.svg +13 -0
  95. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/22/dialog-cancel.svg +1 -1
  96. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/22/dialog-close.svg +10 -0
  97. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/22/dialog-messages.svg +1 -1
  98. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/22/dialog-ok-apply.svg +1 -1
  99. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/22/dialog-ok.svg +1 -1
  100. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/22/document-open-folder.svg +1 -1
  101. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/22/document-open.svg +14 -14
  102. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/22/document-save.svg +1 -1
  103. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/22/documentinfo.svg +1 -1
  104. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/22/edit-clear.svg +1 -1
  105. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/22/gtk-preferences.svg +1 -1
  106. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/22/messagebox_warning.svg +1 -1
  107. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/22/preferences-activities.svg +1 -1
  108. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/24/application-exit.svg +13 -0
  109. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/24/dialog-cancel.svg +14 -0
  110. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/24/dialog-close.svg +10 -0
  111. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/24/dialog-messages.svg +14 -0
  112. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/24/dialog-ok-apply.svg +14 -0
  113. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/24/dialog-ok.svg +14 -0
  114. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/24/document-open-folder.svg +3 -4
  115. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/24/document-open.svg +3 -4
  116. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/24/document-save.svg +3 -4
  117. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/24/documentinfo.svg +14 -0
  118. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/24/edit-clear.svg +3 -4
  119. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/24/gtk-preferences.svg +13 -0
  120. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/24/messagebox_warning.svg +17 -0
  121. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/24/preferences-activities.svg +1 -1
  122. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/32/application-exit.svg +8 -0
  123. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/32/dialog-cancel.svg +1 -1
  124. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/32/dialog-messages.svg +1 -1
  125. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/32/dialog-ok-apply.svg +1 -0
  126. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/32/dialog-ok.svg +1 -0
  127. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/32/document-open.svg → dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/32/document-open-folder.svg +1 -1
  128. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/32/document-open.svg +13 -0
  129. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/actions/32/document-save.svg +1 -1
  130. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/actions/32/gtk-preferences.svg +17 -0
  131. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/status/16/dialog-information.svg +1 -1
  132. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/status/16/dialog-warning.svg +10 -0
  133. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/status/22/dialog-error.svg +13 -0
  134. {dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/status/24 → dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/status/22}/dialog-information.svg +1 -1
  135. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/status/22/dialog-question.svg +13 -0
  136. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/status/22/dialog-warning.svg +1 -0
  137. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/status/24/dialog-error.svg +13 -0
  138. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/status/24/dialog-information.svg +13 -0
  139. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/status/24/dialog-question.svg +13 -0
  140. dcoraid-0.14.2/dcoraid/img/icon-theme/breeze/status/24/dialog-warning.svg +1 -0
  141. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/collect_icons.py +22 -6
  142. dcoraid-0.14.2/dcoraid/img/icon-theme/dcoraid/dcor.png +0 -0
  143. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/angle-down.svg +1 -0
  144. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/angles-down.svg +1 -0
  145. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/ban.svg +1 -0
  146. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/book.svg +1 -0
  147. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/broom.svg +1 -0
  148. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/check-double.svg +1 -0
  149. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/child.svg +1 -0
  150. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/circle.svg +1 -0
  151. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/fontawesome/solid/clinic-medical.svg +1 -1
  152. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/code-branch.svg +1 -0
  153. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/fontawesome/solid/cogs.svg +1 -1
  154. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/download.svg +1 -0
  155. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/fontawesome/solid/exclamation-triangle.svg +1 -1
  156. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/eye.svg +1 -0
  157. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/filter.svg +1 -0
  158. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/folder.svg +1 -0
  159. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/globe.svg +1 -0
  160. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/hat-wizard.svg +1 -0
  161. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/hourglass.svg +1 -0
  162. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/info.svg +1 -0
  163. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/people-arrows.svg +1 -0
  164. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/people-carry.svg +1 -0
  165. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/puzzle-piece.svg +1 -0
  166. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/fontawesome/solid/redo.svg +1 -1
  167. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/scroll.svg +1 -0
  168. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/shipping-fast.svg +1 -0
  169. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/slash.svg +1 -0
  170. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/street-view.svg +1 -0
  171. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/tag.svg +1 -0
  172. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/fontawesome/solid/trash-alt.svg +1 -1
  173. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/trash.svg +1 -0
  174. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/fontawesome/solid/undo.svg +1 -1
  175. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/upload.svg +1 -0
  176. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/user-lock.svg +1 -0
  177. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/fontawesome/solid/user-times.svg +1 -1
  178. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/user.svg +1 -0
  179. dcoraid-0.14.2/dcoraid/img/icon-theme/fontawesome/solid/users.svg +1 -0
  180. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/index.theme +7 -7
  181. dcoraid-0.14.2/dcoraid/img/splash.png +0 -0
  182. dcoraid-0.14.2/dcoraid/img/splash.svg +316 -0
  183. dcoraid-0.14.2/dcoraid/upload/__init__.py +3 -0
  184. dcoraid-0.14.2/dcoraid/upload/job.py +547 -0
  185. dcoraid-0.14.2/dcoraid/upload/queue.py +344 -0
  186. dcoraid-0.14.2/dcoraid/upload/task.py +394 -0
  187. dcoraid-0.14.2/dcoraid/worker/__init__.py +3 -0
  188. dcoraid-0.14.2/dcoraid/worker/daemon.py +76 -0
  189. {dcoraid-0.0.7/dcoraid/upload → dcoraid-0.14.2/dcoraid/worker}/kthread.py +21 -12
  190. dcoraid-0.14.2/dcoraid.egg-info/PKG-INFO +68 -0
  191. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid.egg-info/SOURCES.txt +89 -15
  192. dcoraid-0.14.2/dcoraid.egg-info/entry_points.txt +3 -0
  193. dcoraid-0.14.2/dcoraid.egg-info/requires.txt +9 -0
  194. dcoraid-0.14.2/docs/notes/software_design.svg +743 -0
  195. dcoraid-0.14.2/pyproject.toml +53 -0
  196. dcoraid-0.14.2/setup.cfg +4 -0
  197. dcoraid-0.14.2/tests/.gitignore +1 -0
  198. dcoraid-0.14.2/tests/__init__.py +0 -0
  199. dcoraid-0.14.2/tests/common.py +148 -0
  200. dcoraid-0.14.2/tests/conftest.py +124 -0
  201. dcoraid-0.14.2/tests/data/calibration_beads_47.rtdc +0 -0
  202. dcoraid-0.14.2/tests/data/calibration_beads_47_nocomp.rtdc +0 -0
  203. dcoraid-0.14.2/tests/requirements.txt +4 -0
  204. dcoraid-0.14.2/tests/test_api_base.py +27 -0
  205. dcoraid-0.14.2/tests/test_api_dataset.py +163 -0
  206. dcoraid-0.14.2/tests/test_cli_upload_task.py +165 -0
  207. dcoraid-0.14.2/tests/test_common.py +12 -0
  208. dcoraid-0.14.2/tests/test_dbmodel_api.py +176 -0
  209. dcoraid-0.14.2/tests/test_download_job.py +175 -0
  210. dcoraid-0.14.2/tests/test_download_queue.py +186 -0
  211. dcoraid-0.14.2/tests/test_download_task.py +22 -0
  212. dcoraid-0.14.2/tests/test_gui.py +359 -0
  213. dcoraid-0.14.2/tests/test_upload_job.py +232 -0
  214. dcoraid-0.14.2/tests/test_upload_queue.py +378 -0
  215. dcoraid-0.14.2/tests/test_upload_task.py +553 -0
  216. dcoraid-0.0.7/CHANGELOG +0 -27
  217. dcoraid-0.0.7/PKG-INFO +0 -56
  218. dcoraid-0.0.7/dcoraid/__init__.py +0 -1
  219. dcoraid-0.0.7/dcoraid/__main__.py +0 -45
  220. dcoraid-0.0.7/dcoraid/_version.py +0 -197
  221. dcoraid-0.0.7/dcoraid/_version_save.py +0 -3
  222. dcoraid-0.0.7/dcoraid/api.py +0 -243
  223. dcoraid-0.0.7/dcoraid/dbmodel/__init__.py +0 -1
  224. dcoraid-0.0.7/dcoraid/dbmodel/core.py +0 -219
  225. dcoraid-0.0.7/dcoraid/dbmodel/model_api.py +0 -131
  226. dcoraid-0.0.7/dcoraid/dbmodel/util.py +0 -21
  227. dcoraid-0.0.7/dcoraid/gui/dbview/filter_base.py +0 -60
  228. dcoraid-0.0.7/dcoraid/gui/dbview/filter_base.ui +0 -80
  229. dcoraid-0.0.7/dcoraid/gui/dbview/filter_chain.py +0 -86
  230. dcoraid-0.0.7/dcoraid/gui/dbview/filter_views.py +0 -35
  231. dcoraid-0.0.7/dcoraid/gui/main.py +0 -249
  232. dcoraid-0.0.7/dcoraid/gui/maintenance/widget_maintenance.py +0 -38
  233. dcoraid-0.0.7/dcoraid/gui/preferences/dlg_preferences.py +0 -159
  234. dcoraid-0.0.7/dcoraid/gui/tools/bg_thread.py +0 -29
  235. dcoraid-0.0.7/dcoraid/gui/upload/dlg_upload.py +0 -273
  236. dcoraid-0.0.7/dcoraid/gui/upload/dlg_upload.ui +0 -482
  237. dcoraid-0.0.7/dcoraid/gui/upload/widget_upload.py +0 -159
  238. dcoraid-0.0.7/dcoraid/gui/wizard/__init__.py +0 -147
  239. dcoraid-0.0.7/dcoraid/img/dcoraid_text.png +0 -0
  240. dcoraid-0.0.7/dcoraid/img/dcoraid_text.svg +0 -174
  241. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/16/document-open.svg +0 -13
  242. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/16/documentinfo.svg +0 -13
  243. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/22/application-exit.svg +0 -3
  244. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/22/dialog-close.svg +0 -6
  245. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/24/application-exit.svg +0 -3
  246. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/24/dialog-cancel.svg +0 -13
  247. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/24/dialog-close.svg +0 -17
  248. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/24/dialog-messages.svg +0 -13
  249. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/24/dialog-ok-apply.svg +0 -13
  250. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/24/dialog-ok.svg +0 -13
  251. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/24/documentinfo.svg +0 -13
  252. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/24/gtk-preferences.svg +0 -13
  253. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/24/messagebox_warning.svg +0 -21
  254. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/32/application-exit.svg +0 -6
  255. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/actions/32/dialog-ok-apply.svg +0 -13
  256. dcoraid-0.0.7/dcoraid/img/icon-theme/breeze/status/22/dialog-information.svg +0 -13
  257. dcoraid-0.0.7/dcoraid/img/icon-theme/dcoraid/dcor.png +0 -0
  258. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/ban.svg +0 -1
  259. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/book.svg +0 -1
  260. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/check-double.svg +0 -1
  261. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/child.svg +0 -1
  262. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/circle.svg +0 -1
  263. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/eye.svg +0 -1
  264. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/filter.svg +0 -1
  265. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/folder.svg +0 -1
  266. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/globe.svg +0 -1
  267. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/hourglass.svg +0 -1
  268. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/puzzle-piece.svg +0 -1
  269. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/slash.svg +0 -1
  270. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/tag.svg +0 -1
  271. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/trash.svg +0 -1
  272. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/user-lock.svg +0 -1
  273. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/user.svg +0 -1
  274. dcoraid-0.0.7/dcoraid/img/icon-theme/fontawesome/solid/users.svg +0 -1
  275. dcoraid-0.0.7/dcoraid/img/splash.png +0 -0
  276. dcoraid-0.0.7/dcoraid/img/splash.svg +0 -227
  277. dcoraid-0.0.7/dcoraid/settings.py +0 -187
  278. dcoraid-0.0.7/dcoraid/upload/__init__.py +0 -4
  279. dcoraid-0.0.7/dcoraid/upload/dataset.py +0 -195
  280. dcoraid-0.0.7/dcoraid/upload/job.py +0 -345
  281. dcoraid-0.0.7/dcoraid/upload/queue.py +0 -123
  282. dcoraid-0.0.7/dcoraid.egg-info/PKG-INFO +0 -56
  283. dcoraid-0.0.7/dcoraid.egg-info/entry_points.txt +0 -3
  284. dcoraid-0.0.7/dcoraid.egg-info/requires.txt +0 -5
  285. dcoraid-0.0.7/setup.cfg +0 -10
  286. dcoraid-0.0.7/setup.py +0 -43
  287. dcoraid-0.0.7/tests/common.py +0 -22
  288. dcoraid-0.0.7/tests/conftest.py +0 -24
  289. dcoraid-0.0.7/tests/test_dbmodel_api.py +0 -67
  290. dcoraid-0.0.7/tests/test_dbmodel_util.py +0 -30
  291. dcoraid-0.0.7/tests/test_settings.py +0 -19
  292. dcoraid-0.0.7/tests/test_upload_dataset.py +0 -94
  293. dcoraid-0.0.7/tests/test_upload_queue.py +0 -59
  294. {dcoraid-0.0.7 → dcoraid-0.14.2}/LICENSE +0 -0
  295. {dcoraid-0.0.7 → dcoraid-0.14.2}/MANIFEST.in +0 -0
  296. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/__init__.py +0 -0
  297. {dcoraid-0.0.7/dcoraid/gui/maintenance → dcoraid-0.14.2/dcoraid/gui/browse_public}/__init__.py +0 -0
  298. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/dbview/__init__.py +0 -0
  299. {dcoraid-0.0.7/dcoraid/gui/upload → dcoraid-0.14.2/dcoraid/gui/download}/__init__.py +0 -0
  300. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/preferences/__init__.py +0 -0
  301. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/gui/upload/widget_supplement_tags.ui +0 -0
  302. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/COPYING-ICONS +0 -0
  303. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/COPYING.LIB +0 -0
  304. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/README +0 -0
  305. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/status/64/dialog-error.svg +0 -0
  306. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/status/64/dialog-information.svg +0 -0
  307. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/status/64/dialog-question.svg +0 -0
  308. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/breeze/status/64/dialog-warning.svg +0 -0
  309. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon-theme/fontawesome/LICENSE.txt +0 -0
  310. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon.png +0 -0
  311. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid/img/icon.svg +0 -0
  312. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid.egg-info/dependency_links.txt +0 -0
  313. {dcoraid-0.0.7 → dcoraid-0.14.2}/dcoraid.egg-info/top_level.txt +0 -0
@@ -0,0 +1,76 @@
1
+ name: Checks
2
+
3
+ on:
4
+ push:
5
+ pull_request:
6
+
7
+ jobs:
8
+ build:
9
+
10
+ runs-on: ${{ matrix.os }}
11
+ strategy:
12
+ max-parallel: 1 # do not run jobs in parallel to spare DCOR-dev
13
+ fail-fast: false
14
+ matrix:
15
+ python-version: ['3.10']
16
+ os: [macos-latest, ubuntu-latest, windows-latest]
17
+ env:
18
+ # Display must be available globally for linux to know where xvfb is
19
+ DISPLAY: :0
20
+
21
+ steps:
22
+ - uses: actions/checkout@v3
23
+ with:
24
+ fetch-depth: 0
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v4
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+ - name: Setup xvfb (Linux)
30
+ if: runner.os == 'Linux'
31
+ run: |
32
+ sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0
33
+ # start xvfb in the background
34
+ sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &
35
+ - name: Install Python dependencies
36
+ run: |
37
+ # prerequisites
38
+ python -m pip install --upgrade pip wheel
39
+ python -m pip install coverage flake8
40
+ python -m pip install -r tests/requirements.txt
41
+ # install dependencies
42
+ pip install .[GUI]
43
+ # show installed packages
44
+ pip freeze
45
+ - name: Start application and print version
46
+ env:
47
+ # Display must be available globally for linux to know where xvfb is
48
+ QT_DEBUG_PLUGINS: 1
49
+ run: |
50
+ python -m dcoraid --version
51
+ - name: Test with pytest
52
+ # Use bash on Windows, otherwise || exit 0 does not work
53
+ shell: bash
54
+ env:
55
+ DCOR_API_KEY: ${{ secrets.DCOR_API_KEY }}
56
+ # Tests always pass but pytest sometimes fails with 138 or 139 due to
57
+ # threading issues. We check in the next step whether any tests failed.
58
+ run: |
59
+ coverage run --source=dcoraid -m pytest tests --ignore tests/test_gui.py -x
60
+ # The GUI tests segfault randomly (test in next step whether it worked)
61
+ coverage run --source=dcoraid -m pytest tests/test_gui.py -x || exit 0
62
+ - name: Test whether test passed
63
+ # check if pytest wrote failures to the "pytest-failures.txt" file
64
+ # (exits 0 if the file does not exist)
65
+ run: |
66
+ test ! -f "pytest-failures.txt"
67
+ - name: Lint with flake8
68
+ run: |
69
+ flake8 --exclude _version.py .
70
+ - name: Upload coverage to Codecov
71
+ uses: codecov/codecov-action@v3
72
+ - name: Create app and check if it runs (macOS)
73
+ if: runner.os == 'macOS'
74
+ working-directory: ./build-recipes
75
+ run: |
76
+ bash ./macos_build_app.sh DCOR-Aid $(python -m dcoraid --version)
@@ -0,0 +1,59 @@
1
+ name: Deploy to GitHub Releases
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - '*'
7
+
8
+ env:
9
+ PYINSTALLER_COMPILE_BOOTLOADER: 1
10
+
11
+ jobs:
12
+ build:
13
+ name: Create Release
14
+ runs-on: ${{ matrix.os }}
15
+ strategy:
16
+ matrix:
17
+ python-version: ["3.10"]
18
+ os: [macos-latest, windows-latest]
19
+ steps:
20
+ - name: Set env
21
+ shell: bash
22
+ run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
23
+ - uses: actions/checkout@v3
24
+ - name: Set up Python ${{ matrix.python-version }}
25
+ uses: actions/setup-python@v4
26
+ with:
27
+ python-version: ${{ matrix.python-version }}
28
+ - name: Install dependencies
29
+ run: |
30
+ python -m pip install --upgrade pip
31
+ pip install setuptools wheel twine
32
+ pip install .[GUI]
33
+ - name: Build macOS app
34
+ if: runner.os == 'macOS'
35
+ working-directory: ./build-recipes
36
+ run: |
37
+ bash ./macos_build_app.sh DCOR-Aid ${{ env.RELEASE_VERSION }}
38
+ - name: Build windows executable
39
+ if: runner.os == 'windows'
40
+ working-directory: ./build-recipes
41
+ run: |
42
+ pip install -r win_build_requirements.txt
43
+ pyinstaller -y --log-level=WARN win_DCOR-Aid.spec
44
+ # Run the binary (the most simple test)
45
+ dist\\DCOR-Aid\\DCOR-Aid.exe --version
46
+ python win_make_iss.py
47
+ ISCC.exe /Q win_dcoraid.iss
48
+ - name: Release Assets
49
+ uses: softprops/action-gh-release@v1
50
+ with:
51
+ name: DCOR-Aid ${{ env.RELEASE_VERSION }}
52
+ draft: true
53
+ prerelease: false
54
+ body: |
55
+ ![](https://img.shields.io/github/downloads/DCOR-dev/DCOR-Aid/${{ env.RELEASE_VERSION }}/total.svg)
56
+ files: |
57
+ ./build-recipes/dist/*.dmg
58
+ ./build-recipes/dist/*.pkg
59
+ ./build-recipes/Output/*.exe
@@ -0,0 +1,31 @@
1
+ name: Deploy to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - '*'
7
+
8
+ jobs:
9
+ deploy:
10
+
11
+ runs-on: ubuntu-latest
12
+
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - name: Set up Python
16
+ uses: actions/setup-python@v4
17
+ with:
18
+ python-version: '3.10'
19
+ - name: Install dependencies
20
+ run: |
21
+ python -m pip install --upgrade pip
22
+ pipx install twine
23
+ pip install .[GUI]
24
+ - name: Build and publish
25
+ env:
26
+ TWINE_USERNAME: __token__
27
+ TWINE_PASSWORD: ${{ secrets.PYPI_PWD }}
28
+ run: |
29
+ pipx run build --sdist
30
+ pipx run build --wheel
31
+ twine upload --skip-existing dist/*
@@ -0,0 +1,111 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ *.egg-info/
24
+ .installed.cfg
25
+ *.egg
26
+ MANIFEST
27
+
28
+ # PyInstaller
29
+ # Usually these files are written by a python script from a template
30
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
31
+ *.manifest
32
+
33
+ # Installer logs
34
+ pip-log.txt
35
+ pip-delete-this-directory.txt
36
+
37
+ # Unit test / coverage reports
38
+ htmlcov/
39
+ .tox/
40
+ .coverage
41
+ .coverage.*
42
+ .cache
43
+ nosetests.xml
44
+ coverage.xml
45
+ *.cover
46
+ .hypothesis/
47
+ .pytest_cache/
48
+
49
+ # Translations
50
+ *.mo
51
+ *.pot
52
+
53
+ # Django stuff:
54
+ *.log
55
+ local_settings.py
56
+ db.sqlite3
57
+
58
+ # Flask stuff:
59
+ instance/
60
+ .webassets-cache
61
+
62
+ # Scrapy stuff:
63
+ .scrapy
64
+
65
+ # Sphinx documentation
66
+ docs/_build/
67
+
68
+ # PyBuilder
69
+ target/
70
+
71
+ # Jupyter Notebook
72
+ .ipynb_checkpoints
73
+
74
+ # pyenv
75
+ .python-version
76
+
77
+ # celery beat schedule file
78
+ celerybeat-schedule
79
+
80
+ # SageMath parsed files
81
+ *.sage.py
82
+
83
+ # Environments
84
+ .env
85
+ .venv
86
+ env/
87
+ venv/
88
+ ENV/
89
+ env.bak/
90
+ venv.bak/
91
+
92
+ # Spyder project settings
93
+ .spyderproject
94
+ .spyproject
95
+
96
+ # Rope project settings
97
+ .ropeproject
98
+
99
+ # mkdocs documentation
100
+ /site
101
+
102
+ # mypy
103
+ .mypy_cache/
104
+
105
+
106
+ docs/*.bib.bak
107
+
108
+ .idea
109
+ pytest-failures.txt
110
+
111
+ _version.py
@@ -0,0 +1,427 @@
1
+ 0.14.2
2
+ - fix: avoid error in upload tab when no jobs are present
3
+ - enh: add logging tab in GUI
4
+ - docs: improve doc strings
5
+ - ref: improve logging
6
+ - tests: reduce segmentation faults during testing (#14)
7
+ - setup: bump dclab from 0.58.5 to 0.58.7
8
+ 0.14.1
9
+ - setup: fix build pipeline (remove editable install)
10
+ 0.14.0
11
+ - feat: support new DCOR API for uploading data directly to S3
12
+ - feat: perform faster ETag verification instead of SHA256 summing
13
+ - enh: add api.errors.APIBadRequest error class
14
+ - enh: speed-up resource download by computing SHA256 while downloading
15
+ - enh: improve logging
16
+ - setup: bump dclab from 0.57.0 to 0.58.5
17
+ - setup: migrate from setup.py to pyproject.toml
18
+ 0.13.3
19
+ - setup: bump dclab from 0.55.7 to 0.57.0
20
+ 0.13.2
21
+ - setup: bump dclab from 0.52.0 to 0.55.7
22
+ 0.13.1
23
+ - fix: handle not-found-errors for non-existent resource downloads
24
+ - ref: replace setuptools pkg_resources with importlib.resources
25
+ 0.13.0
26
+ - setup: drop support for Python 3.9
27
+ - ci: migrate from appveyor to GitHub Actions
28
+ 0.12.9
29
+ - fix: twisted error message upon SHA-256 upload verification (#73)
30
+ - fix: user_show raised unexpected APINotFoundError in wizard
31
+ - fix: support None as empty API key
32
+ - fix: explain to user how to create API token, since CKAN 2.10 does
33
+ not support automatic generation of API keys anymore
34
+ - fix: workaround for broken CKAN logic in user_show
35
+ - enh: skip SSL verification via DCORAID_SKIP_SSL_VERIFY environment variable
36
+ - enh: add ``__repr__`` for ``CKANAPI``
37
+ - ref: introduce `CKANAPI.ckan_version_object` fetching the CKAN version
38
+ 0.12.8:
39
+ - fix: set row count to zero when all jobs are removed from upload queue
40
+ - enh: increase buffer size for uploads to 4MB
41
+ 0.12.7
42
+ - setup: bump requests to 2.31.0 (CVE-2023-32681)
43
+ - setup: bump dclab from 0.50.2 to 0.52.0
44
+ 0.12.6
45
+ - fix: properly propagate SystemExit exit codes
46
+ 0.12.5
47
+ - fix: make CACHE_DIR an optional argument to dclab-upload-task
48
+ 0.12.4
49
+ - fix: error message in preferences user tab no connection available
50
+ - enh: allow to select upload cache directory in CLI
51
+ - enh: allow to select upload cache directory in GUI
52
+ - enh: make sure temporary cache directories for uploads are removed
53
+ - enh: replace lru_cache with weak_lru_cache for instance methods
54
+ - setup: bump dclab from 0.49.0 to 0.50.2
55
+ - setup: bump urllib3 to 2.0
56
+ - setup: bump requests_toolbelt to 1.0
57
+ 0.12.3
58
+ - setup: bump dclab from 0.48.4 to 0.49.0 (support tables)
59
+ 0.12.2
60
+ - setup: stop pinning dclab version
61
+ 0.12.1
62
+ - enh: GUI map "Search" button to "Enter" in "Find Data" UI
63
+ - enh: GUI workaround for unresponsive widgets in tab widget: add labels
64
+ - ref: GUI migrate "browse public" tab to its own widget
65
+ 0.12.0
66
+ - feat: GUI append the directory name to ZMD (M001_data.rtdc) uploads
67
+ - feat: GUI support drag&drop of task files to upload tab (#70)
68
+ - enh: replace ttl_cache with requests_cache (#69)
69
+ - fix: aborting one upload/download job aborts all jobs (#71)
70
+ 0.11.21
71
+ - fix: reduce progress print statements in dcoraid-upload-task CLI
72
+ - fix: occasionally the download path was computed incorrectly
73
+ - enh: GUI check for visibility before updating widgets with QTimer
74
+ 0.11.20
75
+ - setup: bump dclab from 0.48.2 to 0.48.4
76
+ 0.11.19
77
+ - setup: bump dclab from 0.48.1 to 0.48.2
78
+ 0.11.18
79
+ - setup: bump dclab from 0.47.4 to 0.48.1
80
+ 0.11.17
81
+ - setup: bump dclab from 0.47.2 to 0.47.4
82
+ 0.11.16
83
+ - fix: return exit status 0 when using CLI with --version flag
84
+ 0.11.15
85
+ - setup: bump dclab from 0.47.1 to 0.47.2
86
+ 0.11.14
87
+ - fix: logs cluttered with warning messages when no API key is set
88
+ - enh: add --version flag to CLI
89
+ - setup: bump dclab from 0.47.0 to 0.47.1
90
+ 0.11.13
91
+ - maintenance release
92
+ 0.11.12
93
+ - enh: retry on connection errors when using CLI for uploads (#66)
94
+ 0.11.11
95
+ - fix: refactor "Job list not initialized!" exception in GUI into a
96
+ logger warning (#65)
97
+ 0.11.10
98
+ - setup: bump dclab from 0.46.4 to 0.47.0 (new feature)
99
+ 0.11.9
100
+ - setup: bump dclab from 0.46.0 to 0.46.4 (new features)
101
+ 0.11.8
102
+ - fix: check the circle name before uploading (#64)
103
+ - fix: force initialization of jobs in upload widget (#63)
104
+ - setup: bump dclab from 0.45.0 to 0.46.0
105
+ 0.11.7
106
+ - setup: bump dclab from 0.43.1 to 0.45.0 (scalar feature support)
107
+ 0.11.6
108
+ - fix: set visibility to private based on available licenses
109
+ - fix: calling the CLI 'dcoraid-upload-task --help' raised exception
110
+ - fix: add timeout to api.post
111
+ - fix: remove time DCOR-Aid waits for the server from average upload rate
112
+ - enh: unselected license in upload dialog for example data
113
+ - enh: increase logging verbosity
114
+ 0.11.5
115
+ - enh: increase logging verbosity
116
+ - setup: bump dclab from 0.43.0 to 0.43.1
117
+ 0.11.4
118
+ - build: use InnoSetup "autopf" feature for installation directory
119
+ - enh: add return values to command-line uploader
120
+ 0.11.3
121
+ - setup: bump dclab from 0.42.0 to 0.43.0 (improved compression)
122
+ - setup: include zstandard library in distribution installer
123
+ 0.11.2
124
+ - fix: make sure self-signed SSL certificates of DCOR-med instances
125
+ are used everywhere (#61)
126
+ - fix: raise error when an .rtdc file contains undefined features (#55)
127
+ - ref: move dcor access token code to dclab
128
+ - setup: bump dclab from 0.40.0 to 0.42.0
129
+ 0.11.1
130
+ - fix: CLI did not verify individual upload steps (#59)
131
+ - enh: add additional step "wait-dcor" during verification task (#54)
132
+ - ref: get rid of distutils dependency
133
+ 0.11.0
134
+ - feat: support downloading condensed .rtdc files
135
+ - enh: allow user to choose download location via preferences (#43)
136
+ - ref: download jobs no longer are identified via `resource_id`, but
137
+ via `job_id`, because we now have condensed resources
138
+ - setup: bump dclab from 0.39.15 to 0.40.0
139
+ 0.10.0
140
+ - feat: display paths to resources in Upload tab (#56)
141
+ - fix: make sure DCOR-Aid starts when the server is not reachable (#57)
142
+ - fix: make sure DCOR-Aid starts when the API token is wrong (#57)
143
+ - enh: add with_api_key and with_correct_version keyword arguments to
144
+ CKANAPI.is_available
145
+ - ref: do not update login status asyncronously in the background
146
+ - ref: new status_widget submodule
147
+ - setup: DCOR-Aid 0.10.0 requires CKAN 2.9.4 on the server side
148
+ - setup: bump dclab from 0.39.3 to 0.39.15
149
+ 0.9.2
150
+ - ci: turn tests into a submodule
151
+ - ref: add pyqtSlot decorators where misssing
152
+ - ref: cleanup threads to isolate #14
153
+ 0.9.1
154
+ - fix: don't print upload job when upload is completed in CLI
155
+ - fix: daemonize background thread in CLI dcoraid-upload-task
156
+ - setup: bump dclab from 0.38.2 to 0.39.3
157
+ 0.9.0
158
+ - feat: add CLI command dcoraid-upload-task for uploading individual
159
+ tasks from the command line, bypassing the GUI (#37)
160
+ 0.8.6:
161
+ - tests: did not run on Windows
162
+ 0.8.5
163
+ - enh: introduce APIOutdatedError (server response)
164
+ - enh: inform the user to upgrade DCOR-Aid, if the server does not
165
+ support the current version
166
+ - fix: handle spaces in uploaded resources names (#51)
167
+ - ref: combine response handling for API GET and POST requests
168
+ 0.8.4
169
+ - fix: properly handle "user_list" for anonymous users
170
+ - ref: reorganized APIErros
171
+ 0.8.3
172
+ - fix: APIConflictError "input field id was not expected"
173
+ when loading tasks and attempting to create a new dataset
174
+ 0.8.2
175
+ - enh: include datasets share with the user in the "My Data" tab
176
+ - fix: catch OSError when trying to load a task that is on an
177
+ unmounted network share (#48)
178
+ - fix: tell users when persistent tasks cannot be loaded because
179
+ the paths to the resources are invalid (#48)
180
+ - ref: extended APIInterrogator by `registry_id` and `__contains__`
181
+ 0.8.1
182
+ - fix: missed a case for task dataset IDs that don't exist but
183
+ have been stored in the persistent task dictionary
184
+ 0.8.0
185
+ - feat: allow to add datasets to a collection (#11)
186
+ - fix: allow empty lines in PersistentTaskDatasetIDDict files
187
+ - fix: properly handle task dataset IDs that don't exist (#19)
188
+ 0.7.10
189
+ - enh: improve spacing in GUI design (#44)
190
+ - enh: make sure there are no uploads without RT-DC files
191
+ - fix: download in "My Data" tab did not work (#42)
192
+ - ref: remove old code that cleared old cache and
193
+ get rid of the appdirs dependency
194
+ - setup: make pyqt5 an optional dependency (#39)
195
+ 0.7.9
196
+ - fix: skip passing emtpy-valued API-Key (#41)
197
+ - enh: added logging capabilities (#18)
198
+ 0.7.8
199
+ - setup: bump dclab from 0.38.1 to 0.38.2 (#40)
200
+ 0.7.7
201
+ - ref: migrate to package_revise for updating datasets (#28)
202
+ - setup: bump dclab from 0.37.2 to 0.38.1
203
+ 0.7.6
204
+ - enh: add "create_task" function for generating custom .dcoraid-task
205
+ files in Python scripts
206
+ - fix: do not delete drafts that are in the upload queue (#36)
207
+ - setup: bump dclab from 0.36.1 to 0.37.1
208
+ 0.7.5
209
+ - fix: fatal typo in 0.7.4 release
210
+ 0.7.4
211
+ - enh: implement indexing (id and index) in DBExtract
212
+ - enh: make CKANAPI and APIInterrogator available in the root module
213
+ 0.7.3
214
+ - enh: check for CKAN version on startup (#38)
215
+ - ref: add future-compatibility with `user_show` without `id`
216
+ - setup: bump dclab from 0.35.6 to 0.36.1 (improved speed and
217
+ fixed minor issues)
218
+ 0.7.2
219
+ - fix: when --version is passed, don't load the entire UI to prevent
220
+ uploads/downlodas from blocking in the background
221
+ - ref: add pyqtSlots where appropriate
222
+ 0.7.1
223
+ - fix: handle connection errors on startup when no internet connection
224
+ is available (#34)
225
+ - fix: QTimer timeout value for downloads and uploads was too short
226
+ - fix: simplify error messages on connection errors in UI
227
+ - enh: do not re-download already-downloaded resources (#31)
228
+ - enh: implement resume for downloads (#31)
229
+ 0.7.0
230
+ - feat: implement download manager
231
+ - feat: rename first tab to "Find Data" and allow searching for
232
+ private datasets
233
+ - fix: perform sanity checks for datasets (#27)
234
+ - enh: allow to download all resources of a collection (#13)
235
+ - enh: implement search for packages the user has access to
236
+ - enh: implement DBInterrogator functions for generating a private
237
+ user db (partly #5)
238
+ - setup: bump dclab from 0.35.3 to 0.35.6
239
+ - ref: simplify `dbmodel` submodule (just use Interrogator)
240
+ - ref: expand dedicated `api` submodule (moved functions from
241
+ `upload.dataset`)
242
+ - ref: introduce dedicated `common` submodule
243
+ - ref: introduce dedicated `worker` submodule for `KThread` and`Daemon`
244
+ 0.6.4
245
+ - enh: automatically respwan job tasks on connection errors (#26)
246
+ - enh: allow to abort the "compress" step of a job
247
+ - enh: when loading upload tasks that have already been loaded
248
+ before, tell the user how many there were
249
+ 0.6.3
250
+ - setup: bump dclab from 0.35.0 to 0.35.3
251
+ 0.6.2
252
+ - enh: show correct upload speed if some resources were uploaded in
253
+ a previous session
254
+ - fix: set job.state to "error" if the daemon encountered one
255
+ - fix: catch ConnectionError in update_job_status
256
+ 0.6.1
257
+ - fix: handle exceptions in Daemon threads
258
+ - fix: display all resources of a dataset for which the SHA256
259
+ check failed (opposed to just the first)
260
+ - setup: bump dclab from 0.34.6 to 0.35.0
261
+ 0.6.0
262
+ - feat: search and browse public data on a DCOR instance
263
+ - feat: drag resources in data browser to Shape-Out 2.7.0
264
+ (partially #1)
265
+ - setup: bump dclab from 0.34.4 to 0.34.6
266
+ 0.5.11
267
+ - fix: KeyError when checking for existence of resource (#24)
268
+ - enh: drag&drop files to manual upload dialog (#23)
269
+ - enh: set upload rate refresh interval to >3s (#22)
270
+ - enh: permit to only update resource schema supplements when
271
+ executing `dataset.add_resource` with `exist_ok=True`
272
+ 0.5.10
273
+ - fix: removed confusing wait-cursor during circle selection
274
+ - fix: manual upload dialog was shown even though user pressed
275
+ cancel on circle creation (#20)
276
+ - fix: silenced very long error message about connection errors
277
+ in the background thread that refreshes the login status
278
+ - tests: add complementary tests for upload queue and persistent job
279
+ list
280
+ 0.5.9
281
+ - fix: TypeError when attempting a manual upload when the user did not
282
+ have a circle set-up (#17)
283
+ - fix: manual uploads were not added to persistent job list
284
+ 0.5.8
285
+ - fix: introduce LocalTaskResourcesNotFoundError in upload.task
286
+ which results in a custom DCORAidQueueWarning in upload.queue
287
+ in case a dataset resource is not available at the moment;
288
+ previously, this scenario resulted in a FileNotFoundError
289
+ - fix: when loading tasks recursively from a directory, only ask
290
+ once for the circle (if there are multiple available to the user)
291
+ - fix: immortalized jobs that fail to be summoned (e.g. because the
292
+ user moved the resources to a different directory), can now be
293
+ imported again from the orgiginal (albeit moved) .dcoraid-task file
294
+ 0.5.7
295
+ - tests: fix test logic for new anonymous test (#15)
296
+ 0.5.6
297
+ - fix: UnboundLocalError "progress" referenced before assignment,
298
+ because "wait-disk" status was not handled
299
+ - fix: UploadQueue could not handle jobs in PersistentUploadJobList that
300
+ had been deleted on the server
301
+ - fix: Initial startup and anonymous mode did not work, because
302
+ there was an attempt to access the API (#15)
303
+ 0.5.5
304
+ - fix: prevent disk filling up with cached compressed resources if
305
+ new upload jobs are added with dataset IDs that are sorted above
306
+ existing cache directories
307
+ 0.5.4
308
+ - fix: possibly fix white UI window on Windows 7
309
+ - fix: start persistent upload jobs always in same order
310
+ 0.5.3
311
+ - enh: re-use compressed resources from now on
312
+ - enh: check disk usage before compressing data for upload
313
+ - enh: allow to remove zombie cache folders via Maintenance tab
314
+ - ref: upload cache location is now handled with keyword arguments;
315
+ the default is a temporary directory; the GUI uses QStandardPaths
316
+ - ref: migrate favicon location to AppDataLocation
317
+ - ref: migrate upload compress cache to CacheLocation
318
+ (automatically move cached data from old appdirs location)
319
+ - build: base Windows release on Python 3.8
320
+ - setup: require Python 3.8
321
+ 0.5.2
322
+ - enh: write the obtained dataset identifier to task files that
323
+ were successfully imported
324
+ - enh: allow the user to select a circle when uploading tasks that
325
+ don't have any circle defined
326
+ - fix: interface was not updated (e.g. list of uploads), because
327
+ of wrong default parameter
328
+ - fix: avoid upload jobs with invalid dataset IDs
329
+ 0.5.1
330
+ - build: fix Windows build pipeline
331
+ 0.5.0
332
+ - feat: support importing upload jobs from DCOR-Aid task files
333
+ - feat: persistent upload jobs (DCORAid remembers all upload
334
+ jobs and automatically attempts to run them on startup)
335
+ - ref: ckanext-dcor_schemas 0.14.3 now handles activation
336
+ attempts of datasets without resources correctly
337
+ - ref: UploadJob now accepts dataset_id instead of dataset_dict,
338
+ because that is cleaner
339
+ 0.4.6
340
+ - fix: do not anymore ignore APIErrors during upload
341
+ - fix: support "date" type of resource supplements
342
+ - fix: also check for resource metadata before declaring
343
+ an upload successfull
344
+ 0.4.5
345
+ - ui: add stretch spacer item to resource schema supplements
346
+ 0.4.4
347
+ - setup: bump dclab from 0.32.4 to 0.33.3
348
+ 0.4.3
349
+ - ci: workaround for test failures (segmentation faults)
350
+ 0.4.2
351
+ - fix: visibility (private/public) of uploads was not set correctly
352
+ 0.4.1
353
+ - fix: ignore SubjectAltNameWarning for certificates in medical
354
+ branding
355
+ 0.4.0
356
+ - feat: allow to renew and revoke API tokens (#12)
357
+ - fix: selecting dcor-access token file in health-facility wizard
358
+ section did not work.
359
+ - fix: medical scenario should only support private data uploads
360
+ - fix: aborting or restarting an upload job in the GUI did not work
361
+ - fix: use circle name in upload dialog dropdown if title is empty
362
+ - setup: setup.py test is deprecated
363
+ - tests: added first GUI tests
364
+ - docs: pathify logo text
365
+ 0.3.0
366
+ - BREAKING CHANGE: all methods and functions dealing with API calls
367
+ now accept a CKANAPI instance instead of a server and an API key.
368
+ This was necessary, because we have to support certificate pinning.
369
+ - fix: actually use server certificate for "medical" user scenario
370
+ - fix: support new CKAN API tokens
371
+ - setup: bump dclab from 0.32.2 to 0.32.4
372
+ 0.2.2
373
+ - build: fix build macOS pipeline
374
+ 0.2.1
375
+ - build: fix build pipeline
376
+ 0.2.0
377
+ - feat: enable "clinics" in wizard and support encrypted access tokens
378
+ - ci: overhauled build pipeline
379
+ - enh: add APIAuthorizationError class
380
+ 0.1.1
381
+ - setup: bump dclab from 0.28.0 to 0.32.2 (OOM issues during compression)
382
+ - setup: pin dclab (for triaging)
383
+ - build: move build pipeline from travisCI to GitHub Actions
384
+ 0.1.0
385
+ - feat: implement persistent upload resource schema presets (#9)
386
+ - fix: do not allow user to proceed with upload unless 'authors'
387
+ is specified (to avoid cryptic error message)
388
+ - fix: minor issue of visualizing whether user changed
389
+ supplementary resource information
390
+ - enh: enable DCOR usage (anonymous and registered users)
391
+ - enh: make sure the user really wants to upload datasets without
392
+ editing any metadata (#10)
393
+ - enh: improve upload dialog understandability
394
+ - ref: migrate preferences to QSettings
395
+ - ref: refactor upload dialog to a real dialog
396
+ 0.0.9
397
+ - enh: send DCOR-Aid user-agent string
398
+ 0.0.8
399
+ - fix: force restart of DCOR-Aid upon wizard end
400
+ - fix: improve handling of cache and config directories
401
+ 0.0.7
402
+ - fix: allow resuming when upload fails (#3)
403
+ - fix: start even if DCOR is down
404
+ - fix: do not display mean upload rate during upload
405
+ - fix: require restart when server is changed
406
+ - enh: ask user to create a Circle when the user is not member of any
407
+ - enh: add basic wizard functionalities
408
+ - enh: resource upload supports supplementary resource schemas
409
+ - enh: stick to package_revise when finalizing dataset
410
+ - enh: verify resource uploads via SHA256 sum (#7)
411
+ - enh: fetch license list directly from server
412
+ - enh: functionalize action buttons in upload
413
+ - enh: increase verbosity of CKANAPI
414
+ - enh: implement resource compression (#6)
415
+ - ref: move connectivity check and user database update to separate
416
+ background threads
417
+ - ref: store traceback of failed upload in job info
418
+ 0.0.6
419
+ - enh: allow to create the circle if it does not exist during dataset
420
+ creation
421
+ - fix: set "state" to "active" in dictionary returned by `create_dataset`
422
+ - fix: catch error when user uses `CKANAPI.get` when he should use
423
+ `CKANAPI.post`
424
+ 0.0.5
425
+ - basic upload functional
426
+ 0.0.4
427
+ - initial ci release test