Commit graph

2285 commits

Author SHA1 Message Date
Jakub Ježek
47f4e9ec2c
Merge pull request #4677 from ynput/feature/OP-4997_CelAction-Deadline-chunk-size 2023-03-23 14:54:45 +01:00
Jakub Jezek
f5117f4593
celaction: fixes after testing 2023-03-23 14:28:05 +01:00
Roy Nieterau
0a085c7001
Kitsu: Slightly less strict with instance data (#4678)
* Match family and families

* Allow kitsu note to not have set comment and capture it without erroring in IntegrateKitsuReview

* Allow fallback to context for instance `task`

* Shush hound

* Refactor variable names
2023-03-23 12:06:05 +01:00
Jakub Trllo
c8c31018d6
General: Filter available applications (#4667)
* added project settings for applications

* filter applications by new settings in launcher and ftrack

* disable filtering by default
2023-03-21 18:10:09 +01:00
Sharkitty
6f16f3e4f4
Enhancement kitsu note with exceptions (#4537)
* Enhancement: Allowing kitsu not status exceptions

* Update openpype/modules/kitsu/plugins/publish/integrate_kitsu_note.py

Co-authored-by: Félix David <felixg.david@gmail.com>

* adding equal/not equal option

* Making equal/not equal option available at for every list item

* Changed  into , renamed  into , added documentation

* Using upper cases during check, so the new settings aren't case sensitive

* Linting little detail

* Renaming Equality into Condition, new screenshot with both equal and not equal shown on it

* Update website/docs/module_kitsu.md

README adjustments

Co-authored-by: Félix David <felixg.david@gmail.com>

* Changes needed to resolve conflict

* Changing context into instance where appropriate

* Minor change to avoid changing a line that doesn't need to be changed

* Turning exceptions into conditions. Making checks positive instead of negative. Changing implementation based on suggestions.

---------

Co-authored-by: Félix David <felixg.david@gmail.com>
2023-03-21 15:22:23 +01:00
Roy Nieterau
ec9b6cb56d
Merge pull request #4596 from EmberLightVFX/kitsu-int-metadata
Kitsu: Sync OP with zou, make sure value-data is int or float
2023-03-21 14:55:06 +01:00
Milan Kolar
0504f9f364
Merge pull request #4599 from EmberLightVFX/kitsu-custom-commentfield
Kitsu custom comment template
2023-03-21 12:53:15 +01:00
Jakub Ježek
a2f56b7921
Merge pull request #4623 from ynput/bugfix/nuke-deadline-submitter 2023-03-21 11:37:47 +01:00
Milan Kolar
25edaa76f7
Merge pull request #4416 from tokejepsen/bugfix/OP-4820_maya_tile_assembly_fail_in_draft 2023-03-17 22:57:39 +01:00
Jacob Danell
94ba8151e7 Read the comment from the instance instead from the context 2023-03-17 16:23:13 +01:00
Jacob Danell
8a91e4aaa0 Fixed comment 2023-03-17 16:22:28 +01:00
Alexey Bogomolov
249bda0c80
Clockify: refresh and fix the integration (#4607)
* WIP clockify fix

* WIP disable wp validation, make sync work

* fix launcher start timer action

* fix finish time entry

* fix start and stop timers, cleanup, add TODO

* show task name and type in description, add TODO

* change rate limiter constants

* black formatting

* remove task type from data

* cleanup debug prints

* fix hound comments

* remove unused import

* move ids to property, fix user validation

* remove f-strings, rollback description parsing

* attempt to fix ftrack actions

* check if sync action got some projects

* get api data on process

* remove unused variable

* remove ratelimiter dependency

* add response validation

* a bit cleanup

* Update openpype/modules/clockify/clockify_module.py

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

* Update openpype/modules/clockify/clockify_api.py

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

* Update openpype/modules/clockify/clockify_api.py

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

* Update openpype/modules/clockify/clockify_api.py

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

* Update openpype/modules/clockify/ftrack/server/action_clockify_sync_server.py

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

* replace dunders with underscores

* remove excessive variables

* update set_user_id

* continue check_running if no timer found

* bring back come py2 compatibility

* cleanup

* get values directly from clockapi

* hound

* get task type to fill the tag field correctly

* add logger, catch some json errors

* remove check running timer, add project_id verification module

* add current task_id check

* remove package entries

* make method private, fix typo

* get task_type for the idle-restarted timer

* remove trailing whitespace

* show correct idle countdown values

* finx indentation

* Update openpype/modules/clockify/clockify_api.py

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

* Update openpype/modules/clockify/clockify_module.py

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

* revert lock file

* remove unused constants and redundant code

* import clockify_api inside the method

* do not query asset docs double time, add comments

* add permissions check fail Exception

* rename clockapi to clockify_api

* formatting

* removed unused variables

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
2023-03-17 11:41:32 +01:00
Jakub Trllo
289efe25f8
Ftrack: Ftrack additional families filtering (#4633)
* make sure all families are used for additional filtering

* rely on instance and context data instead of legacy_io

* formatting changes

* fix variable values after change of condition

* use 'families' variable for adding 'ftrack' family

* Removed duplicated log

* change variable name
2023-03-17 10:35:53 +01:00
Jacob Danell
5a7bf785f7 Fixed hound comments 2023-03-16 17:13:17 +01:00
Jacob Danell
f70eac116d Made the format function more logical 2023-03-16 17:11:16 +01:00
Jacob Danell
adc648616f Look for review in families instead of family 2023-03-16 10:40:03 +01:00
Jacob Danell
ce22b665b4 Fixed comments in code 2023-03-16 10:39:47 +01:00
Ember Light
2b237fbe4c
Merge branch 'develop' into kitsu-custom-commentfield 2023-03-16 10:30:17 +01:00
Jacob Danell
b3816ae876 Fixed key check towards kwargs 2023-03-15 17:05:00 +01:00
mre7a
0cb3585d91
Resolve missing OPENPYPE_MONGO in deadline global job preload (#4484)
* replace SpawnProcess with subprocess

* clean up

* replace spawn process with run process

---------

Co-authored-by: Seyedmohammadreza Hashemizadeh <shashemizadeh@ws101.prs.vfx.int>
2023-03-15 12:55:50 +01:00
Jacob Danell
79eec64ba1 Merge remote-tracking branch 'origin/kitsu-custom-commentfield' into kitsu-custom-commentfield 2023-03-14 18:33:08 +01:00
Jacob Danell
a789b135ae Changed the instance check from render to review 2023-03-14 18:33:00 +01:00
Jacob Danell
c53e5b2302 Added docstring 2023-03-14 18:32:41 +01:00
Jacob Danell
383ce7ccb6 Change variable name to snake_case 2023-03-14 18:32:18 +01:00
Jacob Danell
bcb86e1eba Merge remote-tracking branch 'origin/kitsu-int-metadata' into kitsu-int-metadata 2023-03-14 18:14:54 +01:00
Jacob Danell
78ce629ba6 Removed double casting 2023-03-14 18:14:19 +01:00
Toke Stuart Jepsen
ba305ee30f Merge branch 'bugfix/OP-4820_maya_tile_assembly_fail_in_draft' of https://github.com/tokejepsen/pype into bugfix/OP-4820_maya_tile_assembly_fail_in_draft 2023-03-14 14:54:27 +00:00
Toke Stuart Jepsen
32b42a5043 Merge branch 'develop' into bugfix/OP-4820_maya_tile_assembly_fail_in_draft
# Conflicts:
#	openpype/modules/deadline/plugins/publish/submit_maya_deadline.py
#	website/docs/module_deadline.md
2023-03-14 14:53:51 +00:00
Toke Jepsen
f1b39494be
Update openpype/modules/deadline/plugins/publish/submit_maya_deadline.py
Co-authored-by: Kayla Man <64118225+moonyuet@users.noreply.github.com>
2023-03-14 14:50:15 +00:00
Jakub Jezek
1e458d6d1d
global and nuke: farm publishing workflow fixes 2023-03-14 14:44:29 +01:00
Ember Light
4e42c64a58
Merge branch 'develop' into kitsu-int-metadata 2023-03-14 00:10:30 +01:00
Ember Light
9a51521cb4
Merge branch 'develop' into kitsu-custom-commentfield 2023-03-14 00:09:59 +01:00
Jakub Jezek
24a22e964a
Nuke: fix families mixing up with old way. 2023-03-13 16:27:33 +01:00
Petr Kalis
a7f0d57638
SiteSync: host dirmap is not working properly (#4563)
- only editable keys are returned from Site Sync module to Local Settings

Cleaner approach even if LS UI is going away in Ayon.

- use remote_site only if is local_drive provider

- remove unwanted import

- cache mapping, update logging

Mapping was called multiple times for Nuke.
Logging was too verbose.
2023-03-13 10:32:19 +01:00
Jacob Danell
a797d78d45 Added a check so only renders gets published to Kitsu 2023-03-10 23:19:31 +01:00
Jacob Danell
7c1789faab Add custom message functionally 2023-03-10 23:07:41 +01:00
Jacob Danell
6e34c4aed2 Make sure value-data is int or float 2023-03-09 16:13:32 +01:00
Jacob Danell
acbfb5985b Fixed task itteration
From the last PR (https://github.com/ynput/OpenPype/pull/4425) a comment-commit last second messed up and resultet in two lines being the same, crashing the script.
This fixes that.
2023-03-07 19:34:12 +01:00
Roy Nieterau
99fd03d2d3 Merge remote-tracking branch 'upstream/develop' into fusion-new-publisher 2023-03-06 16:16:00 +01:00
Jacob Danell
67bc287321 Fix hound comments 2023-03-03 16:49:11 +01:00
Jacob Danell
8fc6978ea2 Formatted with Black 2023-03-03 16:49:11 +01:00
Ember Light
c50678bcb8 Update openpype/modules/kitsu/utils/update_op_with_zou.py
Co-authored-by: Félix David <felixg.david@gmail.com>
2023-03-03 16:49:11 +01:00
Jacob Danell
7176be9f92 Log msg for new_task now work for both shot and assets 2023-03-03 16:49:11 +01:00
Jacob Danell
804cdcafd6 Store the gazu asset data in OPs DB as sync_service does
This isn't the most optimal way to do it but it makes sure the data is consistent through out the code until we can revision sync_service to only use the ID from the dict.
2023-03-03 16:49:11 +01:00
Jacob Danell
966ba0166e Fixed delete_task msg creation to work with assets and episodes 2023-03-03 16:49:11 +01:00
Jacob Danell
95e1f95bc1 Moved all ep_dict code into one function 2023-03-03 16:49:11 +01:00
Ember Light
93eb9fce86 Update openpype/modules/kitsu/utils/sync_service.py
Co-authored-by: Félix David <felixg.david@gmail.com>
2023-03-03 16:49:11 +01:00
Jacob Danell
5a9ea0d130 Changed back from dict to doc for var names 2023-03-03 16:49:11 +01:00
Jacob Danell
247778575f Project creation logs happens outside of write_project_to_op() function 2023-03-03 16:49:11 +01:00
Jacob Danell
0beec8c3a7 Fixed hound's comments 2023-03-03 16:49:11 +01:00