libreflow 2.16.1__tar.gz → 2.17.0__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 (326) hide show
  1. {libreflow-2.16.1 → libreflow-2.17.0}/CHANGELOG.md +28 -0
  2. {libreflow-2.16.1 → libreflow-2.17.0}/PKG-INFO +2 -1
  3. {libreflow-2.16.1 → libreflow-2.17.0}/pyproject.toml +1 -0
  4. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/_version.py +2 -2
  5. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/file.py +128 -228
  6. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/kitsu.py +51 -24
  7. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/mytasks.py +5 -1
  8. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/site.py +28 -33
  9. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/importfiles/files_list.py +2 -2
  10. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/importfiles/target_wizard.py +47 -22
  11. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/flow/import_files.py +18 -7
  12. {libreflow-2.16.1 → libreflow-2.17.0}/.gitignore +0 -0
  13. {libreflow-2.16.1 → libreflow-2.17.0}/.gitlab-ci.yml +0 -0
  14. {libreflow-2.16.1 → libreflow-2.17.0}/AUTHORS +0 -0
  15. {libreflow-2.16.1 → libreflow-2.17.0}/LICENSE +0 -0
  16. {libreflow-2.16.1 → libreflow-2.17.0}/README.md +0 -0
  17. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/__init__.py +0 -0
  18. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/__init__.py +0 -0
  19. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/asset.py +0 -0
  20. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/departments.py +0 -0
  21. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/dependency.py +0 -0
  22. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/entity_manager.py +0 -0
  23. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/filesystem/file.py +0 -0
  24. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/filesystem/filesequence.py +0 -0
  25. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/filesystem/fileset.py +0 -0
  26. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/filesystem/filesystemobject.py +0 -0
  27. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/film.py +0 -0
  28. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/lib.py +0 -0
  29. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/maputils.py +0 -0
  30. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/runactions.py +0 -0
  31. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/runners.py +0 -0
  32. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/search.py +0 -0
  33. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/shot.py +0 -0
  34. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/task.py +0 -0
  35. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/task_manager.py +0 -0
  36. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/__init__.py +0 -0
  37. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/controller.py +0 -0
  38. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/delegate.py +0 -0
  39. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/file.py +0 -0
  40. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/file_cell.py +0 -0
  41. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/file_history.py +0 -0
  42. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/file_list.py +0 -0
  43. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/homepage.py +0 -0
  44. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/importfiles/__init__.py +0 -0
  45. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/importfiles/custom_widget.py +0 -0
  46. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/job_queue.py +0 -0
  47. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/mytasks/__init__.py +0 -0
  48. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/mytasks/components.py +0 -0
  49. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/mytasks/edit_dialog.py +0 -0
  50. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/mytasks/file_list.py +0 -0
  51. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/mytasks/mytasks.py +0 -0
  52. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/mytasks/qmodel.py +0 -0
  53. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/qmodel.py +0 -0
  54. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/ui/task.py +0 -0
  55. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/baseflow/users.py +0 -0
  56. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/cli.py +0 -0
  57. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/custom_home/__init__.py +0 -0
  58. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/custom_home/ui.py +0 -0
  59. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/custom_home/wizard.py +0 -0
  60. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/examples/__init__.py +0 -0
  61. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/examples/demoflow/__init__.py +0 -0
  62. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/examples/demoflow/film.py +0 -0
  63. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/examples/demoflow/lib.py +0 -0
  64. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/examples/majorque/__init__.py +0 -0
  65. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/examples/majorque/departments.py +0 -0
  66. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/examples/majorque/file.py +0 -0
  67. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/examples/majorque/film.py +0 -0
  68. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/examples/majorque/kitsu.py +0 -0
  69. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/examples/majorque/lib.py +0 -0
  70. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/examples/majorque/runners.py +0 -0
  71. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/examples/majorque/users.py +0 -0
  72. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/gui.py +0 -0
  73. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/index.py +0 -0
  74. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/jobs_cleaner.py +0 -0
  75. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/jobs_node.py +0 -0
  76. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/__init__.py +0 -0
  77. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/__init__.py +0 -0
  78. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.abc +0 -0
  79. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.aep +0 -0
  80. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.ai +0 -0
  81. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.blend +0 -0
  82. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.fbx +0 -0
  83. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.fla +0 -0
  84. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.jpg +0 -0
  85. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.json +0 -0
  86. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.jsx +0 -0
  87. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.kra +0 -0
  88. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.mov +0 -0
  89. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.mp4 +0 -0
  90. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.nk +0 -0
  91. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.obj +0 -0
  92. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.png +0 -0
  93. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.prproj +0 -0
  94. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.psb +0 -0
  95. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.psd +0 -0
  96. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.tvpp +0 -0
  97. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.txt +0 -0
  98. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.usd +0 -0
  99. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.usda +0 -0
  100. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.usdz +0 -0
  101. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.wav +0 -0
  102. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template.xpix +0 -0
  103. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/file_templates/template_2D.blend +0 -0
  104. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/fonts/SpaceGrotesk-Bold.ttf +0 -0
  105. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/fonts/SpaceGrotesk-Regular.ttf +0 -0
  106. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/fonts/__init__.py +0 -0
  107. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/__init__.py +0 -0
  108. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/applications/__init__.py +0 -0
  109. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/applications/rv.png +0 -0
  110. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/flow/__init__.py +0 -0
  111. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/flow/alembic.png +0 -0
  112. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/flow/explorer.png +0 -0
  113. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/flow/photoshop.png +0 -0
  114. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/flow/quicktime.png +0 -0
  115. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/__init__.py +0 -0
  116. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/add-file.png +0 -0
  117. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/add-folder.png +0 -0
  118. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/arrow-down.png +0 -0
  119. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/arrow-right.png +0 -0
  120. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/check-box-empty-dark.png +0 -0
  121. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/close.png +0 -0
  122. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/duplicate.png +0 -0
  123. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/location-worldwide-disabled.png +0 -0
  124. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/location-worldwide.png +0 -0
  125. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/maximize.png +0 -0
  126. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/menu.png +0 -0
  127. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/menu_dots.png +0 -0
  128. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/minimize.png +0 -0
  129. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/mytasks-disabled.png +0 -0
  130. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/mytasks.png +0 -0
  131. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/nav-arrow-left-disabled.png +0 -0
  132. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/nav-arrow-left.png +0 -0
  133. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/nav-arrow-refresh-disabled.png +0 -0
  134. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/nav-arrow-refresh.png +0 -0
  135. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/nav-arrow-right-disabled.png +0 -0
  136. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/nav-arrow-right.png +0 -0
  137. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/ref-broken.png +0 -0
  138. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/ref.png +0 -0
  139. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/refresh.png +0 -0
  140. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/send.png +0 -0
  141. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/gui/send2.png +0 -0
  142. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/history/__init__.py +0 -0
  143. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/history/check.png +0 -0
  144. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/history/done.png +0 -0
  145. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/history/init.png +0 -0
  146. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/history/on_kitsu.png +0 -0
  147. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/history/retake.png +0 -0
  148. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/history/wfa.png +0 -0
  149. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/history/wip.png +0 -0
  150. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/history/working_copy.png +0 -0
  151. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/history/working_copy_mine.png +0 -0
  152. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/3d-object.png +0 -0
  153. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/__init__.py +0 -0
  154. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/active_site.png +0 -0
  155. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/afterfx.png +0 -0
  156. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/animate.svg +0 -0
  157. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/archive.png +0 -0
  158. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/available.png +0 -0
  159. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/blank.png +0 -0
  160. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/blender.png +0 -0
  161. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/checked-symbol-colored.png +0 -0
  162. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/checked-symbol-owner.png +0 -0
  163. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/checked-symbol.png +0 -0
  164. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/circle-shape-outline.png +0 -0
  165. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/circle-shape-right-eye-outline.png +0 -0
  166. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/circular-shape-right-eye-silhouette.png +0 -0
  167. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/circular-shape-silhouette.png +0 -0
  168. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/clean.png +0 -0
  169. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/clipboard.png +0 -0
  170. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/compare-previews.png +0 -0
  171. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/cross-mark-on-a-black-circle-background-colored.png +0 -0
  172. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/custom_home_star.png +0 -0
  173. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/delete.png +0 -0
  174. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/dependencies.png +0 -0
  175. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/download.png +0 -0
  176. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/downloadable.png +0 -0
  177. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/duplicate.png +0 -0
  178. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/edit-blank.png +0 -0
  179. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/edit-lock-green.png +0 -0
  180. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/edit-lock-red.png +0 -0
  181. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/error.png +0 -0
  182. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/exchange.png +0 -0
  183. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/exclamation-sign-colored.png +0 -0
  184. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/fbx.png +0 -0
  185. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/firefox.png +0 -0
  186. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/hide.png +0 -0
  187. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/history.png +0 -0
  188. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/illustrator.png +0 -0
  189. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/json.png +0 -0
  190. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/jsx.png +0 -0
  191. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/kitsu.svg +0 -0
  192. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/kitsu_status_done.png +0 -0
  193. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/kitsu_status_oklodv.png +0 -0
  194. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/kitsu_status_omit.png +0 -0
  195. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/kitsu_status_retake.png +0 -0
  196. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/kitsu_status_todo.png +0 -0
  197. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/kitsu_status_wfa.png +0 -0
  198. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/kitsu_status_wip.png +0 -0
  199. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/krita.png +0 -0
  200. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/lock-green.png +0 -0
  201. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/lock-red.png +0 -0
  202. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/log_out.png +0 -0
  203. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/multi-share-option.png +0 -0
  204. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/nuke.png +0 -0
  205. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/origin-site.png +0 -0
  206. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/padlock.png +0 -0
  207. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/padlock_green.png +0 -0
  208. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/padlock_red.png +0 -0
  209. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/premiere-pro.png +0 -0
  210. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/publish-ae.png +0 -0
  211. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/publish-blender.png +0 -0
  212. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/publish-ps.png +0 -0
  213. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/publish.png +0 -0
  214. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/quicktime.png +0 -0
  215. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/refresh.png +0 -0
  216. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/request.png +0 -0
  217. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/requestable.png +0 -0
  218. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/run.png +0 -0
  219. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/share-option.png +0 -0
  220. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/show.png +0 -0
  221. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/stop.png +0 -0
  222. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/sync.png +0 -0
  223. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/sync_arrow.png +0 -0
  224. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/time_format.png +0 -0
  225. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/tvpaint.png +0 -0
  226. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/unavailable.png +0 -0
  227. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/upload.png +0 -0
  228. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/vscodium.png +0 -0
  229. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/waiting.png +0 -0
  230. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/warning.png +0 -0
  231. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/libreflow/watch.png +0 -0
  232. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/status/__init__.py +0 -0
  233. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/status/done.png +0 -0
  234. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/status/err.png +0 -0
  235. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/status/inv.png +0 -0
  236. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/status/none.png +0 -0
  237. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/status/nys.png +0 -0
  238. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/status/oop.png +0 -0
  239. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/status/rtk.png +0 -0
  240. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/status/rvw.png +0 -0
  241. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/status/wait.png +0 -0
  242. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/status/warn.png +0 -0
  243. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/status/wip.png +0 -0
  244. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/tasks/__init__.py +0 -0
  245. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/tasks/animation.svg +0 -0
  246. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/tasks/clean.svg +0 -0
  247. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/tasks/colo.svg +0 -0
  248. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/tasks/compositing.svg +0 -0
  249. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/tasks/design.svg +0 -0
  250. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/tasks/layout.svg +0 -0
  251. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/tasks/lighting.svg +0 -0
  252. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/tasks/modeling.svg +0 -0
  253. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/tasks/rigging.svg +0 -0
  254. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/icons/tasks/shading.svg +0 -0
  255. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/mark_sequence/__init__.py +0 -0
  256. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/mark_sequence/fields/__init__.py +0 -0
  257. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/mark_sequence/fields/default.json +0 -0
  258. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/mark_sequence/fonts/LiberationMono-Regular.ttf +0 -0
  259. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/mark_sequence/fonts/__init__.py +0 -0
  260. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/scripts/__init__.py +0 -0
  261. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/scripts/blender/__init__.py +0 -0
  262. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/scripts/blender/disable_save_keymap.py +0 -0
  263. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/scripts/tvpaint/__init__.py +0 -0
  264. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/scripts/tvpaint/save_dependencies.grg +0 -0
  265. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/styles/__init__.py +0 -0
  266. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/styles/custom_style/__init__.py +0 -0
  267. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/styles/custom_style/custom_style.css +0 -0
  268. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/styles/lfs_tech/__init__.py +0 -0
  269. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/resources/styles/lfs_tech/lfs_tech_style.css +0 -0
  270. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/scripts/__init__.py +0 -0
  271. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/scripts/mark_sequence.py +0 -0
  272. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/scripts/minio_file_downloader.py +0 -0
  273. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/scripts/minio_file_uploader.py +0 -0
  274. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/scripts/minio_progress.py +0 -0
  275. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/scripts/session_worker.py +0 -0
  276. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/session.py +0 -0
  277. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/sync.py +0 -0
  278. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/sync_jobs_cleaner.py +0 -0
  279. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/__init__.py +0 -0
  280. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/b3d.py +0 -0
  281. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/flow/__init__.py +0 -0
  282. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/flow/action_values.py +0 -0
  283. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/flow/context_values.py +0 -0
  284. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/flow/entities.py +0 -0
  285. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/flow/file_processing.py +0 -0
  286. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/flow/process_files.py +0 -0
  287. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/flow/values.py +0 -0
  288. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/__init__.py +0 -0
  289. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/flow_contextual_dict/__init__.py +0 -0
  290. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/flow_contextual_dict/view/__init__.py +0 -0
  291. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/flow_entities/__init__.py +0 -0
  292. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/flow_entities/entities.py +0 -0
  293. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/jobs/__init__.py +0 -0
  294. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/jobs/demo_flow.py +0 -0
  295. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/jobs/jobs_actor.py +0 -0
  296. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/jobs/jobs_flow.py +0 -0
  297. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/jobs/jobs_flow_worker.py +0 -0
  298. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/jobs/jobs_node.py +0 -0
  299. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/jobs/jobs_view.py +0 -0
  300. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/script_view/__init__.py +0 -0
  301. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/script_view/script_view.py +0 -0
  302. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/subprocess_manager/__init__.py +0 -0
  303. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/subprocess_manager/views/__init__.py +0 -0
  304. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/subprocess_manager/views/subprocess_view.py +0 -0
  305. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/ui/__init__.py +0 -0
  306. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/ui/flow_view.py +0 -0
  307. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/ui/main_window.py +0 -0
  308. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/ui/navigation_control.py +0 -0
  309. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/kabaret/ui/widget_view.py +0 -0
  310. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/os.py +0 -0
  311. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/search/__init__.py +0 -0
  312. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/search/actor.py +0 -0
  313. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/search/data/__init__.py +0 -0
  314. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/search/data/icons/__init__.py +0 -0
  315. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/search/data/icons/export.png +0 -0
  316. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/search/data/icons/filter-disabled.png +0 -0
  317. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/search/data/icons/filter-enabled.png +0 -0
  318. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/search/data/icons/import.png +0 -0
  319. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/search/data/icons/magn-glass.png +0 -0
  320. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/search/data/icons/minus-button.png +0 -0
  321. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/search/data/icons/plus-button.png +0 -0
  322. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/search/data/icons/remove.png +0 -0
  323. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/search/data/icons/run-button.png +0 -0
  324. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/search/view.py +0 -0
  325. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/ui/__init__.py +0 -0
  326. {libreflow-2.16.1 → libreflow-2.17.0}/src/libreflow/utils/ui/file_processing.py +0 -0
@@ -19,6 +19,34 @@ Types of changes
19
19
 
20
20
  ## [Unreleased]
21
21
 
22
+ ## [2.17.0] - 2026-09-21
23
+
24
+ ### BREAKING CHANGES
25
+
26
+ * Upload to Kitsu: image and PSD/PSB files are now only uploadable if their extension matches the Kitsu `Uploadable files` parameter (e.g. `*.mp4, *.png, *.psd`).
27
+ * `UploadPNGToKitsu` action has been removed, in favor of the unified `UploadToKitsu` action.
28
+
29
+ ### Added
30
+
31
+ * `psd-tools` dependency, used to manipulate PSD/PSB files.
32
+ * This dependency may only be temporary in the main `libreflow` package: Photoshop-related tools are meant to move to a dedicated extension, in a future refactor.
33
+
34
+ ### Changed
35
+
36
+ * Upload to Kitsu: playblast and image uploads have been merged into a single `UploadToKitsu` action. Movies and images are uploaded as is, PSD/PSB files are flattened into a temporary PNG. `UploadPlayblastToKitsu` is kept as an alias for currently used specific use-cases (in extensions for example).
37
+
38
+ ### Removed
39
+
40
+ * Working site `auto_upload_kitsu_playblasts` option, which uploaded the revision to the exchange server after a Kitsu upload.
41
+
42
+ ## [2.16.2] - 2026-09-16
43
+
44
+ ### Fixed
45
+
46
+ * Sync jobs: the timestamp used to name a job could keep its decimals, and the resulting dot in the object name broke its resolution in the job queue, making synchronization unusable. The timestamp is now explicitly truncated when a job is submitted.
47
+ * Render Blender Playblast: action used from an asset task was unusable, as the run label was mostly built with a shot contextual dict. The label now uses whichever entities the file actually belongs to, on both shot and asset flows. The task name has also been dropped from it, to keep the label short.
48
+ * Import Files: a file with an upper case extension makes the action unusable. Extensions are now resolved, compared and created always in lower case.
49
+
22
50
  ## [2.16.1] - 2026-09-07
23
51
 
24
52
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: libreflow
3
- Version: 2.16.1
3
+ Version: 2.17.0
4
4
  Summary: Asset management tool for VFX and animation studios, built on the Kabaret framework
5
5
  Project-URL: Repository, https://gitlab.com/lfs.coop/libreflow/libreflow
6
6
  Project-URL: Documentation, https://lfscoop.notion.site/libreflow-docs
@@ -29,6 +29,7 @@ Requires-Dist: kabaret-script-view>=1.3.1
29
29
  Requires-Dist: kabaret-subprocess-manager>=1.3.1
30
30
  Requires-Dist: kabaret>=2.4.0rc6
31
31
  Requires-Dist: minio
32
+ Requires-Dist: psd-tools>=1.9
32
33
  Requires-Dist: psutil
33
34
  Requires-Dist: pyside6
34
35
  Requires-Dist: sentry-sdk
@@ -44,6 +44,7 @@ dependencies = [
44
44
  "timeago",
45
45
  "blender-asset-tracer",
46
46
  "psutil",
47
+ "psd-tools>=1.9",
47
48
  "fileseq",
48
49
  "sentry-sdk",
49
50
  ]
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '2.16.1'
22
- __version_tuple__ = version_tuple = (2, 16, 1)
21
+ __version__ = version = '2.17.0'
22
+ __version_tuple__ = version_tuple = (2, 17, 0)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -3,7 +3,9 @@ import sys
3
3
  import getpass
4
4
  import time
5
5
  import datetime
6
+ import enum
6
7
  import shutil
8
+ import tempfile
7
9
  import glob
8
10
  import string
9
11
  import re
@@ -38,7 +40,7 @@ from ..utils.flow import keywords_from_format, EntityRef, EntityRefMap
38
40
  from .maputils import SimpleCreateAction, ClearMapAction
39
41
  from .site import SyncMap, Request, RequestAs, UploadRevision, DownloadRevision, SiteJobsPoolNames, ActiveSiteChoiceValue
40
42
  from .runners import LaunchSessionWorker, FILE_EXTENSIONS, FILE_EXTENSION_ICONS
41
- from .kitsu import KitsuTaskStatus
43
+ from .kitsu import KitsuTaskError, KitsuTaskStatus
42
44
  from .dependency import DependencyView
43
45
 
44
46
  pyversion = sys.version_info
@@ -2364,6 +2366,16 @@ class PlayblastQuality(flow.values.ChoiceValue):
2364
2366
 
2365
2367
 
2366
2368
  class RenderBlenderPlayblast(OpenWithBlenderAction):
2369
+ RUN_LABEL_KEYS = (
2370
+ "film",
2371
+ "sequence",
2372
+ "shot",
2373
+ "asset_lib",
2374
+ "asset_type",
2375
+ "asset_family",
2376
+ "asset",
2377
+ "file_display_name",
2378
+ )
2367
2379
 
2368
2380
  revision_name = flow.Param("", RevisionsChoiceValue).watched()
2369
2381
  quality = flow.Param('Final', PlayblastQuality)
@@ -2386,21 +2398,13 @@ class RenderBlenderPlayblast(OpenWithBlenderAction):
2386
2398
 
2387
2399
  def get_run_label(self):
2388
2400
  settings = get_contextual_dict(self._file, "settings")
2389
-
2390
- entity_label = [
2391
- settings["film"],
2392
- settings["sequence"],
2393
- settings.get("shot", None),
2394
- settings["task"],
2395
- settings["file_display_name"],
2396
- self.revision_name.get()
2397
- ]
2398
-
2399
- if "shot" not in type(self._shot).__name__.lower():
2400
- entity_label.pop(2)
2401
+ keys = self.RUN_LABEL_KEYS
2401
2402
 
2402
2403
  if self.root().project().admin.kitsu.project_type.get() != "tvshow":
2403
- entity_label.pop(0)
2404
+ keys = [k for k in keys if k != "film"]
2405
+
2406
+ entity_label = [settings[k] for k in keys if settings.get(k)]
2407
+ entity_label.append(self.revision_name.get())
2404
2408
 
2405
2409
  return f"Render playblast - {' '.join(entity_label)}"
2406
2410
 
@@ -3029,7 +3033,29 @@ class ForceToUpload(flow.Action):
3029
3033
  return self._file.upload_playblast.run("Upload")
3030
3034
 
3031
3035
 
3032
- class UploadPlayblastToKitsu(flow.Action):
3036
+ class PreviewType(enum.Enum):
3037
+
3038
+ MOVIE = 0
3039
+ IMAGE = 1
3040
+ LAYERED_IMAGE = 2
3041
+
3042
+
3043
+ class NormalizeMovieValue(flow.values.BoolValue):
3044
+
3045
+ _action = flow.Parent()
3046
+
3047
+ def _fill_ui(self, ui):
3048
+ super()._fill_ui(ui)
3049
+ ui['hidden'] = self._action.preview_type() is not PreviewType.MOVIE
3050
+
3051
+
3052
+ class UploadToKitsu(flow.Action):
3053
+ """
3054
+ Upload a revision of the file as a preview of a Kitsu task.
3055
+
3056
+ Movies and images are uploaded as is, while layered images
3057
+ (PSD, PSB) are first flattened into a temporary PNG.
3058
+ """
3033
3059
 
3034
3060
  ICON = ('icons.libreflow', 'kitsu')
3035
3061
 
@@ -3044,10 +3070,10 @@ class UploadPlayblastToKitsu(flow.Action):
3044
3070
  comment = flow.SessionParam('', PresetSessionValue).ui(editor='textarea')
3045
3071
 
3046
3072
  with flow.group("Advanced"):
3047
- normalize_movie = flow.BoolParam(False)
3073
+ normalize_movie = flow.Param(False, NormalizeMovieValue).ui(editor='bool')
3048
3074
 
3049
3075
  def __init__(self, parent, name):
3050
- super(UploadPlayblastToKitsu, self).__init__(parent, name)
3076
+ super().__init__(parent, name)
3051
3077
  self._kitsu_entity = None
3052
3078
  self.forced = False
3053
3079
 
@@ -3062,6 +3088,17 @@ class UploadPlayblastToKitsu(flow.Action):
3062
3088
 
3063
3089
  return self._kitsu_entity
3064
3090
 
3091
+ def preview_type(self):
3092
+ extension = (self._file.format.get() or '').lower()
3093
+ if extension in ('psd', 'psb'):
3094
+ return PreviewType.LAYERED_IMAGE
3095
+
3096
+ mime_type, _encoding = mimetypes.guess_type(f'preview.{extension}')
3097
+ if mime_type is not None and mime_type.startswith('image/'):
3098
+ return PreviewType.IMAGE
3099
+
3100
+ return PreviewType.MOVIE
3101
+
3065
3102
  def allow_context(self, context):
3066
3103
  kitsu_config = self.root().project().kitsu_config()
3067
3104
  return (
@@ -3120,13 +3157,17 @@ class UploadPlayblastToKitsu(flow.Action):
3120
3157
  task_type = self.target_task_type.get()
3121
3158
  kitsu_entity = self._ensure_kitsu_entity()
3122
3159
 
3123
- msg = "<h2>Upload playblast to Kitsu</h2>"
3160
+ msg = "<h2>Upload preview to Kitsu</h2>"
3161
+
3162
+ if kitsu_entity is None:
3163
+ msg += f"<h3><font color=#FF584D>The Kitsu entity {self._file.display_name.get()} belongs to couldn't be detected. Please contact the support on the chat.</font></h3>"
3164
+ self.message.set(msg)
3165
+ return False
3124
3166
 
3125
- if kitsu_entity is None or task_type is None:
3167
+ if not task_type:
3126
3168
  msg += (
3127
- "<h3><font color=#FF584D>The Kitsu entity %s belongs to "
3128
- "couldn't be detected. Please contact the "
3129
- "support on the chat.</font></h3>" % self._file.display_name.get()
3169
+ "<h3><font color=#FF584D>This file is not linked to any "
3170
+ "task on Kitsu.</font></h3>"
3130
3171
  )
3131
3172
  self.message.set(msg)
3132
3173
  return False
@@ -3134,22 +3175,16 @@ class UploadPlayblastToKitsu(flow.Action):
3134
3175
  # Check if current user is assigned to a Kitsu task this file is made for
3135
3176
  kitsu_api = self.root().project().kitsu_api()
3136
3177
  user = kitsu_api.get_user()
3137
- task = kitsu_api.get_task(kitsu_entity, task_type)
3138
3178
 
3139
3179
  if user is None:
3140
- msg += (
3141
- "<h3><font color=#FF584D>It seems you (%s) have no "
3142
- "user profile on Kitsu. Please contact the "
3143
- "support on the chat.</font></h3>" % self.root().project().get_user_name()
3144
- )
3180
+ msg += f"<h3><font color=#FF584D>It seems you ({self.root().project().get_user_name()}) have no user profile on Kitsu. Please contact the support on the chat.</font></h3>"
3145
3181
  self.message.set(msg)
3146
3182
  return False
3147
3183
 
3148
- if task is None:
3149
- msg += (
3150
- "<h3><font color=#FF584D>This file is not linked to any "
3151
- "task on Kitsu.</font></h3>"
3152
- )
3184
+ try:
3185
+ task = kitsu_api.get_task(kitsu_entity, task_type)
3186
+ except KitsuTaskError as e:
3187
+ msg += f"<h3><font color=#FF584D>{e.user_message}</font></h3>"
3153
3188
  self.message.set(msg)
3154
3189
  return False
3155
3190
 
@@ -3159,11 +3194,7 @@ class UploadPlayblastToKitsu(flow.Action):
3159
3194
 
3160
3195
  if not is_assigned:
3161
3196
  if user_role not in ['admin', 'manager']:
3162
- msg += (
3163
- "<h3><font color=#FF584D>You (%s) are not assigned to "
3164
- "the task this file has been created for.</font></h3>"
3165
- % self.root().project().get_user_name()
3166
- )
3197
+ msg += f"<h3><font color=#FF584D>You ({self.root().project().get_user_name()}) are not assigned to the task this file has been created for.</font></h3>"
3167
3198
  self.message.set(msg)
3168
3199
  return False
3169
3200
  else:
@@ -3171,13 +3202,13 @@ class UploadPlayblastToKitsu(flow.Action):
3171
3202
  'admin': 'studio manager',
3172
3203
  'manager': 'supervisor'
3173
3204
  }
3174
- msg += (
3175
- "<h3>As %s, you can upload a preview for this file.</h3>"
3176
- % user_roles[user_role]
3177
- )
3205
+ msg += f"<h3>As {user_roles[user_role]}, you can upload a preview for this file.</h3>"
3178
3206
 
3179
3207
  # Check is the number of frames in the file is the same as the shot was set on Kitsu
3180
- if kitsu_entity.get("type", None) == "Shot":
3208
+ if (
3209
+ self.preview_type() is PreviewType.MOVIE
3210
+ and kitsu_entity.get("type", None) == "Shot"
3211
+ ):
3181
3212
  is_greater, message = self._check_frame_count()
3182
3213
  if is_greater is False:
3183
3214
  self.message.set(message)
@@ -3208,6 +3239,34 @@ class UploadPlayblastToKitsu(flow.Action):
3208
3239
  )
3209
3240
  self.current_task_status.set(task_status)
3210
3241
 
3242
+ def _prepare_preview(self, revision, tmp_dir):
3243
+ if self.preview_type() is not PreviewType.LAYERED_IMAGE:
3244
+ return revision.get_path()
3245
+
3246
+ file_name = os.path.splitext(self._file.display_name.get())[0]
3247
+ png_path = os.path.join(tmp_dir, f'{file_name}.png')
3248
+
3249
+ try:
3250
+ self._flatten_layered_image(revision.get_path(), png_path)
3251
+ except Exception as e:
3252
+ self.root().session().log_error(traceback.format_exc())
3253
+ self.message.set(
3254
+ "<h2>Upload preview to Kitsu</h2>"
3255
+ f"<font color=#FF584D>The file couldn't be converted to PNG: {e}</font>"
3256
+ )
3257
+ return None
3258
+
3259
+ return png_path
3260
+
3261
+ def _flatten_layered_image(self, source_path, png_path):
3262
+ from psd_tools import PSDImage
3263
+
3264
+ psd = PSDImage.open(source_path)
3265
+ image = psd.topil() if psd.has_preview() else psd.composite()
3266
+ if image.mode not in ('RGB', 'RGBA'):
3267
+ image = image.convert('RGBA')
3268
+ image.save(png_path)
3269
+
3211
3270
  def run(self, button):
3212
3271
  if button == 'Cancel':
3213
3272
  return
@@ -3223,7 +3282,10 @@ class UploadPlayblastToKitsu(flow.Action):
3223
3282
  self.root().session().log_error('No Kitsu entity for file ' + self._file.oid())
3224
3283
  return self.get_result(close=False)
3225
3284
 
3226
- if kitsu_entity.get("type", None) == "Shot":
3285
+ if (
3286
+ self.preview_type() is PreviewType.MOVIE
3287
+ and kitsu_entity.get("type", None) == "Shot"
3288
+ ):
3227
3289
  is_greater, message = self._check_frame_count()
3228
3290
  if is_greater is True and not self.forced:
3229
3291
  self._file.force_to_upload.warning_message = message
@@ -3238,199 +3300,38 @@ class UploadPlayblastToKitsu(flow.Action):
3238
3300
 
3239
3301
  task_status_data = kitsu_api.get_task_status(short_name=self.target_task_status.names_dict[self.target_task_status.get()])
3240
3302
 
3241
- success = kitsu_api.upload_preview(
3242
- kitsu_entity=kitsu_entity,
3243
- task_type_name=self.target_task_type.get(),
3244
- task_status_name=task_status_data['name'],
3245
- file_path=revision.get_path(),
3246
- comment=self.comment.get(),
3247
- normalize_movie=self.normalize_movie.get()
3248
- )
3303
+ with tempfile.TemporaryDirectory(ignore_cleanup_errors=True) as tmp_dir:
3304
+ preview_path = self._prepare_preview(revision, tmp_dir)
3305
+ if preview_path is None:
3306
+ return self.get_result(close=False)
3307
+
3308
+ success = kitsu_api.upload_preview(
3309
+ kitsu_entity=kitsu_entity,
3310
+ task_type_name=self.target_task_type.get(),
3311
+ task_status_name=task_status_data['name'],
3312
+ file_path=preview_path,
3313
+ comment=self.comment.get(),
3314
+ normalize_movie=(
3315
+ self.preview_type() is PreviewType.MOVIE
3316
+ and self.normalize_movie.get()
3317
+ )
3318
+ )
3249
3319
 
3250
3320
  if not success:
3251
- self.message.set((
3252
- "<h2>Upload playblast to Kitsu</h2>"
3321
+ self.message.set(
3322
+ "<h2>Upload preview to Kitsu</h2>"
3253
3323
  "<font color=#FF584D>An error occured "
3254
3324
  "while uploading the preview.</font>"
3255
- ))
3325
+ )
3256
3326
  return self.get_result(close=False)
3257
3327
 
3258
3328
  revision.set_status('on_kitsu')
3259
3329
  if self._file.source_file.get() is not None :
3260
3330
  source_file_revision.set_status('on_kitsu')
3261
3331
 
3262
- if self.root().project().get_current_site().auto_upload_kitsu_playblasts.get():
3263
- revision.upload.run('Confirm')
3264
-
3265
-
3266
- class UploadPNGToKitsu(UploadPlayblastToKitsu):
3267
- '''
3268
- Export a PNG file from a Photoshop scene and upload it to Kitsu.
3269
- '''
3270
-
3271
- ICON = ('icons.libreflow', 'kitsu')
3272
-
3273
- _file = flow.Parent()
3274
- _entity = flow.Parent(5)
3275
-
3276
- revision_name = flow.Param(None, FileRevisionNameChoiceValue)
3277
- kitsu_settings = flow.Label('<h3>Kitsu settings</h3>').ui(icon=('icons.libreflow', 'kitsu'))
3278
- current_task_status = flow.Computed().ui(hidden=True)
3279
- target_task_type = flow.Param(None, KitsuTaskTypes).watched().ui(label="Task Type")
3280
- target_task_status = flow.Param(None, KitsuTaskStatus).ui(label="Task Status")
3281
- comment = flow.SessionParam('', PresetSessionValue).ui(editor='textarea')
3282
-
3283
- def __init__(self, parent, name):
3284
- super(UploadPNGToKitsu, self).__init__(parent, name)
3285
- self._kitsu_entity = None
3286
-
3287
- def allow_context(self, context):
3288
- kitsu_config = self.root().project().kitsu_config()
3289
- return (
3290
- context
3291
- and not self._file.is_empty(on_current_site=True, published_only=True)
3292
- and kitsu_config.configured.get()
3293
- # and kitsu_config.is_uploadable(self._file.display_name.get())
3294
- and self._file.format.get() in ['psd','psb','png','jpg']
3295
- )
3296
-
3297
- def _check_kitsu_params(self):
3298
- # Check if the file is linked to a Kitsu entity
3299
- task_type = self.target_task_type.get()
3300
- kitsu_entity = self._ensure_kitsu_entity()
3301
-
3302
- msg = "<h2>Upload Image to Kitsu<</h2>"
3303
-
3304
- if kitsu_entity is None or task_type is None:
3305
- msg += (
3306
- "<h3><font color=#FF584D>The Kitsu entity %s belongs to "
3307
- "couldn't be detected. Please contact the "
3308
- "support on the chat.</font></h3>" % self._file.display_name.get()
3309
- )
3310
- self.message.set(msg)
3311
- return False
3312
-
3313
- # Check if current user is assigned to a Kitsu task this file is made for
3314
- kitsu_api = self.root().project().kitsu_api()
3315
- user = kitsu_api.get_user()
3316
- task = kitsu_api.get_task(kitsu_entity, task_type)
3317
-
3318
- if user is None:
3319
- msg += (
3320
- "<h3><font color=#FF584D>It seems you (%s) have no "
3321
- "user profile on Kitsu. Please contact the "
3322
- "support on the chat.</font></h3>" % self.root().project().get_user_name()
3323
- )
3324
- self.message.set(msg)
3325
- return False
3326
-
3327
- if task is None:
3328
- msg += (
3329
- "<h3><font color=#FF584D>This file is not linked to any "
3330
- "task on Kitsu.</font></h3>"
3331
- )
3332
- self.message.set(msg)
3333
- return False
3334
-
3335
- # Check if user is assigned to the task or have sufficient rights
3336
- is_assigned = kitsu_api.user_is_assigned(user, task)
3337
- user_role = user.get('role', None)
3338
-
3339
- if not is_assigned:
3340
- if user_role not in ['admin', 'manager']:
3341
- msg += (
3342
- "<h3><font color=#FF584D>You (%s) are not assigned to "
3343
- "the task this file has been created for.</font></h3>"
3344
- % self.root().project().get_user_name()
3345
- )
3346
- self.message.set(msg)
3347
- return False
3348
- else:
3349
- user_roles = {
3350
- 'admin': 'studio manager',
3351
- 'manager': 'supervisor'
3352
- }
3353
- msg += (
3354
- "<h3>As %s, you can upload a preview for this file.</h3>"
3355
- % user_roles[user_role]
3356
- )
3357
- self.message.set(msg)
3358
- return True
3359
-
3360
- def run(self, button):
3361
- if button == 'Cancel':
3362
- return
3363
-
3364
- # Convert to png
3365
-
3366
- rev = self._file.get_revision(self.revision_name.get())
3367
- path = rev.get_path()
3368
-
3369
- input_path = path + '[0]'
3370
-
3371
- output_path = os.path.splitext(path)[0] + '.png'
3372
-
3373
- convert_args = ['magick']
3374
- convert_args += ['%s' %input_path]
3375
- convert_args += ['%s' %output_path]
3376
-
3377
- process = subprocess.run(convert_args, check=False, shell=True)
3378
-
3379
- if process.returncode != 0:
3380
- self.root().session().log_warning('Conversion failed with "magick", fallback to "convert".')
3381
-
3382
- convert_args = ['convert']
3383
- convert_args += ['%s' %input_path]
3384
- convert_args += ['%s' %output_path]
3385
-
3386
- process = subprocess.run(convert_args, check=True, shell=True)
3387
-
3388
- if not os.path.exists(output_path):
3389
- self.message.set((
3390
- "<h2>Upload playblast to Kitsu</h2>"
3391
- "<font color=#FF584D>File conversion failed</font>"
3392
- ))
3393
- return self.get_result(close=False)
3394
-
3395
-
3396
- # Upload to Kitsu
3397
-
3398
- self.update_presets()
3399
-
3400
- if not self._check_kitsu_params():
3401
- self.root().session().log_error('KITSU PARAM ERROR')
3402
- return self.get_result(close=False)
3403
-
3404
- kitsu_api = self.root().project().kitsu_api()
3405
- kitsu_entity = self._ensure_kitsu_entity()
3406
-
3407
- if kitsu_entity is None:
3408
- self.root().session().log_error('No Kitsu entity for file ' + self._file.oid())
3409
- return self.get_result(close=False)
3410
-
3411
- if self._file.source_file.get() is not None :
3412
- source_file = self.root().get_object(self._file.source_file.get())
3413
- source_file_revision = source_file.get_revision(self.revision_name.get())
3414
-
3415
- task_status_data = kitsu_api.get_task_status(short_name=self.target_task_status.names_dict[self.target_task_status.get()])
3416
-
3417
- success = kitsu_api.upload_preview(
3418
- kitsu_entity=kitsu_entity,
3419
- task_type_name=self.target_task_type.get(),
3420
- task_status_name=task_status_data['name'],
3421
- file_path=output_path,
3422
- comment=self.comment.get(),
3423
- )
3424
-
3425
- if not success:
3426
- self.message.set((
3427
- "<h2>Upload playblast to Kitsu</h2>"
3428
- "<font color=#FF584D>An error occured "
3429
- "while uploading the preview.</font>"
3430
- ))
3431
- return self.get_result(close=False)
3432
3332
 
3433
- rev.set_status('on_kitsu')
3333
+ # Kept for projects overriding the former playblast-only action
3334
+ UploadPlayblastToKitsu = UploadToKitsu
3434
3335
 
3435
3336
 
3436
3337
  class RenderWithAfterEffect(GenericRunAction):
@@ -4568,9 +4469,8 @@ class TrackedFile(File):
4568
4469
  open = flow.Child(OpenTrackedFileAction)
4569
4470
  reveal = flow.Child(RevealFileInExplorer).ui(label="Reveal in explorer")
4570
4471
  request = flow.Child(RequestTrackedFileAction)
4571
- upload_playblast = flow.Child(UploadPlayblastToKitsu).ui(label='Upload to Kitsu', dialog_size=(600, 510)).injectable()
4472
+ upload_playblast = flow.Child(UploadToKitsu).ui(label='Upload to Kitsu', dialog_size=(600, 510)).injectable()
4572
4473
  force_to_upload = flow.Child(ForceToUpload).ui(hidden=True)
4573
- upload_image = flow.Child(UploadPNGToKitsu).ui(label='Upload to Kitsu', dialog_size=(600, 510))
4574
4474
 
4575
4475
  # Blender
4576
4476
  render_blender_playblast = flow.Child(RenderBlenderPlayblast).ui(label='Render playblast')
@@ -15,6 +15,33 @@ from .maputils import ClearMapAction
15
15
  from .users import PresetChoiceValue
16
16
 
17
17
 
18
+ class KitsuTaskError(Exception):
19
+ """
20
+ Raised when a Kitsu task can't be retrieved.
21
+
22
+ `user_message` is a plain-text explanation meant to be shown in the UI
23
+ """
24
+
25
+ user_message = "The Kitsu task couldn't be retrieved."
26
+
27
+
28
+ class KitsuTaskTypeNotFound(KitsuTaskError):
29
+ def __init__(self, task_type_name, available_names):
30
+ super().__init__(
31
+ f"Invalid task type '{task_type_name}'. Should be one of {available_names}."
32
+ )
33
+ self.task_type_name = task_type_name
34
+ self.user_message = f"The task type '{task_type_name}' doesn't exist on Kitsu."
35
+
36
+
37
+ class KitsuTaskNotFound(KitsuTaskError):
38
+ def __init__(self, entity, task_type_name):
39
+ entity_id = entity["id"] if isinstance(entity, dict) else entity
40
+ super().__init__(f"No '{task_type_name}' task on Kitsu entity {entity_id}.")
41
+ self.task_type_name = task_type_name
42
+ self.user_message = f"This Kitsu entity has no '{task_type_name}' task."
43
+
44
+
18
45
  class KitsuAPIWrapper(flow.Object):
19
46
 
20
47
  _server_url = flow.Param("")
@@ -332,27 +359,19 @@ class KitsuAPIWrapper(flow.Object):
332
359
  )
333
360
 
334
361
  def get_task(self, entity, task_type_name):
362
+ """
363
+ Returns the task of the given Kitsu entity.
364
+ """
335
365
  task_type = gazu.task.get_task_type_by_name(task_type_name)
336
-
337
- # Check if task type is valid
338
366
  if task_type is None:
339
- task_types = gazu.task.all_task_statuses()
340
- names = [tt['name'] for tt in task_types]
341
- self.root().session().log_error((
342
- f"Invalid task type '{task_type_name}'. "
343
- "Should be one of " + str(names) + "."
344
- ))
345
- return None
346
-
367
+ names = [tt["name"] for tt in gazu.task.all_task_types()]
368
+ raise KitsuTaskTypeNotFound(task_type_name, names)
369
+
347
370
  task = gazu.task.get_task_by_entity(entity, task_type)
348
-
349
371
  if task is None:
350
- self.root().session().log_error("Invalid Kitsu entity")
351
- return None
352
-
353
- task = gazu.task.get_task(task['id'])
354
-
355
- return task
372
+ raise KitsuTaskNotFound(entity, task_type_name)
373
+
374
+ return gazu.task.get_task(task["id"])
356
375
 
357
376
  def get_assign_tasks(self):
358
377
  return [task for task in gazu.user.all_tasks_to_do() if task['project_name'] == self._config.project_name.get()]
@@ -368,7 +387,10 @@ class KitsuAPIWrapper(flow.Object):
368
387
  shot = self.get_shot_data(shot_name, sequence_name, episode_name)
369
388
 
370
389
  if shot is not None:
371
- task = self.get_task(shot, task_type_name)
390
+ try:
391
+ task = self.get_task(shot, task_type_name)
392
+ except KitsuTaskError as e:
393
+ self.root().session().log_error(str(e))
372
394
 
373
395
  return task
374
396
 
@@ -388,9 +410,10 @@ class KitsuAPIWrapper(flow.Object):
388
410
  return [ts['name'] for ts in task_statuses]
389
411
 
390
412
  def get_task_current_status(self, entity, task_type_name):
391
- task = self.get_task(entity, task_type_name)
392
-
393
- if task is None:
413
+ try:
414
+ task = self.get_task(entity, task_type_name)
415
+ except KitsuTaskError as e:
416
+ self.root().session().log_error(str(e))
394
417
  return None
395
418
 
396
419
  return task['task_status']['name']
@@ -508,10 +531,14 @@ class KitsuAPIWrapper(flow.Object):
508
531
  # Get user
509
532
  user = self.get_user(user_name)
510
533
 
511
- # Get task
512
- task = self.get_task(kitsu_entity, task_type_name)
534
+ if user is None:
535
+ return False
513
536
 
514
- if task is None or user is None:
537
+ # Get task
538
+ try:
539
+ task = self.get_task(kitsu_entity, task_type_name)
540
+ except KitsuTaskError as e:
541
+ self.root().session().log_error(str(e))
515
542
  return False
516
543
 
517
544
  # Add comment with preview