Daniel DiPaolo
051928efa5
Added locked_by back ... to stay, now admin/owner people can lock/unlock
...
factoids that they didn't create. So it'll be nice to be able to see just who
locked a factoid of yours.
2003-10-24 02:25:41 +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
Daniel DiPaolo
aa05fc1a79
Made it so admins can unlock anyone's factoids.
2003-10-23 21:35:13 +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
6d9aea2d26
Missing conf import
2003-10-23 15:31:56 +00:00
James Vega
85e863f92c
Parse 'my' in @lart and @praise (Closes: RFE #828950 )
2003-10-23 15:23:01 +00:00
Jeremy Fincher
aa09eb16a7
Forgot to set the probability for NO YUO
2003-10-23 15:10:07 +00:00
James Vega
7fd9859682
Switch irc.queueMsg to irc.reply
2003-10-23 14:59:03 +00:00
James Vega
7e01b8a74d
Convert irc.queueMsg(callbacks.reply to irc.reply
2003-10-23 14:52:59 +00:00
James Vega
cbbc2818ee
Changed an irc.queueMsg to irc.reply
2003-10-23 13:13:40 +00:00
James Vega
d608f82875
configure() was still adding 'load IMDB' to onStart instead of 'load Movies'
2003-10-23 12:59:15 +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
2ab2afdae9
Updated configure to be more descriptive about disabling progstats.
2003-10-23 08:15:47 +00:00
Jeremy Fincher
7bf41499cb
Fixed pluralization bug in info.
2003-10-23 05:14:41 +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
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
Jeremy Fincher
9a5cb77fe4
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
James Vega
b03e5612d2
Added configure() prompts to automatically disable the snarfer
2003-10-22 18:51:16 +00:00
Daniel DiPaolo
e39a8c4237
Improve the error messages returned in a few "except" blocks.
2003-10-22 18:29:02 +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
Daniel DiPaolo
6cf0005abe
Put "prefixName=False" in a bunch of the irc.reply()s so that things like
...
dunnos wouldn't look stupid.
2003-10-22 16:38:46 +00:00
Jeremy Fincher
6382e75820
Forgot to import socket.
2003-10-22 16:05:18 +00:00
Daniel DiPaolo
93f19492ca
Could have sworn I committed this already... turns on globbing by default (I
...
think .. too lazy to diff and see if that's what changed)
2003-10-22 16:01:05 +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
Daniel Berlin
d55f5c489f
Add snarfer toggle
2003-10-22 15:54:32 +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
Jeremy Fincher
1879f0786d
Slight code cleanup and catching of timed out connections.
2003-10-22 15:12:33 +00:00
James Vega
8f6adf62f5
Add dberlin's friendlytoofriendly patch
2003-10-22 13:53:09 +00:00
James Vega
dc9acab9b5
Improved the snarfer re and added the 'Buy It Now' price to the list of things
...
which are snarfed.
2003-10-22 13:45:06 +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
f9bd4db612
Made the wizard and Relay.configure utils.dqrepr their channel names.
2003-10-22 09:14:49 +00:00
Jeremy Fincher
9240ca88b6
Slight modification on exclaim.
2003-10-22 05:44:18 +00:00
Jeremy Fincher
4be5758099
Brought BadWords up to the times.
2003-10-22 05:35:52 +00:00
Jeremy Fincher
13c10c899e
Made outfilters stackable, added md5 and sha as outfilters.
2003-10-22 05:15:41 +00:00
Jeremy Fincher
e50243262d
Lowered the plugin's priority so it makes its decisisons about whether or not to relay something before anything else has gotten hold of the message.
2003-10-22 05:15:19 +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
f09928e5cd
Fixed RFE #827285 .
2003-10-21 23:21:32 +00:00
Jeremy Fincher
9cb41e6420
Made ordering in PrivmsgCommandAndRegexp depend on the list of regexp-methods.
2003-10-21 21:10:20 +00:00
Jeremy Fincher
e298f33d7e
Fixed problem with new.function.
2003-10-21 20:59:51 +00:00
Daniel Berlin
98a13e267a
Fix multiline geekquotes
2003-10-21 19:54:30 +00:00
Jeremy Fincher
52d4767601
Added a period to the invalid alias complaint.
2003-10-21 19:20:47 +00:00
Jeremy Fincher
388fae08c5
Made the snarfer remove the parentheses from a URL.
2003-10-21 19:20:30 +00:00
James Vega
7d3d501073
Added the Ebay plugin and tests
2003-10-21 17:36:57 +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
Jeremy Fincher
ec626896d3
Generalized the command names.
2003-10-21 07:26:06 +00:00
Jeremy Fincher
3ac622ce11
Fixed a few bugs arising from the switch to generic names.
2003-10-21 07:19:53 +00:00
Jeremy Fincher
0c93c8071f
Updated to use more generic command names.
2003-10-21 06:36:38 +00:00
Jeremy Fincher
e767feb20b
Updated to use generic command name and to require privilege for licensekey.
2003-10-21 06:35:15 +00:00
Jeremy Fincher
aee6579dc1
Still catching remnants of the FileLookup switch.
2003-10-21 06:31:57 +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
c4b838894d
Oops, didn't quite finish.
2003-10-21 05:29:39 +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
Jeremy Fincher
9ca4050b9b
Changed to use more generic names.
2003-10-21 04:50:03 +00:00
Jeremy Fincher
5bae246ad5
Made names more generic.
2003-10-21 04:44:44 +00:00
Jeremy Fincher
2b212bb37f
Changed to use more generic names.
2003-10-21 04:32:52 +00:00
Jeremy Fincher
1bd48bfad5
Changed names to be more generic/consistent.
2003-10-21 04:22:54 +00:00
Jeremy Fincher
3310e0cb3e
Converted to use generic command names.
2003-10-21 04:09:48 +00:00
Jeremy Fincher
62f371d848
Converted to use generic names.
2003-10-21 04:03:25 +00:00
Jeremy Fincher
26d41dac6e
Forgot to normalize in cases of type.method.
2003-10-21 03:22:29 +00:00
Jeremy Fincher
776bad5700
Fixed bug with pydoc logging.Logger.
2003-10-20 22:37:33 +00:00
Jeremy Fincher
e1eb6cff8e
Fix for bug #826612 .
2003-10-20 22:24:08 +00:00
Jeremy Fincher
4a8b627b2d
Added the outfilter command, great fun.
2003-10-20 21:15:06 +00:00
Jeremy Fincher
33e6bf3e7d
Removed the remainder of the Moobot plugin.
2003-10-20 20:26:27 +00:00
Daniel Berlin
f1e915b617
Add new bugzilla module
2003-10-20 19:56:17 +00:00
James Vega
ce88b052d0
Added @disablesfsnarfer and its test
2003-10-20 17:52:09 +00:00
James Vega
f6088d57d8
Uncomment the urllib import
...
Update the usage example
Fixed a couple bugs in debversion regarding number of arguments
2003-10-20 17:23:08 +00:00
James Vega
2117d660a2
Dropped an extraneous paren
2003-10-20 17:20:41 +00:00
Jeremy Fincher
c8fd603129
Added 'non-secret' to the 'isn't on any channels' response in relaywhois.
2003-10-20 11:43:57 +00:00
Jeremy Fincher
7180f8c4fc
Changed the name back to Lookup.
2003-10-20 11:39:48 +00:00
Jeremy Fincher
55ccb85542
Removed the syntax command; changed interface of callbacks.findCallbackForCommand to return a list of the matching callbacks; fix help to handle the prefixing of the plugin name.
2003-10-20 10:25:13 +00:00
Jeremy Fincher
112303af56
Updated jeffk.
2003-10-20 10:15:56 +00:00
Jeremy Fincher
173f99ca76
Updated jeffk.
2003-10-20 08:12:32 +00:00
Jeremy Fincher
4040b24dba
Oops, committed a failing test.
2003-10-20 08:00:56 +00:00
Jeremy Fincher
0ab3347567
Updated ChannelDB to use user ids instead of usernames.
2003-10-20 07:39:40 +00:00
Jeremy Fincher
0409c4f249
Added an example.
2003-10-20 06:59:53 +00:00
Jeremy Fincher
05d85147cb
Moved FreeBSD to the sandbox.
2003-10-20 06:53:47 +00:00
Jeremy Fincher
2d56e7257e
Made pydoc accept methods on builtin classes.
2003-10-20 06:43:59 +00:00
Jeremy Fincher
e760320ca0
Changed to use the repr of the last message.
2003-10-20 06:22:15 +00:00
Jeremy Fincher
c81170b362
Added a jeffk command.
2003-10-20 05:56:30 +00:00
Jeremy Fincher
3fb2795668
Moved the more useful Moobot commands to Fun.
2003-10-20 05:11:13 +00:00
Jeremy Fincher
53c37af8f6
Added an update to UptimesDB in __init__.
2003-10-20 03:44:10 +00:00
Jeremy Fincher
c9e6f77c3a
Restored the original conf.replyWhenNotCommand value on die().
2003-10-20 03:43:18 +00:00
Jeremy Fincher
7b8322d6fd
Changed the name back to News.
2003-10-19 21:10:56 +00:00
Jeremy Fincher
17e555c83d
Changed the name back to Google.
2003-10-19 21:04:35 +00:00
Jeremy Fincher
1eb2a387eb
Changed ChannelTopic back to Topic.
2003-10-19 15:48:44 +00:00
Jeremy Fincher
7f05bcf14b
Changed the Lookup plugin to be FileLookup instead.
2003-10-19 15:05:40 +00:00
Jeremy Fincher
4b4ae20155
Changed the Dict plugin to Dictionary.
2003-10-19 14:58:08 +00:00
Jeremy Fincher
08fa5e01a0
Changed the name of the FunCommands to Fun.
2003-10-19 14:53:34 +00:00
Jeremy Fincher
86b60e0669
Small stylistic/formatting changes.
2003-10-19 14:49:38 +00:00
Jeremy Fincher
487ac95d80
Fix for a few exceptions escaping, bug #826177 in partciular.
2003-10-19 14:47:29 +00:00
Jeremy Fincher
37b796ac74
Oops, forgot an 'or'.
2003-10-19 14:45:14 +00:00
James Vega
e1d1343055
Using utils.depluralize now instead of my previous hack
2003-10-18 14:21:03 +00:00
James Vega
29a3264126
Added more information to the snarfer and cleaned up the related tests.
2003-10-18 14:19:06 +00:00
Jeremy Fincher
aab016ddd1
Changed the name of the Google plugin to GoogleTools.
2003-10-18 13:25:12 +00:00
Jeremy Fincher
f92d03e3a3
Changed the name of the Topic plugin to ChannelTopic.
2003-10-18 13:14:57 +00:00
Jeremy Fincher
84fc2b1078
Changed the name of the News plugin to ChannelNews.
2003-10-18 13:04:29 +00:00
Jeremy Fincher
7ca40702bf
Changed the name of the IMDB plugin to Movies.
2003-10-18 12:59:46 +00:00
Jeremy Fincher
fa8fc4ab52
Fix for bug #825749 , improper relaying of relay of kicks.
2003-10-17 23:08:27 +00:00
Jeremy Fincher
9966fc72a9
Made Status update the uptimes database on every message.
2003-10-17 21:51:31 +00:00
James Vega
edab9e52b2
Added a scramble command and accompanying tests.
2003-10-17 17:03:25 +00:00
James Vega
6e728e74da
Improve the snarfer re so that index.php is not required
2003-10-17 14:26:33 +00:00
James Vega
3dac2d986e
Escape the .'s in the urls for the snarfer
2003-10-17 14:23:51 +00:00
James Vega
a2c6084fd9
Replaced the old-style irc.queuemsg with newer irc.error
2003-10-17 14:18:00 +00:00
James Vega
b2dd349235
Fixed all the #! lines to be consistent and a couple formatting issues with
...
the copyright
2003-10-16 14:53:42 +00:00
Jeremy Fincher
a6ddd4816c
Fixed the order of arguments on debversion and made it only do one package at a time.
2003-10-16 14:03:12 +00:00
Jeremy Fincher
d307421665
Added QUIT statkeeping.
2003-10-16 13:34:02 +00:00
Jeremy Fincher
b6185c4b33
Fixed problems with cpustats on Windows; at least now an error is reported.
2003-10-16 11:27:45 +00:00
Jeremy Fincher
d6faad6775
Added server reporting to the Relay.relaywhois command.
2003-10-16 10:58:31 +00:00
Daniel DiPaolo
a63ee1e304
* Decided to ditch the "_is_" syntax. I never liked it and implementing it
...
may prove to be difficult here. It may find its way back in, but there's no
point in having it in there now when it doesn't work right anyway.
2003-10-16 05:39:15 +00:00
Daniel DiPaolo
aee5c6c18e
* Finished up MoobotFactoids, I think. Added delete, augmentFactoids (foo is
...
also bar), and replaceFactoids (no foo is bar), as well as cleaning up some
of the regexps that were there (we allow spaces in the factoids, dummy!), and
also made the addFactoids regexp more accomodating to other phrases with the
word "is" in them :) Also, updated the tests for it, of course.
2003-10-16 05:27:01 +00:00
Daniel DiPaolo
ea024def78
* Fixed some quoting issues in list*. Adopted the practice of repr()'ing all
...
factoid keys before displaying them (idea stolen from searchfactoids in
Factoids). Also fixed them in the tests as well as adding a test to insure
that it's done right.
* Added the listkeys and listvalues commands.
2003-10-16 03:51:53 +00:00
James Vega
a428c6fc91
Add slightly better handling of de-pluralization
2003-10-16 02:42:47 +00:00
Daniel DiPaolo
ddfd7e10e1
* LOTS of updates to the MoobotFactoids test suite, parts of which aren't ready
...
yet, but the test targets should be pretty static from here on out, except
adding new tests.
* Fixed up lock and coded unlock in MoobotFactoids (actually, factored the
common code out into one helper function that each call).
* Added the changeFactoids (=~) portion.
* Changed the table structure again (should be the last time). Locked_by was
redundant if we're only going to let factoid creators lock/unlock. Removed
it.
2003-10-16 02:03:35 +00:00
James Vega
f567f36e4c
Fixed a bug with debfile so that it doesn't error out when there are no
...
arguments
2003-10-16 01:59:17 +00:00
Jeremy Fincher
ba9e9f4397
Max out the recorded uptimes at 50.
2003-10-15 06:25:32 +00:00
Jeremy Fincher
f987a6e69b
Removed several instances where it would raise exceptions the message after parting a channel.
2003-10-15 05:56:32 +00:00
Jeremy Fincher
bd7f1f9389
Fixed the snarfer to allow https links.
2003-10-15 05:37:21 +00:00
Jeremy Fincher
b6fb71d5a5
Added one minor thing so *all* unexpired news items aren't shown.
2003-10-15 05:30:02 +00:00
Jeremy Fincher
5be65f1caf
Added changenews and oldnews.
2003-10-15 05:25:26 +00:00
Daniel DiPaolo
41f1cddbcf
* Fixed INSERT query in addFactoids to mirror the changes made in the table
...
structure a few revisions back (oops)
2003-10-14 16:00:50 +00:00
Jeremy Fincher
0064748d68
Whoa, that was some old code -- written before IrcMsg had an __len__, apparently.
2003-10-14 06:41:52 +00:00
Jeremy Fincher
79ea3b1363
Moved bestuptime over to the Status plugin.
2003-10-14 06:39:31 +00:00
Jeremy Fincher
e4c64ec2ca
Made *everything* case-insensitive.
2003-10-14 05:54:11 +00:00
Jeremy Fincher
8fd6a094de
Made the help for wtf more descriptive.
2003-10-14 02:31:44 +00:00
Daniel DiPaolo
3ae813674e
* adding MoobotFactoids stuff as per jemfinch's request - though it's not quite
...
done yet
2003-10-13 21:22:16 +00:00
Jeremy Fincher
f706191201
Added test for rpn 2 degrees and fixed rpn to pass it.
2003-10-13 04:54:57 +00:00
Jeremy Fincher
6c3e193b93
Fixed bug found by G-LiTe and added a test.
2003-10-13 03:47:33 +00:00
James Vega
84f931bb9f
Lots of pylint cleanups
2003-10-11 21:03:02 +00:00
James Vega
2acf59d781
Added a urlsnarfer and the appropriate tests
2003-10-11 20:52:35 +00:00