Commit graph

150 commits

Author SHA1 Message Date
Fabià Serra Arrizabalaga
bde1595359
Update openpype/tools/workfiles/window.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-06-05 15:17:10 +02:00
Fabià Serra Arrizabalaga
7c70ea968d
Update openpype/tools/workfiles/window.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-06-05 15:07:35 +02:00
Fabià Serra Arrizabalaga
c12e6995de
Update openpype/tools/workfiles/window.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-06-05 14:49:58 +02:00
Fabià Serra Arrizabalaga
9c4e1ad4b1 Only add User details if platform isn't windows 2023-06-02 18:08:28 +02:00
Fabià Serra Arrizabalaga
aa7dceb79c Add 'user' details on workfile manager details pane tab for Unix platform 2023-06-02 18:04:22 +02:00
Roy Nieterau
b05afaa837
Global: Optimize anatomy formatting by only formatting used templates instead (#4784)
* TemplatesDict can create different type of template

* anatomy templates can be formatted on their own

* return objected templates on get item

* '_rootless_path' is public classmethod 'rootless_path_from_result'

* 'AnatomyStringTemplate' expect anatomy templates

* remove key getters

* fix typo 'create_ojected_templates' -> 'create_objected_templates'

* Fix type of argument

* Fix long line

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Use format strict + code cosmetics

* Get template from the formatted data

* Update openpype/plugins/publish/integrate_legacy.py

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

* Cosmetics

* Move template obj definition for path up + rename to `path_template_obj`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

---------

Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-04-17 14:53:15 +02:00
Petr Kalis
177cce233c
Workfiles: keep Browse always enabled (#4766)
* OP-5494 - keep Browse always enable din Workfiles

Browse might make sense even if there are no workfiles present, better in that case it makes the most sense (eg. I want to locate workfile from outside).

* use last existing directory of workfile root instead of goint to cwd

* use lstring instead of index cut

---------

Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
2023-04-03 18:01:33 +02:00
Jakub Trllo
8a5831c6fe check for 'pyside6' when filling kwargs for file dialog 2023-02-16 17:11:00 +01:00
Jakub Trllo
abe345df56 use constants of QMessageBox properly 2023-01-17 16:41:45 +01:00
Jakub Trllo
fa48c9dce3 use qtpy in workfiles tool 2022-12-21 13:48:23 +01:00
Jakub Trllo
eafae24e23 copy of workfile does not use 'copy' function but 'copyfile' 2022-09-16 13:53:28 +02:00
Kayla Man
9a19da923c adding a Qt lockfile dialog for lockfile tasks 2022-09-14 20:49:48 +08:00
Kayla Man
0ac3cacc35 adding a Qt lockfile dialog for lockfile tasks 2022-09-14 12:35:59 +08:00
Kayla Man
3c949aaec3 adding a Qt lockfile dialog for lockfile tasks 2022-09-13 18:06:35 +08:00
Kayla Man
f6792d2e42 adding a Qt lockfile dialog for lockfile tasks 2022-09-13 18:04:45 +08:00
Kayla Man
26ae84df16 adding lock task workfiles when users are working on them 2022-09-09 13:20:49 +08:00
Kayla Man
1c7f32e93a adding lock task workfiles when users are working on them 2022-09-08 17:43:01 +08:00
Jakub Trllo
acf3d67f24 moved 'create_workdir_extra_folders' to 'openpype.pipeline.workfile' 2022-08-31 15:59:20 +02:00
Jakub Trllo
e2c9543761
Merge pull request #3702 from pypeclub/feature/OP-3475_Move-context-specific-functions-to-context-tools
General: Move context specific functions to context tools
2022-08-23 18:02:08 +02:00
Jakub Trllo
9434cb43c1 fix published workfile filtering 2022-08-22 17:07:46 +02:00
Jakub Trllo
2fea675167 use new functions in workfiles tool 2022-08-22 14:58:52 +02:00
Jakub Trllo
02007784fa moved 'get_last_workfile_with_version' and 'get_last_workfile' to 'openpype.pipeline.workfile' 2022-08-09 12:56:50 +02:00
Jakub Trllo
b89e99e890 change imports of 'get_workfile_template_key', 'get_workfile_template_key_from_context' and 'get_workdir_with_workdir_data' and 'get_workdir' in code 2022-08-09 12:47:29 +02:00
Jakub Trllo
adcc7010c2 workfiles tool use operations session to create workfile info documents 2022-08-09 12:31:08 +02:00
Jakub Trllo
9f9ac018bd use new functions instead of 'get_workdir_data' 2022-07-26 17:23:12 +02:00
Jakub Trllo
3fac738361 show workfile just calls ensure visible on workfiles tool 2022-07-20 13:16:15 +02:00
Jakub Trllo
55ff302d21 changed workfiles window to QWidget 2022-07-20 13:15:58 +02:00
Jakub Trllo
8e4627b44d set icon of workfiles tool 2022-07-20 13:15:37 +02:00
Jakub Trllo
6ed18c6250 stop context timer when context is set 2022-07-20 13:13:23 +02:00
Jakub Trllo
24305ca803 Merge branch 'develop' into feature/OP-3506_Use-query-functions-in-openpype-lib 2022-07-04 16:51:07 +02:00
Milan Kolar
f277640da5
Merge pull request #3337 from pypeclub/feature/OP-3315_Host-implementation-defined-with-class 2022-07-04 15:20:57 +02:00
Jakub Trllo
e147cd4132 added 'get_workfile_info' to openpype.client which replace 'get_workfile_doc' in openpype.lib 2022-06-30 16:04:25 +02:00
Jakub Trllo
af2c57674e use new Anatomy source in tools 2022-06-29 15:21:21 +02:00
Jakub Trllo
96218779a2 renamed 'save_current_workfile' -> 'save_workfile' 2022-06-27 14:06:58 +02:00
Jakub Trllo
3ab8b75ada fix double accessed self 2022-06-23 17:18:25 +02:00
Jakub Trllo
779f4230bc use new method names based on inheritance in workfiles tool and sceneinventory 2022-06-23 17:16:55 +02:00
Jakub Trllo
94bccd51cf Merge branch 'develop' into feature/OP-3315_Host-implementation-defined-with-class 2022-06-22 18:00:04 +02:00
Jakub Trllo
ee4b635edd trigger open workfile events in workfiles tool 2022-06-16 16:51:55 +02:00
Jakub Trllo
2890c950f5 trigger open events 2022-06-16 16:46:31 +02:00
Jakub Trllo
b81dbf9ee4 use validations from interfaces 2022-06-13 19:31:37 +02:00
Jakub Trllo
0d38c76f54 separated functions to query asset by name and id 2022-06-07 16:28:53 +02:00
Jakub Trllo
7109d932ec replace queries in tools 2022-06-04 21:08:42 +02:00
Jakub Trllo
213ab8a811 replaced avalon imports in tools 2022-04-14 12:32:24 +02:00
Jakub Trllo
2cd10be155 fixed registered host in workfiles tool 2022-04-06 14:00:36 +02:00
Jakub Trllo
2d9b13c2dd Merge branch 'develop' into enhancement/OP-2956_move-host-install 2022-04-06 13:59:06 +02:00
Jakub Trllo
905eccdc41 fixed registered host callbacks 2022-04-06 13:58:53 +02:00
Jakub Trllo
1bb36035f9 swapped cancel and copy & open buttons 2022-04-05 10:29:51 +02:00
Jakub Trllo
dded71a5d4 moved "published" checkbox after filter 2022-04-05 10:29:28 +02:00
Jakub Trllo
6e592e4df6 changed label 2022-03-31 14:56:07 +02:00
Jakub Trllo
14da7f74c6 don't cancel save as publishing on cancel save as dialog 2022-03-31 14:33:02 +02:00