Commit Graph

251 Commits

Author SHA1 Message Date
mkanat%kerio.com
b5bd2cdbd1 Bug 292423: [BUGZILLA] mozbot fails on "bug XXX" searches if the installation has disabled target_milestone
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=colin
2005-07-08 02:44:40 +00:00
mkanat%kerio.com
fde5bbcb79 Bug 299257: [BUGZILLA] Mozbot does not fetch multiple bug numbers
Patch By Colin Ogilvie <colin.ogilvie@gmail.com> r=mkanat
2005-06-30 17:30:32 +00:00
bugzilla%glob.com.au
0e0893c63d Bug 295455: Mozbot should fetch bug links with excludefield=long_desc
Patch by Byron Jones <bugzilla@glob.com.au> r=mkanat
2005-05-26 01:59:57 +00:00
mkanat%kerio.com
dfa659632f Bug 292492: [BUGZILLA] Integrate bzbot's ability to receive and report bugmail into Bugzilla.bm
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=colin
2005-05-12 22:47:21 +00:00
ian%hixie.ch
0db25f5b1d Better Unload handling for modules that need it. Introduce a way for modules to monitor pipes continuously (e.g. to watch the serial port or a socket). Better handling for when messages are repeated a lot in a row. Update documentation and modules to match. 2005-05-03 18:38:43 +00:00
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
59864662c9 Admin Told sub was returning the wrong thing in many cases (removes some console error messages.) 2004-09-04 18:48:28 +00:00
ian%hixie.ch
2abd9ca6c4 Actually _check_ to see if something went wrong when writing the second file -- not much point saving the original configuration file if we don't check for errors while updating it. Should (who knows) fix bug 254019. 2004-09-04 17:56:13 +00:00
ian%hixie.ch
4141f5183c Fixing bug caused by buggy Net::IRC 0.75 code. See bug 245424. Thanks to mh for the hint of where to look. 2004-09-04 17:43:58 +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
bea143cbe1 Minor tweak so as to ensure changes to the nick variables are always saved. Shouldn't fix anything anyone was seeing. 2004-03-15 13:24:28 +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
c9f35a8e9e Oops. A long-standing error. The Admin module should be in all channels, it just shouldn't respond to commands in channels if allowChannelAdmin is 0. This fixes the join/part issue for people with allowChannelAdmin set to 0. 2004-02-18 16:08:45 +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
001a4c888a More documentation: Link from README to INSTALL, and add more help for channelKeys. 2004-02-15 18:28:11 +00:00
ian%hixie.ch
7ed20a2b00 Protect against a number of possible undefined string concatenations 2004-02-08 22:23:23 +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
d545d32f9e Reset lastNick at reconnect so that nick collisions on reconnect are handled correctly. (Also clean up a long line or two since I'm using a small monitor right now...) 2004-02-08 22:21:04 +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
a91a367173 Revamp of the way we handle nick problems. 2004-02-01 14:29:43 +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
f24ed6ab8d Oops, reality did not match the documentation. Fix reality. (once a module returns 0, stop using the handlers. Hopefully this won't break any modules.) 2004-01-28 13:02:49 +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
cb26702f03 * Add more comments (especially XXX ones!).
* Rework how Parting, Quitting, and Kicking work:
* Fix bug 133965 (SpottedQuit and SpottedPart not sent for self) for SpottedPart.
  SpottedQuit part of the fix is more involved and is WONTFIX for now; I've added XXX comments where the fixes would have to go.
* Fixed the part message when leaving a channel through the 'part' command.
* Parting and Joining no longer ensure that they were (not already) in the channel before doing the /part of /join command.
* Admin module's Kicked is no longer called for the 'part' command, only when kicked.
* PartedChannel is now where the channel gets removed from the config, so if the server doesn't let the bot part, it won't remember that it has parted.
2004-01-27 01:28:18 +00:00
ian%hixie.ch
617f195c21 Comment about possible bug in Kicked method 2004-01-26 23:25:37 +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