Commit Graph

472 Commits (c082e25c81fe5b58a876b3882d2a55d4b31856b4)

Author SHA1 Message Date
Zlatin Balevsky 29c81646af word-wrap the comment views 2019-10-30 19:52:37 +00:00
Zlatin Balevsky d7c7afe2c0 move the connections closing to a separate threadpool and limit the time we wait for reset() to complete 2019-10-29 09:01:41 +00:00
Zlatin Balevsky 6c806c4441 fix display of uploader progress to reach 100% 2019-10-29 01:00:59 +00:00
Zlatin Balevsky 8684452848 Add ability to limit the total number of upload slots, as well as per user 2019-10-28 14:48:38 +00:00
Zlatin Balevsky 7d652fabcb add option to close warning dialog to exit app. Add config option for exit behavior in the options 2019-10-28 13:28:03 +00:00
Zlatin Balevsky 5eb8d75bba Show how many times we've been browsed and increment hit counter 2019-10-27 11:26:41 +00:00
Zlatin Balevsky 7a6365f87a Implement a negative lookup structure to prevent explicitly unshared files in watched directories from being re-shared 2019-10-27 09:13:22 +00:00
Zlatin Balevsky eb5a5198b1 more efficient unsharing of nested dirs 2019-10-27 05:12:25 +00:00
Zlatin Balevsky 9bd3c4f141 add speed column to uploads table 2019-10-27 03:00:54 +00:00
Zlatin Balevsky 5954cdb342 remove requests column, reword option for consistency 2019-10-26 17:41:57 +01:00
Zlatin Balevsky 56d44e6458 Do not clear uploads by default 2019-10-26 16:45:21 +01:00
Zlatin Balevsky c6fb76610d Add search hit and download count to shared file table in both UIs 2019-10-26 15:02:46 +01:00
Zlatin Balevsky b24d04811d set apple quit strategy 2019-10-23 08:55:10 +01:00
Zlatin Balevsky 771f645df0 proper close 2019-10-23 08:48:53 +01:00
Zlatin Balevsky b6483ad0f4 add an exit menu 2019-10-23 08:45:03 +01:00
Zlatin Balevsky decb72c8ef show a warning that MW will continue running 2019-10-23 08:31:23 +01:00
Zlatin Balevsky 439b3bf18b fixes 2019-10-23 06:46:20 +01:00
Zlatin Balevsky 06679ffee0 only show MW if the core has loaded 2019-10-23 06:39:25 +01:00
Zlatin Balevsky 1d5b12e2d7 if core is not initialized, just shutdown 2019-10-23 06:31:08 +01:00
Zlatin Balevsky 4e6e1b6f5b Do not show warnings if core is already shutting down 2019-10-23 06:15:34 +01:00
Zlatin Balevsky f0b5361d7b smaller icon 2019-10-23 06:06:37 +01:00
Zlatin Balevsky e0c6bfbf51 show the clsoing window if tray is disabled 2019-10-23 06:01:21 +01:00
Zlatin Balevsky 2a0ecd8a47 fix constructor 2019-10-23 05:48:14 +01:00
Zlatin Balevsky fb1804e849 Use explicit event to shutdown the application. This fixes closing on Linux 2019-10-23 05:45:50 +01:00
Zlatin Balevsky d4eaa0df8d do not shutdown core on awt thread 2019-10-22 23:37:44 +01:00
Zlatin Balevsky ffde6ac86f show a window while MW is shutting down 2019-10-22 23:26:54 +01:00
Zlatin Balevsky 7ad677ead2 add an explicit menu to show MW 2019-10-22 21:48:51 +01:00
Zlatin Balevsky ddb0568aab do not auto-shutdown 2019-10-22 21:40:47 +01:00
Zlatin Balevsky ff50a84a48 try to get a tray icon working 2019-10-22 21:34:50 +01:00
Zlatin Balevsky b55852e993 typo 2019-10-22 10:16:41 +01:00
Zlatin Balevsky a32903fc8c prettier i2p status panel 2019-10-22 00:11:57 +01:00
Zlatin Balevsky e40520be46 count hopeless and failing hosts, prettier status panel 2019-10-21 23:57:15 +01:00
Zlatin Balevsky 97482b949a de-capitalize for consistency 2019-10-21 22:50:21 +01:00
Zlatin Balevsky 2e8082af64 use titled borders everywhere for consistency 2019-10-21 22:12:39 +01:00
Zlatin Balevsky fd46b3c7d6 do not display fractions in percentage 2019-10-21 20:37:30 +01:00
Zlatin Balevsky eea3b2563b allign router-specific settings 2019-10-21 20:16:36 +01:00
Zlatin Balevsky 50719f3828 move settings to top of panel 2019-10-21 20:12:08 +01:00
Zlatin Balevsky 01a45a89a8 reorganize the options view 2019-10-21 19:44:33 +01:00
Zlatin Balevsky 66bd249ed3 show percentage of fetched results 2019-10-21 18:28:37 +01:00
Zlatin Balevsky 265cd6ee15 more accurate description 2019-10-20 20:19:47 +01:00
Zlatin Balevsky 1dc88cb96b make speed smoothing interval configurable 2019-10-20 20:09:24 +01:00
Zlatin Balevsky 3e10d497b1 add an ETA column to downloads table 2019-10-20 19:11:32 +01:00
Zlatin Balevsky 9a0b3bb9d6 fix download table selection when sorted 2019-10-20 18:47:48 +01:00
Zlatin Balevsky ab323db62a add ability to choose the incompletes location 2019-10-20 18:16:07 +01:00
Zlatin Balevsky 46de1baf88 compressed results 2019-10-20 00:54:32 +01:00
Zlatin Balevsky a9ce9d96b3 wip on menu; close zlib stream 2019-10-19 18:54:58 +01:00
Zlatin Balevsky 4d2a5a8018 MainFrameModel doesn't need to listen to single result events anymore 2019-10-19 18:12:30 +01:00
Zlatin Balevsky cb23aa44f0 enable SEVERE log messages if no config file specified 2019-10-19 05:53:33 +01:00
Zlatin Balevsky dbcb8508b8 add a view comment button 2019-10-19 05:35:04 +01:00
Zlatin Balevsky 47d406d93b add a border around the two panels 2019-10-19 04:59:37 +01:00
Zlatin Balevsky 2b04374e23 add option to disable browsing of files, make the dialog bigger 2019-10-19 00:53:13 +01:00
Zlatin Balevsky 383addbc37 implement view comment from browse window 2019-10-19 00:30:03 +01:00
Zlatin Balevsky cc39cd7f8e implement downloading from browse window 2019-10-19 00:23:43 +01:00
Zlatin Balevsky 83665d7524 wip on browse host 2019-10-18 23:55:07 +01:00
Zlatin Balevsky 8850d49c63 wip on browse host 2019-10-18 23:16:37 +01:00
Zlatin Balevsky f0f9d840f0 wip on browse host 2019-10-18 22:35:17 +01:00
Zlatin Balevsky 7a5d71dc36 add copy name to clipboard option 2019-10-17 19:01:53 +01:00
Zlatin Balevsky 6fa39a5e35 turn off logging if there is no config file 2019-10-17 18:39:28 +01:00
Zlatin Balevsky c5ae804f61 Implement automatic font sizing; set all font properties on change of font 2019-10-17 18:15:04 +01:00
Zlatin Balevsky d7695b448d remove my DS_Store 2019-10-17 05:50:29 +01:00
Zlatin Balevsky 946d9c8f32 disable sharing of hidden files by default, add option to enable 2019-10-17 05:46:27 +01:00
Zlatin Balevsky 02441ca1e3 add option to disable searching in comments 2019-10-16 19:57:18 +01:00
Zlatin Balevsky 5fa21b2360 keep tree expanded on modifications 2019-10-16 14:42:40 +01:00
Zlatin Balevsky d0299f80c6 search through comments 2019-10-16 14:06:11 +01:00
Zlatin Balevsky a05575485f move things around 2019-10-15 10:40:50 +01:00
Zlatin Balevsky f5bccd8126 All shared directories are watched directories. Fix manipulation of tree structure 2019-10-15 08:38:23 +01:00
Zlatin Balevsky 70fb789abf remove the watched directories table 2019-10-15 04:51:21 +01:00
Zlatin Balevsky feb712c253 Move persisting of files on dedicated thread. Introduce an event to forcefully persist files. Do that immediately after unsharing anything 2019-10-15 04:21:40 +01:00
Zlatin Balevsky d22b403e2a stop watching multiple directories at once 2019-10-14 23:16:05 +01:00
Zlatin Balevsky 6c26019164 allow switching without restart 2019-10-14 21:40:03 +01:00
Zlatin Balevsky 965fa79bbf fix count of shared files in tree view mode 2019-10-14 20:57:50 +01:00
Zlatin Balevsky 60ddb85461 Tree view of the shared files. The count is wrong for some reason 2019-10-14 20:13:25 +01:00
Zlatin Balevsky 3e7f2aa70a Add a note about DND, automatically watch shared directories 2019-10-13 20:21:28 +01:00
Zlatin Balevsky 4f436a636c implement drop on MW -> share files/directories 2019-10-13 20:00:08 +01:00
Zlatin Balevsky b49dbc30c3 comment already decoded by the time it gets to the gui 2019-10-11 19:01:40 +01:00
Zlatin Balevsky c25d314e1c typo 2019-10-11 18:56:46 +01:00
Zlatin Balevsky b28587a275 wip on file comments 2019-10-11 18:42:02 +01:00
Zlatin Balevsky 8b8e5d59be Silence an IllegalArgumentException while sorting downloads table 2019-10-11 11:21:56 +01:00
Zlatin Balevsky f530ab999d operations on multiple selection in shared files table 2019-10-09 03:38:08 +01:00
Zlatin Balevsky 4133384e48 ability to share multiple files and directories 2019-10-08 21:30:34 +01:00
Zlatin Balevsky 33fe755b60 implement multiple-selection on downloads table 2019-10-07 04:26:35 +01:00
Zlatin Balevsky 8b0668a134 Rewrite utils into Java, cache the persistable data of shared files to reduce object churn 2019-10-05 22:50:32 +01:00
Zlatin Balevsky 5bc8fa8633 Preserve selection on refresh #18 2019-10-05 05:13:49 +01:00
Zlatin Balevsky 7de7c9d8f3 Add 'Clear Hits' button to content control panel #18 2019-10-05 05:03:25 +01:00
Zlatin Balevsky 15bc4c064d center the button 2019-10-03 21:32:32 +01:00
Zlatin Balevsky 91d771944b add option for sequential download 2019-10-03 20:45:22 +01:00
Zlatin Balevsky e09c456a13 make the download retry interval in seconds, default still 1 minute 2019-10-03 19:31:15 +01:00
Zlatin Balevsky d9c1067226 Add Neutral button to search tab, issue #17 2019-10-02 06:02:06 +01:00
Zlatin Balevsky eda3e7ad3a Add option to not search extra hop, only considered if connecting only to trusted peers, issue #6 2019-10-02 05:45:46 +01:00
Zlatin Balevsky ce7b6a0c65 change to gasp AA font table, try metal lnf if the others fail 2019-09-16 15:06:45 +01:00
Zlatin Balevsky ae79f0fded Clear Done button, thanks to Aegon 2019-07-14 06:19:05 +01:00
Zlatin Balevsky eaa883c3ba count duplicate files towards total in Uploads panel 2019-07-11 23:28:12 +01:00
Zlatin Balevsky 32577a28dc some download stats 2019-07-11 05:00:25 +01:00
Zlatin Balevsky f7b43304d4 use split pane in downloads tab as well 2019-07-11 03:57:49 +01:00
Zlatin Balevsky dcbe09886d split pane instead of gridlayout 2019-07-11 03:48:05 +01:00
Zlatin Balevsky 5a54b2dcda shift focus to search pane on search 2019-07-10 22:33:21 +01:00
Zlatin Balevsky 581293b24f column sizes 2019-07-10 22:27:07 +01:00
Zlatin Balevsky cd072b9f76 enable/disable download button correctly 2019-07-10 22:23:20 +01:00
Zlatin Balevsky 6b74fc5956 fix trust/distrust buttons 2019-07-10 22:17:32 +01:00
Zlatin Balevsky 3de2f872bb show results per sender 2019-07-10 22:08:18 +01:00
Zlatin Balevsky fcde917d08 fix context menu and double-click 2019-07-10 21:26:13 +01:00
Zlatin Balevsky 4ded065010 move buttons onto search result tab 2019-07-10 21:23:00 +01:00
Zlatin Balevsky 18a1c7091a move downloads to their own pane 2019-07-10 20:54:45 +01:00
Zlatin Balevsky 46aee19f80 disable the button of the currently open pane 2019-07-10 20:37:09 +01:00
Zlatin Balevsky b2e4dda677 rearrange tables 2019-07-10 11:55:06 +01:00
Zlatin Balevsky e77a2c8961 clear hits table on refresh 2019-07-09 21:42:52 +01:00
Zlatin Balevsky 3f95d2bf1d trust and distrust buttons 2019-07-09 21:15:08 +01:00
Zlatin Balevsky 1390983732 populate hits table 2019-07-09 21:05:49 +01:00
Zlatin Balevsky ce660cefe9 deleting of rules 2019-07-09 20:50:07 +01:00
Zlatin Balevsky 57d593a68a persist watched keywords and regexes 2019-07-09 20:11:29 +01:00
Zlatin Balevsky 39a81a3376 hook up rule creation 2019-07-09 19:53:40 +01:00
Zlatin Balevsky ac12bff69b wip on content control panel ui 2019-07-09 19:20:06 +01:00
Zlatin Balevsky feef773bac hook up content control panel to rest of UI 2019-07-09 17:55:36 +01:00
Zlatin Balevsky 69b4f0b547 Add trust/distrust action from monitor window. Thanks Aegon 2019-07-07 15:31:21 +01:00
Zlatin Balevsky 72ff47ffe5 use custom renderer and comparator for download progress 2019-07-06 12:53:49 +01:00
Zlatin Balevsky 4015818323 center buttons 2019-07-05 17:15:50 +01:00
Zlatin Balevsky f569d45c8c reallign tables 2019-07-05 17:07:14 +01:00
Zlatin Balevsky 29cdbf018c remove trailing spaces 2019-07-05 16:24:19 +01:00
Zlatin Balevsky 39808302df Show which file is hashing, thanks to Aegon 2019-07-05 16:20:03 +01:00
Zlatin Balevsky 3e6242e583 break when matching search is found 2019-07-04 18:12:22 +01:00
Zlatin Balevsky 41181616ee compact display of incoming searches, thanks Aegon 2019-07-04 17:59:53 +01:00
Zlatin Balevsky eb2530ca32 fix sorting of download/upload tables thanks Aegon 2019-07-04 17:58:06 +01:00
Zlatin Balevsky ad5b00fc90 prettier progress status thanks to Aegon 2019-07-03 12:50:24 +01:00
Zlatin Balevsky e979fdd26f update list view tables 2019-07-03 06:51:21 +01:00
Zlatin Balevsky e6bfcaaab9 size columns, center integers 2019-07-03 06:11:02 +01:00
Zlatin Balevsky 9780108e8a disable trust buttons on action 2019-07-03 06:00:09 +01:00
Zlatin Balevsky 697c7d2d6d enable/disable trust panel buttons 2019-07-03 05:41:17 +01:00
Zlatin Balevsky 887d10c8bf move buttons around 2019-07-03 05:30:39 +01:00
Zlatin Balevsky ef6b8fe458 add a state for failed updates 2019-07-03 05:12:00 +01:00
Zlatin Balevsky eda58c9e0d Merge branch 'trust-lists' 2019-07-03 00:04:50 +01:00
Zlatin Balevsky fb42fc0e35 add trust panel in options 2019-07-03 00:04:08 +01:00
Zlatin Balevsky 35cabc47ad hook up trust and distrust buttons 2019-07-02 23:44:43 +01:00
Zlatin Balevsky 5be97d0404 show something when review button is pressed 2019-07-02 22:51:04 +01:00
Zlatin Balevsky 82b0fa253c enable update and unsubscribe buttons 2019-07-02 22:26:29 +01:00
Zlatin Balevsky 44c880d911 store subscriber list upon subscription 2019-07-02 20:53:29 +01:00
Zlatin Balevsky b99bc0ea32 fix 2019-07-02 20:12:22 +01:00
Zlatin Balevsky 1ccf6fbdfa participating bandwidth grid cell 2019-07-02 15:35:42 +01:00
Zlatin Balevsky cafc5f582e subscribe button 2019-07-02 14:35:52 +01:00
Zlatin Balevsky 19c2c46491 prevent NPE on startup 2019-07-02 12:27:15 +01:00
Zlatin Balevsky 8573ab2850 work on trust list UI 2019-07-02 09:35:21 +01:00
Zlatin Balevsky 8caf6e99b0 show floodfill status 2019-07-01 13:18:31 +01:00
Zlatin Balevsky 9feb2a3c8f fix NPE on update search 2019-06-30 15:11:13 +01:00
Zlatin Balevsky 7c04c0f83c unshare individual file 2019-06-30 05:44:08 +01:00
Zlatin Balevsky 29b6bfd463 support different update types 2019-06-29 10:31:27 +01:00
Zlatin Balevsky d9edb2e128 ability to download updates automatically 2019-06-29 09:23:27 +01:00
Zlatin Balevsky 7206a3d926 more i2p metrics 2019-06-29 07:07:48 +01:00
Zlatin Balevsky 98b98d8938 I2P status panel 2019-06-29 06:33:53 +01:00
Zlatin Balevsky 294b8fcc2f MW status window 2019-06-29 05:58:46 +01:00
Zlatin Balevsky 32f601a1b1 add ability to change i2p port 2019-06-28 23:53:22 +01:00
Zlatin Balevsky 720b9688b4 Add unsharing of directories 2019-06-28 16:08:04 +01:00
Zlatin Balevsky e3066161c5 do not perform filesystem operations in the UI thread 2019-06-27 23:29:48 +01:00
Zlatin Balevsky 92848e818a on empty properties source from java props 2019-06-27 03:47:56 +01:00
Zlatin Balevsky a7aa3008c0 bandwidth settings 2019-06-27 00:42:27 +01:00
Zlatin Balevsky f72cf91462 wait for files to be loaded before sharing watched directories 2019-06-25 22:24:32 +01:00
Zlatin Balevsky 2b6b86f903 show how many pieces the remote side already has 2019-06-25 17:44:05 +01:00
Zlatin Balevsky f2706a4426 clarify upload column 2019-06-25 17:24:42 +01:00
Zlatin Balevsky 01f4e2453b limit search length to 128 characters 2019-06-25 15:53:53 +01:00
Zlatin Balevsky 61267374dd move button around 2019-06-25 08:10:20 +01:00
Zlatin Balevsky 4fd9fc1991 add option to change download location 2019-06-25 07:59:30 +01:00
Zlatin Balevsky b2eb2d2755 show hidden files in file choosers 2019-06-24 23:09:20 +01:00
Zlatin Balevsky ea46a54f19 enable AA by default 2019-06-24 22:55:26 +01:00
Zlatin Balevsky 627add45ad remove griffon icons 2019-06-24 22:51:43 +01:00
Zlatin Balevsky d364855459 logo 2019-06-24 22:13:03 +01:00
Zlatin Balevsky 76e41a0383 fix restoring paused downloads 2019-06-23 08:42:45 +01:00
Zlatin Balevsky 7045927666 hide monitor options from gui 2019-06-23 08:02:28 +01:00
Zlatin Balevsky 2de18227c1 persist pause state 2019-06-23 07:48:49 +01:00
Zlatin Balevsky bd12a1de3d pause/resume downloads 2019-06-23 06:59:52 +01:00
Zlatin Balevsky 6c1cc28e49 shutdown if connection to I2P router is lost 2019-06-22 17:32:12 +01:00
Zlatin Balevsky 396c636e42 prevent empty search terms 2019-06-20 15:29:27 +01:00
Zlatin Balevsky 089ab4f0d9 do not retry downloads if core is shut(ting) down 2019-06-20 13:40:04 +01:00
Zlatin Balevsky 948b6292fe add shutdown hook to shutdown core on SIGTERM 2019-06-20 13:29:15 +01:00
Zlatin Balevsky 15a49ad550 show git revision in title 2019-06-19 22:36:22 +01:00
Zlatin Balevsky 51d5dbe47e Prevent rare exception on changing trust when result tabs are open 2019-06-19 12:23:18 +01:00
Zlatin Balevsky 64d45da94a show version on title 2019-06-18 18:57:44 +01:00
Zlatin Balevsky deb7c0b4b0 exclude files present locally from search results 2019-06-18 15:45:27 +01:00
Zlatin Balevsky 0c21d4d6c1 implement source tracking 2019-06-18 11:34:19 +01:00
Zlatin Balevsky 84a9bb9482 watch deleting of files 2019-06-18 04:15:44 +01:00
Zlatin Balevsky e78016ead4 ui panel for managing watched directories 2019-06-17 19:23:04 +01:00
Zlatin Balevsky b52fb38ede fix disabling of buttons on search tab close 2019-06-17 13:43:11 +01:00
Zlatin Balevsky 5c16335969 if no row is selected do not enable buttons 2019-06-17 12:26:28 +01:00
Zlatin Balevsky 546eb4e9d3 only allow one download per infohash from gui 2019-06-17 11:25:21 +01:00
Zlatin Balevsky af66a79376 fix sorting by progress 2019-06-17 00:56:16 +01:00
Zlatin Balevsky 69eeb7d77a fix 2019-06-16 18:58:52 +01:00
Zlatin Balevsky 551982b72a batch results sent to the GUI to prevent freeze 2019-06-16 18:51:07 +01:00
Zlatin Balevsky 7833a83c87 mark hash queries for V2 results 2019-06-16 13:17:32 +01:00
Zlatin Balevsky 3160c1a8f3 fix for silent uploader exceptions 2019-06-16 13:01:14 +01:00
Zlatin Balevsky a9f5625dc3 fix popup menu on failed downloads 2019-06-16 10:50:21 +01:00
Zlatin Balevsky cc0af5b9ed add context menu to downloads table 2019-06-16 10:29:28 +01:00
Zlatin Balevsky 03c3b1ebf1 fix copying of hash if search results are sorted 2019-06-16 09:30:52 +01:00
Zlatin Balevsky aece390daa right-click menu on the search results tab 2019-06-16 09:17:17 +01:00
Zlatin Balevsky cf63be68e8 copy search to clipboard 2019-06-16 08:38:47 +01:00
Zlatin Balevsky 88ece4dc23 add option to show search hashes in monitor 2019-06-16 08:29:03 +01:00
Zlatin Balevsky 13767d58f2 detect if a query is hash, get rid of radio buttons 2019-06-16 08:09:51 +01:00
Zlatin Balevsky 6807c14a5f add copy hash to clipboard 2019-06-16 07:23:22 +01:00
Zlatin Balevsky e2b7ffa1db direction in monitor tab 2019-06-16 05:52:23 +01:00
Zlatin Balevsky 12db6857c1 disable unshare files popup until implemented 2019-06-15 12:12:08 +01:00
Zlatin Balevsky acd67733a5 sort the downloads table on updates 2019-06-15 12:08:29 +01:00
Zlatin Balevsky 8d3ce7aa8e use the same sorted row selection logic in downloads table 2019-06-15 09:57:12 +01:00
Zlatin Balevsky 051efbfaba prevent empty searches 2019-06-15 09:11:42 +01:00
Zlatin Balevsky 6b38d7bffb fix sorting bug try 2 2019-06-15 08:58:51 +01:00