Commit graph

137 commits

Author SHA1 Message Date
Petr Kalis
d7d8d45ee5
OP-3405 - representation is not a list
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2022-08-03 18:27:08 +02:00
Petr Kalis
26c4a0f8ca OP-3405 - Hound 2022-08-02 16:15:17 +02:00
Petr Kalis
eb2c825588 OP-3405 - extracted aggregate query from Loader to Site Sync module 2022-08-02 16:09:59 +02:00
Petr Kalis
89bd23856c OP-3405 - refactor - updated methods signature
Renamed collection to project_name as when we are leaving MongoDB, collection doesnt make much sense.
2022-08-02 12:25:51 +02:00
Petr Kalis
0f5ec0f0c4 OP-3405 - used get_representation_by_id 2022-07-29 17:54:51 +02:00
Petr Kalis
292d071f44 OP-3405 - query is required for updates 2022-07-29 17:39:59 +02:00
Petr Kalis
c944ae35c9 OP-3405 - replaced find with get_representation_by_id 2022-07-29 17:17:03 +02:00
Petr Kalis
5c8eac6b63 OP-3405 - replaced find with get_representations 2022-07-29 17:12:40 +02:00
Jakub Trllo
168c3b38a4 modified imports in sync server 2022-06-29 15:28:59 +02:00
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