Petr Kalis
1daa755ae4
SyncServer - use local_site_id properly
...
'local' should be replaced by local_site_id anytime in real world
2021-03-11 18:55:27 +01:00
Petr Kalis
fe3de0cfc9
Hound
2021-03-11 18:07:10 +01:00
Petr Kalis
bf127b0432
SyncServer - refresh project settings every loop or project change
2021-03-11 17:41:22 +01:00
Petr Kalis
83570d4998
SyncServer - modified resolving of paths for local and remote
...
Fix - status for some failed was incorrectly set to Not available
Extended AbstracProvider with new method for resolvments of paths
Added defaults sites to configured sites
Name refactor
2021-03-11 16:20:54 +01:00
Petr Kalis
fcfd537830
Fix - get_remote_sites_from_settings does not validate sites
...
Sites could be configured in Local setting, so validation
doesn't have sense here
Small refactor
2021-03-11 13:17:28 +01:00
iLLiCiTiT
40e80232b1
fixed typo in method names
2021-03-10 18:01:24 +01:00
Petr Kalis
9c6544ad0f
SyncServer - add 2 new methods get_active_sites_from_settings
...
, get_remote_sites_from_settings
Refactorr
2021-03-10 17:37:13 +01:00
Petr Kalis
ba9b56fc7a
SyncServer - added get_active_sites, get_remote_sites methods
...
refactor
renamed get_local_site to get_active_site (part of public API)
2021-03-09 17:14:11 +01:00
Petr Kalis
720ab0f561
SyncServer - fixes, refactor
2021-03-08 12:57:11 +01:00
Petr Kalis
8fe2544d1f
SyncServer GUI - Hound
2021-02-12 17:06:28 +01:00
Petr Kalis
d55060d7dd
SyncServer GUI - implemented pulling roots from settings
...
Updated defaults (empty) for Settings
Updated schema for syncserver
Small assorted fixes
2021-02-12 16:42:58 +01:00
Petr Kalis
c8dc7a3fd4
SyncServer GUI - rename publish_site to active_site
...
publish_site is too specific, active denotes we are syncing from, but also we are publishing too
2021-02-11 17:12:45 +01:00
Petr Kalis
cc58f364b8
SyncServer GUI - added functionality of pausing during upload/download to Gdrive
...
Triggers error, process need to be reset for now for that repre
2021-02-11 13:36:00 +01:00
Petr Kalis
37b9b23e4b
SyncServer GUI - fix - removed unwanted UTC
...
mongo driver automatically converts local date to UTC, pretty_date works with it fine
2021-02-11 13:04:50 +01:00
Petr Kalis
64ef286653
SyncServer GUI - added local_drive provider
...
Added possibility to remove local file(s) for repre or whole project
Updated icons
Update menus
2021-02-10 20:06:46 +01:00
Petr Kalis
d05b25a038
SyncServer GUI - set download to overwrite local file
...
Overwrite should be default for both upload/download
2021-02-10 11:24:03 +01:00
Petr Kalis
dc436645cf
SyncServer GUI - fix - download was broken
...
Fixed order of arguments in method call
2021-02-05 19:06:33 +01:00
Petr Kalis
4195549ff9
SyncServer GUI - added Pause functionality
...
Allows pausing on representation, project or server level.
2021-02-05 18:51:55 +01:00
Petr Kalis
a70e1f8a7b
SyncServer GUI - added add_site and remove_site as public facing api
...
app.py contains redundant items in menu for easier testing.
Both will be removed later.
2021-02-03 18:46:16 +01:00
Petr Kalis
e66e661c38
SyncServer GUI - added reset site for whole representation
...
Updated saving to DB with better approach
2021-02-03 16:19:09 +01:00
Petr Kalis
c0c12d0a9a
SyncServer - renamed active_site to publish_site
...
publish_site meaning is 'a place I am publishing to'.
Usually it will be 'studio', eg. publishing to shared drive,
but it could be artist's local site.
2021-01-29 12:27:32 +01:00
Petr Kalis
01344854be
SyncServer GUI - safer initialization of DB
2021-01-19 13:35:10 +01:00
Petr Kalis
51ae46bd6d
SyncServer GUI - fix - keep selection during model refresh
2021-01-19 12:27:39 +01:00
Petr Kalis
21e285c2cc
SyncServer GUI - fix - reset_provider_for_file
...
Removed pulling sync_server from ModulesManager (not a singleton!) to
injecting object and passing everywhere
2021-01-18 19:06:57 +01:00
Petr Kalis
2f3a1eb9f0
SyncServer GUI - implemented saving progress to DB
2021-01-15 20:47:37 +01:00
Petr Kalis
60b2cb46cb
SyncServer GUI - better handling when no project is configured
2021-01-14 18:12:12 +01:00
Petr Kalis
e6c7382c7e
#817 - Initial Gui implementation
...
Implemented dialog for sync representations
Implemented model, pagination, sorting (for most columns)
Base of detail dialog
2020-12-21 13:22:54 +01:00
Petr Kalis
aa94ac132e
Hound
2020-12-15 11:55:09 +01:00
Petr Kalis
589b9afc53
Implemente Module Manager
...
Reworked key value to 'sync_server' according to new configuration
2020-12-15 11:49:42 +01:00
Petr Kalis
29763581e9
Fix schema, standardize to 'Sync Server' as a key for now
...
Handled system wide disabling in integrate_new
2020-12-10 19:02:00 +01:00
Petr Kalis
2e619be3d7
Removed avalon.io import
2020-12-10 11:57:20 +01:00
Petr Kalis
7a6cdd7353
Hound
2020-12-10 11:57:19 +01:00
Petr Kalis
f941917dab
Sync Server - fixed usage of settings
...
Updated integrate_new.py
Updated documentation
2020-12-10 11:57:19 +01:00
Petr Kalis
76e3d70cca
Sync Server - fixed usage of settings
...
Implemented settings per project
Updated defaults settings
2020-12-10 11:57:19 +01:00
Milan Kolar
ecf220156e
add sync server to settings
2020-12-10 11:57:19 +01:00
Petr Kalis
c5afdb93fc
#731 - better handling of missing presets
2020-11-19 16:29:59 +01:00
Petr Kalis
1ed958cf8a
Added support for shared drives
2020-11-04 13:23:11 +01:00
Petr Kalis
7f1fb8fb4e
Sync Server - minor fix for single root
2020-10-22 14:15:32 +02:00
Petr Kalis
6670af63e0
Sync Server - added multisite support
...
One provider could have multiple different sites,
each with different account.
2020-10-22 13:31:24 +02:00
Petr Kalis
59753ddb1b
Sync Server - added multiroot support
2020-10-21 20:24:49 +02:00
Petr Kalis
a5e8b15a38
Added active_site, remote_site
...
Added reset site for representation and file
Removed io, switched to AvalonMongoDb
Added implementation for multiple projects in DB
2020-09-30 19:27:20 +02:00
Petr Kalis
e2420c2919
Fix - modified handling of failed syncs of files
2020-09-23 12:45:47 +02:00
Petr Kalis
ea4113c5e4
Added presets
...
Better handling of not active providers
2020-09-22 18:13:58 +02:00
Petr Kalis
ef1f94aecc
Hound
2020-09-22 14:48:09 +02:00
Petr Kalis
8eb5524d64
Authentication changed to 'service account'
...
Added error propagation for permission issue
Added dummy files creation to test_mongo_performance.py
2020-09-22 14:21:53 +02:00
Petr Kalis
e3c8d9fd7c
Minor fixes for accessing fields
2020-09-22 11:34:24 +02:00
Petr Kalis
0ed04d2c5e
Hound
2020-09-18 19:08:15 +02:00
Petr Kalis
e793ee1c11
Changed get_sync_representation
...
Changed sites from dictionary to array of dictionaries for better performance
Added @timeit decorator
Changed initialization of gdrive._tree to be more lazy
2020-09-18 18:54:14 +02:00
petr.kalis
0ecb2d393e
Refactored build tree
...
Added download functionality
2020-07-30 13:11:13 +02:00
petr.kalis
9ec7ecfdbc
Added possibility of tree injection to constructor
...
Speed optimalization - limits number of times folder structures is
being build during synchronization loop.
2020-07-27 15:13:38 +02:00