Commit Graph

1254 Commits (14ff1e85977a9af8376c9006a32d35179969040a)

Author SHA1 Message Date
Zlatin Balevsky 039ea5269e
move sleep for embedded router after GUI has appeared 2022-04-12 12:21:18 +01:00
Zlatin Balevsky 77833e7f76
fix shutdown while I2P router is initializing 2022-04-12 08:08:41 +01:00
Zlatin Balevsky 1c5adb9b28
postpone connecting to I2P after the main frame has been shown 2022-04-11 16:54:53 +01:00
Zlatin Balevsky 00886c57ab
only show router disconnection warning when using external router 2022-04-11 15:55:14 +01:00
Zlatin Balevsky 9d5c9cc9b3
limit first hop queries to 5/second 2022-03-24 06:37:05 +00:00
Zlatin Balevsky 50333d10a3
lock persisting of downloader, trying to fix GitHub issue #124 2022-03-12 13:19:51 +00:00
Zlatin Balevsky b95a9b62b1
Add a new state for downloads rejected due to slot limit 2022-03-08 16:25:41 +00:00
Zlatin Balevsky 9f62fb6256
do not exit accept loop on I2PExceptions, GitHub issue #123 2022-03-05 15:17:24 +00:00
Zlatin Balevsky 1fa2ee99f6
do not exit accept loop on I2PExceptions, GitHub issue #123 2022-03-05 15:13:25 +00:00
Zlatin Balevsky 75f65a61ca
do not exit accept loop on I2PExceptions, GitHub issue #123 2022-03-05 14:50:22 +00:00
Zlatin Balevsky 9e8d6fe013
do not exit accept loop on I2PExceptions, GitHub issue #123 2022-03-05 14:37:12 +00:00
Zlatin Balevsky 09c43b8b6c
do not exit accept loop on I2PExceptions, GitHub issue #123 2022-03-05 14:29:58 +00:00
Zlatin Balevsky 9249bdc2a6
do not exit when losing external router, try to reconnect automatically GitHub issue #123 2022-03-05 14:03:12 +00:00
Zlatin Balevsky 72a5406d25
reduce connect timeout for faster initial rampup 2022-03-04 15:21:23 +00:00
Zlatin Balevsky 901c626d0a
do not show Restart button if there is no AutoUpdater 2022-02-22 16:33:10 +00:00
Zlatin Balevsky a83853b892
fix initialization of auto updater 2022-02-22 13:45:16 +00:00
Zlatin Balevsky adca41ec27
version must be string 2022-02-22 07:32:59 +00:00
Zlatin Balevsky 9ee70f384c
fix compilation 2022-02-22 06:05:57 +00:00
Zlatin Balevsky f389231ca4
home must be accessible from updaters 2022-02-22 05:49:57 +00:00
Zlatin Balevsky 722bc09aa6
auto updates 2022-02-22 05:27:24 +00:00
Zlatin Balevsky 0ba03e94b0
update test 2022-02-21 11:34:09 +00:00
Zlatin Balevsky 8f8f10d168
Persist contact list immediately in UTF-8 charset 2022-02-21 11:21:17 +00:00
Zlatin Balevsky 18696f9b88
remove incomplete file and pieces file if download is hopeless 2022-02-21 10:43:56 +00:00
Zlatin Balevsky 28d1d9fc0e
fix logging statement in case of non-zip updates 2022-02-21 06:58:58 +00:00
Zlatin Balevsky 29b8b81a1e
fix reading of beta.version 2022-02-21 06:51:09 +00:00
Zlatin Balevsky 3a96fa9606
split display version from core version and check for beta block in update payload 2022-02-21 06:08:40 +00:00
Zlatin Balevsky dc8554143c
Drop/Block actions from Content Control Panel 2022-02-18 13:52:18 +00:00
Zlatin Balevsky e5f585c413
vetoable events 2022-02-18 11:18:46 +00:00
Zlatin Balevsky 0205b62804
jacoco test reports for core 2022-02-12 10:55:58 +00:00
Zlatin Balevsky e2bd1dc613
* Use MessageThrottle to throttle incoming queries
* Drop queries without "originator" Persona field
* Enforce that first hop queries originator == connection endpoint
2022-02-10 17:00:41 +00:00
Zlatin Balevsky 1750a22efc
Configure watched directories from Library Tree view. GitHub issue #120 2022-02-09 15:58:01 +00:00
Zlatin Balevsky 508e22d6c4
Ability to apply folder config changes to subfolders. GitHub issue #120 2022-02-09 15:00:59 +00:00
Zlatin Balevsky 2e4733e6c3
ability to disable serving regex queries in the options 2022-02-09 13:46:48 +00:00
Zlatin Balevsky 4251c96b6f
support regex search in collections 2022-02-07 14:57:28 +00:00
Zlatin Balevsky 53f4009b5d
evaluate regex queries 2022-02-07 14:41:01 +00:00
Zlatin Balevsky 98bb50a73b
apply global and per-sender limits for regex queries 2022-02-07 14:15:00 +00:00
Zlatin Balevsky 5a4a8b4ef8
remove import 2022-02-07 14:14:38 +00:00
Zlatin Balevsky f2072be281
message and per-sender throttles 2022-02-07 14:06:01 +00:00
Zlatin Balevsky d1cdc3efe3
Collapse un-shared parts of paths in Library Table view by default. GitHub issue #65 2022-02-06 03:01:22 +00:00
Zlatin Balevsky 19db10348f
fix loading of pre-0.8.10 libraries 2022-02-06 01:59:05 +00:00
Zlatin Balevsky 89e4cf7a54
fix plugin build 2022-01-18 22:50:00 +00:00
Zlatin Balevsky a6f6e7815d
Release 0.8.11 2022-01-18 20:02:19 +00:00
Zlatin Balevsky 106b7772f8
add German low-high quotes to split pattern 2022-01-14 13:27:03 +00:00
Zlatin Balevsky e6b76826f4
do not try to respond to regex queries until properly implemented 2022-01-12 14:03:12 +00:00
Zlatin Balevsky bd3555dce9
propagate regex flag in queries in preparation for regex search 2022-01-10 11:29:35 +00:00
Zlatin Balevsky 1cd1828e15
open modules for core tests 2022-01-08 12:48:24 +00:00
Zlatin Balevsky c061ad0588
update test for changes related to symlinks 2022-01-08 12:16:56 +00:00
Zlatin Balevsky 33292f773c
Remember hopeless hosts a little longer to prevent recycling them. Do not advertise hosts which are hopeless. 2021-12-20 04:51:22 +00:00
Zlatin Balevsky f38e65991e
Modify directory watching logic to work with symlinks 2021-10-23 01:37:34 +01:00
Zlatin Balevsky 6814e715ec
share symlinked folders correctly 2021-10-22 22:58:23 +01:00
Zlatin Balevsky 905c8e6bb3
working symlinks to files without rehashing 2021-10-22 22:50:50 +01:00
Zlatin Balevsky 33287c781c
make sure an UploadFinishedEvent always follows an UploadEvent, even if hashlist upload fails 2021-10-20 23:28:35 +01:00
Zlatin Balevsky ccf55d5ec6
Refresh only the rows that are affected by a new uploader. GitHub issue #98 2021-10-20 18:05:45 +01:00
Zlatin Balevsky ef9ad1549a
Mark which upload requests were first for the connection and only refresh the Library for those. Fix accounting of upload slots per user. GitHub issue #98 2021-10-20 14:30:40 +01:00
Zlatin Balevsky 2b3c08d64a
Release 0.8.10 2021-10-19 20:12:33 +01:00
Zlatin Balevsky c0ad9b9a6c
windows throws an exception when trying to open the file. GitHub issue #97 2021-10-19 16:24:42 +01:00
Zlatin Balevsky d53666d7bb
try to acquire a read lock before trying to hash the file. GitHub issue #97 2021-10-19 15:46:40 +01:00
Zlatin Balevsky 6a3716b774
Try a read lock over the file that is being hashed. GitHub issue #97 2021-10-19 14:25:00 +01:00
Zlatin Balevsky d64fcfc1a4
re-instate the throttling of file load property 2021-10-19 13:55:06 +01:00
Zlatin Balevsky cdf96f32a2
switch to WeakHashMap to prevent reference leak of Destinations 2021-10-17 15:06:32 +01:00
Zlatin Balevsky 0e0b30c3a6
revert delaying of downloads as the semaphore approach is enough. GitHub issue #90 2021-10-15 18:33:05 +01:00
Zlatin Balevsky 3d72497d5f
Fix return value 2021-10-15 17:40:04 +01:00
Zlatin Balevsky a131263686
limit the simultaneous connections to a given destination to 4. GitHub issue #90 2021-10-15 17:29:01 +01:00
Zlatin Balevsky 73d3fb6ad8
throttle new downloads to one every 100ms. Helps with GitHub issue #90 2021-10-15 16:03:24 +01:00
Zlatin Balevsky bc4f61bcdb
Speed up mass resume/retry of downloads. GitHub issue #89 2021-10-15 02:11:39 +01:00
Zlatin Balevsky 0efe12f247
update test with second required kickoff event 2021-10-14 17:16:15 +01:00
Zlatin Balevsky 1c1f947315
remove the throttling of loading the shared files on startup since the GUI is now updated on a timer 2021-10-14 16:57:54 +01:00
Zlatin Balevsky 47b841cf3d
load feeds after the UI loads 2021-10-13 20:23:00 +01:00
Zlatin Balevsky da2d006405
cache hidden roots as they are likely to repeat a lot 2021-10-13 10:11:45 +01:00
Zlatin Balevsky 6c186267f6
fix a typo that was causing max chat connections to revert to -1. GitHub issue #66 2021-10-12 17:33:41 +01:00
Zlatin Balevsky d1bb60c269
remove (broken) attempt to force-share the update file 2021-10-12 17:15:00 +01:00
Zlatin Balevsky ee68ce42c9
fix a typo that was causing update checks after every startup 2021-10-12 17:13:12 +01:00
Zlatin Balevsky 41dc8ab0e6
Increase the MAX_RESULTS constant because it's not as relevant any more 2021-10-11 15:18:16 +01:00
Zlatin Balevsky 2bfcbbf1c5
mark local queries and make sure they get broadcast 2021-10-10 08:11:55 +01:00
Zlatin Balevsky 3c1fbf1953
fix connecting to only trusted contacts 2021-10-10 07:51:10 +01:00
Zlatin Balevsky 296f8a9f4d
only show paths if the query was searching for paths 2021-10-10 00:00:50 +01:00
Zlatin Balevsky 1c5100f320
send path information with results 2021-10-09 23:22:24 +01:00
Zlatin Balevsky ebac1ffafa
add flag to search paths to query message 2021-10-09 23:15:35 +01:00
Zlatin Balevsky ce806f9f4d
Index visible file paths and search through them. GitHub issue #78 2021-10-09 22:57:47 +01:00
Zlatin Balevsky 262bd6931d
fix persistence of downloaders which was broken in GitHub issue #65 2021-10-09 20:53:22 +01:00
Zlatin Balevsky 4ee8841db0
Prevent race condition with resuming downloads who are just finishing, GitHub issue #77 2021-10-09 20:37:57 +01:00
Zlatin Balevsky 838f9162e4
When downloading folder structures share them correctly if sharing is enabled. GitHub issue #65 2021-10-08 10:43:25 +01:00
Zlatin Balevsky 61a61bbbd0
Use an HMAC instead of salted hash when generating secret root. Thanks to Searinox for the analysis. GitHub issue #65 2021-10-08 06:27:50 +01:00
Zlatin Balevsky f022cd7075
create download target directory structure, GitHub issue #65 2021-10-08 03:16:41 +01:00
Zlatin Balevsky 06207fbd43
fix salt creation on new installs, GitHub issue #65 2021-10-08 03:15:59 +01:00
Zlatin Balevsky 1941406eb9
add a hidden root to each path so that the tree does not combine similarly named folders. GitHub issue #65 2021-10-08 01:27:28 +01:00
Zlatin Balevsky 6c55812721
canonicalize before checking if directory is watched. Add logging to debug GitHub issue #65 2021-10-07 04:51:05 +01:00
Zlatin Balevsky 2c3a0e5310
make sure all watched directories are loaded before any shared files are loaded, GitHub issue #65 2021-10-05 18:11:35 +01:00
Zlatin Balevsky 4e28e6020b
do not transmit path information if there is none 2021-10-05 00:51:35 +01:00
Zlatin Balevsky f1e73daf5c
transfer path information in browse GitHub issue #65 2021-10-05 00:01:38 +01:00
Zlatin Balevsky 009af0ce0c
decorate SharedFile objects with path from shared root. GitHub issue #65 2021-10-04 23:25:36 +01:00
Zlatin Balevsky c09396dd90
If the user tries to download a file they already, copy the local file. GitHub issue #68 2021-10-01 19:42:09 +01:00
Zlatin Balevsky 5cd06bc58b
Release 0.8.9 2021-09-14 21:44:21 +01:00
Zlatin Balevsky d4d8d09e15
ensure that message sender matches endpoint destination and that message is addressed to me 2021-09-14 21:28:19 +01:00
Zlatin Balevsky 559dd76fc7
fix bandwidth property names 2021-09-07 16:24:28 +01:00
Zlatin Balevsky 950d34a259
if upnp props are not present, assume it's enabled 2021-09-07 14:28:06 +01:00
Zlatin Balevsky 0b2fd2017a
share percentage slider 2021-09-07 09:08:43 +01:00
Zlatin Balevsky 1e1a4d0e56
ability to disable UPnP in wizard and options 2021-09-07 08:41:47 +01:00
Zlatin Balevsky a04faadc04
do not share hidden directories from auto-watch 2021-09-07 04:38:52 +01:00
Zlatin Balevsky 4a62215e46
delete empty directories from files/ 2021-09-07 04:16:05 +01:00