David ‘Bombe’ Roden [Wed, 27 Oct 2021 11:10:26 +0000 (13:10 +0200)]
🔊 Change log message
The old message was pretty misleading.
David ‘Bombe’ Roden [Wed, 27 Oct 2021 10:06:03 +0000 (12:06 +0200)]
Improve download logic in case of mismatching filenames
Because sometimes, the filenames announced by the bot and the name of
the file actually offered by the bot are different, e.g. when the
filesystem and the DCC protocol differ on whether letters outside of
7-bit ASCII do actually exist. I still want those files!
David ‘Bombe’ Roden [Sun, 31 May 2020 14:50:40 +0000 (16:50 +0200)]
⬆️ Update to JaCoCo 0.8.5
David ‘Bombe’ Roden [Sun, 31 May 2020 13:05:27 +0000 (15:05 +0200)]
✨ Add multiple downloads at the same time
David ‘Bombe’ Roden [Sun, 31 May 2020 13:00:25 +0000 (15:00 +0200)]
🎨 Replace download command with Kotlin version
David ‘Bombe’ Roden [Sun, 31 May 2020 12:55:49 +0000 (14:55 +0200)]
✅ Add more tests for current behaviour
David ‘Bombe’ Roden [Sun, 31 May 2020 12:40:54 +0000 (14:40 +0200)]
✅ Add first test for download command
David ‘Bombe’ Roden [Sun, 31 May 2020 12:40:07 +0000 (14:40 +0200)]
🏗 Add Kotlin plugin
David ‘Bombe’ Roden [Sun, 17 Mar 2019 12:20:50 +0000 (13:20 +0100)]
🐛 Fix exclusion in search command
David ‘Bombe’ Roden [Mon, 11 Mar 2019 12:06:38 +0000 (13:06 +0100)]
🚸 Sort results by pack name first, then bot name
David ‘Bombe’ Roden [Mon, 10 Aug 2015 16:45:48 +0000 (18:45 +0200)]
Improve logging
David ‘Bombe’ Roden [Mon, 10 Aug 2015 16:44:33 +0000 (18:44 +0200)]
Add toString() method to default connection
David ‘Bombe’ Roden [Thu, 30 Apr 2015 04:39:32 +0000 (06:39 +0200)]
Return unmodifiable view of packs
David ‘Bombe’ Roden [Thu, 30 Apr 2015 04:39:17 +0000 (06:39 +0200)]
Synchronize all access on packs
David ‘Bombe’ Roden [Wed, 29 Apr 2015 18:13:07 +0000 (20:13 +0200)]
Add test for fixed color code removal
David ‘Bombe’ Roden [Wed, 29 Apr 2015 18:11:29 +0000 (20:11 +0200)]
Remove old pack if pack with newer ID is added
David ‘Bombe’ Roden [Wed, 29 Apr 2015 18:10:50 +0000 (20:10 +0200)]
Implement toString method
David ‘Bombe’ Roden [Mon, 27 Apr 2015 17:21:55 +0000 (19:21 +0200)]
Ignore leading zeros when filtering color codes
David ‘Bombe’ Roden [Mon, 27 Apr 2015 17:15:53 +0000 (19:15 +0200)]
Escape the input, not the output
David ‘Bombe’ Roden [Mon, 27 Apr 2015 16:26:19 +0000 (18:26 +0200)]
Print escape characters to logger
David ‘Bombe’ Roden [Fri, 6 Mar 2015 05:59:52 +0000 (06:59 +0100)]
Allow cancelling a download even if network is gone
David ‘Bombe’ Roden [Mon, 23 Feb 2015 06:20:27 +0000 (07:20 +0100)]
Expose a connection uptime of 0 if connection is not yet established
David ‘Bombe’ Roden [Mon, 23 Feb 2015 06:14:54 +0000 (07:14 +0100)]
Add uptime command
David ‘Bombe’ Roden [Mon, 23 Feb 2015 05:37:22 +0000 (06:37 +0100)]
Expose connection uptime
David ‘Bombe’ Roden [Mon, 23 Feb 2015 05:34:46 +0000 (06:34 +0100)]
Use Optional from java.util, not Guava
David ‘Bombe’ Roden [Sat, 31 Jan 2015 08:30:16 +0000 (09:30 +0100)]
Always remove all info for a disconnected network.
David ‘Bombe’ Roden [Wed, 14 Jan 2015 05:50:19 +0000 (06:50 +0100)]
Change message for channels requiring registration.
David ‘Bombe’ Roden [Wed, 14 Jan 2015 05:49:55 +0000 (06:49 +0100)]
Show timestamp of next connect attempt.
David ‘Bombe’ Roden [Wed, 14 Jan 2015 05:40:03 +0000 (06:40 +0100)]
Treat all reasons for not being able to join a channel equally.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 21:24:31 +0000 (22:24 +0100)]
Fix waiting for connections.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 21:12:07 +0000 (22:12 +0100)]
Treat invite-only channels as banned.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 21:09:29 +0000 (22:09 +0100)]
Log connection attempts.
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.