ayon-core/openpype/modules/timers_manager
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
..
launch_hooks moved timers manager one hierarchy higher 2022-01-07 15:52:19 +01:00
plugins/publish moved start and stop plugins into timers manager 2022-08-09 18:04:48 +02:00
__init__.py moved timers manager one hierarchy higher 2022-01-07 15:52:19 +01:00
exceptions.py moved timers manager one hierarchy higher 2022-01-07 15:52:19 +01:00
idle_threads.py use qtpy in module tools 2022-12-13 17:46:43 +01:00
rest_api.py Change to REST API using web server 2022-11-03 18:33:54 +01:00
timers_manager.py Clockify: refresh and fix the integration (#4607) 2023-03-17 11:41:32 +01:00
widget_user_idle.py use qtpy in module tools 2022-12-13 17:46:43 +01:00