Commit graph

83 commits

Author SHA1 Message Date
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
Petr Kalis
e2b56e5217 SyncServer - wrong six library imported 2021-05-14 19:19:23 +02:00
Petr Kalis
2d6bb1108a SyncServer - fixes for revalidating cache for sync settings
Fix wrong methods
2021-05-14 16:33:28 +02:00
Petr Kalis
86cf197d07 SyncServer - added better error for not working credentials file 2021-05-12 20:18:23 +02:00
Petr Kalis
0e944f121e SyncServer - fix broken provider access in module 2021-05-12 19:28:46 +02:00
Petr Kalis
adc1f570b1 SyncServer - fix broken provider access 2021-05-12 19:24:19 +02:00
Petr Kalis
10c0bd279b SyncServer - fixed broken studio <> remote use case
User should only upload/download when active or remote site is his.
2021-05-12 17:46:46 +02:00
Petr Kalis
4da285cf8f SyncServer - fix multiplatform properties 2021-05-12 17:34:11 +02:00
Petr Kalis
eeb9722652 SyncServer - fixed resolving of credentials_url
Moved root config creation before its totally necessary
2021-05-12 17:07:12 +02:00
Petr Kalis
798f67ff64 SyncServer - added namespace field 2021-05-12 16:41:29 +02:00
Petr Kalis
abfb758922 SyncServer - limit return only configured sites to Local Settings 2021-05-12 16:22:33 +02:00
Petr Kalis
bb8452f44e SyncServer - add namespace for gdrive
Namespace points Local Settings where to overwrite value. Namespace values should be unique paths, placeholders could be used.
2021-05-12 15:57:13 +02:00
Petr Kalis
fca039884a SyncServer - local_drive sites (studio, local) only configurable in Local Settings
In Project settings only configured via Anatomy
2021-05-12 15:54:19 +02:00
Petr Kalis
c4d5baae65 SyncServer - changed output format, added children list 2021-05-12 15:52:16 +02:00
Petr Kalis
1d24e2fc32 SyncServer - modify which sites return when disabled 2021-05-12 15:42:05 +02:00
Petr Kalis
895d7ac18a SyncServer - added explicit wrappers
Changed back method signature
2021-05-12 13:04:51 +02:00
Petr Kalis
5461ee461e SyncServer - fixed documentation 2021-05-12 12:54:47 +02:00
Petr Kalis
06a341d276 SyncServer - fixed return types, added documentation 2021-05-12 12:39:53 +02:00
Petr Kalis
0b47e921af SyncServer - fixes for overrode settings 2021-05-12 12:06:10 +02:00
Petr Kalis
1aafb697e4 SyncServer - change settings to new format
Sites are configured in System
Schemas and defaults were modified
All providers carry dict of modifiable properties for Local Settings
2021-05-11 14:49:13 +02:00
Petr Kalis
49e44f0d70 SyncServer - check configured sites more effectively 2021-05-11 14:43:26 +02:00
Petr Kalis
e4b51604ad SyncServer - sync_project_settings now contains all projects, must skip disabled explicitly 2021-05-11 12:12:39 +02:00
Petr Kalis
46fd091aec SyncServer - support for additional settings and local settings
WIP
2021-05-10 09:38:08 +02:00
Petr Kalis
dfe4e657d1 Fix SyncServer get_enabled_projects should handle global state
If server is globally disabled, no projects should be returned
2021-05-05 20:27:42 +02:00
Petr Kalis
8b1a32b2e2 SyncServer - fix icon showing
Fixed better reaction on changes in Local Settings
2021-05-04 14:27:16 +02:00
Petr Kalis
bf9151103b SyncServer - handle querying only when widget is shown 2021-05-04 14:25:54 +02:00
Petr Kalis
999e1b78fd SyncServer - fix priority on remote sites 2021-05-04 10:43:48 +02:00
Petr Kalis
5d40c9e31e Hound 2021-05-03 19:09:13 +02:00
Petr Kalis
ae27361657 SyncServer - allow modifying of priority only on local site 2021-05-03 19:08:10 +02:00
Petr Kalis
b559f29d94 SyncServer - allow edit option only if site is local
If no site is user local one, do not allow edit actions (Reset site, set priority)

Potentially extensible by admin role
2021-05-03 18:57:04 +02:00
Petr Kalis
7887c298cc SyncServer - pausing only synchronization, not GUI 2021-05-03 18:25:29 +02:00
Petr Kalis
1214455db0 SyncServer - propagate styles into context menu 2021-05-03 14:21:00 +02:00
Petr Kalis
4b7cab42fb SyncServer - refactored delegate location 2021-05-03 14:17:50 +02:00
Petr Kalis
5dd059d96e SyncServer - implemented priority for SyncRepresentationDetailModel 2021-05-03 14:15:44 +02:00
Petr Kalis
0c631e76f1 SyncServer - implemented priority in synchronization loop 2021-05-03 14:13:53 +02:00
Petr Kalis
ad87c65b75 SyncServer - implemented priority in SummaryView
SummaryDetail not implemented
Still some kinks to iron out
2021-04-30 18:40:40 +02:00
Petr Kalis
81baab0372 SyncServer - Pause button shouldn't be default action 2021-04-30 15:50:40 +02:00
Petr Kalis
5782adf97e SyncServer - add saving of priority value 2021-04-30 14:43:44 +02:00
Petr Kalis
1ceed8169f SyncServer - handle if globally enabled, but no projects 2021-04-29 19:19:10 +02:00
Petr Kalis
1cb47023a1 Hound 2021-04-29 14:02:29 +02:00
Petr Kalis
8b570c7c82 SyncServer - change title of window 2021-04-29 13:33:43 +02:00
Petr Kalis
d8d241ac5a SyncServer - change title of window 2021-04-29 13:03:33 +02:00
Petr Kalis
9d88f63332 SyncServer - remember last sort in Sync Queue app 2021-04-29 13:02:30 +02:00
Petr Kalis
9a8b9c1f74 SyncServer - bump up default of processed files in one loop for local_drive 2021-04-29 12:42:30 +02:00
Petr Kalis
933b7d9e1e SyncServer - handle 500 error in Gdrive init
Introduced recoverable exception ResumableError
2021-04-29 12:40:59 +02:00
Petr Kalis
e08745a1d1 Hound 2021-04-23 10:39:06 +02:00