Commit graph

128 commits

Author SHA1 Message Date
Petr Kalis
3a1d9c9fca Added far future value for null values for dates
Null values were sorted as last, this keeps queued items together with last synched.
2022-06-20 13:11:01 +02:00
Petr Kalis
63a83dc23a Added set_project method to widget
It makes sending of project name to model clearer.
2022-06-08 16:04:55 +02:00
Petr Kalis
71cabc76c4 Handle when no projects are shown or selected 2022-06-07 15:13:08 +02:00
Petr Kalis
2f945b9a7b Added checkbox to filter only enabled projects
Default is true, is not persistent between opening of dialog.
2022-06-07 11:06:10 +02:00
Petr Kalis
8bb97b9bbc Fix - correct project settings selected 2022-06-06 11:06:03 +02:00
Petr Kalis
60bef01f6c Fix - removed unwanted logs 2022-06-03 14:18:58 +02:00
Petr Kalis
d86c71c15b Fix - added disabled icon to Site Queue 2022-06-03 14:00:36 +02:00
Petr Kalis
96115fac6e Fix - remove reset of Settings
Let only thread do it, expensive operation potentially.
2022-06-03 12:36:18 +02:00
Petr Kalis
3c285d859a Fix - fixes
Do creation of settings only in Thread as it is expensive operation.
2022-06-03 12:34:21 +02:00
Petr Kalis
81a5169680 Fix - faster loop logic 2022-06-03 11:08:52 +02:00
Petr Kalis
688400ad7b Fix - removed unnecessary first query
setSortable forces refresh itself
2022-06-03 10:20:33 +02:00
Petr Kalis
2339e41b4c Fix - removed unnecessary initialization 2022-06-03 10:19:22 +02:00
Jakub Trllo
e9a855af72 added ability to know if project is enabled without prequerying all other projects 2022-05-17 18:04:16 +02:00
Jakub Trllo
a579cd31c8 Merge branch 'develop' into enhancement/OP-2858_move-AvalonMongoDB-logic 2022-04-25 18:03:38 +02:00
Petr Kalis
b59a408a39
Merge pull request #2966 from pypeclub/feature/OP-2951_Download-all-workfile-inputs
SiteSync: Download all workfile inputs
2022-04-25 16:13:09 +02:00
Petr Kalis
581647a65c OP-2951 - safer querying of tries 2022-04-25 13:33:23 +02:00
Petr Kalis
3f976f00d2 OP-2951 - refactored Validate projects
Checks also if set in DB and not physically present
2022-04-25 12:30:42 +02:00
Petr Kalis
fc4f7ed5d9
Update openpype/modules/sync_server/sync_server_module.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2022-04-20 12:09:22 +02:00
Petr Kalis
2c11147067 Changed list to set 2022-04-19 10:15:16 +02:00
Petr Kalis
395ff6b100 Merge branch 'develop' of github.com:pypeclub/OpenPype into chore/site_sync_expose_sites_skeleton 2022-04-19 10:04:40 +02:00
Jakub Trllo
e91d84546e use AvalonMongoDB from openpype pipeline 2022-04-13 17:59:01 +02:00
Petr Kalis
4b34050569 OP-2951 - clean up of unnecessary argument
force and force_only_broken could be replaced only by force and explicitly catching SiteAlreadyPresentError
2022-04-08 20:33:02 +02:00
Petr Kalis
92bf8d0035
Merge pull request #3018 from pypeclub/bugfix/fix_alternate_sites
SiteSync: fix transitive alternate sites, fix dropdown in Local Settings
2022-04-08 17:39:15 +02:00
Petr Kalis
e0db71ba07 Refactor - changed to defaultdict 2022-04-08 16:57:01 +02:00
Petr Kalis
43a68681d6 Refactor - changed logic to loop through alt sites 2022-04-08 12:21:00 +02:00
Petr Kalis
fec9144a5e Merge branch 'develop' of github.com:pypeclub/OpenPype into chore/site_sync_expose_sites_skeleton 2022-04-08 12:14:35 +02:00
Petr Kalis
7f0b4710f2 Refactor - faster resolution of query 2022-04-08 12:13:47 +02:00
Petr Kalis
fc49311937 OP-3072 - check enablement as a first step for Dropbox 2022-04-08 11:53:47 +02:00
Petr Kalis
1848513fb9 OP-3072 - check enablement as a first step for GDrive 2022-04-08 11:49:35 +02:00
Petr Kalis
ffee62799d Merge branch 'develop' of github.com:pypeclub/OpenPype into feature/OP-2951_Download-all-workfile-inputs 2022-04-08 10:06:40 +02:00
Petr Kalis
8fde20646b Hound 2022-04-07 10:25:40 +02:00
Petr Kalis
d41e99cb34 Fix - added recursive configuration for alternative sites 2022-04-06 14:14:48 +02:00
Petr Kalis
9f9f47145b Fix - added active site from settings if same as local id
Without this Tray configuring background process will not show proper site in LS dropdown
2022-04-06 12:45:49 +02:00
clement.hector
57ecd9adfa Better log message with Sync Server 2022-04-04 19:43:13 +02:00
clement.hector
8896b36ef0 Replace t by T in log message 2022-04-04 19:41:27 +02:00
clement.hector
4235a7674f Use format to fill cred_path 2022-04-04 19:39:24 +02:00
clement.hector
986c328749 Resolve environment variable in credential path with accre 2022-04-02 12:04:25 +02:00
Petr Kalis
ee885051d9 Added compute_resource_sync_sites to sync_server_module
This method will be used in integrate_new to logically separate Site Sync parts.
2022-03-30 12:35:27 +02:00
Petr Kalis
ea8b3b79b1 OP-2951 - added force_only_broken argument to sync methods
Cleaned up representation in sync methods
2022-03-29 13:34:25 +02:00
Jakub Trllo
abe340130f fixed remaining imports from avalon.vendor 2022-03-07 17:49:15 +01:00
Jakub Trllo
efee466761 moved sync server module one hierarchy level higher 2022-02-22 15:05:04 +01:00
iLLiCiTiT
224273c1f1 moved sync server module 2021-07-28 14:13:16 +02:00
iLLiCiTiT
65dedb0534 use relative imports 2021-07-27 20:06:15 +02:00
iLLiCiTiT
6813ff0366 changed imports where from interfaces are loaded 2021-07-27 20:01:54 +02:00
iLLiCiTiT
a0b24b9325 remove deprecated sync server initialization 2021-07-27 19:01:25 +02:00
iLLiCiTiT
2aabd0f807 removed "setLayout" methods as layouts are already set to right parents 2021-06-02 11:55:50 +02:00
Petr Kalis
e062d960b3 SyncServer - handle possible race condition
This might throw FileNotFoundError for missing file if progress check is faster than file creation
2021-05-18 12:34:18 +02:00
Petr Kalis
2de2f20bdf SyncServer - fix for 'local' in Local Setting broke regular sync loop
'local' cannot be used in regular sync loop, only for LS
2021-05-18 12:27:22 +02:00
Petr Kalis
2053bb7d6d SyncServer - fill {site} placeholder
Modified namespace for gdrive
2021-05-17 10:36:37 +02:00
Petr Kalis
b5bf29b0f2 SyncServer - Local Settings expect 'local' instead of real site id 2021-05-17 10:12:51 +02:00