Commit Graph

996 Commits (722bc09aa614c2bc5212edb6785f9dc101777c0e)

Author SHA1 Message Date
Zlatin Balevsky 51499b14bf
fix viewing of comments and collections and copying names and hashes to clipboard from tree views 2021-10-13 23:03:05 +01:00
Zlatin Balevsky 9c57e43a9f
clear selection before refreshing results when filtering to avoid invalid index exceptions 2021-10-13 19:55:17 +01:00
Zlatin Balevsky cedf969ba3
fix sorting by Name which got broken when adding the checkmark. GitHub issue #80 2021-10-13 18:29:53 +01:00
Zlatin Balevsky 2fdd885151
Clear selections on any filtering operation, GitHub issue #80 2021-10-13 11:12:43 +01:00
Zlatin Balevsky e69d9d097c
string updates as recommended by AO 2021-10-13 10:23:16 +01:00
Zlatin Balevsky f9290ffcaf
preserve selection when updating result tables 2021-10-13 03:36:04 +01:00
Zlatin Balevsky 45a0d41c61
display search results on a timer GitHub issue #80 2021-10-13 03:26:36 +01:00
Zlatin Balevsky 4e0ab4d873
reduce Iterator churn and simplify HashBucket locking 2021-10-13 02:43:31 +01:00
Zlatin Balevsky a1b25c3976
multiple selection from downloads view, GitHub issue #66 2021-10-12 19:09:26 +01:00
Zlatin Balevsky db733176c0
multiple selection from group-by-file view, GitHub issue #66 2021-10-12 18:17:44 +01:00
Zlatin Balevsky 7673222672
filtering in group-by-file view GitHub isssue #80 2021-10-11 17:07:01 +01:00
Zlatin Balevsky 2e8ce8c8d0
copy-full-id button in the browse collections view, GitHub issue #81 2021-10-11 15:39:23 +01:00
Zlatin Balevsky 8216cbc0f3
copy-full-id button in the browse files view, GitHub issue #81 2021-10-11 15:34:23 +01:00
Zlatin Balevsky f49732ef99
Unify the right-click menu code for the different result views. Disable download on double click from the tree view because it interferes with folder expansion 2021-10-11 15:15:28 +01:00
Zlatin Balevsky c83ab6acd4
display an icon if a file is available locally in table views GitHub issue #72 2021-10-10 21:19:25 +01:00
Zlatin Balevsky d39f184a44
display an icon if a file is available locally in tree views GitHub issue #72 2021-10-10 20:47:59 +01:00
Zlatin Balevsky 491da9ff3a
Correct count of direct sources. GitHub issue #79 2021-10-10 19:15:41 +01:00
Zlatin Balevsky fdd34cb606
The option to send path information is not tied to the option to allow browsing anymore. GitHub issue #78 2021-10-10 13:31:40 +01:00
Zlatin Balevsky a0b9aa3383
show full path in group-by-file if it's available. GitHub issue #78 2021-10-10 13:00:22 +01:00
Zlatin Balevsky 0dff8b439e
always show the tree by default GitHub issue #78 2021-10-10 12:51:01 +01:00
Zlatin Balevsky 2bfcbbf1c5
mark local queries and make sure they get broadcast 2021-10-10 08:11:55 +01:00
Zlatin Balevsky 5a9181f22d
fix showing file sizes in tree if there is no path information GitHub issue #78 2021-10-10 02:11:26 +01:00
Zlatin Balevsky 4fe8fb3fa9
option to disable searching in shared folders 2021-10-10 01:58:45 +01:00
Zlatin Balevsky 08652d7d5a
working downloads and popup menu 2021-10-10 01:52:04 +01:00
Zlatin Balevsky 0ca1235706
tree view when grouping by sender 2021-10-10 00:57:51 +01:00
Zlatin Balevsky 8c95872cd4
refactor the results tree logic into own classes 2021-10-10 00:25:58 +01:00
Zlatin Balevsky ebac1ffafa
add flag to search paths to query message 2021-10-09 23:15:35 +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 9d402867e6
when downloading from tree view, preserve the hierarchy GitHub #65 2021-10-08 03:17:54 +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 ebc85ab1c6
only refresh table view on incoming searches, should fix GitHub issue #76 2021-10-07 21:04:21 +01:00
Zlatin Balevsky 9f7345a349
Do not refresh the shared file tree on every upload chunk request. Refresh only table view on new file upload request. Fixes GitHub issue #76 2021-10-07 18:19:15 +01:00
Zlatin Balevsky 75151e39db
option to disable sending paths 2021-10-05 02:41:24 +01:00
Zlatin Balevsky 844462602b
filtering 2021-10-05 02:21:59 +01:00
Zlatin Balevsky 83577671ef
right-click menu, fix selectedResults() 2021-10-05 02:08:36 +01:00
Zlatin Balevsky d69143a107
result tree renderer and selection code 2021-10-05 01:38:15 +01:00
Zlatin Balevsky 1007fe9f47
tree expansions 2021-10-05 01:12:21 +01:00
Zlatin Balevsky 041ed235ae
add a tree view to UI, just basics for now 2021-10-05 00:52:47 +01:00
Zlatin Balevsky 1fa27f4ab7
show path information in table 2021-10-05 00:02:55 +01:00
Zlatin Balevsky ea6eb68a62
Only update Browse tab if it's visible GitHub issue #73 2021-10-04 17:06:42 +01:00
Zlatin Balevsky 41f1ca8917
Update browse host UI on a timer GitHub issue #73 2021-10-04 13:41:42 +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 cb7f251a84
more efficient html sanitization 2021-09-29 16:06:35 +01:00
Zlatin Balevsky 3e268498cd
Do not sanitize apostrophe as it is not part of HTML 3.2 escape chars, GitHub issue #71 2021-09-29 15:38:25 +01:00
Zlatin Balevsky 5cd06bc58b
Release 0.8.9 2021-09-14 21:44:21 +01:00
Zlatin Balevsky cd217b4e6e
update translations 2021-09-14 21:36:22 +01:00
Zlatin Balevsky 9c5478b01c
preferredWidths in uploads table 2021-09-14 21:16:26 +01:00
Zlatin Balevsky 8fb8bba5f8
sanitize html in few more places 2021-09-14 21:11:55 +01:00
Zlatin Balevsky a0ce1655ce
add filtering in browse host view 2021-09-07 10:45:29 +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 047c8b786b
search extra hop option available only in trusted-only mode 2021-09-07 08:13:12 +01:00
Zlatin Balevsky c79fd9b8d5
make filtering case insensitive 2021-09-06 17:58:03 +01:00
Zlatin Balevsky f079326826
Unshare directories in batches. Generate list of directories to unshare from core, not gui. Prevent the negative tree from growing when there are unshares. Fix sharing of files without extensions if the extension ignore list is empty. 2021-09-06 17:30:39 +01:00
Zlatin Balevsky 7f07128bab
open package used by Darcula theme 2021-09-05 17:52:44 +01:00
Zlatin Balevsky 78f017b952
preserve selection when new results arrive 2021-09-05 16:53:46 +01:00
Zlatin Balevsky 89f0280b50
preferred dimensions 2021-09-02 14:44:27 +01:00
Zlatin Balevsky 84254f862d
default chat rooms 2021-08-30 14:57:02 +01:00
Zlatin Balevsky f4404a477b
My Feed dialog 2021-08-29 15:23:41 +01:00
Zlatin Balevsky bdcb09f865
subscribe to feed button 2021-08-29 14:17:18 +01:00
Zlatin Balevsky 5f229d903f
Release 0.8.8 2021-07-07 21:10:33 +01:00
Zlatin Balevsky ab1a45b03a
sanitize any labels that may contain html 2021-07-07 21:07:22 +01:00
Zlatin Balevsky 98a07e7540
update translations 2021-07-07 20:05:10 +01:00
Zlatin Balevsky 49e4387904
Czech translation 2021-07-07 09:43:38 +01:00
Zlatin Balevsky 03a9c055e6
avoid default groovy method which creates a temporary TreeMap 2021-06-15 21:02:42 +01:00
Zlatin Balevsky d95e9c3472
prevent an IllegalStateException when unsharing files not visible in the filtered tree 2021-06-14 13:36:56 +01:00
Zlatin Balevsky 0bada3b66c
filter library by keywords more similar to network search. Github issue #61 2021-06-14 10:07:53 +01:00
Zlatin Balevsky 72c23b0417
Try to follow XDG Base dir standard if not on Windows or Mac, GitHub issue #7 2021-06-13 16:48:17 +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 f012eaef47
fix focus on uploaded file in tree view 2021-06-12 23:29:09 +01:00
Zlatin Balevsky b3cae1451c
do not use swing groovy extensions which for some reason are not available after jlinking 2021-06-12 14:30:12 +01:00
Zlatin Balevsky d64eebc153
open a file with double-click from library 2021-06-12 11:12:10 +01:00
Zlatin Balevsky 300404915d
more efficient mass unsharing 2021-06-12 10:56:01 +01:00
Zlatin Balevsky 14b55065c6
lowercase filter 2021-06-12 10:08:30 +01:00
Zlatin Balevsky 948ab9d3c0
Make FileUnsharedEvent a batch event 2021-06-12 10:05:36 +01:00
Zlatin Balevsky 29e002f8f1
get rid of manual library refresh, switch to LinkedHashSet for all files, properly clean up intermediate nodes in the filtered tree 2021-06-12 09:30:16 +01:00
Zlatin Balevsky 65b20a9f93
update library in batch after unsharing 2021-06-12 08:06:11 +01:00
Zlatin Balevsky d5a17e9b6a
fix collapsing of tree on refresh (as in during uploads). Fix magic expansion on clearing of filter 2021-06-12 06:09:14 +01:00
Zlatin Balevsky 4fcb82133c
add Clear and Filter buttons. Disable filtering until library has loaded. Do not traverse subtree on every selection 2021-06-12 05:38:23 +01:00
Zlatin Balevsky 88fe173fbb
do not filter on every keystroke 2021-06-11 18:54:23 +01:00
Zlatin Balevsky 9c7cf3d969
try to speed up tree expansion 2021-06-11 18:49:49 +01:00
Zlatin Balevsky 7e08417c91
ability to filter library 2021-06-11 18:33:17 +01:00
Zlatin Balevsky f56a96923b
do not canonicalize from the UI thread 2021-06-11 05:35:17 +01:00
Zlatin Balevsky 674ef4c708
White background on systray icon, thanks to slrslr, GitHub issue #60 2021-06-10 11:31:21 +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 94a78bfa4e
GitHub issue #59 - try to accommodate larger libraries without limiting heap size 2021-06-08 15:54:51 +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 1c2972ecfc
add some default file types to ignore 2021-06-03 17:22:38 +01:00
Zlatin Balevsky 3ac6d085f6
configurable list of file types to not share 2021-06-03 05:27:42 +01:00
Zlatin Balevsky 4b11aca16e
show the number of files being hashed 2021-06-02 20:10:26 +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 0fc5ca7141
fix copy-full-id from message table 2021-06-01 19:25:29 +01:00
Zlatin Balevsky 51f6a49459
translate retry/resume popup text 2021-05-25 23:50:04 +01:00
Zlatin Balevsky ce787a6f99
avoid BigIntegers in progress bar rendering 2021-05-24 11:49:27 +01:00
Zlatin Balevsky 5ded9c4f30
fix collections warning always showing even if there are no collections 2021-05-24 04:28:01 +01:00
Zlatin Balevsky f9ceb7854a
use KiB for download progress as well 2021-05-24 03:56:27 +01:00
Zlatin Balevsky d243e1cd31
do not add 1 to the number of pieces, let the HEAD request tell the value 2021-05-24 03:52:31 +01:00
Zlatin Balevsky c3e1a8faad
Release 0.8.7 2021-05-19 02:04:01 +01:00
Zlatin Balevsky 6515514a73
some translations 2021-05-16 19:09:58 +01:00
Zlatin Balevsky b0b129f679
fixes for reproducibility on windows 2021-05-14 20:41:44 +01:00
Zlatin Balevsky 8933897853
specify charsets for jar manifests and generated files 2021-05-14 19:20:37 +01:00
Zlatin Balevsky a07ffe468f
remove git revision from title, may readd it later 2021-05-13 20:24:06 +01:00
Zlatin Balevsky 1e867b4f29
Gradle 7.0.1 2021-05-13 19:50:03 +01:00
Zlatin Balevsky f5783bbd86
rewrite the gui build.gradle script 2021-05-13 19:29:27 +01:00
Zlatin Balevsky 9db10e23fc
fix contact subscriptions table which broke after recent redesign 2021-05-11 21:28:54 +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 9b7fb00f6e
different table columns for outgoing folders 2021-05-01 20:05:47 +01:00
Zlatin Balevsky c3cd32f9c4
fix reference to core 2021-05-01 19:38:34 +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 d60c07a35c
not all actions available in contacts popup menu 2021-04-30 13:06:23 +01:00
Zlatin Balevsky bc7aec00c1
ability to add distrusted contacts 2021-04-30 12:24:35 +01:00
Zlatin Balevsky b4c4dca953
trans group by strings 2021-04-30 11:59:29 +01:00
Zlatin Balevsky 342e268603
merge the trusted and distrusted tables into a single table 2021-04-30 11:50:33 +01:00
Zlatin Balevsky 8397630b1a
enable keyboard navigation in the wizard 2021-04-30 02:31:30 +01:00
Zlatin Balevsky ccf4fa1485
increase defaults for bandwidth limits 2021-04-26 18:19:23 +01:00
Zlatin Balevsky 8b6bf597e9
make the excludePeerCaps dependent on the speed slider 2021-04-26 18:18:43 +01:00
Zlatin Balevsky 3c141c37b5
open containing folder from downloads table 2021-04-10 04:33:02 +01:00
Zlatin Balevsky 0f0f70b6ca
wip on upgrading gradle: remove most references to 'compile' and 'runtime' configurations 2021-04-07 12:52:38 +01:00
Zlatin Balevsky c9406f0710
the singleton isn't available on Java16? 2021-04-07 12:51:12 +01:00
Zlatin Balevsky daa267ccde
fix for java 16 2021-04-07 05:14:53 +01:00
Zlatin Balevsky 15efb83be7
request focus on the language chooser 2021-04-02 16:31:10 +01:00
Zlatin Balevsky b29f1d7913
dump heap and exit on OOM 2021-02-16 05:57:14 +00:00
Zlatin Balevsky 2733fb6b1a
fix show-in-library when table is sorted 2020-12-21 17:46:37 +00:00
Zlatin Balevsky 3569f45242
avoid weirdness caused by reusing the DataFormatter object 2020-12-18 19:34:53 +00:00
Zlatin Balevsky b7f260f0a0
fix display of total collection files and size 2020-12-11 18:17:50 +00:00
Zlatin Balevsky 0b1a64e88e
move all sizes and speeds to div by 1024 2020-12-11 18:06:47 +00:00
Zlatin Balevsky f14ae744b4
change tree size to divide by 1024 too 2020-12-11 07:33:48 +00:00
Zlatin Balevsky 8b3a7d6510
reduce object churn in SizeRenderer 2020-12-11 02:35:20 +00:00
Zlatin Balevsky 45769cbaf3
metal and darcula are named, system can vary across platforms 2020-12-10 19:33:51 +00:00
Zlatin Balevsky aef1af34a3
change theme selection to radio buttons 2020-12-10 18:18:50 +00:00
Zlatin Balevsky 32cbdd9d02
add the Darcula theme 2020-12-10 17:13:01 +00:00
Zlatin Balevsky 759136cff3
cache InfoHash instnance in SharedFile 2020-12-08 07:44:00 +00:00
Zlatin Balevsky ad3767a060
updated fr translation 2020-11-29 14:53:15 +00:00
Zlatin Balevsky 1676f81091
use system tray notifications for new messages 2020-11-21 05:23:54 +00:00
Zlatin Balevsky 67ce73be5e
updated fr translation 2020-11-11 17:25:43 +00:00
Zlatin Balevsky cd619a023a
ability to remove files from collection in review 2020-11-11 15:58:55 +00:00
Zlatin Balevsky 040203cd58
ability to remove attachments from message 2020-11-11 15:28:33 +00:00
Zlatin Balevsky 1110f5eb7d
ability to remove recipients 2020-11-11 15:12:42 +00:00
Zlatin Balevsky dd9daa3205
right-click menu options for copying full id 2020-11-11 10:08:25 +00:00
Zlatin Balevsky c46da44592
add ability to copy full id from results table 2020-11-11 09:23:17 +00:00
Zlatin Balevsky 4a03ce5fff
add strings for remove and copy full id 2020-11-11 05:07:04 +00:00
Zlatin Balevsky 1a079b8662
disable notification option because it's broken 2020-11-11 05:03:46 +00:00