Commit graph

147 commits

Author SHA1 Message Date
Jakub Trllo
0478d3ea59 use new import of interfaces 2022-11-03 16:21:58 +01:00
Jakub Trllo
79e6de15b5 import Logger from 'openpype.lib' instead of 'openpype.api' 2022-09-28 14:49:52 +02:00
Jakub Trllo
1ff3b31d40 added cli commands for sync server 2022-08-31 14:43:10 +02:00
Jakub Trllo
5631fb66a7 use log attribute in provides 2022-08-25 18:36:31 +02:00
Jakub Trllo
808d1a5dd1 abstrac provides has log attribute 2022-08-25 18:36:11 +02:00
Jakub Trllo
310e9bf50f fix line lengths 2022-08-24 17:19:01 +02:00
Jakub Trllo
08efc477ca small tweaks in usage of Logger 2022-08-24 16:21:04 +02:00
Jakub Trllo
3cdfc5b350 use class log attribues instead of global loggers 2022-08-24 15:54:07 +02:00
Jakub Trllo
882e00baef use Logger instead of PypeLogger 2022-08-24 15:52:47 +02:00
Jakub Trllo
61e8d7e9f1 use 'get_projects' instead of 'projects' method on AvalonMongoDB 2022-08-15 19:14:01 +02:00
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