Commit graph

85 commits

Author SHA1 Message Date
Milan Kolar
771a8e29ac rename master version to hero 2021-03-24 10:17:08 +01:00
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
541dd06301 SyncServer - fix lagging of gui
Resolving of path is expensive and not necessary here
2021-03-11 18:01:43 +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
d16434db03 SyncServer - added missed file 2021-03-10 17:40:27 +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
5faf1543d7 SyncServer - use properly get_local_site_id for user's local site in app 2021-03-09 17:06:19 +01:00
Petr Kalis
720ab0f561 SyncServer - fixes, refactor 2021-03-08 12:57:11 +01:00
Petr Kalis
3e9c86799d SyncServer - fix exceptions when no project configured 2021-03-08 12:53:29 +01:00
Petr Kalis
348cb05182 SyncServer - added required methods
Implemented required methods in LocalDriveHandler
Added progress for LocalDriveHandler
2021-03-08 12:52:52 +01:00
Petr Kalis
4dcde4afc1 SyncServer GUI - solve conflict, merged ProjectListWidget move 2021-02-16 09:51:34 +01:00
iLLiCiTiT
2b4d17a67c fix widget import in sync server 2021-02-16 09:29:29 +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
746b5ba94d SyncServer GUI - fix error view in detail 2021-02-11 12:37:17 +01:00
Petr Kalis
5afa817472 SyncServer GUI - added icons to project list 2021-02-11 12:32:01 +01:00
Petr Kalis
854fece76d SyncServer GUI - modified label for add site 2021-02-11 11:19:25 +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
9079c12ed6 SyncServer GUI - fix proper usage of master version 2021-02-10 11:21:20 +01:00
Petr Kalis
1c938fc11e SyncServer GUI - updated search in summary model
Added possibility of searching by _id
2021-02-08 13:32:16 +01:00
Petr Kalis
2c7862de99 SyncServer GUI - added some documentation 2021-02-08 12:53:25 +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
2aea417e40 SyncServer GUI - added Open in explorer to menu 2021-02-03 19:31:40 +01:00
Petr Kalis
b56e9cfb43 SyncServer GUI - fix - selection kept disappearing 2021-02-03 18:59:27 +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
6d160d8830 SyncServer GUI - fix pagination
Used '$facet', return something like resultset
2021-01-22 20:14:23 +01:00
Petr Kalis
976669ddc4 SyncServer GUI - fix wrong selection
Only representations which have both 'local_site' and 'remote_site' are selected
2021-01-22 18:25:29 +01:00
Petr Kalis
be57dd3e66 SyncServer GUI - fix nondeterministic sorting
Wrong placement of sort after limit lead to nondeterministic sorting
2021-01-22 17:16:17 +01:00
Petr Kalis
46f09c8cb2 SyncServer GUI - Hound 2. 2021-01-19 16:46:33 +01:00
Petr Kalis
83a8c6e3a1 SyncServer GUI - Hound 2021-01-19 14:01:51 +01:00
Petr Kalis
01344854be SyncServer GUI - safer initialization of DB 2021-01-19 13:35:10 +01:00
Petr Kalis
2eed46847a SyncServer GUI - changed order by status
Currently processed sorted as first now
2021-01-19 13:09: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
c7c3d6b78d SyncServer GUI - fixes for style 2021-01-18 14:14:11 +01:00
Petr Kalis
2f3a1eb9f0 SyncServer GUI - implemented saving progress to DB 2021-01-15 20:47:37 +01:00
Petr Kalis
8cda048617 SyncServer GUI - fix - project propagates into detail model
Removed project from Widget, left project on model only
2021-01-15 20:44:37 +01:00
Petr Kalis
a6e91195fa SyncServer GUI - safer creation of gui 2021-01-14 19:07:09 +01:00