ian%hixie.ch
2f4c3f7f1d
Try to handle the disappearing connection problem for the common case.
2004-09-05 11:34:46 +00:00
ian%hixie.ch
863532582e
Rude is no longer that useful, but is left here for posterity's sake. Add a comment noting the demise of its servers.
2004-09-04 16:30:13 +00:00
ian%hixie.ch
07244d9ddd
God should also do autovoice. Add a comment to this effect. (Actually it should do a lot more, see bug 240259)
2004-09-04 16:26:56 +00:00
ian%hixie.ch
83216e442c
Make mozbot more resilient to database problems: It will now try to reconnect if some of the database things fail. Also, add a comment about a missing feature (multiple server support would rock). Mention why we ignore errors at one point. Finally, remove the event argument from one of the methods since it didn't use it nor need it.
2004-09-04 16:22:37 +00:00
ian%hixie.ch
47f159ceab
Minor typo... (eagull->seagull)
2004-04-24 23:54:35 +00:00
ian%hixie.ch
d86870c0c7
=This is quite a serious bug. Turns out that modules (of course) run in the scope of the method in which they were loaded... which means they can access variables such as 'nick' that are defined using my in the global scope. Ouch. Anyway, this fixes the problem with bots randomly losing their nick while using Karma. I would have caught it earlier, but I don't use Karma myself, so...
2004-03-15 13:19:23 +00:00
ian%hixie.ch
269c0bb22e
Riiiiight... Maths.... One day I'll get them right, honest. Hope nobody is using mozbot for conversions where it matters, I wouldn't want to be blamed, e.g., for a shuttle disaster or some such.
2004-02-18 14:42:55 +00:00
ian%hixie.ch
bbbaaf451f
If we've checked spelling, don't let Infobot (for example) answer it too.
2004-02-08 22:22:14 +00:00
ian%hixie.ch
51621a7121
Add in a missing key to the patProtected hash which was missed during the last checkin.
2004-02-08 22:21:35 +00:00
ian%hixie.ch
777724c5a1
Correct an off by one (order of magnitude) error, and change the code so it is even more like copy and paste... one day I really should unify these functions.
2004-02-07 03:35:07 +00:00
ian%hixie.ch
a4e75759c7
Hugs and Pats by popular request. Anyone else think this module is getting out of hand? :-)
2004-02-07 02:49:10 +00:00
ian%hixie.ch
2fc58d69c0
We should never try to ask _ourselves_ what stuff is, that's just silly!
2004-02-06 12:19:13 +00:00
ian%hixie.ch
a465568412
Oops, must reply to status in round 1. Make the Told handlers slightly happier about replying early.
2004-02-06 12:03:37 +00:00
ian%hixie.ch
4189dc0677
Ok, we don't really need ridiculouslyEagerToHelp, just use the autoHelp variable which is per channel.
2004-02-05 16:50:52 +00:00
ian%hixie.ch
23c5450f1d
No longer support 'foo karma' or 'foo rank' since they clashed with 'help karma' and 'help rank' and other commands of that syntax.
2004-02-02 18:01:12 +00:00
ian%hixie.ch
19907f20c9
Oops, Infobot was way too eager to help even in non-eager mode. Make the 'no,' prefix only take effect if the bot thinks it is a direct statement.
2004-02-02 10:38:14 +00:00
ian%hixie.ch
dc9df6b4e2
Patch by Eira to support times and weight conversions. Reviewed and changed a bit by me.
2004-02-01 18:55:47 +00:00
ian%hixie.ch
6bb7fc47be
Remove spurious blank line which _seems_ to be causing problems in old perls.
2004-02-01 16:16:19 +00:00
ian%hixie.ch
28c8232692
Done Currency now. :-)
2004-02-01 16:15:46 +00:00
ian%hixie.ch
6c15a54452
Currency convertor thanks to xe.com. Patch originally by Alex Schuilenburg <alex@schuilenburg.org>. Heavily edited by me. See bug 231120.
2004-02-01 16:06:18 +00:00
ian%hixie.ch
cd9de4873b
Oops, checkRights was completely broken due to a couple of typos...
2004-02-01 14:30:31 +00:00
ian%hixie.ch
e04f6d3fa6
Also accept 'commands' command instead of help, since it is what some people expect. We should probably also support 'list' but that is more likely to clash with other modules.
2004-01-28 13:09:40 +00:00
ian%hixie.ch
0f673dbef7
Make the help line shorter so it doesn't wrap.
2004-01-28 13:08:18 +00:00
ian%hixie.ch
a3a4130475
First, dramatically reduce the priority of Infobot responses. Especially with eager mode enabled, infobot was being ridiculously helpful, butting in to all kinds of conversations with other modules. Also, don't treat 'bla is bla?' as a statement. This may need tweaking some (now it treats it as a question for 'bla is bla', which you can't easily set anyway)
2004-01-28 13:07:05 +00:00
ian%hixie.ch
fe839a2369
mixed case help lines were getting lost
2004-01-27 12:31:32 +00:00
ian%hixie.ch
25077e6cc0
Update documentation to match latest changes w.r.t. SpottedPart and SpottedQuit. Document 'unload' since three standard modules use it.
2004-01-27 01:42:28 +00:00
ian%hixie.ch
14075125c3
Make XMLLogger work again (fallout from the time patch a while back)
2004-01-27 01:29:18 +00:00
ian%hixie.ch
c147440f3f
in eager mode, it looks silly if we don't trim trailing dots.
2004-01-26 22:03:03 +00:00
ian%hixie.ch
e239b32498
Make the port optional since not everyone knows it's 3306 :-)
2004-01-26 21:55:38 +00:00
ian%hixie.ch
af40ed588f
More ways to insult (and praise) the bot.
2004-01-26 21:34:09 +00:00
ian%hixie.ch
a40bf9acdd
* Keep track of age of quotes so we can avoid showing some quotes more than others
...
* Remove commented out code
* Fix the search string parser to actually, er, work
* Don't report number of matches using numbers if there is only one
* Check database is up before reporting status
* Check database is not empty before reporting status
* Report most popular quote
2004-01-26 20:33:16 +00:00
ian%hixie.ch
ed47087267
Crash protection for faulty modules that raise exceptions when reporting their help info.
2004-01-26 20:06:40 +00:00
jake%bugzilla.org
7248ced448
Bug 232156: Bugzilla 2.17.3 changed some field names in the RDF output. Make Mozbot succeed with either schema.
...
r= bbaetz
2004-01-26 02:57:03 +00:00
ian%hixie.ch
5259b4c612
Quotebot. Requires MySQL. Based on a specification written by Nortis http://www.blomstereng.org/
2004-01-26 00:48:52 +00:00
ian%hixie.ch
8e92e66100
Standardise on 'status' as the status command for all modules.
2004-01-25 13:05:45 +00:00
ian%hixie.ch
d828839a5b
Support comments, p tags, and div tags.
2004-01-25 13:04:23 +00:00
ian%hixie.ch
16365fd40c
Added some default hit protection. Removed a redundant variable definition. Implemented responses for tickling and apologies. Added some support for the moronic misspelt 'u' (you) form. Added support for shaking hands. Added some insults to handle and cleaned up (/x) two regular expressions that were getting very long.
2004-01-25 11:41:48 +00:00
ian%hixie.ch
d0b875b352
Upgrade the insult protection overrides to be more customisable. Add more of them by default. Note that this is not a backwards compatible change but since we haven't released a version with this module yet, that's ok.
2004-01-25 00:08:43 +00:00
ian%hixie.ch
fe573d34c5
New fortune cookie format, in case we ever add more types of cookies. Limit on size of cookie file, to prevent trivial DOS attack. Prevent the addition of duplicate cookies.
2004-01-24 23:56:12 +00:00
ian%hixie.ch
2cdf4e84e1
* Support fluffy "tell me" prefix
...
* Fix a bug introduced in version 1.10 which made Infobot, ah, not work. (bug 223905, thanks to Charlie, Michael, and justdave)
* Support for more fluffy wording (expletives in questions)
* Space out some regular expressions
* Made the "anyone know what foo is" form actually work for the first time
* Fix the bug introduced 7 patches ago, which I partly fixed 5 patches ago, in which "targetted" comments wouldn't be, ah, targetted.
2004-01-24 23:48:11 +00:00
ian%hixie.ch
512bd2cee7
minor documentation error fix
2004-01-24 18:40:07 +00:00
justdave%syndicomm.com
8ebf9f1e35
small whitespace change to test cvs back-end changes related to this file
2004-01-21 07:58:31 +00:00
justdave%syndicomm.com
10486f21a3
Bug 115642: Use XML for buglists, and lots of other goodies. This makes the Bugzilla.bm module actually work now. :)
...
Patch primarily by Jake Steenhagen <jake@bugzilla.org> and Bradley Baetz <bbaetz@acm.org>
r= justdave
2004-01-21 07:45:39 +00:00
ian%hixie.ch
fd1fb4e679
eagerToHelp and ridiculouslyEagerToHelp modes. See bug 142371.
2003-10-26 12:14:39 +00:00
ian%hixie.ch
e1d6df8147
Bug 141346: 'I am' wasn't learning correctly.
2003-10-26 11:58:06 +00:00
ian%hixie.ch
160a2ba452
Escape nicks in regular expressions so that they still work even if the bot is called something silly like '[bot]'. Bug 134599.
2003-10-26 11:30:09 +00:00
ian%hixie.ch
9335e3bc94
fix minor grammar error
2003-10-19 22:33:00 +00:00
ian%hixie.ch
ab8bc94683
Homogenise the violence code a bit.
2003-10-19 22:13:42 +00:00
ian%hixie.ch
973a7c6064
Insult Generator. See bug 204356 for details.
2003-10-19 22:11:16 +00:00
ian%hixie.ch
8747fc4ba9
dumb bot
2003-10-19 21:06:56 +00:00