Commit Graph

2250 Commits

Author SHA1 Message Date
Jeremy Fincher
3566d941a2 Fixed bugz0r reported by gnd and lkn4it. 2004-02-16 03:54:16 +00:00
Jeremy Fincher
20b3b6ac88 Hopefully fixed the persistence problem. 2004-02-16 03:51:11 +00:00
James Vega
23393edd83 Set licensekey registry values to private values. 2004-02-14 07:17:59 +00:00
Jeremy Fincher
3776788694 Fixed bad configure juju. 2004-02-14 00:56:17 +00:00
Jeremy Fincher
fb59b25a63 Added the ability for configuration variables to be private so they can't have their values gotten by people who can't change them. 2004-02-14 00:47:21 +00:00
Jeremy Fincher
4786631c6c Made title snarfer not snarf if the URL is in an addressed message. 2004-02-13 21:57:38 +00:00
Jeremy Fincher
af0a4987f4 Made Factoids infinitely cooler. WE REFUSE TO BE A REDHEADED STEPCHILD! 2004-02-13 21:50:23 +00:00
Jeremy Fincher
8569d70f85 Fixed over-specifying test. 2004-02-13 10:33:18 +00:00
Jeremy Fincher
4c681b274c Fixed test, made sure that a failure in adding lookups doesn't keep the plugin from isntantiating. 2004-02-13 10:06:27 +00:00
Jeremy Fincher
87f4d36d6f Fixed tests. 2004-02-13 09:50:46 +00:00
Jeremy Fincher
c68a8015a0 Fixed failing tests. 2004-02-13 09:29:55 +00:00
Jeremy Fincher
f2fc683538 Added Herald.get. 2004-02-13 06:41:59 +00:00
Jeremy Fincher
2d79a470dc Fixed problem with integer-looking ids in repeat. 2004-02-13 04:24:44 +00:00
Jeremy Fincher
af60780619 Forgot an enumerate, man, that sucked. 2004-02-12 14:12:28 +00:00
Jeremy Fincher
4396d65b94 Added docstrings for the class. Eventually help should show these instead of the dispatcher helps. 2004-02-12 07:06:12 +00:00
Jeremy Fincher
31bb1abc7d Remove stupid alias crack...er...crap from Sourceforge. 2004-02-12 04:25:37 +00:00
Jeremy Fincher
b668da98aa Removed stupid alias crap\! 2004-02-12 03:59:08 +00:00
James Vega
09eae1bdcc Make sure to catch amazon.NoLicenseKey and provide a nice "hold-my-hand" help
message.
2004-02-12 01:13:16 +00:00
Jeremy Fincher
157106fad6 Changed from a warning to a debug log for unexpected NickServ notices. 2004-02-12 00:48:50 +00:00
Jeremy Fincher
dda081b302 Changed error message in the case of no license key. 2004-02-12 00:23:24 +00:00
James Vega
1f9d794943 Fix the Debian.version regexps and fully propagate the Zegrep -> Zgrep
renaming that occured a few days ago.
2004-02-11 23:39:47 +00:00
Jeremy Fincher
bd4451c3f6 Made RSS.announce require #channel,op. 2004-02-11 07:22:13 +00:00
Jeremy Fincher
1264f21f23 Fixed supybot.channels to use an IrcSet instead of a list. 2004-02-11 06:27:35 +00:00
Jeremy Fincher
cf1c3a84b9 Made Sen case-insensitive (again...) 2004-02-11 06:20:29 +00:00
Jeremy Fincher
139e1bb614 Stylistic updates. 2004-02-11 06:08:25 +00:00
Jeremy Fincher
78bf842965 Slightly more pervasive logging. 2004-02-11 06:07:50 +00:00
Jeremy Fincher
8df8c27a66 Safety catch for inconsistent wordstats/users databases. 2004-02-11 06:06:19 +00:00
Daniel DiPaolo
5aef3f2e02 Removed all instances of repr()'ing (or "%r" % ...'ing) factoid values or keys,
as that mucks about with unicode input/output which is desirable to keep.
2004-02-10 14:01:50 +00:00
Jeremy Fincher
ac74ef9819 Fix for bug #893264; we can now discover what channels require registration and only go after we've identified. 2004-02-10 04:01:05 +00:00
Jeremy Fincher
d9f1c47fba Fix for bug #893264; we can now discover what channels require registration and only go after we've identified. 2004-02-10 03:48:56 +00:00
Jeremy Fincher
71d0b0343a Made Relay *actually* save the channels in the registry. 2004-02-10 03:29:52 +00:00
Jeremy Fincher
a1cb1ae4d8 Added ghost command, caught a few more errors in identify. 2004-02-10 03:29:02 +00:00
Keith Jones
5eac427f15 Changed float division to integer division 2004-02-10 03:21:45 +00:00
Jeremy Fincher
20285ae546 Fixed bugz0rs in RSS's announcements. 2004-02-10 03:14:46 +00:00
Jeremy Fincher
0c2de453f2 Threaded RSS's announcements and made reloading/flushing work properly. 2004-02-10 02:49:52 +00:00
James Vega
dcd87d9ac2 Small grammar fix. 2004-02-09 20:32:49 +00:00
Jeremy Fincher
b63fc24865 Updated descriptions of how to re-enable commands. 2004-02-09 18:36:39 +00:00
James Vega
e3e896f014 Added proper detection of Alias plugin.
Added addition of search aliases in configure.
2004-02-09 16:47:25 +00:00
Jeremy Fincher
03084065d6 htmlToTexted the team. 2004-02-09 16:42:28 +00:00
Jeremy Fincher
e6f1b6e7ee Added a TODO. 2004-02-09 16:36:56 +00:00
Jeremy Fincher
c60664f620 Fixed bugz0r #893239. 2004-02-09 16:32:00 +00:00
Jeremy Fincher
340d1aae8d Fixed bug #893247. 2004-02-09 15:44:41 +00:00
Jeremy Fincher
08158cafcb Added a __revision__. 2004-02-09 04:40:30 +00:00
James Vega
2a586bdb78 Change project registry value to defaultProject. 2004-02-09 04:02:21 +00:00
James Vega
8623e98939 Yay, now we can convert negative numbers between bases 2004-02-09 03:08:33 +00:00
Jeremy Fincher
c290465c80 Fixed lots of stuff. 2004-02-08 10:03:27 +00:00
Jeremy Fincher
0ba2815746 Added help string for supa1337. 2004-02-08 09:25:55 +00:00
Jeremy Fincher
605129991d Fixed tests for BadWords. 2004-02-08 08:04:40 +00:00
Jeremy Fincher
5f18d57262 Slight stylistic updates. 2004-02-08 07:16:58 +00:00
Jeremy Fincher
645d654ada Updated to use plugins.ChannelUserDB. 2004-02-08 06:48:07 +00:00
Jeremy Fincher
04b2ecd5e6 Minor updates. 2004-02-08 06:24:00 +00:00
Jeremy Fincher
36c6aa2d3d Useless comment removed. 2004-02-08 03:24:30 +00:00
Jeremy Fincher
34f4e3412a Updated to a flatfile database. 2004-02-08 03:23:30 +00:00
Jeremy Fincher
679b4dec26 Gotta give the channel and id in deserialize. 2004-02-07 23:56:32 +00:00
Jeremy Fincher
d451233ec7 Oops, forgot this was a set, not a list. 2004-02-07 23:39:04 +00:00
Jeremy Fincher
5d5bffe9d2 Made channels to be stored in the registry, as well as slightly refactored do376. 2004-02-07 22:43:45 +00:00
Jeremy Fincher
c9655c6785 Added announce command. 2004-02-07 22:38:49 +00:00
Jeremy Fincher
6072094207 Changed ChannelUserDatabase to ChannelUserDB. 2004-02-07 21:36:40 +00:00
Jeremy Fincher
18fcfd9335 Converted Seen to use the ChannelUserDB. 2004-02-07 21:35:32 +00:00
Jeremy Fincher
097d4e93d6 Changed Herald to CSV. 2004-02-07 21:23:00 +00:00
James Vega
57454c86b3 Grammar proper good is. 2004-02-07 20:58:04 +00:00
James Vega
416a177e51 numbers -> integers 2004-02-07 20:51:30 +00:00
Keith Jones
4d296473e5 Modified base command to allow conversion between non-decimal bases 2004-02-07 20:41:07 +00:00
Jeremy Fincher
6a2f9010b8 Fixed bugz0r. 2004-02-07 18:21:46 +00:00
Jeremy Fincher
832165e779 Added cache command. 2004-02-07 12:11:03 +00:00
Jeremy Fincher
1a22cd530e Added two configurables to Note, thus closing another RFE. 2004-02-07 12:02:33 +00:00
Jeremy Fincher
a32a263b90 Added RFE #890130. 2004-02-07 11:23:02 +00:00
James Vega
aa6e663768 Added Babelfish.languages (which we should've had long ago) 2004-02-07 04:24:37 +00:00
Jeremy Fincher
ede140bcde Added the supa1337 filter for complete unreadability. 2004-02-06 16:30:35 +00:00
Jeremy Fincher
a7c2f24a1d Added some subjects. 2004-02-06 15:50:23 +00:00
Jeremy Fincher
a20f742417 liquidx is cool. 2004-02-06 10:48:52 +00:00
Jeremy Fincher
61e46c5049 Try to fix target and prefixing of name. 2004-02-06 09:18:52 +00:00
Jeremy Fincher
d282b8582a At least fix the formatting problem. 2004-02-06 09:17:33 +00:00
Jeremy Fincher
ea2f71d527 Safety catch to prevent a possible exception at dying time. 2004-02-06 09:16:40 +00:00
Jeremy Fincher
1f312044ae Fixed bug. 2004-02-06 07:14:07 +00:00
Jeremy Fincher
50b0957caf Oops, forgot to commit this awhile back. 2004-02-06 05:53:31 +00:00
Jeremy Fincher
b6c7fcafe4 Forgotto import conf. 2004-02-06 05:08:16 +00:00
Jeremy Fincher
c45564260d Oops, shouldn't still require sqlite. 2004-02-06 05:05:40 +00:00
Jeremy Fincher
3dc5dca1e3 Didn't register the plugin :) 2004-02-06 04:45:14 +00:00
Jeremy Fincher
6e062306f2 Added output to the list of functions imported from questions. 2004-02-06 04:36:21 +00:00
Jeremy Fincher
3af53ac0b3 Converted to zgrep from zegrep; I thought I did this before... 2004-02-06 04:34:52 +00:00
Daniel DiPaolo
0d2724d0f3 Fixed Dunno.change and added a test to make sure it works 2004-02-05 06:00:44 +00:00
James Vega
82b0bffb90 Properly disable the commands. Also, the configure prompts still need to be
updated to reflect the correct way to re-enable these commands.
2004-02-04 21:03:06 +00:00
Jeremy Fincher
d00935854e Fixed possible uncaught exception bugz0r. 2004-02-04 08:19:28 +00:00
Jeremy Fincher
3d186a1478 Changed not to use onStart. 2004-02-04 07:44:51 +00:00
Jeremy Fincher
3e08f7b80f Updated to use the registry and remove onStart. 2004-02-04 07:43:01 +00:00
Jeremy Fincher
be31cac273 Made lookups persistent with the registry. 2004-02-04 07:11:47 +00:00
Jeremy Fincher
03c6efcb7f Partial conversion to registry, need to get it on my desktop box to test. 2004-02-04 06:55:35 +00:00
Jeremy Fincher
0d6136610e Changed to use the registry. 2004-02-04 05:56:04 +00:00
Jeremy Fincher
1663642227 Fixed a tiny bugz0r. 2004-02-03 22:59:09 +00:00
Jeremy Fincher
0db9d6fd7d Restrict Alias from making Aliases that coincide with plugin names. 2004-02-03 16:47:18 +00:00
Jeremy Fincher
e9aac2e191 Made into a flatfile, w00t! 2004-02-03 05:29:40 +00:00
Jeremy Fincher
8f683713de Updated to use a cooler config file. 2004-02-02 08:34:58 +00:00
Jeremy Fincher
51a4db1a6c Converted Alias to use the cool new preserver stuff. 2004-02-02 07:15:27 +00:00
Jeremy Fincher
0830e576c2 Fix the output of doctype, I don't care if we're different from mozbot. 2004-02-02 01:30:47 +00:00
James Vega
096bbdc463 Added --{from,to} and --sent options to Note.list 2004-02-01 21:47:11 +00:00
Stéphan Kochen
23c4b69d3c Whoops. :p 2004-01-31 22:27:12 +00:00
Stéphan Kochen
5957eaad5d Lots of wizard updates. Still have to get rid of the onStart and
afterConnect stuff though.
2004-01-31 22:24:43 +00:00
James Vega
b410a79d64 So begins the slow whittling away at the "Condense old notes" RFE 2004-01-31 22:05:09 +00:00
Jeremy Fincher
7f2578a13e Updated to make the tests pass. 2004-01-31 22:04:46 +00:00
Jeremy Fincher
2b93f028d9 Fixed test and the names of some configuration variables. 2004-01-31 21:56:39 +00:00
Jeremy Fincher
17b32e8d54 Added nicer error handling if the user does try Note.get. 2004-01-31 21:25:42 +00:00
Jeremy Fincher
8e1b96885a Fixed all tests for this plugin. 2004-01-31 21:10:23 +00:00
Jeremy Fincher
55c392fae3 Fixed tests. 2004-01-31 21:03:31 +00:00
Jeremy Fincher
781ff46653 Moved some seen stuff out of ChannelStats. 2004-01-31 20:53:09 +00:00
Jeremy Fincher
941d4e1523 Updated to put just the domain rather than the whole url in snarfer replies. 2004-01-31 20:52:24 +00:00
Jeremy Fincher
4ebbf7bf52 Fixed all tests. 2004-01-31 20:48:05 +00:00
Jeremy Fincher
e51b41eef3 Split Seen out from ChannelDB. 2004-01-31 20:26:15 +00:00
Jeremy Fincher
b592ef27fc Fixed test failures in Bugzilla. 2004-01-31 17:31:04 +00:00
Jeremy Fincher
d2c6d66214 Fixed failing test for roulette. 2004-01-31 07:31:11 +00:00
Daniel DiPaolo
2d21655cb2 blootbot-compatibility (and cool feature desire) - moobot factoids that are
like "see <factoid key>" now actually return the value of that factoid key
2004-01-31 06:52:28 +00:00
James Vega
ef794aecb0 Removed some debugging logs 2004-01-31 00:34:46 +00:00
James Vega
1e76f3af70 Added vee2d2's Debian.new command 2004-01-31 00:18:04 +00:00
Jeremy Fincher
731c9f0bdb More bugz0rs fixed. 2004-01-30 23:47:30 +00:00
Jeremy Fincher
3f4a4297fe Must've accidentally removed addressedRegexps during the conversion to registry. 2004-01-30 22:12:27 +00:00
James Vega
6049e4c586 Added vee2d2's roulette w/out ops idea. 2004-01-30 21:41:52 +00:00
Jeremy Fincher
953e79e458 Changed a log entry. 2004-01-30 19:54:12 +00:00
Jeremy Fincher
88ba40baad Added cycleToGetOps configuration variable. 2004-01-30 19:00:04 +00:00
James Vega
43d0619796 We don't use '.' as the channel capability separator anymore. 2004-01-30 16:33:21 +00:00
Jeremy Fincher
ec288430df Finished fixing the switch to registry. 2004-01-30 06:11:51 +00:00
Jeremy Fincher
6362a02cd1 Let's play it safe. 2004-01-30 06:05:32 +00:00
Jeremy Fincher
c9787b29f7 Fixed a few bugs in the conversion from configurable to registry. 2004-01-30 06:00:30 +00:00
Jeremy Fincher
3de0f0e6f2 Updated, had bugs from the registry conversion. 2004-01-30 05:01:46 +00:00
Jeremy Fincher
3b17c81cb8 Changing the name from ChannelDB to ChannelStats. 2004-01-30 04:58:22 +00:00
Jeremy Fincher
e399b22667 Converted Relay to use the registry. 2004-01-30 04:54:15 +00:00
James Vega
b4d327cc61 Removed unnecessary __init__ and die methods 2004-01-30 00:04:56 +00:00
James Vega
fac4c5624c Removed any unnecessary configure methods (ones that only called
conf.registerPlugin) and changed all other configure methods to accept the
advanced argument instead of onStart.
2004-01-29 23:58:27 +00:00
James Vega
17174d134d Fixed the configure() definition. Fixed Debian.file so that something like
"@debian file ntpq" actually works without the user needing meta-characters.
2004-01-29 23:51:20 +00:00
Stéphan Kochen
e0f1538613 Bad indent. 2004-01-29 17:58:38 +00:00
Keith Jones
0c53779a1b Fixed calc docstring that I inadvertently messed up 2004-01-28 22:50:00 +00:00
James Vega
bc11f76166 Updated configure() to only take one argument (onStart) and switched all of
the onStart.append('load pluginName') calls to
conf.registerPlugin('pluginName', True)
2004-01-28 22:19:25 +00:00
Jeremy Fincher
4e5957d8d2 These don't work yet, but I need to be able to see my other diff. 2004-01-28 19:08:47 +00:00
Jeremy Fincher
c61e0c20d3 Converted to use the registry. 2004-01-28 19:05:16 +00:00
Jeremy Fincher
9cf39dfca4 Changed the help of learn to match the registry. 2004-01-28 18:13:21 +00:00
Jeremy Fincher
7f107ff9c2 Made maxSize a config variable, supybot.httpPeekSize. 2004-01-28 16:14:12 +00:00
Jeremy Fincher
b2f5fb630c Made hierarchical. 2004-01-28 15:53:46 +00:00
Jeremy Fincher
fda68a2252 Updated to add a few more configuration variables. 2004-01-28 14:05:21 +00:00
Daniel DiPaolo
1f60dc36c2 converted QuoteGrabs to use registry 2004-01-28 00:08:43 +00:00
Jeremy Fincher
214b7960bf Initial checkin. These don't work, but I figured I'd add them anyway. 2004-01-27 20:06:28 +00:00
Jeremy Fincher
78d4c39e1b Forgot not to import configurable. 2004-01-27 20:00:03 +00:00
Jeremy Fincher
10afe5b8dd Removed bestuptime. 2004-01-27 19:24:39 +00:00
Jeremy Fincher
64f4013a2f Updated to use the registry. 2004-01-27 18:09:35 +00:00
James Vega
a53819a00d Fixed some bugs left over from registry conversion. 2004-01-27 16:48:41 +00:00
Jeremy Fincher
05097050ac Updated to use the registry. 2004-01-27 15:36:49 +00:00
Jeremy Fincher
0627cb9c1c Updated to use the registry. 2004-01-27 15:28:00 +00:00
Jeremy Fincher
ca094203f5 Updated to use the registry. 2004-01-27 15:20:21 +00:00
Jeremy Fincher
1f76272d91 Removed a URL. 2004-01-27 12:28:27 +00:00
Jeremy Fincher
363fa7e6ea Changed to notice, stuck an extra empty line in. 2004-01-27 11:25:26 +00:00
Keith Jones
46e6fdaa62 removed stupid print statements 2004-01-26 23:34:28 +00:00
Daniel DiPaolo
778f382229 Filled out the module docstring. 2004-01-26 21:19:07 +00:00
Jeremy Fincher
215a2b3a76 Changed to registry. 2004-01-26 19:17:59 +00:00
Jeremy Fincher
578fca2c06 Deprecated the Friendly plugin. 2004-01-26 18:35:57 +00:00
James Vega
ecf9ed4f9c Typo 2004-01-26 15:35:29 +00:00
Jeremy Fincher
b8f497af21 Removed useless comment. 2004-01-26 03:48:05 +00:00
Jeremy Fincher
73a660164d Added optional 'to' handling to translate. 2004-01-25 18:13:13 +00:00
Jeremy Fincher
64b368381f Fixed capitalization bug in @seen. 2004-01-25 17:24:35 +00:00
Keith Jones
f36113a697 New convert command uses convertcore.py, plus updated units command.
Additionally, _floatToString now slightly more lax in checking "near
	enough" to zero, and uses same check for "near enough" to int. This was
	done so that convert [calc 2*pi] rads to degrees equals exactly 360.
2004-01-25 07:03:27 +00:00
Jeremy Fincher
78eafe3fa6 Fixed the sqrt bug submitted by kmj. 2004-01-24 18:57:01 +00:00
Jeremy Fincher
f3b49e4e88 Added cyborg. 2004-01-23 16:41:01 +00:00
Jeremy Fincher
75ef7630a8 Factored out _floatToString. 2004-01-23 15:43:09 +00:00
Jeremy Fincher
4308350a35 Updated slightly. 2004-01-23 14:20:57 +00:00
Jeremy Fincher
7202aa6d22 Some updates. 2004-01-23 13:32:02 +00:00
Jeremy Fincher
c4bb73205f Moved StringWithSpaceOnRight to registry.py. 2004-01-23 13:28:53 +00:00
Vincent Foley
89dadb78c6 removed the configurables I had forgotten to remove 2004-01-23 03:40:46 +00:00
Vincent Foley
d5bb45eacc Modified it to work with the new config scheme 2004-01-22 21:43:07 +00:00
Jeremy Fincher
108bbd8c4f Factored out _floatToString for kmj. 2004-01-22 00:52:11 +00:00
Daniel DiPaolo
46ec7d815c Oops, missed a "return" causing "seen --user idontexist" to double-reply. 2004-01-22 00:28:07 +00:00
Jeremy Fincher
5ac4a569a1 Oops, wrong variable name. 2004-01-21 21:28:03 +00:00
Jeremy Fincher
bb92d8e40b Converted to use the new registry dealio. 2004-01-21 20:10:08 +00:00
Jeremy Fincher
52bdcaf41d Converted RSS to the new registry dealio. 2004-01-21 19:11:27 +00:00
James Vega
2963fd352d Add some tests for Sf.todo* and make a little TODO for anyone that's
interested/me to remember
2004-01-21 06:32:17 +00:00
James Vega
c801aa9c46 Massive updates. urllib2 -> webutils, configurables -> registry, fix
Debian.version
2004-01-21 04:17:18 +00:00
James Vega
2f3ad5893c Update to use the registry 2004-01-21 02:19:47 +00:00
James Vega
7336a4c9ad Someone forgot to convert the testsuite when FunDB.num was switched to
FunDB.stats. Took care of that and updated to use the registry.
2004-01-21 02:19:26 +00:00
James Vega
75b6da806e Clean up the registry calls 2004-01-21 01:33:59 +00:00
James Vega
e9f77d6ab0 Clean up the registry calls 2004-01-21 01:19:54 +00:00
Jeremy Fincher
6748dc22ee Converted to use a global value instead of a channel value. 2004-01-20 12:29:11 +00:00
Jeremy Fincher
201f11cc94 Updated for the new registry dealio. 2004-01-20 12:27:48 +00:00
James Vega
9997042575 Added Sf.totalbugs and Sf.totalrfes 2004-01-20 08:00:39 +00:00
James Vega
144a5bc39e Made replyNoBugzilla a registry variable 2004-01-20 07:57:40 +00:00
James Vega
886e447c8c env is your friend 2004-01-20 07:15:37 +00:00
James Vega
5f82d72b7e Updated to use registry 2004-01-20 07:11:00 +00:00
James Vega
0b11192acf Updated to use the registry. 2004-01-20 06:27:17 +00:00
James Vega
97eadb6feb Can actually search with Google now that google.setLicense is being called.
Also, maxiumum-results -> maxiumumResults to prettify the function calls.
2004-01-20 04:32:23 +00:00
James Vega
006909b909 Converted to use the registry. 2004-01-20 04:24:21 +00:00
James Vega
a8c3d67cfc Convert Google to using the registry which required adding PositiveInteger
Class to the registry.
2004-01-19 23:42:50 +00:00
Jeremy Fincher
bb97cb3884 Updated not to set the supybot.plugins.Dict value when it registers the plugin. 2004-01-19 23:00:08 +00:00
Jeremy Fincher
4fa547c1c6 Updated the configure function. 2004-01-19 22:37:22 +00:00
Jeremy Fincher
9c0b26ebb0 Updated to make setting channel values and global values easier. 2004-01-19 22:07:41 +00:00
Jeremy Fincher
8424761047 Converted Dict to the new registry format. 2004-01-19 21:38:03 +00:00
James Vega
0b62247ccb self.open() needs to happen *after* self.filename is set 2004-01-19 21:16:58 +00:00
Jeremy Fincher
224cacc966 Fixed several bugs and added the replies rich reply method. 2004-01-19 20:51:04 +00:00
Jeremy Fincher
6950f65c98 Topic sync has broken one of our invariants. 2004-01-19 20:21:30 +00:00
Jeremy Fincher
eb217d82ae Changed num to stats. 2004-01-18 08:19:44 +00:00
Jeremy Fincher
6ca78924f3 HUUUUUUUUGE Configuration change. 2004-01-18 07:58:26 +00:00
Jeremy Fincher
79fb00d8d6 Fixed bug #878955. 2004-01-18 04:55:18 +00:00
Stéphan Kochen
7c9675269d Case insensitive. 2004-01-16 23:37:37 +00:00
Jeremy Fincher
29426e2f1d Moved isIP* to utils from ircutils. 2004-01-16 17:33:51 +00:00
Jeremy Fincher
b2f23c6f63 Updated the rest of the code to use utils.changeFunctionName. 2004-01-16 16:39:00 +00:00
Jeremy Fincher
8a322cfddf Changed from being globally threaded to just threading the email command. 2004-01-16 16:15:10 +00:00
Jeremy Fincher
83cc3132ba Increase timeout to 2 seconds. 2004-01-15 17:08:57 +00:00
Jeremy Fincher
69f8c40119 Added deprecation support. 2004-01-15 14:08:14 +00:00
Jeremy Fincher
4db8dfb773 Catch an exception uncaught before. 2004-01-15 11:25:04 +00:00
James Vega
fbcec1b89f Fix the 'No high bidder' bug (#876914) 2004-01-15 00:03:20 +00:00
Vincent Foley
80da030351 Changed the HangmanGame class a little and how a game works. 2004-01-14 21:10:42 +00:00
Jeremy Fincher
d18d6b63c7 Committed the fix for the bug mentioned by Flumminator. 2004-01-14 15:46:12 +00:00
Jeremy Fincher
fe0e5e9c43 Fixed uncaught exception on messages with just spaces. 2004-01-14 03:29:05 +00:00
Vincent Foley
20984842f3 Fixed a bug 2004-01-13 06:43:58 +00:00
Daniel DiPaolo
18c49c9a56 Fixed case sensitivity on quotegrabs list. Again?? I could have sworn I fixed this already once! Doo-doo-doo-doo doo-doo-doo-doo doo-doo-doo-doo... 2004-01-13 06:39:58 +00:00
James Vega
8eb9effe6f removing debug code is good 2004-01-13 05:56:17 +00:00
James Vega
6c1e115434 Finally put a small band-aid on the sourceforge functions. Now one can
specify the search type, but you'll still get an error if the bug isn't on the
first page.
2004-01-13 05:44:43 +00:00
James Vega
6a48344a98 I don't know why I named it _res in the first place. 2004-01-13 02:48:25 +00:00
Jeremy Fincher
8039679883 Added a dot. 2004-01-12 18:56:10 +00:00
Daniel DiPaolo
9d7c1a64c2 Make it so that ACTIONs don't get added as factoids 2004-01-11 23:22:59 +00:00
Jeremy Fincher
75d529872a Remove some tabs. 2004-01-11 14:47:44 +00:00
Jeremy Fincher
65b139dda9 Changed slightly to use nonCommentNonEmptyLines. 2004-01-11 14:38:11 +00:00
Vincent Foley
57493551ff YABF 2004-01-09 22:17:38 +00:00
Vincent Foley
9f96715768 Fixed a typo in a variable which caused an exception 2004-01-09 22:01:54 +00:00
Jeremy Fincher
049839cda0 Fixed broken URL. 2004-01-09 19:01:54 +00:00
James Vega
27151f6523 Fix for bug 873896 2004-01-09 17:05:52 +00:00
James Vega
cb73cc3b73 Add some logic to the wind chill/heat index regexes so that they don't grab
N/A and clean up the construction of the index string.
2004-01-09 02:50:23 +00:00
Jeremy Fincher
69aaea218f Moved base command to Math (from Fun) and added a test for no escaping ValueError. 2004-01-09 00:13:44 +00:00
James Vega
626958bef9 Change the path back to normal and switch irc.reply back to how it should be 2004-01-09 00:06:48 +00:00
Jeremy Fincher
585eb4a751 Oops, still had a msg! 2004-01-09 00:03:59 +00:00
James Vega
1c2bdcbf3d TinyURLs are now 24 characters in length 2004-01-08 23:53:08 +00:00
James Vega
db16ba33ad Guess I should make sure I delete the debug line and not the code line 2004-01-08 23:45:22 +00:00
James Vega
c6a6fd47b7 Teaches me not to compare strings like they're ints 2004-01-08 23:43:32 +00:00
Jeremy Fincher
57b038ea63 Make sure seen doesn't warp the case of the nick given. 2004-01-08 23:31:01 +00:00
Jeremy Fincher
1c03464fd9 Huge commit to finish refactoring of replies. 2004-01-08 23:03:48 +00:00
Vincent Foley
5700a69aed Used Words dbHandler variable and fixed a couple of bugs 2004-01-08 22:31:31 +00:00
Jeremy Fincher
845142e688 Updated replyNotRegistered stuff. 2004-01-08 21:49:10 +00:00
Jeremy Fincher
2846b4ab2f Updated more replies. 2004-01-08 15:47:38 +00:00
Jeremy Fincher
099b8bc14b Updated some capabilities stuff. 2004-01-08 15:24:56 +00:00
Vincent Foley
25918481ad Moved a couple of methods from Words to HangmanGame 2004-01-08 06:44:52 +00:00
Vincent Foley
b44c7b50e5 Cleaned Hangman code:
- Made it work with the Word db
  - Used a HangmanGame class instead of a dict for states
  - Changed lines that were too long
2004-01-08 05:19:31 +00:00
Jeremy Fincher
530aec2be0 Updated the reply infrastructure. No more msg, it's just not necessary. 2004-01-08 03:12:14 +00:00
Jeremy Fincher
1863c8b6ad Nice ChannelDB... 2004-01-08 00:48:30 +00:00
Jeremy Fincher
1132c63d38 I forget what I did. 2004-01-08 00:44:35 +00:00
Jeremy Fincher
aa7408c09b Changed over to the cool new RichReplyMethods stuff, mostly. 2004-01-07 19:09:24 +00:00
Jeremy Fincher
eb0251c247 Oops, forgot to remove stuff from Fun. 2004-01-07 16:09:44 +00:00
Jeremy Fincher
a6ab624448 Moved Filter stuff out to its own plugin. 2004-01-07 16:00:03 +00:00
Jeremy Fincher
d5aeefeb59 Moved Weather to its own plugin. 2004-01-07 15:17:53 +00:00
Jeremy Fincher
4b9c025d3a Oops\! 2004-01-07 13:40:45 +00:00
Jeremy Fincher
81202ebba2 Fixed bug #871986. 2004-01-07 12:33:00 +00:00
Vincent Foley
58d86e7cd8 Added Hangman 2004-01-07 03:02:03 +00:00
James Vega
f4127b6f03 Added bold configurable 2004-01-06 05:07:30 +00:00
Jeremy Fincher
0d25243fb0 Added configurables for smileys and frowns. 2004-01-06 03:58:48 +00:00
Jeremy Fincher
8d6956f4ae Add a check for an int id so people who use 'note get' will understand the error message more. 2004-01-06 02:40:16 +00:00
Jeremy Fincher
553d7d6060 Inital commit. 2004-01-05 21:26:41 +00:00
Jeremy Fincher
ce93c286e2 Oops, forgot to change the name of the defined function. 2004-01-05 18:00:29 +00:00
Daniel DiPaolo
4dd0e26ddc Added configurable prefix to new news item announcements 2004-01-05 01:04:03 +00:00
Jeremy Fincher
17c6e69d2f Don't replySuccess from Scheduler.repeat. 2004-01-04 15:43:49 +00:00
Jeremy Fincher
f1a68ff16f Moved seconds command to Misc from Scheduler. 2004-01-04 15:19:41 +00:00
Jeremy Fincher
b2c156609f Fixed! 2004-01-04 15:16:20 +00:00
Jeremy Fincher
2dbbdb7a4c Changed the type of the topic-separator configurable. 2004-01-04 13:51:33 +00:00
Jeremy Fincher
4e69914648 Made to relay actions and away messages. 2004-01-04 13:50:43 +00:00
Jeremy Fincher
881a2e000d Stylistic updates. 2004-01-04 13:49:51 +00:00
Jeremy Fincher
a10900da83 Made throttling work correctly. 2004-01-04 13:02:24 +00:00
Jeremy Fincher
bb74f518a1 Fixed several bugz0rs. 2004-01-04 12:59:10 +00:00
Jeremy Fincher
e989cd4bc1 Added an additional logging message. 2004-01-04 12:44:30 +00:00
Jeremy Fincher
a5bfb61471 Added RFE #799694, Automatic posting of new RSS news. 2004-01-04 12:34:01 +00:00
Jeremy Fincher
669ac8995f Moved _urlRe to webutils as urlRe. 2004-01-04 11:18:53 +00:00
Jeremy Fincher
61eb55fa57 Added checking for ops and actually being in the channel to getops. 2004-01-04 09:57:33 +00:00
Jeremy Fincher
a065477bbd Changed get to just plain note, as per RFE #869628. 2004-01-03 15:59:51 +00:00
Jeremy Fincher
c4a122da5a Fixed bug #869652. 2004-01-03 06:26:39 +00:00
Jeremy Fincher
b0559e3d75 Added server command. 2004-01-02 21:36:45 +00:00
Jeremy Fincher
68591b1ec9 Fixed bug #868338 (Relay.whois). 2004-01-02 20:59:14 +00:00
Jeremy Fincher
8b6733ee5d Fixed some bugz0rs. 2004-01-02 19:54:25 +00:00
Jeremy Fincher
8895ffdc1c Should fix bugs #858964 #862544. 2004-01-01 20:09:35 +00:00
Jeremy Fincher
24d191d5dc Added non-snarfing-regexp and title-snarfer-includes-url configurables. 2004-01-01 20:08:03 +00:00
Jeremy Fincher
b1cd34b91e Added better handling, hopefully fixing bug #860614. 2004-01-01 20:06:42 +00:00
Jeremy Fincher
c0e219ecfb Initial checkin. 2004-01-01 19:45:15 +00:00
Jeremy Fincher
6393a0c36e Better handling of unknown memory thingies and proper handling of Darwin and changed memory to RSS and stuff like that. 2004-01-01 19:12:14 +00:00
Jeremy Fincher
526f8d7314 Make sure to relay actions and away messages. 2004-01-01 19:10:20 +00:00
Jeremy Fincher
a247e2f008 Better error handling for calc/icalc. 2004-01-01 19:09:34 +00:00
Jeremy Fincher
2f55345012 Added bold and maximum-results configurable. 2004-01-01 19:09:02 +00:00
Jeremy Fincher
83995296b7 Removed trailing periods in larts and praises. 2004-01-01 19:08:08 +00:00
Jeremy Fincher
8070401018 Added learn-separator and show-factoid-if-only-one-match configurables. 2004-01-01 19:07:38 +00:00
Daniel DiPaolo
629dd867f1 Fixed lack of case-insensitivity in randomquote 2003-12-29 11:12:37 +00:00
Daniel DiPaolo
f886d6529f fixed another .0 bug 2003-12-29 03:12:47 +00:00
Daniel DiPaolo
6000b1c27d Fixed a few places where int()'ing COUNT result cols was required 2003-12-27 09:31:38 +00:00
Daniel DiPaolo
7b0af3d67f Fixed a _really stupid_ error message buglet. Man I suck sometimes. 2003-12-22 01:03:09 +00:00
Daniel DiPaolo
29cdcfb437 Fixed #862667 - floats in 'karma most' output, also made the number of items
shown with 'karma most' into a configurable and fixed a typo in one of the
other configurable descriptions
2003-12-19 03:13:17 +00:00
Daniel DiPaolo
1474c16a5f Fixed #862645 - unquoted spaces getting sent in HTTP request 2003-12-19 01:58:49 +00:00
Jeremy Fincher
bddac5c382 Oops, shouldn't have made self._whois an IrcDict. 2003-12-18 08:29:17 +00:00
Daniel DiPaolo
b995b2fd5c Fixed a kernel bug which only happens when either one of the stable or beta
kernels isn't listed on the page and also fixed the geekquote tests to match
the new behavior.
2003-12-18 04:47:05 +00:00
Jeremy Fincher
7ce4ab206c Added titleSnarfer (RFE #842238). 2003-12-17 13:55:22 +00:00
Jeremy Fincher
eca71949b4 Minor code cleanup. 2003-12-17 13:16:42 +00:00
Jeremy Fincher
751090a556 Some kind of little cleanup. There was a pluralize call that used the wrong order for its arguments. 2003-12-17 13:14:33 +00:00
Jeremy Fincher
d4136073e1 Forgot an import. 2003-12-16 21:20:27 +00:00
Jeremy Fincher
6df8eed142 Caught a previous uncaught exception. 2003-12-16 21:01:59 +00:00
Jeremy Fincher
4a6ac27406 Added a configurable to determine the number of things shown in the ranking. 2003-12-16 20:51:37 +00:00
Jeremy Fincher
a12c4200ac Forgot a return. 2003-12-16 13:45:37 +00:00
Jeremy Fincher
cf80ab7800 Added Relay.command. 2003-12-16 13:44:09 +00:00
Jeremy Fincher
86363520b8 Minor changes. 2003-12-16 13:35:42 +00:00
Jeremy Fincher
bb4d9afe16 Made more platform-neutral (ironically). 2003-12-16 13:34:12 +00:00
Jeremy Fincher
2ba68353dd Added RFE #859119, configurable karma response. 2003-12-16 13:06:21 +00:00
Jeremy Fincher
54102ae5f7 Stupid vim! Didn't show my my syntax error. 2003-12-16 12:27:36 +00:00
Jeremy Fincher
d168314786 Added a little better checking to the spell command. 2003-12-16 04:21:28 +00:00
Jeremy Fincher
dfe9008248 Oops, I'm retarded. f.func_name needed to be just name. 2003-12-16 03:10:02 +00:00
Daniel DiPaolo
35ecd7bd98 Closed #860139 - including wordstat count in stat output as well as rank. Also
made it so that if your name already appears in the top N results that it
doesn't append that rank stuff.
2003-12-15 12:39:38 +00:00
Daniel Berlin
be44ed857e Add Bugzilla search 2003-12-12 22:41:50 +00:00
Jeremy Fincher
0fbfe32538 Added an appropriate error message when acronymfinder.com cuts us off. 2003-12-12 18:33:00 +00:00
Jeremy Fincher
42ce8c33a6 Swapped the argument order for utils.{pluralize,nItems} 2003-12-12 15:41:33 +00:00
Jeremy Fincher
f4f91bcdb0 Removed --exact searching, made to search keys, not values by default, and added --values switch for searching values. 2003-12-12 14:01:16 +00:00
Jeremy Fincher
06c85f5c93 Removed --exact. 2003-12-12 13:25:03 +00:00
Jeremy Fincher
c922957655 Changed got376 to afterConnect. 2003-12-12 12:47:23 +00:00
Jeremy Fincher
a551c32267 Just an early start on the more complex stuff. 2003-12-12 12:29:22 +00:00
James Vega
627dd87baf Now globs will actually be globbed 2003-12-11 00:27:01 +00:00
James Vega
318b9d5d19 Added Lookup.search 2003-12-11 00:25:50 +00:00
James Vega
e196650f20 Fixed some grammar errors 2003-12-10 22:55:48 +00:00
Jeremy Fincher
b7fbaedcad Made sure it doesn't relay CTCP messages. 2003-12-10 18:50:35 +00:00
James Vega
0c3c37b4ba Now Todo.remove can take multiple taskids to be removed instead of just one 2003-12-10 13:51:58 +00:00
Jeremy Fincher
c6d77bb923 Added a topic-sync configurable for determining whether or not the bot should relay topic changes. 2003-12-10 08:27:30 +00:00
Jeremy Fincher
7f7562ef42 Allow ambiguous aliases. 2003-12-10 07:43:45 +00:00
Jeremy Fincher
9678560c98 Made configurable. 2003-12-10 06:58:17 +00:00
Jeremy Fincher
8df0b3888f Nicer error message. 2003-12-09 20:46:40 +00:00
James Vega
66ec4ab4d7 Improve some error handling and test some more uses 2003-12-09 15:57:19 +00:00
James Vega
15a2b84a36 Yeah, for fixing code that wasn't the cause of the problem I was trying to
fix.  Lemme put that back to normal.
2003-12-09 15:24:14 +00:00
James Vega
f4995b4df9 user->nick change for Relay.whois 2003-12-09 14:56:45 +00:00
James Vega
76e20b9c72 Got rid of another urlopen call 2003-12-09 14:52:32 +00:00
James Vega
05238bfcc6 Topic.reorder: Fixed some bugs found via jemfinch's new tests 2003-12-09 14:51:04 +00:00
James Vega
8fe7d7e4e8 Add identified status and away message to Relay.whois 2003-12-09 14:35:54 +00:00
James Vega
03aad1712a Added Http.extension 2003-12-09 14:35:19 +00:00
James Vega
d91cc33c58 Added Topic.reorder 2003-12-09 14:05:32 +00:00
Jeremy Fincher
8fb158d434 Robustified. 2003-12-09 04:57:34 +00:00
Jeremy Fincher
ec16d3ae8b Reverted a version. 2003-12-09 00:39:16 +00:00
Jeremy Fincher
5d9ecea552 Fixed bug in Poll.add, it didn't handle sqlite returning a string. 2003-12-09 00:35:13 +00:00
Jeremy Fincher
60797f770d Handle p.d.o being down gracefully. 2003-12-09 00:32:53 +00:00
Jeremy Fincher
6b5d32c4b5 Removed an old comment. 2003-12-09 00:03:42 +00:00
James Vega
fc1fc32a01 Debian.incoming: glob is now required. Change glob behavior to match the rest
of supybot's globs.
2003-12-08 16:59:46 +00:00
James Vega
607793b6b4 Added Amazon.books and Amazon.videos so that users can search those products
by keywords.  Added tests to match.
2003-12-08 16:32:29 +00:00
James Vega
946d9b234c Http.weather: Cleaned up some regexes and added proper checking to re.search
result assignments. Added reporting of Heat Index/Wind Chill if they are
different than the actual temperature.
2003-12-08 15:38:49 +00:00
Jeremy Fincher
7d7e396bac Converted to use a DBHandler. 2003-12-08 13:15:00 +00:00
Jeremy Fincher
836ef993df Converted to use a DBHandler. 2003-12-08 13:08:14 +00:00
Jeremy Fincher
0719b5e6b8 Stylistic changes. 2003-12-07 05:33:31 +00:00
Jeremy Fincher
be7a2921e2 People should be able to get a todo regardless of its active/inactive status. 2003-12-07 01:19:00 +00:00
Jeremy Fincher
8727e620ad Fixed several latent bugs, made much more robust. 2003-12-06 23:49:22 +00:00
Jeremy Fincher
d06418633c Changed \x02...\x0F to an ircutils.bold. 2003-12-06 13:26:00 +00:00
Jeremy Fincher
f26115bb9b Fixed bug #853654. 2003-12-05 12:08:24 +00:00
Jeremy Fincher
5a6b5329f1 Fixed bug #854232. 2003-12-05 12:01:19 +00:00
Daniel DiPaolo
f85a069eec Oops, the old logic for starting option ids at 1 was bogus. 2003-12-05 03:55:28 +00:00
Daniel DiPaolo
c7f50eb31c Added some poll enhancements 2003-12-05 02:53:20 +00:00
Jeremy Fincher
56b68d6893 Fixed bug #853904. 2003-12-04 08:50:49 +00:00
Jeremy Fincher
c8783e5ce6 Added an icalc command for doing calculations with real integers. 2003-12-04 08:29:19 +00:00
Jeremy Fincher
e46765f426 Added a trusted capability (defaulting to off); made Utilties.re require it. 2003-12-04 08:28:56 +00:00
Jeremy Fincher
fd97e8d634 Fixed bug in that you could add over top already-existing commands. 2003-12-04 07:03:37 +00:00
James Vega
0857e3aca6 with Sourceforge.bug and Sourceforge.rfe's powers combined, we have
Sourceforge.tracker!
2003-12-04 02:18:55 +00:00
James Vega
93d3d78ccb Commented out some debugging log statements (yes, I realize they were in a
huge comment block already)
2003-12-04 02:04:56 +00:00
James Vega
fa1c70b137 Finished flushing out Amazon's use of the web services. Added actual tests to
the test suite and updated pyamazon from 0.4 to 0.61
2003-12-04 01:56:50 +00:00
Jeremy Fincher
4aa05c353a Added ping command. 2003-12-03 23:56:06 +00:00
Jeremy Fincher
3398f1a819 Made the error message better when people try to run a plugin that requires sqlite and they don't have it. 2003-12-03 23:48:00 +00:00
Jeremy Fincher
2aaca31709 Moved Configurable out to its own module. 2003-12-03 23:14:09 +00:00
Jeremy Fincher
e23bf4167b Use items() intead of iteritems() because we're deleting from the dictionary. 2003-12-03 21:54:18 +00:00
Jeremy Fincher
8cbcb2e225 Added some informational logging. 2003-12-03 21:45:02 +00:00
Jeremy Fincher
7accc317a7 Fixed the 'Alias raises a buttload of exceptions' bug. 2003-12-03 21:42:48 +00:00
Jeremy Fincher
246afc30e1 Made it not depend on Alias anymore. 2003-12-03 21:21:43 +00:00
Jeremy Fincher
c6b232b588 Made to require admin capabilities to add/remove lookups. 2003-12-03 21:19:49 +00:00
Jeremy Fincher
ed5fede565 Added Note.unsend command. 2003-12-03 21:00:56 +00:00
Jeremy Fincher
b2f98258a6 Fixed bug in handling of pages less than maxSize but with no Content-length header. 2003-12-03 20:47:33 +00:00
Jeremy Fincher
0f3dcf0c01 Added Http.size, Http.doctype, and Http.headers. 2003-12-03 05:24:18 +00:00
Jeremy Fincher
7b9c0ccd86 Changed the name of WebException to WebError. 2003-12-03 04:57:30 +00:00
Daniel DiPaolo
42afa12765 Time to *really* finish up the stuff in the RFE and not just close it without
completely finishing it off ;)
2003-12-03 03:14:40 +00:00
Jeremy Fincher
31de7d0cf8 Fixed bugz0r! 2003-12-03 02:43:30 +00:00
Jeremy Fincher
e9b20c83ec Fixed bugz0r! 2003-12-03 02:26:20 +00:00
Jeremy Fincher
f8ea57b05f Added RFE #852937. 2003-12-03 02:17:10 +00:00
Jeremy Fincher
d4442a04ff Slightly tweaked, added test. 2003-12-03 01:55:19 +00:00
Daniel DiPaolo
fe9468c0e6 Always bet on black! 2003-12-03 01:43:38 +00:00
Jeremy Fincher
fd06e1c7ee Changed to use DBHandler. 2003-12-02 22:40:50 +00:00
Jeremy Fincher
2f7d2d7f61 Gave DBHandler a .die() method. 2003-12-02 22:40:33 +00:00
Jeremy Fincher
77a8d8bd2d Added swap to rpn. 2003-12-02 22:08:46 +00:00
Jeremy Fincher
ee5de6e0d7 Made sure to depluralize the command name. 2003-12-02 19:02:53 +00:00
James Vega
6e46263279 Cleaner line break 2003-12-02 19:01:59 +00:00
James Vega
7a418a1bf6 Damn, it feels good to be a ChannelDB 2003-12-02 19:00:11 +00:00
James Vega
9277d4113f According to pysqlite 0.50.0 you can have a fractional number of items in a db
:(
2003-12-02 18:58:28 +00:00
Jeremy Fincher
1ff44651a9 Intify the stupid help. 2003-12-02 18:50:46 +00:00
Jeremy Fincher
1b8d655738 Added help strings to lookups. 2003-12-02 18:37:39 +00:00
Jeremy Fincher
f9adc0d0c7 Made the separator a configurable. 2003-12-02 16:26:08 +00:00
Jeremy Fincher
ee8be5abc1 Stupid SyntaxError! 2003-12-02 16:25:02 +00:00
Jeremy Fincher
b5f6155e66 Changed to be a ChannelDBHandler. 2003-12-02 13:54:57 +00:00
Jeremy Fincher
1f4c16367a Should be able to reload Relay now, but it's untested. 2003-12-02 13:39:30 +00:00
Jeremy Fincher
bc56a8e3f2 Handle errors in getUrlFd properly in Http.kernel. 2003-12-02 11:31:27 +00:00
Jeremy Fincher
1aaf611158 Made sure the fd gets closed in Http.kernel. 2003-12-02 11:19:53 +00:00
Jeremy Fincher
aaef8cdf70 Webutilified. 2003-12-02 11:18:51 +00:00
Jeremy Fincher
5549322771 Fix for bug #852422. 2003-12-02 11:16:26 +00:00
Jeremy Fincher
2f1c8415b6 Added getUrlFd, used it in Http.kernel. 2003-12-02 11:10:31 +00:00
James Vega
f65b3cd8c0 w00t! we have more than 1 command 2003-12-02 07:38:18 +00:00
James Vega
9fe682fe29 I have the *power*! ... of webutils 2003-12-02 06:03:42 +00:00
James Vega
53b9a47e92 I canno' do it capt'n. My irc.error doesn't have a msg 2003-12-02 05:49:10 +00:00
James Vega
a0b0999762 Apparently the pigs at hamweather think Tsra == Thunder Storms. I didn't find
that to be very obvious, so I added a little .replace() to be more friendly
2003-12-02 03:10:16 +00:00
Jeremy Fincher
b1f0bbe887 Shouldn't have taken out the callCommand when I converted to webutils. 2003-12-02 00:25:54 +00:00
Jeremy Fincher
8d9ed6bf87 Added webutils module; used it in Http. 2003-12-02 00:12:45 +00:00
Jeremy Fincher
9264b635e2 Added most command. 2003-12-01 23:47:37 +00:00
Jeremy Fincher
602f92622c Fixed RFE #828722 and removed Lookup's dependency on the Alias plugin. 2003-12-01 23:02:31 +00:00
James Vega
23d81ec0cd Removed pydoclink (whose idea was it to add that useless command anyways?) /me
hides
2003-12-01 18:15:53 +00:00
Jeremy Fincher
f24011559b Changed the name of cpustats and netstats and cmdstats to remove the stats part. 2003-12-01 12:39:38 +00:00
Jeremy Fincher
efa81e0ac2 Fixed SyntaxError. 2003-12-01 12:03:23 +00:00
Jeremy Fincher
ca6ebdce52 Added some extra logging of eval'ed expressions. 2003-12-01 11:25:48 +00:00
Jeremy Fincher
cada17ebb3 Added logging of the regexp and originator, in case of abuse. 2003-12-01 11:17:00 +00:00
Jeremy Fincher
fb2d9b7f4f Various re fixes, including bug #850931. 2003-12-01 11:06:17 +00:00
James Vega
42e43531fc irc.error()'s need a msg 2003-12-01 04:10:50 +00:00
James Vega
b0fa84408e Added pydoclink, a command which returns a link to the current documentation
for the specified module
2003-11-30 23:24:09 +00:00
James Vega
3adad29021 Removed extraneous paren 2003-11-30 17:56:39 +00:00
Jeremy Fincher
72f93610b1 Fix for bug #851254. 2003-11-29 18:45:29 +00:00
Jeremy Fincher
e15d15f794 Made sure Http.title doesn't read infinitely. 2003-11-29 02:34:07 +00:00
Jeremy Fincher
0b0d10fc82 Removed periods at the end of the reason. 2003-11-28 19:04:24 +00:00
Jeremy Fincher
a40742edb7 Added the id of the just-added todo to the reply. 2003-11-28 18:29:04 +00:00
Jeremy Fincher
b0fa390f99 Added the number of people to Relay.names. 2003-11-28 18:22:41 +00:00
Daniel DiPaolo
13b718ff96 It's probably a lot more useful to list the most popular options first in the
results.
2003-11-26 21:24:09 +00:00
Daniel DiPaolo
ea23b47163 Did a complete rework of the poll plugin. 2003-11-26 20:27:42 +00:00
Jeremy Fincher
e187479e19 Fixed crossword bug committed by Xylo. 2003-11-26 19:01:45 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Daniel DiPaolo
c97fe5e4a1 The configurable help message now includes an example. 2003-11-26 17:27:50 +00:00
Daniel DiPaolo
1999cb4bbe ddipaolo-- (hey buddy, next time you might want to actually update the
configurable item's help string when you copy it from another module)
2003-11-26 17:24:31 +00:00
Daniel DiPaolo
89857d9bd8 Made Karma a configurable, added the 'simple-output' option to forego all the
'increased/decreased' output when requesting something's karma and to just
return the name and the total karma.
2003-11-26 17:07:20 +00:00
Daniel DiPaolo
8dc24b2d50 Implemented usability fix (RFE #849691) where if listkeys returns only one
factoid key, it should just return the value.
2003-11-26 16:20:57 +00:00
Jeremy Fincher
d64f5314f8 Fix for bug #849619. 2003-11-26 12:39:37 +00:00
Daniel DiPaolo
130f30cca8 Completed the implementation of handling google groups URLs with 'prev=/' in
them
2003-11-25 21:42:25 +00:00
Jeremy Fincher
574c861cdb Fixed bugs with stupid contractions in NickServ notices. 2003-11-25 15:37:25 +00:00
Jeremy Fincher
5564e43239 Added ability to configure showing of ids on or off. 2003-11-25 11:43:09 +00:00
Jeremy Fincher
77393f83ad Fixed bug in identification/doNotice code that would cause an infinite loop if the stupid services on the stupid (coughoftccough) network use a contraction. 2003-11-25 10:30:58 +00:00
Jeremy Fincher
2c779bd543 Changed Alias.freeze to Alias.lock. 2003-11-25 10:19:40 +00:00
Jeremy Fincher
6d3cb48c51 Fixed uptime sorting. 2003-11-25 09:45:01 +00:00
Jeremy Fincher
86b41dd4a6 Allowed escaping of colons in supyfact files. Didn't allow escaping of backslashes, yet, but that's less a worry, I think. 2003-11-25 09:08:06 +00:00
Jeremy Fincher
1687b3f916 Wasn't using an IrcString for the chanserv nick. 2003-11-25 08:28:41 +00:00
Jeremy Fincher
5f4a541fe1 Added __revision__ strings. 2003-11-25 08:23:47 +00:00
Jeremy Fincher
6ce845f8d3 Updated to include strings in @objects output. 2003-11-25 08:20:41 +00:00
Jeremy Fincher
4e273a2395 Fixed some use of regexps, commented out a test that was failing because a game expired. 2003-11-24 23:07:51 +00:00
Brett Phipps
0a13904a13 Added an additional check to weather. Fixed getting a single
argument that coudl not be found properly.
2003-11-24 20:35:26 +00:00
Jeremy Fincher
f53c92cce9 Fix for bug #847950. 2003-11-24 09:40:27 +00:00
Daniel DiPaolo
2cdd2392ff Fixed an UnboundLocalError caused by forgetting to assign a default None value
to some vars.
2003-11-24 06:12:09 +00:00
Jeremy Fincher
d338789a7b Fixed bug in acronym showing the header, added a test. 2003-11-23 13:25:43 +00:00
Jeremy Fincher
d05a9a3121 Updated for newly tweaked acronymfinder page. 2003-11-23 13:20:20 +00:00
Jeremy Fincher
d1bbb015a8 Poor attempt to fix the 33 years bug. 2003-11-23 13:01:19 +00:00
Jeremy Fincher
f7d5be5ee8 Explained the sf alias and its usefulness. 2003-11-22 17:10:41 +00:00
Jeremy Fincher
6ae0a0b8c4 Made configure handle comments and empty lines. 2003-11-22 06:57:03 +00:00
Jeremy Fincher
27ce1d3cc7 Fixed an uncaught exception in configure. 2003-11-22 06:54:42 +00:00
Jeremy Fincher
7642def926 Don't bother asking about Alias if it's already been loaded. 2003-11-22 06:42:11 +00:00
Jeremy Fincher
41c2ead5bd Changed to be a Configurable, fixed a few possible bugs. 2003-11-22 04:23:59 +00:00
Jeremy Fincher
b1f424d1ed Handled Windows' timeout number on socket.error. 2003-11-22 03:57:38 +00:00
Jeremy Fincher
0b9d7bd0bb Fixed bug #847032. 2003-11-22 03:50:45 +00:00
Jeremy Fincher
0e8891871f Minor stylistic fixes (I thought there'd be more, but I solved another problem without messing with this plugin). 2003-11-22 02:10:13 +00:00
Jeremy Fincher
7784d21cde Fixed the bug in acronym for the change in format and tightened the test to catch such changes. 2003-11-22 01:13:33 +00:00
Jeremy Fincher
4ed97b0ba5 Changed to use a DBHandler. 2003-11-22 00:55:08 +00:00
James Vega
f2f61fdfad Configure question about snarfer should be for all users 2003-11-22 00:51:27 +00:00
Jeremy Fincher
6b5ef88c06 Added some debugging printfs that may be useful in the future. 2003-11-22 00:40:46 +00:00
Stéphan Kochen
7b26501f15 Some small fixes to Poll. 2003-11-22 00:31:55 +00:00
Jeremy Fincher
d83cf1450f Fix for bug #846714. 2003-11-21 22:22:18 +00:00
Jeremy Fincher
0cc2c2f49f Fixed html entities in rss titles. 2003-11-21 19:07:14 +00:00
Jeremy Fincher
10fe799033 Fixed handling of timeout on socket in Debian.version. 2003-11-21 18:16:27 +00:00
Jeremy Fincher
cdda36f9fb Fixed the self-lart bug. 2003-11-21 17:42:41 +00:00
Jeremy Fincher
581dcda8e0 Tweaked output of seen. 2003-11-21 17:32:14 +00:00
Jeremy Fincher
e9b81580a4 Fixed lots of raised exceptions because I had the wrong number of arguments. 2003-11-21 15:32:14 +00:00
Jeremy Fincher
b3aade6984 Cleaner output for nonexistent entries. 2003-11-21 13:02:26 +00:00
Jeremy Fincher
308ae5527c Fixed bug #846053. 2003-11-21 12:45:50 +00:00
Jeremy Fincher
0da5c27380 Fixed bug #846332. 2003-11-21 12:35:24 +00:00
Jeremy Fincher
43c594661c Fixed bug #846220. 2003-11-21 12:31:51 +00:00
Jeremy Fincher
6f93426d66 Minor style update. 2003-11-21 11:58:16 +00:00
Jeremy Fincher
0ab9d4e3ec Do sorting the right way (not only are cmp functions slow, but with nicks you need to sort by ircutils.toLower, not str.lower). 2003-11-21 11:45:43 +00:00
James Vega
e3b09746c0 Now we can sort names independent of case! 2003-11-20 23:46:56 +00:00
James Vega
8b9f5a607f Fix the Google Groups snarfer bug and added appropriate tests 2003-11-20 19:53:15 +00:00
Brett Phipps
e21d7109cb Fixed the problem where country abbreviations that match USA State
abbreviations will never be found.

Arizona seemed to be missing from our _realStates set.  It's in there now.

Added a _mapCountries to map 'obviously' debatable country abbreviations.
(Just have uk->gb in there at the moment.  I probably missed a few).
2003-11-20 05:27:03 +00:00
Jeremy Fincher
fb4a4ffca7 Changed the default of the snarfer, added a question to configure. 2003-11-19 23:34:53 +00:00
Jeremy Fincher
2a5cc04749 Finished the alias sf question in configure. 2003-11-19 23:18:34 +00:00
Jeremy Fincher
738d1bbde3 Removed addbadword and removebadword; changed the name of addbadwords and removebadwords to add and remove, respectively. 2003-11-19 23:15:08 +00:00
Jeremy Fincher
e20f69288c Handled empty lines appropriately in supyfact files. 2003-11-19 22:39:01 +00:00
Jeremy Fincher
c17f85e51b Fixed escaping IOError from add command. 2003-11-19 22:36:58 +00:00
Jeremy Fincher
909597b7ac Changed the name of the commands in Markov and added a test (that currently only tests documentation) for Markov. 2003-11-19 22:25:19 +00:00
Jeremy Fincher
0b90d80fee Caught the right error. 2003-11-19 14:56:21 +00:00
Stéphan Kochen
15639d8a1d Multiple choices for polls. Still broke.. needs tests.. etc etc. Work in progress :) 2003-11-18 22:48:28 +00:00
Jeremy Fincher
23db0b7aaa Handled the case where one factoid is returned from Factoids.search better. 2003-11-18 17:49:10 +00:00
Jeremy Fincher
9d44399ed5 Fixed an uncaught exception in Debian.version. 2003-11-18 10:49:15 +00:00
Daniel DiPaolo
20674eaece Updated the plugin docstring. 2003-11-17 23:17:58 +00:00
Jeremy Fincher
2cbcddb582 Caught the LookupError raised from a bad encoding. 2003-11-17 23:10:14 +00:00
Jeremy Fincher
d7e95f5e87 Tightened the check for a proper auction id and refactored _getResponse. 2003-11-17 22:52:45 +00:00
James Vega
f57f57c5be Fixed some bugs in Bugzilla and added some tests to try and catch more
problems in the future.
2003-11-17 19:57:07 +00:00
James Vega
5cfe9ffd3e Yay! We finally have a threaded Markov plugin 2003-11-17 18:21:44 +00:00
James Vega
8dbaae1d37 Added a configure() question about aliasing sf to Sourceforge. Updated the
snarfer configurables so that they default to off and made the configure()
question available to all users. Updated the snarfer tests to ensure the
snarfer configurable is true before starting the tests.
2003-11-17 18:10:53 +00:00
James Vega
31c05776c6 Update configure() and configurable default states so that the default for
snarfers is off and all users are asked whether they would like to enable the
snarfer
2003-11-17 18:09:42 +00:00
James Vega
f6e848511b All tinyurl related commands now query the local database to see if a tinyurl
already exists for the url that is being snarfed/passed as an argument. If
not, tinyurl.com is used to generate the tinyurl
2003-11-17 17:30:53 +00:00
James Vega
2909c4a8c6 @ebay -> @auction 2003-11-17 16:55:11 +00:00
James Vega
f7e44d8f50 Better error message and make sure an int is provided when we need it 2003-11-17 16:25:34 +00:00
Jeremy Fincher
47817f8ea3 Updated error message for overflow. 2003-11-17 15:55:43 +00:00
Jeremy Fincher
76f4a8fb95 Forgot to change configure to reflect the revenge update. 2003-11-17 14:46:10 +00:00
Jeremy Fincher
e0542698dc Converted revenge to a configurable; still considering ChanServ. 2003-11-17 14:37:43 +00:00
Jeremy Fincher
8dea8d47ae Changed snarer to auction-snarfer. 2003-11-17 08:36:07 +00:00
Jeremy Fincher
df0652302c Fixed help string for alias add. 2003-11-17 06:06:43 +00:00
Jeremy Fincher
3a571c3fb9 Updated to thread tinyurl (there's still an un-passing test, but it seems to work on the bot itself). 2003-11-17 06:02:26 +00:00
Jeremy Fincher
889ed86026 Bugfixes (and removed threading). 2003-11-17 06:00:56 +00:00
Jeremy Fincher
398045b1e4 Commented out a debug.printf. 2003-11-17 03:42:56 +00:00
James Vega
8ec0a350a0 The configurable key wasn't updated properly. 2003-11-17 01:55:11 +00:00
James Vega
b6efb5c212 configure() should append 'load Dict' to onStart, not 'load Dictionary' 2003-11-17 01:27:21 +00:00
Jeremy Fincher
320d6b003c Fix for bug #842414. 2003-11-15 08:09:29 +00:00
Jeremy Fincher
27ce432b64 Made ChannelDBHandler threadsafe, and wrote a DBHandler for threadsafe non-channel-based databases. 2003-11-15 07:56:27 +00:00
Jeremy Fincher
dc93f865db Changed some maps/filters to imaps/ifilters for efficiency reasons (I was bored, basically). 2003-11-15 04:46:09 +00:00
Jeremy Fincher
eb6e112f70 Changed some maps/filters to imaps/ifilters for efficiency reasons (I was bored, basically). 2003-11-15 04:37:04 +00:00
Jeremy Fincher
28d371aeca Fixed spell problems; stopped caching spell fds (it's not called often enough to care, or go through the trouble). 2003-11-15 04:25:28 +00:00
Jeremy Fincher
927b1d4e65 Removed vestigal quotegrabs table statement. 2003-11-14 19:10:51 +00:00
Jeremy Fincher
d4e5047ebf Fixed bugs in option parsing. 2003-11-14 15:49:13 +00:00
James Vega
7a9482a176 Let ++/-- regexps have whitespace on the end 2003-11-14 15:09:30 +00:00
James Vega
557e518a96 Of course I can't reproduce the bug when I'm testing the fix for it, but this
should take care of the bad error message.
2003-11-14 14:06:19 +00:00
Jeremy Fincher
f3e2e2a1ed Added a squish command/outfilter. 2003-11-13 20:24:40 +00:00
Jeremy Fincher
563e5ad2bf Style updates. 2003-11-13 19:21:22 +00:00
Jeremy Fincher
d496328e81 Fixed bug in formatting of pydoc. 2003-11-13 17:56:51 +00:00
Jeremy Fincher
02b2eddd45 Multiple bugs that couldn't be tested while the dict.org server was down have now been tested, found, and eradicated. 2003-11-13 17:11:52 +00:00
James Vega
965d8e0b5f The dots need to escape from tinyurl 2003-11-12 17:30:24 +00:00
James Vega
4ce677bc6e Slight syntax fix for @weather reply 2003-11-12 17:22:23 +00:00
James Vega
988ac324b4 Not all tinyurls end in 4 random characters, so I shouldn't be looking for 4
characters. Switched to \w+
2003-11-12 14:39:44 +00:00
Jeremy Fincher
e4f912fc51 Made Aliases disambiguate themselves, and made that API in Owner public. 2003-11-12 02:18:22 +00:00
Jeremy Fincher
2f2d8130df Forgot to update the configure function for the new Configurable-ishness. 2003-11-12 01:31:31 +00:00
Jeremy Fincher
760483e2f0 Converted to Configurable. 2003-11-12 01:12:57 +00:00
Jeremy Fincher
dd4c09e1a4 Updated to include timeouts on the connection; changed name back to Dict.py. 2003-11-12 00:46:26 +00:00
Jeremy Fincher
e828c3350e Need a return after the dispatch to _oldnotes. 2003-11-11 17:09:45 +00:00
James Vega
d60df81a40 zeropad the color code used in colorize so that we don't lose characters, at
least any more than we already lose to the irc character limit, which will be
even more now that we are zeropadding...
2003-11-11 16:33:38 +00:00
James Vega
e9b64d443a Add support for plain-text google groups links. 2003-11-11 16:32:28 +00:00
James Vega
2b55842655 Fix the help strings for the bug{,s} and rfe{,s} commands. Remove the generic
Exception catches. Give a better response when bugs and rfes receive a bug
number. Add various tests.
2003-11-11 16:04:27 +00:00
Jeremy Fincher
5149d17b6a Made Configurable persistent. 2003-11-11 15:58:20 +00:00
Jeremy Fincher
94041acb9b Changed to use utils.abbrev to allow any unambiguous abbreviation. 2003-11-11 14:14:34 +00:00
Jeremy Fincher
2e0b225d0c Changed the needed= keyword arg in privmsgs.getArgs to required=. 2003-11-11 13:20:06 +00:00
Jeremy Fincher
86e2110010 Changed the name of Notes to Note and changed some command names in Note. 2003-11-11 12:59:27 +00:00
Jeremy Fincher
0ca15118e7 Made Aliases persistent. 2003-11-11 12:18:25 +00:00
Jeremy Fincher
225ee0ed6a Oops, SyntaxError. 2003-11-11 12:11:13 +00:00
Jeremy Fincher
fdde2759df Reordered superclasses so the proper die() method is called. 2003-11-11 11:45:44 +00:00
Jeremy Fincher
754978850c Give a proper error message for possibly uncaught exception: bug #839653. 2003-11-11 11:37:17 +00:00
Jeremy Fincher
3b6b478aac Moved action to Misc from Utilities. 2003-11-11 11:32:09 +00:00
Jeremy Fincher
405f4ab8d9 Fixed bugs #833206 and #837628. 2003-11-11 11:30:32 +00:00
Jeremy Fincher
c50e27a278 Fixed bug #838900. 2003-11-10 23:39:44 +00:00
Jeremy Fincher
4cc9579582 Fixed bug in tests; it was caused by the prefix character being snarfed in along with the URL. 2003-11-10 23:24:19 +00:00
Jeremy Fincher
bb9cb5d67c Fixed some bugs, tested some more and fixed those two. Boomshakalaka! 2003-11-10 22:43:19 +00:00
James Vega
9d8d47bbe7 Fix the @seen --user bug and add a test to keep it fixed 2003-11-10 16:02:17 +00:00
Jeremy Fincher
8f1329b20e Refactored a touch. 2003-11-10 15:26:55 +00:00
Jeremy Fincher
973cc66793 Didn't have a .users before the getUser. 2003-11-10 15:21:08 +00:00
Jeremy Fincher
9dd2680a9f Fix for bug #839053 (parens without bars not handled correctly). 2003-11-10 10:46:57 +00:00
James Vega
4b94ebe146 Add handling of 'Invalid Item' pages. Update tests to check 'Invalid Item'
handling and to parse another active .ca page
2003-11-09 03:15:24 +00:00
Jeremy Fincher
234728b322 Changed to Configurable. 2003-11-08 09:51:05 +00:00
Jeremy Fincher
024f462361 Converted to Configurable. 2003-11-08 09:44:04 +00:00
Jeremy Fincher
6519d08ed4 Removed the Toggleable subclass, since it wasn't being used at all (accidentally committed earlier, I'm sure). 2003-11-08 09:28:02 +00:00
Jeremy Fincher
3275859597 Converted to Configurable. Also reverted the _urlRe back to the old version, which works better. I don't care that parentheses are valid URL characters, they simply never happen in practice. Practicality beats Purity. 2003-11-08 09:26:33 +00:00
Jeremy Fincher
c434925798 Updated to use Configurable. 2003-11-08 09:02:30 +00:00
Jeremy Fincher
f2d3e99346 Converted to Configurable. 2003-11-08 08:12:25 +00:00
Jeremy Fincher
3ed58d9115 Updated to use Configurable. 2003-11-08 08:07:44 +00:00
Jeremy Fincher
64e664e0bc Converted to use Configurable instead of Toggleable. 2003-11-08 08:01:34 +00:00
Jeremy Fincher
2058d50eb3 Converted to Configurable. 2003-11-08 07:37:41 +00:00
Jeremy Fincher
5fb5533e49 Hopefully fixed bugs in Unix.spell once and for all. 2003-11-08 07:29:45 +00:00
Daniel DiPaolo
4711e227f4 Fixed a few more metacharacter DoS bugs. 2003-11-08 03:16:24 +00:00
Jeremy Fincher
e5249c859d Updated to use Configurable. 2003-11-08 00:10:38 +00:00
Jeremy Fincher
143295104a Updated. 2003-11-08 00:09:54 +00:00
Jeremy Fincher
69adce4a57 Added Configurable class and changed Ebay to use it (as an example). 2003-11-07 20:11:37 +00:00
James Vega
ee7ce27b61 @echo should reply with help when it receives no arguments 2003-11-07 18:51:49 +00:00
James Vega
ca8ed7204b Added a colorize command 2003-11-07 18:49:26 +00:00
James Vega
c32939ffb1 Using 'was url)' caused problems since () are legal characters in a url.
Switched to 'was <url>)' for tinysnarf replies.
2003-11-07 14:59:33 +00:00
James Vega
25aacc3cd7 Add name ordering and mode-characters for relay names. Name ordering is also
done by mode (ops sorted, then voices, etc)
2003-11-07 14:54:48 +00:00
Jeremy Fincher
b4a56057f1 Added some much tighter error-checking to the spell command; also used select to make sure the file handle is readable before trying to read from it. 2003-11-07 12:12:47 +00:00
Daniel DiPaolo
54aec8d3b2 Added hostmask and added_at to the 'get' command, to reveal impostors! 2003-11-06 21:50:23 +00:00
Jeremy Fincher
abbe99fd8c Fixed bug in seen regexp that would catch the old GK rating, too. 2003-11-06 21:33:50 +00:00
Daniel DiPaolo
3f1296a858 Fixed some text to read a bit better. Still doesn't look quite perfect though 2003-11-06 21:22:13 +00:00
Jeremy Fincher
2a33262b9e Converted to be somewhat clearer than _mostDict. 2003-11-06 21:10:47 +00:00
James Vega
5a6f3ee7bb Removed the example strings until we figure out what to do with them 2003-11-06 20:42:27 +00:00
Daniel DiPaolo
e00852b5ce Updated wordstats to default to checking for a word first instead of a user in
the case where there's only one arg supplied.
2003-11-06 20:21:59 +00:00
James Vega
ea81e966ff ddipaolo suggested switching from a tuple to a dictionary to make things more
intuitive (if we even decide to keep this format)
2003-11-06 18:31:56 +00:00
James Vega
ac97573d92 Well, now @most has one set of commands that it will run, but it required a
big dictionary.
2003-11-06 18:19:41 +00:00
James Vega
a55193ea62 Added @most <popular|authored|recent> (RFE #829830) 2003-11-06 17:24:49 +00:00
Daniel DiPaolo
6ea38aeffc Changed wordstats to use accessor ircdb.users.getUser instead of accessing the
ircdb.users.users data structure directly.
2003-11-06 16:41:49 +00:00
Daniel DiPaolo
adc9e0552d Overhauled 'wordstats' to handle a plethora of argument combinations and wrote
some naaaaaaaaasty tests to make sure they work as expected.
2003-11-06 06:41:04 +00:00
Daniel DiPaolo
f051166e60 Added a "quotegrabs get" command to get quotegrabs by id 2003-11-05 23:56:30 +00:00
James Vega
a46476a9ca Remove @url get. Add the snarfed url when replying with the tinyurl. Tests are
updated accordingly. @random will display the corresponding tinyurl when
someone decides on the display format
2003-11-05 20:37:39 +00:00
James Vega
84bff2f755 @tiny should be specifying cmd=True when I call _getTinyUrl. That was the
whole point of having a cmd parameter.
2003-11-05 19:45:55 +00:00
Jeremy Fincher
1a4780b854 Added an addword test and fixed the wordstats failures. 2003-11-05 07:59:44 +00:00
Jeremy Fincher
9e94295d34 Fixed possible raised KeyError. 2003-11-05 07:43:48 +00:00
Jeremy Fincher
76ad28918f Fixed the stupid DOM Element output, added test. 2003-11-05 06:56:03 +00:00
Jeremy Fincher
ed94dd44ca Fixed freshmeat command, changed it to use xml.dom.minidom. Also removed example string. 2003-11-05 06:50:06 +00:00
Jeremy Fincher
ce212fa2cd Fixed bug #835786 -- case insensitive now. 2003-11-05 06:29:07 +00:00
Jeremy Fincher
71791ab60b Added wordstats and whatnot. 2003-11-05 06:09:17 +00:00
James Vega
57e0e75c20 Finally caught Bug #835371. Also refactored the plugin and added some tests 2003-11-05 02:13:41 +00:00
James Vega
09a64b7bea Bastages changed the format of their page! (fixed a regexp for getStats) 2003-11-04 23:04:38 +00:00
James Vega
f6c83b38d1 Fix insult so that it doesn't reply to the person that called it. Also fixed
the instult tests so that the check the entire response, not just a regex
2003-11-04 22:51:20 +00:00
James Vega
863aeb3b4f Only throw a recursion error if the command matches the alias name exactly 2003-11-04 17:39:32 +00:00
Jeremy Fincher
8474b10f32 Made Relay not ignore, and added a check to Owner.doPrivmsg to make sure commands can't get called by ignored people (even if noIgnore is True on the plugin with the commands. 2003-11-04 17:34:48 +00:00
Jeremy Fincher
4d8e8807b9 Fixed karma response in the case of absolutely no karma. 2003-11-04 09:09:53 +00:00
Jeremy Fincher
afa0cb8f41 Fixed bug in relay whois; chopping characters off the end of the channel rather than the beginning. 2003-11-04 08:50:10 +00:00
Jeremy Fincher
a456c5ea57 Changed the name to URL. 2003-11-04 08:48:05 +00:00
Jeremy Fincher
d548447750 Moved Karma off into its own plugin. 2003-11-04 08:42:11 +00:00
Jeremy Fincher
c1e9205545 Stylistic update; there are things better than lambdas... 2003-11-04 08:26:52 +00:00
Jeremy Fincher
91b01f9fe3 Reduced some lines to fewer than 80 characters. 2003-11-04 07:03:18 +00:00
Jeremy Fincher
8e45f35946 Refactored a bit and allow 'pydoc copy'. 2003-11-04 06:26:24 +00:00
Daniel DiPaolo
6092ce484a Added the 'list' function, added code to prevent duplicate grabs being added to
the database.
2003-11-04 04:38:40 +00:00
Jeremy Fincher
be3e5e482a Changed magic numbers to variables. 2003-11-03 17:45:48 +00:00
Jeremy Fincher
5fb5241602 Fixed a few bugs. 2003-11-03 16:17:40 +00:00
Jeremy Fincher
3fde50eaf9 Initial Checkin. 2003-11-03 06:59:38 +00:00
Jeremy Fincher
66797de4bf Changed the name of the quote command to get. 2003-11-03 06:36:18 +00:00
Daniel DiPaolo
cc94948d10 Fixed greedniess of a few regexes and did some associated fixes. 2003-11-03 06:25:02 +00:00
James Vega
bf12760108 Added tinyurl stuff 2003-11-03 05:39:14 +00:00
Daniel DiPaolo
0de26afa99 changed factoids to use irc.reply(..., action=True) instead of queueMsg 2003-11-03 03:23:00 +00:00
James Vega
526c4c3e56 setdefault -> defaultproject
defaultproject without a project name clears the default project
cleanup bugs and rfes a little (although they aren't working in the case of
'bugs #'. must use 'bugs project #')
2003-11-03 01:12:00 +00:00
James Vega
72e554350b Added support for more countries (should support all english-speaking
countries) and added support for ebay.com/.*?/ws as opposed to just
ebay.com/ws
2003-11-03 00:16:43 +00:00
Daniel DiPaolo
96f299c10c Included plugins.standardSubstitute in factoids parsing now 2003-11-02 23:45:31 +00:00
James Vega
68d36db874 Snarfer cleanups and toggle tests 2003-11-02 20:31:37 +00:00
James Vega
d74a59a2f5 Cleaned up the snarfer 2003-11-02 19:46:35 +00:00
Jeremy Fincher
d816bc6a68 Added selfstats toggle; Fixed karma to be case-insensitive but case-preserving. 2003-11-02 18:59:06 +00:00
James Vega
4d77ffc92e Added the ASPN Recipe snarfer (RFE #831028) and tests 2003-11-02 18:55:08 +00:00
Daniel Berlin
d557443883 Make Dunno use standardSubstitute 2003-11-02 03:18:39 +00:00
Daniel DiPaolo
82d2d8162a Fixed a bug where addFactoid wasn't splitting on the first "is" 2003-11-01 22:08:52 +00:00
James Vega
1d1d7a87c2 Lots of changes to make it follow the format of a typical supybot plugin 2003-10-31 23:53:35 +00:00
James Vega
fcd4919bab Fix the snarfer re so that it does match extraneous text 2003-10-31 22:48:43 +00:00
Daniel DiPaolo
15b18edc11 made karma case-insensitive 2003-10-31 21:03:35 +00:00
Jeremy Fincher
4e4855094c Forget to catch the actual exception instance in callCommand. 2003-10-31 19:17:26 +00:00
James Vega
d50d435363 For some reason I was replacing the bot's name with the user's name 2003-10-31 18:43:08 +00:00
Daniel DiPaolo
c318d5e384 Added the "action" command and associated tests. 2003-10-30 17:16:02 +00:00
Jeremy Fincher
06ce1bcb94 Added change. 2003-10-30 04:36:40 +00:00
Jeremy Fincher
3f081ee21c Added some error checking to join and part. 2003-10-30 04:06:46 +00:00
Jeremy Fincher
bc6f4bd149 Converted to not use the new module but the types module instead. 2003-10-30 03:46:31 +00:00
Jeremy Fincher
8d04bdbcb6 Refactored some stuff to be a bit cleaner. 2003-10-30 03:38:55 +00:00
Jeremy Fincher
1280dbdc90 Added test, fixed a bug it found. 2003-10-30 02:33:04 +00:00
Jeremy Fincher
29d20d2513 Changed the color command to a toggle. 2003-10-30 02:03:49 +00:00
Jeremy Fincher
646e41bd53 Changed the regexp for sfSnarfer to make it a little easier to read. 2003-10-30 00:13:00 +00:00
Daniel DiPaolo
0011fff94e Changed all %d's to %s's 2003-10-29 22:05:53 +00:00
James Vega
afc74b96f0 Fix replacement of my/me not obeying word boundaries. Also created tests to
ensure it stays fixed.
2003-10-29 20:27:09 +00:00
Daniel DiPaolo
8cc9620a4b Fixed ordering by priority when requesting todos for a person (or self) 2003-10-29 20:12:02 +00:00
Daniel DiPaolo
3b0276e688 Fixed a dumb dumb bug where I forgot to include the "msg" arg for irc.error 2003-10-29 17:26:05 +00:00
Jeremy Fincher
2a0687e46c Fixed AttributeError in seen. 2003-10-29 16:18:16 +00:00
Jeremy Fincher
2b68eb908f Make seen not error if it doesn't recognize the user. 2003-10-29 16:15:33 +00:00
Jeremy Fincher
08f5adf362 Ew, ugly SQL!plugins/Quotes.py 2003-10-29 08:38:15 +00:00
Daniel DiPaolo
bfdbda625a Changed karma pluralization to use utils.pluralize() and fixed the tests to
avoid erroring due to ambiguous commands for 'stats' (since 'User' is also
loaded for the tests)
2003-10-29 07:46:49 +00:00
James Vega
0400f02f13 Added the Toggleable.__init__'s and therefore the help commands 2003-10-29 07:23:20 +00:00
Jeremy Fincher
6d36432508 Fixed __init__ and its error with instancemethods not having adjustable __doc__ strings. 2003-10-29 06:35:02 +00:00
James Vega
535cdde13c Switched the togglesnarfers to the new Toggleable mixin 2003-10-29 06:06:56 +00:00
Daniel DiPaolo
f0b850118b MoobotFactoids should be pretty dang close to finished now. Got the "_is_"
syntax working just fine.
2003-10-29 03:01:02 +00:00
Daniel Berlin
0c96bf73a7 Made replies all one message 2003-10-29 02:41:03 +00:00
Jeremy Fincher
acd36c80d4 Added toggles for auto-{op,voice,halfop} 2003-10-29 00:04:30 +00:00
Jeremy Fincher
2757f239b1 Added solaris to the list of supported operating systems for memory stats. 2003-10-28 20:18:33 +00:00
Daniel DiPaolo
05f8d6a2f8 Added "todo change" and tests for it. 2003-10-28 18:43:43 +00:00
Daniel DiPaolo
f9d97c91f5 Overhaul of Todo, somewhat. Made everyone's todos accessible by anyone, either
by id or by username.  Also, made it so todos are never deleted, just set to
inactive.
2003-10-28 17:40:41 +00:00
Daniel DiPaolo
2527f47cb6 Punctuation ("?!") is now stripped from keys before insertion into the db 2003-10-28 15:30:43 +00:00
James Vega
8ae59844bf Fix some typos I thought I had already committed 2003-10-28 14:29:06 +00:00
Jeremy Fincher
80deb23897 Fix for relay whois bug with the reporting of status on channels. 2003-10-28 14:08:11 +00:00
Jeremy Fincher
a34589cce7 Completed the removal of callbacks.Privmsg.doPrivmsg. 2003-10-28 06:30:42 +00:00
Jeremy Fincher
0a34794a33 Small stylistic change and removed the returns from invalidCommand. 2003-10-28 06:09:05 +00:00
Jeremy Fincher
7703e3f4d7 Typo fixes. 2003-10-28 06:05:51 +00:00
Jeremy Fincher
ef4aed0db3 Just some slight style things (I'm committing because DannyB will be hacking on it later). 2003-10-28 05:50:40 +00:00
Jeremy Fincher
c2f179cd0d Fixed some bugs and cleaned up the test suite. 2003-10-28 05:49:31 +00:00
Daniel DiPaolo
084fe1854f More MoobotFactoids/Dunno separation fun and fixes 2003-10-28 05:31:51 +00:00
Daniel DiPaolo
faea5a5909 Split out dunnos from MoobotFactoids (into Dunno.py) in anticipation of the
invalidCommand infrastructure addition.
2003-10-28 01:46:58 +00:00
James Vega
114909f702 Fix a silly line-continuation error 2003-10-28 00:20:23 +00:00
James Vega
6e911131fd plugins/Gameknot.py: Add replyPossibleBug string to 'page format' error
src/conf.py: Fix a typo in replyPossibleBug string
2003-10-27 23:45:15 +00:00
James Vega
d370c485f6 Fix a new bug where a person not having a 'seen' status wasn't properly
trapped
2003-10-27 23:22:35 +00:00
James Vega
ed44f00c6f Missed an 's' in there 2003-10-27 23:02:48 +00:00
James Vega
61576fdd13 Reworked the togglesnarfer stuff 2003-10-27 22:58:47 +00:00
James Vega
1e4879dfb1 Reworked the togglesnarfer mechanism 2003-10-27 22:57:05 +00:00
James Vega
fbb37025dc plugins/Sourceforge.py: lots of cleanups to the code. Also changed how
togglesnarfer works.
test/test_Sourceforge.py: updated to follow the plugin changes
2003-10-27 20:24:32 +00:00
Stéphan Kochen
5ace5a48ad Some fixes to Poll, removed delete command, added example. 2003-10-27 15:11:45 +00:00
Jeremy Fincher
aab9d8a3a0 Made the output of gkstats a little prettier. 2003-10-27 05:13:31 +00:00
Jeremy Fincher
a1c911e954 Added the ability to see notes you've sent yourself. 2003-10-26 17:50:12 +00:00
Jeremy Fincher
ebcc9a3f1d Added the ability to see notes you've sent yourself. 2003-10-26 17:49:11 +00:00
Jeremy Fincher
0f45fe2c36 Fixed bug in testGreet. 2003-10-25 18:22:52 +00:00
Jeremy Fincher
218e53b409 Removed the die on the IRC object in relay disconnect because that makes all the plugins die. 2003-10-24 23:15:04 +00:00
Jeremy Fincher
3538f2c7b4 Made outfilter channel-specific. 2003-10-24 22:43:48 +00:00
Jeremy Fincher
5ae13a9422 Made the bot keep stats on himself. 2003-10-24 22:29:30 +00:00
Jeremy Fincher
fa5ac0a885 Fixed test to match new output. 2003-10-24 22:08:15 +00:00
Jeremy Fincher
42795d34d0 Removed the percentage thing, it's not entirely useful. 2003-10-24 21:42:54 +00:00
Stéphan Kochen
9320ad0e4e Long live unicode! :D 2003-10-24 21:37:09 +00:00
Jeremy Fincher
388da451f2 Fixed failure (used testHelp) and added an encoding so Python doesn't complain. 2003-10-24 21:28:12 +00:00
Stéphan Kochen
8d9eb27a2f Initial version of the Poll plugin. Still needs some work. (RFE #715810) 2003-10-24 16:54:07 +00:00
Jeremy Fincher
aa088ef6d9 Added memory reporting stuff to cpustats. 2003-10-24 13:38:55 +00:00
James Vega
df3602bf4d Added another field (Submitted by) to the snarfer. Centralized the re options
for the parsers
2003-10-24 12:38:45 +00:00
Jeremy Fincher
660ba14e96 Fixed some failing test cases. 2003-10-24 11:03:43 +00:00
Jeremy Fincher
fa589ac423 Fix for bug #829353; added a test for the remove command. 2003-10-24 09:10:10 +00:00
Jeremy Fincher
d54ec97253 Fixed bug in CVS. 2003-10-24 08:57:02 +00:00
Daniel DiPaolo
8229759769 Added 'setpriority' and tests. 2003-10-24 07:12:51 +00:00
Daniel DiPaolo
c1ee1b8c10 Cosmetic fixes. 2003-10-24 06:11:16 +00:00
Daniel DiPaolo
051928efa5 Added locked_by back ... to stay, now admin/owner people can lock/unlock
factoids that they didn't create.  So it'll be nice to be able to see just who
locked a factoid of yours.
2003-10-24 02:25:41 +00:00
Daniel DiPaolo
1b25a207bf Made MoobotFactoids case insensitive, and added tests to make sure that
case-insensitivity works.
2003-10-24 01:03:18 +00:00
Daniel DiPaolo
f0574da59a Fixed the 'title' regexp to be non-greedy, in case there's a </title> tag
within the document itself.  Also put a test for this (which will hopefully be
a permanent link... not sure though)
2003-10-24 00:46:21 +00:00
Daniel DiPaolo
aa05fc1a79 Made it so admins can unlock anyone's factoids. 2003-10-23 21:35:13 +00:00
Jeremy Fincher
68dd30cb8b Made stats default to the name of the person asking. 2003-10-23 20:59:51 +00:00
James Vega
6d9aea2d26 Missing conf import 2003-10-23 15:31:56 +00:00
James Vega
85e863f92c Parse 'my' in @lart and @praise (Closes: RFE #828950) 2003-10-23 15:23:01 +00:00
Jeremy Fincher
aa09eb16a7 Forgot to set the probability for NO YUO 2003-10-23 15:10:07 +00:00
James Vega
7fd9859682 Switch irc.queueMsg to irc.reply 2003-10-23 14:59:03 +00:00
James Vega
7e01b8a74d Convert irc.queueMsg(callbacks.reply to irc.reply 2003-10-23 14:52:59 +00:00
James Vega
cbbc2818ee Changed an irc.queueMsg to irc.reply 2003-10-23 13:13:40 +00:00
James Vega
d608f82875 configure() was still adding 'load IMDB' to onStart instead of 'load Movies' 2003-10-23 12:59:15 +00:00
James Vega
6cae1b5ec4 Rewrote @insult and cleaned up the tests for all of FunDB so that they are
more deterministic
2003-10-23 12:35:43 +00:00
Jeremy Fincher
dd40523197 Added the note id to the response to sendnote. 2003-10-23 09:16:20 +00:00
Jeremy Fincher
3944b00001 Updated. 2003-10-23 08:35:26 +00:00
Jeremy Fincher
2ab2afdae9 Updated configure to be more descriptive about disabling progstats. 2003-10-23 08:15:47 +00:00
Jeremy Fincher
7bf41499cb Fixed pluralization bug in info. 2003-10-23 05:14:41 +00:00
Jeremy Fincher
8914543d35 Made <number> optional in convert. 2003-10-23 04:21:40 +00:00
Jeremy Fincher
65b87f822c Fixed bug in info; returned n+1 factoids when there were only n. 2003-10-23 04:17:18 +00:00
James Vega
8a378601b3 As part of the renaming madness, removed any ^db prefix 2003-10-23 02:12:07 +00:00
Daniel Berlin
0b380f56fe Add --id option to geekquote, make it always allow multiline quotes 2003-10-22 22:05:34 +00:00
Jeremy Fincher
84690d56c9 Fixed escaping ValueError in soundex. 2003-10-22 20:09:45 +00:00
Jeremy Fincher
9a5cb77fe4 Fixed escaping ValueError in soundex. 2003-10-22 20:09:45 +00:00
Stéphan Kochen
5c1fc0114d Added optional <id> argument to FunDB's excuse 2003-10-22 19:52:05 +00:00
Jeremy Fincher
f7caf3f4fd Updated jeffk and lithp. 2003-10-22 19:43:38 +00:00
James Vega
b03e5612d2 Added configure() prompts to automatically disable the snarfer 2003-10-22 18:51:16 +00:00
Daniel DiPaolo
e39a8c4237 Improve the error messages returned in a few "except" blocks. 2003-10-22 18:29:02 +00:00
Jeremy Fincher
615ed5c34b Made sure the snarfer doesn't respond if there's no license key. 2003-10-22 17:43:04 +00:00
Daniel DiPaolo
6cf0005abe Put "prefixName=False" in a bunch of the irc.reply()s so that things like
dunnos wouldn't look stupid.
2003-10-22 16:38:46 +00:00
Jeremy Fincher
6382e75820 Forgot to import socket. 2003-10-22 16:05:18 +00:00
Daniel DiPaolo
93f19492ca Could have sworn I committed this already... turns on globbing by default (I
think .. too lazy to diff and see if that's what changed)
2003-10-22 16:01:05 +00:00