Commit Graph

783 Commits

Author SHA1 Message Date
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
Jeremy Fincher
23968baf49 Fix bug #849302. 2003-11-25 22:52:04 +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
adfb3e4035 Oops, had msg instead of response in the verbose printing. 2003-11-25 11:44:56 +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
4770ef1b3f Added the to= keyword argument to reply. 2003-11-25 11:08:57 +00:00
Jeremy Fincher
2c779bd543 Changed Alias.freeze to Alias.lock. 2003-11-25 10:19:40 +00:00
Jeremy Fincher
a3aeaee2b0 Updated tests for another unavailable game. 2003-11-25 09:44:01 +00:00
Jeremy Fincher
86524fa148 Added revision command for finding out the revision of supybot's files. 2003-11-25 09:32:18 +00:00
Jeremy Fincher
210809ab99 Fix for bug #848475. 2003-11-25 09:13:28 +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
4cb49606c5 Stopped listing the plugin dispatcher command in the commands list. 2003-11-25 08:51:27 +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
79e28d4ba2 Added a test to test_Http.py in the weather section that I forgot
to add with my previous commit.
2003-11-24 21:55:38 +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
f79aafa3f7 Fixed to run on systems without sqlite. 2003-11-22 04:25:42 +00:00
Jeremy Fincher
0b9d7bd0bb Fixed bug #847032. 2003-11-22 03:50:45 +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
d83cf1450f Fix for bug #846714. 2003-11-21 22:22:18 +00:00
Jeremy Fincher
966a09437c Fixed bug in isAction. 2003-11-21 22:13:18 +00:00
Jeremy Fincher
cdda36f9fb Fixed the self-lart bug. 2003-11-21 17:42:41 +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
James Vega
8b9f5a607f Fix the Google Groups snarfer bug and added appropriate tests 2003-11-20 19:53:15 +00:00
Jeremy Fincher
288c281343 Added tests for the weather errors-that-shouldn't-be-errors. 2003-11-20 12:19:05 +00:00
Jeremy Fincher
a1780908bd Made into a ChannelPluginTestCase. 2003-11-19 23:49:10 +00:00
Jeremy Fincher
00985ab587 Updated the test for the new snarfer default. 2003-11-19 23:41:54 +00:00
Jeremy Fincher
5fe1aeed02 Updated the test for the new snarfer default. 2003-11-19 23:39:42 +00:00
Jeremy Fincher
05390b6616 Updated the test for the new snarfer default and renamed the general test to 'test'. 2003-11-19 23:36:46 +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
429c90ac2a Added __len__, __repr__, and a useful __init__ to IrcMsgQueue. 2003-11-19 16:22:46 +00:00
Jeremy Fincher
9a7de79467 Made removeHostmask remove all the matching hostmasks. 2003-11-19 15:35:01 +00:00
Jeremy Fincher
dd9bd35fc2 Changed to handle non-installed sqlite. 2003-11-19 14:51:58 +00:00
Jeremy Fincher
e5d71ac10a Changed the Lookup test to run even when SQLite isn't installed. 2003-11-19 14:50:21 +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
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
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
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
7cbec39d55 Added a test for the configurable. 2003-11-17 06:29:13 +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
320d6b003c Fix for bug #842414. 2003-11-15 08:09:29 +00:00
Jeremy Fincher
0e01a1dee8 Sweede is a fscking retard. 2003-11-15 03:01:01 +00:00
Jeremy Fincher
1961ff1f07 Removed Misc from the plugins list. 2003-11-14 22:01:20 +00:00
Daniel DiPaolo
f8e920ef36 Added some pickOptions tests 2003-11-14 16:15:01 +00:00
Jeremy Fincher
d4e5047ebf Fixed bugs in option parsing. 2003-11-14 15:49:13 +00:00
James Vega
882652ab63 Style changes 2003-11-14 14:07:36 +00:00
Daniel DiPaolo
fba0e908f7 Backed out the last test addition. 2003-11-13 22:11:39 +00:00
Daniel DiPaolo
11da098db2 Added a new test for the OptionList stuff to check to see if parsing is working
as expected.
2003-11-13 22:02:33 +00:00
Jeremy Fincher
f3e2e2a1ed Added a squish command/outfilter. 2003-11-13 20:24:40 +00:00
Jeremy Fincher
93b16b79c2 Made the bot refuse to kban himself; made him not use a banmask that would ban himself. 2003-11-13 19:35:24 +00:00
Jeremy Fincher
9b20e1dfb6 Fixed a possible uncaught KeyError, and added the ability for a kban to work on the person requesting it (so we can put it in aliases :)) 2003-11-13 19:01:40 +00:00
Jeremy Fincher
6004181695 Fixed bug in banmask when the host doesn't have a dot in it (rare, but possible). 2003-11-13 19:00:35 +00:00
Jeremy Fincher
7b86dfb195 Made $nick the same as $who. 2003-11-13 18:38:52 +00:00
Jeremy Fincher
d496328e81 Fixed bug in formatting of pydoc. 2003-11-13 17:56:51 +00:00
Jeremy Fincher
e48569b64a Changed addcapability to reject all attempts to add the owner capability. 2003-11-12 22:54:47 +00:00
Jeremy Fincher
08244ff36e New test and fix for the associated bug. 2003-11-12 21:57:21 +00:00
James Vega
512319c632 Style changes 2003-11-12 14:44:36 +00:00
James Vega
6892709a9f Update the tests to match the changes in the plugin 2003-11-12 14:42:23 +00:00
Jeremy Fincher
760483e2f0 Converted to Configurable. 2003-11-12 01:12:57 +00:00
Jeremy Fincher
bb231a19e5 Removed --fancy option; made True the default. 2003-11-12 00:27:34 +00:00
Jeremy Fincher
d1e049cb04 Stylistic update. 2003-11-11 17:50:27 +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
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
0a3b05f1fb Moved action to Misc from Utilities. 2003-11-11 11:43:51 +00:00
Jeremy Fincher
405f4ab8d9 Fixed bugs #833206 and #837628. 2003-11-11 11:30:32 +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
8c10948d2e 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
Daniel DiPaolo
473ce16776 Added more tests for the lexer, to make sure stuff within dangling parens is
left alone.
2003-11-10 20:25:24 +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
James Vega
2c78876a5e Add a url that tinyurl had some problems with 2003-11-10 14:49:27 +00:00
Jeremy Fincher
9dd2680a9f Fix for bug #839053 (parens without bars not handled correctly). 2003-11-10 10:46:57 +00:00
Jeremy Fincher
830301570f Added ignore, unignore, and ignores to be complete with Channel. 2003-11-09 14:34:23 +00:00
Jeremy Fincher
afeba84113 Added a test for a bug I thought was there but turns out isn't. 2003-11-09 14:19:50 +00:00
Jeremy Fincher
717fcab297 Removed the 'chan' from commands. 2003-11-09 14:11:15 +00:00
Jeremy Fincher
8580b6a44e Made Owner complain if there is more than one src/ plugin with a given command. 2003-11-09 14:01:36 +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
9b6bbd5087 Forgot to commit this for the Configurable update. 2003-11-08 09:46:50 +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
64e664e0bc Converted to use Configurable instead of Toggleable. 2003-11-08 08:01:34 +00:00
Jeremy Fincher
367d561d10 Removed the test for ToggleDictionary, pending the complete removal of Toggleable. 2003-11-08 07:47:12 +00:00
Jeremy Fincher
5fb5533e49 Hopefully fixed bugs in Unix.spell once and for all. 2003-11-08 07:29:45 +00:00
Jeremy Fincher
362ca56305 Fixed some bugs, added a test for ConfigurableDictionary. 2003-11-07 23:36:46 +00:00
Jeremy Fincher
248312fe05 Added a test for lithp. 2003-11-07 22:31:52 +00:00
Jeremy Fincher
901a225619 Added safeEval. 2003-11-07 19:40:03 +00:00
James Vega
900f2a97f9 Make sure '@action' works 2003-11-07 19:09:55 +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
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
3995cc3414 Switched to assertError for when no factoids exist and added testing of author
ordering
2003-11-06 20:22:02 +00:00
James Vega
a55193ea62 Added @most <popular|authored|recent> (RFE #829830) 2003-11-06 17:24: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
Daniel DiPaolo
b14ee76ca0 Added 'chanignores' command to list current channel ignores. 2003-11-05 17:22:38 +00:00
Jeremy Fincher
1a4780b854 Added an addword test and fixed the wordstats failures. 2003-11-05 07:59:44 +00:00
Daniel DiPaolo
5081016c2f Added some wordstats tests. 2003-11-05 07:56:05 +00:00
Jeremy Fincher
5d45c92592 Fixed the stupid DOM Element output, added test. 2003-11-05 07:10:44 +00:00
Jeremy Fincher
ce212fa2cd Fixed bug #835786 -- case insensitive now. 2003-11-05 06:29:07 +00:00
Jeremy Fincher
c803edc689 Added substitution and fixed ' returns the same thing all the time' bug. 2003-11-05 04:57:13 +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
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
8b6783ea55 Apparently NoRecurse only failed when the word for the alias was a subset of
the command word.
2003-11-04 17:37:04 +00:00
James Vega
5f2f970163 Test to make sure recursiveAlias only errors when the full word matches 2003-11-04 17:32:31 +00:00
James Vega
1558635250 Added an assert to verify that a toggle without a specified channel only
toggles the value of the current channel and not the default toggle.
2003-11-04 16:14:11 +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
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
b35501ceb2 Commented out a test that was causing several other failures. 2003-11-04 07:02:59 +00:00
Jeremy Fincher
375789218a Fixed bug in test suite. 2003-11-04 06:39:20 +00:00
Jeremy Fincher
8e45f35946 Refactored a bit and allow 'pydoc copy'. 2003-11-04 06:26:24 +00:00
Jeremy Fincher
3f8c149047 Fixed major bugz0rs with IrcSet and IrcDict. 2003-11-04 05:50:19 +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
Daniel Berlin
def70e1ff5 Make different randomdates and randomints in the same string give different values
add tests to make sure it happens
2003-11-04 03:52:50 +00:00
James Vega
c362784a2e Added a comment regarding a current bug in @bugs and @rfes 2003-11-03 23:15:47 +00:00
Daniel DiPaolo
33775aea0d First bit of quotegrab testing, just tests existing functionality.
More tests to come when functionality is added.
2003-11-03 19:22:06 +00:00
Jeremy Fincher
3fde50eaf9 Initial Checkin. 2003-11-03 06:59:38 +00:00
Jeremy Fincher
bc5529c87d Forgot to update the second call _disambiguate to the new interface. 2003-11-03 06:55:51 +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
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
Jeremy Fincher
f27ba11741 Added test to make sure reloading sets doesn't kill the subclasses of sets.Set (which may in the future not be subclasses of sets.Set. 2003-11-02 19:01:03 +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
Jeremy Fincher
5f55e2b589 Added a test for randomnick and fixed the bug it found. 2003-11-02 18:23:04 +00:00
Jeremy Fincher
e46e2483b7 Added a few more tests, and one for the case-preservation characteristics of karma with multiple arguments. 2003-11-02 18:04:49 +00:00
Jeremy Fincher
31ef30d961 Changed the name of some variables ('whore' doesn't partse as 'who re{gexp}') and added tests. 2003-11-02 16:45:38 +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