Commit Graph

1303 Commits (6a4612610f88081c22cdc9ebc01fad4f4ea54118)

Author SHA1 Message Date
Zlatin Balevsky 4b50575c13
do not emit event if there were no unshared files 2021-09-06 11:24:10 +01:00
Zlatin Balevsky 39f3476158
ensure vals are loaded when flushing 2021-09-06 11:19:01 +01:00
Zlatin Balevsky aeb124ce2d
fix adding files to negative tree 2021-09-05 20:15:47 +01:00
Zlatin Balevsky 84254f862d
default chat rooms 2021-08-30 14:57:02 +01:00
Zlatin Balevsky 30409a8f0b
enable STBM 2021-08-29 13:57:18 +01:00
Zlatin Balevsky 3344b8ef8b
publish results piecemally 2021-08-12 11:07:31 +01:00
Zlatin Balevsky 5f229d903f
Release 0.8.8 2021-07-07 21:10:33 +01:00
Zlatin Balevsky 57e60c631b
do not respond to pings without UUID. Do not solicit responses unless there's need for more connections 2021-06-18 06:58:00 +01:00
Zlatin Balevsky 8c0cecbfdd
persist downloaders after fetching a hashlist 2021-06-15 21:16:22 +01:00
Zlatin Balevsky b4f525d282
fix a bug with hash collisions on file names 2021-06-15 20:33:16 +01:00
Zlatin Balevsky 9dcf6e7bea
keep hashes arrays sorted for faster checking 2021-06-15 18:36:55 +01:00
Zlatin Balevsky e1ffd81e6e
redesign handling of explicitly unshared files to support directories as well 2021-06-13 15:59:34 +01:00
Zlatin Balevsky d3cfcef063
offload deletion to disk IO thread 2021-06-12 16:28:35 +01:00
Zlatin Balevsky 49787fb4dc
more efficient directory traversal 2021-06-12 16:07:52 +01:00
Zlatin Balevsky cbf66b620e
fix construction of event 2021-06-12 15:57:56 +01:00
Zlatin Balevsky ab2fa6066b
cache hashcode, reverse check in equals() to reduce filesystem calls 2021-06-12 15:53:45 +01:00
Zlatin Balevsky d7423e7e08
delete json and hashlist on persister thread 2021-06-12 10:55:22 +01:00
Zlatin Balevsky ea11805489
remove correct object 2021-06-12 10:39:27 +01:00
Zlatin Balevsky 948ab9d3c0
Make FileUnsharedEvent a batch event 2021-06-12 10:05:36 +01:00
Zlatin Balevsky 7b670b9037
make sure spans are fully loaded before trying to flush them 2021-06-12 07:50:16 +01:00
Zlatin Balevsky 8356a92aa3
add an option to disable throttling of the loading of shared files on startup 2021-06-09 13:41:32 +01:00
Zlatin Balevsky 1e7e30dee2
Switch to LAX Json parser and parallelize the stream after filtering 2021-06-09 12:50:00 +01:00
Zlatin Balevsky aa2b80cc0d
remove unnecessary canonicalization 2021-06-09 12:48:47 +01:00
Zlatin Balevsky 3c2d6e3952
more efficient (de)serialization of String[] 2021-06-09 00:57:27 +01:00
Zlatin Balevsky 96e359643a
double page size 2021-06-09 00:55:31 +01:00
Zlatin Balevsky 12a052ca55
small optimizations 2021-06-08 23:21:54 +01:00
Zlatin Balevsky fd06fdf7ce
spltt search index into Java and Groovy parts for faster initial loading. GitHub issue #59 2021-06-08 22:30:33 +01:00
Zlatin Balevsky e09b4c6621
do not reload keys, only values 2021-06-08 21:26:18 +01:00
Zlatin Balevsky 5b3416f7bb
perform a periodic gc() just in case, GitHub issue #59 2021-06-08 16:17:04 +01:00
Zlatin Balevsky 94a78bfa4e
GitHub issue #59 - try to accommodate larger libraries without limiting heap size 2021-06-08 15:54:51 +01:00
Zlatin Balevsky bcc94abadd
switch Set -> Array in FileTree 2021-06-05 23:54:04 +01:00
Zlatin Balevsky d00d6d7e18
flatten the nameToFile map as well 2021-06-05 23:39:25 +01:00
Zlatin Balevsky 71d20d075b
reduce memory usage of the rootToFiles structure by switching to array values 2021-06-05 23:18:39 +01:00
Zlatin Balevsky 30abc5af8d
get rid of unused cached value 2021-06-05 22:16:49 +01:00
Zlatin Balevsky fe85887b39
use two SkipLists, thanks zzz for the suggestion 2021-06-05 15:44:53 +01:00
Zlatin Balevsky 72c4998954
increment counters appropriately after increasing value size to integer 2021-06-05 05:29:54 +01:00
Zlatin Balevsky ea1f431323
more efficient splitting, reduces blockfile access 2021-06-05 03:18:18 +01:00
Zlatin Balevsky cb2ab77316
increase max value size to 2^24 2021-06-05 03:11:50 +01:00
Zlatin Balevsky a9c4f612fd
fix re-use of SkipSpan when it goes empty 2021-06-05 03:04:52 +01:00
Zlatin Balevsky 1168a871eb
get rid of the limit for byte[] i/o 2021-06-04 22:27:22 +01:00
Zlatin Balevsky 0916e67939
rename package so that it won't conflict in the plugin 2021-06-04 18:22:45 +01:00
Zlatin Balevsky 88f1f381b9
multi-part backing storage 2021-06-04 18:14:07 +01:00
Zlatin Balevsky 4a0275914d
clean or suppress some warnings 2021-06-04 16:05:14 +01:00
Zlatin Balevsky 38bfecbc4f
increase span size 2021-06-04 16:01:14 +01:00
Zlatin Balevsky 40492ac5d2
re-add nulling of values 2021-06-04 16:00:31 +01:00
Zlatin Balevsky 008d82ad1d
side-port the blockfile db changes from i2p.i2p 2021-06-04 14:54:16 +01:00
Zlatin Balevsky 93ac56b353
fix or suppress various warnings 2021-06-04 12:41:01 +01:00
Zlatin Balevsky 84387bef8e
clear out vals storage after retrieving value 2021-06-04 12:35:21 +01:00
Zlatin Balevsky 3d30f49776
do not store values in the heap, just keys 2021-06-04 12:23:22 +01:00
Zlatin Balevsky 9ecb73149c
Split processing of files from directories. Throttle emission of new events based on threadpool queue length 2021-06-04 05:57:50 +01:00
Zlatin Balevsky dfd7be9618
reduce the size of the memmapped file 2021-06-04 03:48:15 +01:00
Zlatin Balevsky 8892dd73a8
switch to a memory-mapped file instead of a RAF 2021-06-04 03:21:43 +01:00
Zlatin Balevsky 76eaca996f
experimental Blockfile db instead of in-memory index 2021-06-04 00:09:33 +01:00
Zlatin Balevsky 1c2972ecfc
add some default file types to ignore 2021-06-03 17:22:38 +01:00
Zlatin Balevsky 34b7496036
prevent corrupt messages from breaking messenger loading 2021-06-03 12:54:00 +01:00
Zlatin Balevsky 6f3a3357ea
more efficient traversal of directories 2021-06-03 12:15:14 +01:00
Zlatin Balevsky 3ac6d085f6
configurable list of file types to not share 2021-06-03 05:27:42 +01:00
Zlatin Balevsky 95fcd1635f
more safeguards against zero-length or unreadable files 2021-06-03 01:59:33 +01:00
Zlatin Balevsky 2af996266f
check if file is readable before trying to hash 2021-06-02 20:09:55 +01:00
Zlatin Balevsky c849fa078a
No need to restart when chaning the number of hashing threads , GitHub issue #57 2021-06-02 19:17:17 +01:00
Zlatin Balevsky b1af2e557b
Make the number of hashing threads configurable, GitHub issue #57 2021-06-01 23:35:59 +01:00
Zlatin Balevsky 228a92a58d
filter the hosts that are about to be verified as well 2021-06-01 20:24:38 +01:00
Zlatin Balevsky 837b8d8213
connect more aggressively, send more pongs, fix destination parsing and header check 2021-05-26 08:57:20 +01:00
Zlatin Balevsky 4e09b4ad71
forgot 0x 2021-05-26 08:01:48 +01:00
Zlatin Balevsky cfe1fe98b0
wip on switching to binary pongs 2021-05-26 07:46:25 +01:00
Zlatin Balevsky 99e9eb00a1
reduce the request q size if the file has few pieces 2021-05-24 11:53:29 +01:00
Zlatin Balevsky 4cff64133e
correct space check 2021-05-24 11:52:15 +01:00
Zlatin Balevsky a584f16ce4
properly terminate headers 2021-05-24 11:50:50 +01:00
Zlatin Balevsky 0e658faee8
forgot terminating rn 2021-05-24 05:06:51 +01:00
Zlatin Balevsky 1717a90020
fix variable name 2021-05-24 03:51:57 +01:00
Zlatin Balevsky 0fbef29359
issue head requests if uploader indicates support for them after all available pieces have been downloaded 2021-05-24 03:02:23 +01:00
Zlatin Balevsky c3e1a8faad
Release 0.8.7 2021-05-19 02:04:01 +01:00
Zlatin Balevsky 43e48dd144
introduce a multiplicative factor to the probability of forwarding a query 2021-05-16 19:00:06 +01:00
Zlatin Balevsky de0c719f53
properly mark messages as read when not in inbox 2021-05-02 19:35:13 +01:00
Zlatin Balevsky ee43f12a35
multiple selection of messages 2021-05-02 19:09:43 +01:00
Zlatin Balevsky 591acc9325
working drag-and-drop between mail folders 2021-05-02 18:26:04 +01:00
Zlatin Balevsky 799a2a99df
ability to create and delete folders 2021-05-02 15:28:53 +01:00
Zlatin Balevsky d3555db803
fix deleting of messages 2021-05-02 09:07:34 +01:00
Zlatin Balevsky 9c905c041c
display user folders, load from disk working 2021-05-02 03:47:18 +01:00
Zlatin Balevsky 6a0a4dae12
working sending and receiving of messages 2021-05-01 19:27:04 +01:00
Zlatin Balevsky 119107b400
switch to MVC groups per folder 2021-04-30 23:05:26 +01:00
Zlatin Balevsky f09b598b2a
switch to String folder names 2021-04-30 18:24:44 +01:00
Zlatin Balevsky 79bc7373be
switch to ecies-only connections 2021-04-26 18:20:09 +01:00
Zlatin Balevsky 889d5aab31
Allow N and O router classes as recommended by zzz 2021-04-18 16:26:12 +01:00
Zlatin Balevsky ce6a6ddc89
do not change props expected to come from launcher(s) 2021-04-07 21:30:35 +01:00
Zlatin Balevsky 2dbcf5c8b8
Ignore the test for the old hostcache 2021-03-12 03:51:09 +00:00
Zlatin Balevsky dbc4731358
recycle the groovy.sql.Sql object as it tends to get very large 2021-02-25 17:20:13 +00:00
Zlatin Balevsky b89bb93c26
try to get test to pass deterministically 2021-02-19 16:40:09 +00:00
Zlatin Balevsky a640ff5e1c
rekey embedded routers 2021-02-19 04:09:46 +00:00
Zlatin Balevsky b9ad4ec3d6
kill the timer on H2 hostcache shutdown 2021-01-31 20:55:27 +00:00
Zlatin Balevsky 13e23a7622
Ability to load custom modules. A module for logging queries 2020-12-08 13:06:01 +00:00
Zlatin Balevsky 759136cff3
cache InfoHash instnance in SharedFile 2020-12-08 07:44:00 +00:00
Zlatin Balevsky 26561a1b5b
Release 0.8.5 2020-12-03 02:11:10 +00:00
Zlatin Balevsky abad1919cc
cleanup before and after file tree test 2020-11-29 08:10:42 +00:00
Zlatin Balevsky 90988ce717
update tests to recent api changes 2020-11-29 08:01:18 +00:00
Zlatin Balevsky 69fe8914e7
disable nagle when running an embedded router (effective with router 0.9.48) 2020-11-24 18:07:34 +00:00
Zlatin Balevsky 2cc474eeae
Release 0.8.4 2020-11-11 17:26:52 +00:00
Zlatin Balevsky a28a7e66a1
fix showing Failed status if there are no collections 2020-11-11 08:51:22 +00:00
Zlatin Balevsky 4c066fca03
prevent message reply attack 2020-11-11 03:41:53 +00:00
Zlatin Balevsky 5643f7abc9
Release 0.8.3 2020-11-06 15:15:12 +00:00
Zlatin Balevsky 92b616a58b
unread status column 2020-11-05 18:45:57 +00:00
Zlatin Balevsky f0b881183a
browse collections and message from upload table popup menu 2020-11-05 06:43:56 +00:00
Zlatin Balevsky 167a47e850
message delete 2020-11-05 06:14:40 +00:00
Zlatin Balevsky 9692f49cd0
change sending interval to seconds 2020-11-05 05:08:16 +00:00
Zlatin Balevsky 9d2862cc72
option for changing message sending interval 2020-11-05 05:02:14 +00:00
Zlatin Balevsky e6a68633d7
clean up in progress state 2020-11-05 00:00:55 +00:00
Zlatin Balevsky 95ff7a1a61
attachment downloads 2020-11-04 19:39:23 +00:00
Zlatin Balevsky dd336ea743
plumbing for downloading attachments 2020-11-04 18:32:07 +00:00
Zlatin Balevsky 72a91c4489
add support for attaching collections to messages 2020-11-04 16:55:51 +00:00
Zlatin Balevsky 9009792bb9
send messages acceptance status in search results 2020-11-04 08:35:26 +00:00
Zlatin Balevsky 2be248dc0d
options to disable messages or allow only trusted messages 2020-11-04 08:27:42 +00:00
Zlatin Balevsky 718d8a6f88
add correct object 2020-11-03 22:41:03 +00:00
Zlatin Balevsky 1af12e3743
wip on end-to-end flow 2020-11-03 22:26:02 +00:00
Zlatin Balevsky a8d127a1ae
wip on messages ui 2020-11-03 20:22:24 +00:00
Zlatin Balevsky ce221e30c2
core side of messenger 2020-11-03 14:52:59 +00:00
Zlatin Balevsky f486b3d7db
loading of messages 2020-11-03 13:57:34 +00:00
Zlatin Balevsky be5df10596
objects for messenger 2020-11-03 13:34:23 +00:00
Zlatin Balevsky 5b6e6b8cc1
make sure .mwcollection files cannot be shared 2020-11-03 12:45:05 +00:00
Zlatin Balevsky 0b8dfd2b4b
remove collections affected by unsharing files from list 2020-11-03 07:34:01 +00:00
Zlatin Balevsky a9eebac151
add downloaded collections to view 2020-11-03 06:46:46 +00:00
Zlatin Balevsky ee004e8e8c
delay sending of results to prevent duplicates 2020-11-02 19:52:47 +00:00
Zlatin Balevsky a912faf0f7
browsing of collections 2020-11-02 17:51:03 +00:00
Zlatin Balevsky f382540a6d
indicate ability to browse collections in search results 2020-11-02 17:25:14 +00:00
Zlatin Balevsky 94d38c55e2
index collections and search them 2020-11-02 17:10:06 +00:00
Zlatin Balevsky cbb44ad772
show collection views 2020-11-02 12:50:19 +00:00
Zlatin Balevsky 6959a1b1d5
item limit check 2020-11-02 10:54:44 +00:00
Zlatin Balevsky 3518db63cc
pass collections flag for hash searches 2020-11-02 10:05:54 +00:00
Zlatin Balevsky dd622b1c0d
handle hash searches for collections 2020-11-02 01:04:06 +00:00
Zlatin Balevsky 4e8a3c2296
attach an InfoHash object to the FileCollection object 2020-11-02 00:49:23 +00:00
Zlatin Balevsky 09a560e05c
delete affected collections when unsharing 2020-11-01 20:44:29 +00:00
Zlatin Balevsky 9831848b73
load remote collections as well 2020-11-01 18:25:38 +00:00
Zlatin Balevsky d0cfaa7284
only remember full remote collections 2020-11-01 18:05:40 +00:00
Zlatin Balevsky 9f93b07b12
implement downloading of collections 2020-11-01 17:29:05 +00:00
Zlatin Balevsky 5c6d32dd47
hook up downloading of collections 2020-11-01 16:27:47 +00:00
Zlatin Balevsky 44e8e879cd
allow for multiple downloads of files with same name by appending infohash to incompletes 2020-11-01 16:25:42 +00:00
Zlatin Balevsky 00c1f9590a
event for downloading collections 2020-11-01 15:58:21 +00:00
Zlatin Balevsky c27a09473f
fix tree renderer for collection trees 2020-11-01 15:26:12 +00:00
Zlatin Balevsky 1ee385b2ff
store path elements or the item itself in the tree 2020-11-01 14:31:00 +00:00
Zlatin Balevsky 9790cadf3c
table of collection items 2020-11-01 08:05:06 +00:00
Zlatin Balevsky 6c7be05a12
fix parsing of collection hashes from remote results 2020-11-01 07:19:15 +00:00
Zlatin Balevsky cad3946d3e
fix event 2020-11-01 07:02:05 +00:00
Zlatin Balevsky a892f26441
fix parsing of persona 2020-11-01 07:01:41 +00:00
Zlatin Balevsky bcc791f403
switch from METAFILE to OLLECTION connect string 2020-11-01 06:41:08 +00:00
Zlatin Balevsky 6fae32765c
index the right infohash 2020-11-01 04:53:31 +00:00
Zlatin Balevsky db8260c2bb
fix stray import 2020-11-01 04:53:07 +00:00
Zlatin Balevsky 4dc8010062
change value in results from integer to Set<InfoHash> 2020-11-01 04:24:38 +00:00
Zlatin Balevsky 814e7e07c0
carry number of collections in search results 2020-11-01 03:51:26 +00:00
Zlatin Balevsky 475a50c9c1
backend for serving collection requests 2020-11-01 03:22:58 +00:00
Zlatin Balevsky 2c38bc307c
collections client 2020-10-31 22:37:06 +00:00
Zlatin Balevsky 9fbedbcdb5
Decode comments from SharedFile objects 2020-10-31 09:18:25 +00:00
Zlatin Balevsky fd70dd5f65
fix loading of collections 2020-10-31 08:51:42 +00:00
Zlatin Balevsky 846b158706
gui collections tool 2020-10-31 08:43:28 +00:00
Zlatin Balevsky 4faa09f601
backend plumbing for deleting collections 2020-10-31 03:47:15 +00:00
Zlatin Balevsky e762691c39
core side of collections manager 2020-10-31 03:35:59 +00:00
Zlatin Balevsky 5e0519cc06
add piece size and file length 2020-10-31 02:05:19 +00:00
Zlatin Balevsky 21144c532d
move PathTree to it's own class, add traverse method and callback 2020-10-30 23:27:43 +00:00
Zlatin Balevsky 8cc6c1e1c4
build a tree of paths for UI represention 2020-10-30 22:58:32 +00:00
Zlatin Balevsky 35b12e617d
builder for file collections 2020-10-30 19:09:17 +00:00
Zlatin Balevsky 67501a7d73
add common ancestor method to FileTree 2020-10-30 16:29:19 +00:00
Zlatin Balevsky b9b6d760e0
Objects necessary for collections 2020-10-30 13:57:28 +00:00
Zlatin Balevsky 0654fb26f6
Release 0.8.2 2020-10-30 01:53:16 +00:00
Zlatin Balevsky 264ba83936
count number of failes that have failed to load 2020-10-29 10:53:51 +00:00
Zlatin Balevsky 35d0d72f1b
do not load shared files on event dispatch thread 2020-10-26 06:20:23 +00:00
Your Name 3b529e88da change DEFAULT_S*/R*/F* to 1.0 2020-10-25 16:08:36 +01:00
Zlatin Balevsky 2b125ecb1a
fix groovy oddness 2020-10-25 14:51:35 +00:00
Zlatin Balevsky 71edcae38a
hash files in parallel using up to half available cores. Load files in parallel if in plugin 2020-10-25 14:04:55 +00:00
Zlatin Balevsky 6c4a1ebb35
log if there has been history for the predictor 2020-10-24 13:26:42 +01:00
Zlatin Balevsky dce659d463
variable name 2020-10-24 12:47:55 +01:00
Zlatin Balevsky f5f84899ec
change state on observation even if there is not enough history yet. Initialize MC with last state from DB 2020-10-24 12:38:18 +01:00
Zlatin Balevsky e1b2582ca6
do not prepend an S to the history 2020-10-24 12:29:50 +01:00
Zlatin Balevsky 58a8364901
do not transition when only predicting 2020-10-24 12:18:20 +01:00
Zlatin Balevsky 340ff339b3
reinit MC with last observed state 2020-10-24 11:32:14 +01:00
Zlatin Balevsky 8a4a2a75c4
up min profile history to 5 2020-10-24 10:18:26 +01:00
Zlatin Balevsky 43a503514b
introduce minimum history size for Markov computation 2020-10-23 20:29:30 +01:00
Zlatin Balevsky 7c0443abff
change initial probabilities to reduce the number of connects to consecutively failing nodes 2020-10-23 20:20:05 +01:00
Zlatin Balevsky 33f38144eb
record the number of connections in the db every minute. Gitlab issue #49 2020-10-23 07:32:54 +01:00
Zlatin Balevsky 44eaa3986b
fix verification 2020-10-22 21:08:34 +01:00
Zlatin Balevsky b01d8708f2
Release 0.8.1 2020-10-22 16:38:31 +01:00
Zlatin Balevsky 98bed8bfc8
force US locale to make sure BigDecimal parses 2020-10-22 16:24:42 +01:00
Zlatin Balevsky 7c653e83e0
Release 0.8.0 2020-10-22 12:02:26 +01:00
Zlatin Balevsky 3dfc0be63b
guard against NaN going in the DB 2020-10-22 11:52:48 +01:00
Zlatin Balevsky 0e658d39a4
use a nested sql statement for tstamp deletion 2020-10-22 10:40:39 +01:00
Zlatin Balevsky a795fec72c
fix deleting of old items 2020-10-22 10:20:31 +01:00
Zlatin Balevsky 19b7e8bc53
fix variable name, limit deletions 2020-10-22 09:56:55 +01:00
Zlatin Balevsky 4e6c90b98c
try to fix purging of old entries within the same day 2020-10-22 09:34:53 +01:00
Zlatin Balevsky aa3cf2cf84
fix plugin build 2020-10-22 09:33:18 +01:00
Zlatin Balevsky d0c505ee94
merge from h2-hostcache branch 2020-10-22 08:57:27 +01:00
Zlatin Balevsky 7d8c43c9d3
more logging 2020-10-22 08:49:38 +01:00
Zlatin Balevsky 6107d1e298
continuously update the Markov chain, purge old records 2020-10-22 07:20:16 +01:00
Zlatin Balevsky b2a98f6ce8
more logging 2020-10-21 14:41:18 +01:00
Zlatin Balevsky 917c231d51
flush gzipped streams in finally and try-catch 2020-10-21 14:32:59 +01:00
Zlatin Balevsky 688beae1d6
wrap closing of compressed streams in try-catch 2020-10-21 14:10:59 +01:00
Zlatin Balevsky cafe8858b9
more logging 2020-10-21 14:10:17 +01:00
Zlatin Balevsky c922a61838
fix table name 2020-10-21 12:43:48 +01:00
Zlatin Balevsky 0552000d59
logging changes 2020-10-21 11:59:02 +01:00
Zlatin Balevsky aeb392eba9
avoid npe for first time failed incoming attempts 2020-10-21 11:18:02 +01:00
Zlatin Balevsky dce69bbbbe
recalc MCs on first history item, gitlab issue #46 2020-10-21 11:06:42 +01:00
Zlatin Balevsky efae38a400
make sure hosts with successful attempts can be advertised 2020-10-21 06:10:14 +01:00
Zlatin Balevsky 38bf4f2ea2
start with optimistic profile if received from hostcache or a new successful connection has been made 2020-10-21 05:46:32 +01:00
Zlatin Balevsky 768673e979
purging of hopeless hosts 2020-10-21 05:21:32 +01:00
Zlatin Balevsky 07a87e6257
fix predicate 2020-10-21 04:06:00 +01:00
Zlatin Balevsky 2574f27fe8
Add determination of hopelessness, advertisability to hosts. Fix MuWire status panel 2020-10-21 03:57:45 +01:00
Zlatin Balevsky 6806542808
proper calculation of probabilities 2020-10-20 20:12:54 +01:00
Zlatin Balevsky 68f00042c6
fix toString 2020-10-20 20:12:37 +01:00
Zlatin Balevsky ae45570005
delete history of attempts when threshold reached, log profile probabilities 2020-10-20 19:46:32 +01:00
Zlatin Balevsky cc8e6e312b
update DB2CSV tool to export profiles 2020-10-20 19:15:57 +01:00
Zlatin Balevsky 5e1a796663
fix up sql 2020-10-20 19:02:49 +01:00
Zlatin Balevsky a4e2d28072
fix table and column names 2020-10-20 18:39:04 +01:00
Zlatin Balevsky b1f58b0948
add optimistic profiles to newly discovered hosts 2020-10-20 18:15:10 +01:00
Zlatin Balevsky a725837769
use the Markov chain in the hostcache 2020-10-20 18:11:04 +01:00
Zlatin Balevsky dd967cc0f0
wip on Markov chain 2020-10-20 16:46:30 +01:00
Zlatin Balevsky e5adcd181f
update test 2020-10-20 16:45:39 +01:00
Zlatin Balevsky 8798e83ab7
wip on Markov chain 2020-10-20 16:19:36 +01:00
Zlatin Balevsky 315f29c668
invert probability 2020-10-20 15:15:39 +01:00
Zlatin Balevsky 3b10640904
first pass at a Markov chain 2020-10-20 15:14:17 +01:00
Zlatin Balevsky 9389fbbc12
increase batch size 2020-10-20 10:05:37 +01:00
Zlatin Balevsky 0873d472e8
pass browse UUID from UI for correct dispatching. Allow multiple concurrent browses 2020-10-20 06:02:22 +01:00
Zlatin Balevsky ffc7f1748a
fix conversion logic 2020-10-19 17:43:05 +01:00
Zlatin Balevsky 798125e645
csv conversion tool 2020-10-19 17:14:56 +01:00
Zlatin Balevsky 52fb67b35c
use Timestamp intead of java.sql.Date 2020-10-19 17:14:37 +01:00
Zlatin Balevsky a7d25a1b75
verify hosts every hour, record results in db 2020-10-19 16:49:19 +01:00
Zlatin Balevsky 1ed74768fb
fix assignment 2020-10-18 19:48:45 +01:00
Zlatin Balevsky 7dd47c6fcb
better filtering of candidate hosts 2020-10-18 19:13:04 +01:00
Zlatin Balevsky 749bfaa532
more plumbing 2020-10-18 18:54:33 +01:00
Zlatin Balevsky 84f6091935
more of the plumbing for using DB/ML 2020-10-18 18:05:28 +01:00
Zlatin Balevsky 4a261ed724
split HostCache into base class and SimpleHostCache. Skeleton of H2HostCache. 2020-10-18 16:38:30 +01:00
Zlatin Balevsky 16c755e6c6
Release 0.7.7 2020-10-16 08:06:09 +01:00
Zlatin Balevsky 5bddfc10e9
assume all persisted sources were successful 2020-10-12 14:54:55 +01:00
Zlatin Balevsky 9fc2a0c4c5
show total up & down speeds 2020-10-11 17:42:47 +01:00
Zlatin Balevsky fca3478698
make excludePeerCaps configurable by the user, exclude KLMNO by default 2020-10-11 15:49:16 +01:00
Zlatin Balevsky e5815bed88
reuse header parsing code 2020-10-11 15:34:16 +01:00
Zlatin Balevsky 8f923ec06e
do not steal pieces from already queued requests 2020-10-11 15:32:56 +01:00
Zlatin Balevsky d4eb8631d0
check for updates later 2020-10-11 14:12:47 +01:00
Zlatin Balevsky 9e3a9e2737
Send browse results to UI in batches. Github issue #49 2020-10-10 16:18:50 +01:00
Zlatin Balevsky 45c2bec0ad
Release 0.7.6 2020-10-09 18:31:09 +01:00
Zlatin Balevsky ef34291124
use the new bandwidth tracker for downloads as well 2020-10-07 08:17:12 +01:00
Zlatin Balevsky 7cbf466b9b
move bandwidth smoothing logic in its own class, use it in uploader 2020-10-07 07:51:45 +01:00
Zlatin Balevsky 3e188f5d4a
Implement variable length request queue, size based on piece size 2020-10-06 22:49:46 +01:00
Zlatin Balevsky fdf3a46ad4
rework the upload speed smoothing to persist across requests 2020-10-06 20:28:00 +01:00
Zlatin Balevsky 56e02c4981
do not update speed reading if the sampling is too frequent 2020-10-06 20:25:56 +01:00
Zlatin Balevsky cac3ff0bcf
flush only the first GET request, let the passive flusher do the subsequent ones 2020-10-06 18:51:26 +01:00
Zlatin Balevsky ef71a42dd4
rewrite the smoothing of download speed 2020-10-06 17:47:26 +01:00
Zlatin Balevsky 0046694173
ignore InterruptedExceptions in chat links 2020-10-06 15:14:05 +01:00
Zlatin Balevsky e1ebb2208c
fix race condition that would cause new connections to stop being established 2020-10-06 12:38:31 +01:00
Zlatin Balevsky 034e706d17
Release 0.7.5 2020-10-05 07:03:18 +01:00
Zlatin Balevsky a8c91d4a3c
update unit test 2020-10-05 00:19:40 +01:00
Zlatin Balevsky 4b8e1705d8
pipeline download requests 2020-10-04 23:45:59 +01:00
Zlatin Balevsky 8dfb5cbd84
double ping interval 2020-10-04 13:05:00 +01:00
Zlatin Balevsky 72985bacb6
add ability to disable updates completely, intended for 3rd party packaging 2020-09-26 17:53:29 +01:00
Zlatin Balevsky 3387d22a6c
remove HOPELESS downloads from the download list via an event 2020-09-26 17:10:24 +01:00