260 Commits

Author SHA1 Message Date
mkanat%bugzilla.org
b271e83a5f Bug 292454: [GOOGLE] A module to search Google
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=colin, r=Hixie


git-svn-id: svn://10.0.0.236/trunk@208332 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 20:43:11 +00:00
mozilla%colinogilvie.co.uk
526607d56f Bug 325593: [BUGZILLA] Misses bug references in a sentence with dots or commas
Patch by: Teemu Mannermaa <wicked@etlicon.fi>; r=colin.ogilvie, mkanat


git-svn-id: svn://10.0.0.236/trunk@189889 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 22:56:15 +00:00
mozilla%colinogilvie.co.uk
ae7e2dc8a2 Bug 326117: [BUGZILLA] Requesting "foo bar" twice in a too short time interval causes the first word to be ignored.
Patch by Colin Ogilvie <colin.ogilvie@gmail.com>, r=mkanat


git-svn-id: svn://10.0.0.236/trunk@189887 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 22:53:00 +00:00
mkanat%kerio.com
59f6cc0ee3 Bug 318459: [BUGZILLA] mozbot fails to report certain changes
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=colin


git-svn-id: svn://10.0.0.236/trunk@185547 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 22:33:29 +00:00
mozilla%colinogilvie.co.uk
20e972bcf5 Bug 303284: [BUGZILLA] When directly addressed, mozbot should report information about bugs regardless of whether its within backOffTime
Patch by Colin Ogilvie <colin.ogilvie@gmail.com>; r=mkanat@bugzilla.org


git-svn-id: svn://10.0.0.236/trunk@184990 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-19 22:33:18 +00:00
mkanat%kerio.com
da52c8ec18 Bug 232064: [BUGZILLA] bugsDWIMQueryDefault should be per-channel
Patch By Dave Miller <justdave@bugzilla.org> r=mkanat


git-svn-id: svn://10.0.0.236/trunk@176825 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-29 00:18:58 +00:00
mozilla%colinogilvie.co.uk
24c4055307 Bug 293181: [BUGZILLA] Move bugsHistory checking into FetchBug
Patch by Colin Ogilvie <colin.ogilvie@gmail.com>, r=mkanat


git-svn-id: svn://10.0.0.236/trunk@176823 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 23:50:41 +00:00
mozilla%colinogilvie.co.uk
84bcf7f1b9 Bug 300456: [BUGZILLA] BugzillaMailHandler should say what a bug is a DUPLICATE *of*
Patch by Colin Ogilvie <colin.ogilvie@gmail.com>, r=mkanat


git-svn-id: svn://10.0.0.236/trunk@176822 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 23:46:11 +00:00
mozilla%colinogilvie.co.uk
861cd58321 Bug 301079: [BUGZILLA] BugzillaMailHandler: Option to report some products using the names of their components
Patch By Colin Ogilvie <colin.ogilvie@gmail.com> r=mkanat


git-svn-id: svn://10.0.0.236/trunk@176222 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-18 21:39:10 +00:00
mkanat%kerio.com
ac8b28be7f 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


git-svn-id: svn://10.0.0.236/trunk@175813 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-08 02:44:40 +00:00
mkanat%kerio.com
c9afd263fb Bug 299257: [BUGZILLA] Mozbot does not fetch multiple bug numbers
Patch By Colin Ogilvie <colin.ogilvie@gmail.com> r=mkanat


git-svn-id: svn://10.0.0.236/trunk@175392 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 17:30:32 +00:00
bugzilla%glob.com.au
b293a3cff2 Bug 295455: Mozbot should fetch bug links with excludefield=long_desc
Patch by Byron Jones <bugzilla@glob.com.au> r=mkanat


git-svn-id: svn://10.0.0.236/trunk@173779 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-26 01:59:57 +00:00
mkanat%kerio.com
4bf0c766da 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


git-svn-id: svn://10.0.0.236/trunk@173355 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-12 22:47:21 +00:00
ian%hixie.ch
a2fa958ceb 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.
git-svn-id: svn://10.0.0.236/trunk@172997 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 18:38:43 +00:00
ian%hixie.ch
298dda5319 Try to handle the disappearing connection problem for the common case.
git-svn-id: svn://10.0.0.236/trunk@161779 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 11:34:46 +00:00
ian%hixie.ch
fbec197f3e Admin Told sub was returning the wrong thing in many cases (removes some console error messages.)
git-svn-id: svn://10.0.0.236/trunk@161764 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 18:48:28 +00:00
ian%hixie.ch
3c2c5783a0 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.
git-svn-id: svn://10.0.0.236/trunk@161763 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 17:56:13 +00:00
ian%hixie.ch
30409cacb8 Fixing bug caused by buggy Net::IRC 0.75 code. See bug 245424. Thanks to mh for the hint of where to look.
git-svn-id: svn://10.0.0.236/trunk@161762 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 17:43:58 +00:00
ian%hixie.ch
ff727f921e Rude is no longer that useful, but is left here for posterity's sake. Add a comment noting the demise of its servers.
git-svn-id: svn://10.0.0.236/trunk@161759 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 16:30:13 +00:00
ian%hixie.ch
7b3295a6fb God should also do autovoice. Add a comment to this effect. (Actually it should do a lot more, see bug 240259)
git-svn-id: svn://10.0.0.236/trunk@161758 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 16:26:56 +00:00
ian%hixie.ch
8edfd8241a 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.
git-svn-id: svn://10.0.0.236/trunk@161757 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 16:22:37 +00:00
ian%hixie.ch
1b292fb52b Minor typo... (eagull->seagull)
git-svn-id: svn://10.0.0.236/trunk@155466 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 23:54:35 +00:00
ian%hixie.ch
9e4e819c84 Minor tweak so as to ensure changes to the nick variables are always saved. Shouldn't fix anything anyone was seeing.
git-svn-id: svn://10.0.0.236/trunk@153980 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 13:24:28 +00:00
ian%hixie.ch
9ac65a0869 =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...
git-svn-id: svn://10.0.0.236/trunk@153979 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 13:19:23 +00:00
ian%hixie.ch
9f39054aec 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.
git-svn-id: svn://10.0.0.236/trunk@152876 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-18 16:08:45 +00:00
ian%hixie.ch
9d7a2c597c 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.
git-svn-id: svn://10.0.0.236/trunk@152874 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-18 14:42:55 +00:00
ian%hixie.ch
efcade7184 More documentation: Link from README to INSTALL, and add more help for channelKeys.
git-svn-id: svn://10.0.0.236/trunk@152793 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-15 18:28:11 +00:00
ian%hixie.ch
ec05034d44 Protect against a number of possible undefined string concatenations
git-svn-id: svn://10.0.0.236/trunk@152527 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-08 22:23:23 +00:00
ian%hixie.ch
485fadb041 If we've checked spelling, don't let Infobot (for example) answer it too.
git-svn-id: svn://10.0.0.236/trunk@152526 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-08 22:22:14 +00:00
ian%hixie.ch
eac5a24cdc Add in a missing key to the patProtected hash which was missed during the last checkin.
git-svn-id: svn://10.0.0.236/trunk@152525 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-08 22:21:35 +00:00
ian%hixie.ch
e191d12036 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...)
git-svn-id: svn://10.0.0.236/trunk@152524 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-08 22:21:04 +00:00
ian%hixie.ch
ab94b0bcf1 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.
git-svn-id: svn://10.0.0.236/trunk@152455 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 03:35:07 +00:00
ian%hixie.ch
f84bf13a0b Hugs and Pats by popular request. Anyone else think this module is getting out of hand? :-)
git-svn-id: svn://10.0.0.236/trunk@152452 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 02:49:10 +00:00
ian%hixie.ch
f263364c7f We should never try to ask _ourselves_ what stuff is, that's just silly!
git-svn-id: svn://10.0.0.236/trunk@152412 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 12:19:13 +00:00
ian%hixie.ch
7b95e5f745 Oops, must reply to status in round 1. Make the Told handlers slightly happier about replying early.
git-svn-id: svn://10.0.0.236/trunk@152411 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 12:03:37 +00:00
ian%hixie.ch
01ce8e18df Ok, we don't really need ridiculouslyEagerToHelp, just use the autoHelp variable which is per channel.
git-svn-id: svn://10.0.0.236/trunk@152376 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 16:50:52 +00:00
ian%hixie.ch
cfab0c9e10 No longer support 'foo karma' or 'foo rank' since they clashed with 'help karma' and 'help rank' and other commands of that syntax.
git-svn-id: svn://10.0.0.236/trunk@152168 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 18:01:12 +00:00
ian%hixie.ch
2f43575406 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.
git-svn-id: svn://10.0.0.236/trunk@152160 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 10:38:14 +00:00
ian%hixie.ch
1b91695a6d Patch by Eira to support times and weight conversions. Reviewed and changed a bit by me.
git-svn-id: svn://10.0.0.236/trunk@152148 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 18:55:47 +00:00
ian%hixie.ch
8ddd24048a Remove spurious blank line which _seems_ to be causing problems in old perls.
git-svn-id: svn://10.0.0.236/trunk@152147 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 16:16:19 +00:00
ian%hixie.ch
53d6f6c85a Done Currency now. :-)
git-svn-id: svn://10.0.0.236/trunk@152146 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 16:15:46 +00:00
ian%hixie.ch
af5e2fc2b1 Currency convertor thanks to xe.com. Patch originally by Alex Schuilenburg <alex@schuilenburg.org>. Heavily edited by me. See bug 231120.
git-svn-id: svn://10.0.0.236/trunk@152145 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 16:06:18 +00:00
ian%hixie.ch
f3f6fbb43a Oops, checkRights was completely broken due to a couple of typos...
git-svn-id: svn://10.0.0.236/trunk@152143 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 14:30:31 +00:00
ian%hixie.ch
e0fcff84b0 Revamp of the way we handle nick problems.
git-svn-id: svn://10.0.0.236/trunk@152142 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 14:29:43 +00:00
ian%hixie.ch
a2cab20a10 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.
git-svn-id: svn://10.0.0.236/trunk@151953 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 13:09:40 +00:00
ian%hixie.ch
10e8cd8e2d Make the help line shorter so it doesn't wrap.
git-svn-id: svn://10.0.0.236/trunk@151952 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 13:08:18 +00:00
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
749ec32773 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.)
git-svn-id: svn://10.0.0.236/trunk@151950 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 13:02:49 +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