dms [Sat, 29 Dec 2001 12:26:55 +0000 (12:26 +0000)]
- now support verstats for those who don't reply to "CTCP VERSION
#channel" but "CTCP VERSION $nick".
there's a max of 5*30/3 nicks unless we change verstats_flush.
- status() now supports a hack'ish hook to debug %channels (that is,
ircCheck())
- if ignoreCheck hasn't been run in more than 60 seconds and we have a
possible ignore match, run it. unfortunately, the first message will
be ignored if the removed entry matches the person asking the bot.
dms [Fri, 28 Dec 2001 14:31:18 +0000 (14:31 +0000)]
- on_invite: used 'next' in if statement, changed to commented return
since validChan is still buggy :/
- verstats: added more ID to possible clients.
- moved debian gz files check to miscCheck, changed interval to 120mins
dms [Wed, 26 Dec 2001 11:51:20 +0000 (11:51 +0000)]
- make ignoreAdd a little more verbose.
- added factoidPreventForgetLimitTime. if a factoid exceeds this age,
prevent forget.
- added factoidPreventForgetRedirect. if this factoid is redirected to
by other factoids, prevent forget.
- don't evaluate dollar vars in factoid request if it's a factoid
command.
dms [Tue, 11 Dec 2001 16:40:18 +0000 (16:40 +0000)]
- return early if $AUTOLOAD is undefined.
- set factoidPreventForgetLimit default to 100
- added abuse prevention of forget. (lets thank lazarus)
- backup of factoids was not working - fixed!
- factoid sar now has protection against all-out (>=2x) removal.
- added global $h var for host.
- commented out some news debugging since we hopefully fixed $who
case-sensitivity.
dms [Fri, 5 Oct 2001 17:46:25 +0000 (17:46 +0000)]
- I borked DBCommon.pl by mistake (setFactInfo duplication).
- added more variable checks to db_mysql.pl just in case they're
undefined; removed main:: from functions.
- nasty eval code in Question.pl simplied. thanks lear!
- dbReplace arguments fixed up to match the 3 liner setFactInfo code.
dms [Thu, 4 Oct 2001 14:13:39 +0000 (14:13 +0000)]
- another round of patches from lear. "we love you, lear!" j/k :o
- basically allows asuffield to include his FHS patch much easily
- er, how the hell do I use cvs?
dms [Tue, 2 Oct 2001 12:49:51 +0000 (12:49 +0000)]
- renamed Factoids/Misc.pl to Factoids/Core.pl
- removed db_sql.pl (basically moved to logger.pl)
- seen is now case insensitive
- missed one more instance of new dbReplace
- moved factoid specific stuff out of db_*.sql to Factoids/DBCommon.pl
- typo in pgsql.pl, kill me!
- typo in dict
--- thanks to lear!
- bot stats: "blah has blah... is ranked xx/yy (zz percentile)"
- invalid factoids: "^or ", "^but "
- factoid args: update request count and by.
- db_pgsql.pl updated; patch contributed by lear@OPN. thanks!
- added "_stats <nick>" to get all textstats about nick. (half working)
- added highlighting to irctextcounter output
- cpustats: show total % and parent/child ratio.
- logger: use 6spaces instead of 5 for counter.
- added support for Password argument for IRC.
- typo in Freshmeat.pl (forgot ::)
- Factoids/Misc.pl - moved validFactoid here (from Misc.pl).
- - moved FactoidStuff (from Process.pl)
- db_sql.pl - common between mysql/pgsql.
dms [Sun, 10 Jun 2001 13:09:44 +0000 (13:09 +0000)]
- irctextcounters: add percentage to top3
- use &dbQuote() for all unprotected dbGet calls.
- added rehashConfVars() - the beginning.
- now keep stats of all commands - saved on exit.
- forget: check if backup exists - don't overwrite if it does.
- typo in nslookup/dns var.
- added dbGetColNiceHash - not used.
- dbSetRow: values now parsed by reference; $delay now works
- removed getKeys()
- factArgs: sort list from longest to shortest
- factArgs: go through all CMDs and check for possible dupes
- factArgs: when SARing, doing /g - found by greycat.
- schedule ircCheck more often
- chanlimitcheck: removed next statement, should work now
- renamed "factstats broken" to vandalism.
- fm: disabled table locking; enabled DELAYED INSERTs
- news: show time when next item should expire
dms [Fri, 1 Jun 2001 15:28:58 +0000 (15:28 +0000)]
- irctextcounter: ORDER by counter, not nick!
- merged patch from asuffield wrt db_mysql.pl
- attempt to load rootWarn on startup
- added &getPerlFiles() for module loading
- reloadAllModules: take into account bot_src_dir
- on_quit: moved removal of cache _after_ netsplit code.
dms [Wed, 30 May 2001 14:20:40 +0000 (14:20 +0000)]
- userAdd, if no mask is given, don't add it.
- maskHostMask deals with n!u@h properly - hack!
- if there are no +n users, treat bot as ownerless and waiting for an
owner.
- set moduleAge time for modules.pl and db_mysql.pl
- msg() deals with msgType = chat.
- getHostMask works half-assed
- ".adduser" without a mask - major and ugly hack!
- DCC CHAT now allows non DCC CHAT commands, req by lazarus
dms [Tue, 29 May 2001 13:29:24 +0000 (13:29 +0000)]
- added top3 irctextcounter stats
- fixed first-time-user passwd
- set $chan to "_default" in IsChanConf if undefined.
- modified dbGetCol to new style $select/$where args.
- &status() now deals with multiple lines input properly
- dcc close now works as it seems, enabled it
- run chanServCheck and chanLimitVerify in hookMode if we're opped
straight away
- prevent guest/_default users from DCC CHAT
- added "factstats reqrate"
- typos, DEBUG/WARN -> VERB(,2), tiny things that don't need mentioning
dms [Sat, 26 May 2001 14:37:03 +0000 (14:37 +0000)]
- dbGet: warn if $select is NULL
- Update: return 1 if we failed and outputted text
- rootwarn: don't check +o outside RootWarn.pl
- don't make getNewsItem resolve full-string to number; use newsS2N()
- fixed "news set blah"
- added ".tellme x" in DCC CHAT.
dms [Tue, 22 May 2001 13:38:48 +0000 (13:38 +0000)]
- commandstubs: cmd or ident could be null - semi fix.
- cmdhook for news now uses Identifier
- we did a stupid netsplit check in on_quit - should fix problems.
- yet another hash{} initialization fix for news.
- chagned factoidDeleteDelay to 14 days.
- news: removed more debugging info
- debian: moved more DEBUG to use $debug
dms [Mon, 21 May 2001 13:11:45 +0000 (13:11 +0000)]
- if autoload fails, make poor attempt to load module.
- modified Question() to use substVars()
- added hack for "me => $who"
- don't do factoidDeleteDelay if stale is invalid.
- fixed typo in rootWarn.
dms [Fri, 18 May 2001 15:20:48 +0000 (15:20 +0000)]
- added support of ircTextCounters - works! thanks to #perl@OPN.
- minor change to listkeys/vals
- changed arguments to dbGet() - this breaks dbm support.
- remove karma table - created stats table instead.
- removed pub/msg/not sleep counters.
- dbReplace supports '-' for key for non-quoted value, like slashcode
- created SARit for Reply.pl - a bit cleaner now.
- Reply: attempted to move to &dbReplace but failed :(
- factoid arguments handling now works - fixed!
- factoid arguments: created &factoidArgs() - much cleaner.
- disabled automatic deletion of backed up factoids.
dms [Tue, 15 May 2001 12:34:49 +0000 (12:34 +0000)]
- I broke maths when I tried to fix "999!" - fixed :-)
- removed IsNickInAnyChan() for 'tell'.
- CTCP VERSION now returns correct version (cvs or release)
- don't use eval for factoid arguments since "next" cannot be done.
- prevent endless while loop for factoid arguments
- on_join: run netsplitCheck/chanlimitCheck if !%netsplit
- on_quit: run fe on possible chans to remove limits. enough?
- minor changes to logging output text
- fixed "news #CHAN latest"
- news: changed notice() to msg() to see if OPN reacts nicely.
dms [Sun, 13 May 2001 13:09:27 +0000 (13:09 +0000)]
- moved scripts/setup_sql.pl to src/db_mysql as &createTables()
- &countKeys() now takes secondary option argument of column
- added &sumKey(), &dbCreateTable()
- added factoid arguments => "testfoo $blah"
- run &netsplitCheck() on on_join and on another hook.
- run &chanlimitCheck() when netsplit has "joined"
- added "factstats total" for general/total statistics on factoids.
- maths: 999! would fail; now continues properly.
- added "news stats"
dms [Wed, 9 May 2001 13:42:28 +0000 (13:42 +0000)]
- added CR's here and there; minor reformatting
- finally found out why netsplitservers was bugging out
- added debugging info to factoid delete backup code.
dms [Tue, 8 May 2001 12:39:17 +0000 (12:39 +0000)]
- use &hasParam() instead of IsChanConf for more commands
- very minor changes not worth mentioning individually
- regex typo in hookMode()
- disable chanLimitVerify on on_join()
- debugging added to netsplit code
dms [Sun, 6 May 2001 13:42:06 +0000 (13:42 +0000)]
- changed &Get*() to &get*(), &Delete*() to &del*()
- do command stats counter for News
- add DELAY support to sql INSERT calls.
- sql REPLACE works now - use for seenFlush()
- remove $sched{}{RUNNING}
- anything that used timeget indirectly - fixed. Stupid of me!
dms [Fri, 4 May 2001 14:38:36 +0000 (14:38 +0000)]
- remove several debug messages; convert some to VERB()
- forgot to increment {pub|not|msg}sleep counters
- nick() and on_nick now works properly!
- on_nick_taken - no endless loops
- removed 10lines of debug code from hookMsg()
- chanlimitcheck: unset limit if in netsplit.
dms [Tue, 1 May 2001 12:13:26 +0000 (12:13 +0000)]
- if a forked process "died", forked{}{PID} somehow became $$ - fixed.
- chanServCheck now returns bool
- gettimeofday mistakenly used instead of &timeget()
- when nickserv pass accept, call chanserv ops in case nickserv was
brought back to life.
- fixed up fm ][ code not to use tons of memory - nice rewrite
- forgot to set forked{}{PID} in addForked
- renamed dbGetRowInfo to dbGetColInfo - now used by Freshmeat
- || factoids in /msg are now evalated
- fm updated to use xml db as used by FM II
- "news #DEBIAN-bots" failed - fixed.
"~forget blah" now works. thanks to ElectricElf
documented user flags
public/private/notice send limit now configurable. thanks to EE
added "countrystats" command.
"blootbot: are you fixed now? :)" -- fixed. found by greycat
use hasParam instead of IsParam in UserExtra.pl/userCommands()
command "ord" handling fixed.
allow join to join irrelevent of being on chan
chanstats: count stats if exist - make perl happy
misc cleanup of status()
add time taken to join all channels, useless stats.
disable notify code
leakCheck: show stats on hash chanstats
mkBackup: show age of file.
converted %{$blah{$blah}} to %{ $blah{$blah} }
added IRC hooks to catch failed channel joins
chanserv function moved to joinNextChan
created chanserv function for "common" use, chanServCheck
changed cache{chanlimitChange} hash a little
chanserv check removed from on_endofnames
typo on on_invite - fixed.
chanserv/ops removed from ircCheck()
joinNextChan removed from ircCheck()
added preliminary debian BTS frontend support
fixed seen ""
added where debugging messages came from (functions)
fixed reversed use of % in if statement, stupid me :)
changed backup times for files again
chanset: fixed the following problem.
.chanset #debian +babeflish
.chanset #debian -babeflish
-chanunset #debian babelflish
- yet another minor bug, use !msgType for dcc chat aswell.
- selfflood proteciton for /msg
- like 4/sec or 1k/sec
- msgcount, msgbyte, msgtime
- pubcount, pubbyte, pubtime
- fixed other bugs.... weeeeeeee....
prevent erratic (multiple) changes of chan limit in short space of time.
this would be a major problem in chanlimitVerify@IrcHelpers.pl since
it's called for every join. Better safe than sorry.