David ‘Bombe’ Roden [Tue, 13 Jan 2015 21:09:15 +0000 (22:09 +0100)]
Fix connection to network.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 20:26:51 +0000 (21:26 +0100)]
Notify main loop when we leave a channel.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 20:20:13 +0000 (21:20 +0100)]
Don’t run the core test, it’s broken.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 20:03:46 +0000 (21:03 +0100)]
Don’t access optional that’s clearly not set.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 19:55:08 +0000 (20:55 +0100)]
Notify main loop when a connection failed.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 19:49:30 +0000 (20:49 +0100)]
Search for the connection before removing it.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 19:38:46 +0000 (20:38 +0100)]
Add backoff to reconnects.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 17:44:34 +0000 (18:44 +0100)]
Remove connection when it’s not established so that it can be retried.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 17:36:56 +0000 (18:36 +0100)]
Send message when a connection fails.
David ‘Bombe’ Roden [Mon, 22 Dec 2014 16:56:32 +0000 (17:56 +0100)]
Remove channel we’re kicked from from the correct collection.
David ‘Bombe’ Roden [Mon, 22 Dec 2014 16:56:18 +0000 (17:56 +0100)]
Remove correct extra channel after being kicked.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 21:16:05 +0000 (22:16 +0100)]
Add test for network without servers.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 21:15:30 +0000 (22:15 +0100)]
Shut down core after the test.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 21:14:56 +0000 (22:14 +0100)]
Verify we shouldn't be running anymore after being triggered.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 21:14:43 +0000 (22:14 +0100)]
Trigger the shutdown correctly.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 21:14:32 +0000 (22:14 +0100)]
Use separate object for syncing the shutdown.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 20:32:27 +0000 (21:32 +0100)]
Add first test for the core.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 20:32:09 +0000 (21:32 +0100)]
Extract connection interface.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 19:52:12 +0000 (20:52 +0100)]
Use a connection factory instead of a connection builder.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 06:00:38 +0000 (07:00 +0100)]
Remove all bots from a channel if we can’t (re-)join a channel.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 06:00:19 +0000 (07:00 +0100)]
Store a bot’s channel.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 20:15:56 +0000 (22:15 +0200)]
Remove check for empty topic message.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 20:14:45 +0000 (22:14 +0200)]
Move kick handling into the simple command handler.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 19:54:53 +0000 (21:54 +0200)]
Move quit handling into simple command handler.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 19:53:50 +0000 (21:53 +0200)]
Move part handling into simple command handler.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 19:52:17 +0000 (21:52 +0200)]
Move topic handling into the simple command handler.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 19:51:03 +0000 (21:51 +0200)]
Move event sending into the command handler.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 19:46:51 +0000 (21:46 +0200)]
Move join handling into simple command handler.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 19:41:48 +0000 (21:41 +0200)]
Move nick changes into simple command handler.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 17:52:19 +0000 (19:52 +0200)]
Use a simple command handler for simple commands.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 17:48:32 +0000 (19:48 +0200)]
Remove currently unused parameter from event.
David ‘Bombe’ Roden [Sun, 19 Oct 2014 19:22:36 +0000 (21:22 +0200)]
Move handling of the nicks sent on JOIN to its own handler.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 19:37:22 +0000 (21:37 +0200)]
Use only a single place to decide if a message is CTCP.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 19:31:37 +0000 (21:31 +0200)]
Add unit test for CTCP handler; refactor CTCP handler.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 14:13:08 +0000 (16:13 +0200)]
Add unit test for connection-established handler.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 14:06:10 +0000 (16:06 +0200)]
Move reply mocking into its own helper class.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 13:32:29 +0000 (15:32 +0200)]
Return an unmodified state.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 13:32:23 +0000 (15:32 +0200)]
Flush output after every command.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 13:27:02 +0000 (15:27 +0200)]
Fix output of stats command for missing joined or forced channels.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 12:42:25 +0000 (14:42 +0200)]
Treat non-existing list of bots as an offer of 0 packs.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 12:41:02 +0000 (14:41 +0200)]
Fix message.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 12:00:55 +0000 (14:00 +0200)]
Extend stats command.
David ‘Bombe’ Roden [Fri, 17 Oct 2014 17:32:06 +0000 (19:32 +0200)]
Add unit test for the channel-not-joined handler.
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.
David ‘Bombe’ Roden [Fri, 17 Oct 2014 07:56:58 +0000 (09:56 +0200)]
Simplify code.
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.
David ‘Bombe’ Roden [Fri, 17 Oct 2014 07:56:10 +0000 (09:56 +0200)]
Only try to re-join banned channels once a day.
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.
David ‘Bombe’ Roden [Fri, 17 Oct 2014 07:34:10 +0000 (09:34 +0200)]
Format printed channels nicely.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 20:53:35 +0000 (22:53 +0200)]
Use dedicated handlers for normal messages and for CTCP messages.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 20:36:33 +0000 (22:36 +0200)]
Swap parameters of 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.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 20:16:50 +0000 (22:16 +0200)]
Clean up imports.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 20:16:44 +0000 (22:16 +0200)]
Add handler for parsing channel and nickname prefixes.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 19:55:56 +0000 (21:55 +0200)]
Use a handler for the MOTD.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 19:51:23 +0000 (21:51 +0200)]
Don’t store connection status anymore.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 17:44:46 +0000 (19:44 +0200)]
Process handlers generically.
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.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 05:18:07 +0000 (07:18 +0200)]
Add handler for when a channel can not be joined.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 05:08:11 +0000 (07:08 +0200)]
Add missing handler interface.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 05:05:52 +0000 (07:05 +0200)]
Move connection establishing logic into its own handler.
David ‘Bombe’ Roden [Thu, 16 Oct 2014 04:32:19 +0000 (06:32 +0200)]
Compare command case-insensitively.
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.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 20:24:29 +0000 (22:24 +0200)]
Remove channel from joined channels when we were kicked.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:46:52 +0000 (21:46 +0200)]
Add missing import.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:43:12 +0000 (21:43 +0200)]
Log message if a channel could not be joined.
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.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:37:36 +0000 (21:37 +0200)]
Parse KICK command and send appropriate event.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:19:26 +0000 (21:19 +0200)]
Remove old logger configuration.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:18:11 +0000 (21:18 +0200)]
Don’t start a command reader on stdin/stdout.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:10:38 +0000 (21:10 +0200)]
Use correct Main-Class attribute.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:10:29 +0000 (21:10 +0200)]
Remove configuration for Freenet plugin.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 19:08:32 +0000 (21:08 +0200)]
Actually use the correct main class.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 18:58:21 +0000 (20:58 +0200)]
Use log4j for logging.
David ‘Bombe’ Roden [Wed, 15 Oct 2014 18:48:10 +0000 (20:48 +0200)]
Add descriptor for creating all-in-one-jar.
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.
David ‘Bombe’ Roden [Wed, 30 Apr 2014 05:15:15 +0000 (07:15 +0200)]
Add test for remove every kind of formatting.
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.
David ‘Bombe’ Roden [Wed, 30 Apr 2014 05:10:53 +0000 (07:10 +0200)]
Improve test case to cover more cases.
David ‘Bombe’ Roden [Tue, 29 Apr 2014 19:54:55 +0000 (21:54 +0200)]
Try to fix jacoco once more.
David ‘Bombe’ Roden [Tue, 29 Apr 2014 19:49:06 +0000 (21:49 +0200)]
Try to fix jacoco plugin.
David ‘Bombe’ Roden [Tue, 29 Apr 2014 19:41:03 +0000 (21:41 +0200)]
Add JaCoCo coverage plugin.
David ‘Bombe’ Roden [Tue, 29 Apr 2014 19:28:05 +0000 (21:28 +0200)]
Use static import.
David ‘Bombe’ Roden [Tue, 29 Apr 2014 19:27:30 +0000 (21:27 +0200)]
Refactoring and cleanups.
David ‘Bombe’ Roden [Tue, 29 Apr 2014 19:23:13 +0000 (21:23 +0200)]
Add cleaning for reverse, underline, and italic formatting.
David ‘Bombe’ Roden [Sat, 22 Mar 2014 07:36:13 +0000 (08:36 +0100)]
Don’t use TestNG’s Test.
David ‘Bombe’ Roden [Mon, 27 Jan 2014 05:27:27 +0000 (06:27 +0100)]
Reset line suppression when a command is received.
David ‘Bombe’ Roden [Mon, 27 Jan 2014 05:27:08 +0000 (06:27 +0100)]
Add method that allows to reset the line suppression.
David ‘Bombe’ Roden [Tue, 21 Jan 2014 07:05:19 +0000 (08:05 +0100)]
Sort repacks to the front.
David ‘Bombe’ Roden [Tue, 21 Jan 2014 07:02:14 +0000 (08:02 +0100)]
Rework bot sorting logic.
David ‘Bombe’ Roden [Tue, 21 Jan 2014 06:34:23 +0000 (07:34 +0100)]
Use Java 8’s predicate instead of Guava’s.
David ‘Bombe’ Roden [Tue, 21 Jan 2014 06:22:42 +0000 (07:22 +0100)]
Only create the search parameters once per search.
David ‘Bombe’ Roden [Mon, 20 Jan 2014 13:04:52 +0000 (14:04 +0100)]
Use regular expressions to match filenames.
David ‘Bombe’ Roden [Mon, 20 Jan 2014 13:00:02 +0000 (14:00 +0100)]
Encapsulate search parameters.
David ‘Bombe’ Roden [Wed, 15 Jan 2014 05:34:22 +0000 (06:34 +0100)]
Remove failed downloads when a download finishes.
David ‘Bombe’ Roden [Tue, 7 Jan 2014 23:28:08 +0000 (00:28 +0100)]
Move writer to util.io package.
David ‘Bombe’ Roden [Mon, 6 Jan 2014 16:03:57 +0000 (17:03 +0100)]
Flush writer.
David ‘Bombe’ Roden [Mon, 6 Jan 2014 12:14:47 +0000 (13:14 +0100)]
Squelch duplicate log lines.
David ‘Bombe’ Roden [Mon, 6 Jan 2014 12:12:19 +0000 (13:12 +0100)]
Add writer that squelches duplicate lines.
David ‘Bombe’ Roden [Mon, 6 Jan 2014 01:09:51 +0000 (02:09 +0100)]
Only store the failed downloads.