xudocci.git
2 months ago🚧 Parse token from DCC SEND main master
David ‘Bombe’ Roden [Tue, 6 Feb 2024 11:56:34 +0000 (12:56 +0100)]
🚧 Parse token from DCC SEND

We will need this once Reverse DCC is implemented.

2 months ago🚸 Try to activate a bot’s active mode before requesting a pack
David ‘Bombe’ Roden [Mon, 5 Feb 2024 18:21:08 +0000 (19:21 +0100)]
🚸 Try to activate a bot’s active mode before requesting a pack

2 months ago🔥 Remove debug messages
David ‘Bombe’ Roden [Mon, 5 Feb 2024 18:19:43 +0000 (19:19 +0100)]
🔥 Remove debug messages

2 years ago🐛 Fix more wrong filenames
David ‘Bombe’ Roden [Sat, 6 Nov 2021 23:26:23 +0000 (00:26 +0100)]
🐛 Fix more wrong filenames

2 years ago🐛 Fix filename comparison
David ‘Bombe’ Roden [Sat, 6 Nov 2021 20:52:54 +0000 (21:52 +0100)]
🐛 Fix filename comparison

The filename from the Download object is only set later in the download
process.

I think I should revisit some of the logic of the whole download process, and
maybe even some of the data structures. I’m not sure they are still as
appropriate as I deemed them to be back then.

2 years ago🔀 Merge remote-tracking branch 'origin/master'
David ‘Bombe’ Roden [Sat, 6 Nov 2021 20:52:16 +0000 (21:52 +0100)]
🔀 Merge remote-tracking branch 'origin/master'

2 years ago🔊 Add more debug logging
David ‘Bombe’ Roden [Wed, 27 Oct 2021 12:26:17 +0000 (14:26 +0200)]
🔊 Add more debug logging

Because I still can't see shit of what's happening!

2 years ago🔊 Add debug logging
David ‘Bombe’ Roden [Wed, 27 Oct 2021 11:22:41 +0000 (13:22 +0200)]
🔊 Add debug logging

Because I have no idea what is even going on.

2 years ago🔊 Change log message
David ‘Bombe’ Roden [Wed, 27 Oct 2021 11:10:26 +0000 (13:10 +0200)]
🔊 Change log message

The old message was pretty misleading.

2 years agoImprove download logic in case of mismatching filenames
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!

2 years ago🔥 Remove unnecessary function
David ‘Bombe’ Roden [Sat, 25 Sep 2021 16:32:40 +0000 (18:32 +0200)]
🔥 Remove unnecessary function

2 years ago🎨 Use static imports in test
David ‘Bombe’ Roden [Sat, 25 Sep 2021 16:20:33 +0000 (18:20 +0200)]
🎨 Use static imports in test

2 years ago🎨 Make field final
David ‘Bombe’ Roden [Sat, 25 Sep 2021 15:58:35 +0000 (17:58 +0200)]
🎨 Make field final

2 years ago🎨 Use method reference instead of anonymous class
David ‘Bombe’ Roden [Sat, 25 Sep 2021 15:57:11 +0000 (17:57 +0200)]
🎨 Use method reference instead of anonymous class

3 years ago⬆️ Update to JaCoCo 0.8.5
David ‘Bombe’ Roden [Sun, 31 May 2020 14:50:40 +0000 (16:50 +0200)]
⬆️ Update to JaCoCo 0.8.5

3 years ago✨ Add multiple downloads at the same time
David ‘Bombe’ Roden [Sun, 31 May 2020 13:05:27 +0000 (15:05 +0200)]
✨ Add multiple downloads at the same time

3 years ago🎨 Replace download command with Kotlin version
David ‘Bombe’ Roden [Sun, 31 May 2020 13:00:25 +0000 (15:00 +0200)]
🎨 Replace download command with Kotlin version

3 years ago✅ Add more tests for current behaviour
David ‘Bombe’ Roden [Sun, 31 May 2020 12:55:49 +0000 (14:55 +0200)]
✅ Add more tests for current behaviour

3 years ago✅ Add first test for download command
David ‘Bombe’ Roden [Sun, 31 May 2020 12:40:54 +0000 (14:40 +0200)]
✅ Add first test for download command

3 years ago🏗 Add Kotlin plugin
David ‘Bombe’ Roden [Sun, 31 May 2020 12:40:07 +0000 (14:40 +0200)]
🏗 Add Kotlin plugin

5 years ago🐛 Fix exclusion in search command
David ‘Bombe’ Roden [Sun, 17 Mar 2019 12:20:50 +0000 (13:20 +0100)]
🐛 Fix exclusion in search command

5 years ago🚸 Sort results by pack name first, then bot name
David ‘Bombe’ Roden [Mon, 11 Mar 2019 12:06:38 +0000 (13:06 +0100)]
🚸 Sort results by pack name first, then bot name

8 years agoImprove logging
David ‘Bombe’ Roden [Mon, 10 Aug 2015 16:45:48 +0000 (18:45 +0200)]
Improve logging

8 years agoAdd toString() method to default connection
David ‘Bombe’ Roden [Mon, 10 Aug 2015 16:44:33 +0000 (18:44 +0200)]
Add toString() method to default connection

8 years agoReturn unmodifiable view of packs
David ‘Bombe’ Roden [Thu, 30 Apr 2015 04:39:32 +0000 (06:39 +0200)]
Return unmodifiable view of packs

8 years agoSynchronize all access on packs
David ‘Bombe’ Roden [Thu, 30 Apr 2015 04:39:17 +0000 (06:39 +0200)]
Synchronize all access on packs

8 years agoAdd test for fixed color code removal
David ‘Bombe’ Roden [Wed, 29 Apr 2015 18:13:07 +0000 (20:13 +0200)]
Add test for fixed color code removal

8 years agoRemove old pack if pack with newer ID is added
David ‘Bombe’ Roden [Wed, 29 Apr 2015 18:11:29 +0000 (20:11 +0200)]
Remove old pack if pack with newer ID is added

8 years agoImplement toString method
David ‘Bombe’ Roden [Wed, 29 Apr 2015 18:10:50 +0000 (20:10 +0200)]
Implement toString method

8 years agoIgnore leading zeros when filtering color codes
David ‘Bombe’ Roden [Mon, 27 Apr 2015 17:21:55 +0000 (19:21 +0200)]
Ignore leading zeros when filtering color codes

8 years agoEscape the input, not the output
David ‘Bombe’ Roden [Mon, 27 Apr 2015 17:15:53 +0000 (19:15 +0200)]
Escape the input, not the output

8 years agoPrint escape characters to logger
David ‘Bombe’ Roden [Mon, 27 Apr 2015 16:26:19 +0000 (18:26 +0200)]
Print escape characters to logger

9 years agoAllow cancelling a download even if network is gone
David ‘Bombe’ Roden [Fri, 6 Mar 2015 05:59:52 +0000 (06:59 +0100)]
Allow cancelling a download even if network is gone

9 years agoExpose a connection uptime of 0 if connection is not yet established
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

9 years agoAdd uptime command
David ‘Bombe’ Roden [Mon, 23 Feb 2015 06:14:54 +0000 (07:14 +0100)]
Add uptime command

9 years agoExpose connection uptime
David ‘Bombe’ Roden [Mon, 23 Feb 2015 05:37:22 +0000 (06:37 +0100)]
Expose connection uptime

9 years agoUse Optional from java.util, not Guava
David ‘Bombe’ Roden [Mon, 23 Feb 2015 05:34:46 +0000 (06:34 +0100)]
Use Optional from java.util, not Guava

9 years agoAlways remove all info for a disconnected network.
David ‘Bombe’ Roden [Sat, 31 Jan 2015 08:30:16 +0000 (09:30 +0100)]
Always remove all info for a disconnected network.

9 years agoChange message for channels requiring registration.
David ‘Bombe’ Roden [Wed, 14 Jan 2015 05:50:19 +0000 (06:50 +0100)]
Change message for channels requiring registration.

9 years agoShow timestamp of next connect attempt.
David ‘Bombe’ Roden [Wed, 14 Jan 2015 05:49:55 +0000 (06:49 +0100)]
Show timestamp of next connect attempt.

9 years agoTreat all reasons for not being able to join a channel equally.
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.

9 years agoFix waiting for connections.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 21:24:31 +0000 (22:24 +0100)]
Fix waiting for connections.

9 years agoTreat invite-only channels as banned.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 21:12:07 +0000 (22:12 +0100)]
Treat invite-only channels as banned.

9 years agoLog connection attempts.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 21:09:29 +0000 (22:09 +0100)]
Log connection attempts.

9 years agoFix connection to network.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 21:09:15 +0000 (22:09 +0100)]
Fix connection to network.

9 years agoNotify main loop when we leave a channel.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 20:26:51 +0000 (21:26 +0100)]
Notify main loop when we leave a channel.

9 years agoDon’t run the core test, it’s broken.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 20:20:13 +0000 (21:20 +0100)]
Don’t run the core test, it’s broken.

9 years agoDon’t access optional that’s clearly not set.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 20:03:46 +0000 (21:03 +0100)]
Don’t access optional that’s clearly not set.

9 years agoNotify main loop when a connection failed.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 19:55:08 +0000 (20:55 +0100)]
Notify main loop when a connection failed.

9 years agoSearch for the connection before removing it.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 19:49:30 +0000 (20:49 +0100)]
Search for the connection before removing it.

9 years agoAdd backoff to reconnects.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 19:38:46 +0000 (20:38 +0100)]
Add backoff to reconnects.

9 years agoRemove connection when it’s not established so that it can be retried.
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.

9 years agoSend message when a connection fails.
David ‘Bombe’ Roden [Tue, 13 Jan 2015 17:36:56 +0000 (18:36 +0100)]
Send message when a connection fails.

9 years agoRemove channel we’re kicked from from the correct collection.
David ‘Bombe’ Roden [Mon, 22 Dec 2014 16:56:32 +0000 (17:56 +0100)]
Remove channel we’re kicked from from the correct collection.

9 years agoRemove correct extra channel after being kicked.
David ‘Bombe’ Roden [Mon, 22 Dec 2014 16:56:18 +0000 (17:56 +0100)]
Remove correct extra channel after being kicked.

9 years agoAdd test for network without servers.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 21:16:05 +0000 (22:16 +0100)]
Add test for network without servers.

9 years agoShut down core after the test.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 21:15:30 +0000 (22:15 +0100)]
Shut down core after the test.

9 years agoVerify we shouldn't be running anymore after being triggered.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 21:14:56 +0000 (22:14 +0100)]
Verify we shouldn't be running anymore after being triggered.

9 years agoTrigger the shutdown correctly.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 21:14:43 +0000 (22:14 +0100)]
Trigger the shutdown correctly.

9 years agoUse separate object for syncing the shutdown.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 21:14:32 +0000 (22:14 +0100)]
Use separate object for syncing the shutdown.

9 years agoAdd first test for the core.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 20:32:27 +0000 (21:32 +0100)]
Add first test for the core.

9 years agoExtract connection interface.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 20:32:09 +0000 (21:32 +0100)]
Extract connection interface.

9 years agoUse a connection factory instead of a connection builder.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 19:52:12 +0000 (20:52 +0100)]
Use a connection factory instead of a connection builder.

9 years agoRemove all bots from a channel if we can’t (re-)join a channel.
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.

9 years agoStore a bot’s channel.
David ‘Bombe’ Roden [Mon, 17 Nov 2014 06:00:19 +0000 (07:00 +0100)]
Store a bot’s channel.

9 years agoRemove check for empty topic message.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 20:15:56 +0000 (22:15 +0200)]
Remove check for empty topic message.

9 years agoMove kick handling into the simple command handler.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 20:14:45 +0000 (22:14 +0200)]
Move kick handling into the simple command handler.

9 years agoMove quit handling into simple command handler.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 19:54:53 +0000 (21:54 +0200)]
Move quit handling into simple command handler.

9 years agoMove part 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.

9 years agoMove topic handling into the 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.

9 years agoMove event sending into the command handler.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 19:51:03 +0000 (21:51 +0200)]
Move event sending into the command handler.

9 years agoMove join handling into simple command handler.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 19:46:51 +0000 (21:46 +0200)]
Move join handling into simple command handler.

9 years agoMove nick changes 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.

9 years agoUse a simple command handler for simple commands.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 17:52:19 +0000 (19:52 +0200)]
Use a simple command handler for simple commands.

9 years agoRemove currently unused parameter from event.
David ‘Bombe’ Roden [Wed, 22 Oct 2014 17:48:32 +0000 (19:48 +0200)]
Remove currently unused parameter from event.

9 years agoMove handling of the nicks sent on JOIN to its own handler.
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.

9 years agoUse only a single place to decide if a message is CTCP.
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.

9 years agoAdd unit test for CTCP handler; refactor CTCP handler.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 19:31:37 +0000 (21:31 +0200)]
Add unit test for CTCP handler; refactor CTCP handler.

9 years agoAdd unit test for connection-established handler.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 14:13:08 +0000 (16:13 +0200)]
Add unit test for connection-established handler.

9 years agoMove reply mocking into its own helper class.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 14:06:10 +0000 (16:06 +0200)]
Move reply mocking into its own helper class.

9 years agoReturn an unmodified state.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 13:32:29 +0000 (15:32 +0200)]
Return an unmodified state.

9 years agoFlush output after every command.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 13:32:23 +0000 (15:32 +0200)]
Flush output after every command.

9 years agoFix output of stats command for missing joined or forced channels.
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.

9 years agoTreat non-existing list of bots as an offer of 0 packs.
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.

9 years agoFix message.
David ‘Bombe’ Roden [Sat, 18 Oct 2014 12:41:02 +0000 (14:41 +0200)]
Fix message.

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

9 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.

9 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.

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

9 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.

9 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.

9 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.

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

9 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.

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

9 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.

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

9 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.

9 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.

9 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.