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.
- {libreflow-2.16.2 → libreflow-2.18.0}/CHANGELOG.md +35 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/PKG-INFO +2 -1
- {libreflow-2.16.2 → libreflow-2.18.0}/pyproject.toml +1 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/_version.py +2 -2
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/__init__.py +3 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/file.py +113 -215
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/kitsu.py +100 -35
- libreflow-2.18.0/src/libreflow/baseflow/kitsu_create.py +295 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/mytasks.py +5 -1
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/site.py +0 -2
- {libreflow-2.16.2 → libreflow-2.18.0}/.gitignore +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/.gitlab-ci.yml +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/AUTHORS +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/LICENSE +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/README.md +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/asset.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/departments.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/dependency.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/entity_manager.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/filesystem/file.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/filesystem/filesequence.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/filesystem/fileset.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/filesystem/filesystemobject.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/film.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/lib.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/maputils.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/runactions.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/runners.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/search.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/shot.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/task.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/task_manager.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/controller.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/delegate.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/file.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/file_cell.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/file_history.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/file_list.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/homepage.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/importfiles/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/importfiles/custom_widget.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/importfiles/files_list.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/importfiles/target_wizard.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/job_queue.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/mytasks/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/mytasks/components.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/mytasks/edit_dialog.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/mytasks/file_list.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/mytasks/mytasks.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/mytasks/qmodel.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/qmodel.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/ui/task.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/baseflow/users.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/cli.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/custom_home/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/custom_home/ui.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/custom_home/wizard.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/demoflow/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/demoflow/film.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/demoflow/lib.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/departments.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/file.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/film.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/kitsu.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/lib.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/runners.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/examples/majorque/users.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/gui.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/index.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/jobs_cleaner.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/jobs_node.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.abc +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.aep +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.ai +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.blend +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.fbx +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.fla +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.jpg +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.json +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.jsx +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.kra +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.mov +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.mp4 +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.nk +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.obj +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.prproj +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.psb +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.psd +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.tvpp +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.txt +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.usd +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.usda +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.usdz +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.wav +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template.xpix +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/file_templates/template_2D.blend +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/fonts/SpaceGrotesk-Bold.ttf +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/fonts/SpaceGrotesk-Regular.ttf +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/fonts/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/applications/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/applications/rv.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/flow/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/flow/alembic.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/flow/explorer.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/flow/photoshop.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/flow/quicktime.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/add-file.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/add-folder.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/arrow-down.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/arrow-right.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/check-box-empty-dark.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/close.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/duplicate.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/location-worldwide-disabled.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/location-worldwide.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/maximize.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/menu.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/menu_dots.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/minimize.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/mytasks-disabled.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/mytasks.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/nav-arrow-left-disabled.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/nav-arrow-left.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/nav-arrow-refresh-disabled.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/nav-arrow-refresh.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/nav-arrow-right-disabled.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/nav-arrow-right.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/ref-broken.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/ref.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/refresh.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/send.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/gui/send2.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/check.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/done.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/init.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/on_kitsu.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/retake.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/wfa.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/wip.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/working_copy.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/history/working_copy_mine.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/3d-object.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/active_site.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/afterfx.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/animate.svg +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/archive.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/available.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/blank.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/blender.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/checked-symbol-colored.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/checked-symbol-owner.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/checked-symbol.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/circle-shape-outline.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/circle-shape-right-eye-outline.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/circular-shape-right-eye-silhouette.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/circular-shape-silhouette.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/clean.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/clipboard.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/compare-previews.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/cross-mark-on-a-black-circle-background-colored.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/custom_home_star.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/delete.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/dependencies.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/download.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/downloadable.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/duplicate.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/edit-blank.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/edit-lock-green.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/edit-lock-red.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/error.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/exchange.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/exclamation-sign-colored.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/fbx.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/firefox.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/hide.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/history.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/illustrator.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/json.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/jsx.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu.svg +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu_status_done.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu_status_oklodv.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu_status_omit.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu_status_retake.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu_status_todo.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu_status_wfa.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/kitsu_status_wip.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/krita.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/lock-green.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/lock-red.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/log_out.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/multi-share-option.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/nuke.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/origin-site.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/padlock.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/padlock_green.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/padlock_red.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/premiere-pro.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/publish-ae.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/publish-blender.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/publish-ps.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/publish.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/quicktime.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/refresh.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/request.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/requestable.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/run.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/share-option.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/show.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/stop.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/sync.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/sync_arrow.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/time_format.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/tvpaint.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/unavailable.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/upload.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/vscodium.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/waiting.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/warning.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/libreflow/watch.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/done.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/err.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/inv.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/none.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/nys.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/oop.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/rtk.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/rvw.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/wait.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/warn.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/status/wip.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/animation.svg +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/clean.svg +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/colo.svg +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/compositing.svg +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/design.svg +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/layout.svg +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/lighting.svg +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/modeling.svg +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/rigging.svg +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/icons/tasks/shading.svg +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/mark_sequence/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/mark_sequence/fields/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/mark_sequence/fields/default.json +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/mark_sequence/fonts/LiberationMono-Regular.ttf +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/mark_sequence/fonts/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/scripts/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/scripts/blender/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/scripts/blender/disable_save_keymap.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/scripts/tvpaint/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/scripts/tvpaint/save_dependencies.grg +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/styles/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/styles/custom_style/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/styles/custom_style/custom_style.css +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/styles/lfs_tech/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/resources/styles/lfs_tech/lfs_tech_style.css +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/scripts/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/scripts/mark_sequence.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/scripts/minio_file_downloader.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/scripts/minio_file_uploader.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/scripts/minio_progress.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/scripts/session_worker.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/session.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/sync.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/sync_jobs_cleaner.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/b3d.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/action_values.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/context_values.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/entities.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/file_processing.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/import_files.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/process_files.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/flow/values.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/flow_contextual_dict/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/flow_contextual_dict/view/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/flow_entities/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/flow_entities/entities.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/jobs/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/jobs/demo_flow.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/jobs/jobs_actor.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/jobs/jobs_flow.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/jobs/jobs_flow_worker.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/jobs/jobs_node.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/jobs/jobs_view.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/script_view/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/script_view/script_view.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/subprocess_manager/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/subprocess_manager/views/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/subprocess_manager/views/subprocess_view.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/ui/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/ui/flow_view.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/ui/main_window.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/ui/navigation_control.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/kabaret/ui/widget_view.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/os.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/actor.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/__init__.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/export.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/filter-disabled.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/filter-enabled.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/import.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/magn-glass.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/minus-button.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/plus-button.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/remove.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/data/icons/run-button.png +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/search/view.py +0 -0
- {libreflow-2.16.2 → libreflow-2.18.0}/src/libreflow/utils/ui/__init__.py +0 -0
- {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.
|
|
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
|
|
@@ -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.
|
|
22
|
-
__version_tuple__ = version_tuple = (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
|
|
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.
|
|
3073
|
+
normalize_movie = flow.Param(False, NormalizeMovieValue).ui(editor='bool')
|
|
3050
3074
|
|
|
3051
3075
|
def __init__(self, parent, name):
|
|
3052
|
-
super(
|
|
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
|
|
3160
|
+
msg = "<h2>Upload preview to Kitsu</h2>"
|
|
3126
3161
|
|
|
3127
|
-
if kitsu_entity 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>
|
|
3130
|
-
"
|
|
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
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
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
|
|
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
|
|
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
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
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
|
|
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
|
-
|
|
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(
|
|
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')
|