libreflow 2.16.2__tar.gz → 2.18.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 (327) hide show
  1. {libreflow-2.16.2 → libreflow-2.18.0}/CHANGELOG.md +35 -0
  2. {libreflow-2.16.2 → libreflow-2.18.0}/PKG-INFO +2 -1
  3. {libreflow-2.16.2 → libreflow-2.18.0}/pyproject.toml +1 -0
  4. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/_version.py +2 -2
  5. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/__init__.py +3 -0
  6. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/file.py +113 -215
  7. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/kitsu.py +100 -35
  8. libreflow-2.18.0/src/libreflow/baseflow/kitsu_create.py +295 -0
  9. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/mytasks.py +5 -1
  10. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/site.py +0 -2
  11. {libreflow-2.16.2 → libreflow-2.18.0}/.gitignore +0 -0
  12. {libreflow-2.16.2 → libreflow-2.18.0}/.gitlab-ci.yml +0 -0
  13. {libreflow-2.16.2 → libreflow-2.18.0}/AUTHORS +0 -0
  14. {libreflow-2.16.2 → libreflow-2.18.0}/LICENSE +0 -0
  15. {libreflow-2.16.2 → libreflow-2.18.0}/README.md +0 -0
  16. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/__init__.py +0 -0
  17. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/asset.py +0 -0
  18. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/departments.py +0 -0
  19. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/dependency.py +0 -0
  20. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/entity_manager.py +0 -0
  21. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/filesystem/file.py +0 -0
  22. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/filesystem/filesequence.py +0 -0
  23. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/filesystem/fileset.py +0 -0
  24. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/filesystem/filesystemobject.py +0 -0
  25. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/film.py +0 -0
  26. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/lib.py +0 -0
  27. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/maputils.py +0 -0
  28. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/runactions.py +0 -0
  29. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/runners.py +0 -0
  30. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/search.py +0 -0
  31. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/shot.py +0 -0
  32. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/task.py +0 -0
  33. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/task_manager.py +0 -0
  34. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/__init__.py +0 -0
  35. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/controller.py +0 -0
  36. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/delegate.py +0 -0
  37. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/file.py +0 -0
  38. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/file_cell.py +0 -0
  39. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/file_history.py +0 -0
  40. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/file_list.py +0 -0
  41. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/homepage.py +0 -0
  42. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/importfiles/__init__.py +0 -0
  43. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/importfiles/custom_widget.py +0 -0
  44. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/importfiles/files_list.py +0 -0
  45. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/importfiles/target_wizard.py +0 -0
  46. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/job_queue.py +0 -0
  47. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/mytasks/__init__.py +0 -0
  48. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/mytasks/components.py +0 -0
  49. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/mytasks/edit_dialog.py +0 -0
  50. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/mytasks/file_list.py +0 -0
  51. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/mytasks/mytasks.py +0 -0
  52. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/mytasks/qmodel.py +0 -0
  53. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/qmodel.py +0 -0
  54. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/task.py +0 -0
  55. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/users.py +0 -0
  56. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/cli.py +0 -0
  57. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/custom_home/__init__.py +0 -0
  58. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/custom_home/ui.py +0 -0
  59. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/custom_home/wizard.py +0 -0
  60. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/__init__.py +0 -0
  61. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/demoflow/__init__.py +0 -0
  62. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/demoflow/film.py +0 -0
  63. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/demoflow/lib.py +0 -0
  64. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/__init__.py +0 -0
  65. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/departments.py +0 -0
  66. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/file.py +0 -0
  67. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/film.py +0 -0
  68. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/kitsu.py +0 -0
  69. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/lib.py +0 -0
  70. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/runners.py +0 -0
  71. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/users.py +0 -0
  72. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/gui.py +0 -0
  73. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/index.py +0 -0
  74. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/jobs_cleaner.py +0 -0
  75. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/jobs_node.py +0 -0
  76. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/__init__.py +0 -0
  77. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/__init__.py +0 -0
  78. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.abc +0 -0
  79. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.aep +0 -0
  80. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.ai +0 -0
  81. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.blend +0 -0
  82. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.fbx +0 -0
  83. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.fla +0 -0
  84. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.jpg +0 -0
  85. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.json +0 -0
  86. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.jsx +0 -0
  87. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.kra +0 -0
  88. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.mov +0 -0
  89. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.mp4 +0 -0
  90. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.nk +0 -0
  91. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.obj +0 -0
  92. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.png +0 -0
  93. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.prproj +0 -0
  94. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.psb +0 -0
  95. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.psd +0 -0
  96. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.tvpp +0 -0
  97. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.txt +0 -0
  98. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.usd +0 -0
  99. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.usda +0 -0
  100. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.usdz +0 -0
  101. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.wav +0 -0
  102. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.xpix +0 -0
  103. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template_2D.blend +0 -0
  104. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/fonts/SpaceGrotesk-Bold.ttf +0 -0
  105. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/fonts/SpaceGrotesk-Regular.ttf +0 -0
  106. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/fonts/__init__.py +0 -0
  107. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/__init__.py +0 -0
  108. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/applications/__init__.py +0 -0
  109. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/applications/rv.png +0 -0
  110. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/flow/__init__.py +0 -0
  111. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/flow/alembic.png +0 -0
  112. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/flow/explorer.png +0 -0
  113. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/flow/photoshop.png +0 -0
  114. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/flow/quicktime.png +0 -0
  115. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/__init__.py +0 -0
  116. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/add-file.png +0 -0
  117. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/add-folder.png +0 -0
  118. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/arrow-down.png +0 -0
  119. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/arrow-right.png +0 -0
  120. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/check-box-empty-dark.png +0 -0
  121. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/close.png +0 -0
  122. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/duplicate.png +0 -0
  123. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/location-worldwide-disabled.png +0 -0
  124. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/location-worldwide.png +0 -0
  125. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/maximize.png +0 -0
  126. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/menu.png +0 -0
  127. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/menu_dots.png +0 -0
  128. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/minimize.png +0 -0
  129. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/mytasks-disabled.png +0 -0
  130. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/mytasks.png +0 -0
  131. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/nav-arrow-left-disabled.png +0 -0
  132. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/nav-arrow-left.png +0 -0
  133. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/nav-arrow-refresh-disabled.png +0 -0
  134. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/nav-arrow-refresh.png +0 -0
  135. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/nav-arrow-right-disabled.png +0 -0
  136. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/nav-arrow-right.png +0 -0
  137. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/ref-broken.png +0 -0
  138. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/ref.png +0 -0
  139. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/refresh.png +0 -0
  140. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/send.png +0 -0
  141. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/send2.png +0 -0
  142. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/__init__.py +0 -0
  143. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/check.png +0 -0
  144. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/done.png +0 -0
  145. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/init.png +0 -0
  146. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/on_kitsu.png +0 -0
  147. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/retake.png +0 -0
  148. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/wfa.png +0 -0
  149. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/wip.png +0 -0
  150. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/working_copy.png +0 -0
  151. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/working_copy_mine.png +0 -0
  152. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/3d-object.png +0 -0
  153. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/__init__.py +0 -0
  154. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/active_site.png +0 -0
  155. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/afterfx.png +0 -0
  156. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/animate.svg +0 -0
  157. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/archive.png +0 -0
  158. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/available.png +0 -0
  159. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/blank.png +0 -0
  160. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/blender.png +0 -0
  161. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/checked-symbol-colored.png +0 -0
  162. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/checked-symbol-owner.png +0 -0
  163. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/checked-symbol.png +0 -0
  164. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/circle-shape-outline.png +0 -0
  165. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/circle-shape-right-eye-outline.png +0 -0
  166. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/circular-shape-right-eye-silhouette.png +0 -0
  167. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/circular-shape-silhouette.png +0 -0
  168. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/clean.png +0 -0
  169. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/clipboard.png +0 -0
  170. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/compare-previews.png +0 -0
  171. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/cross-mark-on-a-black-circle-background-colored.png +0 -0
  172. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/custom_home_star.png +0 -0
  173. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/delete.png +0 -0
  174. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/dependencies.png +0 -0
  175. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/download.png +0 -0
  176. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/downloadable.png +0 -0
  177. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/duplicate.png +0 -0
  178. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/edit-blank.png +0 -0
  179. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/edit-lock-green.png +0 -0
  180. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/edit-lock-red.png +0 -0
  181. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/error.png +0 -0
  182. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/exchange.png +0 -0
  183. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/exclamation-sign-colored.png +0 -0
  184. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/fbx.png +0 -0
  185. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/firefox.png +0 -0
  186. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/hide.png +0 -0
  187. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/history.png +0 -0
  188. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/illustrator.png +0 -0
  189. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/json.png +0 -0
  190. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/jsx.png +0 -0
  191. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu.svg +0 -0
  192. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu_status_done.png +0 -0
  193. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu_status_oklodv.png +0 -0
  194. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu_status_omit.png +0 -0
  195. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu_status_retake.png +0 -0
  196. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu_status_todo.png +0 -0
  197. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu_status_wfa.png +0 -0
  198. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu_status_wip.png +0 -0
  199. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/krita.png +0 -0
  200. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/lock-green.png +0 -0
  201. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/lock-red.png +0 -0
  202. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/log_out.png +0 -0
  203. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/multi-share-option.png +0 -0
  204. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/nuke.png +0 -0
  205. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/origin-site.png +0 -0
  206. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/padlock.png +0 -0
  207. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/padlock_green.png +0 -0
  208. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/padlock_red.png +0 -0
  209. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/premiere-pro.png +0 -0
  210. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/publish-ae.png +0 -0
  211. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/publish-blender.png +0 -0
  212. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/publish-ps.png +0 -0
  213. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/publish.png +0 -0
  214. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/quicktime.png +0 -0
  215. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/refresh.png +0 -0
  216. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/request.png +0 -0
  217. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/requestable.png +0 -0
  218. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/run.png +0 -0
  219. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/share-option.png +0 -0
  220. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/show.png +0 -0
  221. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/stop.png +0 -0
  222. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/sync.png +0 -0
  223. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/sync_arrow.png +0 -0
  224. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/time_format.png +0 -0
  225. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/tvpaint.png +0 -0
  226. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/unavailable.png +0 -0
  227. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/upload.png +0 -0
  228. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/vscodium.png +0 -0
  229. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/waiting.png +0 -0
  230. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/warning.png +0 -0
  231. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/watch.png +0 -0
  232. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/__init__.py +0 -0
  233. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/done.png +0 -0
  234. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/err.png +0 -0
  235. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/inv.png +0 -0
  236. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/none.png +0 -0
  237. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/nys.png +0 -0
  238. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/oop.png +0 -0
  239. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/rtk.png +0 -0
  240. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/rvw.png +0 -0
  241. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/wait.png +0 -0
  242. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/warn.png +0 -0
  243. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/wip.png +0 -0
  244. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/__init__.py +0 -0
  245. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/animation.svg +0 -0
  246. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/clean.svg +0 -0
  247. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/colo.svg +0 -0
  248. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/compositing.svg +0 -0
  249. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/design.svg +0 -0
  250. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/layout.svg +0 -0
  251. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/lighting.svg +0 -0
  252. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/modeling.svg +0 -0
  253. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/rigging.svg +0 -0
  254. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/shading.svg +0 -0
  255. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/mark_sequence/__init__.py +0 -0
  256. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/mark_sequence/fields/__init__.py +0 -0
  257. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/mark_sequence/fields/default.json +0 -0
  258. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/mark_sequence/fonts/LiberationMono-Regular.ttf +0 -0
  259. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/mark_sequence/fonts/__init__.py +0 -0
  260. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/scripts/__init__.py +0 -0
  261. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/scripts/blender/__init__.py +0 -0
  262. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/scripts/blender/disable_save_keymap.py +0 -0
  263. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/scripts/tvpaint/__init__.py +0 -0
  264. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/scripts/tvpaint/save_dependencies.grg +0 -0
  265. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/styles/__init__.py +0 -0
  266. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/styles/custom_style/__init__.py +0 -0
  267. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/styles/custom_style/custom_style.css +0 -0
  268. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/styles/lfs_tech/__init__.py +0 -0
  269. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/styles/lfs_tech/lfs_tech_style.css +0 -0
  270. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/scripts/__init__.py +0 -0
  271. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/scripts/mark_sequence.py +0 -0
  272. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/scripts/minio_file_downloader.py +0 -0
  273. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/scripts/minio_file_uploader.py +0 -0
  274. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/scripts/minio_progress.py +0 -0
  275. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/scripts/session_worker.py +0 -0
  276. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/session.py +0 -0
  277. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/sync.py +0 -0
  278. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/sync_jobs_cleaner.py +0 -0
  279. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/__init__.py +0 -0
  280. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/b3d.py +0 -0
  281. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/__init__.py +0 -0
  282. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/action_values.py +0 -0
  283. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/context_values.py +0 -0
  284. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/entities.py +0 -0
  285. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/file_processing.py +0 -0
  286. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/import_files.py +0 -0
  287. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/process_files.py +0 -0
  288. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/values.py +0 -0
  289. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/__init__.py +0 -0
  290. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/flow_contextual_dict/__init__.py +0 -0
  291. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/flow_contextual_dict/view/__init__.py +0 -0
  292. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/flow_entities/__init__.py +0 -0
  293. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/flow_entities/entities.py +0 -0
  294. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/jobs/__init__.py +0 -0
  295. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/jobs/demo_flow.py +0 -0
  296. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/jobs/jobs_actor.py +0 -0
  297. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/jobs/jobs_flow.py +0 -0
  298. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/jobs/jobs_flow_worker.py +0 -0
  299. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/jobs/jobs_node.py +0 -0
  300. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/jobs/jobs_view.py +0 -0
  301. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/script_view/__init__.py +0 -0
  302. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/script_view/script_view.py +0 -0
  303. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/subprocess_manager/__init__.py +0 -0
  304. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/subprocess_manager/views/__init__.py +0 -0
  305. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/subprocess_manager/views/subprocess_view.py +0 -0
  306. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/ui/__init__.py +0 -0
  307. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/ui/flow_view.py +0 -0
  308. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/ui/main_window.py +0 -0
  309. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/ui/navigation_control.py +0 -0
  310. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/ui/widget_view.py +0 -0
  311. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/os.py +0 -0
  312. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/__init__.py +0 -0
  313. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/actor.py +0 -0
  314. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/__init__.py +0 -0
  315. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/__init__.py +0 -0
  316. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/export.png +0 -0
  317. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/filter-disabled.png +0 -0
  318. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/filter-enabled.png +0 -0
  319. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/import.png +0 -0
  320. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/magn-glass.png +0 -0
  321. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/minus-button.png +0 -0
  322. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/plus-button.png +0 -0
  323. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/remove.png +0 -0
  324. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/run-button.png +0 -0
  325. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/view.py +0 -0
  326. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/ui/__init__.py +0 -0
  327. {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/ui/file_processing.py +0 -0
@@ -19,6 +19,41 @@ Types of changes
19
19
 
20
20
  ## [Unreleased]
21
21
 
22
+ ## [2.18.0] - 2026-10-21
23
+
24
+ ### Added
25
+
26
+ * Kitsu config: `asset_family_field` param to specify the name of the Kitsu asset custom field used to group assets into families (leave empty if families are not used).
27
+
28
+ ### Changed
29
+
30
+ * Create from Kitsu: the actions that create entities from Kitsu have been refactored around a common `CreateFromKitsu` base action.
31
+ * By default, the action dialog now lists the Kitsu entities as checkboxes. New entities are selected by default. Existing ones are greyed out, unselected and listed at the bottom.
32
+
33
+ ### Fixed
34
+
35
+ * Kitsu users list could include team members with an empty desktop login.
36
+
37
+ ## [2.17.0] - 2026-09-21
38
+
39
+ ### BREAKING CHANGES
40
+
41
+ * 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`).
42
+ * `UploadPNGToKitsu` action has been removed, in favor of the unified `UploadToKitsu` action.
43
+
44
+ ### Added
45
+
46
+ * `psd-tools` dependency, used to manipulate PSD/PSB files.
47
+ * 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.
48
+
49
+ ### Changed
50
+
51
+ * 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).
52
+
53
+ ### Removed
54
+
55
+ * Working site `auto_upload_kitsu_playblasts` option, which uploaded the revision to the exchange server after a Kitsu upload.
56
+
22
57
  ## [2.16.2] - 2026-09-16
23
58
 
24
59
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: libreflow
3
- Version: 2.16.2
3
+ Version: 2.18.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.2'
22
- __version_tuple__ = version_tuple = (2, 16, 2)
21
+ __version__ = version = '2.18.0'
22
+ __version_tuple__ = version_tuple = (2, 18, 0)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -437,6 +437,9 @@ class KitsuConfig(flow.Object):
437
437
  project_id = flow.Computed(cached=True)
438
438
  project_type = flow.Computed(cached=True)
439
439
  uploadable_files = flow.Param("")
440
+ asset_family_field = flow.Param("").ui(
441
+ tooltip="Kitsu asset custom field used to group assets into families (empty to disable)"
442
+ )
440
443
  bindings = flow.Child(KitsuBindings)
441
444
  tasks = flow.Child(KitsuTasks)
442
445
  task_statutes = flow.Param(list, KitsuTaskAvailableStatutes)
@@ -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
@@ -3031,7 +3033,29 @@ class ForceToUpload(flow.Action):
3031
3033
  return self._file.upload_playblast.run("Upload")
3032
3034
 
3033
3035
 
3034
- 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
+ """
3035
3059
 
3036
3060
  ICON = ('icons.libreflow', 'kitsu')
3037
3061
 
@@ -3046,10 +3070,10 @@ class UploadPlayblastToKitsu(flow.Action):
3046
3070
  comment = flow.SessionParam('', PresetSessionValue).ui(editor='textarea')
3047
3071
 
3048
3072
  with flow.group("Advanced"):
3049
- normalize_movie = flow.BoolParam(False)
3073
+ normalize_movie = flow.Param(False, NormalizeMovieValue).ui(editor='bool')
3050
3074
 
3051
3075
  def __init__(self, parent, name):
3052
- super(UploadPlayblastToKitsu, self).__init__(parent, name)
3076
+ super().__init__(parent, name)
3053
3077
  self._kitsu_entity = None
3054
3078
  self.forced = False
3055
3079
 
@@ -3064,6 +3088,17 @@ class UploadPlayblastToKitsu(flow.Action):
3064
3088
 
3065
3089
  return self._kitsu_entity
3066
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
+
3067
3102
  def allow_context(self, context):
3068
3103
  kitsu_config = self.root().project().kitsu_config()
3069
3104
  return (
@@ -3122,13 +3157,17 @@ class UploadPlayblastToKitsu(flow.Action):
3122
3157
  task_type = self.target_task_type.get()
3123
3158
  kitsu_entity = self._ensure_kitsu_entity()
3124
3159
 
3125
- msg = "<h2>Upload playblast to Kitsu</h2>"
3160
+ msg = "<h2>Upload preview to Kitsu</h2>"
3126
3161
 
3127
- if kitsu_entity is None or task_type is None:
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
3166
+
3167
+ if not task_type:
3128
3168
  msg += (
3129
- "<h3><font color=#FF584D>The Kitsu entity %s belongs to "
3130
- "couldn't be detected. Please contact the "
3131
- "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>"
3132
3171
  )
3133
3172
  self.message.set(msg)
3134
3173
  return False
@@ -3136,22 +3175,16 @@ class UploadPlayblastToKitsu(flow.Action):
3136
3175
  # Check if current user is assigned to a Kitsu task this file is made for
3137
3176
  kitsu_api = self.root().project().kitsu_api()
3138
3177
  user = kitsu_api.get_user()
3139
- task = kitsu_api.get_task(kitsu_entity, task_type)
3140
3178
 
3141
3179
  if user is None:
3142
- msg += (
3143
- "<h3><font color=#FF584D>It seems you (%s) have no "
3144
- "user profile on Kitsu. Please contact the "
3145
- "support on the chat.</font></h3>" % self.root().project().get_user_name()
3146
- )
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>"
3147
3181
  self.message.set(msg)
3148
3182
  return False
3149
3183
 
3150
- if task is None:
3151
- msg += (
3152
- "<h3><font color=#FF584D>This file is not linked to any "
3153
- "task on Kitsu.</font></h3>"
3154
- )
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>"
3155
3188
  self.message.set(msg)
3156
3189
  return False
3157
3190
 
@@ -3161,11 +3194,7 @@ class UploadPlayblastToKitsu(flow.Action):
3161
3194
 
3162
3195
  if not is_assigned:
3163
3196
  if user_role not in ['admin', 'manager']:
3164
- msg += (
3165
- "<h3><font color=#FF584D>You (%s) are not assigned to "
3166
- "the task this file has been created for.</font></h3>"
3167
- % self.root().project().get_user_name()
3168
- )
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>"
3169
3198
  self.message.set(msg)
3170
3199
  return False
3171
3200
  else:
@@ -3173,13 +3202,13 @@ class UploadPlayblastToKitsu(flow.Action):
3173
3202
  'admin': 'studio manager',
3174
3203
  'manager': 'supervisor'
3175
3204
  }
3176
- msg += (
3177
- "<h3>As %s, you can upload a preview for this file.</h3>"
3178
- % user_roles[user_role]
3179
- )
3205
+ msg += f"<h3>As {user_roles[user_role]}, you can upload a preview for this file.</h3>"
3180
3206
 
3181
3207
  # Check is the number of frames in the file is the same as the shot was set on Kitsu
3182
- 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
+ ):
3183
3212
  is_greater, message = self._check_frame_count()
3184
3213
  if is_greater is False:
3185
3214
  self.message.set(message)
@@ -3210,6 +3239,34 @@ class UploadPlayblastToKitsu(flow.Action):
3210
3239
  )
3211
3240
  self.current_task_status.set(task_status)
3212
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
+
3213
3270
  def run(self, button):
3214
3271
  if button == 'Cancel':
3215
3272
  return
@@ -3225,7 +3282,10 @@ class UploadPlayblastToKitsu(flow.Action):
3225
3282
  self.root().session().log_error('No Kitsu entity for file ' + self._file.oid())
3226
3283
  return self.get_result(close=False)
3227
3284
 
3228
- 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
+ ):
3229
3289
  is_greater, message = self._check_frame_count()
3230
3290
  if is_greater is True and not self.forced:
3231
3291
  self._file.force_to_upload.warning_message = message
@@ -3240,199 +3300,38 @@ class UploadPlayblastToKitsu(flow.Action):
3240
3300
 
3241
3301
  task_status_data = kitsu_api.get_task_status(short_name=self.target_task_status.names_dict[self.target_task_status.get()])
3242
3302
 
3243
- success = kitsu_api.upload_preview(
3244
- kitsu_entity=kitsu_entity,
3245
- task_type_name=self.target_task_type.get(),
3246
- task_status_name=task_status_data['name'],
3247
- file_path=revision.get_path(),
3248
- comment=self.comment.get(),
3249
- normalize_movie=self.normalize_movie.get()
3250
- )
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
+ )
3251
3319
 
3252
3320
  if not success:
3253
- self.message.set((
3254
- "<h2>Upload playblast to Kitsu</h2>"
3321
+ self.message.set(
3322
+ "<h2>Upload preview to Kitsu</h2>"
3255
3323
  "<font color=#FF584D>An error occured "
3256
3324
  "while uploading the preview.</font>"
3257
- ))
3325
+ )
3258
3326
  return self.get_result(close=False)
3259
3327
 
3260
3328
  revision.set_status('on_kitsu')
3261
3329
  if self._file.source_file.get() is not None :
3262
3330
  source_file_revision.set_status('on_kitsu')
3263
3331
 
3264
- if self.root().project().get_current_site().auto_upload_kitsu_playblasts.get():
3265
- revision.upload.run('Confirm')
3266
-
3267
-
3268
- class UploadPNGToKitsu(UploadPlayblastToKitsu):
3269
- '''
3270
- Export a PNG file from a Photoshop scene and upload it to Kitsu.
3271
- '''
3272
-
3273
- ICON = ('icons.libreflow', 'kitsu')
3274
-
3275
- _file = flow.Parent()
3276
- _entity = flow.Parent(5)
3277
-
3278
- revision_name = flow.Param(None, FileRevisionNameChoiceValue)
3279
- kitsu_settings = flow.Label('<h3>Kitsu settings</h3>').ui(icon=('icons.libreflow', 'kitsu'))
3280
- current_task_status = flow.Computed().ui(hidden=True)
3281
- target_task_type = flow.Param(None, KitsuTaskTypes).watched().ui(label="Task Type")
3282
- target_task_status = flow.Param(None, KitsuTaskStatus).ui(label="Task Status")
3283
- comment = flow.SessionParam('', PresetSessionValue).ui(editor='textarea')
3284
-
3285
- def __init__(self, parent, name):
3286
- super(UploadPNGToKitsu, self).__init__(parent, name)
3287
- self._kitsu_entity = None
3288
-
3289
- def allow_context(self, context):
3290
- kitsu_config = self.root().project().kitsu_config()
3291
- return (
3292
- context
3293
- and not self._file.is_empty(on_current_site=True, published_only=True)
3294
- and kitsu_config.configured.get()
3295
- # and kitsu_config.is_uploadable(self._file.display_name.get())
3296
- and self._file.format.get() in ['psd','psb','png','jpg']
3297
- )
3298
-
3299
- def _check_kitsu_params(self):
3300
- # Check if the file is linked to a Kitsu entity
3301
- task_type = self.target_task_type.get()
3302
- kitsu_entity = self._ensure_kitsu_entity()
3303
-
3304
- msg = "<h2>Upload Image to Kitsu<</h2>"
3305
-
3306
- if kitsu_entity is None or task_type is None:
3307
- msg += (
3308
- "<h3><font color=#FF584D>The Kitsu entity %s belongs to "
3309
- "couldn't be detected. Please contact the "
3310
- "support on the chat.</font></h3>" % self._file.display_name.get()
3311
- )
3312
- self.message.set(msg)
3313
- return False
3314
-
3315
- # Check if current user is assigned to a Kitsu task this file is made for
3316
- kitsu_api = self.root().project().kitsu_api()
3317
- user = kitsu_api.get_user()
3318
- task = kitsu_api.get_task(kitsu_entity, task_type)
3319
-
3320
- if user is None:
3321
- msg += (
3322
- "<h3><font color=#FF584D>It seems you (%s) have no "
3323
- "user profile on Kitsu. Please contact the "
3324
- "support on the chat.</font></h3>" % self.root().project().get_user_name()
3325
- )
3326
- self.message.set(msg)
3327
- return False
3328
-
3329
- if task is None:
3330
- msg += (
3331
- "<h3><font color=#FF584D>This file is not linked to any "
3332
- "task on Kitsu.</font></h3>"
3333
- )
3334
- self.message.set(msg)
3335
- return False
3336
-
3337
- # Check if user is assigned to the task or have sufficient rights
3338
- is_assigned = kitsu_api.user_is_assigned(user, task)
3339
- user_role = user.get('role', None)
3340
-
3341
- if not is_assigned:
3342
- if user_role not in ['admin', 'manager']:
3343
- msg += (
3344
- "<h3><font color=#FF584D>You (%s) are not assigned to "
3345
- "the task this file has been created for.</font></h3>"
3346
- % self.root().project().get_user_name()
3347
- )
3348
- self.message.set(msg)
3349
- return False
3350
- else:
3351
- user_roles = {
3352
- 'admin': 'studio manager',
3353
- 'manager': 'supervisor'
3354
- }
3355
- msg += (
3356
- "<h3>As %s, you can upload a preview for this file.</h3>"
3357
- % user_roles[user_role]
3358
- )
3359
- self.message.set(msg)
3360
- return True
3361
-
3362
- def run(self, button):
3363
- if button == 'Cancel':
3364
- return
3365
-
3366
- # Convert to png
3367
-
3368
- rev = self._file.get_revision(self.revision_name.get())
3369
- path = rev.get_path()
3370
-
3371
- input_path = path + '[0]'
3372
-
3373
- output_path = os.path.splitext(path)[0] + '.png'
3374
-
3375
- convert_args = ['magick']
3376
- convert_args += ['%s' %input_path]
3377
- convert_args += ['%s' %output_path]
3378
-
3379
- process = subprocess.run(convert_args, check=False, shell=True)
3380
-
3381
- if process.returncode != 0:
3382
- self.root().session().log_warning('Conversion failed with "magick", fallback to "convert".')
3383
-
3384
- convert_args = ['convert']
3385
- convert_args += ['%s' %input_path]
3386
- convert_args += ['%s' %output_path]
3387
-
3388
- process = subprocess.run(convert_args, check=True, shell=True)
3389
-
3390
- if not os.path.exists(output_path):
3391
- self.message.set((
3392
- "<h2>Upload playblast to Kitsu</h2>"
3393
- "<font color=#FF584D>File conversion failed</font>"
3394
- ))
3395
- return self.get_result(close=False)
3396
-
3397
-
3398
- # Upload to Kitsu
3399
-
3400
- self.update_presets()
3401
-
3402
- if not self._check_kitsu_params():
3403
- self.root().session().log_error('KITSU PARAM ERROR')
3404
- return self.get_result(close=False)
3405
-
3406
- kitsu_api = self.root().project().kitsu_api()
3407
- kitsu_entity = self._ensure_kitsu_entity()
3408
-
3409
- if kitsu_entity is None:
3410
- self.root().session().log_error('No Kitsu entity for file ' + self._file.oid())
3411
- return self.get_result(close=False)
3412
-
3413
- if self._file.source_file.get() is not None :
3414
- source_file = self.root().get_object(self._file.source_file.get())
3415
- source_file_revision = source_file.get_revision(self.revision_name.get())
3416
-
3417
- task_status_data = kitsu_api.get_task_status(short_name=self.target_task_status.names_dict[self.target_task_status.get()])
3418
-
3419
- success = kitsu_api.upload_preview(
3420
- kitsu_entity=kitsu_entity,
3421
- task_type_name=self.target_task_type.get(),
3422
- task_status_name=task_status_data['name'],
3423
- file_path=output_path,
3424
- comment=self.comment.get(),
3425
- )
3426
-
3427
- if not success:
3428
- self.message.set((
3429
- "<h2>Upload playblast to Kitsu</h2>"
3430
- "<font color=#FF584D>An error occured "
3431
- "while uploading the preview.</font>"
3432
- ))
3433
- return self.get_result(close=False)
3434
3332
 
3435
- rev.set_status('on_kitsu')
3333
+ # Kept for projects overriding the former playblast-only action
3334
+ UploadPlayblastToKitsu = UploadToKitsu
3436
3335
 
3437
3336
 
3438
3337
  class RenderWithAfterEffect(GenericRunAction):
@@ -4570,9 +4469,8 @@ class TrackedFile(File):
4570
4469
  open = flow.Child(OpenTrackedFileAction)
4571
4470
  reveal = flow.Child(RevealFileInExplorer).ui(label="Reveal in explorer")
4572
4471
  request = flow.Child(RequestTrackedFileAction)
4573
- 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()
4574
4473
  force_to_upload = flow.Child(ForceToUpload).ui(hidden=True)
4575
- upload_image = flow.Child(UploadPNGToKitsu).ui(label='Upload to Kitsu', dialog_size=(600, 510))
4576
4474
 
4577
4475
  # Blender
4578
4476
  render_blender_playblast = flow.Child(RenderBlenderPlayblast).ui(label='Render playblast')