Commit Graph

236 Commits

Author SHA1 Message Date
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
ian%hixie.ch
37514d30b5 Make all instances of the time function have brackets, to make them easier to find. 2003-10-03 15:19:12 +00:00
ian%hixie.ch
af90e48a89 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. 2003-10-03 15:08:42 +00:00
ian%hixie.ch
5e43dbaa22 Typo... 2003-09-24 21:28:27 +00:00
ian%hixie.ch
6d3257f5c7 Stop an infinite loop that occurs if you have questions all in the same category. Bug found by ltost. 2003-09-24 21:22:50 +00:00
ian%hixie.ch
b5920883b6 Upgrade ignoredUsers and implement ignoredTargets. Fixes bug 133067, adds a bunch of documentation. Other very minor typographical fixes. 2003-09-20 21:10:28 +00:00
ian%hixie.ch
22e3d1ab3b 'IGNORE' doesn't seem to work on all platforms. Let's go back to our old reaping code. It still seems to fix the bug. Also, fix another instance of the '/bin/bash might be tainted' problem. 2003-09-20 18:17:53 +00:00
ian%hixie.ch
0f42189a5d Change our child process handling behaviour to be more proactive and hopefully less likely to hang. This in theory fixes bug 111987, but who knows. Feel free to reopen that bug if it doesn't help or if it makes things worse (e.g. if you start seeing zombie processes everywhere). It seemed to work for me on Debian. 2003-09-20 17:27:09 +00:00
ian%hixie.ch
5b415d5da6 oops, removed the wrong line two changes ago. This makes Infobot work again. Thanks to Eira for noticing the bug. 2003-08-17 12:16:12 +00:00
ian%hixie.ch
25dfb6f913 labels can only go on blocks, not if statements, apparently. fixes bug 139646 2003-08-16 19:56:40 +00:00
ian%hixie.ch
685d9c3233 make help module give the topics for that module. fixes bug 145369. 2003-08-16 19:45:43 +00:00
ian%hixie.ch
5ecacbf785 allow smilies at the end of greetings 2003-08-16 19:34:01 +00:00
ian%hixie.ch
fb0f4c2456 more happy, more kinky, and more consistent in its handlings of various forms of greetings. 2003-08-14 13:52:43 +00:00
ian%hixie.ch
3d86463b34 Make help slightly more helpful 2003-08-14 13:45:40 +00:00
ian%hixie.ch
3b45418979 Correct my spelling and my maths. 2003-08-14 13:45:06 +00:00
ian%hixie.ch
246f85ca9c Make the opme command also take into account masks. 2003-08-13 13:15:57 +00:00
ian%hixie.ch
316139e003 Remove some redundant checks for bug 133134. 2003-08-12 16:37:25 +00:00
ian%hixie.ch
f19a8dbd96 Some more minor changes, and the addition of a response to '/me bites mozbot' (the 'kinky' responses, although they aren't very raunchy) 2003-08-12 16:35:59 +00:00
ian%hixie.ch
3ac2669d98 New temperature scales (optimised for air temperatures) 2003-08-12 16:29:29 +00:00
ian%hixie.ch
20c54860ca Make Rude actually tell you the right host when it fails. Also, clarify a comment. 2003-08-09 15:13:53 +00:00
ian%hixie.ch
1c351941fa Minor fix to autoop help. Patch by mental. 2003-08-09 15:13:03 +00:00
ian%hixie.ch
3e2088de28 Use DBM database instead of config file for seen data. Note that there is no migration path for old seen data, and that the config file isn't updated to remove the now superfluous variables. 2003-08-09 14:54:02 +00:00
ian%hixie.ch
d729cf9ea7 better error handling (to handle the case where the servers are totally down, like now) 2003-08-09 13:58:13 +00:00
ian%hixie.ch
d63f723feb Make mozbot slightly more willing to insult people (won't help much since the servers are down, but oh well) 2003-08-09 13:54:27 +00:00
ian%hixie.ch
990229393c minor comment fixup 2003-08-09 13:53:17 +00:00
ian%hixie.ch
5fbaadd4b6 Implement a hitting command, add some new variants to some existing commands 2003-08-09 13:49:36 +00:00
ian%hixie.ch
b4135edf15 Fix a minor warning 2003-08-09 13:48:22 +00:00
ian%hixie.ch
eed6008b54 Minor documentation fixes: typoes, slight inaccuracies, etc 2003-08-09 13:47:54 +00:00
ian%hixie.ch
e30b8ac746 Fix a typo which confused older Perls, and fix a big error in the handling of uppercase channel names. b=MasterTLH (thanks dude), p=Hixie, r=justdave,bbaetz 2002-07-10 13:56:22 +00:00
ian%hixie.ch
1043c55c39 '<stuart> right now its showing a teranchela(sp?) eating something or something' r=kerz 2002-04-09 21:23:57 +00:00
ian%hixie.ch
022fbeb04b Bumping version number to 2.5. 2002-04-01 07:46:34 +00:00
ian%hixie.ch
5c4df623d9 Infobot is a little eager. 'aaa is bbb' was being handled as 'is bbb' because 'aaa' matched the 'ah' regexp. Oops. r=justdave. 2002-04-01 06:19:26 +00:00
ian%hixie.ch
223b5637b0 Bumping version number to 2.4. 2002-04-01 05:17:41 +00:00
ian%hixie.ch
8199dba14c Kooking Module for those times when someone is annoying you. Original code by Keunwoo Lee, ported by Pike. b=128010, r=zach. 2002-04-01 05:10:01 +00:00
ian%hixie.ch
ad6c1d590e XML Logging Module. b=16226, r=kerz. 2002-04-01 05:08:37 +00:00
ian%hixie.ch
f80bef3886 Generic Conversion module. b=72933, r=zach. 2002-04-01 05:07:36 +00:00
ian%hixie.ch
90b08ac487 Change the // forms to m// forms. Comment some of the regexps. Allow multiple bugs to be caught on one line. b=76910, r=kerz. 2002-04-01 05:03:03 +00:00
ian%hixie.ch
672a8db99a Changes Tinderbox to use either say or notify, configurable via the 'useNotice' variable. b=72960, r=timeless 2002-04-01 04:46:24 +00:00
ian%hixie.ch
c455d29a91 Implements a magic eight-ball module. 2002-04-01 04:39:21 +00:00
ian%hixie.ch
71a6be2fe7 Use the new getHelpLine and getModules APIs instead of accessing \@modulenames and $helpline directly. This also makes the CTCP VERSION reply be sorted. b=130532, r=imajes 2002-04-01 04:32:42 +00:00
ian%hixie.ch
57e468fbbe Makes mozbot only mark joins as joined on a successful attempt. b=112049, r=kerz.
Implements getHelpLine and getModules API functions and updates documentation to match. b=130532, r=imajes.

Adds a notice() method to the mozbot API. Updates the documentation to reflect this. (Also updates the version and corrects a typo in the docs.) b=72960, r=timeless.

Fixes the problem whereby if a module doesn't load, it's not removed from the @modulenames list, which causes problems for modules that walk the @modulenames list to get each module in turn. b=133148, r=kerz.

The Log event for the Told event doesn't have the prefix text that made the event a Told event in the first place. This adds a field 'fulldata' to the event hash which will let loggers log the whole thing. Also updates documentation. b=133509, r=kerz.

Log events were not generated for events generated by the bot. This removes redundant checks to prevent that from happening (redundant since the server never sent us the messages in the first place) and then adds code to synthesise the relevant Log events. Updates the documentation to match. b=16226, r=kerz.

The Initialise handler was needlessly within the scope of an undef'd $/. This scopes the cause of this problem. b=131483, p=Robin Berjon, r=kerz, a=hixie.

Makes ctcpSend() send messages to the target, not the originator. This makes it work like say(). b=133140, r=caillion.

Adds a way to make the auth command not give confirmation feedback (quiet auth). b=134342, r=caillon.
2002-04-01 03:46:06 +00:00
ian%hixie.ch
10fa03034c Entries for empty lists were ignored when rewriting the configuration file. b=133179, r=timeless 2002-04-01 01:59:24 +00:00
ian%hixie.ch
3d7f568679 The 'seen' command should accept punctuation at the end, not consider it part of the nick to look for. b=133046, r=caillon. Some more friendliness. b=131323, r=caillon. 2002-03-31 23:53:11 +00:00
ian%hixie.ch
87223bdec0 Adds various different friendly prefixes to Infobot responses. b=131320, r=caillon. Makes mozbot ignore prefixes like peterv: at the start of auto-learnt factoids. b=132264, r=caillon. 2002-03-31 23:19:36 +00:00
ian%hixie.ch
14c7acad0f Minor typo in help text, ++ should be --. b=132195, p=mental, r=hixie 2002-03-24 16:54:07 +00:00
ian%hixie.ch
7046232b82 2.3 development has begun 2002-03-24 02:28:42 +00:00
ian%hixie.ch
c878e09837 Correctly quote regular expressions when hostmasks are used. b=133023, p=jake, r=hixie 2002-03-23 23:18:16 +00:00
ian%hixie.ch
0d0352ed11 More fallout from the General.bm split. Change the IRC name to r=imajes. 2002-03-08 19:40:27 +00:00
ian%hixie.ch
c8fba971f8 Hack workaround to make the General module autojoin all channels the first time the bot is run. This will be removed and fixed correctly for 2.4, see bug 112049. 2002-03-08 19:15:55 +00:00
ian%hixie.ch
13d001e9b3 Fix typo in the previous checkin that was making virgin installations not load the General module. 2002-03-08 18:39:39 +00:00
ian%hixie.ch
293e551f9c Updating various version strings to 2.2. 2002-03-08 15:43:31 +00:00
ian%hixie.ch
d6728b8554 Split out the General module into its own file. This removes any version number dependence in mozbot.pl, which means that future updates will not automatically require mozbots to be restarted. b=124662, r=imajes 2002-03-08 15:39:47 +00:00
ian%hixie.ch
14593f0bf3 Spelling module. Checks your spelling on the fly. b=126612, r=imajes, code originally by mental. 2002-03-08 15:15:24 +00:00
ian%hixie.ch
80036cfbb1 Quizbot module. b=124621, r=imajes 2002-03-04 21:44:54 +00:00
ian%hixie.ch
51c165dbb8 Mozbot spams channels when it notices that tinderbox is down. This makes it shut up when it notices lots of changes. b=126063, r=imajes 2002-03-04 21:16:48 +00:00
ian%hixie.ch
1ffce5d6e3 The 'foo bugs' command should not be handled as a command, since it clashes with the 'help' command. Change it to a Baffled handler. b=115638, r=imajes 2002-02-26 22:54:02 +00:00
ian%hixie.ch
e0fae9eb78 Empty lists are not saved. b=124661, r=imajes 2002-02-26 22:48:35 +00:00
ian%hixie.ch
799791d534 Make channelOpMasks be able to op via nickname by implementing normal hostmask syntax. b=73433, r=Jake. Add slightly more friendly syntax to ask to be opped. b=72961, r=kerz. 2002-02-25 16:48:28 +00:00
ian%hixie.ch
de30dd8681 Implement Infobot functionality as a bot module. b=123692, r=timeless 2002-02-25 15:49:23 +00:00
ian%hixie.ch
fc071a9e7e Improve help info. Change the command syntax to not clash with the Infobot module. Made the -- and ++ commands slightly more discriminating. Fixed an error in an error message (how long till ' loses its special meaning... grr...). Made people drop off the list when they hit zero. Made the individual karma report give the position of the person in the list. Fixed a logic errer in the private stats code. b=123713, r=kerz 2002-02-19 22:34:49 +00:00
ian%hixie.ch
84ad46d453 Stop private messages to the bot from being logged. b=123956, r=kerz. Rename the default command from uris to links. b=72957, r=kerz. 2002-02-19 21:42:04 +00:00
ian%hixie.ch
f5f6847827 Minor changes to what commands are accepted to make it friendlier. b=72961, r=kerz 2002-02-19 21:37:20 +00:00
ian%hixie.ch
4ea280ea56 Add the custom library files to the list of files to check for changes. This will make upgrading mozbot easier. r=kerz 2002-02-19 21:33:23 +00:00
ian%hixie.ch
cf1585e4f6 Correct minor typo ('retieve' to 'retrieve'). r=ispell 2002-02-19 15:04:55 +00:00
ian%hixie.ch
59ccece79f Renaming INSTALL.UNIX to INSTALL.UNIX.CHROOT-JAIL. b=125872, r=imajes 2002-02-16 12:47:01 +00:00
ian%hixie.ch
925331c1c5 Implement wwwtitle and correct a logic error in the comment and message text of wwwdoctype. r=zach, b=72953 2002-02-16 01:25:40 +00:00
ian%hixie.ch
0fc154332c Adding Stocks contributor. 2002-02-13 13:48:19 +00:00
ian%hixie.ch
0532498703 Fixing regression introduced by the CTCP patch: long lines no longer get wrapped. Also includes minor cleanup. r=kerz 2002-02-13 02:20:01 +00:00
ian%hixie.ch
4795f7e93e Added support for running mozbot on multi-homed boxes (requires Net::IRC 0.71). b=93186 r=kiko 2002-02-13 00:49:37 +00:00
ian%hixie.ch
8260ebdb0a Inital implementation of Stock Quote module. Code/Review by both zach and Hixie. b=70874 2002-02-13 00:42:57 +00:00