5d308750e1
Add !uptime command, remove !hello, bump to v0.34.0 (0.34.0)
2026-07-19 02:06:32 +02:00
476554d2cb
v0.33.1: fix hot reload re-registration, add !hello, comprehensive docs
...
- Fixed hot reload: after TLS session restore, the bot now does a fresh
IRC connection and re-sends PASS/NICK/USER to re-register with the
server, fixing the issue where channels were never re-joined after
!reload or !restart.
- Removed ZYNK_RESTORE_FD env var approach; reload_try_restore now
restores settings and returns 1 to trigger a fresh connect.
- Added !hello command for casual greeting.
- Added atomic build rule in Makefile (compile to .tmp, then mv).
- Added comprehensive function-level documentation across the entire
codebase (~80 new doc comments).
2026-07-19 01:29:22 +02:00
76ae9cc1ef
Reuse SSL sessions, added !reload and !restart command and some fixes.
2026-07-19 00:14:30 +02:00
02d73e0af6
Added !command and fixed the !forecast command.
2026-07-18 23:26:57 +02:00
0b6df45fb8
Just typo fixes.
2026-07-16 03:47:09 +02:00
a6ee428f7b
Some more security fixes.
2026-07-16 03:43:00 +02:00
a3774da4ee
Some fixes.
2026-07-16 03:07:33 +02:00
10c45492bc
Added -opencode command-line option to set the path to the opencode binary, overriding OPENCODE_BIN.
2026-07-15 21:19:28 +02:00
999814e5df
Added !help command to list available bot commands.
2026-07-15 21:12:29 +02:00
00e2153ee8
Added VERSION to zynk.c and a !command to request the program version in IRC.
2026-07-15 21:03:42 +02:00
9b5d8df361
Numerous optimizations and fixes.
2026-07-15 19:49:37 +02:00
19329f1201
zynk is removing double spaces in responses now.
2026-07-15 16:10:09 +02:00
2247b9a480
Renamed calc to zynk and refactored all relevant parts.
2026-07-14 23:52:56 +02:00
37db8d4d9b
Some read/write-mode permission fixes.
2026-07-14 23:04:48 +02:00
e5ccc4ae14
Added copyright header to calc.c.
2026-07-14 22:37:37 +02:00
23404bdc49
Automatically switch to act/build mode when running code instructions.
2026-07-14 22:25:56 +02:00
56a733ddfa
Added function to make changes to calc.c itself and increased the timeout by adding a constant AI_TIMEOUT to the enum.
2026-07-14 22:07:18 +02:00
3989d49c0b
Set MAX_HISTORY to 100.
2026-07-14 21:53:14 +02:00
b39e1bfe50
Merge remote-tracking branch 'refs/remotes/origin/main'
2026-07-14 21:46:51 +02:00
a4f86c08f4
Some AI request and answer optimizations.
2026-07-14 21:44:07 +02:00
48986a3bf3
.gitgnore update.
2026-06-29 22:00:18 +02:00
9b6bc29ea8
Fixed multiple critical bugs including race conditions, buffer overflows, and memory visibility issues. Redesigned AI task pipeline for concurrency and improved IRC parsing security. Verified fixes by compiling and manual analysis.
2026-06-29 18:38:05 +02:00
Armin
cf61ad8061
bugfix in ssl handling
2026-06-29 17:31:17 +02:00
Armin
e2ed06a0f1
— -> -
2026-06-29 17:00:08 +02:00
Armin
343185e208
fix: add width specifier to sscanf to prevent buffer overflow in NAMES handler
2026-06-29 16:58:25 +02:00
Armin
dc8083cd24
fix: prevent fallthrough in calc handler and require op to quit in channels
2026-06-29 16:58:11 +02:00
Armin
eee05fc169
fix: replace popen with fork/exec to prevent shell injection
2026-06-29 16:57:51 +02:00
Armin
01c00c87c8
fix: clean up TLS state in AI child process before closing fd
2026-06-29 16:57:40 +02:00
Armin
598a80c927
fix: check asprintf return values to prevent undefined behavior on allocation failure
2026-06-29 16:57:31 +02:00
Armin
7c11783ccf
bugfix: free(nick);
2026-06-29 15:39:10 +02:00
Armin
8a1b10b148
calcs -> calc (2)
2026-06-21 05:15:55 +02:00
Armin
bd21a4bceb
calcs -> calc
2026-06-21 04:37:42 +02:00
Armin
9c4c625dbf
bugfix
2026-06-21 03:31:30 +02:00
Armin
07c62eca88
Fix OC bug
2026-06-21 03:20:11 +02:00
Armin
965e5e5fc1
update README
2026-06-07 22:18:34 +02:00
Armin
bb88db5161
use $PATH lookup instead of hard-coded path
2026-06-07 21:41:42 +02:00
Armin
4707c8304f
update LICENSE / README
2026-06-07 01:52:28 +02:00
Armin
ea1dd23c59
init
2026-06-07 01:50:05 +02:00
Armin
8e86ff746e
Initial commit
2026-06-07 01:49:31 +02:00