Commit Graph

2307 Commits

Author SHA1 Message Date
Jeremy Fincher
e03c65f753 Changed the whole handling of nonCommands and ambiguousCommands and whatnot. Now plugins can define an 'invalidCommand' method to be called on invalid commands. 2003-10-28 00:22:15 +00:00
James Vega
114909f702 Fix a silly line-continuation error 2003-10-28 00:20:23 +00:00
Jeremy Fincher
7ae53ef169 Added loss to the plurals dictionary. 2003-10-27 23:57:34 +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
8ff643d540 Added a test for a website that causes @title to break 2003-10-27 22:32:56 +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
Jeremy Fincher
19f50ea8f2 Added test for toString output when a channel is specified. 2003-10-27 20:24:23 +00:00
Jeremy Fincher
206de8d7e0 Initial checkin; has test for ToggleDictionary. 2003-10-27 20:21:02 +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
9caaf8fef9 Loaded Misc in every test because that's just plain neceessary, what with replyWhenNotCommand and all. 2003-10-27 08:50:42 +00:00
Jeremy Fincher
f2ab2576da Unloaded Misc before testing for no response. 2003-10-27 08:50:18 +00:00
Jeremy Fincher
c150567565 Misc includes a version command and is now loaded by default, so I had to disambiguate the version test. 2003-10-27 08:48:04 +00:00
Jeremy Fincher
aab9d8a3a0 Made the output of gkstats a little prettier. 2003-10-27 05:13:31 +00:00
Jeremy Fincher
fc11ff4f24 Handle properly the case where no matching commands were found. 2003-10-27 04:59:54 +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
fbd08fe704 Added the plugin name to the command if the command is abiguous. 2003-10-26 17:39:01 +00:00
Jeremy Fincher
7ba9a855bb Test for gkstats Strike. 2003-10-26 12:26:39 +00:00
Jeremy Fincher
6077e2896b Cosmetic change to a variable name. 2003-10-25 18:28:36 +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
39349302a6 Changed the way the plugin name is reported in help. 2003-10-24 23:14:27 +00:00
Jeremy Fincher
dd673bc706 Changed splitting on None to pull off the nick to splitting on ' '. 2003-10-24 23:13:51 +00:00
Jeremy Fincher
f83b2fb135 Fixed Added at: format again. 2003-10-24 22:46:48 +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
5ddd26cc69 Fixed a bugger in Misc.py. 2003-10-24 21:59:49 +00:00
Jeremy Fincher
a666eddd16 Added RFE #827538 and fixed the help test. 2003-10-24 21:55:34 +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
143448c50a Made sure plugins are sorted in error messages. 2003-10-24 21:35:59 +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
Jeremy Fincher
094bdee30b Fixed bug with commandsOnStart not being called unless they were already canonical names. 2003-10-24 18:53:34 +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
d85c8c555b Added plugin name to help output. 2003-10-24 13:52:09 +00:00
Jeremy Fincher
aa088ef6d9 Added memory reporting stuff to cpustats. 2003-10-24 13:38:55 +00:00
Jeremy Fincher
6acd477e5a Geezle peats, still didn't get the channel thing right. 2003-10-24 13:35:35 +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
c9a6f88a9e Updated for the new assertError/assertHelp. 2003-10-24 11:52:24 +00:00
Jeremy Fincher
ff8159c91e Made only-syntax return without the parentheses. 2003-10-24 11:47:45 +00:00
Jeremy Fincher
83c0d344bf Changed to match the new behavior of assertError. 2003-10-24 11:47:00 +00:00
Jeremy Fincher
80777b942f Added assertHelp to remedy the fact that help strings now count as errors. 2003-10-24 11:44:44 +00:00
Jeremy Fincher
f8da745d3f Updated to consider getting the help string an error in assertNotError and assertError. 2003-10-24 11:31:48 +00:00
Jeremy Fincher
af402fd60a Added a configuration option to show only syntax on ArgumentError. 2003-10-24 11:31:09 +00:00
Jeremy Fincher
660ba14e96 Fixed some failing test cases. 2003-10-24 11:03:43 +00:00