Jakub Jezek
824dc0cc81
Improves readability of resolution display
...
Updates the format of resolution items displayed in the publisher's attribute for better readability.
Removes an unused import from server settings.
2025-05-09 10:50:20 +02:00
Jakub Jezek
4c5cc4923c
Merge branch 'develop' into enhancement/AY-7197_override-resolution-on-editorial-publish_1243
2025-05-08 17:36:57 +02:00
Jakub Jezek
753960ca9a
Refactors explicit resolution collection
...
Changes the collector order to ensure correct execution.
Renames the "Override Resolution" label to "Force product resolution" for clarity.
Removes default resolution values from server settings. The explicit resolution is intended to be defined on the instance level, not as a global default.
2025-05-08 17:33:08 +02:00
Jakub Ježek
93b59710b2
Apply suggestions from code review
...
Co-authored-by: Robin De Lillo <robin@ynput.io>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2025-05-08 17:27:52 +02:00
Kayla Man
6d517d5e87
Update client/ayon_core/plugins/publish/extract_thumbnail.py
...
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2025-04-29 20:41:01 +08:00
Kayla Man
c32cdba660
Update client/ayon_core/plugins/publish/extract_thumbnail.py
...
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2025-04-29 20:40:50 +08:00
Kayla Man
4bb0e14106
Update client/ayon_core/plugins/publish/extract_thumbnail.py
...
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2025-04-29 19:10:01 +08:00
Kayla Man
c0db02f7b5
improve the check on the valid representations for thumbnail creation
2025-04-29 17:14:14 +08:00
Kayla Man
625e782d7e
improve the docstring
2025-04-29 16:32:17 +08:00
Kayla Man
637b157fd3
rename self._is_valid_media_repre to self._is_valid_image_repre
2025-04-29 16:24:28 +08:00
Kayla Man
59e986dde2
add debug message into self._is_valid_media_repre
2025-04-29 16:23:27 +08:00
Kayla Man
f47c0b4027
If there is no valid review representation for thumbnail creation, make sure the representation is with the image content so that it can create thumbnail
2025-04-29 16:21:40 +08:00
Jakub Jezek
468ab32b9a
Remove unused import and add trailing commas
2025-04-24 11:44:43 +02:00
Roy Nieterau
80e0fa6b17
Correctly check whether sequence has any frames in the returned holes collection.
...
As per [`clique.Collection.holes` documentation](https://clique.readthedocs.io/en/stable/api_reference/collection.html#clique.collection.Collection.holes ):
> Return Collection of missing indexes.
2025-04-23 20:05:59 +02:00
Jakub Jezek
71dc3650ac
Adds explicit resolution override to publisher
...
Adds a plugin that allows users to explicitly override the resolution settings (width, height, pixel aspect) of instances during the publishing process.
This provides a way to ensure consistency and accuracy in resolution values across different tasks and product types.
The plugin is configurable through the AYON settings, allowing administrators to define the available resolution options and the product types for which the override is enabled.
2025-04-23 10:25:51 +02:00
Roy Nieterau
8d25303333
Revert defaults so removal of rendered files is disabled by default
2025-04-16 21:53:17 +02:00
Roy Nieterau
1845556612
Merge branch 'develop' into enhancement/allow_disabling_removal_of_rendereed_files_on_farm
2025-04-16 16:05:11 +02:00
Jakub Trllo
fb8ee108b5
Merge branch 'develop' into enhancement/ruff-add-preview
2025-04-16 12:37:23 +02:00
Jakub Trllo
4f9f7724ac
fix original intnetion of thumbnail created logging
2025-04-16 10:35:41 +02:00
Mustafa Jafar
a3d3865e78
Merge branch 'develop' into enhancement/allow_disabling_removal_of_rendereed_files_on_farm
2025-04-15 18:07:50 +02:00
Jakub Ježek
602a17999d
Merge branch 'develop' into bugfix/AY-7717_nuke-multiple-intermediate-fails-thumbnail-in-integrator_1241
2025-04-15 15:50:47 +02:00
Jakub Jezek
d5f599b811
Fixes thumbnail creation logic for multiple reps
...
Resets the `repre_thumb_created` flag for each representation to ensure that thumbnails are correctly generated for all reviewable representations when multiple are present.
This prevents the logic from skipping subsequent representations after the first one successfully creates a thumbnail.
2025-04-15 14:45:36 +02:00
Jakub Trllo
b0ac87b7b1
handle unused variables
2025-04-14 17:56:21 +02:00
Jakub Trllo
486be39faa
fix whitespaces
2025-04-14 17:55:48 +02:00
Jakub Trllo
b403fccf05
fix new line chars
2025-04-14 17:54:45 +02:00
Jakub Jezek
f770a35d54
Fixes thumbnail creation logic
...
Moves the `thumbnail_created` flag initialization inside the loop.
This ensures that the flag is reset for each representation, preventing it from being incorrectly skipped if a previous representation failed to create a thumbnail.
2025-04-14 15:42:12 +02:00
Jakub Ježek
d12632e000
Merge branch 'develop' into bugfix/inplace-integration
2025-04-14 14:00:28 +02:00
Jakub Ježek
97bfd0459d
Update client/ayon_core/plugins/publish/integrate.py
...
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2025-04-14 14:00:18 +02:00
Jakub Ježek
46f7fa4cc1
Update client/ayon_core/plugins/publish/integrate.py
...
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2025-04-14 14:00:11 +02:00
Jakub Jezek
402e98b443
Fixes issue with original directory lookup
...
Fixes a bug where the instance staging directory was being incorrectly used
when looking up the original directory for publish in place workflows,
instead of the staging directory from representation.
Adds debug logging to inspect instance data during integration.
2025-04-11 15:55:05 +02:00
Jakub Trllo
8cefce5887
Merge branch 'develop' into bugfix/fix-jpeg-thumbnail
2025-04-11 15:38:43 +02:00
Jakub Trllo
7ec8494b1a
fix thumbnail upload
2025-04-11 15:34:11 +02:00
Jakub Trllo
3dc1eb49b1
don't use deprecated commands
2025-04-10 17:49:42 +02:00
Jakub Ježek
e53bbb08e3
Merge branch 'develop' into feature/AY-5235_Delivery-Farm-Publishing
2025-04-02 12:02:14 +02:00
Jakub Trllo
fa4bafb327
Merge branch 'develop' into bugfix/1106-ExtractReview_does_not_process_representations_with_uppercase_extension
2025-03-28 10:16:22 +01:00
Roy Nieterau
4c4993b7e2
Merge branch 'develop' of https://github.com/ynput/ayon-core into enhancement/allow_disabling_removal_of_rendereed_files_on_farm
...
# Conflicts:
# server/settings/publish_plugins.py
2025-03-27 13:09:26 +01:00
Roy Nieterau
4283d0b453
Allow disabling removal of rendered files on farm renders
...
With this disabled the `metadata.json` and work area renders will remain on disk after a publish even if the folder is not a persistent staging dir
2025-03-27 12:59:15 +01:00
Roy Nieterau
ce9970636f
Allow enabling/disabling Attach Reviewables feature
2025-03-26 17:32:15 +01:00
Roy Nieterau
d63d3d62df
Merge branch 'develop' into enhancement/1142-attach-reviewables-to-other-instances-using-enumdef-on-attachable-integrator
2025-03-24 11:44:08 +01:00
Ondřej Samohel
6c07a4e6a3
Merge branch 'develop' into bugfix/1106-ExtractReview_does_not_process_representations_with_uppercase_extension
2025-03-18 15:32:59 +01:00
Petr Kalis
d473118d39
Used clique method
...
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2025-03-11 18:19:34 +01:00
Petr Kalis
d665b9a575
Merge branch 'develop' of https://github.com/ynput/ayon-core into bugfix/AY-7215_Explicit-frames-are-renamed-as-sequence
2025-03-10 09:53:01 +01:00
Roy Nieterau
149256e503
Merge branch 'develop' into 1171-ay-7562_allow-to-set-default-enabled-state-for-usd-contributions
2025-03-05 22:08:07 +01:00
Roy Nieterau
6837ef9771
Merge branch 'develop' into enhancement/1142-attach-reviewables-to-other-instances-using-enumdef-on-attachable-integrator
2025-03-05 18:11:11 +01:00
Roy Nieterau
597b91c135
For now disallow attaching to 'farm' instances
2025-03-05 17:57:51 +01:00
Roy Nieterau
2a3f9b743b
Log instance names instead of the objects
2025-03-05 17:55:22 +01:00
Roy Nieterau
e388b42ad8
Turn log to info because it makes it clearer what is going on
2025-03-05 17:40:28 +01:00
Roy Nieterau
cb2c1b0329
Set integrate to false on the representation to avoid warnings logged by the Integrator
2025-03-05 17:40:07 +01:00
Roy Nieterau
d887a21bf9
Disallow attaching reviewables to reviewables for now
2025-03-05 17:39:41 +01:00
Roy Nieterau
5bb09d5256
Fix check whether instance was found (it may be falsey if empty instance list)
2025-03-05 17:39:19 +01:00