Commit Graph

1602 Commits

Author SHA1 Message Date
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