xudocci.git
10 years agoExtend stats command.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 12:00:55 +0000 (14:00 +0200)]
Extend stats command.

10 years agoAdd unit test for the channel-not-joined handler.
David ‘Bombe’ Roden [Fri, 17 Oct 2014 17:32:06 +0000 (19:32 +0200)]
Add unit test for the channel-not-joined handler.

10 years agoDon’t log disconnects from networks we weren’t really connected to.
David ‘Bombe’ Roden [Fri, 17 Oct 2014 07:58:45 +0000 (09:58 +0200)]
Don’t log disconnects from networks we weren’t really connected to.

10 years agoSimplify code.
David ‘Bombe’ Roden [Fri, 17 Oct 2014 07:56:58 +0000 (09:56 +0200)]
Simplify code.

10 years agoLog message if we failed to join a channel we didn’t try to join in the first place.
David ‘Bombe’ Roden [Fri, 17 Oct 2014 07:56:48 +0000 (09:56 +0200)]
Log message if we failed to join a channel we didn’t try to join in the first place.

10 years agoOnly try to re-join banned channels once a day.
David ‘Bombe’ Roden [Fri, 17 Oct 2014 07:56:10 +0000 (09:56 +0200)]
Only try to re-join banned channels once a day.

10 years agoDon’t try to join channels that require a registration anymore.
David ‘Bombe’ Roden [Fri, 17 Oct 2014 07:38:27 +0000 (09:38 +0200)]
Don’t try to join channels that require a registration anymore.

10 years agoFormat printed channels nicely.
David ‘Bombe’ Roden [Fri, 17 Oct 2014 07:34:10 +0000 (09:34 +0200)]
Format printed channels nicely.

10 years agoUse dedicated handlers for normal messages and for CTCP messages.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 20:53:35 +0000 (22:53 +0200)]
Use dedicated handlers for normal messages and for CTCP messages.

10 years agoSwap parameters of event.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 20:36:33 +0000 (22:36 +0200)]
Swap parameters of event.

10 years agoDon’t expose the complete reply object from the notice event.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 20:28:49 +0000 (22:28 +0200)]
Don’t expose the complete reply object from the notice event.

10 years agoClean up imports.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 20:16:50 +0000 (22:16 +0200)]
Clean up imports.

10 years agoAdd handler for parsing channel and nickname prefixes.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 20:16:44 +0000 (22:16 +0200)]
Add handler for parsing channel and nickname prefixes.

10 years agoUse a handler for the MOTD.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 19:55:56 +0000 (21:55 +0200)]
Use a handler for the MOTD.

10 years agoDon’t store connection status anymore.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 19:51:23 +0000 (21:51 +0200)]
Don’t store connection status anymore.

10 years agoProcess handlers generically.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 17:44:46 +0000 (19:44 +0200)]
Process handlers generically.

10 years agoOnly handle replies if the connection has not been established yet.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 17:43:40 +0000 (19:43 +0200)]
Only handle replies if the connection has not been established yet.

10 years agoAdd handler for when a channel can not be joined.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 05:18:07 +0000 (07:18 +0200)]
Add handler for when a channel can not be joined.

10 years agoAdd missing handler interface.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 05:08:11 +0000 (07:08 +0200)]
Add missing handler interface.

10 years agoMove connection establishing logic into its own handler.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 05:05:52 +0000 (07:05 +0200)]
Move connection establishing logic into its own handler.

10 years agoCompare command case-insensitively.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 04:32:19 +0000 (06:32 +0200)]
Compare command case-insensitively.

10 years agoShow reason if channel can not be joined because the nickname is not registered.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 20:30:24 +0000 (22:30 +0200)]
Show reason if channel can not be joined because the nickname is not registered.

10 years agoRemove channel from joined channels when we were kicked.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 20:24:29 +0000 (22:24 +0200)]
Remove channel from joined channels when we were kicked.

10 years agoAdd missing import.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:46:52 +0000 (21:46 +0200)]
Add missing import.

10 years agoLog message if a channel could not be joined.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:43:12 +0000 (21:43 +0200)]
Log message if a channel could not be joined.

10 years agoCheck if we have been kicked and send message if so.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:40:41 +0000 (21:40 +0200)]
Check if we have been kicked and send message if so.

10 years agoParse KICK command and send appropriate event.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:37:36 +0000 (21:37 +0200)]
Parse KICK command and send appropriate event.

10 years agoRemove old logger configuration.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:19:26 +0000 (21:19 +0200)]
Remove old logger configuration.

10 years agoDon’t start a command reader on stdin/stdout.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:18:11 +0000 (21:18 +0200)]
Don’t start a command reader on stdin/stdout.

10 years agoUse correct Main-Class attribute.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:10:38 +0000 (21:10 +0200)]
Use correct Main-Class attribute.

10 years agoRemove configuration for Freenet plugin.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:10:29 +0000 (21:10 +0200)]
Remove configuration for Freenet plugin.

10 years agoActually use the correct main class.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:08:32 +0000 (21:08 +0200)]
Actually use the correct main class.

10 years agoUse log4j for logging.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 18:58:21 +0000 (20:58 +0200)]
Use log4j for logging.

10 years agoAdd descriptor for creating all-in-one-jar.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 18:48:10 +0000 (20:48 +0200)]
Add descriptor for creating all-in-one-jar.

10 years agoMake it possible to give the configuration file location as parameter.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 18:44:39 +0000 (20:44 +0200)]
Make it possible to give the configuration file location as parameter.

10 years agoAdd test for remove every kind of formatting.
David ‘Bombe’ Roden [Wed, 30 Apr 2014 05:15:15 +0000 (07:15 +0200)]
Add test for remove every kind of formatting.

10 years agoIterate over the characters of a String like a sane person.
David ‘Bombe’ Roden [Wed, 30 Apr 2014 05:14:58 +0000 (07:14 +0200)]
Iterate over the characters of a String like a sane person.

10 years agoImprove test case to cover more cases.
David ‘Bombe’ Roden [Wed, 30 Apr 2014 05:10:53 +0000 (07:10 +0200)]
Improve test case to cover more cases.

10 years agoTry to fix jacoco once more.
David ‘Bombe’ Roden [Tue, 29 Apr 2014 19:54:55 +0000 (21:54 +0200)]
Try to fix jacoco once more.

10 years agoTry to fix jacoco plugin.
David ‘Bombe’ Roden [Tue, 29 Apr 2014 19:49:06 +0000 (21:49 +0200)]
Try to fix jacoco plugin.

10 years agoAdd JaCoCo coverage plugin.
David ‘Bombe’ Roden [Tue, 29 Apr 2014 19:41:03 +0000 (21:41 +0200)]
Add JaCoCo coverage plugin.

10 years agoUse static import.
David ‘Bombe’ Roden [Tue, 29 Apr 2014 19:28:05 +0000 (21:28 +0200)]
Use static import.

10 years agoRefactoring and cleanups.
David ‘Bombe’ Roden [Tue, 29 Apr 2014 19:27:30 +0000 (21:27 +0200)]
Refactoring and cleanups.

10 years agoAdd cleaning for reverse, underline, and italic formatting.
David ‘Bombe’ Roden [Tue, 29 Apr 2014 19:23:13 +0000 (21:23 +0200)]
Add cleaning for reverse, underline, and italic formatting.

10 years agoDon’t use TestNG’s Test.
David ‘Bombe’ Roden [Sat, 22 Mar 2014 07:36:13 +0000 (08:36 +0100)]
Don’t use TestNG’s Test.

10 years agoReset line suppression when a command is received.
David ‘Bombe’ Roden [Mon, 27 Jan 2014 05:27:27 +0000 (06:27 +0100)]
Reset line suppression when a command is received.

10 years agoAdd method that allows to reset the line suppression.
David ‘Bombe’ Roden [Mon, 27 Jan 2014 05:27:08 +0000 (06:27 +0100)]
Add method that allows to reset the line suppression.

10 years agoSort repacks to the front.
David ‘Bombe’ Roden [Tue, 21 Jan 2014 07:05:19 +0000 (08:05 +0100)]
Sort repacks to the front.

10 years agoRework bot sorting logic.
David ‘Bombe’ Roden [Tue, 21 Jan 2014 07:02:14 +0000 (08:02 +0100)]
Rework bot sorting logic.

10 years agoUse Java 8’s predicate instead of Guava’s.
David ‘Bombe’ Roden [Tue, 21 Jan 2014 06:34:23 +0000 (07:34 +0100)]
Use Java 8’s predicate instead of Guava’s.

10 years agoOnly create the search parameters once per search.
David ‘Bombe’ Roden [Tue, 21 Jan 2014 06:22:42 +0000 (07:22 +0100)]
Only create the search parameters once per search.

10 years agoUse regular expressions to match filenames.
David ‘Bombe’ Roden [Mon, 20 Jan 2014 13:04:52 +0000 (14:04 +0100)]
Use regular expressions to match filenames.

10 years agoEncapsulate search parameters.
David ‘Bombe’ Roden [Mon, 20 Jan 2014 13:00:02 +0000 (14:00 +0100)]
Encapsulate search parameters.

10 years agoRemove failed downloads when a download finishes.
David ‘Bombe’ Roden [Wed, 15 Jan 2014 05:34:22 +0000 (06:34 +0100)]
Remove failed downloads when a download finishes.

10 years agoMove writer to util.io package.
David ‘Bombe’ Roden [Tue, 7 Jan 2014 23:28:08 +0000 (00:28 +0100)]
Move writer to util.io package.

10 years agoFlush writer.
David ‘Bombe’ Roden [Mon, 6 Jan 2014 16:03:57 +0000 (17:03 +0100)]
Flush writer.

10 years agoSquelch duplicate log lines.
David ‘Bombe’ Roden [Mon, 6 Jan 2014 12:14:47 +0000 (13:14 +0100)]
Squelch duplicate log lines.

10 years agoAdd writer that squelches duplicate lines.
David ‘Bombe’ Roden [Mon, 6 Jan 2014 12:12:19 +0000 (13:12 +0100)]
Add writer that squelches duplicate lines.

10 years agoOnly store the failed downloads.
David ‘Bombe’ Roden [Mon, 6 Jan 2014 01:09:51 +0000 (02:09 +0100)]
Only store the failed downloads.

10 years agoConfigure compiler plugin to use UTF-8.
David ‘Bombe’ Roden [Sun, 5 Jan 2014 20:40:03 +0000 (21:40 +0100)]
Configure compiler plugin to use UTF-8.

10 years agoAdd possibility to restart/research failed downloads.
David ‘Bombe’ Roden [Sun, 5 Jan 2014 12:25:26 +0000 (13:25 +0100)]
Add possibility to restart/research failed downloads.

10 years agoSwitch to Java 1.8.
David ‘Bombe’ Roden [Sun, 5 Jan 2014 12:24:20 +0000 (13:24 +0100)]
Switch to Java 1.8.

10 years agoSwitch from TestNG back to JUnit.
David ‘Bombe’ Roden [Sun, 5 Jan 2014 12:24:10 +0000 (13:24 +0100)]
Switch from TestNG back to JUnit.

10 years agoAdd mockito dependency.
David ‘Bombe’ Roden [Sun, 5 Jan 2014 12:23:52 +0000 (13:23 +0100)]
Add mockito dependency.

11 years agoRemove references to non-working telnet interface.
David ‘Bombe’ Roden [Fri, 18 Oct 2013 05:08:44 +0000 (07:08 +0200)]
Remove references to non-working telnet interface.

11 years agoMake port configurable.
David ‘Bombe’ Roden [Fri, 18 Oct 2013 05:08:35 +0000 (07:08 +0200)]
Make port configurable.

11 years agoAdd Jackson dependency.
David ‘Bombe’ Roden [Fri, 18 Oct 2013 05:04:58 +0000 (07:04 +0200)]
Add Jackson dependency.

11 years agoAdd main class.
David ‘Bombe’ Roden [Fri, 18 Oct 2013 04:59:38 +0000 (06:59 +0200)]
Add main class.

11 years agoAdd configuration data container.
David ‘Bombe’ Roden [Fri, 18 Oct 2013 04:59:01 +0000 (06:59 +0200)]
Add configuration data container.

11 years agoColourize output.
David ‘Bombe’ Roden [Fri, 18 Oct 2013 04:24:52 +0000 (06:24 +0200)]
Colourize output.

11 years agoShow running downloads first.
David ‘Bombe’ Roden [Fri, 18 Oct 2013 04:24:37 +0000 (06:24 +0200)]
Show running downloads first.

11 years agoSort bots with running transfers last.
David ‘Bombe’ Roden [Fri, 18 Oct 2013 04:23:21 +0000 (06:23 +0200)]
Sort bots with running transfers last.

11 years agoAdd ANSI colouring class.
David ‘Bombe’ Roden [Fri, 18 Oct 2013 04:21:57 +0000 (06:21 +0200)]
Add ANSI colouring class.

11 years agoAdd progress bar to download listing.
David ‘Bombe’ Roden [Wed, 2 Oct 2013 18:15:24 +0000 (20:15 +0200)]
Add progress bar to download listing.

11 years agoList bots with active downloads last.
David ‘Bombe’ Roden [Tue, 24 Sep 2013 20:06:35 +0000 (22:06 +0200)]
List bots with active downloads last.

11 years agoMove time formatting to command reader; use function to calculate the remaining trans...
David ‘Bombe’ Roden [Fri, 6 Sep 2013 23:46:38 +0000 (01:46 +0200)]
Move time formatting to command reader; use function to calculate the remaining transfer time.

11 years agoSplit command reader into separate commands.
David ‘Bombe’ Roden [Fri, 6 Sep 2013 23:29:51 +0000 (01:29 +0200)]
Split command reader into separate commands.

11 years agoDon’t forget to subscribe to ConnectionFailed events.
David ‘Bombe’ Roden [Fri, 6 Sep 2013 20:33:39 +0000 (22:33 +0200)]
Don’t forget to subscribe to ConnectionFailed events.

11 years agoAdd method to return all connected networks.
David ‘Bombe’ Roden [Thu, 5 Sep 2013 04:49:33 +0000 (06:49 +0200)]
Add method to return all connected networks.

11 years agoAdd method to return all defined networks.
David ‘Bombe’ Roden [Thu, 5 Sep 2013 04:49:22 +0000 (06:49 +0200)]
Add method to return all defined networks.

11 years agoOnly remove the download immediately if there is no DCC receiver.
David ‘Bombe’ Roden [Tue, 20 Aug 2013 05:21:29 +0000 (07:21 +0200)]
Only remove the download immediately if there is no DCC receiver.

11 years agoAdd missing javadoc.
David ‘Bombe’ Roden [Tue, 13 Aug 2013 21:08:13 +0000 (23:08 +0200)]
Add missing javadoc.

11 years agoStore last displayed elements in a custom state object.
David ‘Bombe’ Roden [Tue, 13 Aug 2013 18:42:03 +0000 (20:42 +0200)]
Store last displayed elements in a custom state object.

11 years agoRemove message when bot is removed.
David ‘Bombe’ Roden [Sat, 10 Aug 2013 20:59:29 +0000 (22:59 +0200)]
Remove message when bot is removed.

11 years agoPost messages when connecting to a network.
David ‘Bombe’ Roden [Sat, 10 Aug 2013 20:56:42 +0000 (22:56 +0200)]
Post messages when connecting to a network.

11 years agoCatch exceptions when trying to join channels.
David ‘Bombe’ Roden [Sat, 10 Aug 2013 20:54:45 +0000 (22:54 +0200)]
Catch exceptions when trying to join channels.

11 years agoAdd configuration for exec plugin.
David ‘Bombe’ Roden [Sat, 10 Aug 2013 20:54:25 +0000 (22:54 +0200)]
Add configuration for exec plugin.

11 years agoAdd configuration for jar plugin.
David ‘Bombe’ Roden [Sat, 10 Aug 2013 20:54:05 +0000 (22:54 +0200)]
Add configuration for jar plugin.

11 years agoFix cancelling downloads.
David ‘Bombe’ Roden [Fri, 9 Aug 2013 14:06:05 +0000 (16:06 +0200)]
Fix cancelling downloads.

11 years agoStore the current list of downloads.
David ‘Bombe’ Roden [Fri, 9 Aug 2013 14:05:58 +0000 (16:05 +0200)]
Store the current list of downloads.

11 years agoAdd possibility to cancel a running download.
David ‘Bombe’ Roden [Thu, 8 Aug 2013 00:22:20 +0000 (02:22 +0200)]
Add possibility to cancel a running download.

11 years agoShow estimated time left on running downloads.
David ‘Bombe’ Roden [Thu, 8 Aug 2013 00:20:14 +0000 (02:20 +0200)]
Show estimated time left on running downloads.

11 years agoShow downloads sorted by name and status.
David ‘Bombe’ Roden [Thu, 8 Aug 2013 00:19:25 +0000 (02:19 +0200)]
Show downloads sorted by name and status.

11 years agoAdd comparators for sorting downloads.
David ‘Bombe’ Roden [Thu, 8 Aug 2013 00:19:05 +0000 (02:19 +0200)]
Add comparators for sorting downloads.

11 years agoChain the three comparators.
David ‘Bombe’ Roden [Thu, 8 Aug 2013 00:09:30 +0000 (02:09 +0200)]
Chain the three comparators.

11 years agoAdd result comparator that sorts by pack names.
David ‘Bombe’ Roden [Thu, 8 Aug 2013 00:09:03 +0000 (02:09 +0200)]
Add result comparator that sorts by pack names.

11 years agoCompare results, not the bot names.
David ‘Bombe’ Roden [Thu, 8 Aug 2013 00:08:49 +0000 (02:08 +0200)]
Compare results, not the bot names.

11 years agoAdd comparator that uses the “isArchive” predicate.
David ‘Bombe’ Roden [Thu, 8 Aug 2013 00:07:41 +0000 (02:07 +0200)]
Add comparator that uses the “isArchive” predicate.

11 years agoSet socket timeout to 3 minutes in the DCC receiver, too.
David ‘Bombe’ Roden [Mon, 5 Aug 2013 17:51:31 +0000 (19:51 +0200)]
Set socket timeout to 3 minutes in the DCC receiver, too.

11 years agoClose the socket correctly.
David ‘Bombe’ Roden [Mon, 5 Aug 2013 17:16:31 +0000 (19:16 +0200)]
Close the socket correctly.