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.
IRC/IrcHooks.pl
- forgot to reset msgType/who/chan
after hookMsg in on_msg and on_public.
- on_join: if bot joins, don't do wingate/bans
and other useless stuff
- on_join: set msgType for ICC.
- on_part: set msgType/chan/who
- on_quit: set msgType/chan/who
- on_public: make chan global for ICC
=> should fix all bugs.
=> I have no idea how this worked so brokenly.
News.pl - more more changes
another round of changes, damn it was hard to figure out why news wasn't
appearing properly - I think we still have that problem but it's semi
rare.
- Also fixed netsplit problems, forgot a next line.
- don't run all funky commands in on_join if netsplit is enabled.
- other tiny things not worth mentioning.
news: can make news compulsory (chanset +newsNotifyAll)
and opt-out (news unnotify)
irchooks: splitted into IrcHelpers.pl so we can reload it on the fly.
factoids: added debugging for short factoids that may be botched up
references
A round of fixes:
- added dbReplace but it's broken
- debian infopackages shows dist
- news user cache now works properly
- "+" now works for all commands, not only for factoids
dms [Sat, 31 Mar 2001 14:19:14 +0000 (14:19 +0000)]
Many changes, basically added and integrated News, and bug fixes.
Some more notes:
CommandStubs.pl - fixed "kernel blah"
Modules/UserDCC.pl - dont print $user when undefined.
modules.pl - added News.pl
Modules/News.pl - new feature.
Process.pl - "blootbot: ok is <reply> :)" -- FIXED.