Commit graph

640 commits

Author SHA1 Message Date
iLLiCiTiT
4326e2b91e added few rollbacks to ftrack actions and events to prevent uncommitable session 2019-11-19 19:24: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
Jakub Trllo
d15c57b57f Merged in feature/advanced_rest_api (pull request #334)
Feature/advanced rest api

Approved-by: Milan Kolar <milan@orbi.tools>
2019-11-19 14:52:30 +00:00
Milan Kolar
ca9222804b missing variable when mongo is unavailable 2019-11-11 13:30:31 +01:00
Milan Kolar
129c264f49 fixing signal errors 2019-11-11 12:19:37 +01:00
Jakub Jezek
a6daff37ee fix(ftrack): thumbnail event syntax error 2019-11-06 14:20:39 +01:00
Jakub Jezek
dd967d87aa fix(ftrack): signals for linux 2019-11-06 14:06:06 +01:00
iLLiCiTiT
b3dbf0f228 variable name fix 2019-11-05 10:29:02 +01:00
iLLiCiTiT
26454a752b fixed not crashing event thumbnail updates if thumbnail is not happening on task 2019-11-05 10:23:49 +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
iLLiCiTiT
91832e50ed actions rv and djv view use preregister instead of overriding register method 2019-11-05 10:08:37 +01:00
Ondřej Samohel
f217899ea1 fixed rv action not to load when preset is missing 2019-11-01 09:09:16 +00:00
Jakub Trllo
312d3c96ab Merge branch 'develop' into feature/advanced_rest_api 2019-10-31 23:35:28 +01:00
Jakub Trllo
9d994dd7fc Merged in hotfix/job_killer_log_fix (pull request #341)
fixed logging of job killer action

Approved-by: Milan Kolar <milan@orbi.tools>
2019-10-31 18:30:59 +00:00
Milan Kolar
384843a8b4 change old way to `legacy 2019-10-31 18:52:35 +01:00
Milan Kolar
8df857bb89 Merge branch 'develop' into feature/PYPE-349_parallel_event_server 2019-10-31 18:42:26 +01:00
Milan Kolar
c3cbab14b9 missing self 2019-10-31 18:42:15 +01:00
iLLiCiTiT
0de66c1c45 fixed logging of job killer action 2019-10-30 10:48:25 +01:00
iLLiCiTiT
6f93743c8d added old_way_server which can handle same way as was before and restart event server when ftrack connection fails 2019-10-29 18:01:02 +01:00
iLLiCiTiT
92ccd406c5 created exception for mongo permission error 2019-10-29 18:00:20 +01:00
iLLiCiTiT
5b70ddf32f added oldway argument to event server cli 2019-10-29 17:59:36 +01:00
iLLiCiTiT
75ce8f1196 added subprocess file for oldway event server 2019-10-29 17:58:29 +01:00
iLLiCiTiT
10d6956037 event server will wait some time if subprocess crashed many times in row 2019-10-25 18:27:31 +02:00
iLLiCiTiT
38a6c84fe5 its used lib to get mongo port and host in event server cli 2019-10-25 18:26:38 +02:00
iLLiCiTiT
11f0c41e90 crash all server if mongo error happened 2019-10-25 18:25:44 +02:00
iLLiCiTiT
5d6f91d614 socket thread stores info if mongo error has happened during subprocess 2019-10-25 18:24:36 +02:00
iLLiCiTiT
e0f7752205 sub event processor print traceback 2019-10-25 18:24:12 +02:00
iLLiCiTiT
4313cc5667 mongo permissions error is sent with socket message 2019-10-25 18:23:52 +02:00
iLLiCiTiT
24175a2587 atexit register has args now 2019-10-25 18:22:28 +02:00
iLLiCiTiT
e7c9a61b2e added lib to ftrack_server with functios able to handle mongo url parts 2019-10-25 18:21:44 +02: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
3a5525edf6 processed events older than 3 days are removed from mongo db 2019-10-23 18:45:41 +02:00
iLLiCiTiT
7c59df5ec5 max timeout of heartbeat increased to 35 2019-10-23 18:03:29 +02:00
iLLiCiTiT
11f4451af1 added basic docstrings 2019-10-23 18:02:53 +02:00
iLLiCiTiT
bfa61e2e98 kill threads with subprocesses on exit 2019-10-23 17:34:11 +02:00
iLLiCiTiT
565c43971c added sigkill signal 2019-10-23 17:33:32 +02:00
iLLiCiTiT
ee8f09cf46 added error logs 2019-10-23 16:52:07 +02:00
iLLiCiTiT
aad641f233 import fixes 2019-10-23 16:48:13 +02:00
iLLiCiTiT
ac290711b9 sort events by date there were stored 2019-10-23 16:47:45 +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
f1c873fedc minor fixes, occupied socket ports are skipped and logger is renamed 2019-10-23 14:38:32 +02:00
iLLiCiTiT
4921783d1a terminate signal is registered too to be able terminate subprocesses 2019-10-23 14:36:54 +02:00
iLLiCiTiT
d1bfa2412e pymongo connection error cause that subprocess will end 2019-10-23 14:33:01 +02:00
iLLiCiTiT
b7c2954061 changed default ports 2019-10-23 14:26:31 +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
28f2d14318 pype logging is not used in event_server_cli for cases when mongo is not accessible and removed backup solution 2019-10-22 14:01:58 +02:00