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