home · contact · privacy
ircplom
57 min agoExtend logs of nickname changes to privmsg windows, so we know who we are. master
Christian Heller [Sun, 10 Aug 2025 17:21:00 +0000 (19:21 +0200)]
Extend logs of nickname changes to privmsg windows, so we know who we are.

77 min agoMove log prefixes out of client.py.
Christian Heller [Sun, 10 Aug 2025 17:01:46 +0000 (19:01 +0200)]
Move log prefixes out of client.py.

2 hours agoDon't hardcode default prefix into alert prefix.
Christian Heller [Sun, 10 Aug 2025 15:48:12 +0000 (17:48 +0200)]
Don't hardcode default prefix into alert prefix.

2 hours agoClean up imports.
Christian Heller [Sun, 10 Aug 2025 15:20:55 +0000 (17:20 +0200)]
Clean up imports.

3 hours agoDifferentiate /privmsg logging failure into STREAM_SAME, to_log into target.
Christian Heller [Sun, 10 Aug 2025 15:06:11 +0000 (17:06 +0200)]
Differentiate /privmsg logging failure into STREAM_SAME, to_log into target.

4 hours agoGet rid of events.py:Logger.
Christian Heller [Sun, 10 Aug 2025 13:23:53 +0000 (15:23 +0200)]
Get rid of events.py:Logger.

5 hours agoFor _ClientWindowManager.log, allow msg= as positional argument.
Christian Heller [Sun, 10 Aug 2025 13:07:18 +0000 (15:07 +0200)]
For _ClientWindowManager.log, allow msg= as positional argument.

5 hours agoMove nickname status change log message construction from client.py into client_tui.py.
Christian Heller [Sun, 10 Aug 2025 13:04:57 +0000 (15:04 +0200)]
Move nickname status change log message construction from client.py into client_tui.py.

5 hours agoAlso show STREAM_SERVER in :raw window.
Christian Heller [Sun, 10 Aug 2025 12:56:12 +0000 (14:56 +0200)]
Also show STREAM_SERVER in :raw window.

5 hours agoWith .log a lambda to "or True", no need to check non-boolean returns.
Christian Heller [Sun, 10 Aug 2025 12:52:29 +0000 (14:52 +0200)]
With .log a lambda to "or True", no need to check non-boolean returns.

5 hours agoTo have _ClientWindowManager.log use parent's ._log, factor window selection into...
Christian Heller [Sun, 10 Aug 2025 12:45:33 +0000 (14:45 +0200)]
To have _ClientWindowManager.log use parent's ._log, factor window selection into ._log_target_windows hook.

6 hours agoAnnounce explicitly requested disconnecting attempt (to differentiate unrequested...
Christian Heller [Sun, 10 Aug 2025 12:10:42 +0000 (14:10 +0200)]
Announce explicitly requested disconnecting attempt (to differentiate unrequested results).

6 hours agoRemove actual main offender line targeted by previous commit.
Christian Heller [Sun, 10 Aug 2025 12:03:48 +0000 (14:03 +0200)]
Remove actual main offender line targeted by previous commit.

6 hours agoDepend tainting in _WindowClientManager.update re prompts on actual changes having...
Christian Heller [Sun, 10 Aug 2025 12:02:29 +0000 (14:02 +0200)]
Depend tainting in _WindowClientManager.update re prompts on actual changes having happened.

6 hours agoIn _ClientWindowsManager.update(), don't abort after the first processed _PrivmsgWindow.
Christian Heller [Sun, 10 Aug 2025 11:56:16 +0000 (13:56 +0200)]
In _ClientWindowsManager.update(), don't abort after the first processed _PrivmsgWindow.

6 hours agoSlightly improve messaging around connecting attempts.
Christian Heller [Sun, 10 Aug 2025 11:40:07 +0000 (13:40 +0200)]
Slightly improve messaging around connecting attempts.

6 hours agoIn connecting log, don't assume failures only happen for reconnection.
Christian Heller [Sun, 10 Aug 2025 11:34:26 +0000 (13:34 +0200)]
In connecting log, don't assume failures only happen for reconnection.

6 hours agoMove representational logic for Client.conn_setup, .caps into client_tui module.
Christian Heller [Sun, 10 Aug 2025 11:29:10 +0000 (13:29 +0200)]
Move representational logic for Client.conn_setup, .caps into client_tui module.

7 hours agoLog slightly more expressivly about SASL stuff.
Christian Heller [Sun, 10 Aug 2025 11:08:50 +0000 (13:08 +0200)]
Log slightly more expressivly about SASL stuff.

7 hours agoEnsure /reconnect on "already connected" failure complains directly back into calling...
Christian Heller [Sun, 10 Aug 2025 11:00:32 +0000 (13:00 +0200)]
Ensure /reconnect on "already connected" failure complains directly back into calling window.

7 hours agoRefactor ._log.add() to mere ._log(), now that .alert is out of the way.
Christian Heller [Sun, 10 Aug 2025 10:29:13 +0000 (12:29 +0200)]
Refactor ._log.add() to mere ._log(), now that .alert is out of the way.

7 hours agoTurn ._alert calls into just a flag of Logger.add().
Christian Heller [Sun, 10 Aug 2025 10:24:13 +0000 (12:24 +0200)]
Turn ._alert calls into just a flag of Logger.add().

8 hours agoMove log generation out of _CapsManager.process_msg (towards long-term goal: out...
Christian Heller [Sun, 10 Aug 2025 10:05:47 +0000 (12:05 +0200)]
Move log generation out of _CapsManager.process_msg (towards long-term goal: out of Client).

8 hours agoRename confusing STREAM_GLOB to STREAM_ALL.
Christian Heller [Sun, 10 Aug 2025 09:52:14 +0000 (11:52 +0200)]
Rename confusing STREAM_GLOB to STREAM_ALL.

8 hours agoRemove debugging code crashing new connections.
Christian Heller [Sun, 10 Aug 2025 09:48:30 +0000 (11:48 +0200)]
Remove debugging code crashing new connections.

8 hours agoHandle more gracefully expected exceptions in BaseIrcConnection._read_lines.
Christian Heller [Sun, 10 Aug 2025 09:46:19 +0000 (11:46 +0200)]
Handle more gracefully expected exceptions in BaseIrcConnection._read_lines.

8 hours agoFix command argument parser forgetting splittable last parts of last arg.
Christian Heller [Sun, 10 Aug 2025 09:25:37 +0000 (11:25 +0200)]
Fix command argument parser forgetting splittable last parts of last arg.

3 days agoFix accidental doubling of :server, :raw window references in .windows.
Christian Heller [Thu, 7 Aug 2025 13:58:54 +0000 (15:58 +0200)]
Fix accidental doubling of :server, :raw window references in .windows.

3 days agoFix Client.send log.alerting into STREAM_SERVER instead of param'd stream.
Christian Heller [Thu, 7 Aug 2025 13:57:10 +0000 (15:57 +0200)]
Fix Client.send log.alerting into STREAM_SERVER instead of param'd stream.

3 days agoSlightly improve consistency in Logger attributes naming.
Christian Heller [Thu, 7 Aug 2025 04:37:39 +0000 (06:37 +0200)]
Slightly improve consistency in Logger attributes naming.

3 days agoRename _LogWidget to _HistoryWidget, its .log to .history, for less confusion with...
Christian Heller [Thu, 7 Aug 2025 03:01:13 +0000 (05:01 +0200)]
Rename _LogWidget to _HistoryWidget, its .log to .history, for less confusion with Logger etc.

3 days agoAdd basic time display to all log lines.
Christian Heller [Thu, 7 Aug 2025 02:35:07 +0000 (04:35 +0200)]
Add basic time display to all log lines.

3 days agoMinor layout modification in status line.
Christian Heller [Thu, 7 Aug 2025 02:14:18 +0000 (04:14 +0200)]
Minor layout modification in status line.

3 days agoImprove status title display, and /list listings.
Christian Heller [Thu, 7 Aug 2025 02:11:17 +0000 (04:11 +0200)]
Improve status title display, and /list listings.

3 days agoAdd /list to index available windows.
Christian Heller [Thu, 7 Aug 2025 02:01:06 +0000 (04:01 +0200)]
Add /list to index available windows.

3 days agoFix erroneous sharing of .windows between _ClientWindowsManagers.
Christian Heller [Wed, 6 Aug 2025 23:44:52 +0000 (01:44 +0200)]
Fix erroneous sharing of .windows between _ClientWindowsManagers.

3 days agoImprove nickname display in prompt, privmsg logs.
Christian Heller [Wed, 6 Aug 2025 23:17:56 +0000 (01:17 +0200)]
Improve nickname display in prompt, privmsg logs.

3 days agoMinor refactoring.
Christian Heller [Wed, 6 Aug 2025 23:05:24 +0000 (01:05 +0200)]
Minor refactoring.

3 days agoImprove code readability / decryptify method names.
Christian Heller [Wed, 6 Aug 2025 22:32:13 +0000 (00:32 +0200)]
Improve code readability / decryptify method names.

3 days agoMinor refactoring.
Christian Heller [Wed, 6 Aug 2025 22:22:15 +0000 (00:22 +0200)]
Minor refactoring.

3 days agoMinor refactoring.
Christian Heller [Wed, 6 Aug 2025 21:56:00 +0000 (23:56 +0200)]
Minor refactoring.

3 days agoAdd _ClientWindowsManager for better control of Client-TUI relations.
Christian Heller [Wed, 6 Aug 2025 21:52:33 +0000 (23:52 +0200)]
Add _ClientWindowsManager for better control of Client-TUI relations.

3 days agoMinor AffectiveEvent.affector() refactoring.
Christian Heller [Wed, 6 Aug 2025 20:46:26 +0000 (22:46 +0200)]
Minor AffectiveEvent.affector() refactoring.

3 days agoRefactor TUI client events to make use of affector pattern.
Christian Heller [Wed, 6 Aug 2025 20:09:54 +0000 (22:09 +0200)]
Refactor TUI client events to make use of affector pattern.

4 days agoOverhaul chat= message targeting into explicitly named streams.
Christian Heller [Wed, 6 Aug 2025 17:40:54 +0000 (19:40 +0200)]
Overhaul chat= message targeting into explicitly named streams.

4 days agoMinor refactoring.
Christian Heller [Wed, 6 Aug 2025 17:05:55 +0000 (19:05 +0200)]
Minor refactoring.

4 days agoOverhaul nickname display updates, only show in _PrivmsgPromptWidget.
Christian Heller [Wed, 6 Aug 2025 14:59:44 +0000 (16:59 +0200)]
Overhaul nickname display updates, only show in _PrivmsgPromptWidget.

4 days agoRemove code no longer used after getting rid of .cmd__connect overload.
Christian Heller [Wed, 6 Aug 2025 13:52:19 +0000 (15:52 +0200)]
Remove code no longer used after getting rid of .cmd__connect overload.

4 days agoStrengthen pattern of commands returning strings to trigger alerts.
Christian Heller [Wed, 6 Aug 2025 13:47:43 +0000 (15:47 +0200)]
Strengthen pattern of commands returning strings to trigger alerts.

4 days agoRefactor commands database.
Christian Heller [Wed, 6 Aug 2025 13:18:36 +0000 (15:18 +0200)]
Refactor commands database.

4 days agoRemove overloading of /connect to simplify things, avoid confusion.
Christian Heller [Wed, 6 Aug 2025 13:16:53 +0000 (15:16 +0200)]
Remove overloading of /connect to simplify things, avoid confusion.

4 days agoAdd /help command to print available commands.
Christian Heller [Wed, 6 Aug 2025 12:18:24 +0000 (14:18 +0200)]
Add /help command to print available commands.

4 days agoImprove BaseTui.cmd__prompt__enter error detection/communication.
Christian Heller [Wed, 6 Aug 2025 11:10:46 +0000 (13:10 +0200)]
Improve BaseTui.cmd__prompt__enter  error detection/communication.

4 days agoUndo a few over-zealous name privatizations.
Christian Heller [Wed, 6 Aug 2025 09:15:21 +0000 (11:15 +0200)]
Undo a few over-zealous name privatizations.

5 days agoVarious smaller code-style improvements.
Christian Heller [Tue, 5 Aug 2025 17:48:09 +0000 (19:48 +0200)]
Various smaller code-style improvements.

5 days agoMinor code-style improvements.
Christian Heller [Tue, 5 Aug 2025 17:01:51 +0000 (19:01 +0200)]
Minor code-style improvements.

5 days agoProvide meaningful name to AffectiveEvent.attractor() outputs.
Christian Heller [Tue, 5 Aug 2025 16:27:30 +0000 (18:27 +0200)]
Provide meaningful name to AffectiveEvent.attractor() outputs.

5 days agoReplace AffectiveEvent.make_subtype with .affector of better inheritance handling.
Christian Heller [Tue, 5 Aug 2025 16:20:23 +0000 (18:20 +0200)]
Replace AffectiveEvent.make_subtype with .affector of better inheritance handling.

5 days agoSome more refactoring.
Christian Heller [Tue, 5 Aug 2025 11:43:09 +0000 (13:43 +0200)]
Some more refactoring.

5 days agoSort out dataclasses Mixins on _IrcConnection.
Christian Heller [Tue, 5 Aug 2025 11:04:32 +0000 (13:04 +0200)]
Sort out dataclasses Mixins on _IrcConnection.

5 days agoRemove unused constant.
Christian Heller [Tue, 5 Aug 2025 10:13:44 +0000 (12:13 +0200)]
Remove unused constant.

5 days agoMore .make_subtype refactoring.
Christian Heller [Tue, 5 Aug 2025 04:18:06 +0000 (06:18 +0200)]
More .make_subtype refactoring.

5 days agoMinor code style improvements.
Christian Heller [Tue, 5 Aug 2025 04:10:03 +0000 (06:10 +0200)]
Minor code style improvements.

5 days agoRefactor off PayloadMixin.
Christian Heller [Tue, 5 Aug 2025 04:05:04 +0000 (06:05 +0200)]
Refactor off PayloadMixin.

5 days agoRefactor off InitReconnectEvent.
Christian Heller [Tue, 5 Aug 2025 03:47:30 +0000 (05:47 +0200)]
Refactor off InitReconnectEvent.

5 days agoMinor code style improvements.
Christian Heller [Tue, 5 Aug 2025 03:41:07 +0000 (05:41 +0200)]
Minor code style improvements.

5 days agoRefactor out SendEvent.
Christian Heller [Tue, 5 Aug 2025 03:39:23 +0000 (05:39 +0200)]
Refactor out SendEvent.

5 days agoImprove query window log formatting.
Christian Heller [Tue, 5 Aug 2025 03:26:36 +0000 (05:26 +0200)]
Improve query window log formatting.

5 days agoOverload /connect with connecting anew _and_ re-connecting.
Christian Heller [Tue, 5 Aug 2025 02:45:55 +0000 (04:45 +0200)]
Overload /connect with connecting anew _and_ re-connecting.

5 days agoFor .cmd__connect allow fall-back to default values on most args.
Christian Heller [Tue, 5 Aug 2025 02:44:50 +0000 (04:44 +0200)]
For .cmd__connect allow fall-back to default values on most args.

5 days agoUse hostnames for Client.id_ rather than UUIDs.
Christian Heller [Tue, 5 Aug 2025 01:39:41 +0000 (03:39 +0200)]
Use hostnames for Client.id_  rather than UUIDs.

5 days agoExpand window titles in status line.
Christian Heller [Tue, 5 Aug 2025 00:50:07 +0000 (02:50 +0200)]
Expand window titles in status line.

5 days agoAllow slash-free direct chatting in PRIVMSG windows.
Christian Heller [Tue, 5 Aug 2025 00:43:22 +0000 (02:43 +0200)]
Allow slash-free direct chatting in PRIVMSG windows.

5 days agoMinor SASL negotiation refactoring.
Christian Heller [Mon, 4 Aug 2025 21:13:36 +0000 (23:13 +0200)]
Minor SASL negotiation refactoring.

5 days agoAdd port configuration, and wrap into SSL context if standard SSL port.
Christian Heller [Mon, 4 Aug 2025 21:01:10 +0000 (23:01 +0200)]
Add port configuration, and wrap into SSL context if standard SSL port.

5 days agoFix PRIVMSG windows not mapping to target nickname.
Christian Heller [Mon, 4 Aug 2025 20:18:14 +0000 (22:18 +0200)]
Fix PRIVMSG windows not mapping to target nickname.

5 days agoPerform SASL during CAP negotation, handle success case.
Christian Heller [Mon, 4 Aug 2025 20:17:41 +0000 (22:17 +0200)]
Perform SASL during CAP negotation, handle success case.

5 days agoAdd very rudimentary SASL PLAIN authentication mechanism.
Christian Heller [Mon, 4 Aug 2025 19:48:38 +0000 (21:48 +0200)]
Add very rudimentary SASL PLAIN authentication mechanism.

6 days agoHandle CAP NEW and CAP DEL.
Christian Heller [Mon, 4 Aug 2025 17:38:13 +0000 (19:38 +0200)]
Handle CAP NEW and CAP DEL.

6 days agoFix proken CAPS LS challenge.
Christian Heller [Mon, 4 Aug 2025 17:25:02 +0000 (19:25 +0200)]
Fix proken CAPS LS challenge.

6 days agoClean up and refactor into own manager class CAPS negotation.
Christian Heller [Mon, 4 Aug 2025 17:16:32 +0000 (19:16 +0200)]
Clean up and refactor into own manager class CAPS negotation.

6 days agoFix client prompt prefix syncs.
Christian Heller [Mon, 4 Aug 2025 16:06:47 +0000 (18:06 +0200)]
Fix client prompt prefix syncs.

6 days agoMore Events refactoring.
Christian Heller [Mon, 4 Aug 2025 14:57:15 +0000 (16:57 +0200)]
More Events refactoring.

6 days agoFurther simplify TuiEvents.
Christian Heller [Mon, 4 Aug 2025 13:51:07 +0000 (15:51 +0200)]
Further simplify TuiEvents.

6 days agoRefactor out _SetScreenEvent.
Christian Heller [Mon, 4 Aug 2025 13:42:58 +0000 (15:42 +0200)]
Refactor out _SetScreenEvent.

6 days agoRefactor logging.
Christian Heller [Mon, 4 Aug 2025 13:09:11 +0000 (15:09 +0200)]
Refactor logging.

6 days agoSome more Events refactoring.
Christian Heller [Mon, 4 Aug 2025 10:15:46 +0000 (12:15 +0200)]
Some more Events refactoring.

6 days agoMajor restructuring.
Christian Heller [Mon, 4 Aug 2025 09:41:28 +0000 (11:41 +0200)]
Major restructuring.

6 days agoRefactor incoming-messages handling.
Christian Heller [Mon, 4 Aug 2025 08:23:40 +0000 (10:23 +0200)]
Refactor incoming-messages handling.

6 days agoMove low-level IrcConnection code out of Client.
Christian Heller [Mon, 4 Aug 2025 08:07:04 +0000 (10:07 +0200)]
Move low-level IrcConnection code out of Client.

6 days agoDataclass classes pylint complains about having too few public methods.
Christian Heller [Mon, 4 Aug 2025 04:55:41 +0000 (06:55 +0200)]
Dataclass classes pylint complains about having too few public methods.

13 days agoFurther re-organize CAP LS/LIST parsing.
Christian Heller [Mon, 28 Jul 2025 02:56:07 +0000 (04:56 +0200)]
Further re-organize CAP LS/LIST parsing.

13 days agoFix IRC messages parsing error.
Christian Heller [Sun, 27 Jul 2025 19:30:40 +0000 (21:30 +0200)]
Fix IRC messages parsing error.

2 weeks agoTreat ERROR message always as connection closer.
Christian Heller [Sun, 27 Jul 2025 17:52:47 +0000 (19:52 +0200)]
Treat ERROR message always as connection closer.

2 weeks agoAdd ":raw" window to separate raw server log from self-crafted logs.
Christian Heller [Sun, 27 Jul 2025 17:29:34 +0000 (19:29 +0200)]
Add ":raw" window to separate raw server log from self-crafted logs.

2 weeks agoImprove CAPS collection logic, display.
Christian Heller [Sun, 27 Jul 2025 17:18:14 +0000 (19:18 +0200)]
Improve CAPS collection logic, display.

2 weeks agoImprove CAPS LS/LIST handling.
Christian Heller [Sun, 27 Jul 2025 02:26:36 +0000 (04:26 +0200)]
Improve CAPS LS/LIST handling.

2 weeks agoMinor code reorganization.
Christian Heller [Sat, 26 Jul 2025 23:30:43 +0000 (01:30 +0200)]
Minor code reorganization.

2 weeks agoAlso collect enabled server capabilities.
Christian Heller [Sat, 26 Jul 2025 22:10:49 +0000 (00:10 +0200)]
Also collect enabled server capabilities.

2 weeks agoHandle ConnectionResetError.
Christian Heller [Sat, 26 Jul 2025 21:54:25 +0000 (23:54 +0200)]
Handle ConnectionResetError.