* 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>
* 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
* replace SpawnProcess with subprocess
* clean up
* replace spawn process with run process
---------
Co-authored-by: Seyedmohammadreza Hashemizadeh <shashemizadeh@ws101.prs.vfx.int>
- 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.
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.
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.
Before it was only working for shots. Now it also works for Assets.
I'm ding an elif as Kitsu now also have tasks for sequences, edits and other things.
Will try and add those in at a later stage.