Add !changelog command, reduce GITLOG_MAX and CHANGELOG_MAX (0.38.0)
- Added !changelog [count] command: displays the latest changelog entries from CHANGELOG.md. Defaults to 5 entries (CHANGELOG_COUNT), accepts 1-10 as count. Each entry title is sent as a separate IRC message with a 200ms delay to avoid IRC server flood protection. - Reduced GITLOG_MAX and CHANGELOG_MAX from 20 to 10. - Rewrote cmd_changelog to use getline() for robust line reading and isdigit() checks for reliable date pattern detection. - Updated !help to list !changelog. - Updated README.md with !changelog documentation and corrected max values. - Added CHANGELOG.md entry for v0.38.0. - Version bumped to 0.38.0.
This commit is contained in:
parent
caa70ee448
commit
e254b64745
3 changed files with 200 additions and 134 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
|
@ -1,3 +1,11 @@
|
|||
2026.07.20 – Add !changelog command.
|
||||
|
||||
- Added `!changelog [count]` command: displays the latest changelog entries from `CHANGELOG.md`. Defaults to 5 entries (`CHANGELOG_COUNT`), accepts 1–10 as count. Each entry title (date line) is sent as a separate IRC message with a 200ms delay to avoid IRC server flood protection.
|
||||
- Reduced `GITLOG_MAX` and `CHANGELOG_MAX` from 20 to 10.
|
||||
- Updated `!help` to list `!changelog`.
|
||||
- Updated README.md with `!changelog` documentation and corrected max values.
|
||||
- Version bumped to 0.38.0.
|
||||
|
||||
2026.07.20 – Add !rebuild command.
|
||||
|
||||
- Added `!rebuild` command (ops only, channels): runs `git pull`, `make clean`, and `make` in sequence, then triggers a hot reload if all steps succeed. If any step fails, the error output from the build is reported to the channel.
|
||||
|
|
@ -124,7 +132,7 @@
|
|||
- Fixed control char leak in irc_msg: drop the message on strdup failure instead of sending unsanitized input on the wire.
|
||||
- Fixed CRLF/control char injection in -pass argument: reject passwords containing control characters at startup.
|
||||
|
||||
2026.07.15 – Numerous optimizations and fixes.
|
||||
2026.07.15 – Numerous optimizations and fixes.
|
||||
|
||||
- Fixed DB/TLS resource cleanup on partial startup failures and normal shutdown.
|
||||
- Fixed net_send() stack over-read risk when vsnprintf() truncates.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue