Commit graph

159 commits

Author SHA1 Message Date
iLLiCiTiT
5579c5ae6a enhance custom attribute query 2019-11-28 18:50:14 +01:00
iLLiCiTiT
b5b8b527d1 cleanup 2019-11-28 17:00:15 +01:00
iLLiCiTiT
7db7453237 fix call and _call methods 2019-11-28 09:52:56 +01:00
iLLiCiTiT
05e60fd3de cleanup and constans variables are with camel case 2019-11-27 19:24:04 +01:00
iLLiCiTiT
e2663fff89 sync factory moved to lib 2019-11-27 19:20:15 +01:00
Milan Kolar
42c815a57e Merge branch 'refs/heads/develop' into feature/PYPE-463_sync_to_avalon_event
# Conflicts:
#	pype/ftrack/actions/action_create_cust_attrs.py
#	pype/ftrack/actions/action_sync_to_avalon.py
#	pype/ftrack/events/action_sync_to_avalon.py
#	pype/ftrack/events/event_del_avalon_id_from_new.py
#	pype/ftrack/events/event_sync_hier_attr.py
#	pype/ftrack/events/event_sync_to_avalon.py
#	pype/ftrack/events/event_user_assigment.py
2019-11-27 18:12:07 +01:00
iLLiCiTiT
81d4382c86 formatting 2019-11-27 15:55:26 +01:00
iLLiCiTiT
da8e1f6226 added get hierarchical attrs values to avalon_sync lib 2019-11-27 14:34:33 +01:00
Milan Kolar
6e2fdb880c remove all but ftrack old api packages and change imports 2019-11-22 17:46:19 +01:00
Jakub Trllo
b8603db6fa Merged in feature/trigger_event_method (pull request #372)
added trigger event method to base handler

Approved-by: Milan Kolar <milan@orbi.tools>
2019-11-21 20:10:30 +00:00
Jakub Trllo
e561384eae Merged in bugfix/fix_status_changes_on_app (pull request #369)
Bugfix/fix status changes on app

Approved-by: Milan Kolar <milan@orbi.tools>
2019-11-21 20:09:45 +00:00
Jakub Trllo
eebb251112 Merged in bugfix/ftrack_session_rollback (pull request #376)
Bugfix/ftrack session rollback

Approved-by: Milan Kolar <milan@orbi.tools>
2019-11-19 22:23:12 +00:00
Jakub Trllo
3cf76abf9d Merged in feature/PYPE-506_sync_to_avalon_action (pull request #373)
feature/PYPE-506_sync_to_avalon_action

Approved-by: Milan Kolar <milan@orbi.tools>
2019-11-19 22:18:45 +00:00
iLLiCiTiT
4326e2b91e added few rollbacks to ftrack actions and events to prevent uncommitable session 2019-11-19 19:24:24 +01:00
iLLiCiTiT
af14045a2b avalon_sync is imported to lib as submodule nstead of importing content 2019-11-19 17:27:14 +01:00
iLLiCiTiT
6463e97192 changed avalon_sync in ftrack/lib with new functions 2019-11-19 17:26:24 +01:00
Jakub Trllo
061e0056e5 Merged in feature/action_preregister_implementation (pull request #354)
Feature/action preregister implementation

Approved-by: Milan Kolar <milan@orbi.tools>
2019-11-19 15:21:47 +00:00
iLLiCiTiT
78a1172ad9 enhanced mongo db connector 2019-11-15 17:41:44 +01:00
iLLiCiTiT
562c5a8e69 added trigger event method to base handler 2019-11-15 16:30:42 +01:00
iLLiCiTiT
67e9089638 added while loop so more than one status may be tried and rollback is called on session if change failed 2019-11-15 14:19:00 +01:00
iLLiCiTiT
3833adb30a use warning log instead of info 2019-11-05 10:19:50 +01:00
iLLiCiTiT
0957cffbfd created PreregisterException to recognize preregistration failed and do not print traceback 2019-11-05 10:09:21 +01:00
Jakub Trllo
312d3c96ab Merge branch 'develop' into feature/advanced_rest_api 2019-10-31 23:35:28 +01:00
Jakub Trllo
78519aa066 Merged in feature/PYPE-349_parallel_event_server (pull request #330)
Feature/PYPE-349 parallel event server

Approved-by: Milan Kolar <milan@orbi.tools>
2019-10-31 18:06:54 +00:00
Milan Kolar
067a7c94cb Merge branch 'develop' into feature/PYPE-531_avalon_upstream_and_silos
# Conflicts:
#	pype/ftrack/lib/avalon_sync.py
2019-10-25 15:50:38 +02:00
iLLiCiTiT
45370876e3 replaced args with options(kwargs) in custom db connector 2019-10-23 15:29:05 +02:00
iLLiCiTiT
1ca674f33f added atexit to custom db connector to run uninstall on exit 2019-10-23 15:05:07 +02:00
iLLiCiTiT
19f810ff57 added check active table to custom db connector 2019-10-23 15:01:51 +02:00
iLLiCiTiT
4290af23e7 moved event server files in hierarchy 2019-10-23 14:57:53 +02:00
iLLiCiTiT
bcf8bf17a5 session instance validation also checks for process session and raises exception if does not match ftrack_api session 2019-10-22 14:02:49 +02:00
iLLiCiTiT
11e2382dfd session check is happening during initialization not before register of each plugin 2019-10-22 12:00:04 +02:00
iLLiCiTiT
d1b294e4a2 implemented options to methods args to have access to use all optional args 2019-10-18 11:21:36 +02:00
iLLiCiTiT
e0827d0597 added __getattribute__ to have acces to not implemented methods of pymongo db 2019-10-18 11:20:32 +02:00
iLLiCiTiT
9233530df5 added default message to NotActiveTable 2019-10-18 11:19:48 +02:00
iLLiCiTiT
0ff704a733 enchancements of custom db connector 2019-10-14 19:08:20 +02:00
iLLiCiTiT
ade23cd77a type objects are queried at once not for each type separately 2019-10-02 18:53:33 +02:00
iLLiCiTiT
2591f0136a custom attributes from avalon group are queried much faster now 2019-10-02 18:52:29 +02:00
iLLiCiTiT
c997ca6eff added debug logs into sync to avalon so we can track what happened 2019-10-01 19:04:19 +02:00
iLLiCiTiT
40ff6f25ff name check in sync to avalon is not checked by schema validation but with re module 2019-09-23 13:39:48 +02:00
iLLiCiTiT
73de6b85d9 changed schemas to new one 2019-09-20 18:21:09 +02:00
iLLiCiTiT
7d26ff0812 sync to avlaon is not adding silo 2019-09-20 18:16:55 +02:00
iLLiCiTiT
13fb42613a DbConnector copied from libraryloader to lib so Qt is not imported when want to use it 2019-09-04 11:06:52 +02:00
Jakub Trllo
675d9aec25 Merged in bugfix/PYPE-483_clockify_bug_fixes (pull request #269)
Bugfix/PYPE-483 clockify bug fixes

Approved-by: Milan Kolar <milan@orbi.tools>
2019-09-02 10:05:04 +00:00
iLLiCiTiT
9a9e1f5774 fixed formatting 2019-08-16 10:37:53 +02:00
iLLiCiTiT
6b34b061a6 manual event triggering was replaced by trigger_action in code 2019-08-16 10:37:40 +02:00
iLLiCiTiT
fa746a0e10 added trigger action method to base handler 2019-08-16 10:28:34 +02:00
iLLiCiTiT
82d05de4e7 fixed ftrack action labels issue 2019-08-15 11:30:07 +02:00
iLLiCiTiT
84846ff806 when ftrack preregister method returned None registration continue as was returned True 2019-08-15 11:29:23 +02:00
iLLiCiTiT
0bc5082ba9 Modified get_avalon_attr to be able split hierarchical and not hierarchical attrs 2019-08-13 13:57:03 +02:00
iLLiCiTiT
01926282d9 base handler set attribute values based on presets 2019-08-09 19:36:49 +02:00