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
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
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
Daniel DiPaolo
15b18edc11
made karma case-insensitive
2003-10-31 21:03:35 +00:00
Jeremy Fincher
07ef648e1c
Made the tests for callbacks.addressed more extensive.
2003-10-31 20:04:55 +00:00
James Vega
9e7a37e5bf
Test praise for good measure
2003-10-31 18:44:13 +00:00
James Vega
d50d435363
For some reason I was replacing the bot's name with the user's name
2003-10-31 18:43:08 +00:00
Jeremy Fincher
8c93488146
Fixed Bug #833786 (spurious brackets not handled correctly).
2003-10-31 18:18:04 +00:00
Jeremy Fincher
c3d7efa68b
Fixed bug with reload not working with non-canonicalNames.
2003-10-30 18:05:57 +00:00
Daniel DiPaolo
c318d5e384
Added the "action" command and associated tests.
2003-10-30 17:16:02 +00:00
Jeremy Fincher
9ddc7c75f5
Somehow messed this one up.
2003-10-30 05:40:39 +00:00
Jeremy Fincher
895ecf718f
Fixed bug #832590 .
2003-10-30 05:27:25 +00:00
Jeremy Fincher
06ce1bcb94
Added change.
2003-10-30 04:36:40 +00:00
Jeremy Fincher
51c5d53259
Added defaultplugin.
2003-10-30 03:08:52 +00:00
Jeremy Fincher
f4e4233704
CanonicalNamed the toggles.
2003-10-30 02:38:11 +00:00
Jeremy Fincher
1280dbdc90
Added test, fixed a bug it found.
2003-10-30 02:33:04 +00:00
Jeremy Fincher
47a9d24434
Changed setconf to show what the value of the variable is if we don't give something to set it.
2003-10-30 02:13:12 +00:00
Jeremy Fincher
83e16b0d89
Fixed Google test.
2003-10-30 02:10:17 +00:00
Jeremy Fincher
b14bc6e3b7
changed testEmptyNest a slight bit.
2003-10-30 00:15:17 +00:00
Jeremy Fincher
2ed2f6a5ff
Used the wrong variable in assertNoResponse.
2003-10-30 00:12:39 +00:00
Jeremy Fincher
138c87f372
Changed to a ChannelPluginTestCase.
2003-10-30 00:12:22 +00:00
Jeremy Fincher
58cf080109
Fixed the nesting bug with testEval and testCalc.
2003-10-29 23:40:14 +00:00
James Vega
afc74b96f0
Fix replacement of my/me not obeying word boundaries. Also created tests to
...
ensure it stays fixed.
2003-10-29 20:27:09 +00:00
Daniel DiPaolo
8cc9620a4b
Fixed ordering by priority when requesting todos for a person (or self)
2003-10-29 20:12:02 +00:00
Daniel DiPaolo
bef71df2ee
Added a test to make sure I don't make that stupid mistake (not including "msg"
...
in irc.error) in the same place again.
2003-10-29 17:39:07 +00:00
Jeremy Fincher
50e1690fca
Added test for empty nested command.
2003-10-29 16:09:20 +00:00
Daniel DiPaolo
bfdbda625a
Changed karma pluralization to use utils.pluralize() and fixed the tests to
...
avoid erroring due to ambiguous commands for 'stats' (since 'User' is also
loaded for the tests)
2003-10-29 07:46:49 +00:00
James Vega
535cdde13c
Switched the togglesnarfers to the new Toggleable mixin
2003-10-29 06:06:56 +00:00
Daniel DiPaolo
f0b850118b
MoobotFactoids should be pretty dang close to finished now. Got the "_is_"
...
syntax working just fine.
2003-10-29 03:01:02 +00:00
Jeremy Fincher
5617dd6843
Added some commented out tests in case we decide to change the interface of ToggleDictionary.
2003-10-29 00:05:34 +00:00
Jeremy Fincher
e49e5d02f4
Changes to ToggleDictionary.
2003-10-28 23:14:49 +00:00
Daniel DiPaolo
05f8d6a2f8
Added "todo change" and tests for it.
2003-10-28 18:43:43 +00:00
Daniel DiPaolo
f9d97c91f5
Overhaul of Todo, somewhat. Made everyone's todos accessible by anyone, either
...
by id or by username. Also, made it so todos are never deleted, just set to
inactive.
2003-10-28 17:40:41 +00:00
Daniel DiPaolo
2527f47cb6
Punctuation ("?!") is now stripped from keys before insertion into the db
2003-10-28 15:30:43 +00:00
Jeremy Fincher
d174226c5c
Added the ability to do hashed passwords.
2003-10-28 15:13:53 +00:00
Jeremy Fincher
b63f2170e8
Added a saltHash function.
2003-10-28 14:20:00 +00:00
Jeremy Fincher
b5f7bec137
Gave up on responding with *all* the nonCommands in a message.
2003-10-28 06:23:52 +00:00
Daniel DiPaolo
63c86ec366
Removed a test that was left over from the unified Dunno/MoobotFactoids module
2003-10-28 06:13:05 +00:00
Jeremy Fincher
c2f179cd0d
Fixed some bugs and cleaned up the test suite.
2003-10-28 05:49:31 +00:00
Daniel DiPaolo
084fe1854f
More MoobotFactoids/Dunno separation fun and fixes
2003-10-28 05:31:51 +00:00
Jeremy Fincher
eaa15860d8
Made sure commaAndify raises TypeError when it's given lists of non-strings.
2003-10-28 05:10:03 +00:00
Jeremy Fincher
9dc16ee761
Changed the most recent title test to use the proper URL.
2003-10-28 04:52:27 +00:00
Jeremy Fincher
e0f617aead
Beware the Dowloading!
2003-10-28 04:44:29 +00:00
James Vega
ad022a88ed
Added ToggleDictionary class and modified the tests to better model the
...
specification
2003-10-28 00:52:27 +00:00
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
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
fc11ff4f24
Handle properly the case where no matching commands were found.
2003-10-27 04:59:54 +00:00
Jeremy Fincher
7ba9a855bb
Test for gkstats Strike.
2003-10-26 12:26:39 +00:00
Jeremy Fincher
0f45fe2c36
Fixed bug in testGreet.
2003-10-25 18:22:52 +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
Stéphan Kochen
9320ad0e4e
Long live unicode! :D
2003-10-24 21:37:09 +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
aa088ef6d9
Added memory reporting stuff to cpustats.
2003-10-24 13:38:55 +00:00
Jeremy Fincher
c9a6f88a9e
Updated for the new assertError/assertHelp.
2003-10-24 11:52:24 +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
660ba14e96
Fixed some failing test cases.
2003-10-24 11:03:43 +00:00
Jeremy Fincher
7d960ca4c6
Added PersistentDictionary.flush.
2003-10-24 09:57:54 +00:00
Jeremy Fincher
b9434a23a6
Added PersistentDictionary.
2003-10-24 09:53:03 +00:00
Jeremy Fincher
fa589ac423
Fix for bug #829353 ; added a test for the remove command.
2003-10-24 09:10:10 +00:00
Jeremy Fincher
300004ca62
Fix for bug #829300
2003-10-24 09:03:34 +00:00
Daniel DiPaolo
8229759769
Added 'setpriority' and tests.
2003-10-24 07:12:51 +00:00
Daniel DiPaolo
1b25a207bf
Made MoobotFactoids case insensitive, and added tests to make sure that
...
case-insensitivity works.
2003-10-24 01:03:18 +00:00
Daniel DiPaolo
f0574da59a
Fixed the 'title' regexp to be non-greedy, in case there's a </title> tag
...
within the document itself. Also put a test for this (which will hopefully be
a permanent link... not sure though)
2003-10-24 00:46:21 +00:00
Jeremy Fincher
68dd30cb8b
Made stats default to the name of the person asking.
2003-10-23 20:59:51 +00:00
James Vega
6cae1b5ec4
Rewrote @insult and cleaned up the tests for all of FunDB so that they are
...
more deterministic
2003-10-23 12:35:43 +00:00
Jeremy Fincher
dd40523197
Added the note id to the response to sendnote.
2003-10-23 09:16:20 +00:00
Jeremy Fincher
3944b00001
Updated.
2003-10-23 08:35:26 +00:00
Jeremy Fincher
10c7b7c0c0
Made sure no messages longer than 512 bytes every leave the bot.
2003-10-23 05:53:49 +00:00
Jeremy Fincher
8914543d35
Made <number> optional in convert.
2003-10-23 04:21:40 +00:00
Jeremy Fincher
65b87f822c
Fixed bug in info; returned n+1 factoids when there were only n.
2003-10-23 04:17:18 +00:00
Jeremy Fincher
e255ef2e68
Made local plugins to be ordered before global plugins.
2003-10-23 03:26:36 +00:00
James Vega
8a378601b3
As part of the renaming madness, removed any ^db prefix
2003-10-23 02:12:07 +00:00
Daniel Berlin
0b380f56fe
Add --id option to geekquote, make it always allow multiline quotes
2003-10-22 22:05:34 +00:00
Jeremy Fincher
84690d56c9
Fixed escaping ValueError in soundex.
2003-10-22 20:09:45 +00:00
Stéphan Kochen
5c1fc0114d
Added optional <id> argument to FunDB's excuse
2003-10-22 19:52:05 +00:00
Jeremy Fincher
f7caf3f4fd
Updated jeffk and lithp.
2003-10-22 19:43:38 +00:00
Jeremy Fincher
615ed5c34b
Made sure the snarfer doesn't respond if there's no license key.
2003-10-22 17:43:04 +00:00
James Vega
89e5a4aa0e
The snarfer wasn't quite fixed. Should be fixed for good this time. Also added
...
a test to make sure that a bad url isn't snarfed.
2003-10-22 15:58:07 +00:00
Jeremy Fincher
0ea2f22517
Made the environment slightly cleaner in PluginTestCase.setUp.
2003-10-22 15:47:44 +00:00
Jeremy Fincher
52bd33015c
Made the environment slightly cleaner in PluginTestCase.setUp.
2003-10-22 15:38:43 +00:00
Daniel Berlin
f967783949
Fix import as stuff, add URL snarfer, add test for URL snarfer
2003-10-22 15:20:06 +00:00
Jeremy Fincher
657df52ea3
Fixed search to put the word between stars if it doesn't have any globbing metachacters.
2003-10-22 15:15:50 +00:00
James Vega
f57aba4c80
test/test_Souceforge.py: Removed the commented out tests
...
plugins/Sourceforge.py: Reverted the snarfer RE back to how it was, with a
slight improvement. This should make it catch more URLs without having all the
negative feedback the last RE produced.
2003-10-22 12:34:22 +00:00
Jeremy Fincher
689c464012
Made --from use ircutils.nickEqual.
2003-10-22 08:08:59 +00:00
Jeremy Fincher
13c10c899e
Made outfilters stackable, added md5 and sha as outfilters.
2003-10-22 05:15:41 +00:00
Jeremy Fincher
d28b015b52
Added an apropos command.
2003-10-22 04:32:29 +00:00
Jeremy Fincher
e8284ca938
Fixed os.path lookups.
2003-10-22 03:55:03 +00:00
Jeremy Fincher
e189603220
Fixed multiple-karma responses in the face of no results.
2003-10-22 03:40:00 +00:00
Jeremy Fincher
8ebef1ec6e
Commented out most of the https tests; made the regexp that the snarfer matches on much less complex so it would match a new URL that it didn't match before (and won't be so complex to maintain, to boot).
2003-10-22 03:11:16 +00:00
Jeremy Fincher
9c2a8121ec
Fixed bug in isNick.
2003-10-22 01:40:27 +00:00
Jeremy Fincher
f09928e5cd
Fixed RFE #827285 .
2003-10-21 23:21:32 +00:00
Jeremy Fincher
be97120c63
Made the hostmask command default to providing the hostmask of the person asking giving the command if no nick is provided.
2003-10-21 21:33:27 +00:00
Jeremy Fincher
232c634436
Made to load Owner by default.
2003-10-21 20:47:55 +00:00
Daniel DiPaolo
86b633cfe6
Fixed MoobotFactoids tests to jive with new "glob by default" behavior.
2003-10-21 20:23:59 +00:00
Jeremy Fincher
ec7644fd2f
Better message for failed assertNoResponse calls.
2003-10-21 20:17:29 +00:00
James Vega
7d3d501073
Added the Ebay plugin and tests
2003-10-21 17:36:57 +00:00
James Vega
8521e23bd4
Changed the name of the class to match the name of the plugin class
2003-10-21 17:36:07 +00:00
Jeremy Fincher
912fb78afb
Made the last test pass.
2003-10-21 17:14:28 +00:00
Daniel DiPaolo
d470488788
Fixed to accomodate changed plugin names ("MiscCommands" -> "Misc", e.g.)
2003-10-21 16:54:08 +00:00
James Vega
46907405d9
Switch Sf back to Sourceforge due to a conversation I wasn't aware of where
...
they reversed the naming-decision
2003-10-21 16:43:02 +00:00
Daniel DiPaolo
d959f84b73
Got most of the dunno stuff in place.
2003-10-21 15:44:17 +00:00
Stéphan Kochen
a67748ec5f
Changed --id=<id> to just <id> in praise and lart.
2003-10-21 15:36:39 +00:00
Stéphan Kochen
69c214785b
Fixed a small buggeeeeh where lart and praise work without a victim.
2003-10-21 14:34:41 +00:00
Stéphan Kochen
5b1026e1f9
Added --id=<id> to praise and lart (RFE #827075 )
2003-10-21 13:23:26 +00:00
James Vega
71c79417e1
Modified the snarfer so that it recognizes sf.net URLs. Also updated the tests
...
to check that functionality.
2003-10-21 12:37:04 +00:00
James Vega
e4909c5f42
Switch the Sourceforge plugin name to Sf
2003-10-21 12:20:23 +00:00
James Vega
d2b993d2ec
Fixed the tests to match the change in Debian command names
2003-10-21 12:19:30 +00:00
Jeremy Fincher
2175bd72f3
Oops, had one remaining ownercommands to deal with.
2003-10-21 06:19:26 +00:00
Jeremy Fincher
baa9922f5f
Sorted the names so they'd go in a predictable order.
2003-10-21 06:11:34 +00:00
Jeremy Fincher
ab2bea589a
Changed the names of the src/ plugins.
2003-10-21 06:03:57 +00:00
Jeremy Fincher
8150a36369
Moved to sandbox.
2003-10-21 05:47:01 +00:00
Jeremy Fincher
0349f7b3b1
Converted to use more generic command names.
2003-10-21 05:32:57 +00:00
Jeremy Fincher
48737f2085
Made command names more generic.
2003-10-21 05:19:54 +00:00
Jeremy Fincher
1037ade8cb
Changed to more generic command names.
2003-10-21 05:11:53 +00:00
Jeremy Fincher
907979b284
Changed command names to be more generic.
2003-10-21 05:06:36 +00:00