Simon Frei
c48eb4241a
lib/model: Fix child-check when deleting dirs in pull ( #7236 )
2021-01-02 21:40:37 +01:00
Simon Frei
0f8290485e
lib/model: Handle index sender terminating due to error ( fixes #7231 ) ( #7232 )
2020-12-30 09:59:11 +01:00
Simon Frei
a05dc6cc47
lib/model: Cleanup redundant filesystem variables in folders ( #7237 )
2020-12-27 22:26:25 +01:00
Simon Frei
5440d1dc3b
gui: Do not replace zero versioning cleanup interval ( #7234 )
2020-12-27 10:08:15 +01:00
Simon Frei
f13e6ca631
lib/model: Remove obsolete return val from ccHandleFolders (ref #6443 ) ( #7229 )
2020-12-23 13:10:08 +01:00
Simon Frei
a20a5f61f0
lib/ur: Send unreported failures on shutdown ( #7164 )
2020-12-22 20:17:14 +01:00
Simon Frei
a744dee94c
lib/fs: Correct wrapping order for meaningful log-caller ( #7209 )
2020-12-21 13:01:34 +01:00
Simon Frei
78bd0341a8
all: Handle errors opening db/creating file-set (ref #5907 ) ( #7150 )
2020-12-21 12:59:22 +01:00
Simon Frei
c845e245a1
lib: Close underlying conn in protocol ( fixes #7165 ) ( #7212 )
2020-12-21 11:40:51 +01:00
Simon Frei
4a787986cd
lib/db: Prevent IndexID creation race ( #7211 )
2020-12-21 11:32:59 +01:00
Simon Frei
78a41828fc
gui: Reflect change in untrusted in sharing tab ( #7201 )
2020-12-21 11:11:44 +01:00
Simon Frei
bd0c9913cf
lib/db: Remove index ids when dropping folder ( #7200 )
2020-12-21 11:10:59 +01:00
Simon Frei
d904dfa191
lib/model: Fix flaky test and add some scanning debug ( #7214 )
2020-12-20 18:13:35 +01:00
Simon Frei
fa40ccece1
lib: Consistently set suture logging ( #7202 )
2020-12-18 19:44:00 +01:00
Simon Frei
7919310dc6
lib/model: Unflake TestIgnoreDeleteUnignore ( #7208 )
2020-12-18 18:42:09 +01:00
Simon Frei
7669af578a
gui: Apply changes to untrusted (ref #6443 ) ( #7206 )
2020-12-17 23:13:28 +01:00
Simon Frei
739e99c4d9
lib/config: Remove deprecated pending entries from config (ref #6443 ) ( #7204 )
2020-12-17 22:49:29 +01:00
Simon Frei
0db3b7a530
build: Switch to gopsutil's v3 module ( #7191 )
2020-12-10 16:43:15 +01:00
Simon Frei
b37ecc3cf4
build: Update notify ( fixes #7076 ) ( #7189 )
2020-12-10 15:43:05 +01:00
Simon Frei
8fd6b1d428
lib/protocol: Handle slashified paths in IsEncryptedParent ( fixes #7184 ) ( #7187 )
2020-12-09 18:16:14 +01:00
Simon Frei
c1b452df93
build: Upgrade quic-go to v0.19.3 (ref #7146 ) ( #7180 )
2020-12-06 13:46:27 +01:00
Simon Frei
cccbb0bd5e
lib/ur: Reset timer when there's nothing to report ( #7169 )
2020-11-28 20:09:22 +01:00
Simon Frei
240ae0c14f
lib/model: Unflake TestRequestReceiveEncryptedLocalNoSend ( #7167 )
2020-11-27 20:53:03 +01:00
Simon Frei
bbb22c8c80
lib/protocol: Send Close message on read error ( #7141 )
2020-11-27 11:31:20 +01:00
Simon Frei
a9764fc16c
lib: Skip deleted, locally changed on recv-enc folders ( fixes #7153 ) ( #7154 )
2020-11-27 11:26:36 +01:00
Simon Frei
e1b958284e
lib/api: Shut the api down gracefully ( fixes #7138 ) ( #7157 )
2020-11-26 15:49:39 +01:00
Simon Frei
bf7d03d029
lib/model: Fix enc file size when pulling ( fixes #7152 ) ( #7155 )
2020-11-25 22:57:25 +01:00
Simon Frei
3169212046
lib/db: Do not reset index-id when dropping device (ref #7135 ) ( #7156 )
...
This reverts commit 641b7aee38 .
2020-11-25 22:54:05 +01:00
Simon Frei
54b50e3d52
lib/fs, lib/model: Cover more windowsyness sanitizing paths ( fixes #7075 ) ( #7158 )
2020-11-25 22:52:46 +01:00
Simon Frei
6c7e8c08db
build: Ignore noscript in translation-script ( #7149 )
2020-11-24 22:17:52 +01:00
Simon Frei
e5c1948b94
gui: Fix & improve sharing with untrusted device ( #7148 )
2020-11-24 22:02:16 +01:00
Simon Frei
100ef10d84
lib/model: Don't send locally changed on recv-enc ( fixes #7137 ) ( #7147 )
2020-11-24 21:49:45 +01:00
Simon Frei
5d2c83a7e9
lib/protocol: Fix OOR panic on recv-only folders ( #7143 )
2020-11-23 18:37:27 +01:00
Simon Frei
8e5c844370
gui: Incorrect recv-enc folder status after revert ( #7142 )
2020-11-23 18:35:36 +01:00
Simon Frei
8ebd893349
lib/db: Store versions for last successful db migration ( #7140 )
2020-11-23 18:31:32 +01:00
Simon Frei
db1f20603a
lib/model: Retain index info for new folders/devs (ref #7100 ) ( #7133 )
2020-11-20 15:53:13 +01:00
Simon Frei
24af89c8e2
all: Refactor preparing configuration ( #7127 )
2020-11-20 14:21:54 +01:00
Simon Frei
641b7aee38
lib/db: Reset index-id when dropping device ( #7135 )
2020-11-20 14:17:09 +01:00
Simon Frei
b43eccf2fe
lib/model: Never send unpaused folder without index info ( #7134 )
2020-11-20 14:13:50 +01:00
Simon Frei
dcddd9c1e4
gui: Remove erronous $ from scope in directive ( fixes #7124 ) ( #7125 )
2020-11-18 14:22:38 +01:00
Simon Frei
e11b309379
lib/model, lib/util: Replace IsComplete with NoRestartErr (ref #6947 ) ( #7126 )
2020-11-18 13:43:57 +01:00
Simon Frei
53fd54e308
gui: Remove erronous $ from scope in directive ( fixes #7124 ) ( #7125 )
2020-11-18 13:33:19 +01:00
Simon Frei
2d3a535ced
lib/model: Handle cluster-config before folder start ( fixes #7122 ) ( #7123 )
2020-11-17 15:30:21 +01:00
Simon Frei
9524b51708
all: Implement suture v4-api ( #6947 )
2020-11-17 13:19:04 +01:00
Simon Frei
e8fc465ea8
lib/config: Use correct var in MaxConcurrentIncomingRequestKiB() ( #7121 )
2020-11-16 16:51:51 +01:00
Simon Frei
35c813f56f
gui: Initialise sharing when accepting new device ( fixes #7113 ) ( #7114 )
2020-11-11 18:18:52 +01:00
Simon Frei
1f81940a1f
gui: Initialise sharing when accepting new device ( fixes #7113 ) ( #7114 )
2020-11-11 18:18:34 +01:00
Simon Frei
b8051fb37e
lib/model: Prevent test deadlock ( #7110 )
2020-11-10 12:32:07 +01:00
Simon Frei
1d3b9876f6
lib/api, lib/db: Add file debug endpoint ( #7095 )
2020-11-10 09:24:45 +01:00
Simon Frei
31559e908b
all: Add untrusted folders behind feature flag (ref #62 ) ( #7055 )
2020-11-09 15:33:32 +01:00
Simon Frei
4db5ea5893
build: Update notify ( fixes #5360 ) ( #7106 )
2020-11-09 14:25:19 +01:00
Simon Frei
54643e86b5
lib/model: Fix locking when resending cluster-configs ( #7107 )
2020-11-09 14:05:21 +01:00
Simon Frei
1f1729ba43
lib/model: Add done chan to track folder-lifetime ( fixes #6664 ) ( #7094 )
2020-11-09 09:05:48 +01:00
Simon Frei
d4ce0dfd84
lib/model: Send indexes for newly shared folder ( fixes #7098 ) ( #7100 )
2020-11-09 08:58:46 +01:00
Simon Frei
cc9ea9db89
lib/folder: Clear pull errors when nothing is needed anymore ( #7093 )
2020-11-06 14:22:20 +01:00
Simon Frei
a08a1b6998
lib/api: Fix debug endpoints (ref #7001 ) ( #7092 )
2020-11-06 14:21:37 +01:00
Simon Frei
d0ccea0404
lib/config: Sanity checks on MaxConcurrentWrites (ref #7064 ) ( #7069 )
2020-11-03 19:09:32 +01:00
Simon Frei
2b9cef3ae5
lib/ur: Fix panics in failure-reporting ( fixes #7090 ) ( #7091 )
2020-11-03 12:29:54 +01:00
Simon Frei
a38b370c8d
lib/ur: Fix panics in failure-reporting ( fixes #7090 ) ( #7091 )
2020-11-03 12:29:33 +01:00
Simon Frei
5b9280c50f
build: Update notify ( fixes #7063 ) ( #7080 )
2020-11-01 21:37:31 +01:00
Simon Frei
4d1bcd718c
lib/api: Fix /rest/config path and add methods to cors (ref #7001 ) ( #7081 )
2020-11-01 21:36:54 +01:00
Simon Frei
bc012d750d
gui: Readd check if device exists (ref #7059 ) ( #7061 )
...
This reverts commit c7d40ccbae .
2020-10-27 16:40:16 +01:00
Simon Frei
9189c79d74
lib/api: Add missing config mod. locks (ref #7001 ) ( #7053 )
2020-10-23 10:34:20 +02:00
Simon Frei
a20d85d451
gui: Refactor to make encryption diff smaller ( #7049 )
2020-10-23 08:27:02 +02:00
Simon Frei
f0f60ba2e7
lib/api: Add /rest/config endpoint ( fixes #6540 ) ( #7001 )
2020-10-22 19:54:35 +02:00
Simon Frei
1c2be84e4e
lib/model: Pass device infos as struct ( fixes #7051 ) ( #7052 )
2020-10-22 13:05:31 +02:00
Simon Frei
2ba3be5e4d
lib/db: Add mechanism to repair db without schema update (ref #7044 ) ( #7047 )
2020-10-21 14:21:09 +02:00
Simon Frei
5c91723ef2
lib/model: Handle index sender lifetime ( fixes #7034 ) ( #7038 )
2020-10-21 11:51:53 +02:00
Simon Frei
27c91c57d5
lib/db: Remove need for the right dev removing globals ( fixes #7036 ) ( #7044 )
2020-10-21 08:26:10 +02:00
Simon Frei
1a8c10a8d0
lib/model: Use winning version instead of merge on conflict ( #6995 )
2020-10-19 08:53:19 +02:00
Simon Frei
01a7ef3b0f
lib/db: Undo adding user info to panic msgs (ref #7029 ) ( #7040 )
2020-10-19 08:40:37 +02:00
Simon Frei
23c935b05a
lib/db: Ignore not found on delete in recalcGlobal (ref #7026 ) ( #7041 )
2020-10-19 08:28:53 +02:00
Simon Frei
d828adb648
cmd/stcrashreceiver, lib/db: Improve panic message handling ( #7029 )
2020-10-08 17:37:45 +02:00
Simon Frei
9d09fd6af3
all: Add failure reporting ( fixes #7028 ) ( #6925 )
2020-10-07 10:05:13 +02:00
Simon Frei
14ae330eff
lib/db: Improve error handling checking db (ref #7026 ) ( #7027 )
2020-10-06 20:14:09 +02:00
Simon Frei
42de53c6c9
lib/model: Fix race in GlobalDirectory tests ( fixes #7021 ) ( #7022 )
2020-10-03 20:46:17 +02:00
Simon Frei
48da6f0f22
lib: Use uint64 for disk stats (ref #3930 ) ( #7019 )
2020-10-02 15:22:28 +02:00
Simon Frei
a20c6ca868
lib/model, lib/protocol: Send ClusterConfig on config change ( fixes #7020 ) ( #7018 )
2020-10-02 11:49:51 +02:00
Simon Frei
1b1d38183d
lib: Remove HelloResult type, same as Hello ( #7015 )
2020-09-29 12:17:38 +01:00
Simon Frei
8452fd2ab4
lib/model, lib/scanner: Prevent races aborting scans ( fixes #6994 ) ( #6997 )
2020-09-25 11:27:44 +02:00
Simon Frei
8210466b03
lib/model: Consider case conflicts when checking to be deleted items ( #6986 )
2020-09-12 07:45:50 +02:00
Simon Frei
08bebbe59b
lib/db, lib/syncthing: Don't repair DB on upgrade, but on error ( fixes #6917 ) ( #6971 )
2020-09-10 10:54:41 +02:00
Simon Frei
c5c23ed10f
lib/model: Consider existing file when handling symlink on windows ( #6977 )
2020-09-10 10:52:38 +02:00
Simon Frei
286698ccb1
lib/model: Handle symlink deletion on windows ( fixes #6972 ) ( #6976 )
2020-09-10 08:25:44 +02:00
Simon Frei
56d48d341f
lib/model: Fix case-only renames on pull ( #6978 )
2020-09-10 08:23:54 +02:00
Simon Frei
e3cd9219b8
lib/model: Don't fail over case-conflict on tempfile ( fixes #6973 ) ( #6975 )
2020-09-09 11:47:14 +02:00
Simon Frei
b628ec5054
lib/fs: Use generic case resolver on windows ( fixes #6968 ) ( #6969 )
2020-09-08 13:10:26 +02:00
Simon Frei
ecc24428ac
lib/model: Prevent duplicate need count on recalculating metadata ( #6964 )
2020-09-07 20:19:03 +02:00
Simon Frei
e19728d8cc
lib/model: Correct completion perc. when globalBytes is 0 ( #6963 )
2020-09-07 20:03:18 +02:00
Simon Frei
3dd13c3994
test, lib/model: Various integration test updates & improvements ( #6956 )
2020-09-07 09:35:37 +02:00
Simon Frei
52d1681fe6
lib/db: Copy returned, old FileVersion ( #6952 )
2020-09-04 14:13:38 +02:00
Simon Frei
7b821d2550
lib/db: Add local need check&repair ( #6950 )
2020-09-04 14:01:46 +02:00
Simon Frei
0e3e0a7c9e
cmd/stindex, lib/db: Use same condition to check for needed files ( #6954 )
2020-09-04 13:59:04 +02:00
Simon Frei
6365e6108f
lib/model: Don't acquire I/O token for send-only pull ( #6951 )
2020-09-03 13:59:45 +02:00
Simon Frei
540518a7b7
lib/model: Add missing lock on download-state ( fixes #6880 ) ( #6945 )
2020-08-30 08:03:10 +02:00
Simon Frei
44bf8cfd27
build: Improve translation script ( fixes #6943 ) ( #6944 )
2020-08-30 08:01:46 +02:00
Simon Frei
06ac631351
lib/model: Reduce fmut locking in ClusterConfig ( #6913 )
...
The FileSet.Drop operation in there needs to potentially update a whole lot of global lists, which can take a while (longer than the deadlock interval apparently)
2020-08-27 16:01:46 +02:00
Simon Frei and Audrius Butkevicius
1fc2dbdeeb
lib/model: Add test for recv-only changes undone by remote ( #6463 )
...
Co-authored-by: Audrius Butkevicius <audrius.butkevicius@gmail.com >
2020-08-27 15:54:00 +02:00
Simon Frei
3f0eba388c
lib/syncthing: Also cleanup on startup error ( #6926 )
2020-08-27 15:52:51 +02:00
Simon Frei
675b535ead
build: Bump goleveldb to latest commit ( #6895 )
2020-08-21 12:35:05 +02:00