ian%hixie.ch
27c4316aae
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)
...
git-svn-id: svn://10.0.0.236/trunk@151951 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 13:07:05 +00:00
ian%hixie.ch
7570f93aec
mixed case help lines were getting lost
...
git-svn-id: svn://10.0.0.236/trunk@151901 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-27 12:31:32 +00:00
ian%hixie.ch
931856198b
Update documentation to match latest changes w.r.t. SpottedPart and SpottedQuit. Document 'unload' since three standard modules use it.
...
git-svn-id: svn://10.0.0.236/trunk@151878 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-27 01:42:28 +00:00
ian%hixie.ch
04b7e987b9
Make XMLLogger work again (fallout from the time patch a while back)
...
git-svn-id: svn://10.0.0.236/trunk@151877 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-27 01:29:18 +00:00
ian%hixie.ch
5fe8dc9baf
in eager mode, it looks silly if we don't trim trailing dots.
...
git-svn-id: svn://10.0.0.236/trunk@151860 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 22:03:03 +00:00
ian%hixie.ch
6682668d89
Make the port optional since not everyone knows it's 3306 :-)
...
git-svn-id: svn://10.0.0.236/trunk@151858 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 21:55:38 +00:00
ian%hixie.ch
53e4556451
More ways to insult (and praise) the bot.
...
git-svn-id: svn://10.0.0.236/trunk@151857 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 21:34:09 +00:00
ian%hixie.ch
7ad690733a
* 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
git-svn-id: svn://10.0.0.236/trunk@151855 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 20:33:16 +00:00
ian%hixie.ch
61264a65a8
Crash protection for faulty modules that raise exceptions when reporting their help info.
...
git-svn-id: svn://10.0.0.236/trunk@151851 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 20:06:40 +00:00
jake%bugzilla.org
bfc8514519
Bug 232156: Bugzilla 2.17.3 changed some field names in the RDF output. Make Mozbot succeed with either schema.
...
r= bbaetz
git-svn-id: svn://10.0.0.236/trunk@151836 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 02:57:03 +00:00
ian%hixie.ch
db2c8cb185
Quotebot. Requires MySQL. Based on a specification written by Nortis http://www.blomstereng.org/
...
git-svn-id: svn://10.0.0.236/trunk@151835 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 00:48:52 +00:00
ian%hixie.ch
f6560e15fe
Standardise on 'status' as the status command for all modules.
...
git-svn-id: svn://10.0.0.236/trunk@151829 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-25 13:05:45 +00:00
ian%hixie.ch
5f7cbc8e30
Support comments, p tags, and div tags.
...
git-svn-id: svn://10.0.0.236/trunk@151828 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-25 13:04:23 +00:00
ian%hixie.ch
0ff30abb52
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.
...
git-svn-id: svn://10.0.0.236/trunk@151827 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-25 11:41:48 +00:00
ian%hixie.ch
55d940d6f6
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.
...
git-svn-id: svn://10.0.0.236/trunk@151813 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-25 00:08:43 +00:00
ian%hixie.ch
d7a22506e5
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.
...
git-svn-id: svn://10.0.0.236/trunk@151812 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 23:56:12 +00:00
ian%hixie.ch
dc5e90448e
* 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.
git-svn-id: svn://10.0.0.236/trunk@151811 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 23:48:11 +00:00
ian%hixie.ch
9556431c76
minor documentation error fix
...
git-svn-id: svn://10.0.0.236/trunk@151799 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 18:40:07 +00:00
justdave%syndicomm.com
6e3cc92ad7
small whitespace change to test cvs back-end changes related to this file
...
git-svn-id: svn://10.0.0.236/trunk@151634 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 07:58:31 +00:00
justdave%syndicomm.com
dc593afe09
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
git-svn-id: svn://10.0.0.236/trunk@151633 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 07:45:39 +00:00
ian%hixie.ch
be76d34cd6
eagerToHelp and ridiculouslyEagerToHelp modes. See bug 142371.
...
git-svn-id: svn://10.0.0.236/trunk@148398 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 12:14:39 +00:00
ian%hixie.ch
9d2f7235af
Bug 141346: 'I am' wasn't learning correctly.
...
git-svn-id: svn://10.0.0.236/trunk@148397 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 11:58:06 +00:00
ian%hixie.ch
ff459ae97a
Escape nicks in regular expressions so that they still work even if the bot is called something silly like '[bot]'. Bug 134599.
...
git-svn-id: svn://10.0.0.236/trunk@148396 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 11:30:09 +00:00
ian%hixie.ch
eec4b7aad8
fix minor grammar error
...
git-svn-id: svn://10.0.0.236/trunk@148141 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-19 22:33:00 +00:00
ian%hixie.ch
9c8fcf4021
Homogenise the violence code a bit.
...
git-svn-id: svn://10.0.0.236/trunk@148140 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-19 22:13:42 +00:00
ian%hixie.ch
72e394934b
Insult Generator. See bug 204356 for details.
...
git-svn-id: svn://10.0.0.236/trunk@148139 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-19 22:11:16 +00:00
ian%hixie.ch
ef99ec1094
dumb bot
...
git-svn-id: svn://10.0.0.236/trunk@148137 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-19 21:06:56 +00:00
ian%hixie.ch
c839e3aa40
Support 'mozbot!' on its own.
...
git-svn-id: svn://10.0.0.236/trunk@148102 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-18 10:57:56 +00:00
ian%hixie.ch
7466d72fea
Be silently compatible with Infobot's 'karma' syntax. Bug 142377
...
git-svn-id: svn://10.0.0.236/trunk@148059 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 09:47:53 +00:00
ian%hixie.ch
3211facbe9
implement 'lo' as a greeting
...
git-svn-id: svn://10.0.0.236/trunk@148036 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-16 19:42:34 +00:00
ian%hixie.ch
feca2b11b5
Convert RDF.bm to use a real XML parser (now requires XML::RSS, available at your nearest CPAN mirror). Thanks to Jeff Bisbee. See bug 154826.
...
git-svn-id: svn://10.0.0.236/trunk@147589 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 20:06:38 +00:00
ian%hixie.ch
7beefc92fa
Bug 154337: A new output style for help, especially for people with few modules loaded. Based on a patch by Joel Thornton.
...
git-svn-id: svn://10.0.0.236/trunk@147563 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 18:18:49 +00:00
ian%hixie.ch
a2132225fa
Basic NickServ support. Tested with Q@cserve.quakenet.org, let me know if you have problems on other networks.
...
git-svn-id: svn://10.0.0.236/trunk@147555 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 13:03:50 +00:00
ian%hixie.ch
20838a980b
primitive 'bitch' support
...
git-svn-id: svn://10.0.0.236/trunk@147554 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 13:01:22 +00:00
ian%hixie.ch
9a2600ff7b
Minor documentation changes (nothing substantial)
...
git-svn-id: svn://10.0.0.236/trunk@147551 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-04 11:06:48 +00:00
ian%hixie.ch
fb10baddda
Implement incoming Notice support in the BotModule APL. Bug 169882. Largely based on a patch by Ken Coar.
...
git-svn-id: svn://10.0.0.236/trunk@147544 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 23:35:49 +00:00
ian%hixie.ch
b87703215a
Bug 124748: Stop time drift once and for all by using a globally initialised time() value. This was done as a pretty blind search-and-replace, so may have caused regressions and may be non-optimal. Please file bugs if you spot problems. This adds the entry 'time' to the event object.
...
git-svn-id: svn://10.0.0.236/trunk@147531 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 15:47:35 +00:00
ian%hixie.ch
6860d2fc47
Make all instances of the time function have brackets, to make them easier to find.
...
git-svn-id: svn://10.0.0.236/trunk@147528 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 15:19:12 +00:00
ian%hixie.ch
1f7988e8e0
Bug 134617: Let users tell the bot to shut up. Adds a 'getMessageQueue' function to the bot API. Also fixes some unrelated minor issues in the developer documentation and makes a tiny optimisation in drainmsgqueue.
...
git-svn-id: svn://10.0.0.236/trunk@147527 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 15:08:42 +00:00
ian%hixie.ch
f99f1a5879
Typo...
...
git-svn-id: svn://10.0.0.236/trunk@147259 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 21:28:27 +00:00
ian%hixie.ch
b355d49371
Stop an infinite loop that occurs if you have questions all in the same category. Bug found by ltost.
...
git-svn-id: svn://10.0.0.236/trunk@147258 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 21:22:50 +00:00
ian%hixie.ch
f968389410
Upgrade ignoredUsers and implement ignoredTargets. Fixes bug 133067, adds a bunch of documentation. Other very minor typographical fixes.
...
git-svn-id: svn://10.0.0.236/trunk@147093 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-20 21:10:28 +00:00
ian%hixie.ch
7a073c75f5
oops, removed the wrong line two changes ago. This makes Infobot work again. Thanks to Eira for noticing the bug.
...
git-svn-id: svn://10.0.0.236/trunk@146134 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-17 12:16:12 +00:00
ian%hixie.ch
e5d679bdf8
labels can only go on blocks, not if statements, apparently. fixes bug 139646
...
git-svn-id: svn://10.0.0.236/trunk@146094 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 19:56:40 +00:00
ian%hixie.ch
121e4edce8
make help module give the topics for that module. fixes bug 145369.
...
git-svn-id: svn://10.0.0.236/trunk@146093 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 19:45:43 +00:00
ian%hixie.ch
23edabad73
allow smilies at the end of greetings
...
git-svn-id: svn://10.0.0.236/trunk@146092 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 19:34:01 +00:00
ian%hixie.ch
d370228c84
more happy, more kinky, and more consistent in its handlings of various forms of greetings.
...
git-svn-id: svn://10.0.0.236/trunk@145998 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-14 13:52:43 +00:00
ian%hixie.ch
63b599dd62
Make help slightly more helpful
...
git-svn-id: svn://10.0.0.236/trunk@145997 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-14 13:45:40 +00:00
ian%hixie.ch
ed31142824
Correct my spelling and my maths.
...
git-svn-id: svn://10.0.0.236/trunk@145996 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-14 13:45:06 +00:00
ian%hixie.ch
d3f9999600
Make the opme command also take into account masks.
...
git-svn-id: svn://10.0.0.236/trunk@145956 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-13 13:15:57 +00:00