home · contact · privacy
Christian Heller [Sat, 16 Aug 2025 23:11:38 +0000 (01:11 +0200)]
 
Clean up database transfers between Client and TUI.
Christian Heller [Fri, 15 Aug 2025 06:23:31 +0000 (08:23 +0200)]
 
Greatly simplify database code.
Christian Heller [Fri, 15 Aug 2025 04:45:26 +0000 (06:45 +0200)]
 
Add basic infrastructure for collecting channel information.
Christian Heller [Thu, 14 Aug 2025 18:32:37 +0000 (20:32 +0200)]
 
Add further parameter number expectations.
Christian Heller [Thu, 14 Aug 2025 18:20:56 +0000 (20:20 +0200)]
 
Ignore messages not matching expected limitations, e.g. number of params.
Christian Heller [Thu, 14 Aug 2025 16:39:34 +0000 (18:39 +0200)]
 
Add MODE message handler.
Christian Heller [Thu, 14 Aug 2025 16:36:30 +0000 (18:36 +0200)]
 
Fix stumbling over banned .__setattr__ in ClientDb's own methods.
Christian Heller [Thu, 14 Aug 2025 14:53:56 +0000 (16:53 +0200)]
 
Refactor ClientDb type safety, disallow direct attribut setting.
Christian Heller [Thu, 14 Aug 2025 14:37:01 +0000 (16:37 +0200)]
 
Enforce more type safety on ClientDb.
Christian Heller [Thu, 14 Aug 2025 12:53:05 +0000 (14:53 +0200)]
 
Improve type safety of _ClientDb.conn_setup.
Christian Heller [Thu, 14 Aug 2025 12:52:21 +0000 (14:52 +0200)]
 
Only expose of ClientDb to ClientTui what it actually makes use of.
Christian Heller [Thu, 14 Aug 2025 12:30:27 +0000 (14:30 +0200)]
 
Slightly refactor ClientDb type hints.
Christian Heller [Thu, 14 Aug 2025 12:14:07 +0000 (14:14 +0200)]
 
Allow for exceptions that crash app but explain some more details.
Christian Heller [Thu, 14 Aug 2025 12:01:34 +0000 (14:01 +0200)]
 
Handle 396 numeric.
Christian Heller [Thu, 14 Aug 2025 11:44:28 +0000 (13:44 +0200)]
 
Reduce _CapsManager, move communicable output into _ClientDb.
Christian Heller [Thu, 14 Aug 2025 10:29:01 +0000 (12:29 +0200)]
 
In TUI ignore confirmations of anything but the nickname field.
Christian Heller [Thu, 14 Aug 2025 10:21:34 +0000 (12:21 +0200)]
 
Improve numerics handling with own class Numerics.
Christian Heller [Thu, 14 Aug 2025 09:52:47 +0000 (11:52 +0200)]
 
Simplify MOTD handling, complefixy ignorance of numerics.
Christian Heller [Thu, 14 Aug 2025 09:41:41 +0000 (11:41 +0200)]
 
Simplify inner workings of ClientDb, get rid of some clearing necessities.
Christian Heller [Thu, 14 Aug 2025 07:51:03 +0000 (09:51 +0200)]
 
Add 005 handling, improve ClientDb logging infrastructure.
Christian Heller [Wed, 13 Aug 2025 15:29:30 +0000 (17:29 +0200)]
 
Define entire numerics ranges to ignore.
Christian Heller [Wed, 13 Aug 2025 14:37:29 +0000 (16:37 +0200)]
 
Refactor ClientDb usage.
Christian Heller [Wed, 13 Aug 2025 13:37:39 +0000 (15:37 +0200)]
 
Re-instate parsing of 001 for determining our nickname.
Christian Heller [Wed, 13 Aug 2025 08:46:44 +0000 (10:46 +0200)]
 
Add more numerics handlers, alarm on missing ones.
Christian Heller [Wed, 13 Aug 2025 06:31:56 +0000 (08:31 +0200)]
 
Only enable /part for channel windows.
Christian Heller [Wed, 13 Aug 2025 06:23:17 +0000 (08:23 +0200)]
 
Also parse NOTICEs into chat and server messages.
Christian Heller [Wed, 13 Aug 2025 05:24:50 +0000 (07:24 +0200)]
 
Add /raw to directly write raw commands.
Christian Heller [Tue, 12 Aug 2025 23:48:20 +0000 (01:48 +0200)]
 
Log :RAW to file.
Christian Heller [Tue, 12 Aug 2025 23:44:24 +0000 (01:44 +0200)]
 
Re-organize client-communicable settings/fields into new ClientDb structure.
Christian Heller [Tue, 12 Aug 2025 20:58:33 +0000 (22:58 +0200)]
 
Add /part, parse PART and JOIN server messages, improve channel log targeting, add IrcMessage.nick_from_source.
Christian Heller [Mon, 11 Aug 2025 08:54:36 +0000 (10:54 +0200)]
 
Add /join and /privmsg to channels, beyond just single-user queries.
Christian Heller [Mon, 11 Aug 2025 07:59:53 +0000 (09:59 +0200)]
 
Add some more docstrings.
Christian Heller [Mon, 11 Aug 2025 07:57:28 +0000 (09:57 +0200)]
 
Move StatusLine out of Window, show live updates on other windows' activity, drop auto-switching to new windows.
Christian Heller [Mon, 11 Aug 2025 05:15:19 +0000 (07:15 +0200)]
 
Simplify base TUI code.
Christian Heller [Mon, 11 Aug 2025 05:02:48 +0000 (07:02 +0200)]
 
Fix in/out direction display of raw log.
Christian Heller [Mon, 11 Aug 2025 02:30:32 +0000 (04:30 +0200)]
 
Turn status line into its own widget.
Christian Heller [Mon, 11 Aug 2025 01:54:16 +0000 (03:54 +0200)]
 
Make .tainted hierarchical, disallow direct unsetting except on self.
Christian Heller [Mon, 11 Aug 2025 00:47:20 +0000 (02:47 +0200)]
 
Remove some redundant drawing code.
Christian Heller [Sun, 10 Aug 2025 21:25:25 +0000 (23:25 +0200)]
 
Minor refactoring for better readability.
Christian Heller [Sun, 10 Aug 2025 20:56:48 +0000 (22:56 +0200)]
 
Abstract partly layouty STREAM_* into mere LogScope(Enum).
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.
Christian Heller [Sun, 10 Aug 2025 17:01:46 +0000 (19:01 +0200)]
 
Move log prefixes out of client.py.
Christian Heller [Sun, 10 Aug 2025 15:48:12 +0000 (17:48 +0200)]
 
Don't hardcode default prefix into alert prefix.
Christian Heller [Sun, 10 Aug 2025 15:20:55 +0000 (17:20 +0200)]
 
Clean up imports.
Christian Heller [Sun, 10 Aug 2025 15:06:11 +0000 (17:06 +0200)]
 
Differentiate /privmsg logging failure into STREAM_SAME, to_log into target.
Christian Heller [Sun, 10 Aug 2025 13:23:53 +0000 (15:23 +0200)]
 
Get rid of events.py:Logger.
Christian Heller [Sun, 10 Aug 2025 13:07:18 +0000 (15:07 +0200)]
 
For _ClientWindowManager.log, allow msg= as positional argument.
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.
Christian Heller [Sun, 10 Aug 2025 12:56:12 +0000 (14:56 +0200)]
 
Also show STREAM_SERVER in :raw window.
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.
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.
Christian Heller [Sun, 10 Aug 2025 12:10:42 +0000 (14:10 +0200)]
 
Announce explicitly requested disconnecting attempt (to differentiate unrequested results).
Christian Heller [Sun, 10 Aug 2025 12:03:48 +0000 (14:03 +0200)]
 
Remove actual main offender line targeted by previous commit.
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.
Christian Heller [Sun, 10 Aug 2025 11:56:16 +0000 (13:56 +0200)]
 
In _ClientWindowsManager.update(), don't abort after the first processed _PrivmsgWindow.
Christian Heller [Sun, 10 Aug 2025 11:40:07 +0000 (13:40 +0200)]
 
Slightly improve messaging around connecting attempts.
Christian Heller [Sun, 10 Aug 2025 11:34:26 +0000 (13:34 +0200)]
 
In connecting log, don't assume failures only happen for reconnection.
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.
Christian Heller [Sun, 10 Aug 2025 11:08:50 +0000 (13:08 +0200)]
 
Log slightly more expressivly about SASL stuff.
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.
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.
Christian Heller [Sun, 10 Aug 2025 10:24:13 +0000 (12:24 +0200)]
 
Turn ._alert calls into just a flag of Logger.add().
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).
Christian Heller [Sun, 10 Aug 2025 09:52:14 +0000 (11:52 +0200)]
 
Rename confusing STREAM_GLOB to STREAM_ALL.
Christian Heller [Sun, 10 Aug 2025 09:48:30 +0000 (11:48 +0200)]
 
Remove debugging code crashing new connections.
Christian Heller [Sun, 10 Aug 2025 09:46:19 +0000 (11:46 +0200)]
 
Handle more gracefully expected exceptions in BaseIrcConnection._read_lines.
Christian Heller [Sun, 10 Aug 2025 09:25:37 +0000 (11:25 +0200)]
 
Fix command argument parser forgetting splittable last parts of last arg.
Christian Heller [Thu, 7 Aug 2025 13:58:54 +0000 (15:58 +0200)]
 
Fix accidental doubling of :server, :raw window references in .windows.
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.
Christian Heller [Thu, 7 Aug 2025 04:37:39 +0000 (06:37 +0200)]
 
Slightly improve consistency in Logger attributes naming.
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.
Christian Heller [Thu, 7 Aug 2025 02:35:07 +0000 (04:35 +0200)]
 
Add basic time display to all log lines.
Christian Heller [Thu, 7 Aug 2025 02:14:18 +0000 (04:14 +0200)]
 
Minor layout modification in status line.
Christian Heller [Thu, 7 Aug 2025 02:11:17 +0000 (04:11 +0200)]
 
Improve status title display, and /list listings.
Christian Heller [Thu, 7 Aug 2025 02:01:06 +0000 (04:01 +0200)]
 
Add /list to index available windows.
Christian Heller [Wed, 6 Aug 2025 23:44:52 +0000 (01:44 +0200)]
 
Fix erroneous sharing of .windows between _ClientWindowsManagers.
Christian Heller [Wed, 6 Aug 2025 23:17:56 +0000 (01:17 +0200)]
 
Improve nickname display in prompt, privmsg logs.
Christian Heller [Wed, 6 Aug 2025 23:05:24 +0000 (01:05 +0200)]
 
Minor refactoring.
Christian Heller [Wed, 6 Aug 2025 22:32:13 +0000 (00:32 +0200)]
 
Improve code readability / decryptify method names.
Christian Heller [Wed, 6 Aug 2025 22:22:15 +0000 (00:22 +0200)]
 
Minor refactoring.
Christian Heller [Wed, 6 Aug 2025 21:56:00 +0000 (23:56 +0200)]
 
Minor refactoring.
Christian Heller [Wed, 6 Aug 2025 21:52:33 +0000 (23:52 +0200)]
 
Add _ClientWindowsManager for better control of Client-TUI relations.
Christian Heller [Wed, 6 Aug 2025 20:46:26 +0000 (22:46 +0200)]
 
Minor AffectiveEvent.affector() refactoring.
Christian Heller [Wed, 6 Aug 2025 20:09:54 +0000 (22:09 +0200)]
 
Refactor TUI client events to make use of affector pattern.
Christian Heller [Wed, 6 Aug 2025 17:40:54 +0000 (19:40 +0200)]
 
Overhaul chat= message targeting into explicitly named streams.
Christian Heller [Wed, 6 Aug 2025 17:05:55 +0000 (19:05 +0200)]
 
Minor refactoring.
Christian Heller [Wed, 6 Aug 2025 14:59:44 +0000 (16:59 +0200)]
 
Overhaul nickname display updates, only show in _PrivmsgPromptWidget.
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.
Christian Heller [Wed, 6 Aug 2025 13:47:43 +0000 (15:47 +0200)]
 
Strengthen pattern of commands returning strings to trigger alerts.
Christian Heller [Wed, 6 Aug 2025 13:18:36 +0000 (15:18 +0200)]
 
Refactor commands database.
Christian Heller [Wed, 6 Aug 2025 13:16:53 +0000 (15:16 +0200)]
 
Remove overloading of /connect to simplify things, avoid confusion.
Christian Heller [Wed, 6 Aug 2025 12:18:24 +0000 (14:18 +0200)]
 
Add /help command to print available commands.
Christian Heller [Wed, 6 Aug 2025 11:10:46 +0000 (13:10 +0200)]
 
Improve BaseTui.cmd__prompt__enter  error detection/communication.
Christian Heller [Wed, 6 Aug 2025 09:15:21 +0000 (11:15 +0200)]
 
Undo a few over-zealous name privatizations.
Christian Heller [Tue, 5 Aug 2025 17:48:09 +0000 (19:48 +0200)]
 
Various smaller code-style improvements.
Christian Heller [Tue, 5 Aug 2025 17:01:51 +0000 (19:01 +0200)]
 
Minor code-style improvements.
Christian Heller [Tue, 5 Aug 2025 16:27:30 +0000 (18:27 +0200)]
 
Provide meaningful name to AffectiveEvent.attractor() outputs.
Christian Heller [Tue, 5 Aug 2025 16:20:23 +0000 (18:20 +0200)]
 
Replace AffectiveEvent.make_subtype with .affector of better inheritance handling.
Christian Heller [Tue, 5 Aug 2025 11:43:09 +0000 (13:43 +0200)]
 
Some more refactoring.
Christian Heller [Tue, 5 Aug 2025 11:04:32 +0000 (13:04 +0200)]
 
Sort out dataclasses Mixins on _IrcConnection.