Commit Graph

1304 Commits (master)

Author SHA1 Message Date
Zlatin Balevsky bccdfa6b45
move parallel unsharing index update off of event dispatch thread 2022-08-15 16:26:49 +01:00
Zlatin Balevsky c7177f7301
wip on speeding up unsharing - delete index files in parallel 2022-08-15 15:36:29 +01:00
Zlatin Balevsky 6ff25d32f5
wip on faster unsharing 2022-08-15 15:28:56 +01:00
Zlatin Balevsky f0a27005c1
do not use cached length in the core 2022-08-14 12:18:11 +01:00
Zlatin Balevsky 327559a91d
move fields used for UI caching into their own inner class, initialized lazily 2022-08-14 05:38:14 +01:00
Zlatin Balevsky cc29c9bd61
remove redundant flag, initialize lists with capacity 1 2022-08-14 05:01:55 +01:00
Zlatin Balevsky 576c7d6934
trimToSize() hits and downloader lists 2022-08-14 04:57:14 +01:00
Zlatin Balevsky 830b735b23
switch to List as the tradeoff of memory vs cpu usage is better suited 2022-08-13 10:53:47 +01:00
Zlatin Balevsky 32c463aaef
shave more heap objects per shared file 2022-08-13 10:22:08 +01:00
Zlatin Balevsky 2165057a62
delete any stale blockfiles 2022-08-12 21:46:12 +01:00
Zlatin Balevsky b93d026494
move search index files into a tmp directory, make them 64MB 2022-08-12 21:18:12 +01:00
Zlatin Balevsky f7652fe06f
sync mutators and getters as fields are no longer final 2022-08-12 15:43:52 +01:00
Zlatin Balevsky c0e20be981
Lazily create search and download hit sets, reducing number of objects per shared file 2022-08-12 15:37:51 +01:00
Zlatin Balevsky c9669d1fdf
move mulinks package to core 2022-08-11 13:16:49 +01:00
Zlatin Balevsky eab7f96c66
download links pasted in search box 2022-08-04 16:38:55 +01:00
Zlatin Balevsky 4e22d10d7c
use full persona b64 when rendering in chat 2022-07-27 23:01:23 +01:00
Zlatin Balevsky 43f533b34d
delete temp index files on clean shutdown 2022-07-27 21:45:31 +01:00
Zlatin Balevsky b04179631c
prevent exception on shutodwn reported in GitHub issue #157 2022-06-24 23:33:13 +01:00
Zlatin Balevsky 0499fb1ea1
fix confidential status being always set and show it in the download details 2022-06-24 17:41:15 +01:00
Zlatin Balevsky e9a05a89dd
update test 2022-06-24 15:00:34 +01:00
Zlatin Balevsky 6114389014
Perform string index i/o on a dedicated thread. GitHub issue #149 2022-06-15 12:12:20 +01:00
Zlatin Balevsky c406c6ae44
add some logging to see why the delay GitHub issue #149 2022-06-15 11:21:26 +01:00
Zlatin Balevsky 4ebdd14794
Make WD fields volatile, hopefully fixed GitHub issue #149 2022-06-15 06:49:01 +01:00
Zlatin Balevsky 6bb554e8ce
Re-hash files if contents change. GitHub issue #148 2022-06-15 06:18:03 +01:00
Zlatin Balevsky d1e6ebfc9b
Increase wait period for watched folder notifications. Make sure file length hasn't changed during wait period. Re-publish changed files if they have already started hashing. GitHub issue #148 2022-06-15 05:49:37 +01:00
Zlatin Balevsky 0fe9f6b391
fix some types of input from not rendering correctly 2022-06-10 17:40:35 +01:00
Zlatin Balevsky a9bc2ec43a
add some log statements for download states, GitHub issue #145 2022-06-10 16:11:14 +01:00
Zlatin Balevsky 5365285e73
retry hashing if an internal error happens 2022-06-08 20:37:28 +01:00
Zlatin Balevsky 1b6a175605
suppress InternalError while uploading 2022-06-08 19:06:54 +01:00
Zlatin Balevsky 40f98f3ca3
Rework contact chooser to store selected contacts in a JTextPane 2022-06-08 14:23:21 +01:00
Zlatin Balevsky 7f1c57f22d
fix constructor 2022-06-06 07:43:37 +01:00
Zlatin Balevsky ed9b4f2014
persist full profiles of trusted contacts, load View Profile with full profile if available 2022-06-06 07:24:32 +01:00
Zlatin Balevsky eb38aa0d21
get rid of a warning that serverSocket field may be uninitialized 2022-06-05 14:34:43 +01:00
Zlatin Balevsky b11894a545
prevent exceptions in event dispatch thread on profile fetching 2022-06-05 08:13:20 +01:00
Zlatin Balevsky ad85a984c2
Remember profile headers of contacts and transmit them over the network. Update UI relevant components to show avatars 2022-06-03 13:13:32 +01:00
Zlatin Balevsky 2613e7c7fe
send profile headers with messages and display them in inbox 2022-06-03 09:33:46 +01:00
Zlatin Balevsky 1b4876a861
fix constructor 2022-06-02 14:24:36 +01:00
Zlatin Balevsky a0ac1cd3f4
core-side changes to enable avatars in chat 2022-06-02 13:39:00 +01:00
Zlatin Balevsky 9fbf6d1b5d
fix constructors and sending of profile header with hashlist request 2022-06-02 11:31:41 +01:00
Zlatin Balevsky 7eea96c166
core-side changes for passing profile header with file transfers 2022-06-02 10:35:21 +01:00
Zlatin Balevsky a1cb14152d
show profiles on result details frame, add View Profile button on browse tab 2022-06-01 18:37:17 +01:00
Zlatin Balevsky 2c555f662a
fix result sending and profile fetching 2022-05-31 20:38:26 +01:00
Zlatin Balevsky 388cad0b5d
wip on profile viewer and fetching full profiles 2022-05-31 20:01:16 +01:00
Zlatin Balevsky deeadf3c42
parse profile header from incoming results 2022-05-31 10:18:21 +01:00
Zlatin Balevsky 216d0db303
hook up profiles with search results, sending and rendering side 2022-05-31 08:00:27 +01:00
Zlatin Balevsky 771bce0160
hook up a profile editor to main frame 2022-05-31 02:33:59 +01:00
Zlatin Balevsky ece040be76
[de]serialization of profile headers and profiles 2022-05-30 16:55:02 +01:00
Zlatin Balevsky 9e5af81aba
do not write X-Alts for confidential files 2022-05-04 11:06:35 +01:00
Zlatin Balevsky a60fbb7011
core changes for confidential files 2022-05-02 16:40:45 +01:00
Zlatin Balevsky 9a3882a424
wip on confidential files 2022-04-30 18:28:13 +01:00
Zlatin Balevsky f2b2c2038a
MuWire 0.8.12 2022-04-19 21:20:07 +01:00
Zlatin Balevsky dd38f77dbb
Provision for profiles being sent with messages 2022-04-16 14:15:48 +01:00
Zlatin Balevsky f2dcbf2fed
do not fail core creation if mesh.json is invalid 2022-04-14 20:13:14 +01:00
Zlatin Balevsky 203c01e247
provision for profiles being sent from chat server to clients 2022-04-14 16:13:54 +01:00
Zlatin Balevsky feab16e461
wait for router.isRunning when starting services. Exit if it fails to start 2022-04-14 08:41:44 +01:00
Zlatin Balevsky f4ea9ad51b
fire an event after loading contacts 2022-04-14 08:00:27 +01:00
Zlatin Balevsky c02d09c041
provision for sending profiles over chat 2022-04-13 21:16:28 +01:00
Zlatin Balevsky 5df4ea2cfc
provision for future download requests containing profiles 2022-04-13 20:58:57 +01:00
Zlatin Balevsky 806fab9b2d
add flag for profile support in queries 2022-04-13 20:18:10 +01:00
Zlatin Balevsky a3f40da51c
provision for future versions sending profiles with search results 2022-04-13 20:09:42 +01:00
Zlatin Balevsky cb695ff751
increase max results even more 2022-04-13 19:53:30 +01:00
Zlatin Balevsky 69fbc186ef
try 2 to fix flaky test 2022-04-13 17:34:29 +01:00
Zlatin Balevsky 3d7365144b
try to fix flaky test 2022-04-13 17:23:38 +01:00
Zlatin Balevsky e5a1cbaaf2
start embedded router when starting the core services 2022-04-13 16:27:11 +01:00
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 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