Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Ayon Load Media PR logic and refactor to latest develop #634

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
465 commits
Select commit Hold shift + click to select a range
21c02e0
added more info to package py and added version.py
iLLiCiTiT Jun 3, 2024
a07820c
fix imports
iLLiCiTiT Jun 3, 2024
67f6a92
Merge branch 'develop' into enhancement/AY-5538_workfile-increment-in…
antirotor Jun 3, 2024
2b7338b
added settings category
iLLiCiTiT Jun 3, 2024
9457a82
added hiero milestone
iLLiCiTiT Jun 3, 2024
87fa03b
remove settings for not existing plugins
iLLiCiTiT Jun 3, 2024
ceab71c
renamed 'HIERO_ROOT_DIR' to 'HIERO_ADDON_ROOT'
iLLiCiTiT Jun 3, 2024
6cf485c
use 'HIERO_ADDON_ROOT' in api
iLLiCiTiT Jun 3, 2024
3128c2f
fix ruff ignore
iLLiCiTiT Jun 3, 2024
24c8acd
fix ruff ignore one more time
iLLiCiTiT Jun 3, 2024
e483f14
Merge branch 'develop' into enhancement/AY-4915_Move-Hiero-client-code
iLLiCiTiT Jun 3, 2024
f6417af
change ignore for ruff
iLLiCiTiT Jun 3, 2024
52a82a9
log debug for missing settings
iLLiCiTiT Jun 3, 2024
2465691
Merge branch 'develop' into enhancement/AY-4914_Move-Harmony-client-code
iLLiCiTiT Jun 3, 2024
0113b75
Merge branch 'develop' into enhancement/AY-5650_Move-Blender-client-code
iLLiCiTiT Jun 3, 2024
577da3f
AY-5539 - protect from empty field in Settings
kalisp Jun 3, 2024
1c1489a
warn about missing category and ignore missing publish plugin
iLLiCiTiT Jun 3, 2024
7513744
Merge branch 'develop' of https://github.com/ynput/ayon-core into enh…
BigRoy Jun 3, 2024
34432b2
Bump version
BigRoy Jun 3, 2024
33bd9a8
log addons alphabetically
iLLiCiTiT Jun 3, 2024
bf81dd1
Merge branch 'develop' into enhancement/addon-version
iLLiCiTiT Jun 3, 2024
91edccb
fix indentation
iLLiCiTiT Jun 3, 2024
dd02631
AY-5539 - do only single re compile
kalisp Jun 3, 2024
00dc137
Merge pull request #585 from ynput/enhancement/addon-version
iLLiCiTiT Jun 3, 2024
2eb9453
Merge branch 'develop' into enhancement/use-defug-for-missing-settings
iLLiCiTiT Jun 3, 2024
a99afd2
Merge pull request #587 from ynput/enhancement/use-defug-for-missing-…
iLLiCiTiT Jun 3, 2024
118b4c1
improve version up current workfile and code tweak
moonyuet Jun 3, 2024
ca307c7
Expand folders when searching in the folder widgets (Loader + Launcher)
BigRoy Jun 3, 2024
3958a51
Merge branch 'develop' of https://github.com/ynput/ayon-core into enh…
BigRoy Jun 3, 2024
fa158d3
Expand tooltip
BigRoy Jun 3, 2024
76b9655
Refactor imports
BigRoy Jun 3, 2024
c2b35e2
code tweaks - big roy's comment
moonyuet Jun 4, 2024
392507e
Merge branch 'develop' into enhancement/AY-5538_workfile-increment-in…
moonyuet Jun 4, 2024
fc2b830
bump maya addon version
moonyuet Jun 4, 2024
2e6b944
Merge branch 'develop' into enhancement/maya_load_reference_usd_time
antirotor Jun 4, 2024
72e06a0
Merge pull request #466 from BigRoy/enhancement/maya_load_reference_u…
antirotor Jun 4, 2024
66df4fc
add sync workfile version into substance painter
moonyuet Jun 4, 2024
d1951f3
bump addons version
moonyuet Jun 4, 2024
c97c984
follow workfile version exists in creator's tab
moonyuet Jun 4, 2024
7c254b8
rename collect current file to current_context_data
moonyuet Jun 4, 2024
213742c
fixing missing families in loader plugin procedure
jakubjezek001 Jun 4, 2024
84e5c64
Merge branch 'develop' into enhancement/AY-4915_Move-Hiero-client-code
jakubjezek001 Jun 4, 2024
00f19a4
Merge pull request #586 from ynput/enhancement/AY-4915_Move-Hiero-cli…
jakubjezek001 Jun 4, 2024
8f7882a
use 'newHierarchyIntegration' instead of 'newAssetPublishing'
iLLiCiTiT Jun 4, 2024
cfe6ae1
use 'newHierarchyIntegration' over 'newAssetPublishing' in hosts
iLLiCiTiT Jun 4, 2024
7fd7512
Update package.py
moonyuet Jun 4, 2024
f83ee81
Update client/ayon_core/version.py
moonyuet Jun 4, 2024
133fb37
Merge branch 'develop' into bugfix/loader-versions-sorting
iLLiCiTiT Jun 4, 2024
9a63d24
Merge pull request #559 from ynput/bugfix/loader-versions-sorting
iLLiCiTiT Jun 4, 2024
8403e2f
follow workfile version can only be enabled through the ayon project …
moonyuet Jun 5, 2024
b55ead0
remove the duplicated collect verion
moonyuet Jun 5, 2024
dd99516
move the workfile version collector into general publish plugins
moonyuet Jun 5, 2024
a842472
Merge branch 'develop' into enhancement/maya_template_add_assign_look…
LiborBatek Jun 5, 2024
4dc0e6c
Merge pull request #437 from BigRoy/enhancement/maya_template_add_ass…
LiborBatek Jun 5, 2024
829e411
add follow workfile version in substance paitner ayon project setting
moonyuet Jun 5, 2024
8f00b72
The name of the follow workfile version should be follow workfile ver…
moonyuet Jun 5, 2024
b789aa7
restore the creator logic
moonyuet Jun 5, 2024
5e9b974
restore the creator logic
moonyuet Jun 5, 2024
1d5d73a
Merge branch 'develop' into enhancement/AY-4914_Move-Harmony-client-code
iLLiCiTiT Jun 5, 2024
45eeaf2
Merge branch 'develop' into enhancement/AY-5650_Move-Blender-client-code
iLLiCiTiT Jun 5, 2024
fbacbec
Merge pull request #582 from ynput/enhancement/AY-5650_Move-Blender-c…
iLLiCiTiT Jun 5, 2024
3e86be2
Refactor loop to handle empty sequence case
jakubjezek001 Jun 5, 2024
48367f2
fix circular import
iLLiCiTiT Jun 5, 2024
c34da53
Merge branch 'develop' into enhancement/AY-4914_Move-Harmony-client-code
iLLiCiTiT Jun 5, 2024
f079455
Merge pull request #568 from ynput/enhancement/AY-4914_Move-Harmony-c…
iLLiCiTiT Jun 5, 2024
832ab1c
Merge branch 'develop' into bugfix/AY-5725_hiero-loader-is-not-offeri…
jakubjezek001 Jun 5, 2024
a8af052
Merge pull request #595 from ynput/bugfix/AY-5725_hiero-loader-is-not…
jakubjezek001 Jun 5, 2024
93dd3f2
menu named AYON menu and add condition check on workfile path save so…
moonyuet Jun 5, 2024
acd39c4
Merge branch 'develop' into enhancement/AY-5538_workfile-increment-in…
antirotor Jun 5, 2024
e4ea0ab
Update package.py
moonyuet Jun 5, 2024
869d336
code tweaks - big roy's comment
moonyuet Jun 5, 2024
5310fd7
add the condition back
moonyuet Jun 5, 2024
a0cb4a2
Merge pull request #545 from ynput/enhancement/AY-5538_workfile-incre…
moonyuet Jun 5, 2024
8f17ebe
Nice and shiny settings title for `Validate Outdated Containers`
BigRoy Jun 5, 2024
2e2fe06
Merge pull request #597 from BigRoy/enhancement/validate_containers_s…
iLLiCiTiT Jun 5, 2024
8b18196
wrap 'get_containers' to try except
iLLiCiTiT Jun 5, 2024
fbec72a
moved royal integration next to server codebase
iLLiCiTiT Jun 5, 2024
9e18a1d
fixed imports
iLLiCiTiT Jun 5, 2024
20b451c
bumped version
iLLiCiTiT Jun 5, 2024
b44ed88
define client dir and added core dependency
iLLiCiTiT Jun 5, 2024
4ec65f4
define royalrender milestone
iLLiCiTiT Jun 5, 2024
84cac2a
create/copy files only if needed
iLLiCiTiT Jun 5, 2024
09fd532
fix version in houdini addon
iLLiCiTiT Jun 5, 2024
ddaf6ea
Merge branch 'develop' into enhancement/tools_folder_path_widget_expa…
BigRoy Jun 5, 2024
8250302
Merge pull request #600 from ynput/enhancement/faster-create-package
iLLiCiTiT Jun 6, 2024
42b1d5e
fix typo
iLLiCiTiT Jun 6, 2024
d1f2057
Merge branch 'develop' into enhancement/safer-access-to-loaded-contai…
iLLiCiTiT Jun 6, 2024
65704d5
Merge pull request #598 from ynput/enhancement/safer-access-to-loaded…
iLLiCiTiT Jun 6, 2024
e4a47de
Merge branch 'develop' into enhancement/tools_folder_path_widget_expa…
iLLiCiTiT Jun 6, 2024
8daed6f
Merge pull request #588 from BigRoy/enhancement/tools_folder_path_wid…
iLLiCiTiT Jun 6, 2024
175833d
Merge branch 'develop' into enhancement/AY-4909_Move-AfterEffects-cli…
iLLiCiTiT Jun 6, 2024
edc7986
Remove duplicated line
iLLiCiTiT Jun 6, 2024
0065470
Merge pull request #578 from ynput/enhancement/AY-4909_Move-AfterEffe…
iLLiCiTiT Jun 6, 2024
123f4cd
Merge branch 'develop' into enhancement/AY-4931_Move-RR-client-code
iLLiCiTiT Jun 6, 2024
d73ed7a
add review attributes to create textures
moonyuet Jun 6, 2024
cbc0516
AY-5539 - refactor argument name
kalisp Jun 6, 2024
909d6e7
AY-5539 - refactor name of method
kalisp Jun 6, 2024
58dfd65
Merge branch 'develop' of https://github.com/ynput/ayon-core into bug…
kalisp Jun 6, 2024
f203026
Merge pull request #599 from ynput/enhancement/AY-4931_Move-RR-client…
iLLiCiTiT Jun 6, 2024
db012ea
Merge branch 'develop' of https://github.com/ynput/ayon-core into bug…
kalisp Jun 6, 2024
6df1a97
Merge pull request #572 from ynput/bugfix/AY-5647_Enabled-toggle-is-i…
kalisp Jun 6, 2024
6bcceba
move deadline integration next to server codebase
iLLiCiTiT Jun 6, 2024
9202f0e
bump version and define milestone
iLLiCiTiT Jun 6, 2024
3668a7f
fix imports
iLLiCiTiT Jun 6, 2024
73b20d8
make sure directory used during switching asset when users switch fro…
moonyuet Jun 6, 2024
8eddd59
use deadline addon from ayonAddonsManager during publishing
iLLiCiTiT Jun 6, 2024
1d6d241
use addon naming
iLLiCiTiT Jun 6, 2024
a1cd2e1
renamed deadline_module.py to addon.py
iLLiCiTiT Jun 6, 2024
d8f5539
added settings category to publish plugins
iLLiCiTiT Jun 6, 2024
9b25849
fix more imports
iLLiCiTiT Jun 6, 2024
9703feb
simplified initialization
iLLiCiTiT Jun 6, 2024
ace0a73
modify formatting in site settings model
iLLiCiTiT Jun 6, 2024
e335d0f
use direct ayon_weblisher import
iLLiCiTiT Jun 6, 2024
6fad829
fix apply of settings in royal render
iLLiCiTiT Jun 6, 2024
d606dec
fix ruff ignore paths
iLLiCiTiT Jun 6, 2024
4cbbe32
mark 'newAssetPublishing' as deprecated since 24/06/06
iLLiCiTiT Jun 6, 2024
b7686fe
moved unreal integration next to server codebase
iLLiCiTiT Jun 6, 2024
b92b7f5
moved integration to client codebase
iLLiCiTiT Jun 6, 2024
196d307
bump version and add version to client addon
iLLiCiTiT Jun 6, 2024
8ca69f5
define 'UNREAL_ADDON_ROOT' and use it
iLLiCiTiT Jun 6, 2024
54e57fa
fix imports
iLLiCiTiT Jun 6, 2024
b296492
add unreal milestone
iLLiCiTiT Jun 6, 2024
8dcf6db
Merge branch 'develop' into enhancement/dont-use-asset-naming-in-edit…
iLLiCiTiT Jun 6, 2024
cee23f3
remove moved or removed filenames
iLLiCiTiT Jun 6, 2024
430ad89
removed useless variables
iLLiCiTiT Jun 6, 2024
784528d
don't try to make openpype compatibility
iLLiCiTiT Jun 6, 2024
6fd8a18
fix class name in readme
iLLiCiTiT Jun 6, 2024
eb0083f
add version to applications client addon class
iLLiCiTiT Jun 6, 2024
f2acf10
add version to clockify client addon class
iLLiCiTiT Jun 6, 2024
a62478a
add version to maya client addon class
iLLiCiTiT Jun 6, 2024
7d2948b
add version to max client addon class
iLLiCiTiT Jun 6, 2024
58f62d2
add version to nuke client addon class
iLLiCiTiT Jun 6, 2024
3142521
add version to houdini client addon class
iLLiCiTiT Jun 6, 2024
811bb5d
add version to substance painter client addon class
iLLiCiTiT Jun 6, 2024
cdd3919
add version to traypublisher client addon class
iLLiCiTiT Jun 6, 2024
1dd326e
remove python 2 vendor
iLLiCiTiT Jun 6, 2024
f1d205e
remove empty python 3 vendor
iLLiCiTiT Jun 6, 2024
3d51ea6
don't load python specific packages
iLLiCiTiT Jun 6, 2024
5385623
move common one level higher
iLLiCiTiT Jun 6, 2024
b9698a8
fix used sys path
iLLiCiTiT Jun 6, 2024
1b84b39
add substance painter host into collect scene version
moonyuet Jun 7, 2024
7ad640a
supports multiselection for loading file into folder
moonyuet Jun 7, 2024
1f70637
ruff cosmetic fix
moonyuet Jun 7, 2024
4640f26
Merge branch 'develop' into enhancement/AY-5539_define-creators-per-task
kalisp Jun 7, 2024
69e36b8
Merge pull request #604 from ynput/feature/AY-4930_Move-Deadline-clie…
iLLiCiTiT Jun 7, 2024
8fed343
bump addons version
moonyuet Jun 7, 2024
b246ce9
Merge branch 'develop' into enhancement/AY-5648_Substance-work--publi…
moonyuet Jun 7, 2024
7676724
remove the duplicated version collector
moonyuet Jun 7, 2024
6baecb8
not adding create texture into the changes
moonyuet Jun 7, 2024
5970a75
not adding create texture into the changes
moonyuet Jun 7, 2024
f3a6d37
Update client/ayon_core/plugins/publish/collect_anatomy_instance_data.py
moonyuet Jun 7, 2024
f6529ea
move timers managers client code next to server codebase
iLLiCiTiT Jun 7, 2024
b050624
update package.py and bump version
iLLiCiTiT Jun 7, 2024
426f057
move pynput dependency to timers manager
iLLiCiTiT Jun 7, 2024
ae803e3
create jobqueue addon
iLLiCiTiT Jun 7, 2024
5e9a0f5
move 'aiohttp_json_rpc' to jobqueue addon
iLLiCiTiT Jun 7, 2024
075c2ed
fix import in tvpaint
iLLiCiTiT Jun 7, 2024
02e90bf
remove 'wsrpc_aiohttp' from core pyproject toml
iLLiCiTiT Jun 7, 2024
175b2f8
add empty line
iLLiCiTiT Jun 7, 2024
e6598e2
Merge branch 'develop' into enhancement/remove-python-2-vendor
iLLiCiTiT Jun 7, 2024
e48e2b0
Merge branch 'develop' into enhancement/movement-cleanups
iLLiCiTiT Jun 7, 2024
192cd14
bump tvpaint client version
iLLiCiTiT Jun 7, 2024
ba3ea34
Merge pull request #611 from ynput/enhancement/AY-4932_Move-JobQueue-…
iLLiCiTiT Jun 7, 2024
fc86a1f
added timers manager milestone
iLLiCiTiT Jun 7, 2024
1d2c9b2
Merge branch 'develop' into enhancement/movement-cleanups
iLLiCiTiT Jun 7, 2024
591f8fd
Merge branch 'develop' into enhancement/AY-4933_Move-TimersManager-addon
iLLiCiTiT Jun 7, 2024
15d2c52
Merge branch 'develop' into enhancement/remove-python-2-vendor
iLLiCiTiT Jun 7, 2024
1d51cdb
Merge branch 'develop' into feature/AY-4923_Move-Unreal-client-code
iLLiCiTiT Jun 7, 2024
d00c3cb
bump version of changed addons
iLLiCiTiT Jun 7, 2024
2ce77d8
bump resolve version
iLLiCiTiT Jun 7, 2024
b9bb7e2
Merge pull request #610 from ynput/enhancement/AY-4933_Move-TimersMan…
iLLiCiTiT Jun 7, 2024
171b292
fix creation of packages
iLLiCiTiT Jun 7, 2024
09bc271
Merge branch 'develop' into enhancement/movement-cleanups
iLLiCiTiT Jun 7, 2024
299fee2
fix creation of packages
iLLiCiTiT Jun 7, 2024
7915ab3
Merge pull request #612 from ynput/bugfix/create-packages-fix
iLLiCiTiT Jun 7, 2024
fc26763
Merge branch 'develop' into enhancement/movement-cleanups
iLLiCiTiT Jun 7, 2024
d70c78a
removed duplicated attribute
iLLiCiTiT Jun 7, 2024
c5ded0d
Merge pull request #606 from ynput/enhancement/movement-cleanups
iLLiCiTiT Jun 7, 2024
fa42d02
Merge branch 'develop' into enhancement/remove-python-2-vendor
iLLiCiTiT Jun 7, 2024
473cd3d
Merge pull request #607 from ynput/enhancement/remove-python-2-vendor
iLLiCiTiT Jun 7, 2024
1d30a9a
Merge branch 'develop' into enhancement/AY-5146_Hiero--enhancing-effe…
jakubjezek001 Jun 7, 2024
ad7beff
Fixing itnegrate ignoring for shot product types
jakubjezek001 Jun 7, 2024
642908a
Bump addon version from 0.2.0 to 0.2.1
jakubjezek001 Jun 7, 2024
d323844
Remove import and defaultdict
jakubjezek001 Jun 7, 2024
2aa6206
Merge pull request #492 from ynput/enhancement/AY-5146_Hiero--enhanci…
jakubjezek001 Jun 7, 2024
52a597c
Merge branch 'develop' into bugfix/AY-5045_AE-switching-asset-from-mo…
moonyuet Jun 7, 2024
976bbaf
Merge pull request #603 from ynput/bugfix/AY-5045_AE-switching-asset-…
moonyuet Jun 7, 2024
1993b4f
Merge branch 'develop' into feature/AY-4923_Move-Unreal-client-code
antirotor Jun 7, 2024
9b0f17e
Update server_addon/aftereffects/client/ayon_aftereffects/plugins/loa…
moonyuet Jun 7, 2024
5cdc58c
Merge branch 'develop' into bugfix/AY-5044_AE-multiselection-in-Loader
moonyuet Jun 7, 2024
2bdb438
Merge pull request #609 from ynput/bugfix/AY-5044_AE-multiselection-i…
moonyuet Jun 7, 2024
8218821
Merge branch 'develop' into enhancement/AY-5648_Substance-work--publi…
moonyuet Jun 7, 2024
997b8f3
Merge branch 'develop' into feature/AY-4923_Move-Unreal-client-code
iLLiCiTiT Jun 7, 2024
2909077
Merge pull request #605 from ynput/feature/AY-4923_Move-Unreal-client…
iLLiCiTiT Jun 7, 2024
794e433
Merge branch 'develop' into enhancement/dont-use-asset-naming-in-edit…
iLLiCiTiT Jun 7, 2024
51e57e5
Merge develop
kalisp Jun 7, 2024
60c42b4
Standardize families to submit_publish_job
kalisp Jun 7, 2024
3139cb2
:fire: remove unreal addon for its new home
antirotor Jun 7, 2024
e6fed33
Merge branch 'develop' into enhancement/AY-5539_define-creators-per-task
kalisp Jun 10, 2024
0a702fe
Merge pull request #560 from ynput/enhancement/AY-5539_define-creator…
kalisp Jun 10, 2024
0cdaf38
Merge branch 'develop' into chore/remove-unreal-addon
antirotor Jun 10, 2024
a66b326
Merge branch 'develop' into enhancement/dont-use-asset-naming-in-edit…
iLLiCiTiT Jun 10, 2024
b6d7bd9
bump versions
iLLiCiTiT Jun 10, 2024
a36a4d5
Merge pull request #592 from ynput/enhancement/dont-use-asset-naming-…
iLLiCiTiT Jun 10, 2024
f0d1250
fix client versions
iLLiCiTiT Jun 10, 2024
d4fe1bb
Merge branch 'develop' into bugfix/update-wrong-client-versions
iLLiCiTiT Jun 10, 2024
3f82387
Merge pull request #616 from ynput/bugfix/update-wrong-client-versions
iLLiCiTiT Jun 10, 2024
f9cc394
removed ftrack resources
iLLiCiTiT Jun 10, 2024
d05f91d
Merge pull request #617 from ynput/enhancement/remove-ftrack-resources
iLLiCiTiT Jun 10, 2024
43b7200
resolve conflict
moonyuet Jun 10, 2024
0a99109
remove unrelated hosts and bump application addon version
moonyuet Jun 10, 2024
38d2318
Report exception info when CLI command failed to be added.
BigRoy Jun 10, 2024
5d6e5f3
bump application version in version.py
moonyuet Jun 10, 2024
246213d
Merge branch 'develop' into enhancement/AY-5687_Substance-review-attr…
moonyuet Jun 10, 2024
d8c0e86
Merge pull request #619 from BigRoy/enhancement/fail_add_cli_command_…
iLLiCiTiT Jun 10, 2024
0de31e3
Merge branch 'develop' into enhancement/AY-5687_Substance-review-attr…
moonyuet Jun 10, 2024
4a871c3
Merge pull request #602 from ynput/enhancement/AY-5687_Substance-revi…
moonyuet Jun 10, 2024
c0be1b7
Merge branch 'develop' into feature/AY-5372_-Feature-integrationunit-…
iLLiCiTiT Jun 10, 2024
28013f8
Merge pull request #576 from ynput/feature/AY-5372_-Feature-integrati…
iLLiCiTiT Jun 10, 2024
30eeb00
remove only representations that were processed by the plugin
iLLiCiTiT Jun 10, 2024
91c5866
Merge branch 'develop' into enhancement/AY-5648_Substance-work--publi…
moonyuet Jun 10, 2024
bb57e76
resolve conflict
moonyuet Jun 10, 2024
a853d39
Use single list of families
kalisp Jun 10, 2024
a39b150
Merge branch 'develop' into bugfix/add_deadline_to_prerender
kalisp Jun 10, 2024
ddfc46b
Merge pull request #550 from ynput/bugfix/add_deadline_to_prerender
kalisp Jun 10, 2024
e7b436a
Actually format the representation name into the log message
BigRoy Jun 10, 2024
0d4d13e
Fix typo `_on_refreh_clicked` -> `_on_refresh_clicked`
BigRoy Jun 10, 2024
34a055d
Fix `super` call
BigRoy Jun 10, 2024
d7ea9dd
Fix duplicated function `_rename_in_representation`
BigRoy Jun 10, 2024
9d43eda
Merge pull request #628 from BigRoy/bugfix/attribute_definitions_hidd…
iLLiCiTiT Jun 11, 2024
93a01e2
Merge branch 'develop' into chore/fix_method_typo
iLLiCiTiT Jun 11, 2024
3f1687b
Merge pull request #627 from BigRoy/chore/fix_method_typo
iLLiCiTiT Jun 11, 2024
e919d91
Merge branch 'develop' into bugfix/extract_color_transcore_log_message
iLLiCiTiT Jun 11, 2024
32176b2
Merge pull request #626 from BigRoy/bugfix/extract_color_transcore_lo…
iLLiCiTiT Jun 11, 2024
1450ccb
Merge branch 'develop' into enhancement/AY-5648_Substance-work--publi…
moonyuet Jun 11, 2024
ee83bcb
Merge branch 'develop' into chore/extract_color_transcode_remove_dupl…
BigRoy Jun 11, 2024
239dd10
Merge branch 'develop' into bugfix/oiio-transcode-delete-in-repre
iLLiCiTiT Jun 11, 2024
fa4d377
Merge pull request #620 from ynput/bugfix/oiio-transcode-delete-in-repre
iLLiCiTiT Jun 11, 2024
9f26718
Merge branch 'develop' into enhancement/AY-5648_Substance-work--publi…
moonyuet Jun 11, 2024
a6709f2
Merge pull request #590 from ynput/enhancement/AY-5648_Substance-work…
moonyuet Jun 11, 2024
c17f53d
Merge branch 'develop' into chore/extract_color_transcode_remove_dupl…
iLLiCiTiT Jun 11, 2024
717955e
Merge pull request #629 from BigRoy/chore/extract_color_transcode_rem…
iLLiCiTiT Jun 11, 2024
88eba62
Merge branch 'develop' into chore/remove-unreal-addon
iLLiCiTiT Jun 11, 2024
d671c98
Merge pull request #614 from ynput/chore/remove-unreal-addon
iLLiCiTiT Jun 11, 2024
ced0e9f
Merge branch 'develop' of https://github.com/ynput/ayon-core into enh…
BigRoy Jun 11, 2024
f861dfa
Fix refactor of `remove_unused_media_pool_items` location
BigRoy Jun 11, 2024
d39acab
Fix usage of undefined variable
BigRoy Jun 11, 2024
14781e7
Cosmetics
BigRoy Jun 11, 2024
7a72ecb
Fix refactor of imports
BigRoy Jun 11, 2024
a51b2b4
Add selected to label
BigRoy Jun 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

6 changes: 3 additions & 3 deletions client/ayon_core/addon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ AYON addons should contain separated logic of specific kind of implementation, s
- addon has more logic when used in a tray
- it is possible that addon can be used only in the tray
- abstract methods
- `tray_init` - initialization triggered after `initialize` when used in `TrayModulesManager` and before `connect_with_addons`
- `tray_init` - initialization triggered after `initialize` when used in `TrayAddonsManager` and before `connect_with_addons`
- `tray_menu` - add actions to tray widget's menu that represent the addon
- `tray_start` - start of addon's login in tray
- addon is initialized and connected with other addons
- `tray_exit` - addon's cleanup like stop and join threads etc.
- order of calling is based on implementation this order is how it works with `TrayModulesManager`
- order of calling is based on implementation this order is how it works with `TrayAddonsManager`
- it is recommended to import and use GUI implementation only in these methods
- has attribute `tray_initialized` (bool) which is set to False by default and is set by `TrayModulesManager` to True after `tray_init`
- has attribute `tray_initialized` (bool) which is set to False by default and is set by `TrayAddonsManager` to True after `tray_init`
- if addon has logic only in tray or for both then should be checking for `tray_initialized` attribute to decide how should handle situations

### ITrayService
Expand Down
161 changes: 111 additions & 50 deletions client/ayon_core/addon/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import logging
import threading
import collections

from uuid import uuid4
from abc import ABCMeta, abstractmethod

Expand Down Expand Up @@ -38,27 +37,33 @@
"base.py",
"interfaces.py",
"click_wrap.py",
"example_addons",
"default_modules",
)
IGNORED_HOSTS_IN_AYON = {
"flame",
"harmony",
}
IGNORED_MODULES_IN_AYON = set()

# When addon was moved from ayon-core codebase
# - this is used to log the missing addon
MOVED_ADDON_MILESTONE_VERSIONS = {
"aftereffects": VersionInfo(0, 2, 0),
"applications": VersionInfo(0, 2, 0),
"blender": VersionInfo(0, 2, 0),
"celaction": VersionInfo(0, 2, 0),
"clockify": VersionInfo(0, 2, 0),
"deadline": VersionInfo(0, 2, 0),
"flame": VersionInfo(0, 2, 0),
"fusion": VersionInfo(0, 2, 0),
"harmony": VersionInfo(0, 2, 0),
"hiero": VersionInfo(0, 2, 0),
"max": VersionInfo(0, 2, 0),
"photoshop": VersionInfo(0, 2, 0),
"timers_manager": VersionInfo(0, 2, 0),
"traypublisher": VersionInfo(0, 2, 0),
"tvpaint": VersionInfo(0, 2, 0),
"maya": VersionInfo(0, 2, 0),
"nuke": VersionInfo(0, 2, 0),
"resolve": VersionInfo(0, 2, 0),
"royalrender": VersionInfo(0, 2, 0),
"substancepainter": VersionInfo(0, 2, 0),
"houdini": VersionInfo(0, 3, 0),
"unreal": VersionInfo(0, 2, 0),
}


Expand Down Expand Up @@ -409,12 +414,6 @@ def _load_addons_in_core(
hosts_dir = os.path.join(AYON_CORE_ROOT, "hosts")
modules_dir = os.path.join(AYON_CORE_ROOT, "modules")

ignored_host_names = set(IGNORED_HOSTS_IN_AYON)
ignored_module_dir_filenames = (
set(IGNORED_DEFAULT_FILENAMES)
| IGNORED_MODULES_IN_AYON
)

for dirpath in {hosts_dir, modules_dir}:
if not os.path.exists(dirpath):
log.warning((
Expand All @@ -423,10 +422,9 @@ def _load_addons_in_core(
continue

is_in_modules_dir = dirpath == modules_dir
ignored_filenames = set()
if is_in_modules_dir:
ignored_filenames = ignored_module_dir_filenames
else:
ignored_filenames = ignored_host_names
ignored_filenames = set(IGNORED_DEFAULT_FILENAMES)

for filename in os.listdir(dirpath):
# Ignore filenames
Expand Down Expand Up @@ -492,9 +490,6 @@ def _load_addons_in_core(


def _load_addons():
# Support to use 'openpype' imports
sys.modules["openpype"] = sys.modules["ayon_core"]

# Key under which will be modules imported in `sys.modules`
modules_key = "openpype_modules"

Expand Down Expand Up @@ -547,6 +542,9 @@ class AYONAddon(object):
enabled = True
_id = None

# Temporary variable for 'version' property
_missing_version_warned = False

def __init__(self, manager, settings):
self.manager = manager

Expand Down Expand Up @@ -577,6 +575,26 @@ def name(self):

pass

@property
def version(self):
"""Addon version.

Todo:
Should be abstract property (required). Introduced in
ayon-core 0.3.3 .

Returns:
str: Addon version as semver compatible string.

"""
if not self.__class__._missing_version_warned:
self.__class__._missing_version_warned = True
print(
f"DEV WARNING: Addon '{self.name}' does not have"
f" defined version."
)
return "0.0.0"

def initialize(self, settings):
"""Initialization of addon attributes.

Expand Down Expand Up @@ -692,6 +710,30 @@ class OpenPypeAddOn(OpenPypeModule):
enabled = True


class _AddonReportInfo:
def __init__(
self, class_name, name, version, report_value_by_label
):
self.class_name = class_name
self.name = name
self.version = version
self.report_value_by_label = report_value_by_label

@classmethod
def from_addon(cls, addon, report):
class_name = addon.__class__.__name__
report_value_by_label = {
label: reported.get(class_name)
for label, reported in report.items()
}
return cls(
addon.__class__.__name__,
addon.name,
addon.version,
report_value_by_label
)


class AddonsManager:
"""Manager of addons that helps to load and prepare them to work.

Expand Down Expand Up @@ -868,10 +910,6 @@ def initialize_addons(self):
name_alias = getattr(addon, "openpype_alias", None)
if name_alias:
aliased_names.append((name_alias, addon))
enabled_str = "X"
if not addon.enabled:
enabled_str = " "
self.log.debug("[{}] {}".format(enabled_str, name))

now = time.time()
report[addon.__class__.__name__] = now - prev_start_time
Expand All @@ -883,6 +921,13 @@ def initialize_addons(self):
exc_info=True
)

for addon_name in sorted(self._addons_by_name.keys()):
addon = self._addons_by_name[addon_name]
enabled_str = "X" if addon.enabled else " "
self.log.debug(
f"[{enabled_str}] {addon.name} ({addon.version})"
)

for item in aliased_names:
name_alias, addon = item
if name_alias not in self._addons_by_name:
Expand Down Expand Up @@ -1171,39 +1216,55 @@ class name and value is time delta of it's processing.
available_col_names |= set(addon_names.keys())

# Prepare ordered dictionary for columns
cols = collections.OrderedDict()
# Add addon names to first columnt
cols["Addon name"] = list(sorted(
addon.__class__.__name__
addons_info = [
_AddonReportInfo.from_addon(addon, self._report)
for addon in self.addons
if addon.__class__.__name__ in available_col_names
))
]
addons_info.sort(key=lambda x: x.name)

addon_name_rows = [
addon_info.name
for addon_info in addons_info
]
addon_version_rows = [
addon_info.version
for addon_info in addons_info
]

# Add total key (as last addon)
cols["Addon name"].append(self._report_total_key)
addon_name_rows.append(self._report_total_key)
addon_version_rows.append(f"({len(addons_info)})")

cols = collections.OrderedDict()
# Add addon names to first columnt
cols["Addon name"] = addon_name_rows
cols["Version"] = addon_version_rows

# Add columns from report
total_by_addon = {
row: 0
for row in addon_name_rows
}
for label in self._report.keys():
cols[label] = []

total_addon_times = {}
for addon_name in cols["Addon name"]:
total_addon_times[addon_name] = 0

for label, reported in self._report.items():
for addon_name in cols["Addon name"]:
col_time = reported.get(addon_name)
if col_time is None:
cols[label].append("N/A")
rows = []
col_total = 0
for addon_info in addons_info:
value = addon_info.report_value_by_label.get(label)
if value is None:
rows.append("N/A")
continue
cols[label].append("{:.3f}".format(col_time))
total_addon_times[addon_name] += col_time

rows.append("{:.3f}".format(value))
total_by_addon[addon_info.name] += value
col_total += value
total_by_addon[self._report_total_key] += col_total
rows.append("{:.3f}".format(col_total))
cols[label] = rows
# Add to also total column that should sum the row
cols[self._report_total_key] = []
for addon_name in cols["Addon name"]:
cols[self._report_total_key].append(
"{:.3f}".format(total_addon_times[addon_name])
)
cols[self._report_total_key] = [
"{:.3f}".format(total_by_addon[addon_name])
for addon_name in cols["Addon name"]
]

# Prepare column widths and total row count
# - column width is by
Expand Down Expand Up @@ -1330,7 +1391,7 @@ def __init__(self, settings=None):
self.doubleclick_callback = None

def add_doubleclick_callback(self, addon, callback):
"""Register doubleclick callbacks on tray icon.
"""Register double-click callbacks on tray icon.

Currently, there is no way how to determine which is launched. Name of
callback can be defined with `doubleclick_callback` attribute.
Expand Down
2 changes: 1 addition & 1 deletion client/ayon_core/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def main(*args, **kwargs):
os.path.join(AYON_CORE_ROOT, "tools"),
# add common AYON vendor
# (common for multiple Python interpreter versions)
os.path.join(AYON_CORE_ROOT, "vendor", "python", "common")
os.path.join(AYON_CORE_ROOT, "vendor", "python")
]
for path in additional_paths:
if path not in split_paths:
Expand Down
2 changes: 1 addition & 1 deletion client/ayon_core/cli_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def add_addons(click_func):
log.warning(
"Failed to add cli command for module \"{}\"".format(
addon.name
)
), exc_info=True
)
return click_func

Expand Down
12 changes: 0 additions & 12 deletions client/ayon_core/hosts/aftereffects/__init__.py

This file was deleted.

36 changes: 0 additions & 36 deletions client/ayon_core/hosts/aftereffects/addon.py

This file was deleted.

Loading
Loading