Commit graph

2787 commits

Author SHA1 Message Date
Jakub Trllo
f88ab85cc1
SceneInventory: Fix site sync icon conversion (#6123)
* use 'get_qt_icon' to convert icon definition

* check if site sync is enabled before getting sites info

* convert containers to list

* Fix wrong method name

---------

Co-authored-by: Petr Kalis <petr.kalis@gmail.com>
2024-01-12 13:50:34 +01:00
Petr Kalis
046154037b
Site Sync: small fixes in Loader (#6119)
* Fix usage of correct values

Returned item is dictionary of version_id: links, previous loop was looping through [[]].

* Fix usage of studio icon

local and studio have both same provider, local_drive. Both of them should be differentiate by icon though.

* Fix - pull only paths from icon_def

Icon_def is dictionary with `type` and `path` keys, not directly 'path'.
It must be massaged first.

* Revert back, fixed in different PR

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* Fix looping

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2024-01-12 10:44:01 +01:00
Jakub Trllo
adb7e19c23
Publisher: Window is not always on top (#6107)
* make publisher a window without always on top

* put publisher window to the top on process

* make sure screenshot window is active

* removed unnecessary variable
2024-01-11 13:21:41 +01:00
Jakub Trllo
aba61718b2
fix issue with parenting of widgets (#6106) 2024-01-11 12:07:35 +01:00
kaa
91a1fb1cdb
General: We should keep current subset version when we switch only the representation type (#4629)
* keep current subset version when switch repre

* added comment and safe switch repres

* more clearly variable names and revert last feat

* check selected but no change

* fix switch hero version
2024-01-04 15:59:26 +01:00
erictsaivfx
bea3c78079 fix arrow to timezone typo 2024-01-02 09:31:10 -08:00
Jakub Trllo
c1cba8640f convert the createAt value to local timezone 2023-12-11 15:52:12 +01:00
Ondřej Samohel
b6e58ef8ab 🎨 show slightly different info in AYON mode 2023-12-07 18:22:05 +01:00
Jakub Trllo
0ed8a66fb8
AYON Change of login should work
Co-authored-by: Libor Batek <112623825+LiborBatek@users.noreply.github.com>
2023-12-06 15:05:10 +01:00
Jakub Trllo
b77f6b7358 added small docstring 2023-12-05 17:57:33 +01:00
Jakub Trllo
c189cee759 trigger 'refresh_finished' signal out of 'run' method 2023-12-05 17:43:23 +01:00
Jakub Trllo
5d9dd3ae9a
AYON: Use AYON label in ayon mode (#5995)
* use AYON instead of OpenPype in tool titles

* add bundle name to info data

* modified message to report ynput team

* fix experimental tool titles
2023-12-05 15:50:19 +01:00
Petr Kalis
523f023033
SiteSync: implemented in Ayon Loader (#5962)
* Added new SiteSync model

Used to get information from SiteSync module to enhance Loader UI.

* Added new SiteSync method to controller

Other models will be using these to get information pertaining SiteSync

* Added missed commit

* Implemented collection of SiteSync info

* Added AvailabilityDelegate

Shows how many representations are present locally and remotely in Loader summary page.

* Added fields to store progress info

* Fix HiddenAttr to carry value

* Refactored to internal variable

Changes made after discussion

* Implemented ActionItems for upload/download/remove

Replaced old Launcher approach, now it is not necessary after refactor of Ayon launcher.

* Update openpype/tools/ayon_loader/abstract.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* Hound

* Refactor better retrieval of icon

* Refactor better readability

* Refactor renamed delegate

* Refactor better retrieval of icons

* Refactor better readability

* Refactor removed unneeded explicit refresh

* Hound

* Hound

* Hound

* Fix used wrong type

* Update openpype/tools/ayon_loader/ui/products_delegates.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* Refactor renamed variable name

* Refactor formatting

* Added progress for representations

* cache version availability

* cache representations sync status

* changed representations count logic and moved it to products model

* site sync enabled is cached

* active and remote site names are cached

* small tweaks in site sync model

* change methods called by controller

* hide site sync columns if site sync not enabled

* use string conversion before iteration

* smal formatting changes

* updated abstract class with abstract methods

* renamed site sync model variable

* fixed method name

* fix used method name

* rename '_sitesync_addon' to '_site_sync_addon'

* fix remote site name cache

* small formatting changes in delegate

* modify site sync delegate to be more dynamic

* fix delegate painting

* do not handle repre progress in products model

* Add comma back

* simplify delegate code

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
2023-12-04 11:27:43 +01:00
Jakub Trllo
79c079961b Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-16 17:22:33 +01:00
Jakub Trllo
fe8711cf78
Publisher: Bugfixes and enhancements (#5924)
* fix logger getter

* catch crashes of create plugin initializations

* use 'product' instead of 'subset' in AYON mode

* fix import
2023-11-16 15:42:44 +01:00
Jakub Trllo
05673e934d
AYON: Loader tool bugs hunt (#5915)
* handle cases when server is missing product type in project database

* ignore representations which do not match uuid

* add comments
2023-11-16 15:26:52 +01:00
Jakub Trllo
6e8f142e52 Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-16 11:23:58 +01:00
Jakub Trllo
23291ac53c
AYON workfiles tools: Revisit workfiles tool (#5897)
* implemented base hierarchy expected selection model

* use existing models and widgets in ayon workfiles tool

* move private method under public method

* added more methods to cache

* reset models during controller reset

* create workfile info all the time
2023-11-15 18:35:54 +01:00
Jakub Trllo
59c8e05ffb use 'folderPath' in create widget instead of asset 2023-11-15 11:39:16 +01:00
Jakub Trllo
a28d6d34d2 Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier
# Conflicts:
#	openpype/client/server/entities.py
#	openpype/pipeline/context_tools.py
2023-11-13 16:39:09 +01:00
Jakub Trllo
3cea797d02
Merge pull request #5898 from ynput/bugfix/publish-report-pyside6-fix
Publish report tool: Fix PySide6
2023-11-13 14:42:21 +01:00
Jakub Trllo
7d20d332ab don't use constants from objects 2023-11-10 18:15:23 +01:00
Jakub Trllo
0feca7015e skip 'get_site_icons' if site sync addon is disabled 2023-11-10 16:40:40 +01:00
Jakub Trllo
67bc4530da Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-08 12:07:35 +01:00
Jakub Trllo
e1a78eaa45
Merge pull request #5881 from ynput/enhancement/publisher-confirm-post-processing
Publisher: Instance context changes confirm works
2023-11-08 10:48:27 +01:00
Jakub Trllo
2f4f92fbc5
Merge pull request #5877 from ynput/enhancement/center-publisher
Publisher: Center publisher window on first show
2023-11-07 17:59:58 +01:00
Jakub Trllo
b8ed125569 set spacing between buttons 2023-11-07 17:44:33 +01:00
Jakub Trllo
e4ed21623a fix task combinations 2023-11-07 17:35:48 +01:00
Jakub Trllo
63af150dd8 confirm of instance context changes reset origin of input fields 2023-11-07 17:22:02 +01:00
Jakub Trllo
cf4590f532 Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-07 14:38:04 +01:00
Jakub Trllo
bf96b15b90 center publisher window on first show 2023-11-07 13:50:44 +01:00
Jakub Trllo
ce41304513 ignore if passed icon definition is None 2023-11-07 13:29:15 +01:00
Jakub Trllo
d87506f8af removed unused import 2023-11-03 19:12:17 +01:00
Jakub Trllo
5a0b2f6915 projects model handle cases when model is refreshing 2023-11-03 19:01:40 +01:00
Jakub Trllo
42c32f8196 projects model returns 'None' if is in middle of refreshing 2023-11-03 19:01:26 +01:00
Jakub Trllo
05748bbb92 projects model pass sender value 2023-11-03 19:00:51 +01:00
Jakub Trllo
86e4bed151 validate that item on which is clicked is enabled 2023-11-03 18:59:52 +01:00
Jakub Trllo
264e3cac79 renamed other qt models to contain 'Qt' 2023-11-03 18:59:02 +01:00
Jakub Trllo
3bffe3b31b renamed 'ProjectsModel' to 'ProjectsQtModel' 2023-11-03 18:58:29 +01:00
Jakub Trllo
2a19d5cc54 fix default type of projects model cache 2023-11-03 18:57:15 +01:00
Jakub Trllo
dbd1fcb989 make sure all QThread objects are always removed from python memory 2023-11-03 17:03:54 +01:00
Jakub Trllo
ff8cd30244 Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-02 11:40:01 +01:00
Ondřej Samohel
3817ed150d
Merge pull request #5766 from ynput/feature/OP-5029_Context-Dialog-using-AYON-calls 2023-11-01 11:23:46 +01:00
Jakub Trllo
319a236bb2 do not strip asset name 2023-10-30 16:07:14 +01:00
Jakub Trllo
1790c5516c Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-10-27 18:07:55 +02:00
Jakub Trllo
dd72d45ce7 fix path in assets widget 2023-10-27 14:36:22 +02:00
Jakub Trllo
71014fca0b hide multivalue widget by default 2023-10-26 13:34:18 +02:00
Jakub Trllo
1ac66764d4 use folder path in publisher 2023-10-24 18:05:16 +02:00
Jakub Trllo
c505513b05 use folder path in ayon tools to define current context 2023-10-24 18:04:31 +02:00
Jakub Trllo
1dfdeacd04 use 'open_current_requested' signal instead of missing 'save_as_requested' 2023-10-24 13:23:10 +02:00