1 v1.0.0 (20000725): bug fixes mainly.
2 - GmLB found that scripts/setup_*.pl didn't work. Fixed.
3 - Fixed warning in Modules/Uptime.pl for clean install.
4 - More fixes for scripts/*mysql*.pl from GmLB.
6 - GmLB fixed mysql2txt.pl and txt2mysql.pl. You can now import and
7 export to inforbot 'factpacks'.-
9 v1.0.0RC3 (20000720): bug fixes mainly.
10 - Debian.pl's infoPackages() now checks for incoming
11 automatically and shows the new file.
12 - irq/dan found the bot wouldn't run if a stale (invalid) pid
14 - Created &closeDCC(), &closePID()
15 - Added factoid SAR of (3-123) => 53
18 - Ported back Berkerley DBM support. 95% of it works :)
19 - Also added pgSQL support. Will not work out-of-the-box.
21 - Fixed up 'modules.pl' a bit so if anything fails, it exits
22 gracefully. Module reloading should work better now.
23 - DCC CHAT commands now must have '.' prepended otherwise all text
24 will me broadcasted to the dcc chat arena.
25 - Removed command 'part'. Use 'kick' instead :)
26 - 'random|cookie' now takes argument to narrow down randomness.
27 - Merged 90% of MbM's@OPN modifications. Thanks.
28 => bug fixes here and there
30 => checks for owner of factoids for delete/modify factoids
31 - Moved Factoids/db* to .
32 - Misc stuff here and there.
35 - Added several hacks (run away fork) due to bot misbehaving.
37 - Added ability to disable factoid support.
38 - Reorganized source tree to be more modular.
39 - Created dirs: IRC, Factoids.
40 - moved partial core.pl and PerlMod.pl to modules.pl
41 - renamed Modules.pl to CommandStubs.pl
42 - Added command 'cycle'.
43 - hardguy/max noted that insult was borked. It wasn't converted
44 to the new fork format. Fixed but untested.
45 - Added 'ircstats' command. forgot about DisconnectReason
46 - Added to-expire-time on 'ignorelist'
47 - Forgot to clear %ignoreList on loading the list.
48 - moved 'ignorelist' from DCC-only to public/private msg.
50 v1.0.0pre11 (20000601):
51 - we call &ircloop() if we want to reconnect. Any harm to perl?
52 - Wingate fixed yet again. maximum time for response is 6secs in
53 order to cache maximum number of hosts.
54 - Added ban() for Wingate.
55 - Forgot about virtual host support when changed over to Net::IRC
56 - process() still calls shmCycle() just in case.
57 - Added limit to how many random things we can have in a factoid
58 to prevent endless loops from occurring.
59 - All debian stuff now fully forks -- good.
60 - Failure on &loadMyModule() now deletes $forked{$label}.
61 - if instructed to join a channel "manually", tell who did it on
63 - Debian module now searches woody's non-US properly. Misc fixes
65 - Removed non-working mysql table locking code.
66 - Freshmeat.pl now uses LWP::Simple's getstore. How to load the
68 - Looked at Modules-Reload and implemented idea in the bot.
69 - Forgot about flushing uptime in scheduler.
70 - Added unit conversion feature to bot, based on Units-Convert
72 - Converted several scalars to hashes.
73 - Added slashdot,freshmeat and kernel announcements of new stuff.
74 - merged chanstats into one line, added top msg stats.
75 - Wingate now does intelligent on-the-fly caching and flushing to
76 a wingate file to prevent dupes. UNTESTED
77 - "find pident potato" now works after few mods/hacks :)
80 v1.0.0pre10 (20000523):
81 - Fixed minor problems in Debian.pl, I hope.
82 => DebianDownload now calls generateIndex() if a download is
85 => generateIncoming() forgot about checking stale of idxfile.
86 - Modules in Modules/* now dynamically loaded. Using about ~200k
88 - Added support of user modes with param{ircUMODE}. Requested by
90 - hookMsg modified, we don't check ignore list if we're not
91 addressed or minvollength is defined. flooding is now
92 configurable by repeated message and total message, expire time
93 and count, like eggdrop.
94 - nickometer didn't reset the score. noticed by greycat+others.
95 - &setupScheduler() scheduler is only called once.
96 - UIS now supports proper locking and lock check.
97 - verifyUser didn't set userHandle to 'default' if not found.
98 - Added factoid reply support of '(blah1|blah2)?'
100 - Added DebianExtra.pl module to list bugs. a hack and ugly!
101 - Finally fixed list of old topics in Topic.pl, courtesy of mux
103 - Removed usage of quotemeta, replaced with \Q\E pair for regex.
104 - Included patches to modify stock-brokeness of perl modules.
105 'cd /usr/lib/perl5; cat *.patch| patch -p0'
106 - Setup option whether to cache user online stats. Disabling will,
107 for sure, won't bloat the bot by 2-4megs (but why that much?).
109 v1.0.0pre9 (20000512):
110 - Typo for outsider checking. Noticed when #debian flooder came
112 - seenCycle was in minutes instead of days. fixed.
113 - Added User Information Services module. requested by Flugh.
115 => 'uinfo set <type> <what>'
116 => 'uinfo unset <type>'
117 - Added &IsNickInAnyChan($nick);
118 - Added &DCCBroadcast($txt) to broadcast messages to all members
120 - &say() now changes '0' to 'zero' due to Net::IRC bug.
121 - Added &GetNickInChans($nick);
122 - Merged fooz's wingate scanner.
123 - Added 'ignoreAutoExpire' to differentiate time for ignore due to
124 flooding instead of 'ignore' through DCC CHAT.
125 => remove time for 'ignore' through DCC CHAT?
126 - Added &debianCheck() to check state of gzip'd files.
129 v1.0.0pre8 (20000505):
130 - usual backlash from upgrade.
131 - added 'useStrict' option to infobot.config.
132 - added 'reload', to reload Core and Extras Modules. Does it
133 reload only if the file has changed?
134 - added preliminary (debug) code for ftpGet() for truncated
135 downloads. regetting will be added soon afterwards.
136 - minor fix for Debian.pl where a package exists but an
137 incomplete Packages file may not have info on that package.
138 - Modified on-the-fly ignore to be temporary. temporary ignore
139 requested by jCommons.
140 - added 'factstats requester'.
141 - preliminary use of scheduler for &checkPing() in &on_init().
142 no event hook on 'pong' :(((
143 - Timers now use Net::IRC's scheduler, woohoo. Nice change over.
144 Moved ProcessExtras.pl to Schedulers.pl.
145 - Added 'factstats deadredir'.
146 - Don't prevent auto-reconnecting due to disconnection.
147 - Forgot initialization before any new IRC connection.
148 - Added scheduler for checking IRC connection.
149 - Fixed problem in Freshmeat module, if forked to download, would
150 not continue with query. => now it does, nice hack.
151 - Debian module should generate incoming index if does not exist.
152 - Chatting can be done through DCC CHAT.
155 v1.0.0pre7 (20000426):
156 - INSTALL and README updated.
157 - auto-request for ops after joining all channels instead of after
159 - If factoid is requested by someone, show literally (no
160 evaluation) if owner of factoid matches aswell as if requested
161 privately(good idea?)
162 - on_notice fixed and debugging info removed.
163 - Added reconnect on HUP if we're not connected. I hope that it is
164 set to 0 otherwise this solution is dead.
165 - ';' added as address char.
166 - maths bug found by NoNix4.
167 eg: 6000.0/9.000 - 6.000/9.000 - 666.00001
168 - nickometer bug (pi not defined) found by ddent. 'strict' cleanup.
169 - Preliminary CLI code included. Good for local use.
170 - typo in Topic.pl, found by jCommons. Fix for NULL topic.
171 - minor Debian.pl update to deal with 'missing files' on download.
172 - multi-shmwrite support added. looks like it doesn't "refresh"
173 the value properly if written many times.
174 - &verifyUser() only used if addressed.
175 - Applied 'use strict' to all code. Also used 'use vars qw()'.
176 - Added 'backlog #' to DCC CHAT. requested by jCommons.
177 - ctcp version reply wrong; FIXED. found by fooz.
179 v1.0.0pre6 (20000407):
181 - Added retry on failure to reconnect through on_disconnect();
182 REMOVED -- this spun an endless loop.
183 - Found why Googling didn't work. See README for fix.
184 - Forgot about channel casing bugs (on_{join|part}) after
185 changeover to Net::IRC.
186 - Changed addForked() to cycle through fork list and delete stale
187 forks in case a forked child dies unexpectedly.
188 - Renamed allowOutsiders to disallowOutsiders just in case if the
189 option is removed from the configuration.
191 v1.0.0pre5 (20000331):
192 - setup_users.pl. DBI*() => sql*().
193 - 'topic add BLAH' on empty topic would bork. Why didn't I pick
195 - Somehow I removed (or it wasn't there) 'my @results' from
197 - nickometer now uses loadPerlModule()... another 500 kB saved :)
198 - repeat flood detection prevention added.
199 - Added el-cheapo hash key counter... possible leak detector.
200 - Added 'factstats lame' for short and most probably stupid
202 - Weather module removed
203 - Renamed 'join' to 'joinchan' to due warning//conflict raised
204 with perl 5.005 (on potato not slink).
205 - Disabled syscall (removes 300 kB on slink, 3megs on potato)
207 v1.0.0pre4 (20000323): pseudo AutoLoader support.
208 - 'infobot' now first loads core.pl and logger.pl.
209 - timerExpire() fixed.
210 - Added unique maintainer count to 'dstats'.
211 - Added demand-on-load of external perl modules. Now we need
212 dynamic(on demand) loading of 'Modules/*.pl' modules ;)
214 v1.0.0pre3 (20000319):
215 - Fixed Freshmeat.pl not to show duplicate packages found by
216 'name' and 'oneliner' search. Made showPackage() function.
217 - Debian modules now does multi distro. (woody's non-us appears to
218 be different structure so does not work :(, very crude hack...
220 - Added subfactoid randomising. eg: '(one|two|three)'.
221 - 'dauthor' now works!
222 - karma fixed... used the wrong var name.
223 - Fixed doubling of text when message from 'nick' is ignored.
224 - Added 'redir' to designate one factoid as master and duplicates
225 as redirectors//slaves.
226 - Added addressing recognition character(s) support. eg "!status".
227 - Seen info now cached and flushed at intervals or upon exiting.
228 - Added 'EXAMPLES' file to doc/.
229 - Removed ancient '&channel()'.
230 - Bug fixes after offshore installation of bot.
231 - Debian output of 'info' fixed. looks like 'fm', heh.
232 - Debian distro stats added. I'm competing with larne and his mods
233 to dpkg@OPN#debian :) so far so good.
234 - Forgot to close shm upon exit, heh :) However this does not
235 prevent leakage when the bot crashes.
236 - Parameter 'forking' now works, courtesy of generic &Forker()
237 function, woohoo! Now we use &Forker() for _everything_.
238 I had this in the todo list, removed it and decided to implement
240 - More bug fixes when moved changes to 'apt'. Several "bug
241 reports" sent from #debian, thanks!
242 - Moved infobot communications _after_ ignore checking code.
243 - babelfish changed format? disabled for the time being.
246 v1.0.0pre2 (20000310): BETA TEST RELEASE
247 - Hacked multiple mysql connection support in.
248 - Renamed DBI to SQL, including functions.
250 - Added backup scripts to create and mirror tables.
252 - Added parse_warn.pl to decipher warn messages from logs.
253 - shm* now works. no more fork floods ;)
254 - Applied fork protection on all forking modules.
255 - Dict feature now supports specific retrival of definition,
256 however, default is still random.
257 - Debian feature now supports multiple sub distributions. This can
258 be further extended to architecture (perhaps easily).
259 - Added (but commented) larne's regex for debian search.
260 - Added &hasParam() to include notification that a feature
261 (command) requested is disabled in configuration.
262 - Added dumping of memory stats.
263 - Fixed broken timerExpire().
264 - Added auto shutdown of bot if too much ram is used.
265 - Modified seen feature, set to off by default.
266 - UPDATE: fixed, about time.
267 - Improved parse_warn.pl to be like "diff".
268 - Dollar variable addition?? suggestions by ddent.
269 - 'factstats dupe' now ignores '<REPLY> see'.
271 - Added random factoid timer.
272 - Don't redownload file via getFTP() if local and remote sizes are
274 - Added $count{'Dunno'} for unanswered questions.
275 - Fixed 'blah is also or' since we didn't allow 'or'.
276 - Added 'factstats redir' to display factoid redirections.
277 - Grep nick from list of nicks in IsNickInChan(). Bug found by
279 - Time taken and final xfer rate displayed in FTP.
280 - Fixed bug where 'or' is eval'd in Math.pl. Return '' if eval()
281 is not done. Bug found by dent.
282 - Added 'factstats redir' to list working and non-working
283 redirected (symlink) factoids.
284 - cmdstats now sorted by highest->lowest usage.
287 v1.0.0pre1 (20000130):
288 - Mostly converted to Net::IRC, quite nice, like the dbm to mysql
290 - Removed IrcHooks.pl and CTCP.pl.
291 - Moved hooks stuff to IrcHooks.pl.
292 - Moved IrcExtras.pl to Irc.pl.
293 - Removed ansi_control option. colors can be stripped within
294 &status() anyway, like for logging.
295 - Added DCC CHAT and DCC SEND support base.
296 - DCC SEND: null file. due to fork()? Fixed anyway.
297 - DCC CHAT: person's responsibility to close DCC CHAT.
299 v0.99pre12 (20000125):
300 - Added intelligent flood protection and removed factoid
301 repetition prevention.
302 - Modified Math.pl...
303 - Unified tell code in Process.pl.
304 - Moved variable fix and addresing code to IrcHooks.pl
305 - Moved tell code from Question.pl to UserExtra.pl.
306 - Found that % and \ were double backslashed; added it to invalid
307 factoids. May have been caused by whoever unbacked up 'apt',
308 cerb? :) May want to add a function to automatically fix badly
310 - Added 'factstats profanity', with &hasProfanity($str).
311 - Added functions for shared memory usage.
312 Uses: prevent exploitation of forked processes.
313 - Added 'factstats unrequested'.
314 - stale variables (vhost_name) forgotten in changeover.
316 - Fixed major leak with cycling of flood messages, typo :)
318 v0.99pre11 (20000123):
319 - Fixes here and there...
320 - Debian find now searches Package names. Fallback automatically
321 to contents file search.
322 - Fixed typo related to log cycling.
323 - Added netsplit detection code.
324 - Started DCC support... very early stages.
325 - Replaced several 'foreach' statements with 'if' for efficiency.
326 About 5 instances of code...
327 - Debian contents search ignores man pages (unless search string
328 obvious for man page). Suggested by sgore.
329 - 'factstats locked' returns list instead of only count.
330 - &DoModes() bug found by larne.
331 - Used '$nick' instead of 'lc $nick' for $channels.
334 v0.99pre10 (20000119):
335 - Fixed bugs found when moved code to 'apt':
336 - added '^' and '|' to $isnick.
337 - removed 'local' and 'my' for some global vars.
338 - Typos of some variable names.
340 - Debian.pl contents search is better now.
341 - UPDATE: made changes suggested by greycat.
342 - Added Packages query now...
343 - Added &getRandomLineFromFile()
344 - Added LART, random text, Channel limit adjuster.
345 TODO => Wingate checker (NOT COMPLETED)...
346 - Added &iseq() and &isne().
347 - Help info is not cached any more => loaded each time help() is
349 - Added %timer hash, timestamp when something was last done. The
350 hash name is incorrectly named, eh?
351 - Moved parts of Process.pl to ProcessExtra.pl.
352 - Moved parts of User.pl to UserExtra.pl.
353 - Moved myRoutines.pl to UserExtra.pl.
354 - Moved Extras.pl to Modules.pl.
355 - Removed fortran math due to poor code style.
356 - Moved parts of Question.pl to UserExtra.pl.
358 v0.99pre9 (20000115):
359 - Added messagecount column for 'seen'. Not used as yet. It
360 appears to be pointless, yes?
361 - Cleaned up DBI.pl: made use of $dbh->quote(); added
362 &DBIRawReturn(), &DBIInsert(), &DBIUpdate().
363 - Forgot to clear $tell_obj after successful 'tell'. Founded by
365 - Extra modules loaded only if enabled in config, may save some
367 - Math.pl cleaned up.
368 - Added DumpVars.pl, now we know where things are being leaked.
369 - Removed duplicate 'use IO::Socket'.
370 - Typo in "disabled" locking code which didn't work :) Founded by
373 v0.99pre8 (20000110):
374 - Bailout if critical configuration variables are not found.
375 - Dict.pl works well now.
376 - Topic.pl now uses %topic or @topic. Added 'topic info' which
377 contains who and time info. How does @{$hash{$key}} work?
378 - Used 'use diagnostics;'. Fixed most warnings.
380 - Minor typo in &IsInvalid() on last statement, heh.
381 - Fixed (DAILY) logging, finally. Was broken too many times.
382 - Added &getLineFromFile() for debugging purposes. BROKEN
383 - Added Debian search-engine frontend => Debian.pl.
384 UPDATE: forget mysql, takes too long.
385 - Added Countdown => Countdown.pl.
386 - Made use of 'unless' instead of 'if !'.
388 - Addressing required on all commands.
389 - Added &fixFileList() to simplify files with common directories.
390 - RevHippie stumped me with the best method to write this,
391 heh. Why do I always try to do things in 1 loop instead
394 v0.99pre7 (19991230):
395 - Renamed some setup/DBI calls.
396 - Simplified nickserv/chanserv code. chanserv opping may break
397 though. Experimentation?
398 - Fixed broken stuff scripts/* due to src/* modification.
399 - Added table locking support. BROKEN.
400 - param{'ident'} deprecated.
401 - Removed param{'dbname'}, please rename the main table (with
402 factoids) to factoids.*
403 - Added ircII.servers support.
404 - Fixed infobot, Setup.pl and Files.pl.
405 - Freshmeat.pl fixed. Set the update time _before_ we update.
406 - Added factoid renaming. "rename 'from' 'to'".
407 - Added DBISetRow() for first time inserts, for Freshmeat.
408 Removed (rather used raw) use of fixmysqlbug for DBISetRow()
409 - Added 'seen random'; fixed randKey to work with 'seen'.
410 - Added preliminary code for whatis frontend.
411 - Added SIGHUP code for $SIG{HUP}.
412 - Added more error protection in DBI.pl.
413 - Moved logDate logging support to &status@Misc.pl.
414 - Confirmed logging does not duplicate from child any more.
415 - Added 'partialdupe' (not recommended) and '2long' to
419 v0.99pre6 (19991223):
420 - Dict now fixed, courtesy of RevHippie and myself.
421 - Applied patch from RevHippie.
422 - Removed auto continuation code.
423 - Fixed learn =~ /HUNGRY/;
424 - Added $talkok and $learnok.
425 - Removed $param{'nick'} in favour of $ident. Added $safeIdent for
426 regex and made use of it.
427 - Moved Help.pl, Ignore.pl, Params.pl and part of User.pl to
429 - Removed Internic.pl and Traceroute.pl.
430 - Fixed $isnick, renamed and fixed &purifyNick(). Added nick
431 compliancy checks when connecting to IRC server.
432 - Rewritten 'spell' code.
434 v0.99pre5 (19991220): bug fix release.
435 - setupmysql.pl, slightly different for potato.
437 - performReply(), removed $trailing. FIX LATER.
438 - Freshmeat.pl, forgot about &main::, again.
439 - logType, broken date value.
440 - Fixed broken 'tell blah about what', readded $answer var.
441 - minLengthBeforePrivate superseeds preferReply.
442 - Forgot to use 'my' on three instances of $sth.
444 v0.99pre4 (19991219):
445 - Added 'dupe' for factstats.
446 - Added illegal character detection in Statement.pl.
447 - Unified output (and duplication) of factstats (and other) code
448 to use one function, &formListReply(). Reduced code by at least
450 - Minor modifications to &DBIGetCol();
451 - Move +s flag to 'set search' in infobot.config.
452 - Altered talkMethod to allow 'private' or 'default'. Made no
453 sense to have it on public-only, heh.
454 - friendlyBots will be kept to be compatible with other stock
455 infobots but soon enough multiple mysql database support will be
456 added. Will be quite nice once done.
457 - Added maxListReplyCount and maxListReplyLen. Read infobot.config
459 - Replaced $refresh with freshmeatRefreshInterval to config.
460 - Changed learn setting from ALWAYS to HUNGRY.
461 - Reorganised Extras.pl, we shouldn't bail out if the command
462 can be disabled as the person who runs the bot should have
464 - Moved some Process.pl stuff to myRoutines.pl.
466 - &searchBy*() allows ^ and $, like in regex (basically sar'd).
467 removed $notexact variable.
468 - Fixed 'no,blah is blah' bug.
469 - Changed 'is also' char to ';;'.
470 - Added &IsInvalid(); to unify Statement (when creating) and
471 factstats/broken (when checking/verifying). Works like a charm
473 - Removed sane stuff; added infobot.ignore. I hope lenzo's
474 ignoreList code works.
475 - Fixed setupmysql.pl
476 - Moved repeatIgnoreInterval to minRepeat*Reply where * is Private
478 - Now preferReply works. Wasn't hard as it first looked.
479 - Added global '+' flag support.
480 - Fixed logging: added logType param; if logType =~ /DAILY/, new
481 log is created daily. Date is time-of-day, aswell.
482 - added &fixMySQLBug() => adds backslash to special chars.
484 v0.99pre3 (19991216):
485 - Fix connection bug where if host does not resolve, it appears
486 that it's connection refused. Now non-resolving hosts are
487 detected earlier. Found by some *.it (or .es??) guy.
488 - Added 'sync in #s' when the bot has joined a channel... just
490 - Added txt2mysql.pl.
491 - Removed instances of '^\s*' to '^' since $message can be
492 manipulated in Process.pl.
493 - Fixed Statement.pl so that it doesn't catch queries... it's a
495 - Removed 'confused' in favour of 'dunno'.
496 - Funny hack in performReply(). Stupid but it works.
497 - Added 'host' column in seen table.
498 - Made use of &gettimeofday() for freshmeat and search function.
500 v0.99pre2 (19991213):
501 - Made use of new database (directory) not to interfere with other
503 - Re-added &getKeys(), mysql's RLIKE wouldn't like "'" in the
504 statement. If several of similar queries are required, better
505 off using &getKeys().
506 - Added two more conversion scripts.
508 v0.99pre1 (19991211): personal release. MAJOR CHANGES.
509 - create a script to add the blootbot user to the mysql server and
510 prepare tables for use with the bot.
511 - butchered Question.pl, Reply.pl, Statement.pl and Reply.pl.
512 - main factoid db ported over; barely tested.
513 - seen ported over; appears to work.
514 - karma ported over; not tested at all.
515 - freshmeat ported over; fix brokeness.
516 - search (listvals and listkeys) ported over.
517 - rootwarn ported over.
519 - Use quotemeta in DBI.pl on special chars, especially ' :)
520 - Added factstats 'broken' function.
521 - Made use of multiple connections to avoid clashing... does
522 clashing only occur when there's an INSERT/UPDATE or SELECT or
524 - Changed $factoid to $faqtoid... good idea? how about $lhs?
525 - Changed getKeys to countKeys to take advantage of mysql.
526 - Added randKey to get random primkey,key from table.
527 - Removed process() when msgType == 'public action'. Why would we
528 want to care about actions anyway?
529 - Fix public action; Added private action to &status().
531 - Made message and who flooding independent in IrcHooks.pl. Now we
532 use %flood... should be expanded to use %ignoreList;
535 - DBI.pl has more functions than what DBMExtra.pl had in order to
536 implement a table-like hash list.
537 - &DBISet() always verifies if an entry already exists and does an
538 UPDATE instead of an INSERT... flaw in mysql or my code???
539 - &DBISet() can only set one (in UPDATE, two in INSERT), variable
540 at a time. Does this impose a performance hit? like on seen.
544 - infobot.cgi not ported over.
545 - weather not ported over.
546 - add alarm call between while in Dict.pl.
548 *************************************************
549 ************* CHANGE OVER TO MySQL **************
550 *************************************************
552 v0.18.2 (199912??): dropped.
553 - Fix for Weather.pl.
557 v0.18.1 (19991130): last public release before database change over.
558 - Modified &IsNickInChan() so that a foreach is done case
559 insensitively against nick to prevent misses.
560 - Added server "jump" support, requested by larne.
561 - Added seenMaxDays, maximum number of days to keep seen info on
562 someone, otherwise delete it.
563 - Forgot to use $main:: in Freshmeat.pl and Weather.pl; fixed.
564 - Changed userList format to $userList{$user}{$flag}{$what} = 1;
565 Converted all code to use this userList format.
566 - Changed version string to include OSname.
567 - Replaced $locWho with $who or $origWho.
568 - Removed hidden whitespaces and tabs at and of statments.
571 - Post release typo fixes here and there.
572 - Changed lc() to tr/A-Z/a-z/ where suitable.
573 - Redid join command in Process.pl.
574 - Cleaned up regex (mainly .* => \S+).
575 - Found $ischan to be broken; fixed.
576 - Changed Slashdot3.pl to have "joining" code like in DBMExtra.pl.
577 - Made use of &nick() and &IsChan();
578 - Added &kick() to Misc.pl; kick command to User.pl.
579 - Added &IsNickInChan();
580 - Fixed loading Param file before pidfile and other file related
583 - Revamped; removed unused functions.
584 - Moved Set.pl to here.
585 - Moved 4op code here.
586 - Moved some functions from Process.pl to here.
587 - Rewrote rehash command.
588 - More casing fixes; debugging info _should_ help to find more.
589 - Changed infobot.users.
592 - Netsplit code prevented stats of signoffs; fixed.
593 - Messed around with logging code to prevent control chars.
594 - Removed exchange and excuse module because of brokeness.
595 - Applied patch from RevHippie. Thanks!
596 - Added delimiter support in addressing of hello msg.
597 - Removed 'score' in karma.
598 - Added 'learn' (ALWAYS or ADDRESSED) support. Normal
599 operation == ADDRESSED. Bot won't respond voluntarily to
600 factoids but will respond to learning.
601 - Ability to turn off minVolunteerLength.
602 - More changes to prevent chatter in unaddressed manner.
603 - We remove any ansi or control chars when piping to the log file.
605 - Added 'thanks' language.
606 - Typo in Freshmeat.pl; Fixed.
607 - Added $rootwarnmode = passive || aggressive to satisfy lilo@OPN.
609 - Fixed mix up of fix in 'tell' code. I had the if statements the
611 - Removed more debug code.
612 - FactStats/author fixed; now multiple authors with the same stats
613 are printed together.
614 - Added logfile cycling w/ approx maximum size.
615 - Changed infobot.config yet again. now it's much better than
616 before. Some variables removed.
617 - Added Unset support to Set.pl; Changed so anything can be set
619 - Made use of &purifyNick() so regex doesn't break. $safeWho
623 - Applied bug fixes from infobot 0.44.3, added md5 password
625 - Added &IsParam() to check existance of params the proper
627 - Moved rootWarn stuff from Extras.pl to RootWarn.pl.
628 - filenames (rootwarn and uptime) now not statically set.
629 - Cleaned up config file and Setup.pl.
630 - Fixed up &parsectcp() in CTCP.pl.
631 - Changed ($ischan) to (\S+) in Irc.pl under PRIVMSG.
632 - Major reorganisation of Misc.pl -- removed unused functions.
633 - Moved some variables to 'infobot'.
634 - Fixed ANSI typo by some loser; Changed format of &status()'s in
635 Irc.pl, seems to look nice thus far.
636 - Added "author" command under &FactStats() in DBMExtra.pl.
637 - Added case insensitivity to &IsHostMatch() and search strings in
638 DBMExtra.pl. Any more of these?
639 - Removed disabled netsplit code.
640 - Changed 'defined' to 'exists' on all hash lists, 'cept hashes
641 created by opening db's.
642 - Modified repeat code on modified_time. If this time is small,
643 msgType is changed to 'private' for flooding reasons and
644 max_time is reduced by half. latter appears not to work???
647 - Quite funny that once the repeat code was moved to Question.pl
648 factoid extension leakage was found. maths leakage was also
649 happening but somehow is fixed when the repeat code was moved
651 - Clean up of variable names in Reply.pl and Question.pl
652 - Changed 'length' to 'eq ""' or 'ne ""' where possible.
653 This should produce faster code but benchmarks prove this change
654 is neglible. Guess perl is slow :)
655 - Cleaned up and fixed 'tell <who> about <what>' code.
656 - Set.pl fixed; Added DEBUG to allowable set list.
657 - Volunteer code moved to top of Question.pl.
660 - Message overflow fix in &FactStats().
661 - Added 'factstats new' command to display new factoids in the
663 - Fixed up ping reply, requested by a few from #debian@OPN.
664 - Re-added debugging of DBMExtra due to leakage of orthaned
665 factoid extensions. Need to investigate and confirm the
666 lowercase fix of factoids.
667 - Two functions which used &mkRandom() now fixed due to poor
668 effort in implementation. Added missing srand(). now the maximum
669 length of 475 should not be exceeded, hopefully. it can be
670 beefed up to 490 if needed.
673 - Made use of &help() which uses infobot.help. This paves the way
674 for NLS as suggested by njs.
675 - Fixed up code on netjoin/netsplit in an effort to find
676 statistics leakage. Added debugging info to netjoin/netsplit.
677 - Fixed typo (three instances) in factinfo where time() was used
678 instead of the data in the factoid extension. Found by larne.
679 - Allow main thread to do a clean exit while the child does
680 nothing. Possible fix for weird uptime info.
681 - Removed sar of 'your|i|you|me' to prevent automated reverse
682 persona which is better done by the user. Suggested by njs.
683 - Cleaned up behaviour of &FixPlural(). Fixes a bug.
684 - Repeat prevention code now replaced (moved aswell) to use
686 - Fixed 'factstats requested' error.
688 v0.12.6 (19991103): bugfix on bugfix release ;)
689 - Fixed bug where you can't lock a factoid because the hostmatch
690 ($thisnuh = "") failed. Found by wolfie.
691 - Fixed up 512byte overflow in factstats[requested].
692 - hm... wonder how I broke Weather.pl.
694 v0.12.5 (19991101): Bugfix release
695 - Fixed "bad" array in Freshmeat.pl. All appologies to scoop.
696 [update: use array[5] if it exists, otherwise do as before.]
697 - Removed some debugging info from DBMExtra.pl.
698 - Fixed inconsistent chanstats behaviour in SignOff.
699 [Update: forgot to delete the user info _after_ we do the stats]
700 - Moved factoid stats count and repeat checking code to
701 Question.pl. Now it works as planned :) :) :)
704 - Added factstat and listauth commands.
705 - 'topic add' now prepends subtopic not append.
706 - Fixed up minor problem with 'topic restore last'.
707 - Changed default of locking access to people who own their
708 factoid or to registered ops. This should please #debian.
709 - Reduced usage of @{$var} which cannot be really deleted cleanly.
710 - Moved DBMExtra-related stuff from myRoutines.pl to DBMExtra.pl.
711 - Added new functions &mkRandom() and &getRandom().
712 - Changed all code (Search.pl) which used random to the one
713 developed in DBMExtra.pl. => made code slightly smaller.
714 - Cleaned up Search.pl to look nice.
715 - Found yet another casing bug under TOPIC in Irc.pl.
716 - Fixed bug where dbmextra queries where made on non-factoids like
717 maths and probably karma.
720 - Added while loop around connect which should prevent the bot
721 from falling down (dying).
722 - Forgot 'main::' for &getURL in Freshmeat.pl. Changed
723 opening/closing code yet again. Removed checking on open
725 - Changed Dict.pl to reply private only by default. '+' will allow
726 public responses without suggestions/synonyms.
727 - Added checking against pidfile. running two bots from the same
728 dir at the same time using the same db == disaster. Ask #debian
730 - Implemented Weather.pl.
733 - Made distribution out of infobot -> blootbot.
734 - Irc.pl was prone to be fucking up -- swapped (.*) to (\S+) where
735 necessary. stab lenzo for this :) found more instances of this.
736 [update: appears to trap too many of something, check
737 'chaninfo #chan' for info.]
738 - Minor fix for Freshmeat.pl when opening/closing db.
739 - Factoid extension code is ready for testing. possible in the
740 future to add "factstats" for like: top 3 requested factoids.
741 [update] added lock checking on sar and on updates ("no, "...)
743 v0.12.0 (19991020): (v0.11.6 + bugfixes + trial)
744 - Major shake-up of how addressing is handled -- damn it took me a
745 long time to get this to work.
746 - Changed command names in Topic.pl to &topicBlah().
747 - Found and fixed (hopefully) all 7 channel casing bugs.
748 - Moved freshmeat to use berkeley db instead of raw appindex.txt
749 file. finally got it to work, seems 30% faster. Creating the db
750 takes a long time though.
751 - Added "set" command => Set.pl.
752 - Added support of talkMethod which behaves much like lobotomy.
753 In the future, talkMethod =~ /(lobotomy|none)/ may be used.
754 - Purged: METAR2.pl, NOAA.pl, UAFlight.pl.
755 - RootWarn only works if the bot is opped in the channel.
756 - Created performStrictReply() from performReply().
757 - Quote.pl and Internic.pl now work.
758 - Fixed a few typos in myRoutines.pl
759 - Removed bold on dictionary.
762 - Fixed $chan to lowercase where appropriate.
763 - Fixed volunteer reply code... I guess it worked before but now
764 it is somewhat cleaner and easy to understand.
765 - Added factoid owner database, requested by njs.
766 - If public message is addressed to someone else, we ignore it.
767 - Now support referer factoids ('blah is <REPLY> see erp'). if
768 'blah' is asked, the reply from 'erp' is given.
769 - OPN allows part messages -- fixed in /PART/ for $chan.
772 - Uptime.pl appears to be fixed after rewrite of getUptimeInfo.
773 - Fixed up Freshmeat.pl for updating the index. Proxy is now
775 - Moved rootWarn to RootWarn.pl. Added hall-of-fame of losers.
776 - Cleaned up bugs/typo here and there which may have caused the
777 bot to behave in a weird manner.
780 - ChanInfo now displays "statistics" just like our little friend
782 - Minor change in determining args on commands [myRoutines].
784 - Added rootWarn checking on checks. Repeat offenders will be
785 punished. Requested by larne. [update: we aren't so harsh now]
786 - Added lc $chan where appropriate. damn uppercase channames.
789 - all instances of undef on hash lists changed to delete which
790 _now_ works. found minor bugs/typos related to DUI.
791 - Now skip internic whois intro (13 lines) to fix bad output.
792 - Forgot to subtract $i from $counter in chaninfo when full.
793 [update: whole function changed, see above]
794 - Now backup (and gzip) freshmeat index file.
796 v0.11 (19991004): looks like a bug fix release :)
797 - Fixed typo in reply of Topic.pl/&NewTopic().
798 - Decreased max topic length allowed; now print it, too, for
800 - Altered repeat code to only work on public. Flooders should be
801 taken care of by the (allowOutsiders == 0) code. if not, there's
803 - Added excess flood protection around &rawout();
804 - Don't bother about outsiders if we haven't joined any channels.
805 - Changed email address to one throughout modifications.
806 New files have neato headers.
807 - Uptime.pl fixed, didn't need to check against ($pid == $$)
808 - Repeat-prevention code kind-of looks what it was before but this
809 one, at least, works :). any problems, just bitch at me.
810 - Added debugging code for chaninfo to diagnose "problem".
813 - Added Uptime module.
814 - Added Freshmeat module.
815 - Dict now returns definition without suggestions (syn's) by
816 default. Also cleaned up.
817 - NickServ/ChanServ major clean up.
818 - Join upon reconnect fix: set $joinchans = 0.
819 - Fixed up Help.pl, added more help entries.
822 - Did repeat-prevention code from scratch -- now works.
823 [19991001 update]: multiplier is now 2 instead of 10.
824 - Made reaction to "hello" more strict. the same should be done to
825 "thanks", don't you think?
826 - Converted remaining modules to use forking. should be no more
828 - Changed maxhits to 20 for Search.
830 v0.9 (19990924): +16K added to patch size.
831 - More, more and more major changes.
832 - Fixed up inappropriate usage of performReply.
833 - Added lobotomy command to (un)silence the bot.
834 - Added allowOutsiders toggle to prevent usage of the bot
835 _outside_ the channels the bot is in.
836 - Added $fullyaddressed, enabled if $addressed == 1 and
837 $param{addressing} == REQUIRE.
838 - Readded auto-continuity code. it is disable if not fully
839 addressed. otherwise works as per normal.
840 - Moved join-on-start-of-motd code to end-of-motd. If nickserv &&
841 chanserv is enabled, IDENTIFY is done first. If okay, then we
842 proceed to join channels.
843 - When bot joins channel, summary of nicks (ops|voice|total) is
844 given instead of NAMES list.
845 - Chanserv support moved to "end of names".
846 - Detection of nickserv (no such nick).
847 - join channel if channel is on our joins list and if we're not on
848 it (hrm, providing their client prevents it).
851 v0.8 (19990919): +50K patch from last version.
852 - Major changes, particularly cleanups and fixed a few bugs:
853 - Found 2 or so instances of $params{}. Either deleted or
854 renamed to $param where appropriate.
855 - Shortened foreach statements where possible.
856 - Replaced duplicate code involving &say and &msg with
857 &performReply($text,[0=rand,1=strict]). -- major shortcut and
859 - Added tracking of all users on channel(s). Users are
860 deleted if they disappear for whatever reason with
862 - Tracking of channels now works; they are deleted if we disappear
863 from any channel for whatever reason (hopefully).
864 - 'forget' command _SHOULD_ be wrapped with $addressed.
865 - Moved 'modes' from User.pl to myRoutines.pl as 'chaninfo'.
866 - Added stock quote support by using mu's script. Thanks.
867 - Added param{*} around stuff in myRoutines.pl for flexibility.
868 - Added auto-join on invite if not on specific "join_channels"
869 - Renamed &Timetostring to &Time2String and made use of it not
870 only for status but for seen.
871 - If $param{*} == false, it is now not defined.
872 - Removed Auto-continuity code -- very evil for any bot commands
873 other than non-intentionally requesting a factoid.
874 - crypt command required "(" before passwd???
875 - Removed stupid commands which just generate URLs for you to cut
877 - repeatIgnoreInterval code _NOW_ works unlike before.
878 - Added support for Topic.pl not to update topics if commands are
879 prepended by '-'. Topics can be "rehashed" when either a) the
880 next command is used without '-' or b) "rehash" is the next
882 - &NewTopic takes two more args to prevent repetition and now does
883 topic checking. Check code for details.
886 - Major clean up: Search.pl now only uses the "is" dbm; final
887 pair of parens in commands removed for legibility; Removed
888 debugging for NickServ, ChanServ to go.
889 - Added multiple subtopic delete ability. requested by Mercury.
890 - Moved responses/replies to [files/infobot.lang]. Modified
891 related functions to conform, including mine.
892 - Fixed up Kernel.pl to use different type of sockets. Previous
893 code somehow broke itself.
894 - Added, but disabled, semi-working timer support. Need to ask
895 lenzo some questions on how to implement it the best way.
896 - Added channel (and offender's) notification if someone joins the
897 channel with root. requested by #debian.
898 - Added dict.org support. For now, it uses wordnet and returns a
899 random definition. Could change in the future.
902 - Added support for nickserv and chanserv, requested by is.
903 - Updated README to describe new features and modifications. Do we
904 need to elaborate on the modifications to the depth where it
905 would exceed the size of the patch?
907 - Removed assumed-continuity of messages -- should be used if
908 addressing is in optional mode but would be bad in any situation
909 if more than one infobot existed in the channel.
910 - Added parsing of g flag to factoid sar.
913 - Better way to confirm if bot is on channel now for topic
914 management. Also added check for +o+t or -t. &DoModes() on
916 - Patch updated to work for infobot-0.44.2 only.
917 - Found a bug in Irc.pl under "NAMES" where $u was used initially
918 but trashed afterwards. => replaced $u w/ $_.
919 - Lost track of a bug found by Mercury. Seems to be fixed now,
923 - Worked on random-cookie -- random responses can now be added
924 (internally) with ease.
925 - Noticed joeyh changing his nick to/from '||' which reminded me
926 of something bad ;) hint: topic management.
927 - One line patch to allow '|' in factoids; delimiter is now '||'.
930 - Implemented patch from mu. Now it is possible to use the topic
931 command through private messages to the bot instead of the
933 - Replaced SAR of \| with \|\| so we can still use the single
934 pipes. Double pipes will be either removed or promote an error
935 message. Found by Robot101. Added el-cheapo work-around if the
936 last char of subtopic is |, kill it.
939 - Added cheap fix (sleep 1, heh) to excess floods of 'topic
940 history'. Is sleep 1 enough?
941 - Added 'random' for random value{key} from database.
942 Requested by jCommons.
945 - Fixed topic history by replacing push with unshift. Now the
946 history list is reversed and cycled properly.
947 - Reversed Changes list. request by mu.
948 - Totally fixed up topic history since it would break if
949 'topic add' was induced quickly. Now we only record topics set
950 by us (for reasons) and onjoin topics (set by anyone).
951 - Removed 'topic last/reset' because how do you know which topic
952 is last? Better control with 'topic restore'.
955 - Fixed 'topic mv 2 before 1' bug. Forgot to store 'move' topic
956 before doing the foreach loop.
957 - Touched up Kernel.pl in preparation for auto-notify feature.
960 - Added version string to new files so we know which version
961 of patch we're using (or used). There you go, Mercury ;)
962 - Fixed up DecipherTopic to reject null subtopics. This would, if
963 unchanged, (theoretically but not tried, luckily) produce a
964 domino-effect of problems if the topic was to be changed.
965 Update: check if the supposed null topic contains spaces
966 within the nick component. If so, then it's not
967 nick, therefore treat like ownerless subtopic.
971 - Changed back to use topic{chan} (now topicnow{chan}) since
972 @topiclist{chan} (now @topichist{chan}) does not deal with dupes
974 - Renamed 'topic last' in preference to 'topic reset'. Original
975 command can be used but is vague in meaning.
976 - Fixed several typos made in Irc.pl.
977 - Replaced 'defined' with 'length' in if statements.
980 - Applied patch from mu for Irc.pl | Topic.pl.
981 - Replaced %topic hash and $topiclast with @{$topiclist{chan}}.
982 Much cleaner implementation. Thanks to mu for this. Fully
984 - Reworked on topicbyme (was topiclast), should work now.
987 - Changed name of patch to funkystuph.
988 - Added history/last/restore to Topic.pl by request of mu and is.
989 - Reorganised help and order of commands in Topic.pl
990 - Bot must be addressed to use commands.
991 - Fixed bug if multiple infobots were in the channel.
992 - One occurrence where Cipher was called instead of CipherTopic.
993 - Fixed up Slashdot.pl. Problems: a) borked completely b) missed
994 first headline. el-cheapo fix but it works.
997 - Fixed long list{keys|values} bug, hopefully.
998 - Now randomize key results from search.
999 - If keys contain ',', underline to differentiate it.
1000 - Fixed possible DoS against Kernel.pl.
1001 - Bug fixed with Kernel.pl repeating itself.
1002 - Typo of @results [one occurrance of @result]
1005 - Fixed bug with &CipherTopic where, if no owner was found, it
1006 would just use NULL. [like "Topic ()"]
1007 - Added kernel feature.
1008 - Moved error messages to public/private, depending on behaviour.
1009 Help-related stuff is private(msg) only for convenience.
1012 - Misc cleanup, removed repeated code.