Commit Graph

968 Commits

Author SHA1 Message Date
Daniel DiPaolo
2c5e6163a0 This episode was brought to you by the letter 't' as in 'test'. More tests are
good.
2004-01-31 07:02:04 +00:00
Jeremy Fincher
2beb507554 Fixed all current failures in the no-plugins test cases. 2004-01-31 06:47:36 +00:00
Jeremy Fincher
a4c9d3f172 Formatting. 2004-01-30 06:12:46 +00:00
Keith Jones
1ad8ba41e5 New tests for new convert command 2004-01-28 22:48:45 +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
Vincent Foley
755f2c3564 *** empty log message *** 2004-01-28 16:43:17 +00:00
Vincent Foley
3e2f3b7f77 Added tests to reflect the changes to pluralize() and depluralize() 2004-01-27 21:02:19 +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
10afe5b8dd Removed bestuptime. 2004-01-27 19:24:39 +00:00
Jeremy Fincher
3f310efed7 Added a Regexp type. 2004-01-27 18:14:44 +00:00
Jeremy Fincher
048db92e65 Fixed no-help case in Config.help. 2004-01-27 00:42:17 +00:00
Jeremy Fincher
215a2b3a76 Changed to registry. 2004-01-26 19:17:59 +00:00
Jeremy Fincher
a54e5a6477 Added --groups to list; more tests. 2004-01-26 17:54:07 +00:00
Jeremy Fincher
1d43b84cb5 Initial checkin. 2004-01-26 17:36:43 +00:00
Jeremy Fincher
73a660164d Added optional 'to' handling to translate. 2004-01-25 18:13:13 +00:00
Jeremy Fincher
78eafe3fa6 Fixed the sqrt bug submitted by kmj. 2004-01-24 18:57:01 +00:00
Jeremy Fincher
bb92d8e40b Converted to use the new registry dealio. 2004-01-21 20:10:08 +00:00
Jeremy Fincher
1714359f0a Added an extra assert to testString. 2004-01-21 19:08:02 +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
Jeremy Fincher
4b1083931d Changed channel capabilities to use commas. 2004-01-20 21:53:13 +00:00
Jeremy Fincher
23c2640a87 Made test-conf if it doesn't exist. 2004-01-20 21:50:38 +00:00
Jeremy Fincher
c98ac096e8 Initial checkin. 2004-01-20 17:57:00 +00:00
Jeremy Fincher
201f11cc94 Updated for the new registry dealio. 2004-01-20 12:27:48 +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
fd132f20ad Added setdefault and get to IrcDict. 2004-01-19 22:29:55 +00:00
Jeremy Fincher
4df10116ed Added Config to the default list of plugins loaded. 2004-01-19 20:23:03 +00:00
Jeremy Fincher
9aede17efd Changed not even to define eval/exec when conf.allowEval is False. 2004-01-18 19:35:36 +00:00
Jeremy Fincher
6ca78924f3 HUUUUUUUUGE Configuration change. 2004-01-18 07:58:26 +00:00
Jeremy Fincher
29426e2f1d Moved isIP* to utils from ircutils. 2004-01-16 17:33:51 +00:00
Jeremy Fincher
8f53601882 Added test for no escaping WebError. 2004-01-16 16:12:54 +00:00
Jeremy Fincher
4cd70bbdd4 Added years and weeks to seconds. 2004-01-15 17:34:05 +00:00
Jeremy Fincher
fd294faeee Added special 'me' handling to tell. 2004-01-15 17:21:06 +00:00
Jeremy Fincher
19a63ef669 Handled deprecation in tests. 2004-01-15 14:38:17 +00:00
Jeremy Fincher
b072772ea5 Updated, added a test for errorReplyNoCapability. 2004-01-15 12:07:31 +00:00
Jeremy Fincher
d33c5333c5 Removed set and unset, since they're not used at all by anyone. 2004-01-15 00:27:46 +00:00
Jeremy Fincher
eee9b5aaf2 Made revision accept a .py at the end of the filenames. 2004-01-14 15:50:45 +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
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
Daniel DiPaolo
9d7c1a64c2 Make it so that ACTIONs don't get added as factoids 2004-01-11 23:22:59 +00:00
Jeremy Fincher
992781c908 Changed permissions 2004-01-11 14:35:51 +00:00
Jeremy Fincher
4452ca879e Added functions for reading non-comment or empty lines of a file. 2004-01-11 14:33:38 +00:00
Vincent Foley
3c47dc914d I can't find why the hangman test fails. 2004-01-09 23:40:18 +00:00
Jeremy Fincher
3e93599419 Fixed bugz0r in errorNoCapability. 2004-01-09 14:20:00 +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
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
530aec2be0 Updated the reply infrastructure. No more msg, it's just not necessary. 2004-01-08 03:12:14 +00:00
Jeremy Fincher
88cc0412c4 Updated. 2004-01-08 00:47:35 +00:00
Jeremy Fincher
2fce1dcf13 Added a note. 2004-01-07 19:03:06 +00:00
Jeremy Fincher
ebacb99788 Forgot to update for the Fun/Filter split. 2004-01-07 18:51:59 +00:00
Jeremy Fincher
6645679cd5 Removed a flaky, useless test. 2004-01-07 18:39:12 +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
09dfe24573 Fixed bugz0r with nested commands in Scheduler.repeat. 2004-01-04 19:35:02 +00:00
Jeremy Fincher
f1a68ff16f Moved seconds command to Misc from Scheduler. 2004-01-04 15:19:41 +00:00
Jeremy Fincher
332a1826d5 Doesn't matter now, but just in case... 2004-01-04 13:54:50 +00:00
Jeremy Fincher
d27fa33995 Added an extra assert. 2004-01-04 13:54:34 +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
18b06dbb89 Fix for findBinaryInPath test. 2004-01-03 15:42:59 +00:00
Jeremy Fincher
c4a122da5a Fixed bug #869652. 2004-01-03 06:26:39 +00:00
Jeremy Fincher
a0d2a9da2a Fixed bug #863808; added isIPV6. 2004-01-02 20:50:43 +00:00
Jeremy Fincher
a58e5b97d9 Fixed some tests. 2004-01-02 19:53:18 +00:00
Jeremy Fincher
87f3c2a644 Added the --nonetwork and --noplugins flag. 2004-01-01 19:51:48 +00:00
Jeremy Fincher
1c0526666d Initial checkin. 2004-01-01 19:51:34 +00:00
Jeremy Fincher
d5ed1e772c Guard against non-existent spell/fortune/wtf commands. 2004-01-01 19:49:52 +00:00
Jeremy Fincher
7cf27435bb Be more appropriate, since not all OSes have child time. 2004-01-01 19:49:26 +00:00
Jeremy Fincher
dea580d492 Kill the empty line\! 2004-01-01 19:48:41 +00:00
Jeremy Fincher
a477824967 Removed a (now) useless test. 2004-01-01 19:48:01 +00:00
Jeremy Fincher
bcbfd2130e Made matchCase its own available function. 2004-01-01 19:47:13 +00:00
Jeremy Fincher
8366d740d5 Began **kwargs'ing tests (with getMsg). 2004-01-01 19:46:29 +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
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
Jeremy Fincher
92ad8bfb14 Fixed indentation bug. 2003-12-30 01:53:44 +00:00
Daniel DiPaolo
629dd867f1 Fixed lack of case-insensitivity in randomquote 2003-12-29 11:12:37 +00:00
Daniel DiPaolo
bf3b4a074c Added test case for bug #866178 - invalidCommand called when addressed with
nick for karma++
2003-12-27 02:06:50 +00:00
Daniel DiPaolo
38b9cfadc7 Adding a test to make sure that bad nesting errors out completely and doesn't
call things like addFactoid.
2003-12-19 22:37:04 +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
e3661e3ba5 Removed assertRegexps and assertResponses, added RFE #836316 (target keyword) and frm keyword. 2003-12-18 08:39:29 +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
3334180c82 Just in case. 2003-12-17 13:31:34 +00:00
Jeremy Fincher
bbafb4294e Added conf.replyWhenNotAddressed for RFE #859183. 2003-12-17 13:22:21 +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
4a6ac27406 Added a configurable to determine the number of things shown in the ranking. 2003-12-16 20:51:37 +00:00
Jeremy Fincher
2ba68353dd Added RFE #859119, configurable karma response. 2003-12-16 13:06:21 +00:00
Jeremy Fincher
6a674609f4 Fix for bug #859630 2003-12-16 04:12:01 +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
590c9c64a0 Made help handle defaultplugins and whatnot correctly. 2003-12-12 17:53:16 +00:00
James Vega
e485984604 Make sure the ban length is an integer 2003-12-12 16:56:25 +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
8f777db9f9 Fixed bug #858008, and a fix for another bug that invalidCommands that raise an exception stop the whole process; now it'll continue to later plugins. 2003-12-11 14:32:45 +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
Jeremy Fincher
3f6d347e2b Added isCtcp. 2003-12-10 18:49:45 +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
7f7562ef42 Allow ambiguous aliases. 2003-12-10 07:43:45 +00:00
Jeremy Fincher
da6743b9b7 Added appropriate error messages for Admin.join when the channel can't be joined. Also added channels command to see what channels the bot is in. 2003-12-10 07:29:01 +00:00
Jeremy Fincher
9678560c98 Made configurable. 2003-12-10 06:58:17 +00:00
Jeremy Fincher
5980afc86f Made URL easily changeable and changed it to advogato. 2003-12-10 04:46:51 +00:00
Jeremy Fincher
091be1311d Spread out some tests, made action error on the empty string. 2003-12-10 04:38:44 +00:00
Jeremy Fincher
3978be5cdf Fixed bug #856997. 2003-12-09 21:36:33 +00:00
Jeremy Fincher
a6099943b4 Fix for bug #857054. 2003-12-09 21:32:55 +00:00
Jeremy Fincher
b4ffe24b84 Fixed it to reload Owner and Misc as necessary. 2003-12-09 21:32:31 +00:00
James Vega
66ec4ab4d7 Improve some error handling and test some more uses 2003-12-09 15:57:19 +00:00
James Vega
9ca2732b45 Just to double-check that indexing checks and unique topic number checking are
done properly.
2003-12-09 15:26:05 +00:00
Jeremy Fincher
88581d99e4 Added utils.sorted. 2003-12-09 14:46:12 +00:00
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