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
07c133f1c6
Handle exceptions being raised in the Schedule() handler. Before, they would cause the bot to crash on startup and to say stupid things during module loading.
2004-01-25 13:49:54 +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
d4f15faacd
Don't send PASS unless there is a password. Make some debug messages a little clearer. Report PASS errors. And most importantly: Correctly handle NICK changes. We will now only change our internal memory of our nick when the server tells us what are nick is. As part of this, stop using the Net::IRC concept of the Current Nick, since that is completely broken. Handles invalid nicks much more gracefully.
2004-01-25 02:48:32 +00:00
ian%hixie.ch
cdfee27e24
Remove excessive trailing spaces. Fix a bug where I was setting the wrong variable (duh), this should make the username/identd stuff actually work. Make the mail regarding the server being down actually show the right values. Split some debug lines onto two for clarity.
2004-01-25 01:12:34 +00:00
ian%hixie.ch
f545615f80
Oops, need double quotes to interpolate...
2004-01-25 01:03:45 +00:00
ian%hixie.ch
9f0e341e1a
Some more drastic auto-fixing code for really annoying servers.
2004-01-25 00:53:50 +00:00
ian%hixie.ch
8d471be1bb
Make mozbot try to use a valid username if it thinks it needs to (this is untested; what do servers normally complain about when the identd isn't valid? I've seen this happen but I forget the actual string they send back). Also, fix an undefined variable warning in the wordWrap method.
2004-01-25 00:45:38 +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
ian%hixie.ch
330e5c37e8
Improve the documentation for people troubleshooting connection problems.
2003-10-19 17:32:39 +00:00
ian%hixie.ch
b94cd9ee21
Undocumented (for now) feature: let the user override the bot's username from the config file by setting the 'username' configuration option to a true value (defaults to 0).
2003-10-19 17:02:07 +00:00
ian%hixie.ch
bd59fa0076
Support 'mozbot!' on its own.
2003-10-18 10:57:56 +00:00
ian%hixie.ch
7931dd2ce8
Be silently compatible with Infobot's 'karma' syntax. Bug 142377
2003-10-17 09:47:53 +00:00
ian%hixie.ch
f746e27ec1
Support password protected servers. bug 222129.
2003-10-16 21:17:39 +00:00
ian%hixie.ch
8321b8dfc5
implement 'lo' as a greeting
2003-10-16 19:42:34 +00:00
ian%hixie.ch
ed9b436ee6
reap children correctly (attempt number 77281). Correct misspellings in comments. Remove some redundant output.
2003-10-05 20:15:05 +00:00
ian%hixie.ch
e16e30afa3
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.
2003-10-05 20:06:38 +00:00
ian%hixie.ch
13f6d47a70
Bug 154337: A new output style for help, especially for people with few modules loaded. Based on a patch by Joel Thornton.
2003-10-04 18:18:49 +00:00
ian%hixie.ch
56f60886bc
Add missing name.
2003-10-04 17:18:12 +00:00
ian%hixie.ch
badb68a63c
Script for restarting mozbot from crontab. Based on a script by Joel Thornton <joelpt@eml.cc>. See bug 153043.
2003-10-04 17:17:04 +00:00
ian%hixie.ch
77e86a9bf0
Basic NickServ support. Tested with Q@cserve.quakenet.org, let me know if you have problems on other networks.
2003-10-04 13:03:50 +00:00
ian%hixie.ch
51a9513d72
primitive 'bitch' support
2003-10-04 13:01:22 +00:00
ian%hixie.ch
6dc1c0ef41
Updating credits for last checkin.
2003-10-04 12:13:31 +00:00
ian%hixie.ch
b06ad40bcd
Bug 159567: improvements to user management. Based on a patch by Adam Di Carlo. Improvements include: 'deleteuser' admin command. 'changepassword' admin command. Better error messages when the two new passwords don't match. Edits to the INSTALL file. Also removes the recently added 'sleep' statement on quit since it wasn't helping.
2003-10-04 12:09:38 +00:00
ian%hixie.ch
5b19b980a5
Minor documentation changes (nothing substantial)
2003-10-04 11:06:48 +00:00
ian%hixie.ch
884f6797f0
Minor fixes: check that we can actually resolve the server (Net::IRC was being remarkably unhelpful in that regard), make the helpline a bit shorter (servers were cropping it), make us sleep when we quit (not sure it'll help, but maybe it'll help with the problem of us not always getting our /quit message across)
2003-10-04 00:23:57 +00:00
ian%hixie.ch
501a7510d5
Bug 215848: Cope with servers that don't like our IRC name. This is basically untested.
2003-10-04 00:06:46 +00:00
ian%hixie.ch
cc100f9da1
Bug 134600: Add some more modules to the default set.
2003-10-03 23:46:54 +00:00
ian%hixie.ch
31f4b76fbd
Implement incoming Notice support in the BotModule APL. Bug 169882. Largely based on a patch by Ken Coar.
2003-10-03 23:35:49 +00:00
ian%hixie.ch
0f67329225
More diagnostics for localAddr users. (check the version of Net::IRC)
2003-10-03 23:03:52 +00:00
ian%hixie.ch
9103b2e742
Bug 131324: Stop the bot from saying the same thing n times in a row.
2003-10-03 21:01:48 +00:00
ian%hixie.ch
d80d23f8f1
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.
2003-10-03 15:47:35 +00:00