Daniel DiPaolo
e00852b5ce
Updated wordstats to default to checking for a word first instead of a user in
...
the case where there's only one arg supplied.
2003-11-06 20:21:59 +00:00
James Vega
ea81e966ff
ddipaolo suggested switching from a tuple to a dictionary to make things more
...
intuitive (if we even decide to keep this format)
2003-11-06 18:31:56 +00:00
James Vega
ac97573d92
Well, now @most has one set of commands that it will run, but it required a
...
big dictionary.
2003-11-06 18:19:41 +00:00
James Vega
a55193ea62
Added @most <popular|authored|recent> (RFE #829830 )
2003-11-06 17:24:49 +00:00
Daniel DiPaolo
6ea38aeffc
Changed wordstats to use accessor ircdb.users.getUser instead of accessing the
...
ircdb.users.users data structure directly.
2003-11-06 16:41: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
James Vega
84bff2f755
@tiny should be specifying cmd=True when I call _getTinyUrl. That was the
...
whole point of having a cmd parameter.
2003-11-05 19:45:55 +00:00
Jeremy Fincher
1a4780b854
Added an addword test and fixed the wordstats failures.
2003-11-05 07:59:44 +00:00
Jeremy Fincher
9e94295d34
Fixed possible raised KeyError.
2003-11-05 07:43:48 +00:00
Jeremy Fincher
76ad28918f
Fixed the stupid DOM Element output, added test.
2003-11-05 06:56:03 +00:00
Jeremy Fincher
ed94dd44ca
Fixed freshmeat command, changed it to use xml.dom.minidom. Also removed example string.
2003-11-05 06:50:06 +00:00
Jeremy Fincher
ce212fa2cd
Fixed bug #835786 -- case insensitive now.
2003-11-05 06:29:07 +00:00
Jeremy Fincher
71791ab60b
Added wordstats and whatnot.
2003-11-05 06:09:17 +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
09a64b7bea
Bastages changed the format of their page! (fixed a regexp for getStats)
2003-11-04 23:04:38 +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
863aeb3b4f
Only throw a recursion error if the command matches the alias name exactly
2003-11-04 17:39:32 +00:00
Jeremy Fincher
8474b10f32
Made Relay not ignore, and added a check to Owner.doPrivmsg to make sure commands can't get called by ignored people (even if noIgnore is True on the plugin with the commands.
2003-11-04 17:34:48 +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
afa0cb8f41
Fixed bug in relay whois; chopping characters off the end of the channel rather than the beginning.
2003-11-04 08:50:10 +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
c1e9205545
Stylistic update; there are things better than lambdas...
2003-11-04 08:26:52 +00:00
Jeremy Fincher
91b01f9fe3
Reduced some lines to fewer than 80 characters.
2003-11-04 07:03:18 +00:00
Jeremy Fincher
8e45f35946
Refactored a bit and allow 'pydoc copy'.
2003-11-04 06:26:24 +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
Jeremy Fincher
be3e5e482a
Changed magic numbers to variables.
2003-11-03 17:45:48 +00:00
Jeremy Fincher
5fb5241602
Fixed a few bugs.
2003-11-03 16:17:40 +00:00
Jeremy Fincher
3fde50eaf9
Initial Checkin.
2003-11-03 06:59:38 +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
Daniel DiPaolo
0de26afa99
changed factoids to use irc.reply(..., action=True) instead of queueMsg
2003-11-03 03:23:00 +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
James Vega
d74a59a2f5
Cleaned up the snarfer
2003-11-02 19:46:35 +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
Daniel Berlin
d557443883
Make Dunno use standardSubstitute
2003-11-02 03:18:39 +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
James Vega
1d1d7a87c2
Lots of changes to make it follow the format of a typical supybot plugin
2003-10-31 23:53:35 +00:00
James Vega
fcd4919bab
Fix the snarfer re so that it does match extraneous text
2003-10-31 22:48:43 +00:00
Daniel DiPaolo
15b18edc11
made karma case-insensitive
2003-10-31 21:03:35 +00:00
Jeremy Fincher
4e4855094c
Forget to catch the actual exception instance in callCommand.
2003-10-31 19:17:26 +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
Daniel DiPaolo
c318d5e384
Added the "action" command and associated tests.
2003-10-30 17:16:02 +00:00