Commit graph

31 commits

Author SHA1 Message Date
Jakub Trllo
efef9e2fd3 small fix in timers manager 2023-10-27 18:06:54 +02:00
Jakub Trllo
0240b2665d use context data instead of 'legacy_io' 2023-10-20 17:17:35 +02:00
Jakub Trllo
7e9f42b447
Applications: Use prelaunch hooks to extract environments (#5387)
* ApplicationManager can have more granular way how applications are launched

* executable is optional to be able create ApplicationLaunchContext

* launch context can run prelaunch hooks without launching application

* 'get_app_environments_for_context' is using launch context to prepare environments

* added 'launch_type' as one of filtering options for LaunchHook

* added 'local' launch type filter to existing launch hooks

* define 'automated' launch type in remote publish function

* modified publish and extract environments cli commands

* launch types are only for local by default

* fix import

* fix launch types of global host data

* change order or kwargs

* change unreal filter attribute
2023-08-03 10:04:15 +02: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
a66e421fad use qtpy in module tools 2022-12-13 17:46:43 +01:00
Petr Kalis
49565f34ae
Merge pull request #4049 from Tilix4/ft_auto_dl_first_workfile
Feature: Auto use last published workfile as first workfile
2022-11-15 18:12:03 +01:00
Felix David
82be7ce8d0 Change to REST API using web server 2022-11-03 18:33:54 +01:00
Jakub Trllo
19c8fae799 fix timers manager 2022-11-03 16:26:18 +01:00
Jakub Trllo
0478d3ea59 use new import of interfaces 2022-11-03 16:21:58 +01:00
Jakub Trllo
c485b3a35d
Merge pull request #3741 from pypeclub/feature/log_tweaks
General: Logger tweaks
2022-08-26 14:52:05 +02:00
Jakub Trllo
d0245ee23f
Merge pull request #3731 from pypeclub/feature/module_interfaces_cleanup
General: Module interfaces cleanup
2022-08-26 11:33:00 +02:00
Jakub Trllo
54b8719b76 fix attr initialization 2022-08-25 18:49:04 +02:00
Jakub Trllo
8cc6086e92 removed usage of 'ILaunchHookPaths' 2022-08-25 12:22:19 +02:00
Jakub Trllo
bf8e2207e0 fix property 2022-08-24 16:58:38 +02:00
Jakub Trllo
08efc477ca small tweaks in usage of Logger 2022-08-24 16:21:04 +02:00
Jakub Trllo
882e00baef use Logger instead of PypeLogger 2022-08-24 15:52:47 +02:00
Jakub Trllo
e35fd6e476 use constant to define timer module dir 2022-08-09 18:19:01 +02:00
Jakub Trllo
70bcd6bf90 moved start and stop plugins into timers manager 2022-08-09 18:04:48 +02:00
Jakub Trllo
29239178cb timers manager is adding plugin paths 2022-08-09 18:00:41 +02:00
Jakub Trllo
6ef14510e1 implemented method to stop timer using web server 2022-08-09 18:00:23 +02:00
Jakub Trllo
dfb041d852 timers manager is using client query functions 2022-07-12 15:06:46 +02:00
Jakub Trllo
cbb876c155 moved timer change on task change to timers manager module 2022-06-16 17:43:18 +02:00
Jakub Trllo
e91d84546e use AvalonMongoDB from openpype pipeline 2022-04-13 17:59:01 +02:00
iLLiCiTiT
d1b4ac5d40 moved timers manager one hierarchy higher 2022-01-07 15:52:19 +01:00
iLLiCiTiT
6fb0d1fece moved timers manager module 2021-07-28 14:12:16 +02:00
iLLiCiTiT
6813ff0366 changed imports where from interfaces are loaded 2021-07-27 20:01:54 +02:00
iLLiCiTiT
b83e932a6b interfaces are defined in one specific file 2021-07-27 19:58:45 +02:00
iLLiCiTiT
abdaf019ba interfaces inherit from OpenPypeInterface 2021-07-27 19:01:08 +02:00
iLLiCiTiT
41313894ea timers manager use openpype style for message box 2021-06-11 18:41:32 +02:00
iLLiCiTiT
84fb977558 added auto stop attribute to timers manager 2021-04-08 19:45:59 +02:00
Milan Kolar
8432e94615 rename folder 2021-04-01 18:54:46 +02:00