From a793ee9ad85fab3cf316abe1e832eb39d58e437c Mon Sep 17 00:00:00 2001 From: hanez Date: Fri, 24 Jul 2026 20:48:50 +0200 Subject: [PATCH] CHANGELOG.md date fixes. No code changes. (0.40.9) --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc7298b..0fa528f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,11 @@ -24.07.24 - Reduced MAX_HISTORY, moved LOAD_FUNC macro, added irc_reply docs. (0.40.9) +2026.07.24 - Reduced MAX_HISTORY, moved LOAD_FUNC macro, added irc_reply docs. (0.40.9) - Reduced `MAX_HISTORY` from 100 to 12 to decrease AI context memory usage. - Moved `LOAD_FUNC` macro from `zynk.h` to `db.h` for better code organization (closer to its usage in sqlite_init_lib). - Added comprehensive doc comment to `irc_reply()` function describing its nick-prefixing behavior for channel messages. - Reordered includes in `zynk.c` to alphabetical order. -26.07.24 - Nick-prefixed channel replies for all non-admin commands. (0.40.8) +2026.07.24 - Nick-prefixed channel replies for all non-admin commands. (0.40.8) - Added `irc_reply()`: a new IRC response helper that automatically prepends the sender's nick to channel messages (e.g. `"nick: pong!"`), while leaving private-message responses unmodified. This makes it clear which user the bot is addressing in busy channels. - Converted all non-admin command handlers to use `irc_reply()` instead of raw `irc_msg()`: `!ping`, `!zynk`, `!weather`, `!forecast`, `!stock`, `!calc`, `!time`, `!seen`, `!tell`, `!gitlog`, `!changelog`, `!ai`, `!uptime`, `!version`, `!help`, greeting/chat responses, and the `"Not implemented..."` fallback for unknown `!commands`. @@ -15,7 +15,7 @@ - Admin commands (`!quit`, `!reload`, `!restart`, `!rebuild`, `!code`) are intentionally excluded — these are privileged operations where the nick prefix adds no value. - The `tell_deliver()` function retains its own existing format and was not modified. -26.07.24 - Secure file ops, TLS hardening, input validation, security docs. (0.40.7) +2026.07.24 - Secure file ops, TLS hardening, input validation, security docs. (0.40.7) - Added `secure_state_open()`: hardened file open with O_CLOEXEC, O_NOFOLLOW, mode 0600, regular-file and ownership checks. Prevents symlink attacks, TOCTOU races, and world-writable temp files. - Replaced all `fopen()` calls for temp state files (`/tmp/zynk_reload`, `/tmp/zynk_code_restart`, `/tmp/zynk_make_err`, `/tmp/zynk_rebuild_err`) with `secure_state_open()` + `fdopen()` across hot reload, compile-restart, and rebuild paths.