Commit Graph

847 Commits

Author SHA1 Message Date
Jeremy Fincher
0aa5f2e5f7 More tests for reorder. 2003-12-09 14:38:37 +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
ef3ea98c92 Guarded test_Amazon against not having a license key. 2003-12-09 01:09:16 +00:00
Jeremy Fincher
ec16d3ae8b Reverted a version. 2003-12-09 00:39:16 +00:00
Daniel DiPaolo
2105be8c90 Fix an oopsie in the Poll tests where I was trying to close the wrong poll 2003-12-09 00:25:47 +00:00
Jeremy Fincher
fe9bf97a59 Change changeusername to changename. 2003-12-09 00:02:51 +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
Jeremy Fincher
d59b3022fc Added test for active/inactive in Todo.todo. 2003-12-08 13:16:51 +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
Daniel DiPaolo
99782d0eeb Added another check for setprefixchar to make sure it returns when it hits a
bad prefixchar
2003-12-05 19:54:16 +00:00
Daniel DiPaolo
2e4ecfe03b Fixed a bug in setprefixchar where things would get wonky when trying to set an
invalid prefixchar
2003-12-05 19:10:09 +00:00
Jeremy Fincher
926904031f Added tests for multiple regexps and regexp+glob. 2003-12-05 12:26:57 +00:00
Jeremy Fincher
f26115bb9b Fixed bug #853654. 2003-12-05 12:08:24 +00:00
Daniel DiPaolo
ef6e12ae90 More poll tests 2003-12-05 03:52:30 +00:00
Jeremy Fincher
56b68d6893 Fixed bug #853904. 2003-12-04 08:50:49 +00:00
Jeremy Fincher
41fd7c7887 Added icalc test. 2003-12-04 08:39:03 +00:00
Jeremy Fincher
978fcc2f55 Added a commented-out test I never got to work. 2003-12-04 08:20:40 +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
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
1b462c8b55 Added a few more substitutes and allowed a few more names to be more compatible with blootbot. 2003-12-04 00:07:16 +00:00
Jeremy Fincher
cebcf5f0c7 Initial checkin. 2003-12-04 00:05:57 +00:00
Jeremy Fincher
4aa05c353a Added ping command. 2003-12-03 23:56:06 +00:00
Jeremy Fincher
95fc4532aa Added some tests for hostmaskPatternEqual. 2003-12-03 22:33:20 +00:00
Jeremy Fincher
246afc30e1 Made it not depend on Alias anymore. 2003-12-03 21:21:43 +00:00
Jeremy Fincher
43a890e488 Added kick command. 2003-12-03 20:52:05 +00:00
Jeremy Fincher
4726fdf223 Made sure the pluralized power commands don't get run with no arguments. 2003-12-03 20:49:51 +00:00
Jeremy Fincher
39ab2b78bf Added Channel.{deop,devoice,dehalfop} 2003-12-03 20:27:42 +00:00
Jeremy Fincher
7f3cafbfbd Fixed ops, deops, halfops, dehalfops, voices, and devoices. 2003-12-03 20:17:13 +00:00
Jeremy Fincher
0f3dcf0c01 Added Http.size, Http.doctype, and Http.headers. 2003-12-03 05:24:18 +00:00
Daniel DiPaolo
b6faf3602e Added test for the wordstats-top-n configurable 2003-12-03 03:51:31 +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
2046e63898 Made to use the conf.confDir. 2003-12-03 02:30:41 +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
Jeremy Fincher
5dfb00ff7d Added lobotomies command. 2003-12-03 01:28:31 +00:00
Jeremy Fincher
77a8d8bd2d Added swap to rpn. 2003-12-02 22:08:46 +00:00
Jeremy Fincher
882b872d7c Made defaultplugin show the default plugin for a command if not given a plugin. 2003-12-02 19:21:05 +00:00
James Vega
7a418a1bf6 Damn, it feels good to be a ChannelDB 2003-12-02 19:00:11 +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
2a9d9d1b5d Reworked so there's no double-import problem. 2003-12-02 12:27:45 +00:00
Jeremy Fincher
5549322771 Fix for bug #852422. 2003-12-02 11:16:26 +00:00
Jeremy Fincher
4e5e568244 Fix for bug #852433. 2003-12-02 11:06:39 +00:00
Jeremy Fincher
9264b635e2 Added most command. 2003-12-01 23:47:37 +00:00
Jeremy Fincher
b39e1237fc Added __iter__ to UsersDB for a cleaner interface. 2003-12-01 23:24:25 +00:00
Jeremy Fincher
e34d9deecd Fixed RFE #851183, ircdb.users.numUsers. 2003-12-01 23:17:26 +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
Jeremy Fincher
c8de1e8155 Made the string of flags that require an argument an optional argument so you can parse the flags for some other purpose. 2003-12-01 21:59:01 +00:00
Jeremy Fincher
3179a8d8bc Fixed the case problem in User.list. 2003-12-01 21:27:26 +00:00
Jeremy Fincher
97b8bab611 Added User.list command to list registered users. 2003-12-01 20:57:00 +00:00
Jeremy Fincher
4c4fbaccc1 Added User.list command to list registered users. 2003-12-01 20:57:00 +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
35df9e1cfa Added test to make sure overlong regexps don't slip through. 2003-12-01 12:35:07 +00:00
Jeremy Fincher
fb2d9b7f4f Various re fixes, including bug #850931. 2003-12-01 11:06:17 +00:00
Jeremy Fincher
7bdf1059bf Added test for reasons' period not being kept in the actual lart/praise. 2003-11-29 19:04:41 +00:00
Jeremy Fincher
068003cb52 Added tests for Bug #850931. 2003-11-29 18:57:47 +00:00
Jeremy Fincher
72f93610b1 Fix for bug #851254. 2003-11-29 18:45:29 +00:00
Daniel DiPaolo
ea23b47163 Did a complete rework of the poll plugin. 2003-11-26 20:27:42 +00:00
Jeremy Fincher
8ee09a01b8 Set the minimum priority. 2003-11-26 19:21:43 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +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
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