Jeremy Fincher
915ab813c6
Wow, this was some of the most broken code EVAR.
2004-09-10 07:28:07 +00:00
James Vega
56cf248302
If we're never normal, we shouldn't try to say we are.
2004-09-10 07:17:53 +00:00
Jeremy Fincher
8edb880af0
Initial checkin.
2004-09-10 07:02:21 +00:00
Jeremy Fincher
eb9bd70599
Updated to use the new plugin ordering method.
2004-09-10 06:36:27 +00:00
Jeremy Fincher
95877b2d53
This should work somewhat.
2004-09-10 06:26:46 +00:00
Jeremy Fincher
5589ffdea3
Slight help update.
2004-09-10 06:25:38 +00:00
Jeremy Fincher
ff957f8952
Added an XXX.
2004-09-10 06:25:05 +00:00
Jeremy Fincher
9fa465ce09
Changed action to do; it's more consistent with 'say' (rather than 'privmsg') and MozBot's similar plugin.
2004-09-10 06:24:30 +00:00
James Vega
c1a0304724
Gotta have ourself if we want to be called.
2004-09-10 01:36:55 +00:00
Daniel DiPaolo
0f89737c16
Whoops, forgot an arg to the string formatting
2004-09-09 21:18:57 +00:00
Jeremy Fincher
1745e091f6
Initial checkin; it doesn't work, but some people might like to look at it.
2004-09-09 19:13:32 +00:00
James Vega
9b5f945d28
I was brain-dead when I committed this last time.
2004-09-09 16:27:18 +00:00
Jeremy Fincher
91101978d5
Added IrcMsg attribute tagging, and used it in some places.
2004-09-09 15:33:57 +00:00
James Vega
3986f24dad
Implement patch #1023620 , Handling of international Google Groups snarfing
2004-09-09 14:04:44 +00:00
James Vega
b76ed61d5b
Privmsg, not PrivmsgCommand
2004-09-09 00:12:44 +00:00
James Vega
ddfa5e8d32
Added patch #1024088 , better handling of various Ebay URLs.
2004-09-08 23:44:39 +00:00
Jeremy Fincher
ee70224aa3
Changed callCommand to give a name rather than a method; added invalidCommand throttling, ctcp throttling, and whole bunch of other crap.
2004-09-08 23:34:48 +00:00
James Vega
3848ca4aa5
fix another irc.queueMsg -> irc.reply where we needed prefixName=False
2004-09-08 23:23:25 +00:00
Jeremy Fincher
383f40e55a
Removed an old debugging print.
2004-09-08 22:57:39 +00:00
Jeremy Fincher
858e9e4886
Some slight fixes.
2004-09-08 22:57:09 +00:00
Jeremy Fincher
a9cf06ebca
Updated the docstring.
2004-09-08 22:56:55 +00:00
James Vega
30d36aae1f
Add support for multi-word karmas
2004-09-07 20:28:24 +00:00
James Vega
c77daeac5c
We didn't used to prefixName, so let's stay that way.
2004-09-07 19:58:24 +00:00
Kevin Murphy
b56ae0cadb
Created Geekquote plugin
...
Moved Geekquote (geekquote, geekSnarfer) functionality from Http plugin to Geekquote plugin
2004-09-07 18:16:55 +00:00
James Vega
d92bf5ec46
configure method was missing it's conf.register...
2004-09-07 14:59:11 +00:00
James Vega
382fb2b838
Our #! path should be /usr/bin/env python
2004-09-07 14:31:06 +00:00
James Vega
b51f753b11
Let's give the user the option to get only a Bender or Fry quote.
2004-09-07 14:30:35 +00:00
James Vega
ac27c8e95a
Change Http.bender to Http.futurama and add support for X-Fry headers.
2004-09-07 14:07:43 +00:00
Grant Bowman
a96229de1c
On second thought (thanks jemfinch) making insults to channels without
...
knowing who is insulting can be used dangerously. In practice I have
seen this command only used among friends or when someone is bored and
wants to see the random string produced.
2004-09-06 17:54:44 +00:00
Jeremy Fincher
26bb2335f3
Fix for attributeError I ran into, as well as a premature commit of a name change (but since it's just a name change, I'm fine with it).
2004-09-06 08:44:45 +00:00
Jeremy Fincher
2db0cd197c
Fixed bug #1021631 .
2004-09-06 08:42:00 +00:00
Jeremy Fincher
28b05cffcf
This, also, is just plain super.
2004-09-06 08:10:49 +00:00
Jeremy Fincher
975b2806a2
This is just super.
2004-09-06 08:09:08 +00:00
Jeremy Fincher
386a23090b
Elucidation.
2004-09-06 08:08:42 +00:00
Jeremy Fincher
f4f25ef72c
Added abs to the calc command.
2004-09-06 08:07:54 +00:00
James Vega
35b8fdeae3
Add a conf.supybot.plugins.Sourceforge.bold and setup @bugs, @rfes, and @patches to use it.
2004-09-06 01:32:45 +00:00
James Vega
c4b2d53468
We shouldn't confirm for alsos. Add some more ends and add starts. Also,
...
move the sqlite import inside of SqliteInfobotDB
2004-09-05 22:57:15 +00:00
Daniel DiPaolo
ebb7becd4f
Spankin' new abstraction!
2004-09-05 17:29:22 +00:00
Grant Bowman
06ce162bd4
Improvements based on plugins/FunDB.py's insult command.
2004-09-05 02:56:16 +00:00
James Vega
6c6da438a1
Missing space
2004-09-04 05:52:07 +00:00
James Vega
977a33a43f
Properly added and abstracted trackers commands
2004-09-04 05:51:30 +00:00
Grant Bowman
d98de454b9
After talking to jemfinch today, this is the first checkin. All comments
...
from the @tracker 1012031 were addressed.
The old style __author__ field was used and no __contributors__
(like myself) were added since I don't think the new system is
checked in to CVS yet.
I wanted to write a test suite as well but I didn't get to it today.
2004-09-04 03:14:13 +00:00
James Vega
553a61515c
Consolidate @bugs, @rfes into @trackers and add support for retrieving info
...
on patches. Add (commented out) infrastructure for supporting usage of
@bugs, @rfes, and @trackers depending on the value of a config var.
2004-09-03 19:46:50 +00:00
James Vega
5f00a39ce4
Update to proper super() usage and make sure we're not trying to close() None
2004-09-03 19:12:05 +00:00
James Vega
99a1da950b
Revert most of jemfinch's changes (he hadn't meant to commit them) and
...
fix my handling of the db in SqliteInfobotDB
2004-09-03 13:55:03 +00:00
James Vega
75dc3e804a
_getId needs the irc object if it's going to use it
2004-09-03 13:42:57 +00:00
Jeremy Fincher
41117c431e
Fixed bug #1020820 .
2004-09-02 04:06:20 +00:00
Jeremy Fincher
012487b920
Fix bug #1020519 .
2004-09-01 21:32:43 +00:00
James Vega
3aafc97a7f
Catch a KeyError when trying to remove a non-existent herald.
2004-09-01 18:51:32 +00:00
James Vega
adedfb8274
It helps if I register things correctly
2004-09-01 18:24:59 +00:00
James Vega
84a7026367
Add stripFormatting option (default True)
2004-09-01 18:15:57 +00:00
Grant Bowman
52ee0919db
One line bug fix.
2004-09-01 17:47:32 +00:00
Jeremy Fincher
4e2be3a6a3
Use reply instead of queueMsg where possible.
2004-09-01 12:37:07 +00:00
Jeremy Fincher
e4f361d7ca
Forgot an import.
2004-09-01 11:48:00 +00:00
Jeremy Fincher
1b4c1f068a
Fix for bug with some anydbms.
2004-09-01 11:17:36 +00:00
Jeremy Fincher
f21d6c71b2
Let's make sure we use reply.
2004-09-01 10:57:17 +00:00
Jeremy Fincher
6afd74d3ad
This shouldn't ignore.
2004-09-01 06:23:05 +00:00
Jeremy Fincher
3db2904ed0
Updated for new authors abstraction (single points of control are good).
2004-09-01 06:06:54 +00:00
Jeremy Fincher
82791571c1
Fixed some bugs in some callCommands, as well as used some super calls where before we did it the wrong way.
2004-09-01 04:55:08 +00:00
Jeremy Fincher
7c3092ac94
Changed info to stats.
2004-08-31 20:22:57 +00:00
Jeremy Fincher
6890baa787
Changed equalWeight to equal and augmented the descriptions.
2004-08-31 19:32:38 +00:00
Jeremy Fincher
029218b56e
Only allow numeric ids.
2004-08-31 19:28:43 +00:00
Jeremy Fincher
9efe550b52
Changed some nick != othernick to not ircutils.strEqual.
2004-08-31 19:19:31 +00:00
Jeremy Fincher
bad2bb12f2
Changed a warning to an info.
2004-08-31 19:16:20 +00:00
Jeremy Fincher
ead683b269
Can't define an empty word.
2004-08-31 18:23:47 +00:00
Jeremy Fincher
86c7743fc9
Fixed some == tests on nicks (became ircutils.strEqual).
2004-08-31 17:23:33 +00:00
Jeremy Fincher
ed71df8655
Fix for bug #1019392 .
2004-08-31 16:35:42 +00:00
James Vega
bb4d3cda49
Add a couple more options to supybot.unix.fortune
2004-08-31 16:20:01 +00:00
Jeremy Fincher
53c951cc04
Allow multiple fortune files.
2004-08-31 15:53:57 +00:00
Jeremy Fincher
7ede876aaa
Added extra note about fortune's stupidity.
2004-08-31 15:49:20 +00:00
Jeremy Fincher
58ce7c2141
Modernized.
2004-08-31 15:24:54 +00:00
James Vega
85acfacf5d
bash.org changed their URL format a little
2004-08-31 15:14:05 +00:00
Jeremy Fincher
65c739d706
Reverted to the old tld mechanism since our regexps depend on English.
2004-08-31 14:45:26 +00:00
Jeremy Fincher
1f9979073c
Made info persistent as well as allowed reloading without resetting the license key.
2004-08-31 14:45:01 +00:00
James Vega
5a43c3718b
That was a nasty bug and a stupid mistake on my part\.
2004-08-31 13:19:44 +00:00
Jeremy Fincher
6985fe3803
Don't send empty queries.
2004-08-31 05:53:05 +00:00
Jeremy Fincher
e138211f9b
Bugfixes and a test.
2004-08-30 21:46:04 +00:00
Jeremy Fincher
86106460d6
Accepted Grantbow's suggestion.
2004-08-30 04:13:31 +00:00
Jeremy Fincher
70a9fdb6b6
Accepted Grantbow's suggestion.
2004-08-30 03:33:46 +00:00
James Vega
a7379fe538
I should've run the tests earlier. Now adding the inital values to the db
...
actually works.
2004-08-30 02:03:38 +00:00
James Vega
9b00751ce0
We must use our internal reply() method if we're going to keep track of whether
...
we've already replied.
2004-08-30 00:56:00 +00:00
James Vega
9fe9e142c5
Fix the problem with configure() mangling the nick
2004-08-29 20:49:03 +00:00
James Vega
d7d1c42ebc
Abstract registerNick and update configure() to use the abstraction
2004-08-29 20:33:07 +00:00
James Vega
b111642379
Let's properly mimic Infobot's stats command and add some initial items to
...
a freshly created db.
2004-08-29 17:05:14 +00:00
Jeremy Fincher
0c97cb488f
debug log access level required from chanserv as well as some elucidating comments.
2004-08-29 15:56:43 +00:00
Jeremy Fincher
4609557b36
Add a period.
2004-08-29 07:13:00 +00:00
James Vega
78b9d0b47d
Fix the auctionSnarfer regexp to be more generic and stop logging bad snarfs
...
as an exception. Warning is good enough.
2004-08-29 02:13:00 +00:00
James Vega
164f57a01b
Add Anonymous.action as requested by malex
2004-08-28 23:52:48 +00:00
James Vega
23332315c9
Let's do this a slightly better way that I saw in one of the src/ files
2004-08-28 22:46:12 +00:00
James Vega
b6d28d7560
Let's avoid an assertion error by making sure we don't use empty msg's
2004-08-28 21:12:44 +00:00
James Vega
0349d11853
Hopefully, this will fix the unicode issues we have with Amazon
2004-08-28 20:42:37 +00:00
Jeremy Fincher
bd0d438234
*Actually* not queue things on zombies now.
2004-08-28 20:13:59 +00:00
James Vega
570b3024c2
Should fix a reported bug. I guess db isn't always iterable.
2004-08-28 20:12:51 +00:00
Jeremy Fincher
a30dd2d8de
Initial checkin.
2004-08-28 05:26:07 +00:00
James Vega
fec25b7ee2
Remove some unnecessary regexps
2004-08-28 01:33:32 +00:00
Jeremy Fincher
e11baf35b1
Stopped logging this at level warning, instead use debug.
2004-08-27 23:44:57 +00:00
James Vega
b40fc68673
Fix PySqlite stupidity.
2004-08-27 20:25:30 +00:00
James Vega
ba2fa6b749
Use BeautifulSoup to fix Debian.version
2004-08-27 20:02:09 +00:00
James Vega
a68f8cabfe
We are so smart! S-M-R-T!
2004-08-27 17:20:15 +00:00
James Vega
b2b0e26e59
Let's ignore things that look like karma adjustments
2004-08-27 16:05:33 +00:00
James Vega
94c43c5040
I like the looks of these regexps better and alternation is expensive
2004-08-27 16:05:07 +00:00
Jeremy Fincher
9a7c64a359
Added clear command.
2004-08-27 15:26:52 +00:00
Jeremy Fincher
ca492afd38
Fix for the TypeError bug.
2004-08-27 15:01:28 +00:00
Jeremy Fincher
685eda4a9f
Don't try to send messages to zombies.
2004-08-27 08:46:29 +00:00
Jeremy Fincher
c38ca4dec1
Added redo.
2004-08-27 08:44:20 +00:00
Jeremy Fincher
9e970274fb
Debug log already opped messages.
2004-08-27 07:14:08 +00:00
Jeremy Fincher
7e22b2b78d
Added swap.
2004-08-27 07:06:59 +00:00
James Vega
29a6c92b76
Added an optional pair to start the chain, tests, and caught some errors.
2004-08-27 06:34:48 +00:00
Jeremy Fincher
4c0e8980a3
Let's debug log a 'Registered channel' message from ChanServ.
2004-08-27 06:20:42 +00:00
Jeremy Fincher
c0b3c930fb
Not-so-elucidating comment.
2004-08-27 05:04:25 +00:00
Jeremy Fincher
db23f4e4b5
Added sorcerynet support and refactored some other support.
2004-08-27 04:28:36 +00:00
Brett Kelly
df5c1b4f79
Testing security
2004-08-26 07:42:58 +00:00
Jeremy Fincher
d5aa3a6e90
Updated configure function to new format.
2004-08-26 06:35:33 +00:00
Jeremy Fincher
7cb54def63
An attepmt to be reloadable.
2004-08-25 23:05:36 +00:00
Jeremy Fincher
1d3a332769
Fix for dunno bugz0rs.
2004-08-25 22:22:46 +00:00
James Vega
85355f5da7
We have to unAction or we get ugly replies
2004-08-25 19:35:03 +00:00
James Vega
ba7b018078
gotta explicitly split on ' ' since we use \n as a delimiter
2004-08-25 19:13:35 +00:00
James Vega
3635c654ef
Fix a bug with adding lasts. Add some elucidating (as jemfinch would put it)
...
documentation. Modify the behavior of DbmMarkovDB.firsts and .lasts so
they only report unique entries since this is how we used to behave. We'll
still keep duplicate entries in the db because it affects randomness.
2004-08-25 18:54:21 +00:00
James Vega
fbc1b04cae
Markov *finally* works again. Yay!
2004-08-25 18:15:09 +00:00
Jeremy Fincher
3313080eef
Fixed bug #1015151 .
2004-08-25 17:32:49 +00:00
James Vega
e0c5dbae43
gotta stop being so greedy. it's not fair for everyone else
2004-08-25 16:42:54 +00:00
Jeremy Fincher
92b0d6da1f
Added the unban and invite commands, as well as a better framework for detecting when a channel can't be joined and handling it.
2004-08-25 04:06:59 +00:00
Jeremy Fincher
0143a41e4f
Changed the topic command to be topic.set-with-no-number.
2004-08-24 23:06:16 +00:00
Jeremy Fincher
30f93fdc8f
Added the Topic.default command.
2004-08-24 23:00:48 +00:00
Jeremy Fincher
151d3b7571
Topic.undo.
2004-08-24 22:48:56 +00:00
Jeremy Fincher
ad578a3d0b
RecognizeTopiclen.
2004-08-24 22:25:43 +00:00
Jeremy Fincher
18dce894a5
Refactoring, added set, topic, and insert.
2004-08-24 22:03:13 +00:00
Jeremy Fincher
96c5cd392e
Changed getops to op, added voice.
2004-08-24 14:11:12 +00:00
Jeremy Fincher
9f14d126ce
Let's notice when we can't change the topic.
2004-08-24 14:06:19 +00:00
James Vega
752ae6325e
Fix for bug #1015159
2004-08-24 12:49:57 +00:00
Jeremy Fincher
e32fe3b0c5
Typos.
2004-08-24 12:10:18 +00:00
Jeremy Fincher
dccf91c855
Fix for RFE #1012383 , RSS shouldn't announce announced feeds right after startup.
2004-08-24 04:47:34 +00:00
Jeremy Fincher
0acec85fcb
Added some caching to the read/notified ids. Eventually, I imagine, this should be generically done via dbi.py.
2004-08-24 04:05:55 +00:00
Grant Bowman
f208939323
Added URL to original Mozbot code per MPL 3.3.
...
Original developer names are absent from the file itself.
Sorry about the line length, but the URL is over 80 chars alone with
or without the spacing.
2004-08-23 23:56:29 +00:00
Jeremy Fincher
868a6684af
Removed logfile command, no one uses it and it's an information leak (channel logfiles).
2004-08-23 21:35:43 +00:00
Jeremy Fincher
eccb7bacdb
Added good error handling in the case that there is no words file.
2004-08-23 20:17:59 +00:00
Jeremy Fincher
25b21895d9
Better.
2004-08-23 20:13:34 +00:00
Jeremy Fincher
5861a5e07c
Changed totalbugs/totalrfes to a single total command.
2004-08-23 19:53:29 +00:00
James Vega
edecd51fc1
It's handy to translate the user id to a name.
2004-08-23 19:23:01 +00:00
Daniel DiPaolo
bfd4a9f492
Fixed a stupid error message. ( Closes : #1009681 )
2004-08-23 19:08:18 +00:00
Grant Bowman
c05cc2397d
Cleanup.
2004-08-23 18:08:21 +00:00
James Vega
852388e8b7
Being able to send a note using the person's current nick instead of needing
...
to know their ircdb user name is good
2004-08-23 17:36:00 +00:00
Jeremy Fincher
b3ca5ed568
Updated the help for nickometer.
2004-08-23 16:16:13 +00:00
Jeremy Fincher
8f47f0bb0d
Updated the documentaiton.
2004-08-23 16:15:41 +00:00
James Vega
96754b8f4b
Add $today as advertised in Utilities.echo
2004-08-23 14:01:57 +00:00
Jeremy Fincher
fbb348b6e7
Copyright updates. Again, more is left to be done, but this is my part.
2004-08-23 13:14:06 +00:00
Jeremy Fincher
c0386751cf
Moved the connect and disconnect commands to the Owner plugin from the Relay plugin.
2004-08-23 12:34:16 +00:00
Jeremy Fincher
b3ddef0105
Style updates, basically, and some slight functionality changes.
2004-08-23 12:23:21 +00:00
Jeremy Fincher
2c05cac06d
Fix the __authors__/__contributors__ thing.
2004-08-23 12:16:22 +00:00
Grant Bowman
992cbb91ee
Upgrade of Fun's eightball command ported from Tellbot, previously
...
ported from Mozbot's MagicEightBall.bm module.
2004-08-23 06:51:18 +00:00
Jeremy Fincher
5390e58176
Let's notice by default.
2004-08-22 20:45:05 +00:00
Jeremy Fincher
ae048d977a
Let's not bother getting database if it's not a channel. Good call.
2004-08-22 18:58:28 +00:00
Jeremy Fincher
02cd153e3d
Blech. I should reverse the arguments of makeChannelFilename officially, because I keep messing them up.
2004-08-22 15:04:11 +00:00
Jeremy Fincher
f18f5a7bc2
Typo.
2004-08-22 08:17:19 +00:00
Jeremy Fincher
091ff90cfb
Added day and monthname.
2004-08-22 08:06:39 +00:00
Jeremy Fincher
4a36ef95ec
Let's make sure is always in the string.
2004-08-21 09:49:45 +00:00
Jeremy Fincher
e9c59b1426
Added punishment of other attempting relay bots.
2004-08-21 08:43:47 +00:00
Jeremy Fincher
5bb43126a6
Changed colorized to color to be consistent with other plugins.
2004-08-21 07:35:45 +00:00
Jeremy Fincher
0e9a7a7057
New implementation of formatting; dropped unformatting entirely.
2004-08-21 07:30:39 +00:00
Jeremy Fincher
247f8f4cc6
Using utils.stackTrace now that it has a compact option.
2004-08-21 07:29:33 +00:00
Jeremy Fincher
3bacc7d0b7
Attempt to document a bit better.
2004-08-21 07:29:11 +00:00
Jeremy Fincher
49c3f0c6f7
Better error messages and help.
2004-08-21 07:27:35 +00:00
Jeremy Fincher
8a9ca0bb06
New implementation of standardSubstitute.
2004-08-21 02:50:54 +00:00
Jeremy Fincher
df1a964a0f
standardSubstitute on the default herald.
2004-08-20 23:26:54 +00:00
Jeremy Fincher
aa40c90737
Added networks command.
2004-08-20 22:32:48 +00:00
Jeremy Fincher
452f23946d
Changed defaultHerald to default (now that channel values can have children) and added a public boolean for the default herald.
2004-08-20 22:27:29 +00:00
James Vega
eb60864c51
Money is a float not an int. Also, uber simplify Currency.yahoo since they
...
provide a csv file. Yay, no html parsing!
2004-08-20 19:07:51 +00:00
Jeremy Fincher
eb23fa3b14
Fixed some space problems in Google.calc.
2004-08-20 18:01:36 +00:00
Jeremy Fincher
71c752a7fb
Added bender, fixed bugs.
2004-08-20 17:20:52 +00:00
Jeremy Fincher
a904f0e8d2
Oops, didn't think about daemons.
2004-08-20 15:26:03 +00:00
Jeremy Fincher
852e1dcb56
Fix0red.
2004-08-20 06:52:45 +00:00
Jeremy Fincher
5c30fe221c
Added mroth's noJoinsUntilIdentified.
2004-08-20 06:38:43 +00:00
Jeremy Fincher
e97d866421
Removed one hack, added another, though I believe we have a net gain (and the hacks are completely unrelated, incidentally).
2004-08-20 06:22:33 +00:00
Jeremy Fincher
fd959370a1
Changed default for cycleToGetOps.
2004-08-20 05:29:58 +00:00
Jeremy Fincher
403afe653a
Reversed the arguments to makeChannelFilename.
2004-08-20 05:14:34 +00:00
James Vega
102188d568
utils.nItemsify
2004-08-20 04:10:32 +00:00
Jeremy Fincher
d86ebf4e7f
Updated calc.
2004-08-20 04:08:00 +00:00
Jeremy Fincher
cf124a2f2b
mroth's google calc.
2004-08-20 03:55:27 +00:00
James Vega
54995c84bc
Yahoo does some funky stuff when you try to convert *large* numbers *cough*Vee*cough*
2004-08-19 22:47:30 +00:00
Jeremy Fincher
5be0b319a4
Bugfix.
2004-08-19 18:16:24 +00:00
James Vega
fa84b0c87c
Switchamabob
2004-08-19 17:57:55 +00:00
Jeremy Fincher
bfcff00380
s is not equal to newS.
2004-08-19 17:01:04 +00:00
Jeremy Fincher
268c317fa3
Let's make this private.
2004-08-19 16:56:58 +00:00
Jeremy Fincher
e6fb52e565
perlReToReplacer.
2004-08-19 16:53:41 +00:00
Jeremy Fincher
cc4b76a8f3
Updated to allow configuration for multiple nicks as well as to use conf.supybot.nick() by default.
2004-08-19 16:51:18 +00:00
Jeremy Fincher
f8d223095a
Updated to rock more.
2004-08-19 15:59:15 +00:00
Jeremy Fincher
9a4a6adc8a
Forgotten imports.
2004-08-19 13:57:15 +00:00
Jeremy Fincher
13cca25702
Initial checkin.
2004-08-19 13:49:27 +00:00
Jeremy Fincher
d36459ab0b
More spelling/capitalization normalization.
2004-08-19 13:33:34 +00:00
Jeremy Fincher
501b642796
Some extra periods.
2004-08-19 12:19:18 +00:00
Jeremy Fincher
4348b41178
Style updates.
2004-08-19 12:16:52 +00:00
Jeremy Fincher
e11ced5f00
Capitalize supybot.
2004-08-19 12:12:38 +00:00
Jeremy Fincher
17ca364350
Normalized our 'take no arguments' strings.
2004-08-19 11:58:17 +00:00
Grant Bowman
3036e5b206
Updated help text of supybot.plugins.Bugzilla.bugSnarfer to reflect
...
both URL and bug ### features.
2004-08-19 05:33:15 +00:00
Grant Bowman
4c459c3a72
Bugzilla.py enhancement to allow snarfing "bug ###".
...
new config variable: supybot.plugins.Bugzilla.snarfTarget
Uses existing supybot.plugins.Bugzilla.bugSnarfer boolean for activation.
Includes update to test_Bugzilla.py.
Developed by Mike Taylor and I.
2004-08-19 05:29:56 +00:00
Jeremy Fincher
0f598271dc
Speeling fixes.
2004-08-18 23:15:27 +00:00
Jeremy Fincher
b04f6166a3
Code cleanup.
2004-08-18 20:30:06 +00:00
Jeremy Fincher
dadc37149f
Another typo.
2004-08-18 20:08:51 +00:00
James Vega
bb36f4877f
If wunderground finds multiple locations, let's return the results for the
...
first location they list. Also, default Weather.weather to Weather.wunder
2004-08-18 19:32:15 +00:00
Jeremy Fincher
2e8bd9a012
Oops, typo.
2004-08-18 19:03:44 +00:00
Jeremy Fincher
820c6e8e29
Refactoring for improved handling of errors later.
2004-08-18 18:55:54 +00:00
Jeremy Fincher
cd9ad40591
Let's reorder this, in case it matters sometime.
2004-08-18 18:45:52 +00:00
Jeremy Fincher
e9142dc880
Style cleanups, some refactoring.
2004-08-18 18:45:02 +00:00
Daniel DiPaolo
85cbffc5dd
Tyop.
2004-08-18 18:44:18 +00:00
Jeremy Fincher
a1a4a7705b
Let's name the workqueue.
2004-08-18 18:43:03 +00:00
Jeremy Fincher
3c866dcee3
Updated help string.
2004-08-18 18:42:01 +00:00
Jeremy Fincher
662a8cccc2
Default dictionary support.
2004-08-18 18:37:59 +00:00
Jeremy Fincher
b876d792e0
Fix for ugly documentation.
2004-08-18 16:12:27 +00:00
Jeremy Fincher
2be2b4e29f
ly
2004-08-17 21:00:55 +00:00
Jeremy Fincher
44d9fbe02e
Added wildcard support.
2004-08-17 20:59:42 +00:00
Jeremy Fincher
1290d2e3eb
Added profiling information as well as the threads command.
2004-08-17 20:28:00 +00:00
James Vega
72f36efc18
Fix some problems in Infobot.py's sqlite implementation and genericize
...
some other errors to better fit in with db abstraction
2004-08-17 20:01:23 +00:00
Jeremy Fincher
0bdbae6e47
Make sure the MarkovWorkQueue dies.
2004-08-17 16:18:59 +00:00
Jeremy Fincher
451e083aec
Updated.
2004-08-17 15:41:19 +00:00
Jeremy Fincher
fe139ce79b
Immense improvements to recapturing nick.
2004-08-17 08:29:08 +00:00
James Vega
c7170240f2
Unused import
2004-08-17 05:45:47 +00:00
James Vega
ff8edb48fe
Abstract Infobot's DB and default to SqliteInfobotDB over PickleInfobotDB
2004-08-17 05:16:28 +00:00
James Vega
2ad62c502a
Add conf.supybot.plugins.Quotes.requireRegistration and fix a bug with
...
Quotes.random
2004-08-17 03:45:30 +00:00
James Vega
0ee2ff4fbb
De-uglified urllib2.URLErrors and cleaned up a couple blocks in plugins/Http.py
2004-08-17 02:52:40 +00:00
James Vega
4a8e60b087
Add showLinks config variable and remove an unnecessary utils.htmlToText
2004-08-17 02:01:26 +00:00
James Vega
5c32fc3e17
I guess not all items have titles
2004-08-17 01:12:51 +00:00
Jeremy Fincher
3d03d6fd9f
Allow notes to be auto-sent.
2004-08-16 22:43:10 +00:00
Jeremy Fincher
0f14557342
Typo.
2004-08-16 21:32:32 +00:00
Jeremy Fincher
3bd1e009fa
Lower the priority, so other snarfers run first.
2004-08-16 18:46:13 +00:00
James Vega
46c71a7521
Add dbi.NoRecordError and update Quotes to use it
2004-08-16 17:34:58 +00:00
James Vega
57c2f263f9
Fix broken Quotes.info and improve Quotes.search by passing the predicate
...
to QuotesDB.search instead of the regexp.
2004-08-16 16:36:18 +00:00
James Vega
1a6754a307
Http.cyborg now uses the user's nick if non is specified
2004-08-16 04:48:35 +00:00
James Vega
176c71b6a9
Fix Currency.xe. Also, some slight reply cleanups and default Currency.currency
...
to use Currency.yahoo
2004-08-16 03:34:36 +00:00
Jeremy Fincher
60a0810b97
Added change command.
2004-08-15 18:38:07 +00:00
Grant Bowman
7f9a95d50b
Updated docstring for def rfes method to give Request For Enhancement acronym.
2004-08-13 15:33:58 +00:00
Jeremy Fincher
31b1bdfcc8
Changed an info log to a debug log.
2004-08-13 12:31:38 +00:00
James Vega
c2d5ac56ce
Updated for database independence
2004-08-13 03:50:38 +00:00
Jeremy Fincher
f45c3f5923
Default to msg.nick.
2004-08-12 18:53:11 +00:00
James Vega
25858a7c00
Some slight adjustments brought about by investigating Bug #1002363
2004-08-12 14:15:27 +00:00
Jeremy Fincher
a1a703df32
Let's go to repr. Beware, people, this may invalidate certain databases.
2004-08-12 07:41:05 +00:00
Jeremy Fincher
1c69d9746c
No notes to self.
2004-08-12 07:40:11 +00:00
Jeremy Fincher
d64bc77b5a
Testing remotely blows.
2004-08-11 23:40:56 +00:00
Jeremy Fincher
7f1c57c388
Testing remotely blows.
2004-08-11 23:37:41 +00:00
Jeremy Fincher
a6f03fa33a
Updated as a precursor to making it database-independent.
2004-08-11 23:35:11 +00:00
Jeremy Fincher
3af85f301b
Updated as a precursor to making it database-independent.
2004-08-11 23:31:18 +00:00
Jeremy Fincher
985eb7beee
Updated as a precursor to making it database-independent.
2004-08-11 23:28:45 +00:00
Jeremy Fincher
a9ab89664c
Moved logfilesize to Status.
2004-08-11 17:04:57 +00:00
Jeremy Fincher
58e40a81bc
Small type change.
2004-08-11 17:04:08 +00:00
Jeremy Fincher
0768ce1c85
Converted to use dbi.
2004-08-11 06:17:11 +00:00
Jeremy Fincher
ab29dbb479
Removed useless DunnoDBInterface.
2004-08-11 05:50:53 +00:00
Jeremy Fincher
c941521ba0
Converted to use dbi.
2004-08-11 05:48:28 +00:00
Jeremy Fincher
e5e98fdc2f
Initial checkin.
2004-08-11 05:14:15 +00:00
Jeremy Fincher
759f38f8e0
Use makeChannelFilename.
2004-08-11 05:00:09 +00:00
Jeremy Fincher
92a04920cb
Added a bit more flushing.
2004-08-11 04:57:55 +00:00
Jeremy Fincher
9ceb89c254
Dumb, error.
2004-08-10 15:45:26 +00:00
Jeremy Fincher
1b10c0ad26
Only write the file if we're monitoring words.
2004-08-10 15:45:03 +00:00
Jeremy Fincher
532ac414a0
Added includeNetwork.
2004-08-10 15:40:21 +00:00
Jeremy Fincher
e908b14c64
Added a field command.
2004-08-10 15:24:01 +00:00
Jeremy Fincher
245c77d69b
Made the maximum length configurable.
2004-08-10 08:09:25 +00:00
Jeremy Fincher
ad0ffd2752
Let's make sure people can't run levenshtein (an O(n**3) algorithm) on large inputs. I gave it to lambdaman almost 10 minutes ago and it's still not finished.
2004-08-10 07:42:38 +00:00
Jeremy Fincher
a39ad7b801
Changed info logs to debug logs.
2004-08-10 06:14:31 +00:00
Jeremy Fincher
4e92a0d0dd
No => Neutral.
2004-08-09 15:04:52 +00:00
Jeremy Fincher
f19c98a8f1
Extra space zapped\!
2004-08-08 19:34:15 +00:00
Jeremy Fincher
efc34691bf
Added Note.reply).
2004-08-08 16:50:09 +00:00
Jeremy Fincher
52cbec4838
Fixed some bugs with note orders, etc.
2004-08-07 00:48:03 +00:00
Jeremy Fincher
ec16cf9622
New implementation using FlatfileDB.
2004-08-07 00:41:55 +00:00
Jeremy Fincher
a59ba2563d
Bugzor fix0red.
2004-08-06 17:37:28 +00:00
Jeremy Fincher
efc095fcc6
Broke user and last commands off.
2004-08-06 17:35:00 +00:00
James Vega
a290f4bff5
Excuses are gone
2004-08-06 12:41:07 +00:00
Jeremy Fincher
3a916b2486
Updated to allow a dirname, so I can use it later for ChannelLogger.
2004-08-06 11:29:51 +00:00
Jeremy Fincher
542a9a8193
Not die, close. Close, not die.
2004-08-06 11:23:25 +00:00
Jeremy Fincher
42bd2d42ae
Updated to use FlatfileDB.
2004-08-06 11:16:05 +00:00
Jeremy Fincher
8a835a0b15
Removed configure and added a class docstring.
2004-08-06 09:52:36 +00:00
James Vega
04d0e5f667
Infobot is looking pretty complete!
2004-08-06 02:42:20 +00:00
James Vega
2952ed4d07
Make sure we don't start a game if the file doesn't exist. Also, complete
...
sentences are nice to have.
2004-08-06 02:01:35 +00:00
James Vega
5728974ea2
We only want to hide/count characters in string.ascii_lowercase
2004-08-05 20:29:20 +00:00
Jeremy Fincher
d134a2d9ac
Updated to use webutils throughout.
2004-08-05 18:29:26 +00:00
Jeremy Fincher
667b5ff0b7
Extra data directory, no yuo\!
2004-08-05 05:59:14 +00:00
Jeremy Fincher
5c4d0e48cb
Extra space.
2004-08-05 05:57:53 +00:00
Jeremy Fincher
2bbfc6f67a
Forgot to import sets.
2004-08-05 05:32:18 +00:00
Jeremy Fincher
8daceeaebd
Changed the way channel databases are handled, added supybot.databases.plugins.channelSpecific.
2004-08-05 05:23:44 +00:00
Jeremy Fincher
75f1eb4eee
Updated to handle some EnvironmentErrors.
2004-08-05 05:20:13 +00:00
Jeremy Fincher
4be774363a
Yeah, shouldn't have committed this without testing first.
2004-08-05 04:15:33 +00:00
Jeremy Fincher
fdc8cdb15c
Let's make relaying the hostmasks on join optional.
2004-08-05 04:01:52 +00:00
Jeremy Fincher
250df8538c
Slight update to make the code a touch cleaner.
2004-08-05 04:01:22 +00:00
Jeremy Fincher
76a79b0d76
New Dunno implementation.
2004-08-05 03:59:40 +00:00
Jeremy Fincher
cb52197d1b
Forgot to close the files.
2004-08-04 12:39:24 +00:00
Jeremy Fincher
68516b8fec
Let's catch some socket.timeout action.
2004-08-04 06:19:31 +00:00
Jeremy Fincher
350f189041
FlatfileDB rulez0rs. Now we just have to convert Dunno and FunDB to use it.
2004-08-04 05:56:30 +00:00
James Vega
9db07346dc
Fix (and cleanup) thanks to the suggestion in Bug #1002547
2004-08-04 02:33:57 +00:00
Jeremy Fincher
bbd401533f
Added requireCapability.
2004-08-03 07:32:18 +00:00
Jeremy Fincher
53c19e314b
supybot.plugins.Dunno.prefixNick.
2004-08-03 07:28:14 +00:00
Jeremy Fincher
86f2cb8efa
Registry values for Status.cpu.
2004-08-03 07:03:56 +00:00
Jeremy Fincher
c51a9db841
Updated to use the same scheme as Bugzilla.
2004-08-03 05:52:03 +00:00
Jeremy Fincher
cf90f3ce38
Later is now persistent.
2004-08-03 05:10:47 +00:00
Jeremy Fincher
e729915fec
Updated severely.
2004-08-03 04:39:11 +00:00
Jeremy Fincher
b6a03d9ac1
Proxy for Google.
2004-08-03 04:29:25 +00:00
Jeremy Fincher
766d77e107
Updated to be smarter, though we still need ctime watching.
2004-08-02 20:33:58 +00:00
Jeremy Fincher
64d5f53dc4
Comment our use of sendMsg instead of queueMsg.
2004-08-02 19:42:48 +00:00
James Vega
c08ee5ecc6
model Tail._send after LogToIrc's setup
2004-08-02 19:14:28 +00:00
Jeremy Fincher
f9e96770a3
Let's make sure the angle brackets don't change color based on capitalization.
2004-08-02 18:03:27 +00:00
Daniel DiPaolo
55a38cb211
Fixed lingerinb bug from when random quotegrabs stuff was converted to config vars
2004-08-02 17:00:40 +00:00
James Vega
35ab104533
No need to import registry twice, and Strike can't even remember what that
...
jab at me is for, so I'm removing it.
2004-08-02 16:19:32 +00:00
Jeremy Fincher
47a098eb2d
Ininital checkin of Tail.
2004-08-02 12:39:36 +00:00
Jeremy Fincher
a4fdb02291
The default is not to limit the number of messages.
2004-08-02 10:52:24 +00:00
Jeremy Fincher
5300aff306
Forgot to setDaemon.
2004-08-02 00:38:39 +00:00
Jeremy Fincher
d81ca6fa08
New Markov implementation. It's still broken, but I gotta run, so I'll fix it later.
2004-08-01 20:28:08 +00:00
James Vega
09c81c6d24
Update to use the registry for denying capabilities.
2004-08-01 15:35:31 +00:00
James Vega
d47d54bc82
Almost out entire testsuite works, yet again. Yay!
2004-08-01 14:38:37 +00:00
Jeremy Fincher
b6ba7955ac
With some clearer thinking, I believe this is the proper implementation of tmpDir. If there's something wrong with it, send me a note or write a test and it'll be fixed.
2004-08-01 12:46:03 +00:00
Jeremy Fincher
197238efa0
Lucky should error if given no args.
2004-07-31 18:42:48 +00:00
Jeremy Fincher
f349f08111
Changed IrcObjectProxyRegexp to SimpleProxy to more accurately show what the deal is.
2004-07-31 12:14:13 +00:00
Jeremy Fincher
b4f7b878cf
Forgot to prepend something to the tell.
2004-07-31 12:09:41 +00:00
Jeremy Fincher
4f248a0e03
Initial checkin.
2004-07-31 12:06:22 +00:00
Jeremy Fincher
823bfb040f
Added utils.AtomicFile and converted our uses of 'w' to it. This rocks.
2004-07-31 10:21:07 +00:00
Jeremy Fincher
fe8a8ee8fd
Let's make sure our hashes are case-insensitive.
2004-07-31 08:54:03 +00:00
Jeremy Fincher
ae26bf4a6c
Still changing over those variable names.
2004-07-31 08:43:58 +00:00
Jeremy Fincher
fb9a19ca17
Bugfix.
2004-07-31 08:26:29 +00:00
Jeremy Fincher
9772c45af3
Made description optional.
2004-07-31 08:05:46 +00:00
Jeremy Fincher
d8d1b9f445
Added channel limit enforcement. RFE #1000368 .
2004-07-31 07:46:54 +00:00
Jeremy Fincher
9165c698e0
Changed to use a 6-barrel revolver.
2004-07-31 07:01:46 +00:00
Jeremy Fincher
750d6c5e5b
Added tell to Infobot.
2004-07-31 06:46:19 +00:00
James Vega
0412055a85
There's no need to test all of the tokens we're looking at. If the first one
...
is a command, bail out.
2004-07-31 06:32:01 +00:00
James Vega
eeacd8bd22
Fixed the issue with responding when he shouldn't be by making try:finally
...
one fat bastard.
2004-07-31 04:52:50 +00:00
Jeremy Fincher
1cb576db03
Updated to include new status command.
2004-07-31 03:45:46 +00:00
James Vega
115a3a88ec
move isCtcp to ircmsgs and fix up a couple things with Infobot
2004-07-31 03:45:25 +00:00
James Vega
c31512da01
We can respond if we're addressed but there's no terminal question mark. Actions
...
on the other hand are the DEVIL! They get banished immediately.
2004-07-31 02:01:28 +00:00
Jeremy Fincher
a3e04ea9e8
Handled some XXXs.
2004-07-31 00:46:26 +00:00
James Vega
a421cbcd54
No need to tag or's since you can't escape the |
2004-07-30 23:49:44 +00:00
Jeremy Fincher
c83c8c3ec3
Fixed bugz0rs in URL, added vacuum (called on stats).
2004-07-30 23:41:17 +00:00
Jeremy Fincher
893727f962
Fixed some bugz0rs.
2004-07-30 23:40:36 +00:00
Jeremy Fincher
565c6b7347
Fixed bugz0rs in URL, added vacuum (called on stats).
2004-07-30 23:39:57 +00:00
James Vega
7f112672de
Added <action>, <reply>, and | handling
2004-07-30 23:08:16 +00:00
Jeremy Fincher
2336af5525
Updated to allow multiple servers.
2004-07-30 06:52:21 +00:00
Jeremy Fincher
544bfa35da
Current temperature *in*, not *at*.
2004-07-29 18:36:45 +00:00
Jeremy Fincher
40ea535e06
Forgot to add rainbow to the filters list.
2004-07-29 10:47:40 +00:00
Jeremy Fincher
a7dcf7604b
Removed PersistentDictionary.
2004-07-29 06:58:42 +00:00
Jeremy Fincher
206d8bd527
Added the note ids that are unread to the notification message.
2004-07-28 20:25:11 +00:00
Jeremy Fincher
bfa2382aae
Slight doc/style updates.
2004-07-28 16:42:39 +00:00
Jeremy Fincher
6886a88d5c
Added KeepAlive.
2004-07-28 06:46:28 +00:00
Jeremy Fincher
7c71096929
Changed the default for setValue keyword in setUserValue.
2004-07-28 06:12:02 +00:00
Jeremy Fincher
66bad99eaa
Let's make sure getUrls doesn't return duplicates.
2004-07-28 06:02:09 +00:00
Jeremy Fincher
d594232c5c
Reduced functionality, but I doubt anyone will complain. Much cleaner and clearer now that we're using flat files.
2004-07-28 05:59:30 +00:00
Jeremy Fincher
a42eb99cdf
Bug in nicks.
2004-07-28 03:08:03 +00:00
Jeremy Fincher
848303c021
Fix for world.documenting issue.
2004-07-28 02:20:58 +00:00
Jeremy Fincher
8f72aeca1a
Fix for cycling bug.
2004-07-27 23:58:07 +00:00
Jeremy Fincher
65c8b48d40
We're probably going to use Joel's irclib.py, stripped for its DCC stuff.
2004-07-27 23:55:05 +00:00
Jeremy Fincher
32ba3b10b1
Made crossword fail when an active hangman game has a solution in the answer set.
2004-07-27 22:04:43 +00:00
Jeremy Fincher
82161ee386
Refactored not to use SQLite; we lose anagrams, but crossword and hangman become much easier to use.
2004-07-27 17:43:17 +00:00
Jeremy Fincher
fe55f17cbf
Updated to use only the registry.
2004-07-27 05:19:14 +00:00
Jeremy Fincher
01e3cbad9e
Updated, adding some logging, adding style dots to some others, etc.
2004-07-27 05:17:31 +00:00
Rob Sanderson
50c650ace3
Sample File server for DCC. Uses DCC Chat to navigate directory structure.
...
Allows multiple configurable queues on multiple channels.
-- Azaroth
2004-07-27 02:05:18 +00:00
Jeremy Fincher
377c443405
Deprecated, with no requests for revival. Removed.
2004-07-26 14:37:29 +00:00
Jeremy Fincher
16f4231780
Forgot questions.
2004-07-25 18:24:51 +00:00
James Vega
d868a17bf9
Added "Date Submitted" to the reported information
2004-07-25 01:02:37 +00:00
Jeremy Fincher
d0552fdcf2
Let's segregate our ChannelLogger logfiles.
2004-07-24 05:46:35 +00:00
Jeremy Fincher
f9c61271ea
w00, less path mungingEXCLAIMEXCLAIM
2004-07-24 05:18:26 +00:00
James Vega
b2dbbe9ef5
small cleanups
2004-07-24 05:09:22 +00:00
Jeremy Fincher
db111b7a1b
Removed, they broke.
2004-07-24 05:08:45 +00:00
Jeremy Fincher
177d6fea07
Added myself as the __author__.
2004-07-24 02:30:19 +00:00
Jeremy Fincher
b9da065391
Slight tweak.
2004-07-24 02:29:51 +00:00
Jeremy Fincher
70dc5c3096
Updated.
2004-07-23 21:27:16 +00:00
Jeremy Fincher
7869413b55
Add a log.info.
2004-07-23 06:55:54 +00:00
Jeremy Fincher
3d039fcdc4
Slight docstring fix.
2004-07-23 05:03:27 +00:00
Jeremy Fincher
278310e999
Moved some commands from Utilities to Format.
2004-07-23 04:55:17 +00:00
Jeremy Fincher
2369a1adae
Updated.
2004-07-22 22:58:06 +00:00
Jeremy Fincher
2ebbec7d95
Added format command.
2004-07-22 22:55:06 +00:00
Jeremy Fincher
28d702ae82
Finished color command.
2004-07-22 22:46:46 +00:00
Jeremy Fincher
3cb0cf82d6
It's good for things to compile.
2004-07-22 22:17:45 +00:00
Jeremy Fincher
f44121910a
Initial checkin.
2004-07-22 22:15:13 +00:00
Jeremy Fincher
01435e1399
Fixed some bugs, added rainbow, etc.
2004-07-22 19:10:30 +00:00
Jeremy Fincher
ce315d33a1
Forgot a #.
2004-07-22 02:20:32 +00:00
James Vega
315810d08e
yay! no more stray whitespace
2004-07-21 19:36:35 +00:00
James Vega
27e3b07119
Improved RSS.announce
2004-07-21 19:12:57 +00:00
James Vega
9d4b715004
Fix a typo and remove extraneous whitespace
2004-07-21 19:06:49 +00:00
James Vega
093aa40335
whitespace
2004-07-21 01:00:37 +00:00
Jeremy Fincher
39bf2e4848
Minor updates.
2004-07-20 15:59:04 +00:00
Jeremy Fincher
368958388f
Added aol filter.
2004-07-20 09:28:38 +00:00
Jeremy Fincher
2d11b44d36
Added aol filter.
2004-07-20 09:28:38 +00:00
Jeremy Fincher
95f8a7407d
Added Nickometer plugin from baggins.
2004-07-20 09:04:51 +00:00
Jeremy Fincher
2b506b2fc7
Made setUserValue argument order consistent with userValue argument order.
2004-07-20 07:34:22 +00:00
Jeremy Fincher
35e2c45f2f
Added multiple recipient support.
2004-07-20 07:03:15 +00:00
Jeremy Fincher
1cc62cf609
Added a list command.
2004-07-20 06:37:21 +00:00
Jeremy Fincher
83e16fa4bb
Added some help and Dunno.stats.
2004-07-20 05:36:59 +00:00
Jeremy Fincher
4a7e2dba20
Example plugin helps.
2004-07-20 05:26:52 +00:00
James Vega
327254a85d
Add Currency plugin and fix some whitespace annoyances.
2004-07-20 03:51:56 +00:00
James Vega
0585ccb090
Improve Weather.wunder's UV report and add heat index reporting
2004-07-18 22:25:12 +00:00
Jeremy Fincher
bc1027d8cc
Updated the function to match the help.
2004-07-17 16:51:27 +00:00
Jeremy Fincher
efca3783c1
Let's make sure to handle the situation when the Irc object isn't in self.connected.
2004-07-15 15:05:41 +00:00
Jeremy Fincher
74208016df
Added RFE about connected time.
2004-07-15 06:56:54 +00:00
James Vega
91a440e6b3
Add rudimentary blocking of adjusting one's own karma
2004-07-07 18:10:00 +00:00
Jeremy Fincher
e5e1f2e84e
Bugfix. I can't test this on my laptop, so expect a couple more of these.
2004-07-02 14:08:19 +00:00
Jeremy Fincher
88751622c7
Don't number if there's only one factoid, and added a factoidPrefix configuration variable.
2004-07-02 13:58:29 +00:00
Jeremy Fincher
cc193c39ea
Added lucky command.
2004-07-02 13:53:33 +00:00
Jeremy Fincher
0937ba22ca
Added a channel-specific enforce value.
2004-07-01 17:55:10 +00:00
James Vega
180d2e8392
Fix some help messages
2004-06-28 19:38:05 +00:00
Jeremy Fincher
d9d8c04e24
Slight bugfix.
2004-06-26 20:29:55 +00:00
Jeremy Fincher
dae0db1de5
RFE #952861 .
2004-06-25 14:14:39 +00:00
James Vega
847227622f
Fix some bugs I introduced with the conversion to utils.getSocket and improve
...
DCC's error checking.
2004-06-20 18:03:11 +00:00
James Vega
9d9c3020ca
Add handling of opening sockets to communicate with IPV6 hosts.
2004-06-20 07:37:25 +00:00
James Vega
18138da1c0
Catch some sqlite exceptions that probably shouldn't be happening, but I
...
don't have the best of luck with sqlite.
2004-06-19 18:03:58 +00:00
James Vega
21764931ec
Fix some typos in configure()
2004-06-19 18:00:03 +00:00
James Vega
2657257535
Fixed a couple bugs and added tests for said bugs.
2004-06-19 00:10:04 +00:00
James Vega
b9598abfb8
Herald.default & conf.supybot.plugins.Herald.defaultHerald
2004-06-18 18:32:05 +00:00
Jeremy Fincher
6f336f297e
Possible fix for the dumb bug from dumb servers who put dumb dots in the dumb channels's dumb name.
2004-06-14 06:14:37 +00:00
Jeremy Fincher
b2a70f29fe
Fixed bug reported by locsmif on #supybot.
2004-06-10 13:34:06 +00:00
James Vega
5633b9d46b
Updated the tiny regexp to match the site's new layout. Added more checks for
...
nonSnarfingRegexp. Lowered the minimum length we check for tiny URLs since
they can be as short as 20 characters.
2004-06-07 19:45:49 +00:00
Jeremy Fincher
2bf216626d
Changed a message slightly.
2004-06-07 12:20:51 +00:00
Jeremy Fincher
9b662b3edc
Made registry variables for the defaultLanguage and safeSearch default.
2004-06-07 12:20:16 +00:00
James Vega
36e7931b83
A few small corrections
2004-06-07 05:17:50 +00:00
James Vega
b77a16f9e4
hamweather changed on us
2004-06-06 21:21:15 +00:00
James Vega
5693e0e30e
Fixed some error reporting
2004-06-06 21:18:18 +00:00
Jeremy Fincher
14ae0595ba
Help needed help.
2004-06-05 06:02:31 +00:00
James Vega
4479c43d1d
Cleaned up regexp naming so that it is more consistent and easier to use with
...
multiple weather commands. Added Weather.wunder.
2004-06-04 19:49:08 +00:00
James Vega
d508b19347
Evil lines of DOOM!!!...or just lines that should be empty but have
...
whitespace.
2004-06-04 06:14:29 +00:00
Jeremy Fincher
f0c3ceabcd
Added a nice little finally, just in case.
2004-06-02 05:16:54 +00:00
Jeremy Fincher
24c25436be
Fixed bug in announcements.
2004-06-01 16:22:48 +00:00
James Vega
880bf8544c
Somehow this bug has been around since 0.77.0
2004-05-27 16:47:05 +00:00
Jeremy Fincher
b01ca9845f
Change to a sendMsg to stave off a possible loop.
2004-05-11 18:14:23 +00:00
Daniel DiPaolo
6d5050eef8
Okay, total exorcism of the stupidity.
2004-05-11 04:40:38 +00:00
Daniel DiPaolo
ebaecbf665
Okay, previous fix was super-dumb so for now I'm making it just not allow pipes
...
in aliases at all, though we may decide to change that later.
2004-05-11 04:37:26 +00:00
Daniel DiPaolo
09724663bd
Fixed a typo in the Relay.join docstring.
2004-05-10 22:17:45 +00:00
Daniel DiPaolo
c93171012f
pipeSyntax is now in supybot.reply AND it's channel-specific .. fixed addAlias
...
to reflect that
2004-05-10 22:14:54 +00:00
Jeremy Fincher
6d1092957a
Stop bolding exception.
2004-05-07 16:13:02 +00:00
Jeremy Fincher
738546b4cf
Updateed to have a bit more personality and infinity percent more configuration variables.
2004-05-07 11:34:56 +00:00
Jeremy Fincher
741fc1d8d0
Oops, didn't anchor the no.
2004-05-06 20:09:16 +00:00
Daniel DiPaolo
8dccee975f
Unclaiming Note (sorry, ink), claiming Todo, fixing the other author strings.
2004-05-06 16:33:43 +00:00
Jeremy Fincher
e59ae37415
Commented out some print statements, made the reply not prefix the name.
2004-05-06 16:15:21 +00:00
Jeremy Fincher
e3643e0d54
Complete rewrite.
2004-05-06 15:54:26 +00:00
Daniel DiPaolo
a764359d3d
Author strings, yay.
2004-05-06 15:12:41 +00:00
Daniel Berlin
583f08f3da
Ignore no user error when trying to set last location
2004-05-02 16:21:35 +00:00
James Vega
86451cc8ae
Added Sourceforge.fight
2004-05-01 21:38:49 +00:00
James Vega
336fabe61f
Fix bug #945522
2004-05-01 19:53:28 +00:00
James Vega
3672f72b96
Returning after irc.error is good
2004-05-01 19:25:19 +00:00
Jeremy Fincher
2ebabe1a73
Hah!
2004-05-01 00:15:11 +00:00
Jeremy Fincher
d82c694a05
Reimplemented set to be more general.
2004-04-30 19:21:02 +00:00
Jeremy Fincher
6b3ed89e17
Minor updates.
2004-04-30 19:20:47 +00:00
Jeremy Fincher
ea90ba36db
Added ignores.
2004-04-30 19:19:59 +00:00
Jeremy Fincher
ae542511be
Our first use of the userdata registry!
2004-04-30 18:36:16 +00:00
Jeremy Fincher
e3b690f933
Added userdata registry.
2004-04-30 18:24:35 +00:00
Jeremy Fincher
ab1b7d3434
Initial checkin.
2004-04-30 18:24:01 +00:00
Jeremy Fincher
d43cb1403d
Fixed bugz0r with regexp.
2004-04-30 18:23:36 +00:00
Jeremy Fincher
5d10dc2047
Oops, syntax error.
2004-04-30 16:55:42 +00:00
Jeremy Fincher
21b1acd3f4
Oops, forgot to update these for the protocols change.
2004-04-30 15:03:20 +00:00
Jeremy Fincher
3eedd04653
Initial checkin.
2004-04-30 09:10:06 +00:00
Jeremy Fincher
4aedfc0077
Initial checkin.
2004-04-30 08:35:19 +00:00
Jeremy Fincher
eaf40ceb71
Added __author__ string.
2004-04-30 08:13:12 +00:00
Jeremy Fincher
cf54ef75cf
Added reply and tweaked success.
2004-04-30 06:12:20 +00:00
Jeremy Fincher
b21b3af3c2
Genuflect before the master of anality (and rejoice that bug #944861 has been fixed).
2004-04-30 05:21:13 +00:00
Jeremy Fincher
dc1bc4ba55
Updated a ton of configuration variables.
2004-04-30 02:13:42 +00:00
James Vega
65ad15dd45
Fixed bugs in zipinfo and netcraft
2004-04-30 01:39:29 +00:00
Jeremy Fincher
1638a1c796
Fixed bug #941579 .
2004-04-29 11:52:20 +00:00
Jeremy Fincher
2c2e21e765
Fixed bug #941101 .
2004-04-29 11:49:24 +00:00
James Vega
20ac0993bc
Add Http.zipinfo
2004-04-28 21:13:33 +00:00
James Vega
7d3565769c
Mark the files that I'm "claiming"
2004-04-28 08:45:00 +00:00
James Vega
349245a78e
Fix a (probably) long-standing bug with Debian.file and pythonZgrep. Update
...
Debian.version so that it uses the user's 'package' name as a subword for
which to search. This better reflects the original behavior of
Debian.version. Also added --exact option to Debian.version in case people
don't want to use the subword search.
2004-04-28 07:54:04 +00:00
Jeremy Fincher
cd3039317d
Added an author command.
2004-04-28 06:30:55 +00:00
Jeremy Fincher
41a1c9f4d1
lock, unlock, restore.
2004-04-27 11:04:36 +00:00
Jeremy Fincher
4db5d0e536
Let's not synchronize topics unless we're actually relaying the channel, k?
2004-04-27 10:55:02 +00:00
Jeremy Fincher
623d71911f
Fixed bug #942506 .
2004-04-26 19:42:25 +00:00
Jeremy Fincher
27cd893dbd
Make sure we don't take revenge on ourselves.
2004-04-26 15:35:56 +00:00
Jeremy Fincher
c63826dcff
Better traceback handling.
2004-04-22 21:34:40 +00:00
Jeremy Fincher
2c1437c8fc
Initial checkin for Anonymous.
2004-04-22 03:53:41 +00:00
Jeremy Fincher
e50f3ccbac
Added Utilities.last.
2004-04-22 03:39:38 +00:00
Jeremy Fincher
d2a80781dc
Should fix both RSS bugs Vee2d2 reported.
2004-04-22 02:59:15 +00:00
Jeremy Fincher
b5ac09b4e1
Oops, forgot to update these for the reviter=>reversed change.
2004-04-22 02:55:46 +00:00
James Vega
173af6567f
Update RSS.info to accept an rss feed name as well as a url
2004-04-21 07:38:18 +00:00
Jeremy Fincher
f7010805ee
Made 'alias foo bar' work as expected.
2004-04-20 11:28:03 +00:00
Jeremy Fincher
c1313130a8
Added a monologue command.
2004-04-20 11:19:31 +00:00
Jeremy Fincher
ed8df0a998
Updated sorted for 2.4 compatibility.
2004-04-20 10:04:09 +00:00
Jeremy Fincher
85807dd077
Fix for slashdot bug, I think.
2004-04-20 09:51:55 +00:00
Jeremy Fincher
96838d0dbc
Removed catch, moved curry to utils.py
2004-04-20 09:44:58 +00:00
Jeremy Fincher
eee1f7cee2
Added a <number of headlines> argument to feed commands.
2004-04-19 19:24:52 +00:00
James Vega
ca9f696c8c
Weed out the last of the floating point COUNT bugs
2004-04-19 15:16:31 +00:00
James Vega
48f2de64a4
If a project doesn't have any bugs/rfes/trackers, we should just say so
...
instead of raising an exception and making it look like there was a problem.
2004-04-18 20:16:55 +00:00
Jeremy Fincher
086a2fcab6
Refactored LogLevel crap.
2004-04-18 06:24:37 +00:00
Jeremy Fincher
e7f6aa884f
FinallyEXCLAIM
2004-04-18 00:35:54 +00:00
James Vega
2a62e3cd5b
supybot.plugins.Babelfish.disabledLanguages ->
...
supybot.plugins.Babelfish.languages
2004-04-17 17:17:45 +00:00
Jeremy Fincher
136ec785b0
New implementation to the 'prevent myself from relaying my own relay messages' code.
2004-04-17 17:14:59 +00:00
Jeremy Fincher
7ef716f406
Added the network name to the logfile for channels by default.
2004-04-17 15:53:24 +00:00
Jeremy Fincher
74f2b75fac
Small changes. jamessan, look at this.
2004-04-17 14:46:50 +00:00
Stéphan Kochen
e6468e51da
Updated wizard and a tiny docstring update. (ooooooooooh :p)
2004-04-17 14:43:09 +00:00
Stéphan Kochen
69b255b4f5
Commented.
2004-04-16 21:23:53 +00:00
Stéphan Kochen
4a5380b4f7
Fixed LogToIrc overriding default log level.
2004-04-16 21:11:41 +00:00
James Vega
6a7981aac0
A little refactoring and make sure Sourceforge.tracker reports the URL since
...
bug/rfe used to
2004-04-16 16:31:17 +00:00
James Vega
68766a5c91
*Someone* forgot to remove the debug logging.
2004-04-16 15:19:14 +00:00
Jeremy Fincher
25281d7476
Workaround for Markov wonkiness.
2004-04-16 08:31:16 +00:00
Jeremy Fincher
392108a6fc
Blech, some commented-out code until after the release.
2004-04-16 07:59:47 +00:00
Jeremy Fincher
0284ec803e
Added supybot.plugins.LogToIrc.notice, for sending logs to nicks via NOTICE instead of PRIVMSG.
2004-04-16 07:50:06 +00:00
Jeremy Fincher
bf7a893a75
No need to ghost; let's try switching to the nick and only ghost if we get a 433.
2004-04-16 07:43:52 +00:00
Jeremy Fincher
16c4150d1c
Mega r0x0r update.
2004-04-16 07:40:18 +00:00
Jeremy Fincher
99adf8511f
Uh, someone forgot to make the remainder of the changes necessary for the unColor -> stripColor conversion...
2004-04-15 23:41:24 +00:00
James Vega
b9ab839470
BadWords will now filter words that have been formatted
2004-04-15 21:20:52 +00:00
Jeremy Fincher
38fee5b2dd
Oops, forgot a canonicalName.
2004-04-15 14:17:07 +00:00
Jeremy Fincher
86a217c4b3
Added.
2004-04-15 06:41:04 +00:00
Jeremy Fincher
227738f78e
Bugfix for Shame.
2004-04-15 06:36:34 +00:00
James Vega
08fc07b698
Yay! Finally able to consolidate Sourceforge.{rfe,bug} into
...
Sourceforge.tracker. Less code, more functionality. What could be better?
2004-04-15 06:20:21 +00:00
Jeremy Fincher
c428e8908b
Improved Google.spell message.
2004-04-14 23:33:18 +00:00
Jeremy Fincher
bb850f2d6a
Added some extra logging.
2004-04-14 15:47:10 +00:00
Jeremy Fincher
866e4ebd62
Added the ability to have multiple targets as well as do some capability-checking on the targets.
2004-04-14 15:46:23 +00:00
Jeremy Fincher
6504dfcaa1
Ooh, a better implementation. I rock.
2004-04-14 14:35:06 +00:00
Jeremy Fincher
1cb8cd0933
Added RFE #900293 .
2004-04-14 10:13:53 +00:00
Jeremy Fincher
b15b85ea7c
Changed the name from LogToChannel to LogToIrc and made it capable of message nicks and not just channels.
2004-04-14 09:31:15 +00:00
Jeremy Fincher
a4bf228a45
Updated help for echo.
2004-04-14 02:40:44 +00:00
James Vega
403a561671
Add supybot.plugins.Weather.convert, which determines weather or not whether
...
will convert temperature to the configured unit.
2004-04-14 00:26:08 +00:00
Jeremy Fincher
5d8f0156fb
Fixed bug #934240 .
2004-04-13 18:25:49 +00:00
Jeremy Fincher
aea2f421e8
Updated a docstring and made sure to lower all the channel logfile names.
2004-04-13 05:24:05 +00:00
Jeremy Fincher
132adeff7d
Updated.
2004-04-13 05:18:17 +00:00
Daniel DiPaolo
e32b66df93
Fixed a boo-boo in the help string for fundb.add
2004-04-13 04:08:15 +00:00
Jeremy Fincher
72c0eb5d23
Added success.
2004-04-13 01:49:56 +00:00
James Vega
0027117e8c
Fix some coloring/formatting bugs we had
2004-04-13 01:01:17 +00:00
Jeremy Fincher
e877874cf7
Forgotten colon.
2004-04-13 00:59:35 +00:00
Jeremy Fincher
cb97f75027
Added the ability to auto-{op,voice,halfop}.
2004-04-13 00:58:56 +00:00
Stéphan Kochen
1541f051fd
Seperated logging to channels to it's own plugin.
...
(...and a couple of smaller changes to log itself)
2004-04-12 16:08:23 +00:00
Jeremy Fincher
ec0dd27960
All in the name of case insensitivity.
2004-04-09 16:29:16 +00:00
Jeremy Fincher
0194abff28
I may finally have squished the most obvious bugs.
2004-04-09 15:43:51 +00:00
Jeremy Fincher
8a979b3ada
Updated.
2004-04-09 15:13:26 +00:00
Jeremy Fincher
34ca5530b0
Man, I really didn't get enough sleep last night. Let's try this.
2004-04-09 11:38:06 +00:00
Jeremy Fincher
f77f48d0f3
Added some lockingEXCLAIM w00rEXCLAIM LocksEXCLAIM
2004-04-09 05:22:56 +00:00
James Vega
b2153c83fb
unColor is now working. Added a colorstrip outfilter to Filter to close RFE
...
#863599
2004-04-09 03:59:12 +00:00
James Vega
47d7f5e18b
Correctly get the disabledLanguages value (it's a ChannelValue, not
...
GlobalValue) and update the tests to match the new failure string.
2004-04-08 14:34:54 +00:00
James Vega
9d3c1e6e8b
commaAndify(..., And='or')
2004-04-08 14:09:46 +00:00
Jeremy Fincher
60bdc8bded
Picked up a few more configuration variables.
2004-04-08 11:27:34 +00:00
James Vega
8587c3cd4f
Added supybot.plugins.Babelfish.disabledLanguages to disable certain languages
...
from being translated/spoken
2004-04-08 03:28:28 +00:00
Jeremy Fincher
5f53515a54
Fixed bug that cause RSS.announce not to announce in more than one channel.
2004-04-05 21:36:27 +00:00
Jeremy Fincher
77e6aa7453
Oops, syntax error.
2004-04-05 15:57:22 +00:00
Jeremy Fincher
b74cbfafef
Errant dot, begone why the FSCK can't I put an exclamation point in a stupid commit message? Bash freaking sucks. zsh handles this just fine. I can't even escape the stupid markEXCLAIMEXCLAIMEXCLAIM I CAN'T EVEN PUT STUPID PARENTHESES IN THESE COMMITS MESSAGES DIE GNU DIE DIE DIE DIE DIE DIE STUPID DOUBLE QUOTATION PARSING BITCHES
2004-04-05 10:18:45 +00:00
Jeremy Fincher
8979bc8c3d
takeRevengeOnOps.
2004-04-05 10:15:05 +00:00
Jeremy Fincher
75ef083226
Fixed an error message slightly.
2004-04-05 09:57:36 +00:00
Jeremy Fincher
4c1d2c6431
Fixed bug #927010 .
2004-04-05 09:52:23 +00:00
Jeremy Fincher
36f182dc60
Handled bug #926443 .
2004-04-05 09:50:58 +00:00
Jeremy Fincher
f8f1b4585f
Slight readability change.
2004-04-05 09:25:33 +00:00
James Vega
ee6ec32e01
Added Debian.bug
2004-04-01 17:09:20 +00:00
James Vega
14ec774fe8
*finally* got the Debian.incoming globbing fixed. fnmatch.fnmatch is wonky
2004-04-01 15:01:26 +00:00
James Vega
7e7343d968
It's nice to have sgmllib imported when you're trying to catch it's exceptions
2004-04-01 15:00:04 +00:00
Jeremy Fincher
72462d85d1
Looks like I didn't finish a thought.
2004-04-01 11:47:54 +00:00
Jeremy Fincher
d4c7db7a93
Began Relay.reconnect and changed names to nicks.
2004-03-30 21:14:34 +00:00
Jeremy Fincher
cc9522e833
Slight cleanup.
2004-03-30 08:32:17 +00:00
James Vega
346d0a5acc
your colon misses you, jemfinch
2004-03-29 16:52:42 +00:00
Jeremy Fincher
7d3c9ffef0
Fix for fix for scheduler.list showing ran (but not removed) events.
2004-03-29 16:45:09 +00:00
Jeremy Fincher
c96065a540
Fix for scheduler.list showing ran (but not removed) events.
2004-03-29 16:26:09 +00:00
Jeremy Fincher
f5365a6202
Added channel logfile rotation.
2004-03-27 20:18:47 +00:00
Jeremy Fincher
07d10bb223
Fixed bug #923562 .
2004-03-27 13:30:46 +00:00
James Vega
f130db33cc
Better error checking with Http.stockquote and remove Http.weather's tests.
2004-03-26 00:56:31 +00:00
James Vega
a1e48a8ff7
Make sure the Wind Chill and Heat Index temps are configurable in Weather.ham
2004-03-26 00:28:51 +00:00
Jeremy Fincher
4837707e65
Slight refactoring.
2004-03-25 12:14:01 +00:00
Jeremy Fincher
154577832c
Change words from a channel value to a global value.
2004-03-25 12:13:29 +00:00
Jeremy Fincher
ea8c7ddf77
Added timestamp configuration variable.
2004-03-24 23:10:55 +00:00
Jeremy Fincher
057563540f
Removed leading spaces if the timestamp is set to nothing.
2004-03-24 23:05:28 +00:00
Jeremy Fincher
adc046a6a0
Added flushImmediately and [nolog] prefix.
2004-03-24 22:50:10 +00:00
James Vega
22d484ef01
YAPMR
2004-03-19 17:13:33 +00:00
James Vega
6a211adb42
YAPMR
2004-03-19 16:58:54 +00:00
James Vega
3ae730a94c
Fix the passing of quoted text on to Google searches ... again. This time it's
...
correct. ;)
2004-03-17 13:38:04 +00:00
James Vega
823c91ff44
Updated Wordstats plugin to allow removal of tracked words.
2004-03-14 06:43:03 +00:00
Daniel DiPaolo
4e7d862373
Removing the "see foo" referencing code as it is error-prone (it's really tough
...
to accurately track self-referencing leading to recursion and circular
references leading to infinite looping) and I don't think it's all that useful.
Fixing it would make the already-contorted code of this plugin even worse!
2004-03-11 04:50:09 +00:00
James Vega
a79bc26201
Updated Seen.seen to accept no arguments.
2004-03-09 22:04:41 +00:00
James Vega
672b2e9df1
Revert the non-PRIVMSG watching until we have a proper mixin to be able to
...
track part, join, *and* quit.
2004-03-09 12:59:24 +00:00
James Vega
601ea799f3
Some small cleanups
2004-03-02 00:26:35 +00:00
Jeremy Fincher
b6f2cefa0c
Added a revision string.
2004-03-02 00:20:32 +00:00
James Vega
e31aa252dd
Don't respond with the units so as to ease nesting convert and calc
2004-03-01 23:18:21 +00:00
Jeremy Fincher
d3de7cbe30
Remove replySuccess.
2004-03-01 18:32:56 +00:00
James Vega
4b32a206c4
Add Seen trackers for PART, JOIN, QUIT (and fix ircmsgs.prettyPrint for QUIT)
2004-02-29 21:13:20 +00:00
Stéphan Kochen
4db8096757
Don't notice news to the channel with supybot.reply.withPrivateNotice on.
2004-02-29 14:12:10 +00:00
Jeremy Fincher
4b1e5b5a74
Don't display errors in snarfers,, mo.
2004-02-27 17:20:57 +00:00
Jeremy Fincher
700fe71958
Minor update to cpu output, mithro said it was confusing.
2004-02-27 08:20:59 +00:00
Jeremy Fincher
8ea62d2503
I should get some kind of anality award.
2004-02-26 17:16:22 +00:00
Jeremy Fincher
aabd318710
Let's make Heralds use standardSubstitute too.
2004-02-26 16:45:38 +00:00
Jeremy Fincher
fc71c53b0e
Made echo use standardSubstitute.
2004-02-26 15:53:45 +00:00
James Vega
8590bc2134
weatherCommand -> command
2004-02-25 15:46:22 +00:00
James Vega
31c8af3fda
Yay! Now Network.whois can retrieve information for any domain.
2004-02-24 21:52:53 +00:00
Jeremy Fincher
90ace9437d
Minor stylistic updates.
2004-02-24 11:22:53 +00:00
James Vega
0e574d7144
Forgot something
2004-02-23 11:35:06 +00:00
James Vega
e5ce3c8ee9
A few more fixes/cleanups
2004-02-23 11:08:22 +00:00
Jeremy Fincher
52230d16e1
Somewhat fixed.
2004-02-23 09:49:47 +00:00
Jeremy Fincher
295eafcb37
Added weather command.
2004-02-23 09:05:12 +00:00
James Vega
af442c8313
I guess I should've used setValue instead of set for LicenseKey
2004-02-21 22:06:31 +00:00
James Vega
6f24ebecce
Fixed some things with WeatherUnit and temperature parsing in Weather.cnn
2004-02-21 21:49:44 +00:00
James Vega
d3b8c25255
Added Weather.cnn, which retrieves weather from weather.cnn.com.
...
Renamed Weather.weather to Weather.ham in preparation for jemfinch adding the
ability to specify which service to use when Weather.weather is called.
Added ability to specify default temperature units in which to report the
temperature.
2004-02-21 21:11:50 +00:00
James Vega
a76036722e
-.-- .- -.-- --..-- -. --- .-- -- --- .-. ... . -..-. ..- -. -- --- .-.
...
... . ... ..- .--. .--. --- .-. - ... .--. ..- -. -.-. - ..- .- - .. ---
-. .-.-.-
2004-02-20 22:45:27 +00:00
Jeremy Fincher
7859f16aa6
Fixed a bugz0r.
2004-02-20 22:41:51 +00:00
Jeremy Fincher
168b438edf
Fixed bug with aliases that fail to load.
2004-02-20 08:09:59 +00:00
Jeremy Fincher
65bec68ec6
Fixed bug with aliases that fail to load.
2004-02-20 08:09:29 +00:00
Jeremy Fincher
58decb39a9
Fixed bug #900879 .
2004-02-20 06:17:36 +00:00
Jeremy Fincher
dda4d61421
Added the stuff needed for channel karma.
2004-02-20 05:33:12 +00:00
Jeremy Fincher
d9a4a6da36
forgetting[something] KeyError: something
2004-02-20 05:00:31 +00:00
James Vega
61dbf12016
Remove a subclass from test_Amazon.
...
Only quote words in Amazon results if they are not being bolded.
2004-02-19 07:40:57 +00:00
Jeremy Fincher
c563559b29
googleSnarfer shouldn't prefixName, and shouldn't come back with failuers.
2004-02-19 07:18:33 +00:00
Daniel DiPaolo
bfea2fcc3f
Make Topic.add and Topic.change agree on how strict they are with users adding
...
and changing topic items (i.e., they now both fallback on simply the nick
whenever a registered username is unavailable)
2004-02-18 22:36:58 +00:00
Daniel DiPaolo
dcf7d167eb
Fixed typo:
...
<sifu> Strike|laptop: Error: I've already got ops in #grasshoppersx
That last x is the typo :)
2004-02-18 04:36:50 +00:00
James Vega
3128255c0f
MoobotFactoids.randomfactoid must've felt so lonely not having anyone to test
...
that he was ok. Add that to him having an unwanted msg lying around, and he
must've been quite sad.
2004-02-17 21:41:52 +00:00
Jeremy Fincher
1ef546178c
Fixed doMode only to do something when there are actual arguments.
2004-02-17 19:04:24 +00:00
James Vega
3851d1d152
Added amazon snarfer and price information.
2004-02-17 16:40:32 +00:00
James Vega
7192e97376
Added url to Ebay.auction as per RFE #896118
2004-02-17 15:36:27 +00:00
Jeremy Fincher
976efd87cf
Added skullY's patches for Network.whois for .orgs.
2004-02-17 08:08:18 +00:00
Daniel DiPaolo
a35e185c4b
Just changed a var name to be more clear in _lock for MF, and finally fixed the
...
MF tests so that they all pass (without removing test functionality)!
2004-02-17 06:33:23 +00:00
Jeremy Fincher
c0dad919d6
Updated.
2004-02-17 06:29:19 +00:00
Jeremy Fincher
bef64f2b21
Should fix bugz0r with OptionList.tokenize.
2004-02-17 05:14:57 +00:00
James Vega
62f3242b81
I thought this already sorted by id...
2004-02-17 02:41:09 +00:00
Jeremy Fincher
ef550c2dc0
Fixed bug lkn4it reported -- no doJoin.
2004-02-17 01:51:54 +00:00
Jeremy Fincher
2fb2a6e8cd
Made us not respond in invalidCommand if the factoid isn't found.
2004-02-16 08:30:59 +00:00
Jeremy Fincher
e86fdd4dcb
WordStats didn't have a proper __revision__.
2004-02-16 04:14:57 +00:00
Jeremy Fincher
3566d941a2
Fixed bugz0r reported by gnd and lkn4it.
2004-02-16 03:54:16 +00:00
Jeremy Fincher
20b3b6ac88
Hopefully fixed the persistence problem.
2004-02-16 03:51:11 +00:00
James Vega
23393edd83
Set licensekey registry values to private values.
2004-02-14 07:17:59 +00:00
Jeremy Fincher
3776788694
Fixed bad configure juju.
2004-02-14 00:56:17 +00:00
Jeremy Fincher
fb59b25a63
Added the ability for configuration variables to be private so they can't have their values gotten by people who can't change them.
2004-02-14 00:47:21 +00:00
Jeremy Fincher
4786631c6c
Made title snarfer not snarf if the URL is in an addressed message.
2004-02-13 21:57:38 +00:00
Jeremy Fincher
af0a4987f4
Made Factoids infinitely cooler. WE REFUSE TO BE A REDHEADED STEPCHILD!
2004-02-13 21:50:23 +00:00
Jeremy Fincher
8569d70f85
Fixed over-specifying test.
2004-02-13 10:33:18 +00:00
Jeremy Fincher
4c681b274c
Fixed test, made sure that a failure in adding lookups doesn't keep the plugin from isntantiating.
2004-02-13 10:06:27 +00:00
Jeremy Fincher
87f4d36d6f
Fixed tests.
2004-02-13 09:50:46 +00:00
Jeremy Fincher
c68a8015a0
Fixed failing tests.
2004-02-13 09:29:55 +00:00
Jeremy Fincher
f2fc683538
Added Herald.get.
2004-02-13 06:41:59 +00:00
Jeremy Fincher
2d79a470dc
Fixed problem with integer-looking ids in repeat.
2004-02-13 04:24:44 +00:00
Jeremy Fincher
af60780619
Forgot an enumerate, man, that sucked.
2004-02-12 14:12:28 +00:00
Jeremy Fincher
4396d65b94
Added docstrings for the class. Eventually help should show these instead of the dispatcher helps.
2004-02-12 07:06:12 +00:00
Jeremy Fincher
31bb1abc7d
Remove stupid alias crack...er...crap from Sourceforge.
2004-02-12 04:25:37 +00:00
Jeremy Fincher
b668da98aa
Removed stupid alias crap\!
2004-02-12 03:59:08 +00:00
James Vega
09eae1bdcc
Make sure to catch amazon.NoLicenseKey and provide a nice "hold-my-hand" help
...
message.
2004-02-12 01:13:16 +00:00
Jeremy Fincher
157106fad6
Changed from a warning to a debug log for unexpected NickServ notices.
2004-02-12 00:48:50 +00:00
Jeremy Fincher
dda081b302
Changed error message in the case of no license key.
2004-02-12 00:23:24 +00:00
James Vega
1f9d794943
Fix the Debian.version regexps and fully propagate the Zegrep -> Zgrep
...
renaming that occured a few days ago.
2004-02-11 23:39:47 +00:00
Jeremy Fincher
bd4451c3f6
Made RSS.announce require #channel,op.
2004-02-11 07:22:13 +00:00
Jeremy Fincher
1264f21f23
Fixed supybot.channels to use an IrcSet instead of a list.
2004-02-11 06:27:35 +00:00
Jeremy Fincher
cf1c3a84b9
Made Sen case-insensitive (again...)
2004-02-11 06:20:29 +00:00
Jeremy Fincher
139e1bb614
Stylistic updates.
2004-02-11 06:08:25 +00:00
Jeremy Fincher
78bf842965
Slightly more pervasive logging.
2004-02-11 06:07:50 +00:00
Jeremy Fincher
8df8c27a66
Safety catch for inconsistent wordstats/users databases.
2004-02-11 06:06:19 +00:00
Daniel DiPaolo
5aef3f2e02
Removed all instances of repr()'ing (or "%r" % ...'ing) factoid values or keys,
...
as that mucks about with unicode input/output which is desirable to keep.
2004-02-10 14:01:50 +00:00
Jeremy Fincher
ac74ef9819
Fix for bug #893264 ; we can now discover what channels require registration and only go after we've identified.
2004-02-10 04:01:05 +00:00
Jeremy Fincher
d9f1c47fba
Fix for bug #893264 ; we can now discover what channels require registration and only go after we've identified.
2004-02-10 03:48:56 +00:00
Jeremy Fincher
71d0b0343a
Made Relay *actually* save the channels in the registry.
2004-02-10 03:29:52 +00:00
Jeremy Fincher
a1cb1ae4d8
Added ghost command, caught a few more errors in identify.
2004-02-10 03:29:02 +00:00
Keith Jones
5eac427f15
Changed float division to integer division
2004-02-10 03:21:45 +00:00
Jeremy Fincher
20285ae546
Fixed bugz0rs in RSS's announcements.
2004-02-10 03:14:46 +00:00
Jeremy Fincher
0c2de453f2
Threaded RSS's announcements and made reloading/flushing work properly.
2004-02-10 02:49:52 +00:00
James Vega
dcd87d9ac2
Small grammar fix.
2004-02-09 20:32:49 +00:00
Jeremy Fincher
b63fc24865
Updated descriptions of how to re-enable commands.
2004-02-09 18:36:39 +00:00
James Vega
e3e896f014
Added proper detection of Alias plugin.
...
Added addition of search aliases in configure.
2004-02-09 16:47:25 +00:00
Jeremy Fincher
03084065d6
htmlToTexted the team.
2004-02-09 16:42:28 +00:00
Jeremy Fincher
e6f1b6e7ee
Added a TODO.
2004-02-09 16:36:56 +00:00
Jeremy Fincher
c60664f620
Fixed bugz0r #893239 .
2004-02-09 16:32:00 +00:00
Jeremy Fincher
340d1aae8d
Fixed bug #893247 .
2004-02-09 15:44:41 +00:00
Jeremy Fincher
08158cafcb
Added a __revision__.
2004-02-09 04:40:30 +00:00
James Vega
2a586bdb78
Change project registry value to defaultProject.
2004-02-09 04:02:21 +00:00
James Vega
8623e98939
Yay, now we can convert negative numbers between bases
2004-02-09 03:08:33 +00:00
Jeremy Fincher
c290465c80
Fixed lots of stuff.
2004-02-08 10:03:27 +00:00
Jeremy Fincher
0ba2815746
Added help string for supa1337.
2004-02-08 09:25:55 +00:00
Jeremy Fincher
605129991d
Fixed tests for BadWords.
2004-02-08 08:04:40 +00:00
Jeremy Fincher
5f18d57262
Slight stylistic updates.
2004-02-08 07:16:58 +00:00
Jeremy Fincher
645d654ada
Updated to use plugins.ChannelUserDB.
2004-02-08 06:48:07 +00:00
Jeremy Fincher
04b2ecd5e6
Minor updates.
2004-02-08 06:24:00 +00:00
Jeremy Fincher
36c6aa2d3d
Useless comment removed.
2004-02-08 03:24:30 +00:00
Jeremy Fincher
34f4e3412a
Updated to a flatfile database.
2004-02-08 03:23:30 +00:00
Jeremy Fincher
679b4dec26
Gotta give the channel and id in deserialize.
2004-02-07 23:56:32 +00:00
Jeremy Fincher
d451233ec7
Oops, forgot this was a set, not a list.
2004-02-07 23:39:04 +00:00
Jeremy Fincher
5d5bffe9d2
Made channels to be stored in the registry, as well as slightly refactored do376.
2004-02-07 22:43:45 +00:00
Jeremy Fincher
c9655c6785
Added announce command.
2004-02-07 22:38:49 +00:00
Jeremy Fincher
6072094207
Changed ChannelUserDatabase to ChannelUserDB.
2004-02-07 21:36:40 +00:00
Jeremy Fincher
18fcfd9335
Converted Seen to use the ChannelUserDB.
2004-02-07 21:35:32 +00:00
Jeremy Fincher
097d4e93d6
Changed Herald to CSV.
2004-02-07 21:23:00 +00:00
James Vega
57454c86b3
Grammar proper good is.
2004-02-07 20:58:04 +00:00
James Vega
416a177e51
numbers -> integers
2004-02-07 20:51:30 +00:00
Keith Jones
4d296473e5
Modified base command to allow conversion between non-decimal bases
2004-02-07 20:41:07 +00:00
Jeremy Fincher
6a2f9010b8
Fixed bugz0r.
2004-02-07 18:21:46 +00:00
Jeremy Fincher
832165e779
Added cache command.
2004-02-07 12:11:03 +00:00
Jeremy Fincher
1a22cd530e
Added two configurables to Note, thus closing another RFE.
2004-02-07 12:02:33 +00:00
Jeremy Fincher
a32a263b90
Added RFE #890130 .
2004-02-07 11:23:02 +00:00
James Vega
aa6e663768
Added Babelfish.languages (which we should've had long ago)
2004-02-07 04:24:37 +00:00
Jeremy Fincher
ede140bcde
Added the supa1337 filter for complete unreadability.
2004-02-06 16:30:35 +00:00
Jeremy Fincher
a7c2f24a1d
Added some subjects.
2004-02-06 15:50:23 +00:00
Jeremy Fincher
a20f742417
liquidx is cool.
2004-02-06 10:48:52 +00:00
Jeremy Fincher
61e46c5049
Try to fix target and prefixing of name.
2004-02-06 09:18:52 +00:00
Jeremy Fincher
d282b8582a
At least fix the formatting problem.
2004-02-06 09:17:33 +00:00
Jeremy Fincher
ea2f71d527
Safety catch to prevent a possible exception at dying time.
2004-02-06 09:16:40 +00:00
Jeremy Fincher
1f312044ae
Fixed bug.
2004-02-06 07:14:07 +00:00
Jeremy Fincher
50b0957caf
Oops, forgot to commit this awhile back.
2004-02-06 05:53:31 +00:00
Jeremy Fincher
b6c7fcafe4
Forgotto import conf.
2004-02-06 05:08:16 +00:00
Jeremy Fincher
c45564260d
Oops, shouldn't still require sqlite.
2004-02-06 05:05:40 +00:00
Jeremy Fincher
3dc5dca1e3
Didn't register the plugin :)
2004-02-06 04:45:14 +00:00
Jeremy Fincher
6e062306f2
Added output to the list of functions imported from questions.
2004-02-06 04:36:21 +00:00
Jeremy Fincher
3af53ac0b3
Converted to zgrep from zegrep; I thought I did this before...
2004-02-06 04:34:52 +00:00
Daniel DiPaolo
0d2724d0f3
Fixed Dunno.change and added a test to make sure it works
2004-02-05 06:00:44 +00:00
James Vega
82b0bffb90
Properly disable the commands. Also, the configure prompts still need to be
...
updated to reflect the correct way to re-enable these commands.
2004-02-04 21:03:06 +00:00
Jeremy Fincher
d00935854e
Fixed possible uncaught exception bugz0r.
2004-02-04 08:19:28 +00:00
Jeremy Fincher
3d186a1478
Changed not to use onStart.
2004-02-04 07:44:51 +00:00
Jeremy Fincher
3e08f7b80f
Updated to use the registry and remove onStart.
2004-02-04 07:43:01 +00:00
Jeremy Fincher
be31cac273
Made lookups persistent with the registry.
2004-02-04 07:11:47 +00:00
Jeremy Fincher
03c6efcb7f
Partial conversion to registry, need to get it on my desktop box to test.
2004-02-04 06:55:35 +00:00
Jeremy Fincher
0d6136610e
Changed to use the registry.
2004-02-04 05:56:04 +00:00
Jeremy Fincher
1663642227
Fixed a tiny bugz0r.
2004-02-03 22:59:09 +00:00
Jeremy Fincher
0db9d6fd7d
Restrict Alias from making Aliases that coincide with plugin names.
2004-02-03 16:47:18 +00:00
Jeremy Fincher
e9aac2e191
Made into a flatfile, w00t!
2004-02-03 05:29:40 +00:00
Jeremy Fincher
8f683713de
Updated to use a cooler config file.
2004-02-02 08:34:58 +00:00
Jeremy Fincher
51a4db1a6c
Converted Alias to use the cool new preserver stuff.
2004-02-02 07:15:27 +00:00
Jeremy Fincher
0830e576c2
Fix the output of doctype, I don't care if we're different from mozbot.
2004-02-02 01:30:47 +00:00
James Vega
096bbdc463
Added --{from,to} and --sent options to Note.list
2004-02-01 21:47:11 +00:00
Stéphan Kochen
23c4b69d3c
Whoops. :p
2004-01-31 22:27:12 +00:00
Stéphan Kochen
5957eaad5d
Lots of wizard updates. Still have to get rid of the onStart and
...
afterConnect stuff though.
2004-01-31 22:24:43 +00:00
James Vega
b410a79d64
So begins the slow whittling away at the "Condense old notes" RFE
2004-01-31 22:05:09 +00:00
Jeremy Fincher
7f2578a13e
Updated to make the tests pass.
2004-01-31 22:04:46 +00:00
Jeremy Fincher
2b93f028d9
Fixed test and the names of some configuration variables.
2004-01-31 21:56:39 +00:00
Jeremy Fincher
17b32e8d54
Added nicer error handling if the user does try Note.get.
2004-01-31 21:25:42 +00:00
Jeremy Fincher
8e1b96885a
Fixed all tests for this plugin.
2004-01-31 21:10:23 +00:00
Jeremy Fincher
55c392fae3
Fixed tests.
2004-01-31 21:03:31 +00:00
Jeremy Fincher
781ff46653
Moved some seen stuff out of ChannelStats.
2004-01-31 20:53:09 +00:00
Jeremy Fincher
941d4e1523
Updated to put just the domain rather than the whole url in snarfer replies.
2004-01-31 20:52:24 +00:00
Jeremy Fincher
4ebbf7bf52
Fixed all tests.
2004-01-31 20:48:05 +00:00
Jeremy Fincher
e51b41eef3
Split Seen out from ChannelDB.
2004-01-31 20:26:15 +00:00
Jeremy Fincher
b592ef27fc
Fixed test failures in Bugzilla.
2004-01-31 17:31:04 +00:00
Jeremy Fincher
d2c6d66214
Fixed failing test for roulette.
2004-01-31 07:31:11 +00:00
Daniel DiPaolo
2d21655cb2
blootbot-compatibility (and cool feature desire) - moobot factoids that are
...
like "see <factoid key>" now actually return the value of that factoid key
2004-01-31 06:52:28 +00:00
James Vega
ef794aecb0
Removed some debugging logs
2004-01-31 00:34:46 +00:00
James Vega
1e76f3af70
Added vee2d2's Debian.new command
2004-01-31 00:18:04 +00:00
Jeremy Fincher
731c9f0bdb
More bugz0rs fixed.
2004-01-30 23:47:30 +00:00
Jeremy Fincher
3f4a4297fe
Must've accidentally removed addressedRegexps during the conversion to registry.
2004-01-30 22:12:27 +00:00
James Vega
6049e4c586
Added vee2d2's roulette w/out ops idea.
2004-01-30 21:41:52 +00:00
Jeremy Fincher
953e79e458
Changed a log entry.
2004-01-30 19:54:12 +00:00
Jeremy Fincher
88ba40baad
Added cycleToGetOps configuration variable.
2004-01-30 19:00:04 +00:00
James Vega
43d0619796
We don't use '.' as the channel capability separator anymore.
2004-01-30 16:33:21 +00:00
Jeremy Fincher
ec288430df
Finished fixing the switch to registry.
2004-01-30 06:11:51 +00:00
Jeremy Fincher
6362a02cd1
Let's play it safe.
2004-01-30 06:05:32 +00:00
Jeremy Fincher
c9787b29f7
Fixed a few bugs in the conversion from configurable to registry.
2004-01-30 06:00:30 +00:00
Jeremy Fincher
3de0f0e6f2
Updated, had bugs from the registry conversion.
2004-01-30 05:01:46 +00:00
Jeremy Fincher
3b17c81cb8
Changing the name from ChannelDB to ChannelStats.
2004-01-30 04:58:22 +00:00
Jeremy Fincher
e399b22667
Converted Relay to use the registry.
2004-01-30 04:54:15 +00:00
James Vega
b4d327cc61
Removed unnecessary __init__ and die methods
2004-01-30 00:04:56 +00:00
James Vega
fac4c5624c
Removed any unnecessary configure methods (ones that only called
...
conf.registerPlugin) and changed all other configure methods to accept the
advanced argument instead of onStart.
2004-01-29 23:58:27 +00:00
James Vega
17174d134d
Fixed the configure() definition. Fixed Debian.file so that something like
...
"@debian file ntpq" actually works without the user needing meta-characters.
2004-01-29 23:51:20 +00:00
Stéphan Kochen
e0f1538613
Bad indent.
2004-01-29 17:58:38 +00:00
Keith Jones
0c53779a1b
Fixed calc docstring that I inadvertently messed up
2004-01-28 22:50:00 +00:00
James Vega
bc11f76166
Updated configure() to only take one argument (onStart) and switched all of
...
the onStart.append('load pluginName') calls to
conf.registerPlugin('pluginName', True)
2004-01-28 22:19:25 +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
Jeremy Fincher
c61e0c20d3
Converted to use the registry.
2004-01-28 19:05:16 +00:00
Jeremy Fincher
9cf39dfca4
Changed the help of learn to match the registry.
2004-01-28 18:13:21 +00:00
Jeremy Fincher
7f107ff9c2
Made maxSize a config variable, supybot.httpPeekSize.
2004-01-28 16:14:12 +00:00
Jeremy Fincher
b2f5fb630c
Made hierarchical.
2004-01-28 15:53:46 +00:00
Jeremy Fincher
fda68a2252
Updated to add a few more configuration variables.
2004-01-28 14:05:21 +00:00
Daniel DiPaolo
1f60dc36c2
converted QuoteGrabs to use registry
2004-01-28 00:08:43 +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
78d4c39e1b
Forgot not to import configurable.
2004-01-27 20:00:03 +00:00
Jeremy Fincher
10afe5b8dd
Removed bestuptime.
2004-01-27 19:24:39 +00:00
Jeremy Fincher
64f4013a2f
Updated to use the registry.
2004-01-27 18:09:35 +00:00
James Vega
a53819a00d
Fixed some bugs left over from registry conversion.
2004-01-27 16:48:41 +00:00
Jeremy Fincher
05097050ac
Updated to use the registry.
2004-01-27 15:36:49 +00:00
Jeremy Fincher
0627cb9c1c
Updated to use the registry.
2004-01-27 15:28:00 +00:00
Jeremy Fincher
ca094203f5
Updated to use the registry.
2004-01-27 15:20:21 +00:00
Jeremy Fincher
1f76272d91
Removed a URL.
2004-01-27 12:28:27 +00:00
Jeremy Fincher
363fa7e6ea
Changed to notice, stuck an extra empty line in.
2004-01-27 11:25:26 +00:00
Keith Jones
46e6fdaa62
removed stupid print statements
2004-01-26 23:34:28 +00:00
Daniel DiPaolo
778f382229
Filled out the module docstring.
2004-01-26 21:19:07 +00:00
Jeremy Fincher
215a2b3a76
Changed to registry.
2004-01-26 19:17:59 +00:00
Jeremy Fincher
578fca2c06
Deprecated the Friendly plugin.
2004-01-26 18:35:57 +00:00
James Vega
ecf9ed4f9c
Typo
2004-01-26 15:35:29 +00:00
Jeremy Fincher
b8f497af21
Removed useless comment.
2004-01-26 03:48:05 +00:00
Jeremy Fincher
73a660164d
Added optional 'to' handling to translate.
2004-01-25 18:13:13 +00:00
Jeremy Fincher
64b368381f
Fixed capitalization bug in @seen.
2004-01-25 17:24:35 +00:00
Keith Jones
f36113a697
New convert command uses convertcore.py, plus updated units command.
...
Additionally, _floatToString now slightly more lax in checking "near
enough" to zero, and uses same check for "near enough" to int. This was
done so that convert [calc 2*pi] rads to degrees equals exactly 360.
2004-01-25 07:03:27 +00:00
Jeremy Fincher
78eafe3fa6
Fixed the sqrt bug submitted by kmj.
2004-01-24 18:57:01 +00:00
Jeremy Fincher
f3b49e4e88
Added cyborg.
2004-01-23 16:41:01 +00:00
Jeremy Fincher
75ef7630a8
Factored out _floatToString.
2004-01-23 15:43:09 +00:00
Jeremy Fincher
4308350a35
Updated slightly.
2004-01-23 14:20:57 +00:00
Jeremy Fincher
7202aa6d22
Some updates.
2004-01-23 13:32:02 +00:00
Jeremy Fincher
c4bb73205f
Moved StringWithSpaceOnRight to registry.py.
2004-01-23 13:28:53 +00:00
Vincent Foley
89dadb78c6
removed the configurables I had forgotten to remove
2004-01-23 03:40:46 +00:00
Vincent Foley
d5bb45eacc
Modified it to work with the new config scheme
2004-01-22 21:43:07 +00:00
Jeremy Fincher
108bbd8c4f
Factored out _floatToString for kmj.
2004-01-22 00:52:11 +00:00
Daniel DiPaolo
46ec7d815c
Oops, missed a "return" causing "seen --user idontexist" to double-reply.
2004-01-22 00:28:07 +00:00
Jeremy Fincher
5ac4a569a1
Oops, wrong variable name.
2004-01-21 21:28:03 +00:00
Jeremy Fincher
bb92d8e40b
Converted to use the new registry dealio.
2004-01-21 20:10:08 +00:00
Jeremy Fincher
52bdcaf41d
Converted RSS to the new registry dealio.
2004-01-21 19:11:27 +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
James Vega
75b6da806e
Clean up the registry calls
2004-01-21 01:33:59 +00:00
James Vega
e9f77d6ab0
Clean up the registry calls
2004-01-21 01:19:54 +00:00
Jeremy Fincher
6748dc22ee
Converted to use a global value instead of a channel value.
2004-01-20 12:29:11 +00:00
Jeremy Fincher
201f11cc94
Updated for the new registry dealio.
2004-01-20 12:27:48 +00:00
James Vega
9997042575
Added Sf.totalbugs and Sf.totalrfes
2004-01-20 08:00:39 +00:00
James Vega
144a5bc39e
Made replyNoBugzilla a registry variable
2004-01-20 07:57:40 +00:00
James Vega
886e447c8c
env is your friend
2004-01-20 07:15:37 +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
bb97cb3884
Updated not to set the supybot.plugins.Dict value when it registers the plugin.
2004-01-19 23:00:08 +00:00
Jeremy Fincher
4fa547c1c6
Updated the configure function.
2004-01-19 22:37:22 +00:00
Jeremy Fincher
9c0b26ebb0
Updated to make setting channel values and global values easier.
2004-01-19 22:07:41 +00:00
Jeremy Fincher
8424761047
Converted Dict to the new registry format.
2004-01-19 21:38:03 +00:00
James Vega
0b62247ccb
self.open() needs to happen *after* self.filename is set
2004-01-19 21:16:58 +00:00
Jeremy Fincher
224cacc966
Fixed several bugs and added the replies rich reply method.
2004-01-19 20:51:04 +00:00
Jeremy Fincher
6950f65c98
Topic sync has broken one of our invariants.
2004-01-19 20:21:30 +00:00
Jeremy Fincher
eb217d82ae
Changed num to stats.
2004-01-18 08:19:44 +00:00
Jeremy Fincher
6ca78924f3
HUUUUUUUUGE Configuration change.
2004-01-18 07:58:26 +00:00
Jeremy Fincher
79fb00d8d6
Fixed bug #878955 .
2004-01-18 04:55:18 +00:00
Stéphan Kochen
7c9675269d
Case insensitive.
2004-01-16 23:37:37 +00:00
Jeremy Fincher
29426e2f1d
Moved isIP* to utils from ircutils.
2004-01-16 17:33:51 +00:00
Jeremy Fincher
b2f23c6f63
Updated the rest of the code to use utils.changeFunctionName.
2004-01-16 16:39:00 +00:00
Jeremy Fincher
8a322cfddf
Changed from being globally threaded to just threading the email command.
2004-01-16 16:15:10 +00:00
Jeremy Fincher
83cc3132ba
Increase timeout to 2 seconds.
2004-01-15 17:08:57 +00:00
Jeremy Fincher
69f8c40119
Added deprecation support.
2004-01-15 14:08:14 +00:00
Jeremy Fincher
4db8dfb773
Catch an exception uncaught before.
2004-01-15 11:25:04 +00:00
James Vega
fbcec1b89f
Fix the 'No high bidder' bug ( #876914 )
2004-01-15 00:03:20 +00:00
Vincent Foley
80da030351
Changed the HangmanGame class a little and how a game works.
2004-01-14 21:10:42 +00:00
Jeremy Fincher
d18d6b63c7
Committed the fix for the bug mentioned by Flumminator.
2004-01-14 15:46:12 +00:00
Jeremy Fincher
fe0e5e9c43
Fixed uncaught exception on messages with just spaces.
2004-01-14 03:29:05 +00:00
Vincent Foley
20984842f3
Fixed a bug
2004-01-13 06:43:58 +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
8eb9effe6f
removing debug code is good
2004-01-13 05:56:17 +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
James Vega
6a48344a98
I don't know why I named it _res in the first place.
2004-01-13 02:48:25 +00:00
Jeremy Fincher
8039679883
Added a dot.
2004-01-12 18:56:10 +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
75d529872a
Remove some tabs.
2004-01-11 14:47:44 +00:00
Jeremy Fincher
65b139dda9
Changed slightly to use nonCommentNonEmptyLines.
2004-01-11 14:38:11 +00:00
Vincent Foley
57493551ff
YABF
2004-01-09 22:17:38 +00:00
Vincent Foley
9f96715768
Fixed a typo in a variable which caused an exception
2004-01-09 22:01:54 +00:00
Jeremy Fincher
049839cda0
Fixed broken URL.
2004-01-09 19:01:54 +00:00
James Vega
27151f6523
Fix for bug 873896
2004-01-09 17:05:52 +00:00
James Vega
cb73cc3b73
Add some logic to the wind chill/heat index regexes so that they don't grab
...
N/A and clean up the construction of the index string.
2004-01-09 02:50:23 +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
James Vega
626958bef9
Change the path back to normal and switch irc.reply back to how it should be
2004-01-09 00:06:48 +00:00
Jeremy Fincher
585eb4a751
Oops, still had a msg!
2004-01-09 00:03:59 +00:00
James Vega
1c2bdcbf3d
TinyURLs are now 24 characters in length
2004-01-08 23:53:08 +00:00
James Vega
db16ba33ad
Guess I should make sure I delete the debug line and not the code line
2004-01-08 23:45:22 +00:00
James Vega
c6a6fd47b7
Teaches me not to compare strings like they're ints
2004-01-08 23:43:32 +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
1c03464fd9
Huge commit to finish refactoring of replies.
2004-01-08 23:03:48 +00:00
Vincent Foley
5700a69aed
Used Words dbHandler variable and fixed a couple of bugs
2004-01-08 22:31:31 +00:00
Jeremy Fincher
845142e688
Updated replyNotRegistered stuff.
2004-01-08 21:49:10 +00:00
Jeremy Fincher
2846b4ab2f
Updated more replies.
2004-01-08 15:47:38 +00:00
Jeremy Fincher
099b8bc14b
Updated some capabilities stuff.
2004-01-08 15:24:56 +00:00
Vincent Foley
25918481ad
Moved a couple of methods from Words to HangmanGame
2004-01-08 06:44:52 +00:00
Vincent Foley
b44c7b50e5
Cleaned Hangman code:
...
- Made it work with the Word db
- Used a HangmanGame class instead of a dict for states
- Changed lines that were too long
2004-01-08 05:19:31 +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
1863c8b6ad
Nice ChannelDB...
2004-01-08 00:48:30 +00:00
Jeremy Fincher
1132c63d38
I forget what I did.
2004-01-08 00:44:35 +00:00
Jeremy Fincher
aa7408c09b
Changed over to the cool new RichReplyMethods stuff, mostly.
2004-01-07 19:09:24 +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
4b9c025d3a
Oops\!
2004-01-07 13:40:45 +00:00
Jeremy Fincher
81202ebba2
Fixed bug #871986 .
2004-01-07 12:33:00 +00:00
Vincent Foley
58d86e7cd8
Added Hangman
2004-01-07 03:02:03 +00:00
James Vega
f4127b6f03
Added bold configurable
2004-01-06 05:07:30 +00:00
Jeremy Fincher
0d25243fb0
Added configurables for smileys and frowns.
2004-01-06 03:58:48 +00:00
Jeremy Fincher
8d6956f4ae
Add a check for an int id so people who use 'note get' will understand the error message more.
2004-01-06 02:40:16 +00:00
Jeremy Fincher
553d7d6060
Inital commit.
2004-01-05 21:26:41 +00:00
Jeremy Fincher
ce93c286e2
Oops, forgot to change the name of the defined function.
2004-01-05 18:00:29 +00:00
Daniel DiPaolo
4dd0e26ddc
Added configurable prefix to new news item announcements
2004-01-05 01:04:03 +00:00
Jeremy Fincher
17c6e69d2f
Don't replySuccess from Scheduler.repeat.
2004-01-04 15:43:49 +00:00
Jeremy Fincher
f1a68ff16f
Moved seconds command to Misc from Scheduler.
2004-01-04 15:19:41 +00:00
Jeremy Fincher
b2c156609f
Fixed!
2004-01-04 15:16:20 +00:00
Jeremy Fincher
2dbbdb7a4c
Changed the type of the topic-separator configurable.
2004-01-04 13:51:33 +00:00
Jeremy Fincher
4e69914648
Made to relay actions and away messages.
2004-01-04 13:50:43 +00:00
Jeremy Fincher
881a2e000d
Stylistic updates.
2004-01-04 13:49:51 +00:00
Jeremy Fincher
a10900da83
Made throttling work correctly.
2004-01-04 13:02:24 +00:00
Jeremy Fincher
bb74f518a1
Fixed several bugz0rs.
2004-01-04 12:59:10 +00:00
Jeremy Fincher
e989cd4bc1
Added an additional logging message.
2004-01-04 12:44:30 +00:00
Jeremy Fincher
a5bfb61471
Added RFE #799694 , Automatic posting of new RSS news.
2004-01-04 12:34:01 +00:00
Jeremy Fincher
669ac8995f
Moved _urlRe to webutils as urlRe.
2004-01-04 11:18:53 +00:00
Jeremy Fincher
61eb55fa57
Added checking for ops and actually being in the channel to getops.
2004-01-04 09:57:33 +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
c4a122da5a
Fixed bug #869652 .
2004-01-03 06:26:39 +00:00
Jeremy Fincher
b0559e3d75
Added server command.
2004-01-02 21:36:45 +00:00
Jeremy Fincher
68591b1ec9
Fixed bug #868338 (Relay.whois).
2004-01-02 20:59:14 +00:00
Jeremy Fincher
8b6733ee5d
Fixed some bugz0rs.
2004-01-02 19:54:25 +00:00
Jeremy Fincher
8895ffdc1c
Should fix bugs #858964 #862544 .
2004-01-01 20:09:35 +00:00
Jeremy Fincher
24d191d5dc
Added non-snarfing-regexp and title-snarfer-includes-url configurables.
2004-01-01 20:08:03 +00:00
Jeremy Fincher
b1cd34b91e
Added better handling, hopefully fixing bug #860614 .
2004-01-01 20:06:42 +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
526f8d7314
Make sure to relay actions and away messages.
2004-01-01 19:10:20 +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
Daniel DiPaolo
629dd867f1
Fixed lack of case-insensitivity in randomquote
2003-12-29 11:12:37 +00:00
Daniel DiPaolo
f886d6529f
fixed another .0 bug
2003-12-29 03:12:47 +00:00
Daniel DiPaolo
6000b1c27d
Fixed a few places where int()'ing COUNT result cols was required
2003-12-27 09:31:38 +00:00
Daniel DiPaolo
7b0af3d67f
Fixed a _really stupid_ error message buglet. Man I suck sometimes.
2003-12-22 01:03:09 +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
bddac5c382
Oops, shouldn't have made self._whois an IrcDict.
2003-12-18 08:29:17 +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
eca71949b4
Minor code cleanup.
2003-12-17 13:16:42 +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
d4136073e1
Forgot an import.
2003-12-16 21:20:27 +00:00
Jeremy Fincher
6df8eed142
Caught a previous uncaught exception.
2003-12-16 21:01:59 +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
a12c4200ac
Forgot a return.
2003-12-16 13:45:37 +00:00
Jeremy Fincher
cf80ab7800
Added Relay.command.
2003-12-16 13:44:09 +00:00
Jeremy Fincher
86363520b8
Minor changes.
2003-12-16 13:35:42 +00:00
Jeremy Fincher
bb4d9afe16
Made more platform-neutral (ironically).
2003-12-16 13:34:12 +00:00
Jeremy Fincher
2ba68353dd
Added RFE #859119 , configurable karma response.
2003-12-16 13:06:21 +00:00
Jeremy Fincher
54102ae5f7
Stupid vim! Didn't show my my syntax error.
2003-12-16 12:27:36 +00:00
Jeremy Fincher
d168314786
Added a little better checking to the spell command.
2003-12-16 04:21:28 +00:00
Jeremy Fincher
dfe9008248
Oops, I'm retarded. f.func_name needed to be just name.
2003-12-16 03:10:02 +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
0fbfe32538
Added an appropriate error message when acronymfinder.com cuts us off.
2003-12-12 18:33:00 +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
c922957655
Changed got376 to afterConnect.
2003-12-12 12:47:23 +00:00
Jeremy Fincher
a551c32267
Just an early start on the more complex stuff.
2003-12-12 12:29:22 +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
James Vega
e196650f20
Fixed some grammar errors
2003-12-10 22:55:48 +00:00
Jeremy Fincher
b7fbaedcad
Made sure it doesn't relay CTCP messages.
2003-12-10 18:50:35 +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
c6d77bb923
Added a topic-sync configurable for determining whether or not the bot should relay topic changes.
2003-12-10 08:27:30 +00:00
Jeremy Fincher
7f7562ef42
Allow ambiguous aliases.
2003-12-10 07:43:45 +00:00
Jeremy Fincher
9678560c98
Made configurable.
2003-12-10 06:58:17 +00:00
Jeremy Fincher
8df0b3888f
Nicer error message.
2003-12-09 20:46:40 +00:00
James Vega
66ec4ab4d7
Improve some error handling and test some more uses
2003-12-09 15:57:19 +00:00
James Vega
15a2b84a36
Yeah, for fixing code that wasn't the cause of the problem I was trying to
...
fix. Lemme put that back to normal.
2003-12-09 15:24:14 +00:00
James Vega
f4995b4df9
user->nick change for Relay.whois
2003-12-09 14:56:45 +00:00
James Vega
76e20b9c72
Got rid of another urlopen call
2003-12-09 14:52:32 +00:00
James Vega
05238bfcc6
Topic.reorder: Fixed some bugs found via jemfinch's new tests
2003-12-09 14:51:04 +00:00
James Vega
8fe7d7e4e8
Add identified status and away message to Relay.whois
2003-12-09 14:35:54 +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
8fb158d434
Robustified.
2003-12-09 04:57:34 +00:00
Jeremy Fincher
ec16d3ae8b
Reverted a version.
2003-12-09 00:39:16 +00:00
Jeremy Fincher
5d9ecea552
Fixed bug in Poll.add, it didn't handle sqlite returning a string.
2003-12-09 00:35:13 +00:00
Jeremy Fincher
60797f770d
Handle p.d.o being down gracefully.
2003-12-09 00:32:53 +00:00
Jeremy Fincher
6b5d32c4b5
Removed an old comment.
2003-12-09 00:03:42 +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
James Vega
946d9b234c
Http.weather: Cleaned up some regexes and added proper checking to re.search
...
result assignments. Added reporting of Heat Index/Wind Chill if they are
different than the actual temperature.
2003-12-08 15:38:49 +00:00
Jeremy Fincher
7d7e396bac
Converted to use a DBHandler.
2003-12-08 13:15:00 +00:00
Jeremy Fincher
836ef993df
Converted to use a DBHandler.
2003-12-08 13:08:14 +00:00
Jeremy Fincher
0719b5e6b8
Stylistic changes.
2003-12-07 05:33:31 +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
Jeremy Fincher
8727e620ad
Fixed several latent bugs, made much more robust.
2003-12-06 23:49:22 +00:00
Jeremy Fincher
d06418633c
Changed \x02...\x0F to an ircutils.bold.
2003-12-06 13:26:00 +00:00
Jeremy Fincher
f26115bb9b
Fixed bug #853654 .
2003-12-05 12:08:24 +00:00
Jeremy Fincher
5a6b5329f1
Fixed bug #854232 .
2003-12-05 12:01:19 +00:00
Daniel DiPaolo
f85a069eec
Oops, the old logic for starting option ids at 1 was bogus.
2003-12-05 03:55:28 +00:00
Daniel DiPaolo
c7f50eb31c
Added some poll enhancements
2003-12-05 02:53:20 +00:00
Jeremy Fincher
56b68d6893
Fixed bug #853904 .
2003-12-04 08:50:49 +00:00
Jeremy Fincher
c8783e5ce6
Added an icalc command for doing calculations with real integers.
2003-12-04 08:29:19 +00:00
Jeremy Fincher
e46765f426
Added a trusted capability (defaulting to off); made Utilties.re require it.
2003-12-04 08:28:56 +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
93d3d78ccb
Commented out some debugging log statements (yes, I realize they were in a
...
huge comment block already)
2003-12-04 02:04:56 +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
4aa05c353a
Added ping command.
2003-12-03 23:56:06 +00:00
Jeremy Fincher
3398f1a819
Made the error message better when people try to run a plugin that requires sqlite and they don't have it.
2003-12-03 23:48:00 +00:00
Jeremy Fincher
2aaca31709
Moved Configurable out to its own module.
2003-12-03 23:14:09 +00:00
Jeremy Fincher
e23bf4167b
Use items() intead of iteritems() because we're deleting from the dictionary.
2003-12-03 21:54:18 +00:00
Jeremy Fincher
8cbcb2e225
Added some informational logging.
2003-12-03 21:45:02 +00:00
Jeremy Fincher
7accc317a7
Fixed the 'Alias raises a buttload of exceptions' bug.
2003-12-03 21:42:48 +00:00
Jeremy Fincher
246afc30e1
Made it not depend on Alias anymore.
2003-12-03 21:21:43 +00:00
Jeremy Fincher
c6b232b588
Made to require admin capabilities to add/remove lookups.
2003-12-03 21:19:49 +00:00
Jeremy Fincher
ed5fede565
Added Note.unsend command.
2003-12-03 21:00:56 +00:00
Jeremy Fincher
b2f98258a6
Fixed bug in handling of pages less than maxSize but with no Content-length header.
2003-12-03 20:47:33 +00:00
Jeremy Fincher
0f3dcf0c01
Added Http.size, Http.doctype, and Http.headers.
2003-12-03 05:24:18 +00:00
Jeremy Fincher
7b9c0ccd86
Changed the name of WebException to WebError.
2003-12-03 04:57:30 +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
31de7d0cf8
Fixed bugz0r!
2003-12-03 02:43:30 +00:00
Jeremy Fincher
e9b20c83ec
Fixed bugz0r!
2003-12-03 02:26:20 +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
Daniel DiPaolo
fe9468c0e6
Always bet on black!
2003-12-03 01:43:38 +00:00
Jeremy Fincher
fd06e1c7ee
Changed to use DBHandler.
2003-12-02 22:40:50 +00:00
Jeremy Fincher
2f7d2d7f61
Gave DBHandler a .die() method.
2003-12-02 22:40:33 +00:00
Jeremy Fincher
77a8d8bd2d
Added swap to rpn.
2003-12-02 22:08:46 +00:00
Jeremy Fincher
ee5de6e0d7
Made sure to depluralize the command name.
2003-12-02 19:02:53 +00:00
James Vega
6e46263279
Cleaner line break
2003-12-02 19:01:59 +00:00
James Vega
7a418a1bf6
Damn, it feels good to be a ChannelDB
2003-12-02 19:00:11 +00:00
James Vega
9277d4113f
According to pysqlite 0.50.0 you can have a fractional number of items in a db
...
:(
2003-12-02 18:58:28 +00:00
Jeremy Fincher
1ff44651a9
Intify the stupid help.
2003-12-02 18:50:46 +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
ee8be5abc1
Stupid SyntaxError!
2003-12-02 16:25:02 +00:00
Jeremy Fincher
b5f6155e66
Changed to be a ChannelDBHandler.
2003-12-02 13:54:57 +00:00
Jeremy Fincher
1f4c16367a
Should be able to reload Relay now, but it's untested.
2003-12-02 13:39:30 +00:00
Jeremy Fincher
bc56a8e3f2
Handle errors in getUrlFd properly in Http.kernel.
2003-12-02 11:31:27 +00:00
Jeremy Fincher
1aaf611158
Made sure the fd gets closed in Http.kernel.
2003-12-02 11:19:53 +00:00
Jeremy Fincher
aaef8cdf70
Webutilified.
2003-12-02 11:18:51 +00:00
Jeremy Fincher
5549322771
Fix for bug #852422 .
2003-12-02 11:16:26 +00:00
Jeremy Fincher
2f1c8415b6
Added getUrlFd, used it in Http.kernel.
2003-12-02 11:10:31 +00:00
James Vega
f65b3cd8c0
w00t! we have more than 1 command
2003-12-02 07:38:18 +00:00
James Vega
9fe682fe29
I have the *power*! ... of webutils
2003-12-02 06:03:42 +00:00
James Vega
53b9a47e92
I canno' do it capt'n. My irc.error doesn't have a msg
2003-12-02 05:49:10 +00:00
James Vega
a0b0999762
Apparently the pigs at hamweather think Tsra == Thunder Storms. I didn't find
...
that to be very obvious, so I added a little .replace() to be more friendly
2003-12-02 03:10:16 +00:00
Jeremy Fincher
b1f0bbe887
Shouldn't have taken out the callCommand when I converted to webutils.
2003-12-02 00:25:54 +00:00
Jeremy Fincher
8d9ed6bf87
Added webutils module; used it in Http.
2003-12-02 00:12:45 +00:00
Jeremy Fincher
9264b635e2
Added most command.
2003-12-01 23:47:37 +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
James Vega
23d81ec0cd
Removed pydoclink (whose idea was it to add that useless command anyways?) /me
...
hides
2003-12-01 18:15:53 +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
efa81e0ac2
Fixed SyntaxError.
2003-12-01 12:03:23 +00:00
Jeremy Fincher
ca6ebdce52
Added some extra logging of eval'ed expressions.
2003-12-01 11:25:48 +00:00
Jeremy Fincher
cada17ebb3
Added logging of the regexp and originator, in case of abuse.
2003-12-01 11:17:00 +00:00
Jeremy Fincher
fb2d9b7f4f
Various re fixes, including bug #850931 .
2003-12-01 11:06:17 +00:00
James Vega
42e43531fc
irc.error()'s need a msg
2003-12-01 04:10:50 +00:00
James Vega
b0fa84408e
Added pydoclink, a command which returns a link to the current documentation
...
for the specified module
2003-11-30 23:24:09 +00:00
James Vega
3adad29021
Removed extraneous paren
2003-11-30 17:56:39 +00:00
Jeremy Fincher
72f93610b1
Fix for bug #851254 .
2003-11-29 18:45:29 +00:00
Jeremy Fincher
e15d15f794
Made sure Http.title doesn't read infinitely.
2003-11-29 02:34:07 +00:00
Jeremy Fincher
0b0d10fc82
Removed periods at the end of the reason.
2003-11-28 19:04:24 +00:00
Jeremy Fincher
a40742edb7
Added the id of the just-added todo to the reply.
2003-11-28 18:29:04 +00:00
Jeremy Fincher
b0fa390f99
Added the number of people to Relay.names.
2003-11-28 18:22:41 +00:00
Daniel DiPaolo
13b718ff96
It's probably a lot more useful to list the most popular options first in the
...
results.
2003-11-26 21:24:09 +00:00
Daniel DiPaolo
ea23b47163
Did a complete rework of the poll plugin.
2003-11-26 20:27:42 +00:00
Jeremy Fincher
e187479e19
Fixed crossword bug committed by Xylo.
2003-11-26 19:01:45 +00:00
Jeremy Fincher
48166f4895
Huge update to the logging infrastructure.
2003-11-26 18:21:12 +00:00
Daniel DiPaolo
c97fe5e4a1
The configurable help message now includes an example.
2003-11-26 17:27:50 +00:00
Daniel DiPaolo
1999cb4bbe
ddipaolo-- (hey buddy, next time you might want to actually update the
...
configurable item's help string when you copy it from another module)
2003-11-26 17:24:31 +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
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
574c861cdb
Fixed bugs with stupid contractions in NickServ notices.
2003-11-25 15:37:25 +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
77393f83ad
Fixed bug in identification/doNotice code that would cause an infinite loop if the stupid services on the stupid (coughoftccough) network use a contraction.
2003-11-25 10:30:58 +00:00
Jeremy Fincher
2c779bd543
Changed Alias.freeze to Alias.lock.
2003-11-25 10:19:40 +00:00
Jeremy Fincher
6d3cb48c51
Fixed uptime sorting.
2003-11-25 09:45:01 +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
1687b3f916
Wasn't using an IrcString for the chanserv nick.
2003-11-25 08:28:41 +00:00
Jeremy Fincher
5f4a541fe1
Added __revision__ strings.
2003-11-25 08:23:47 +00:00
Jeremy Fincher
6ce845f8d3
Updated to include strings in @objects output.
2003-11-25 08:20:41 +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
0a13904a13
Added an additional check to weather. Fixed getting a single
...
argument that coudl not be found properly.
2003-11-24 20:35:26 +00:00
Jeremy Fincher
f53c92cce9
Fix for bug #847950 .
2003-11-24 09:40:27 +00:00
Daniel DiPaolo
2cdd2392ff
Fixed an UnboundLocalError caused by forgetting to assign a default None value
...
to some vars.
2003-11-24 06:12:09 +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
d05a9a3121
Updated for newly tweaked acronymfinder page.
2003-11-23 13:20:20 +00:00
Jeremy Fincher
d1bbb015a8
Poor attempt to fix the 33 years bug.
2003-11-23 13:01:19 +00:00
Jeremy Fincher
f7d5be5ee8
Explained the sf alias and its usefulness.
2003-11-22 17:10:41 +00:00
Jeremy Fincher
6ae0a0b8c4
Made configure handle comments and empty lines.
2003-11-22 06:57:03 +00:00
Jeremy Fincher
27ce1d3cc7
Fixed an uncaught exception in configure.
2003-11-22 06:54:42 +00:00
Jeremy Fincher
7642def926
Don't bother asking about Alias if it's already been loaded.
2003-11-22 06:42:11 +00:00
Jeremy Fincher
41c2ead5bd
Changed to be a Configurable, fixed a few possible bugs.
2003-11-22 04:23:59 +00:00
Jeremy Fincher
b1f424d1ed
Handled Windows' timeout number on socket.error.
2003-11-22 03:57:38 +00:00
Jeremy Fincher
0b9d7bd0bb
Fixed bug #847032 .
2003-11-22 03:50:45 +00:00
Jeremy Fincher
0e8891871f
Minor stylistic fixes (I thought there'd be more, but I solved another problem without messing with this plugin).
2003-11-22 02:10:13 +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
4ed97b0ba5
Changed to use a DBHandler.
2003-11-22 00:55:08 +00:00
James Vega
f2f61fdfad
Configure question about snarfer should be for all users
2003-11-22 00:51:27 +00:00
Jeremy Fincher
6b5ef88c06
Added some debugging printfs that may be useful in the future.
2003-11-22 00:40:46 +00:00
Stéphan Kochen
7b26501f15
Some small fixes to Poll.
2003-11-22 00:31:55 +00:00
Jeremy Fincher
d83cf1450f
Fix for bug #846714 .
2003-11-21 22:22:18 +00:00
Jeremy Fincher
0cc2c2f49f
Fixed html entities in rss titles.
2003-11-21 19:07:14 +00:00
Jeremy Fincher
10fe799033
Fixed handling of timeout on socket in Debian.version.
2003-11-21 18:16:27 +00:00
Jeremy Fincher
cdda36f9fb
Fixed the self-lart bug.
2003-11-21 17:42:41 +00:00
Jeremy Fincher
581dcda8e0
Tweaked output of seen.
2003-11-21 17:32:14 +00:00
Jeremy Fincher
e9b81580a4
Fixed lots of raised exceptions because I had the wrong number of arguments.
2003-11-21 15:32:14 +00:00
Jeremy Fincher
b3aade6984
Cleaner output for nonexistent entries.
2003-11-21 13:02:26 +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
Jeremy Fincher
6f93426d66
Minor style update.
2003-11-21 11:58:16 +00:00
Jeremy Fincher
0ab9d4e3ec
Do sorting the right way (not only are cmp functions slow, but with nicks you need to sort by ircutils.toLower, not str.lower).
2003-11-21 11:45:43 +00:00
James Vega
e3b09746c0
Now we can sort names independent of case!
2003-11-20 23:46:56 +00:00
James Vega
8b9f5a607f
Fix the Google Groups snarfer bug and added appropriate tests
2003-11-20 19:53:15 +00:00
Brett Phipps
e21d7109cb
Fixed the problem where country abbreviations that match USA State
...
abbreviations will never be found.
Arizona seemed to be missing from our _realStates set. It's in there now.
Added a _mapCountries to map 'obviously' debatable country abbreviations.
(Just have uk->gb in there at the moment. I probably missed a few).
2003-11-20 05:27:03 +00:00
Jeremy Fincher
fb4a4ffca7
Changed the default of the snarfer, added a question to configure.
2003-11-19 23:34:53 +00:00
Jeremy Fincher
2a5cc04749
Finished the alias sf question in configure.
2003-11-19 23:18:34 +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
0b90d80fee
Caught the right error.
2003-11-19 14:56:21 +00:00
Stéphan Kochen
15639d8a1d
Multiple choices for polls. Still broke.. needs tests.. etc etc. Work in progress :)
2003-11-18 22:48:28 +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
9d44399ed5
Fixed an uncaught exception in Debian.version.
2003-11-18 10:49:15 +00:00
Daniel DiPaolo
20674eaece
Updated the plugin docstring.
2003-11-17 23:17:58 +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
5cfe9ffd3e
Yay! We finally have a threaded Markov plugin
2003-11-17 18:21:44 +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
31c05776c6
Update configure() and configurable default states so that the default for
...
snarfers is off and all users are asked whether they would like to enable the
snarfer
2003-11-17 18:09:42 +00:00
James Vega
f6e848511b
All tinyurl related commands now query the local database to see if a tinyurl
...
already exists for the url that is being snarfed/passed as an argument. If
not, tinyurl.com is used to generate the tinyurl
2003-11-17 17:30: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
47817f8ea3
Updated error message for overflow.
2003-11-17 15:55:43 +00:00
Jeremy Fincher
76f4a8fb95
Forgot to change configure to reflect the revenge update.
2003-11-17 14:46:10 +00:00
Jeremy Fincher
e0542698dc
Converted revenge to a configurable; still considering ChanServ.
2003-11-17 14:37:43 +00:00
Jeremy Fincher
8dea8d47ae
Changed snarer to auction-snarfer.
2003-11-17 08:36:07 +00:00
Jeremy Fincher
df0652302c
Fixed help string for alias add.
2003-11-17 06:06:43 +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
398045b1e4
Commented out a debug.printf.
2003-11-17 03:42:56 +00:00
James Vega
8ec0a350a0
The configurable key wasn't updated properly.
2003-11-17 01:55:11 +00:00
James Vega
b6efb5c212
configure() should append 'load Dict' to onStart, not 'load Dictionary'
2003-11-17 01:27:21 +00:00
Jeremy Fincher
320d6b003c
Fix for bug #842414 .
2003-11-15 08:09:29 +00:00
Jeremy Fincher
27ce432b64
Made ChannelDBHandler threadsafe, and wrote a DBHandler for threadsafe non-channel-based databases.
2003-11-15 07:56:27 +00:00
Jeremy Fincher
dc93f865db
Changed some maps/filters to imaps/ifilters for efficiency reasons (I was bored, basically).
2003-11-15 04:46:09 +00:00
Jeremy Fincher
eb6e112f70
Changed some maps/filters to imaps/ifilters for efficiency reasons (I was bored, basically).
2003-11-15 04:37:04 +00:00
Jeremy Fincher
28d371aeca
Fixed spell problems; stopped caching spell fds (it's not called often enough to care, or go through the trouble).
2003-11-15 04:25:28 +00:00
Jeremy Fincher
927b1d4e65
Removed vestigal quotegrabs table statement.
2003-11-14 19:10:51 +00:00
Jeremy Fincher
d4e5047ebf
Fixed bugs in option parsing.
2003-11-14 15:49:13 +00:00
James Vega
7a9482a176
Let ++/-- regexps have whitespace on the end
2003-11-14 15:09:30 +00:00
James Vega
557e518a96
Of course I can't reproduce the bug when I'm testing the fix for it, but this
...
should take care of the bad error message.
2003-11-14 14:06:19 +00:00
Jeremy Fincher
f3e2e2a1ed
Added a squish command/outfilter.
2003-11-13 20:24:40 +00:00
Jeremy Fincher
563e5ad2bf
Style updates.
2003-11-13 19:21:22 +00:00
Jeremy Fincher
d496328e81
Fixed bug in formatting of pydoc.
2003-11-13 17:56:51 +00:00
Jeremy Fincher
02b2eddd45
Multiple bugs that couldn't be tested while the dict.org server was down have now been tested, found, and eradicated.
2003-11-13 17:11:52 +00:00
James Vega
965d8e0b5f
The dots need to escape from tinyurl
2003-11-12 17:30:24 +00:00
James Vega
4ce677bc6e
Slight syntax fix for @weather reply
2003-11-12 17:22:23 +00:00
James Vega
988ac324b4
Not all tinyurls end in 4 random characters, so I shouldn't be looking for 4
...
characters. Switched to \w+
2003-11-12 14:39:44 +00:00
Jeremy Fincher
e4f912fc51
Made Aliases disambiguate themselves, and made that API in Owner public.
2003-11-12 02:18:22 +00:00
Jeremy Fincher
2f2d8130df
Forgot to update the configure function for the new Configurable-ishness.
2003-11-12 01:31:31 +00:00
Jeremy Fincher
760483e2f0
Converted to Configurable.
2003-11-12 01:12:57 +00:00
Jeremy Fincher
dd4c09e1a4
Updated to include timeouts on the connection; changed name back to Dict.py.
2003-11-12 00:46:26 +00:00
Jeremy Fincher
e828c3350e
Need a return after the dispatch to _oldnotes.
2003-11-11 17:09:45 +00:00
James Vega
d60df81a40
zeropad the color code used in colorize so that we don't lose characters, at
...
least any more than we already lose to the irc character limit, which will be
even more now that we are zeropadding...
2003-11-11 16:33:38 +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
5149d17b6a
Made Configurable persistent.
2003-11-11 15:58:20 +00:00
Jeremy Fincher
94041acb9b
Changed to use utils.abbrev to allow any unambiguous abbreviation.
2003-11-11 14:14:34 +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
225ee0ed6a
Oops, SyntaxError.
2003-11-11 12:11:13 +00:00
Jeremy Fincher
fdde2759df
Reordered superclasses so the proper die() method is called.
2003-11-11 11:45:44 +00:00
Jeremy Fincher
754978850c
Give a proper error message for possibly uncaught exception: bug #839653 .
2003-11-11 11:37:17 +00:00
Jeremy Fincher
3b6b478aac
Moved action to Misc from Utilities.
2003-11-11 11:32:09 +00:00
Jeremy Fincher
405f4ab8d9
Fixed bugs #833206 and #837628 .
2003-11-11 11:30:32 +00:00
Jeremy Fincher
c50e27a278
Fixed bug #838900 .
2003-11-10 23:39:44 +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
bb9cb5d67c
Fixed some bugs, tested some more and fixed those two. Boomshakalaka!
2003-11-10 22:43:19 +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
Jeremy Fincher
8f1329b20e
Refactored a touch.
2003-11-10 15:26:55 +00:00
Jeremy Fincher
973cc66793
Didn't have a .users before the getUser.
2003-11-10 15:21:08 +00:00
Jeremy Fincher
9dd2680a9f
Fix for bug #839053 (parens without bars not handled correctly).
2003-11-10 10:46:57 +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
234728b322
Changed to Configurable.
2003-11-08 09:51:05 +00:00
Jeremy Fincher
024f462361
Converted to Configurable.
2003-11-08 09:44:04 +00:00
Jeremy Fincher
6519d08ed4
Removed the Toggleable subclass, since it wasn't being used at all (accidentally committed earlier, I'm sure).
2003-11-08 09:28:02 +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
3ed58d9115
Updated to use Configurable.
2003-11-08 08:07:44 +00:00
Jeremy Fincher
64e664e0bc
Converted to use Configurable instead of Toggleable.
2003-11-08 08:01:34 +00:00
Jeremy Fincher
2058d50eb3
Converted to Configurable.
2003-11-08 07:37:41 +00:00
Jeremy Fincher
5fb5533e49
Hopefully fixed bugs in Unix.spell once and for all.
2003-11-08 07:29:45 +00:00
Daniel DiPaolo
4711e227f4
Fixed a few more metacharacter DoS bugs.
2003-11-08 03:16:24 +00:00
Jeremy Fincher
e5249c859d
Updated to use Configurable.
2003-11-08 00:10:38 +00:00
Jeremy Fincher
143295104a
Updated.
2003-11-08 00:09:54 +00:00
Jeremy Fincher
69adce4a57
Added Configurable class and changed Ebay to use it (as an example).
2003-11-07 20:11:37 +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
James Vega
c32939ffb1
Using 'was url)' caused problems since () are legal characters in a url.
...
Switched to 'was <url>)' for tinysnarf replies.
2003-11-07 14:59:33 +00:00
James Vega
25aacc3cd7
Add name ordering and mode-characters for relay names. Name ordering is also
...
done by mode (ops sorted, then voices, etc)
2003-11-07 14:54:48 +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
5a6f3ee7bb
Removed the example strings until we figure out what to do with them
2003-11-06 20:42:27 +00:00
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
Jeremy Fincher
06ce1bcb94
Added change.
2003-10-30 04:36:40 +00:00
Jeremy Fincher
3f081ee21c
Added some error checking to join and part.
2003-10-30 04:06:46 +00:00
Jeremy Fincher
bc6f4bd149
Converted to not use the new module but the types module instead.
2003-10-30 03:46:31 +00:00
Jeremy Fincher
8d04bdbcb6
Refactored some stuff to be a bit cleaner.
2003-10-30 03:38:55 +00:00
Jeremy Fincher
1280dbdc90
Added test, fixed a bug it found.
2003-10-30 02:33:04 +00:00
Jeremy Fincher
29d20d2513
Changed the color command to a toggle.
2003-10-30 02:03:49 +00:00
Jeremy Fincher
646e41bd53
Changed the regexp for sfSnarfer to make it a little easier to read.
2003-10-30 00:13:00 +00:00
Daniel DiPaolo
0011fff94e
Changed all %d's to %s's
2003-10-29 22:05:53 +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
3b0276e688
Fixed a dumb dumb bug where I forgot to include the "msg" arg for irc.error
2003-10-29 17:26:05 +00:00
Jeremy Fincher
2a0687e46c
Fixed AttributeError in seen.
2003-10-29 16:18:16 +00:00
Jeremy Fincher
2b68eb908f
Make seen not error if it doesn't recognize the user.
2003-10-29 16:15:33 +00:00
Jeremy Fincher
08f5adf362
Ew, ugly SQL!plugins/Quotes.py
2003-10-29 08:38:15 +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
0400f02f13
Added the Toggleable.__init__'s and therefore the help commands
2003-10-29 07:23:20 +00:00
Jeremy Fincher
6d36432508
Fixed __init__ and its error with instancemethods not having adjustable __doc__ strings.
2003-10-29 06:35:02 +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
Daniel Berlin
0c96bf73a7
Made replies all one message
2003-10-29 02:41:03 +00:00
Jeremy Fincher
acd36c80d4
Added toggles for auto-{op,voice,halfop}
2003-10-29 00:04:30 +00:00
Jeremy Fincher
2757f239b1
Added solaris to the list of supported operating systems for memory stats.
2003-10-28 20:18:33 +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
James Vega
8ae59844bf
Fix some typos I thought I had already committed
2003-10-28 14:29:06 +00:00
Jeremy Fincher
80deb23897
Fix for relay whois bug with the reporting of status on channels.
2003-10-28 14:08:11 +00:00
Jeremy Fincher
a34589cce7
Completed the removal of callbacks.Privmsg.doPrivmsg.
2003-10-28 06:30:42 +00:00
Jeremy Fincher
0a34794a33
Small stylistic change and removed the returns from invalidCommand.
2003-10-28 06:09:05 +00:00
Jeremy Fincher
7703e3f4d7
Typo fixes.
2003-10-28 06:05:51 +00:00
Jeremy Fincher
ef4aed0db3
Just some slight style things (I'm committing because DannyB will be hacking on it later).
2003-10-28 05:50:40 +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
Daniel DiPaolo
faea5a5909
Split out dunnos from MoobotFactoids (into Dunno.py) in anticipation of the
...
invalidCommand infrastructure addition.
2003-10-28 01:46:58 +00:00
James Vega
114909f702
Fix a silly line-continuation error
2003-10-28 00:20:23 +00:00
James Vega
6e911131fd
plugins/Gameknot.py: Add replyPossibleBug string to 'page format' error
...
src/conf.py: Fix a typo in replyPossibleBug string
2003-10-27 23:45:15 +00:00
James Vega
d370c485f6
Fix a new bug where a person not having a 'seen' status wasn't properly
...
trapped
2003-10-27 23:22:35 +00:00
James Vega
ed44f00c6f
Missed an 's' in there
2003-10-27 23:02:48 +00:00
James Vega
61576fdd13
Reworked the togglesnarfer stuff
2003-10-27 22:58:47 +00:00
James Vega
1e4879dfb1
Reworked the togglesnarfer mechanism
2003-10-27 22:57:05 +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
Stéphan Kochen
5ace5a48ad
Some fixes to Poll, removed delete command, added example.
2003-10-27 15:11:45 +00:00
Jeremy Fincher
aab9d8a3a0
Made the output of gkstats a little prettier.
2003-10-27 05:13:31 +00:00
Jeremy Fincher
a1c911e954
Added the ability to see notes you've sent yourself.
2003-10-26 17:50:12 +00:00
Jeremy Fincher
ebcc9a3f1d
Added the ability to see notes you've sent yourself.
2003-10-26 17:49:11 +00:00
Jeremy Fincher
0f45fe2c36
Fixed bug in testGreet.
2003-10-25 18:22:52 +00:00
Jeremy Fincher
218e53b409
Removed the die on the IRC object in relay disconnect because that makes all the plugins die.
2003-10-24 23:15:04 +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
42795d34d0
Removed the percentage thing, it's not entirely useful.
2003-10-24 21:42:54 +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
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
James Vega
df3602bf4d
Added another field (Submitted by) to the snarfer. Centralized the re options
...
for the parsers
2003-10-24 12:38:45 +00:00
Jeremy Fincher
660ba14e96
Fixed some failing test cases.
2003-10-24 11:03:43 +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
d54ec97253
Fixed bug in CVS.
2003-10-24 08:57:02 +00:00
Daniel DiPaolo
8229759769
Added 'setpriority' and tests.
2003-10-24 07:12:51 +00:00
Daniel DiPaolo
c1ee1b8c10
Cosmetic fixes.
2003-10-24 06:11:16 +00:00
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
James Vega
c202848677
Lots of cleanups.
...
Added a generic _formatResp that works with both bugs and rfes.
Renamed _*Opts and _{bug,rfe}Re so that they can be used with both bugs and rfes (since they're the same for both cases).
Bolded the description when requesting a single bug/rfe.
2003-10-11 18:40:22 +00:00
Jeremy Fincher
5c1ecc2248
Better error messages in addAlias.
2003-10-11 12:48:12 +00:00
Jeremy Fincher
eb01a8e99d
Removed pi -> 3.14 capability.
2003-10-11 03:37:38 +00:00
Jeremy Fincher
e9bcf8a98d
Should've been removed a long time ago.
2003-10-10 23:03:40 +00:00
James Vega
6fa0ef039d
Cleaned up the usage example
2003-10-10 13:55:38 +00:00
James Vega
3c5978a76e
Added the Sourceforge plugin (which has the commands: bugs and rfes) and the
...
accompanying tests
2003-10-10 13:47:06 +00:00
Jeremy Fincher
ecbdb0bbbe
Made the bot not relay his own TOPIC messages.
2003-10-10 13:37:23 +00:00
Jeremy Fincher
48f71bb29c
Made to relay topic changes.
2003-10-10 06:10:50 +00:00
Daniel DiPaolo
9f2352fbea
* Fixed searchtodo
...
* Wrote tests for Todo.py
2003-10-10 05:47:19 +00:00
Jeremy Fincher
1e8de55ff8
Fixed bug where factoids would raise a DatabaseError when there were no arguments given.
2003-10-10 05:44:41 +00:00
Jeremy Fincher
816d59b141
Don't bother with the questions about the info alias. No one cares.
2003-10-10 03:18:52 +00:00
Jeremy Fincher
2afb4ef965
Fix for bug #820810 : Don't ask to load Alias if Alias is already loaded.
2003-10-10 03:17:24 +00:00
Jeremy Fincher
bc3ec9f70c
Fixed pluralization bug in stats command.
2003-10-09 19:20:50 +00:00
Jeremy Fincher
30b054c6cb
Fixed several bugs and added a test to make sure they don't happen again.
2003-10-09 16:38:14 +00:00
Jeremy Fincher
fc24f3ded1
Made seen case-insensitive.
2003-10-09 06:43:58 +00:00
Jeremy Fincher
7973dc8921
Fixed bug #820259 , where he was killing himself if his nick didn't exactly match in case.
2003-10-09 05:49:01 +00:00
Jeremy Fincher
7b28caba1b
Converted karma stuff to use addressedRegexps.
2003-10-09 05:08:18 +00:00
Jeremy Fincher
aa7efcbad9
Fix for some bad tests; added support, fixed a long-latent bug that I thought was being tested for but wasn't.
2003-10-09 05:00:56 +00:00
Jeremy Fincher
7943351acb
Added a missing commit.
2003-10-09 04:37:36 +00:00
Jeremy Fincher
10651494f5
Fixed Debian to use fix functions appropriately :)
2003-10-08 20:56:22 +00:00
James Vega
18d52f8b27
Needed to import fix and call fix.rsplit instead of utils.rsplit
2003-10-08 18:39:44 +00:00
Jeremy Fincher
b719ab6c24
Fixed bug in looking up specific factoids.
2003-10-08 16:24:41 +00:00
Jeremy Fincher
8b7b4d97ac
Added wildcard support, as per RFE #817309
2003-10-08 13:53:41 +00:00
Jeremy Fincher
f28bed51ec
Fixed bug in relaywhois response.
2003-10-08 06:25:05 +00:00
Jeremy Fincher
e0184c5422
Added some more error-checking to the addAlias method.
2003-10-08 01:26:10 +00:00
Jeremy Fincher
28fb603ca0
Added some more error-checking to the addAlias method.
2003-10-07 22:19:08 +00:00
Jeremy Fincher
1099ca0705
Changed whois to internic.
2003-10-07 21:38:11 +00:00
Jeremy Fincher
9f2d619db8
Changed the pass statements to 'raise NotImplementedError' statements so the new changenews test would error out more quickly.
2003-10-07 09:32:42 +00:00
Daniel DiPaolo
c5a7573f87
* First version of the Todo plugin, simple but functional enough for the
...
most simple of uses.
2003-10-07 06:50:21 +00:00
Jeremy Fincher
de5202cc27
Bugfix.
2003-10-06 21:17:21 +00:00
Daniel DiPaolo
8fba4a85f5
* Fixed a little buglet in the debversion output where the "Shown" count
...
would be incorrect for any time nothing was found.
2003-10-06 21:15:07 +00:00
Jeremy Fincher
1a594b6dff
Use ircutils.nickEqual instead of ==.
2003-10-06 13:00:22 +00:00
Jeremy Fincher
1e28e4f00a
Changed msg.prefix to msg.nick in the self.chanserv comparison.
2003-10-06 05:57:03 +00:00
Jeremy Fincher
9e0ab0e73b
*Trying*, as hard as possible, to be nice to Windows.
2003-10-05 21:37:29 +00:00
Jeremy Fincher
6107000658
Slight formatting changes and whatnot.
2003-10-05 20:33:01 +00:00
Jeremy Fincher
d83cc90a32
Slightly changed the format of cmdstats.
2003-10-05 20:13:01 +00:00
Jeremy Fincher
498682d830
Changes to be nice to Windows.
2003-10-05 20:05:53 +00:00
Jeremy Fincher
ec0de6431d
Changed baseplugin not to require 'from baseplugin import *' because fix is now munging builtins.
2003-10-05 12:56:56 +00:00
Jeremy Fincher
5576661ab5
Forgot the example.
2003-10-05 12:00:51 +00:00
Jeremy Fincher
9fe8ed19a7
Forgot an import.
2003-10-05 11:56:46 +00:00
Jeremy Fincher
d5c4b15632
Forgot an import.
2003-10-05 11:22:29 +00:00
Jeremy Fincher
cb7ffa4df9
Changed another error to reply.
2003-10-05 11:06:07 +00:00
Jeremy Fincher
2cd657c9a9
Made sure ChannelDBHandler is before callbacks.Privmsg* in the inheritance order so self.die() is ChannelDBHandler's and not callbacks.Privmsg*.
2003-10-05 04:41:49 +00:00
Jeremy Fincher
151657f40d
Changed an error to a reply.
2003-10-05 03:49:29 +00:00
Jeremy Fincher
6eff484bda
Slight indentation fix.
2003-10-04 14:57:37 +00:00
Jeremy Fincher
9ef4ea2bca
Forgot some imports.
2003-10-04 14:57:20 +00:00
Jeremy Fincher
d0c7d47de4
Some slight regexp updates.
2003-10-04 14:57:05 +00:00
Jeremy Fincher
84b7454709
Forgot sets import.
2003-10-04 14:56:54 +00:00
Jeremy Fincher
3af3b4c985
__all__'ed baseplugin.py, updated other plugins to reflect that.
2003-10-04 13:53:13 +00:00
Jeremy Fincher
d079777f27
Deleted a few variables that shouldn't have been exported.
2003-10-04 12:44:55 +00:00
Jeremy Fincher
71fcfb8db9
Deleted a few variables that shouldn't have been exported.
2003-10-04 12:29:58 +00:00
Jeremy Fincher
195dc208dd
Made quotes.randomquote simple dispatch to a quote with a --id option.
2003-10-04 10:22:36 +00:00
Jeremy Fincher
9543859047
Changed searchfactoids to default to a glob search; --regexp and --exact searches work with specific options.
2003-10-04 10:16:57 +00:00
Jeremy Fincher
9f24c13be8
Moved the list of commands from cmdstats to the commands command.
2003-10-03 22:55:34 +00:00
Jeremy Fincher
3be0c261d3
Syntax still said --url instead of --fancy.
2003-10-03 22:24:32 +00:00
Jeremy Fincher
b100ceb185
Updated example string.
2003-10-03 10:13:41 +00:00
Jeremy Fincher
29825d76f9
Forgot to update help for the new indexing.
2003-10-03 10:09:49 +00:00
Jeremy Fincher
9cbc766b7c
Fixed to kill bold much more accurately.
2003-10-03 08:49:51 +00:00
Jeremy Fincher
81e1c09981
Updated debfile to default to glob, but allow regexp and exact options.
2003-10-03 04:21:37 +00:00
Jeremy Fincher
cbc109ada9
Getoptified debincoming.
2003-10-03 00:23:03 +00:00
Jeremy Fincher
ff6fdf02f3
Added convert and units command.
2003-10-02 23:19:38 +00:00
Jeremy Fincher
cecb130106
Added disablegooglesnarfer command to disable the snarfer.
2003-10-02 22:36:20 +00:00
Jeremy Fincher
4bda1fc74a
Bug fixes for .so modules.
2003-10-02 16:13:49 +00:00
Jeremy Fincher
ac78a1c2cb
Stylistic changes.
2003-10-02 16:07:53 +00:00
Jeremy Fincher
88b3d63026
Made to index from 1 instead of 0.
2003-10-02 06:13:54 +00:00
Jeremy Fincher
746e292693
Made to index from 1 instead of 0.
2003-10-02 06:10:54 +00:00
Jeremy Fincher
a8d7de246d
Made indexing start from 1 instead of 0.
2003-10-02 05:58:53 +00:00
Jeremy Fincher
32eb85e3c5
Fix for KeyError escaping from stats.
2003-10-02 00:43:38 +00:00
Jeremy Fincher
de7da5abc1
Fixed --user to actually work.
2003-10-02 00:42:26 +00:00
Jeremy Fincher
dcffc5df62
Minor change: names -> nicks in @seen help.
2003-10-02 00:24:36 +00:00
Jeremy Fincher
0e0dad2341
Added additional help for karma command.
2003-10-02 00:16:39 +00:00
Jeremy Fincher
f9a7bf0609
getopt-ified seen to use nicks by default and users only if given the --user option.
2003-10-02 00:13:44 +00:00
Jeremy Fincher
538a262341
Moved {zen,pydoc} to the Python plugin and {whois,dns} to the Network plugin.
2003-10-01 11:12:06 +00:00
Jeremy Fincher
f84345048a
Fix for bug #815242 , pydoc fnmatch.fnmatch fails.
2003-09-30 22:12:50 +00:00
Jeremy Fincher
bc5ec5d0f0
Fix for recent discovery that some misconfigured servers will send 422 instead of 376.
2003-09-30 15:21:02 +00:00
Jeremy Fincher
a714fce09d
Fixed cmdstats to make sure only canonicalNames get in.
2003-09-30 13:51:32 +00:00
Jeremy Fincher
b9a81a3f5e
Added 'individual' to commands processed.
2003-09-30 11:07:01 +00:00
Jeremy Fincher
8b04e1c537
Added cmdstats command.
2003-09-30 11:04:44 +00:00
Jeremy Fincher
ce3043a50f
Initial checkin.
2003-09-30 10:47:05 +00:00
Jeremy Fincher
df1a26900d
Added a bit more error checking in the case of bad arguments.
2003-09-29 16:13:51 +00:00
Jeremy Fincher
dba6ae9217
Made addlookup ignore comment lines (designated by initial '#').
2003-09-29 08:49:54 +00:00
Jeremy Fincher
1410d1af43
Added the ability to handle multiple karma items in one request, like Moobot.
2003-09-29 07:29:18 +00:00
Jeremy Fincher
29fd291a5b
Cleanup of debincoming (also made sure to thread it).
2003-09-29 06:08:16 +00:00
Jeremy Fincher
14459d05d8
Commented out new.function stuff for later when new.function actually works.
2003-09-29 05:41:03 +00:00
Jeremy Fincher
d0f9e11a32
Fix for bug #814149 , bad error message in relaywhois.
2003-09-29 05:34:02 +00:00
Brett Kelly
8e45ffc020
added debincoming command
2003-09-27 03:54:58 +00:00
Daniel DiPaolo
b71787b702
* Added a required per-channel news capability
...
* Fixed tests (syntax error, tabs/spaces)
* Updated addnews to use new persistent userids
2003-09-26 22:40:35 +00:00
Jeremy Fincher
b1f0cb6647
Removed a gratuitous world.ircs.remove, probably fixing bug #801438 .
2003-09-25 08:18:36 +00:00
Jeremy Fincher
d3a21e29c0
Added an example string.
2003-09-25 07:27:02 +00:00
Jeremy Fincher
2c8dee38c2
Fix for configure bug.
2003-09-25 07:18:46 +00:00
Jeremy Fincher
6928a3a54f
Fixed an uncaught exception in Lookup.configure.
2003-09-24 07:55:28 +00:00
Jeremy Fincher
a13c8ab528
Removed the old sys.path-munging code now that we're disutil'ed.
2003-09-24 07:28:25 +00:00
Jeremy Fincher
474e611feb
Initial checkin of the distutils stuff.
2003-09-24 07:19:54 +00:00
Jeremy Fincher
01ee1169f0
Forgot to return after an irc.error.
2003-09-24 06:16:29 +00:00
Jeremy Fincher
1c86e6f40c
Removed shrink command since it's mostly unnecessary since we got the mores.
2003-09-24 04:19:23 +00:00
Jeremy Fincher
05eddc71f5
Fixed to use the proper irc.reply arguments instead of callbacks.reply.
2003-09-23 20:45:25 +00:00
Jeremy Fincher
23453eff6a
Made the game snarfer not prefix the response with the the nick.
2003-09-23 20:26:25 +00:00
Jeremy Fincher
bb9c956eea
Made sure there were no problems in __call__ if it wasn't started.
2003-09-23 19:39:48 +00:00
Jeremy Fincher
06e2e05b78
Added some guards for self.started to make sure certain commands aren't run before the plugin is started.
2003-09-23 18:59:22 +00:00
Jeremy Fincher
fcab1a30cf
Added a try/finally statement like ChannelLogger just got.
2003-09-23 18:45:08 +00:00
Jeremy Fincher
b1654bd4bc
Oops, accidentally committed a tyop in a comment.
2003-09-23 16:17:13 +00:00
Jeremy Fincher
a6d71770c9
Added a try/finally statement to the addMsg in __call__ so lastMsg will still get updated if it raises an exception.
2003-09-23 16:08:05 +00:00
Jeremy Fincher
20e5bdb50d
Added a try/finally statement to the addMsg in __call__ so lastMsg will still get updated if it raises an exception.
2003-09-23 16:01:04 +00:00
Jeremy Fincher
e4143b467a
Added a bit to the morehelp for calc to explain floating point inaccuracies.
2003-09-23 15:42:01 +00:00
Jeremy Fincher
d57c173598
Tiny update to the lithp command.
2003-09-22 22:36:23 +00:00
Jeremy Fincher
b4b2b2b883
Added --with option to quote command.
2003-09-22 22:11:05 +00:00
Jeremy Fincher
e40183f1e5
Fixed stupid verisign bug.
2003-09-22 18:00:16 +00:00
Jeremy Fincher
3e28059c9e
Fixed bug in genre pluralization.
2003-09-22 17:32:12 +00:00
Jeremy Fincher
b1b00401ed
Changed inFilter to __call__, since it doesn't do any filtering.
2003-09-22 11:17:10 +00:00
Jeremy Fincher
41d3039c68
Removed some debugging stuff that never should've been committed.
2003-09-22 11:16:41 +00:00
Jeremy Fincher
3a329b04f9
Added the uptimeEnder to world.flushers instead of just running it atexit.
2003-09-22 09:55:00 +00:00
Jeremy Fincher
f137b21dcf
Added extra logging to Enforcer in the case where it's not started.
2003-09-22 02:46:36 +00:00
Jeremy Fincher
fd568a7f48
Made echo not prefixName.
2003-09-19 17:25:38 +00:00
Jeremy Fincher
287c9028a5
Forgot a return after an irc.error.
2003-09-18 15:45:43 +00:00
Jeremy Fincher
3af8f1c790
Added private and action keywords to IrcObjectProxy.reply and converted FunDB to use them.
2003-09-18 07:26:21 +00:00
Jeremy Fincher
ab302e5742
Oops, left a random.choice with the arguments of a random.shuffle.
2003-09-18 05:58:24 +00:00
Jeremy Fincher
fad77c9545
Forgot to change a topicget to a gettopic.
2003-09-17 22:49:00 +00:00
Jeremy Fincher
d227111b0c
Added privmsgs.name, privmsgs.channel, and privmsgs.checkChannelCapability. Converted the Topic plugin to use some of them.
2003-09-17 22:38:03 +00:00
Jeremy Fincher
fd1aacbd64
Fixed snarfer for drawn games.
2003-09-17 21:31:04 +00:00
James Vega
b95985c3aa
dbchange now updates the added_by field
2003-09-16 18:53:09 +00:00
James Vega
292bb2550e
Removed requested_by and use_count from {lart,excuse,insult,praise} tables
2003-09-16 18:11:16 +00:00
Jeremy Fincher
9ed2dcbc31
Fixed bug #807245 , changetopic reorders topics.
2003-09-16 18:08:33 +00:00
James Vega
7719b8dad3
Fixed a couple typos in dbinfo
2003-09-16 17:16:11 +00:00
James Vega
32b0b65475
plugins/FunDB.py: added support for dbchange
...
test/test_FunDB.py: added testing for dbchange
2003-09-16 16:49:17 +00:00
Daniel DiPaolo
467688de74
A bit of cleanup work, mostly on the python zegrep portion of debfile
2003-09-15 02:45:39 +00:00
Jeremy Fincher
679b8fbaee
Fixed output in the face of a single responding dictionary.
2003-09-14 07:39:39 +00:00
Daniel DiPaolo
3da65af7c8
* Beginnings of news stuff, yay
2003-09-14 07:38:26 +00:00
Jeremy Fincher
e729b430b6
Updated for the new ircdb.users.
2003-09-14 02:43:17 +00:00
Jeremy Fincher
644fd692fa
Changed random.sample(seq, 1)[0] to random.choice. Completely forgot the name of the choice function.
2003-09-14 01:18:50 +00:00
Jeremy Fincher
b497acbc43
Removed the URL from the snarfer output.
2003-09-13 22:32:32 +00:00
Jeremy Fincher
9f51a69d96
Moved calc and rpn from FunCommands to the new Math plugin.
2003-09-13 15:00:22 +00:00
Jeremy Fincher
d2ec31c45b
Fixed bug in removeAlias that it wouldn't clear the frozen set.
2003-09-13 14:46:03 +00:00
Jeremy Fincher
358533b335
Removed deepthought command now that we have a supyfact for it.
2003-09-13 13:39:41 +00:00
Jeremy Fincher
caa099dfc1
Added RFE #804955 , lookup should return a random key: value if not given an argument.
2003-09-13 13:33:49 +00:00
Jeremy Fincher
fb60da149b
Added ability to specify optional arguments in aliases with @\d+.
2003-09-13 13:30:33 +00:00
Jeremy Fincher
41d266f207
Updated ircdb to have persistent user ids.
2003-09-12 20:06:58 +00:00
James Vega
f524ec0ac9
plugins/Quotes.py: addquote now announces the id of the new quote
...
test/test_Quotes.py: updated to reflect change in plugin
2003-09-12 13:23:09 +00:00
James Vega
91274d3f54
addquote now returns the number id of the quote that was added, i.e. Quote #4 added
2003-09-12 10:54:25 +00:00
Daniel DiPaolo
47ea9b809f
* Fixed Debian's debfile command to work properly
2003-09-11 18:46:17 +00:00
Jeremy Fincher
9eb08fa205
Removed length restriction from deepthought.
2003-09-11 18:39:47 +00:00
Jeremy Fincher
7dfeb8d486
Added necessary imports to configure.
2003-09-11 12:32:39 +00:00
Jeremy Fincher
60dc66927d
Added special handling in the case where the bot is kicked from the channel.
2003-09-11 10:27:49 +00:00
Jeremy Fincher
bafc23f536
Added configure questions.
2003-09-11 10:05:24 +00:00
Jeremy Fincher
e6556ec101
Removed zipcode stuff.
2003-09-11 09:56:59 +00:00
Jeremy Fincher
99f88bd20a
Added DCC CHAT support.
2003-09-11 06:43:49 +00:00
Jeremy Fincher
77ff4f8036
Help updates, updates for metagoogle, and a change in bolding.
2003-09-10 22:29:34 +00:00
Jeremy Fincher
7605f6512e
Initial checkin.
2003-09-10 22:22:50 +00:00
Jeremy Fincher
273e4a7a0c
Added removeAlias method for easy access from within other plugins.
2003-09-10 21:15:09 +00:00
Jeremy Fincher
dca69510f3
Extracted alias-adding functionality out into a function usable from within other plugins.
2003-09-10 20:25:15 +00:00
Jeremy Fincher
d46f6494e7
Made --url into --fancy and made simple URL responses the default.
2003-09-10 18:15:28 +00:00
Jeremy Fincher
ffefdf1ab7
Added new pipe syntax to check for recursive aliases.
2003-09-10 08:15:44 +00:00
Jeremy Fincher
ecc820a49c
Fixe for bug with titles that spread across lines.
2003-09-09 21:00:36 +00:00
Jeremy Fincher
580edc37c5
Added a commit to doPrivmsg.
2003-09-09 17:40:47 +00:00
Jeremy Fincher
949deee935
Added RFE #802856 , so regexps aren't required by searchfactoids.
2003-09-09 08:41:16 +00:00
Jeremy Fincher
073040d92e
Fixed bug #802804 about the bad appearance of [not an acronym].
2003-09-09 08:33:07 +00:00
Jeremy Fincher
d68c42684d
Fixed bug #802801 about calc exposing too ugly error messages. Added tests.
2003-09-09 08:25:33 +00:00
Jeremy Fincher
9bca5d98f7
Fixed bug #802826 , --safe wouldn't work.
2003-09-09 08:23:36 +00:00
Jeremy Fincher
e386518997
Fixed escaping KeyError and added test.
2003-09-09 07:57:49 +00:00
Jeremy Fincher
2719812074
Fixed bug with ACTIONs and added test.
2003-09-09 07:36:41 +00:00
Jeremy Fincher
8e44660692
Forgot to change the --url results based on now getting the id from the database.
2003-09-09 03:53:27 +00:00
Jeremy Fincher
cec0f77538
Changed unlearn to forget.
2003-09-08 20:14:46 +00:00
Jeremy Fincher
3625d98ed7
Removed extra dot..
2003-09-08 20:13:27 +00:00
Jeremy Fincher
0c3e75b282
Added #id to lasturl.
2003-09-08 19:44:09 +00:00
James Vega
89d5f7a088
Make sure the urllib2 file gets closed properly in pgpkey
2003-09-08 17:35:24 +00:00
James Vega
cc07bc1272
Switched pgpkey from using .read() to .readline() since there's possibly a large amount of results.
2003-09-08 17:15:26 +00:00
James Vega
d9e3a199b0
Removed the trailing ' :: ' from pgpkey
2003-09-08 08:59:43 +00:00
James Vega
ecdcc63756
Switched a couple error messages to use conf.replyNotRegistered
2003-09-08 08:58:56 +00:00
James Vega
f8c85b07bc
Fixed doPrivmsg and added more useful error messages
2003-09-08 08:58:00 +00:00
Jeremy Fincher
43fbbb9b70
Changed to use callbacks.reply again, now that we have the prefixName option.
2003-09-08 08:50:57 +00:00
James Vega
9d8aa07f86
Added pgpkey and a test case for it
2003-09-08 08:48:33 +00:00
Jeremy Fincher
7ed17912d2
Fixed bug where it doesn't respond to non-registered users.
2003-09-08 08:32:06 +00:00
Jeremy Fincher
66b62a42cd
Fixed calc command.
2003-09-07 20:29:42 +00:00
Jeremy Fincher
da6f429fe5
Made a do376 so it authenticates (hopefully) before joining a channel.
2003-09-07 09:49:43 +00:00
Jeremy Fincher
4ca8f91fa9
Added WHERE clause for making sure started <> 0.
2003-09-07 08:09:23 +00:00
Jeremy Fincher
e53d4e7f87
Removed less command.
2003-09-07 06:34:07 +00:00
Jeremy Fincher
e3148c03fe
Removed foldoc command (it's markedly inferior to Dict.dict).
2003-09-07 06:32:13 +00:00
Jeremy Fincher
cfa737d1d7
Changed limit to 100 instead of 10.
2003-09-07 06:23:32 +00:00
Jeremy Fincher
b6993152e6
Converted not to care about how long its messages are.
2003-09-07 06:10:09 +00:00
Jeremy Fincher
61ad6c7f1d
Fixed bugs all over it.
2003-09-07 06:07:25 +00:00
Jeremy Fincher
b68908ed00
Convert not to care how long its messages are.
2003-09-07 06:01:25 +00:00
Jeremy Fincher
d3f1ca724f
Convert not to care how long its messages are.
2003-09-07 05:37:49 +00:00
Jeremy Fincher
3161bb5750
Converted to not care how long its messages are.
2003-09-07 05:34:56 +00:00
Jeremy Fincher
5ef3d7c5f5
Moved tell and last commands from FunCommands to MiscCommands.
2003-09-07 05:26:18 +00:00
Jeremy Fincher
0c3cb0522b
Converted to not worry about message length.
2003-09-07 05:08:30 +00:00
Jeremy Fincher
8a70f15e89
Fixed bug in aliases with no arguments and added test for it.
2003-09-06 21:58:42 +00:00
Jeremy Fincher
e01d52b2f2
Added less command.
2003-09-06 21:51:21 +00:00
Jeremy Fincher
63403e6408
Fixed documentation bugs.
2003-09-06 18:29:44 +00:00
Jeremy Fincher
b0ccf44e2b
Fixed a documentation bug and changed startnickserv to startservices.
2003-09-06 18:26:31 +00:00
Jeremy Fincher
0c9efdf1ae
Wasn't calling setDaemon on threads spawned in PeriodicFileDownloader.
2003-09-06 18:18:34 +00:00
Jeremy Fincher
526ac1ee18
Added URL for codecs module to encode/decode morehelps.
2003-09-06 08:39:50 +00:00
Jeremy Fincher
74d3b7820f
Added PluginDocumentation to test to make sure all commands have documentation.
2003-09-06 06:23:03 +00:00
Jeremy Fincher
1ad3ec9914
Fixed some bugs with removetopic when the topic didn't match topicUnformatter.
2003-09-06 05:25:42 +00:00
Jeremy Fincher
1795229d85
Added dup to rpn and fixed bug with calc and rpn commands that they couldn't do negative values.
2003-09-06 05:25:05 +00:00
Jeremy Fincher
0bcffe0d3e
Changed morehelp for translate.
2003-09-06 04:51:28 +00:00
Jeremy Fincher
e0396337b1
Made outFilter handle empty TOPICs.
2003-09-06 02:10:55 +00:00
Jeremy Fincher
9249df4d25
Made to ignore empty TOPICs just sent for information.
2003-09-06 02:06:57 +00:00
Jeremy Fincher
5974639ee3
Made Enforcer send an empty TOPIC to each channel when startenforcer is called so there is no exception when self.topics is empty.
2003-09-06 02:03:44 +00:00
Jeremy Fincher
b3253df28e
do332 wasn't guarded by self.started.
2003-09-06 01:15:32 +00:00
Jeremy Fincher
8f2766b5ce
Fixed UnboundLocalError from a variable name change in debfile.
2003-09-06 01:06:28 +00:00
Jeremy Fincher
2484ce94be
Bold, for Strike. And also a bugfix, so it's not an entirely useless commit :)
2003-09-05 20:53:49 +00:00
Jeremy Fincher
9ddc8b2402
Forgot a format.
2003-09-05 20:47:35 +00:00
Jeremy Fincher
559bd74928
Added a randomdictionary example and changed the no matches output in the case where a dictionary is specified.
2003-09-05 20:46:39 +00:00
Jeremy Fincher
7501b3a625
Moved dict stuff to its own plugin.
2003-09-05 20:22:43 +00:00
Jeremy Fincher
e59f076f48
Forgot module docstring.
2003-09-05 19:50:38 +00:00
Jeremy Fincher
21f0cb89ae
Moved babelfish stuff to its own plugin.
2003-09-05 19:49:44 +00:00
Jeremy Fincher
49ef542c83
Added --url option to lasturl.
2003-09-05 19:37:58 +00:00
Jeremy Fincher
0719bdec92
Added priority stuff for RFE #799899
2003-09-05 19:28:04 +00:00
Jeremy Fincher
0f843dd651
Fixed stupid failed tests in Notes. I'm retard.
2003-09-05 19:01:02 +00:00
Jeremy Fincher
5bcd98e1a4
Finally found that crazy KeyError exception being raised, I think.
2003-09-05 18:53:09 +00:00
Jeremy Fincher
fed6273f03
Make mention of <snip> in morehelp.
2003-09-05 15:47:15 +00:00
Jeremy Fincher
b682b8c2dc
Bold <snip>.
2003-09-05 15:45:00 +00:00
Jeremy Fincher
39a5879d3f
Fixed docstring for last command and change the way dict shows chopped entries.
2003-09-05 15:42:43 +00:00
Jeremy Fincher
5944282355
Added more example.
2003-09-05 10:56:30 +00:00
Jeremy Fincher
dc2e2077fb
Added rudimentary whois command.
2003-09-05 09:59:59 +00:00
Jeremy Fincher
596958c4cc
Added beGracious, changed to raw strings for regexps, and created test.
2003-09-05 09:40:26 +00:00
Jeremy Fincher
3be6255745
Updated example to have searchfactoids.
2003-09-05 08:17:14 +00:00
Jeremy Fincher
5fbba15857
Converted searchfactoids to accept a regular expression.
2003-09-05 08:15:26 +00:00
Jeremy Fincher
b2beec0804
Forgot to remove a format character after the last commit.
2003-09-05 06:55:58 +00:00
Jeremy Fincher
20036816c8
Converted uses of utils.pluralize to utils.nItems.
2003-09-05 06:49:14 +00:00
Jeremy Fincher
28b0fdba97
Made sure to close file descriptors in debfile.
2003-09-05 06:47:12 +00:00
Jeremy Fincher
d43b1ea700
Added dictionaries command and changed the order of the arguments to the dict command; also added --fancy argument to last command.
2003-09-05 04:28:56 +00:00
Jeremy Fincher
ea74e4e898
Fixed bug with multiple criteria in the last command.
2003-09-05 03:34:37 +00:00
Jeremy Fincher
b1a40f1cfd
Rudimentary key searching added with the searchfactoids command.
2003-09-05 01:30:02 +00:00
Jeremy Fincher
55e3478668
Uh, I thought I committed this already...moved functions from fix.py to utils.py.
2003-09-05 00:16:28 +00:00
Jeremy Fincher
1208dd863a
Oops, forgot a parenthese.
2003-09-04 21:37:38 +00:00
Jeremy Fincher
1d70b27b79
Added a die method.
2003-09-04 21:36:01 +00:00
Jeremy Fincher
f65829b768
Moved several things from fix.py to utils.py.
2003-09-04 20:42:37 +00:00
Jeremy Fincher
fff4a7d864
Made a set of the dbs that responded so each db only gets listed once.
2003-09-04 17:17:03 +00:00
Jeremy Fincher
9a2f80ae7b
Forgot to commit from chemistry.
2003-09-04 17:13:13 +00:00
Jeremy Fincher
062231bb4b
Added code to allow removal of all factoids associated with a given key.
2003-09-04 12:14:12 +00:00
Jeremy Fincher
dab57f3080
Fixed bug #800165 .
2003-09-04 12:08:02 +00:00
Jeremy Fincher
3fb97984dc
Removed the crazy topicPrefix stuff, it was pretty useless.
2003-09-03 20:41:28 +00:00
Jeremy Fincher
d0b7d5906f
<Strike|work@oftc> I like the extraneous '.' on the end of the factoids.
2003-09-03 20:29:04 +00:00
Jeremy Fincher
f719009e1d
Fixed something, although by now I forget what it was. Ah, the doTopic stuff. Yeah, I fixed that.
2003-09-03 20:00:54 +00:00
Jeremy Fincher
339375bc42
Made to work again.
2003-09-03 18:45:29 +00:00
Jeremy Fincher
fa878a9289
Fixed bug in doKick.
2003-09-03 18:45:17 +00:00
Jeremy Fincher
dfb1b26333
Added a doKick.
2003-09-03 18:42:52 +00:00
Jeremy Fincher
2e23c68afb
Just chop off the extra if everything is too big; also allow specification of the dictionary.
2003-09-03 18:16:06 +00:00
Jeremy Fincher
56e6fbd21c
There is no more BasePlugin.
2003-09-03 17:50:32 +00:00
Jeremy Fincher
4200b4a4a7
Updated doJoin to use utils.nItems and made it doPrivmsg instead.
2003-09-03 17:43:06 +00:00
Jeremy Fincher
0791d9cbea
Changed last/lastfrom to the new method as per RFE 798374.
2003-09-03 17:18:38 +00:00
Jeremy Fincher
67d5465329
Changed an if to an elif in lasturl.
2003-09-03 17:03:38 +00:00
Jeremy Fincher
1da0f301f5
Small change in order of sortBy and shrinkList.
2003-09-03 14:26:25 +00:00
Jeremy Fincher
c98a25d6a2
Oops, forgot the '% word'
2003-09-03 12:21:56 +00:00
Jeremy Fincher
fd57203a67
Changed a something to an anything and looped until a valid key is given in configure.
2003-09-03 09:45:11 +00:00
Jeremy Fincher
5857a17f88
Added dict command.
2003-09-03 09:38:17 +00:00
Jeremy Fincher
7bbb893662
Fixed bug where 'alias punish lart ' would make punish raise a 'cannot nest' error.
2003-09-02 19:51:04 +00:00
Jeremy Fincher
236582f5e9
Changed a popen2 to popen4.
2003-09-02 08:09:58 +00:00
Jeremy Fincher
9b2a114d0c
Changed the name of the uptimeEnder function so it shows up more clearly in atexit._exithandlers.
2003-09-02 08:08:54 +00:00
Jeremy Fincher
92b2d195b3
Made seen command handle actions better.
2003-09-02 06:19:58 +00:00
Jeremy Fincher
a846928596
Added wtf command.
2003-09-01 18:41:16 +00:00
Jeremy Fincher
ee8deced50
Cosmetic; semicolon instead of comma.
2003-09-01 08:46:14 +00:00
Jeremy Fincher
3fd04637af
Attempt to solve the atexit-closed-database problem.
2003-09-01 08:40:41 +00:00
Jeremy Fincher
8b1a47b295
Attempt to solve the atexit-closed-database problem.
2003-09-01 08:38:25 +00:00
Jeremy Fincher
6c81eb9084
Made 'import this' not print.
2003-09-01 08:05:14 +00:00
James Vega
862489d205
Modified a docstring
2003-09-01 07:44:08 +00:00
James Vega
aa9f8a997e
Added new lart/praise functionality. Now accepts a reason for larting/praising something
2003-09-01 06:11:02 +00:00
Jeremy Fincher
44972da513
Cleaned up makeDb.
2003-09-01 05:51:32 +00:00
Jeremy Fincher
30d3747f1d
Added utils.pluralize.
2003-09-01 05:42:35 +00:00
James Vega
01adb33deb
Fix a typo
2003-09-01 05:03:27 +00:00
James Vega
0061e42c97
Added tableDict, tableExists() and createTables to clean up/fix makeDB()
2003-09-01 04:45:26 +00:00
James Vega
5c034ead98
Fixed the onStart load string to match the module's name change from NickServ to Services
2003-08-31 21:58:08 +00:00
James Vega
07d46283ef
Fixed a missing parameter to an irc.error() call
2003-08-31 21:32:53 +00:00
Jeremy Fincher
488fd6dd32
Forgot self.
2003-08-31 08:43:56 +00:00
Jeremy Fincher
cc2689ddb8
Forgot to import world.
2003-08-31 08:42:51 +00:00
Jeremy Fincher
883287c261
Added bestuptime command.
2003-08-31 08:42:07 +00:00
Jeremy Fincher
c891592b59
Fixed bug in strlen where it didn't account for spaces.
2003-08-30 22:54:11 +00:00
Jeremy Fincher
35cbbf7717
Made RSS docstring more appropriate, now that help works with modules.
2003-08-30 19:53:53 +00:00
Jeremy Fincher
bf5d0aa30b
Updated example.
2003-08-30 19:30:28 +00:00
Jeremy Fincher
7290221a90
Removed the title line from zen's _these.
2003-08-30 19:25:14 +00:00
Jeremy Fincher
36ecc4fcf6
Added zen command.
2003-08-30 19:23:34 +00:00
Jeremy Fincher
442392b5ba
Guarded inserts into sys.path.
2003-08-30 19:20:08 +00:00
Jeremy Fincher
d0d95cd017
Fixed odd error in findAliasCommand.
2003-08-30 19:05:03 +00:00
Jeremy Fincher
5841566982
Docstrings updated.
2003-08-30 04:46:17 +00:00
Jeremy Fincher
dfc9f2f160
Finished change to Services.
2003-08-30 04:28:09 +00:00
Jeremy Fincher
97d5ee8ad4
Tyop
2003-08-30 04:15:57 +00:00
Jeremy Fincher
e623d2e4b6
Added docstring and guard for lasturls.
2003-08-30 02:40:03 +00:00
Jeremy Fincher
736d46cff3
Forgot to close the file object from urllib2.urlopen.
2003-08-30 02:35:28 +00:00
Jeremy Fincher
7911d0f0a3
Moved kernel over to Http as per the wishes of the kernel.org folx0rs.
2003-08-30 02:33:28 +00:00
Jeremy Fincher
8f40c90e0b
Fixed new pluralization bug in cpustats.
2003-08-30 02:08:13 +00:00
Jeremy Fincher
f4fb779f9f
Added docstrings.
2003-08-29 17:03:12 +00:00
James Vega
f70919f1a8
Added a missing import line
2003-08-29 14:02:14 +00:00
Jeremy Fincher
06f7fef11f
Stupid missing import...
2003-08-29 13:38:07 +00:00
Jeremy Fincher
f87eb2e654
Tyop.
2003-08-29 08:16:29 +00:00
Jeremy Fincher
b2d7893959
Made self.channels an IrcSet.
2003-08-29 08:15:07 +00:00
Jeremy Fincher
feff6f77ce
Added eightball command.
2003-08-29 07:49:11 +00:00
Jeremy Fincher
2e4c9439b9
Changed topicUnformatter regexp slightly and fixed shuffletopic so it wouldn't send a repeat topic.
2003-08-29 07:32:14 +00:00
Jeremy Fincher
89a0d12cce
Added tracking of how many commands have been processed.
2003-08-29 07:08:03 +00:00
Jeremy Fincher
295c5d8411
Added example.
2003-08-29 07:01:05 +00:00
Jeremy Fincher
fcdcebf990
Changed the name of NickServ to Services.
2003-08-29 06:50:33 +00:00
Jeremy Fincher
2c2031e167
Made randomfactoid more useful and fixed a bug in unlearn.
2003-08-29 06:45:51 +00:00
Jeremy Fincher
60c598be87
Wrote tests and fixed lots of bugs and usability flaws.
2003-08-29 06:32:49 +00:00
Jeremy Fincher
37f88d5e21
Added more tests and the lasturls command (and --nolimit option to the lasturl command.
2003-08-29 00:40:28 +00:00
Jeremy Fincher
6d7e68fa71
Added tests, fixed the bugs the tests found.
2003-08-28 23:59:03 +00:00
Jeremy Fincher
b6b47b5d3f
Added example string.
2003-08-28 23:11:43 +00:00
Jeremy Fincher
336108c736
Added example string.
2003-08-28 22:24:33 +00:00
Jeremy Fincher
83d587b8a3
Changed some bugs in configure.
2003-08-28 21:27:15 +00:00
Jeremy Fincher
f1d876288f
Added module docstring.
2003-08-28 21:26:56 +00:00
Jeremy Fincher
740acc5d08
Brought up-to-date with current plugin template.
2003-08-28 17:56:48 +00:00
Jeremy Fincher
f4a057cf4b
Changed binascii.hexlify to encode('hex_codec').
2003-08-28 17:56:27 +00:00
Jeremy Fincher
2935c16d27
Added example string.
2003-08-28 17:55:01 +00:00
Jeremy Fincher
5860657194
Added 401 to the commands that result in a 'no user on this network' message for relaywhois.
2003-08-28 16:31:56 +00:00
Jeremy Fincher
aabd095239
Moved world.version to conf.version.
2003-08-28 13:59:07 +00:00
Jeremy Fincher
50d1b9ba76
Forgot stupid utils import.
2003-08-27 23:36:47 +00:00
Jeremy Fincher
d21d868b28
Added hexip command.
2003-08-27 22:43:29 +00:00
Jeremy Fincher
550f0fb3de
Forgot return after irc.error and added test for non-existent location.
2003-08-27 22:30:48 +00:00
Jeremy Fincher
ce67b6ef5a
Added better error reporting.
2003-08-27 22:27:58 +00:00
Jeremy Fincher
c8b09bd44d
Added configure function and example and module docstring and more function documentation.
2003-08-27 18:18:41 +00:00
Jeremy Fincher
9d51e998b5
Added example strings.
2003-08-27 18:06:26 +00:00
Jeremy Fincher
b572562cb3
Added utils.wrapLines and wrapped the lines of each plugin's example.
2003-08-27 16:25:43 +00:00
Jeremy Fincher
575656992e
Fixed bug in weather, added test for it; added example string.
2003-08-27 16:01:51 +00:00
Jeremy Fincher
bb1bdd2725
Added tell command.
2003-08-27 07:46:03 +00:00
Jeremy Fincher
9550971042
Added ability for commands to raise callbacks.CannotNest if they are not nestable.
2003-08-27 07:45:48 +00:00
Jeremy Fincher
f9fee97f5f
Made channels description in relaywhois slightly more descriptive.
2003-08-27 04:56:08 +00:00
Jeremy Fincher
52dba88bd3
Made much more efficient.
2003-08-27 01:42:00 +00:00
Jeremy Fincher
6d8a9e9c23
Changed 'no notes' message to be more natural English.
2003-08-26 18:14:32 +00:00
Jeremy Fincher
8f33ff28bd
Made --at option for lasturl be more natural with domains.
2003-08-26 18:14:13 +00:00
Jeremy Fincher
19a9804dee
Added a test and fixed several bugs it found.
2003-08-26 18:10:17 +00:00
Jeremy Fincher
5491d97704
Gave a proper error message for a relaywhois is a nick that isn't online.
2003-08-26 17:55:30 +00:00
Jeremy Fincher
09c77aa234
Can catch re.error instead of sre_constants.error.
2003-08-26 17:08:46 +00:00
Jeremy Fincher
3dd176ab63
Updated a whole lot of stuff.
2003-08-26 17:07:37 +00:00
Jeremy Fincher
898b219871
Unified the ircs' histories, making lastfrom work correctly.
2003-08-26 16:40:31 +00:00
Jeremy Fincher
906b83f1ec
Added example.
2003-08-26 12:45:08 +00:00
Jeremy Fincher
c9546934d5
Removed id number from randomurl output.
2003-08-26 11:54:24 +00:00
Jeremy Fincher
84c028c0dc
Removed id number from randomurl output.
2003-08-26 11:52:42 +00:00
Jeremy Fincher
871d6858c0
Added an example and changed the regexp not to allow <> into the URL.
2003-08-26 11:39:18 +00:00
Jeremy Fincher
79b199cec1
Removed list of commands in module docstring.
2003-08-26 11:26:12 +00:00
Jeremy Fincher
0cf31453bc
Fixed ugliness (tons of returns?) and SyntaxError (missing parenthese).
2003-08-26 11:25:43 +00:00
Jeremy Fincher
cfe4ce14a9
Fixed ugliness (tons of returns?) and SyntaxError (missing parenthese).
2003-08-26 11:24:06 +00:00
Jeremy Fincher
5289f6bc75
Renamed conf.timestampFormat to conf.logTimestampFormat and added conf.humanTimestampFormat.
2003-08-26 11:15:15 +00:00
Jeremy Fincher
b3976501ff
Removed spurious blank line.
2003-08-25 20:13:48 +00:00
Jeremy Fincher
075af0967c
Commented out some debug.printfs.
2003-08-25 20:13:20 +00:00
Jeremy Fincher
5eafec7121
Made morehelp better for dbadd.
2003-08-25 20:13:04 +00:00
Jeremy Fincher
7932c6078f
Added example, and made dice commaAndify its numbers.
2003-08-25 20:12:21 +00:00
Jeremy Fincher
e30cf69ec1
Added privmsgs.thread, and so nuked ThreadedFunCommands (subsumed into FunCommands)
2003-08-25 19:34:25 +00:00
Jeremy Fincher
84959a1815
I can't even tell what this change is, but apparently there is one.
2003-08-25 17:48:03 +00:00
Jeremy Fincher
ad8159751f
Added fortune command and some more tests.
2003-08-25 07:55:08 +00:00
Jeremy Fincher
56117a0662
Made the error message in the face of problems connecting much prettier.
2003-08-25 07:24:31 +00:00
Jeremy Fincher
eb7b696ce9
Made increase/decrease karma stuff work more like moobot (i.e., require a prefixchar and disallow spaces)
2003-08-25 07:24:11 +00:00
Jeremy Fincher
a92798c9d8
Fixed relaywhois to not require the network if the relay is only relaying between two networks. Also fixed a possible later UnboundLocalError in a few places.
2003-08-25 06:48:28 +00:00
Jeremy Fincher
ebabf6112f
Changed Candler to delete the database as well as commit/close on die()
2003-08-25 06:27:07 +00:00
Jeremy Fincher
18260e986d
Removed arg, strsplit, and fixed re to handle s/// regexps too.
2003-08-25 06:25:50 +00:00
Jeremy Fincher
c9c77f92c2
Fixed mime/unmime and docstring.
2003-08-25 06:24:42 +00:00
Jeremy Fincher
3ae2f79919
Forgot to reply with actor stuff.
2003-08-25 05:19:27 +00:00
Jeremy Fincher
98b0acb942
Made karma return the highest/lowest karmas when given no arguments.
2003-08-24 21:51:20 +00:00
Jeremy Fincher
577e7517af
Made the output of osuemail a little bit cleaner.
2003-08-24 20:58:11 +00:00
Jeremy Fincher
30711266a7
Added osubuilding command.
2003-08-23 14:12:04 +00:00
Jeremy Fincher
5536e2181d
Added module docstrings and changed argument order of osuemail.
2003-08-23 13:05:41 +00:00
Jeremy Fincher
5b2cc92917
Weather now works. This is gotenks2's commit.
2003-08-23 13:00:24 +00:00
Jeremy Fincher
5234c730c1
Converted states to lower before checking for membership in the set.
2003-08-23 12:44:25 +00:00
Jeremy Fincher
98011fe099
Added docstring.
2003-08-23 12:40:35 +00:00
James Vega
63fafdcccb
Added bwp's weather module
2003-08-23 12:40:30 +00:00
Jeremy Fincher
5769e4d4cf
Updated ChannelDBHandler to always return a new database if self.threaded is True.
2003-08-23 12:38:58 +00:00
Jeremy Fincher
38e63c6e84
Fixed exceptions raised by relaywhois.
2003-08-23 12:12:04 +00:00
Jeremy Fincher
8b05ce6e1a
Fixed inability to find out the specifics about 'die hard'.
2003-08-23 11:40:40 +00:00
Jeremy Fincher
57b0c23a79
Added strlen command.
2003-08-23 11:34:13 +00:00
Jeremy Fincher
320f1d26b7
Made imdb handle people properly.
2003-08-23 08:52:42 +00:00
Jeremy Fincher
f35da83b1b
Added rating to imdb output.
2003-08-23 08:35:18 +00:00
Jeremy Fincher
5d554a5c3b
Initial checkin.
2003-08-23 08:26:51 +00:00
Jeremy Fincher
17478daca2
Began some swithover to the new method; mostly I just needed to try a commit.
2003-08-23 06:07:20 +00:00
Jeremy Fincher
3fe81ebdcb
Added docstring and configure function.
2003-08-23 05:55:20 +00:00
James Vega
b86205ae8b
Changed out some try blocks for if/else
2003-08-23 05:21:45 +00:00
Jeremy Fincher
57cc6615c4
Should be able to reload Relay module now too.
2003-08-23 05:04:41 +00:00
Jeremy Fincher
147d5cf6da
Finally got the persistent configuration working with the Relay module (though don't try to reload it :)).
2003-08-23 04:42:04 +00:00
Jeremy Fincher
9d20105689
Fixed grouping of regexp.
2003-08-23 04:08:42 +00:00
Jeremy Fincher
05eabee767
Anchored a regexp and fixed a bug or two.
2003-08-22 23:00:10 +00:00
Jeremy Fincher
95f5abdda4
Made sure no prefixchars got into the karma table.
2003-08-22 22:59:28 +00:00
Jeremy Fincher
1342a76b95
Removed some debug.printfs.
2003-08-22 22:58:50 +00:00
James Vega
3c2ce0164a
Added support for: created by, requested by, # requests to lart/praise/excuse/insult related functions
...
Added more error checking
Added a simple pluralizer
Added tests to stress lart/praise/excuse/insult portions of FunDB
2003-08-22 21:34:33 +00:00
Jeremy Fincher
436dc54ac3
Added configuration question for color.
2003-08-22 20:58:58 +00:00
James Vega
11c7124203
Added notification of which record number was added when adddb is called.
2003-08-22 08:10:58 +00:00
James Vega
52fab17e92
Added docstrings for ignore
2003-08-22 07:07:15 +00:00
James Vega
0b6fce1e06
Replaced the last of the specific functions with the general getdb.
...
Fixed some sql statements and cleaned up some responses.
2003-08-22 07:04:47 +00:00
Jeremy Fincher
c413261a3b
Fixed crazy quoting bug.
2003-08-22 06:45:10 +00:00
James Vega
9b3faa1982
Removed some extraneous escaping of quotes and switched _tables from a list to a set.
2003-08-22 06:08:55 +00:00
James Vega
b785cc220f
Remove an extraneous print statement
2003-08-22 05:40:36 +00:00
James Vega
24005d3df1
FunDB: Made more general get/remove/num/add commands to consolidate getlart, numinsults, et.al.
...
test_FunDB: Started adding tests for FunDB
2003-08-22 05:36:53 +00:00
James Vega
11a3cf195c
Add the missing "onStart.append('load Amazon')"
2003-08-22 03:45:21 +00:00
Jeremy Fincher
35c33276ea
Moved debversion to Debian from Http.
2003-08-22 00:52:10 +00:00
Jeremy Fincher
d3fd184995
Fixed a few bugs in debfile.
2003-08-22 00:49:40 +00:00
Jeremy Fincher
2aee3490d5
Initial commit. Has debfile command.
2003-08-22 00:46:05 +00:00
Jeremy Fincher
46101547ac
Added PeriodicFileDownloader, a plugin mixin that handles the nastiness of getting files periodically.
2003-08-22 00:45:28 +00:00
James Vega
ae2fc047d3
Removed/modified some country codes for babelfish modules.
2003-08-21 22:38:26 +00:00
Jeremy Fincher
af9d8b6c28
Fixed relaywhois problems.
2003-08-21 16:31:37 +00:00
Jeremy Fincher
526e5b613b
Added error to babelize in case one language isn't english.
2003-08-21 15:49:06 +00:00
Jeremy Fincher
2d6f22ae76
Fixed a bug in the regexp; removed a latent security bug that was just waiting for that regexp bug to be fixed.
2003-08-21 12:46:52 +00:00
Jeremy Fincher
088047aea8
Stylistic updates.
2003-08-21 12:25:35 +00:00
Jeremy Fincher
228624861f
Killed NameError in relaycolor.
2003-08-21 11:49:42 +00:00
Jeremy Fincher
89e4a3ea59
Added command to turn colorization off.
2003-08-21 11:19:32 +00:00
James Vega
28a8071635
Add babelfish.py and the corresponding translate & babelize functions to Http.py
2003-08-20 22:47:19 +00:00
Jeremy Fincher
8c72168a30
Reordered imports.
2003-08-20 16:30:17 +00:00
Jeremy Fincher
ca646716b1
Removed spaces at the end of lines.
2003-08-20 16:26:23 +00:00
James Vega
9dc1221045
Added the missing 'import utils'
2003-08-20 13:44:30 +00:00
Jeremy Fincher
9c17ec5c68
Documentation change.
2003-08-20 09:35:23 +00:00
Jeremy Fincher
8a47be6767
Added Amazon module, useful for its isbn command.
2003-08-20 09:34:15 +00:00
Jeremy Fincher
15ba96b4eb
Made the configure script use more natural English.
2003-08-20 08:54:29 +00:00
Jeremy Fincher
88e47b463a
Documentation changes.
2003-08-20 07:32:49 +00:00
James Vega
edf695aaad
Fixed the karma (++/--) regexes
2003-08-19 22:06:07 +00:00
Jeremy Fincher
866916f8c0
Made it snarf all URLs, not just ftp/http.
2003-08-19 17:23:06 +00:00
Jeremy Fincher
fa518894cc
Fix for UnboundLocalError in kernel command.
2003-08-19 16:49:26 +00:00
James Vega
c8cafb6f45
Fixed the problem where 'load Unix' would never be appended to onStart
2003-08-19 14:47:59 +00:00
Jeremy Fincher
7fd35a1071
Made some changes to satisfy PyChecker.
2003-08-19 10:38:45 +00:00
Jeremy Fincher
dcacf9c7d5
Added lasturl command.
2003-08-19 09:10:41 +00:00
Jeremy Fincher
8b093f3b2b
Fixed some database errors.
2003-08-19 07:48:43 +00:00
James Vega
7aabcfd41d
Fixed a typo. prfix->prefix
2003-08-19 01:20:56 +00:00
James Vega
23f2106c1a
Added win/loss/draw percentages to Gameknot.py
2003-08-18 22:20:48 +00:00
Jeremy Fincher
861e29c391
Fixed the total matches problem.
2003-08-18 21:32:11 +00:00
Jeremy Fincher
6560f9e7ae
Finally removed all the known bugs.
2003-08-18 07:10:17 +00:00
Jeremy Fincher
e05a0d18c9
Found a bug, wrote a test, yay.
2003-08-18 06:58:37 +00:00
Jeremy Fincher
6025ecac05
Stupid regexp error.
2003-08-18 06:43:26 +00:00
Jeremy Fincher
a50e81d23e
Changed the gameknotSnarfer to show whose move it is or who won the game.
2003-08-18 06:41:09 +00:00
Jeremy Fincher
0f4a78dc2d
Added a snarfer for stats links and refactored.
2003-08-17 22:01:26 +00:00
Daniel DiPaolo
83c44eecab
* added new utility, findBinaryInPath which searches the PATH for a specific binary
...
* removed getSpellBinary, and replaced with findBinaryInPath calls
2003-08-17 20:09:09 +00:00
Daniel DiPaolo
352207b82a
* more descriptive morehelp for spell in Unix.py
...
* show total matches and number shown for spell
2003-08-17 19:51:05 +00:00
Jeremy Fincher
effb14e34a
Argh, stupid empty lines...I hate when I put those in there.
2003-08-17 19:19:57 +00:00
Jeremy Fincher
2b79b6501f
A few updates to the spell command, and some tests.
2003-08-17 19:15:37 +00:00
Daniel DiPaolo
99a7386c02
* added a 'spell' function in Unix.py
2003-08-17 18:10:48 +00:00
Jeremy Fincher
3c5be8a362
Basic snarfing and random URL returning is done.
2003-08-17 09:31:04 +00:00
Jeremy Fincher
cae9f9a255
Added an ignore command, useful for sequencing several nested commands.
2003-08-17 09:26:05 +00:00
Jeremy Fincher
44d4c98dc7
Had to do a map(int, ...) thing because sqlite sometimes sucks at that kind of thing.
2003-08-17 06:22:01 +00:00
Jeremy Fincher
b78cabaed5
Wrote some more tests for FunCommands; found some bugs in the process.
2003-08-17 02:02:53 +00:00
Jeremy Fincher
074268ffe6
Added some tests and fixed a bug they found in the title command.
2003-08-15 17:40:14 +00:00
Jeremy Fincher
a5baf0eb41
Stopped coloring networks, it sucked.
2003-08-15 05:41:51 +00:00
Jeremy Fincher
977031163e
Made Notes notify on PRIVMSG as well as JOIN.
2003-08-15 03:00:59 +00:00
Jeremy Fincher
cb6f1a1432
Made zipcode handle zipcodefor stuff.
2003-08-15 03:00:10 +00:00
Jeremy Fincher
5cacbfb18a
Wrong pluralization in karma.
2003-08-15 02:56:29 +00:00
Jeremy Fincher
d25b3894d7
Fixed bug in calc.
2003-08-15 00:42:35 +00:00
Jeremy Fincher
330dfad1ea
Added specific logging of CTCP requests.
2003-08-14 17:54:28 +00:00
Jeremy Fincher
0231cdcfd4
Somewhat working now.
2003-08-14 12:11:45 +00:00
Jeremy Fincher
ebd2113eb3
Moved zipcode over to the FunDB module.
2003-08-14 10:51:42 +00:00
Jeremy Fincher
e30aa883cf
Made the db commit before closing in ChannelDBHandler.
2003-08-13 05:53:34 +00:00
Jeremy Fincher
6d40bb475e
Karma works now.
2003-08-12 19:38:23 +00:00
Jeremy Fincher
7fb632c49f
Changed colorization slightly to include network abbreviation.
2003-08-12 19:10:27 +00:00
Jeremy Fincher
9b62a861c6
Removed an unneeded debug.printf.
2003-08-12 18:45:23 +00:00
Jeremy Fincher
88c6c7b136
Some changes to the karma stuff, I forget the details.
2003-08-12 18:44:13 +00:00
Jeremy Fincher
ad432a640a
Added more color to reduce collisions; robustified relaywhois.
2003-08-12 08:48:16 +00:00
Jeremy Fincher
d81c1be4f2
Moving ChannelStats over to ChannelDB as we add karma and quotes.
2003-08-11 22:31:16 +00:00
Jeremy Fincher
39cce9c3af
Changed from 's.find(x) != -1' to 'x in s'
2003-08-11 17:16:03 +00:00
Jeremy Fincher
241d20ea30
Removed, since gameknot was the last thing in it.
2003-08-11 05:22:51 +00:00
Jeremy Fincher
bba0e6e880
Moved gameknot stuff out to its own module.
2003-08-11 05:22:15 +00:00
Jeremy Fincher
1bbcfa9a5e
Added a semi-accurate refcount measure to objects.
2003-08-11 05:06:41 +00:00
Jeremy Fincher
0cf850dfc1
Made to use new PrivmsgCommandAndRegexp callback.
2003-08-11 03:37:15 +00:00
Jeremy Fincher
abd94e32fb
*Really* optimized objects command.
2003-08-07 09:19:40 +00:00
Jeremy Fincher
02ce886b55
Added relaysay command.
2003-08-07 08:20:23 +00:00
Jeremy Fincher
6dded57ea2
A few minor optimizations to take advantage of itertools.
2003-08-07 06:25:33 +00:00
Jeremy Fincher
36996dd3cf
Updated stuff for 2.3 to break 2.2 compatibility :)
2003-08-07 02:48:44 +00:00
Jeremy Fincher
b4633370ce
Forgot to add the % name to the 'no user' gkstats response.
2003-08-05 05:02:21 +00:00
Jeremy Fincher
6e19d921c8
Forget this with the other 2.3 upgrade stuff.
2003-08-01 02:58:29 +00:00
Jeremy Fincher
80b04b4d09
Added encode and decode commands.
2003-07-31 06:43:19 +00:00
Jeremy Fincher
1cae9664a7
Upgraded to 2.3.
2003-07-31 06:20:58 +00:00
Jeremy Fincher
a6f8ddab18
Fixed googleinfo updating.
2003-07-30 20:07:25 +00:00
Jeremy Fincher
1230769fe0
Added googlefight command and cleaned up the output of metagoogle command.
2003-07-30 19:39:58 +00:00
Jeremy Fincher
f7637bd19c
Added metagoogle command.
2003-07-30 19:08:05 +00:00
Jeremy Fincher
33f2818398
Made Relay use ircutils.canonicalColor.
2003-07-30 11:01:44 +00:00
Jeremy Fincher
1891a46894
Fixed bug in deepthought.
2003-07-29 12:48:54 +00:00
Jeremy Fincher
fb730d72a1
Fixed bug in acronym; why did it blindly remove the first and last responses?
2003-07-24 13:33:31 +00:00
Jeremy Fincher
b64e0d5730
Added a set of deepthoughts so lookup is faster if the queue gets large.
2003-07-24 10:09:50 +00:00
Jeremy Fincher
5644c8da57
Changed some mircColor stuff.
2003-07-23 15:24:05 +00:00
Jeremy Fincher
7c34d8b449
Minor formatting change.
2003-07-23 15:14:14 +00:00
Jeremy Fincher
d346d877c9
Tweaked deblookup and changed its named to debversion.
2003-07-23 15:10:41 +00:00
Daniel DiPaolo
d3268414e3
* added preliminary version of deblookup module (basically a straight copy of
...
moobot's deblookup with some minor tweaks)
2003-07-23 06:40:05 +00:00
Daniel DiPaolo
0e16b70f8b
* added mircColor() function to ircutils as well as mircColors dict
...
* added test cases for this function
* implemented nick coloring for Relay
2003-07-23 05:29:16 +00:00
Jeremy Fincher
50bcc22e24
Made unmorse handle underscores in addition to dashes (as longs)
2003-07-23 02:14:39 +00:00
Jeremy Fincher
3fe182b9c3
Must've forgotten an older commit...
2003-07-23 01:45:48 +00:00
Jeremy Fincher
194eb12b26
Added a module to remove bold outgoing from the bot.
2003-07-21 03:59:34 +00:00
Jeremy Fincher
65d2dabc5c
Added shrink command. (made it shirnk a little more)
2003-07-16 18:47:26 +00:00
Jeremy Fincher
8ba0d3a1a4
Added shrink command.
2003-07-16 18:45:28 +00:00
Jeremy Fincher
e745ec6d88
It's a string, not an integer, idjit!
2003-07-02 19:00:43 +00:00
Jeremy Fincher
df02bd593e
Fixed plurality problem in gkstats.
2003-07-02 18:58:45 +00:00
Jeremy Fincher
440a336010
Added relaywhois command.
2003-06-22 16:17:33 +00:00
Jeremy Fincher
e689904c90
Changed me handling in lart.
2003-06-18 06:45:21 +00:00
Jeremy Fincher
d9399fb304
Added urllib.unquote to foldoc error message.
2003-06-14 10:40:52 +00:00
Jeremy Fincher
73c3b811aa
Changed style of ord command to be cleaner.
2003-06-13 16:53:33 +00:00
Jeremy Fincher
046c6998e4
Fixed binary command.
2003-06-12 16:05:27 +00:00
Jeremy Fincher
1a704ef1f7
Made Markov module threaded.
2003-06-10 16:51:21 +00:00
Jeremy Fincher
a6d9ee029f
Fixed the null nick problem with the IRC bot's own messages.
2003-06-10 07:31:11 +00:00
Jeremy Fincher
1131cc4f15
Changed format of ACTIONs to match normal PRIVMSGs.
2003-06-05 21:03:22 +00:00
Jeremy Fincher
82bb295b20
Fixed enqueuing in deepthought.
2003-06-03 05:24:21 +00:00
Jeremy Fincher
ee805e2860
Fixed IndexError on empty deepthoughtq.
2003-06-03 03:25:19 +00:00
Jeremy Fincher
800efee2ea
Removed spurious quoting from acronym.
2003-06-02 07:21:35 +00:00
Jeremy Fincher
4be5d42dc5
Fixed Http.deepthought to queue thoughts and to import structures for such queueing.
2003-06-02 06:55:51 +00:00
Jeremy Fincher
f0c32e039d
Stupid SyntaxError...grrr...
2003-06-02 06:51:09 +00:00
Jeremy Fincher
0f018d0221
Changed acronym to allow as many acronyms as possible.
2003-06-02 06:46:40 +00:00
Jeremy Fincher
b6e9d10a96
Added import sre_constants.
2003-06-02 06:42:15 +00:00
Jeremy Fincher
f10eff889d
Added import utils.
2003-06-02 06:41:35 +00:00
Jeremy Fincher
9bf2b8a624
Handled case in last where argument isn't an integer.
2003-06-02 05:57:54 +00:00
Jeremy Fincher
c31078339b
Failed google now handled in googleSnarfer.
2003-06-02 05:53:16 +00:00
Jeremy Fincher
663a9f75ae
Failed regexp now handled in googlegroups.
2003-06-02 05:48:57 +00:00
Jeremy Fincher
c5e1e8e89a
Fixed NameError in topic.
2003-06-02 05:42:57 +00:00
Jeremy Fincher
6f7e3e53c1
Moved queue from fix to structures.
2003-05-29 16:35:35 +00:00
Jeremy Fincher
5bc901e125
Changed foldoc to hopefully stave off the empty return.
2003-05-23 05:46:33 +00:00
Jeremy Fincher
09340376cb
Changed utils.timeElapsed to use just a seconds instead of a now/then argument.
2003-05-20 15:37:25 +00:00
Jeremy Fincher
b633960740
Fixed lart code not to lart the bot himself.
2003-05-16 18:04:46 +00:00
Jeremy Fincher
26f185c0e9
Changed some formatting of command relays.
2003-04-30 14:49:09 +00:00
Jeremy Fincher
6822cc31a7
Better error handling for title command.
2003-04-29 15:40:02 +00:00
Jeremy Fincher
d7bdb77538
Fixed bug in googlesite.
2003-04-29 15:34:27 +00:00
Jeremy Fincher
b1e95f8b64
Started trying to make factoids useful.
2003-04-29 13:25:40 +00:00
Jeremy Fincher
670669fe68
Initial checkin.
2003-04-29 13:08:39 +00:00
Jeremy Fincher
45cdde675c
Added title command; fixed a latent bug or two.
2003-04-29 06:48:54 +00:00
Jeremy Fincher
b037bcda4b
Changed to only message doJoin when the user hasn't been notified of new messages.
2003-04-25 08:49:02 +00:00
Jeremy Fincher
8d0d138850
Updates to variable names and whatnot.
2003-04-24 17:36:25 +00:00
Jeremy Fincher
4f094a2e83
Changed utils.shrinkList to ircutils.shrinkList.
2003-04-24 16:35:20 +00:00
Jeremy Fincher
3620be1ed2
Forgot the utils.
2003-04-23 22:38:38 +00:00
Jeremy Fincher
0cc386e7f7
Change notification to only-notify-of-unnotified-messages.
2003-04-23 22:32:55 +00:00
Jeremy Fincher
5045894dcc
Changed the order of __init__s (yeah, I'm a dork).
2003-04-22 11:24:57 +00:00
Jeremy Fincher
c39fba7b0b
Syntax fix for SQL.
2003-04-21 13:07:01 +00:00
Jeremy Fincher
c46ae750f6
Removed spurious parentheses.
2003-04-20 21:56:08 +00:00
Jeremy Fincher
80e4dfbe63
Added world.threadsSpawned, logging of the number of threads spawned, and added the information to cpustats.
2003-04-20 16:15:35 +00:00
Jeremy Fincher
e06ce955fa
Changed formatting of rpn in case of a non-empty stack.
2003-04-20 09:04:27 +00:00
Jeremy Fincher
b9153e5ad0
Added rpn command.
2003-04-20 08:52:59 +00:00
Jeremy Fincher
11a674eb2b
Added handling for case of a channel with no pairs/follows.
2003-04-20 07:15:31 +00:00
Jeremy Fincher
f8bc027ede
Added morehelp for the whole module.
2003-04-20 06:26:17 +00:00
Jeremy Fincher
4b3c9162b9
Added something to stop assertion errors in case of ChanServ stuff.
2003-04-20 01:40:55 +00:00
Jeremy Fincher
7971760790
Forgot to import drivers.
2003-04-20 00:10:53 +00:00
Jeremy Fincher
85abb8c3bb
Fixed strange editing error.
2003-04-20 00:00:37 +00:00
Jeremy Fincher
ee74036505
Changed to be driver-module independent.
2003-04-19 23:51:11 +00:00
Jeremy Fincher
499507c103
Fixed tyop.
2003-04-19 22:38:40 +00:00
Jeremy Fincher
ed06656025
Moved google groups snarfer to the Google module.
2003-04-19 22:16:57 +00:00
Jeremy Fincher
43ae9188b5
Changed format of rssinfo command.
2003-04-19 21:40:39 +00:00
Jeremy Fincher
747d48c7ab
Changed a few SQL statements and added oldnotes command.
2003-04-19 21:40:04 +00:00
Jeremy Fincher
ab7fd51ddd
Changed morse/unmorse and related stuff to be (hopefully) clearer.
2003-04-19 21:39:23 +00:00
Jeremy Fincher
85331d2848
Added support for old google (the crazy irc bot)-style google responses.
2003-04-19 21:38:38 +00:00
Jeremy Fincher
1c49500263
Added strtranslate, strupper, and strlower.
2003-04-19 21:23:05 +00:00
Jeremy Fincher
8054a1cf5d
Changed format slightly in rssinfo.
2003-04-19 07:03:29 +00:00
Jeremy Fincher
7e56114971
Normalize whitespace in rssinfo.
2003-04-19 07:01:01 +00:00
Daniel DiPaolo
99666246ed
* Corrected the gameknot Forums regex to not require the ("&r=\d+") part since
...
not all the URLs necessarily have it.
* Added the game title to the output as well (haven't done a ton of testing on
the regex, but it worked on every game I tried it on)
2003-04-19 04:43:46 +00:00
Jeremy Fincher
c506306635
Changed size of results and removed list of commands.
2003-04-18 14:47:52 +00:00
Jeremy Fincher
fa53cf34d5
Rewrote dict command.
2003-04-18 08:20:27 +00:00
Jeremy Fincher
c99f68894a
Changed to use ircutils.shrinkList.
2003-04-18 08:19:22 +00:00
Jeremy Fincher
b321ca8bb9
Wrong number of arguments on error.
2003-04-17 10:07:06 +00:00
Jeremy Fincher
32268cdef8
Removed unused import.
2003-04-17 10:06:29 +00:00
Jeremy Fincher
ba67e2c8e0
Made it htmlToText headlines.
2003-04-17 10:06:11 +00:00
Jeremy Fincher
8d50d79e7a
Added new getopt capability to google command.
2003-04-17 10:05:22 +00:00
Jeremy Fincher
e9e81227eb
Initial import.
2003-04-17 09:59:22 +00:00
Jeremy Fincher
df3dcb7e2a
Various updates.
2003-04-17 08:39:04 +00:00
Jeremy Fincher
5a11ebd8bd
Fixed searchports somewhat.
2003-04-16 15:15:41 +00:00
Jeremy Fincher
110eb47529
Qualified foldoc raise of ArgumentError.
2003-04-16 08:35:13 +00:00
Jeremy Fincher
aafc138745
Fixed permissions bug.
2003-04-16 08:34:44 +00:00
Jeremy Fincher
42e1a7ca34
Added morehelps to all commands.
2003-04-16 08:26:58 +00:00
Jeremy Fincher
243e6eaa7c
Removes list of commands in module docstring.
2003-04-16 07:22:06 +00:00
Jeremy Fincher
b11c3f4a8b
Added notification on join of unread/unnotified messages.
2003-04-16 07:21:06 +00:00
Jeremy Fincher
481c9f31ac
Fixed changetopic to use utils.perlReToReplacer and added help/morehelp for all commands.
2003-04-16 07:11:28 +00:00
Jeremy Fincher
d5484f620f
Added final morehelp docstring.
2003-04-16 07:10:31 +00:00
Jeremy Fincher
cd73dfbc52
Changed formatting in presence of lacking titles and made it respond with as many results as it can.
2003-04-16 07:07:39 +00:00
Jeremy Fincher
9941d3534c
Updated significantly; channelstats command added, bug fixed (frowns was only counting smileys)
2003-04-16 06:44:30 +00:00
Jeremy Fincher
aecad2fc58
Changed re command to use new utils functions.
2003-04-16 05:28:35 +00:00
Jeremy Fincher
b40431cf31
Added docstrings and method skeleton.
2003-04-15 23:29:40 +00:00
Jeremy Fincher
82c7d586ef
Began switch to allow notifications.
2003-04-15 19:11:12 +00:00
Jeremy Fincher
f67fa45395
Added repr command and fixed strsplit.
2003-04-15 15:59:40 +00:00
Jeremy Fincher
25d90d6e43
Changed a few typos: irc.users -> ircdb.users.
2003-04-15 15:37:35 +00:00
James Vega
78687027b0
Fixed gkstats so that it doesn't display duplicate text with gkseen
2003-04-15 01:43:23 +00:00
James Vega
c7a867b589
The 'seen' regex for gkstats was changed back to searching through text instead of html.
2003-04-14 16:49:20 +00:00
Jeremy Fincher
c251ad32f3
Various code changes.
2003-04-14 15:10:38 +00:00
Jeremy Fincher
ea7a319157
Forgot to map(len, L).
2003-04-14 14:50:35 +00:00
Jeremy Fincher
7f21380417
Forgot to import operator.
2003-04-14 14:49:02 +00:00
Jeremy Fincher
71d13d49bb
Forgot to self. cursor.
2003-04-14 14:47:49 +00:00
Jeremy Fincher
250cf8a95a
Changed implementation of notes command.
2003-04-14 14:47:02 +00:00
Daniel DiPaolo
24234810fb
Fixed gkstats to not break on people hiding their online status. (closes:
...
#720926 )
2003-04-14 06:59:21 +00:00
Jeremy Fincher
0d99f0662a
Removed makePrivate.
2003-04-14 06:57:41 +00:00
Jeremy Fincher
c6e47e6e12
Bugfix, hopefully
2003-04-14 05:38:44 +00:00
Jeremy Fincher
217f30ba7b
Bugfix, hopefully
2003-04-14 05:35:02 +00:00
Jeremy Fincher
fd22551da9
Commented-out debugging printfs.
2003-04-14 05:32:31 +00:00
Daniel DiPaolo
4b0fd19e6c
Overhaul of RSS.py:
...
* Changed caching mechanism to cache the entire feed instead of just the
responses
* Added 'rssinfo' command to access the RSS info elements like URL,
description, last updated time, etc.
* Updated docstrings and configure for the 'rssinfo' command
2003-04-14 05:17:49 +00:00
Jeremy Fincher
4caedf25b6
Converted some %d to %s.
2003-04-14 04:49:35 +00:00
Jeremy Fincher
662024d63d
Changed ChannelLogger to only log channels.
2003-04-12 12:20:00 +00:00
Jeremy Fincher
066ed44b04
Changed seen to use utils.timeElapsed.
2003-04-12 10:39:04 +00:00
Jeremy Fincher
f6a286b311
Fixed makeNewAlias to allow and better argument handling.
2003-04-12 10:26:05 +00:00
Jeremy Fincher
4c67a96b49
Fixed bug in xor.
2003-04-11 21:49:47 +00:00
Jeremy Fincher
c92386f7cf
Changed ISNULL(word) to word ISNULL.
2003-04-11 21:36:25 +00:00
Jeremy Fincher
13109d1f96
Changed word=NULL to ISNULL(word)
2003-04-11 21:33:23 +00:00
Jeremy Fincher
62a833f29a
Added markovfirsts command.
2003-04-11 21:31:43 +00:00
Jeremy Fincher
8b0f62220d
Added markovfirsts command.
2003-04-11 21:25:31 +00:00
Jeremy Fincher
fd43eeafb9
Fixed re command.
2003-04-11 21:19:28 +00:00
Jeremy Fincher
bd8de87438
Fixed re command.
2003-04-11 21:18:55 +00:00
Jeremy Fincher
62c407d694
Added re command.
2003-04-11 21:17:37 +00:00
Jeremy Fincher
9253ce5adc
Stupid lack of import...
2003-04-11 21:05:16 +00:00
Jeremy Fincher
96e79c2b2d
Fixed behavior for actions.
2003-04-11 21:04:34 +00:00
Jeremy Fincher
3ddc088764
Forgot to move two lines under the fix.
2003-04-11 21:00:51 +00:00
Jeremy Fincher
c282eadcc3
Fixed UnboundLocalError.
2003-04-11 20:57:39 +00:00
Jeremy Fincher
f39b35eb9b
Must've forgotten this one earlier.
2003-04-11 20:52:39 +00:00
Jeremy Fincher
6aa1e8a7ed
Changed many dictionaries to the more appropriate ircutils.IrcDict.
2003-04-11 20:42:21 +00:00
Jeremy Fincher
b24d360775
Just changed some inserts into _mathEnv to be in the initial declaration.
2003-04-11 20:04:43 +00:00
Jeremy Fincher
fd4c20c258
Added is_first field to database to make sure markov phrases start naturally.
2003-04-11 19:50:41 +00:00
Jeremy Fincher
78b44e7a1e
Changed markov command to know when to stop instead of taking a length.
2003-04-11 14:08:45 +00:00
Jeremy Fincher
9de8e319f3
Slight format change to gameknot snarfer.
2003-04-11 07:38:51 +00:00
Jeremy Fincher
a576de04b1
Made ChannelDBHandler lowercase channels.
2003-04-11 07:08:11 +00:00
Jeremy Fincher
241e493755
Initial import.
2003-04-11 06:56:37 +00:00
Jeremy Fincher
d16c6aaed6
Initial (non-functional) import.
2003-04-09 19:16:52 +00:00
Jeremy Fincher
51386068e4
Finally got QUIT relaying to work.
2003-04-09 19:11:00 +00:00
Jeremy Fincher
5518f75714
Wrong index.
2003-04-09 19:00:23 +00:00
Jeremy Fincher
64b60dceae
Trying different index.
2003-04-09 18:52:55 +00:00
Jeremy Fincher
7890e9dbdb
Added some debug statements and fixed outFilter.
2003-04-09 18:46:41 +00:00
Jeremy Fincher
9295254ccb
Wrong index.
2003-04-09 18:21:48 +00:00
Jeremy Fincher
79a1d351ad
Added and started using MaxLengthQueue.
2003-04-09 18:12:38 +00:00
Jeremy Fincher
67412da988
Fixed stupid bug.
2003-04-09 18:05:39 +00:00
Jeremy Fincher
f6c46bc004
Change to irc.state.copy()
2003-04-09 18:02:00 +00:00
Jeremy Fincher
d37e229027
Fixed non-relaying of QUITs.
2003-04-09 17:49:55 +00:00
Jeremy Fincher
1bc77baebe
Added getlart, getexcuse, getinsult.
2003-04-09 17:03:15 +00:00
Jeremy Fincher
8c9811ea05
Changed AsyncoreDriver to accept an irc as an argument, hopefully fixing the looping bug.
2003-04-09 15:07:23 +00:00
Jeremy Fincher
088e984f8f
Commented out debug.printf statements.
2003-04-09 04:31:54 +00:00
Jeremy Fincher
e5a6f83aed
Added morehelp to googlelicensekey
2003-04-08 19:19:21 +00:00
Jeremy Fincher
1113173077
Initial import.
2003-04-08 19:16:18 +00:00
Jeremy Fincher
ce1435a55f
Minor changes
2003-04-08 09:11:33 +00:00
Jeremy Fincher
24129e2867
Moved from plugins/deprecated/
2003-04-08 08:40:50 +00:00
Jeremy Fincher
bdd6207b9f
Stupidity
2003-04-08 08:30:28 +00:00
Jeremy Fincher
33a9e88c76
Changed strsplit and arg.
2003-04-08 08:29:30 +00:00
Jeremy Fincher
15487a6416
Fixed arg.
2003-04-08 08:24:27 +00:00
Jeremy Fincher
22155c2714
Fixed AttributeError in strsplit.
2003-04-08 08:22:15 +00:00
Jeremy Fincher
c8c7c40791
Added arg command.
2003-04-08 08:20:48 +00:00
Jeremy Fincher
4cdf013c14
Improved formatting of headlines.
2003-04-08 07:52:24 +00:00
Jeremy Fincher
9a79c6b0ee
Added echo command.
2003-04-08 07:19:56 +00:00
Jeremy Fincher
94e753aaaa
Added configure to optionally disable progstats.
2003-04-08 07:18:53 +00:00
Jeremy Fincher
1035e9290a
Added configure.
2003-04-08 07:15:45 +00:00
Jeremy Fincher
6adf5cf04b
Totally changed interface and added configure.
2003-04-08 07:08:46 +00:00
Jeremy Fincher
11ae9119ba
Added changes from jemfinch.
2003-04-08 07:07:54 +00:00
Jeremy Fincher
e5b0cd33a3
Added configure.
2003-04-08 07:07:10 +00:00
Jeremy Fincher
fa3e65d7b1
Added configure and proper length coverups for bad words.
2003-04-08 07:06:28 +00:00
Jeremy Fincher
6305958784
Initial import.
2003-04-08 07:00:39 +00:00
Jeremy Fincher
4f54eb864e
Added 'quotes' to docstring (wasn't there before)
2003-04-06 12:24:56 +00:00
Jeremy Fincher
d625b56eae
Added arstechnica and advogato; restructured to make adding feeds quick and easy.
2003-04-06 12:19:55 +00:00
Jeremy Fincher
43c0de76d9
Forgot to import time.
2003-04-06 11:49:53 +00:00
Jeremy Fincher
6976d587d5
Removed slashdot and moved it to RSS.py
2003-04-06 11:48:29 +00:00
Jeremy Fincher
78a2a21286
Initial import.
2003-04-06 11:42:41 +00:00
Jeremy Fincher
99364a27af
Changed slashdot to use rssparser and also to remove all stories if the resulting message is too long.
2003-04-06 11:28:51 +00:00
Jeremy Fincher
9c78731123
Added morehelp.
2003-04-06 09:17:38 +00:00
Jeremy Fincher
047470f371
Fixed gkstats 'last seen' regexp.
2003-04-05 19:45:48 +00:00
Jeremy Fincher
a708471a45
Added morehelps and change a gkstats regexp slightly.
2003-04-05 19:41:59 +00:00
Jeremy Fincher
8f16571fdb
Fixed stupid syntax error (wrong quotes around praise)
2003-04-05 12:37:15 +00:00
Jeremy Fincher
a50643c025
Added soundex to utils (along with a test) and to FunCommands.
2003-04-05 11:23:28 +00:00
Jeremy Fincher
7a3d06a2bb
Changed NOTNULL to NOT NULL and the order of the methods (yeah, I'm anal)
2003-04-05 10:24:40 +00:00
Jeremy Fincher
100d0fa016
Added levenshtein distance
2003-04-04 15:49:24 +00:00
Jeremy Fincher
40b8eb3956
Changed ircutils.reply to ircutils.replyTo
2003-04-04 06:59:39 +00:00
Jeremy Fincher
46eb87808f
Changed validArgument to isValidArgument
2003-04-04 06:08:36 +00:00
Brett Kelly
b5d47aa811
added numlarts, numinsults, and numexcuses
2003-04-04 02:35:18 +00:00
Jeremy Fincher
d6087e2906
Added i to _mathEnv
2003-04-03 09:59:05 +00:00
Jeremy Fincher
1eb088de21
Added timeElapsed and converted FunCommands to use it.
2003-04-03 09:11:57 +00:00
Jeremy Fincher
eb9e5c87f2
Changed drivers.close() to .die().
2003-04-03 08:52:41 +00:00
Jeremy Fincher
ea11c0ea5f
Whitespace changes
2003-04-03 08:24:52 +00:00
Jeremy Fincher
e9a5ad1367
Removed; subsumed by a smarter scripts/newplugin.py
2003-04-03 08:22:58 +00:00
Jeremy Fincher
0dfaa7881d
Normalize whitespace in pydoc
2003-04-03 07:38:46 +00:00
Brett Kelly
073188eb25
all systems go, added some pretty stuffs to be STYLE compliant :)
2003-04-03 07:11:16 +00:00
Jeremy Fincher
9e05519660
Changed driver.die() to driver.close()
2003-04-03 06:58:30 +00:00
Brett Kelly
7c31468866
everything appears to be working, please lemme know if it barfs
2003-04-03 05:48:57 +00:00
James Vega
924d48ebad
Prettified acronym's morehelp
2003-04-03 05:48:04 +00:00
Jeremy Fincher
f1b02e64e5
Formatting changes to netcraft and gkstats.
2003-04-02 16:13:29 +00:00
Jeremy Fincher
59a803d3b2
Ugh, stupid bug.
2003-04-02 16:05:26 +00:00
Jeremy Fincher
fcb0403711
Added proper response for invalid hostnames
2003-04-02 16:03:38 +00:00
Jeremy Fincher
c49bd6f88f
Fixed handling of channel capabilities
2003-04-02 11:08:34 +00:00
Jeremy Fincher
6385806048
Changed a message to be more accurate
2003-04-02 10:07:06 +00:00
Jeremy Fincher
33847807f7
Forgot to remove the creation of debugging files.
2003-04-02 09:53:50 +00:00
Jeremy Fincher
089d032b34
Fixed AttributeError in cpustats
2003-04-02 09:31:50 +00:00
Jeremy Fincher
75768aa524
Added netcraft command
2003-04-02 08:54:23 +00:00
Brett Kelly
487c99c909
fixed output when querying for all unread notes
2003-04-02 08:30:12 +00:00
Jeremy Fincher
99cb3579a6
Fixed pydoc command to allow getting docstrings of objects in __builtins__.
2003-04-02 08:13:10 +00:00
Jeremy Fincher
10a0fe9f93
Made uptime command not based on loading of FunCommands module.
2003-04-02 07:50:35 +00:00
Jeremy Fincher
952b7b6517
Added pydoc command
2003-04-02 07:27:00 +00:00
Jeremy Fincher
ecdcabb4e6
Most structure and commands in place
2003-04-01 09:07:14 +00:00
Jeremy Fincher
3da6310065
Added some fixes; seen command works, and stats somewhat works.
2003-04-01 08:38:53 +00:00
Jeremy Fincher
dae47de713
Basic framework in place
2003-04-01 08:36:13 +00:00
Jeremy Fincher
f0cfa30eee
Added QUIT propogation
2003-04-01 07:09:36 +00:00
Brett Kelly
e06f07d402
private/public messages working now
2003-04-01 02:30:10 +00:00
Brett Kelly
c618a8fd19
getnote (almost) works now
2003-04-01 01:44:02 +00:00
Jeremy Fincher
a52a1fe6d6
Forgot to change the class name
2003-03-31 15:55:38 +00:00
Jeremy Fincher
988618af4f
Altered lithp command to handle 'z' and changed a list comprehension with a builtin to a map
2003-03-31 10:45:41 +00:00
Jeremy Fincher
bfc6533d22
Changed OverflowError message.
2003-03-31 10:34:22 +00:00
Jeremy Fincher
880e004abb
Added better handling for OverflowError
2003-03-31 10:18:40 +00:00
Jeremy Fincher
c599e9962b
Added binary command
2003-03-31 10:08:22 +00:00
Jeremy Fincher
390c1fa9ee
Attribute mode changes to someone
2003-03-31 09:31:47 +00:00
Jeremy Fincher
2bb3189d54
Fixed nick and mode change propogation
2003-03-31 09:22:48 +00:00
Jeremy Fincher
534c367b89
Slightly modified acronym regexp not to capture extra groups
2003-03-31 08:10:33 +00:00
Jeremy Fincher
d6f7fef0f8
Changed acronym to use %r for definitions so they get quoted.
2003-03-31 07:06:13 +00:00
Jeremy Fincher
f9cdb62725
Added nick and mode propogation
2003-03-31 07:04:23 +00:00
Jeremy Fincher
371210da16
Removed Utils.py because it conflicts with src/utils.py on case-insensitive OSes
2003-03-31 06:30:32 +00:00
Jeremy Fincher
0fc8e5e0d4
Initial import; conflict with src/utils.py
2003-03-31 06:29:38 +00:00
Jeremy Fincher
8fd1d71952
Made lithp a little more naturally lispish
2003-03-31 05:56:22 +00:00
James Vega
b1a2b87ed3
Adjusted the regex. Added morehelp response. Adjusted the request so that it specifies a browser (site does browser-checking). Used some list comprehension to show only the first 5 results.
2003-03-31 03:26:23 +00:00
James Vega
fc0bbc34d2
Removed a print statement
2003-03-31 02:09:24 +00:00
James Vega
a2d004b3bd
Fixed gkstats so that they work with utils.textToHtml
2003-03-31 02:06:42 +00:00
James Vega
f7939bd43b
Finished the google groups fix. Added a check for links to framed pages in order to grab non-framed pages to parse through.
2003-03-28 17:56:27 +00:00
Jeremy Fincher
ce741a1f0e
Added changetopic
2003-03-28 17:30:10 +00:00
Jeremy Fincher
f7c409055e
Initial import; going off Ofnibot's source to start with.
2003-03-28 09:07:21 +00:00
Jeremy Fincher
6859415bc5
Removed a few unused modules PyChecker noticed
2003-03-28 08:02:43 +00:00
Jeremy Fincher
b943dafd29
Accidentally commited earlier; just a few style changes and docstring improvements.
2003-03-28 07:48:16 +00:00
Jeremy Fincher
85e7e3ae05
Removed CHANGELOG and TODO, not very useful these days
2003-03-28 07:38:16 +00:00
Jeremy Fincher
c42806665b
Fixed 'let's send a new topic every second' problem.
2003-03-28 07:10:23 +00:00
Jeremy Fincher
8d857b6ffd
Changed lithp command to change ss or SS to just th.
2003-03-28 07:00:15 +00:00
Jeremy Fincher
42d20674bb
Changed lithp command to change Xes too.
2003-03-28 06:57:48 +00:00
Jeremy Fincher
c85b3bc052
Changed lithp command to be case-insensitive
2003-03-28 06:54:15 +00:00
Jeremy Fincher
c0804180b4
Added lithp command.
2003-03-28 06:52:08 +00:00
Brett Kelly
e861a8af89
gettin' there, slowly...
2003-03-28 06:25:12 +00:00
Jeremy Fincher
5f5ef91a11
Trying converters out.
2003-03-28 06:11:54 +00:00
Brett Kelly
a4ff3abea7
gettin' there, slowly...
2003-03-28 06:06:19 +00:00
Jeremy Fincher
e99df4442b
Added topic propogation
2003-03-28 05:36:59 +00:00
Jeremy Fincher
25e71562d2
Formatting changes
2003-03-28 05:19:14 +00:00
Jeremy Fincher
55aaa596e0
Changed DBHandler to ChannelDBHandler
2003-03-28 05:15:08 +00:00
Brett Kelly
5f77c05cad
and we're STILL fixing syntaxproblems
2003-03-28 03:57:12 +00:00
Jeremy Fincher
bce7b6fcd8
Changed stripHtml to utils.htmlToText
2003-03-28 03:53:22 +00:00
Jeremy Fincher
b0daafe00e
*Really* fixed now.
2003-03-28 03:10:22 +00:00
Brett Kelly
9808581d37
Still toying with sql syntax
2003-03-28 02:56:05 +00:00
Jeremy Fincher
2db2f64696
Fixed NickServ module.
2003-03-28 02:44:01 +00:00
Jeremy Fincher
0863a95919
Removed a useless variable and changed a response to use conf.replyRequiresPrivacy
2003-03-28 02:34:31 +00:00
Jeremy Fincher
846b4853d7
Slight efficiency increase
2003-03-28 02:05:20 +00:00
Jeremy Fincher
88dbed38a1
Took out short blurb about GPL (Strike gave consent)
2003-03-28 02:02:45 +00:00
James Vega
c41b2c2109
Began fixing google groups parser.
2003-03-28 01:43:08 +00:00
Jeremy Fincher
b43acf0d5a
Fixing relaydisconnect not to call otherIrc.die, since that kills the callbacks.
2003-03-28 01:36:00 +00:00
Jeremy Fincher
d33e67989b
Forgot msg in someIrc.reply
2003-03-28 01:26:37 +00:00
Jeremy Fincher
c582cd9834
Finished polishing relaynames
2003-03-27 21:28:15 +00:00
Jeremy Fincher
b67f2fa874
Fixed showing of originating server in relaynames, and showing of empty name
2003-03-27 21:21:20 +00:00
Jeremy Fincher
a144afcd69
Fixed showing of originating server in relaynames, and showing of empty name
2003-03-27 21:18:49 +00:00
Jeremy Fincher
54221f1e87
Added relaynames command
2003-03-27 21:14:28 +00:00
Jeremy Fincher
3cea0564f1
Fixed exception-raising problem.
2003-03-27 21:03:02 +00:00
Jeremy Fincher
f1823ef5f5
(Hopefully) fixed joins-being-sent-to-original-channel bug.
2003-03-27 20:32:49 +00:00
Jeremy Fincher
fc20715427
Added utils.py, with a quality HTML stripper; removed stripHtml from other source files
2003-03-27 20:10:10 +00:00
James Vega
f355465ad6
_gkrecord regex needed to be before stripHtml. Also fixed the _gkseen regex since there is not always 2 spaces. Used \s+ instead.
2003-03-27 17:37:47 +00:00
Jeremy Fincher
4da96fb264
Fixed stupid bug in outFilter (* is a special regexp character)
2003-03-27 09:48:40 +00:00
Jeremy Fincher
5db1dbd595
Changed idiom in doPart to be more like others
2003-03-27 09:15:38 +00:00
Jeremy Fincher
c62a65e1ec
Fixed a few bugs
2003-03-27 09:14:18 +00:00
Jeremy Fincher
da27691eac
Fixed join/part being relayed bug
2003-03-27 09:14:00 +00:00
Jeremy Fincher
e3cf5753af
Fixed problem with actions being relayed back to the original network
2003-03-27 08:56:34 +00:00
Jeremy Fincher
f32efbf2b2
Added Friendly.py, a module to be friendly to people.
2003-03-27 08:53:13 +00:00
Jeremy Fincher
256e2e0a5d
Fixed stupid bug in outFilter (forgot *not*)
2003-03-27 08:37:17 +00:00
Jeremy Fincher
34a47130e1
Fixed stupid bug in outFilter (extra parenthese in regexp)
2003-03-27 08:27:35 +00:00
Jeremy Fincher
fae918a1ba
Fixed stupid bug in outFilter (forgot to return msg)
2003-03-27 08:26:36 +00:00
Jeremy Fincher
32262af492
Changed over to privmsgs.CapabilityCheckingPrivmsg and finished relaydisconnect.
2003-03-27 08:24:22 +00:00
Jeremy Fincher
d5c7789cbb
Made bot relay its own non-relay messages and factored out formatting of PRIVMSGs.
2003-03-27 08:17:51 +00:00
Jeremy Fincher
c268078697
Fixed action handling
2003-03-27 08:04:19 +00:00
Brett Kelly
b640aa746b
Fixing SQL syntax
2003-03-27 07:13:37 +00:00
Brett Kelly
c299956101
Fixing little syntax errors
2003-03-27 06:31:32 +00:00
Brett Kelly
935b09d5b8
Made major changes to make it nearly functional, added methods to read, send, and delete notes
2003-03-27 06:07:21 +00:00
Brett Kelly
67944a8b1b
initial import of Notes plugin (in progress)
2003-03-27 02:42:26 +00:00
Jeremy Fincher
4679d9b184
Added strsplit command
2003-03-26 10:38:46 +00:00
Jeremy Fincher
37ce2de476
Changed bareword to actual string.
2003-03-26 10:15:30 +00:00
Jeremy Fincher
df45ce1195
Fixed html stripping in foldoc.
2003-03-26 10:14:10 +00:00
Jeremy Fincher
6aacef4cf4
Fixed FunCommands.lastfrom actually use channel argument
2003-03-26 10:12:06 +00:00
Jeremy Fincher
e7da39da77
Untested, but close to functional
2003-03-26 10:04:26 +00:00
Jeremy Fincher
e112e32d71
Still buggy, but more featureful
2003-03-26 08:39:50 +00:00
Jeremy Fincher
6d56a864b4
Forgot irc.reply(msg, conf.replySuccess) in addlart.
2003-03-26 00:42:13 +00:00
Jeremy Fincher
273e426972
Changed randomquote to give the number of the quote
2003-03-25 23:26:31 +00:00
Jeremy Fincher
d3e28c1cfe
Fixed randomquote in the face of an empty database.
2003-03-25 20:12:27 +00:00
Jeremy Fincher
4b6f87f195
Fixed an AttributeError (connection->conn)
2003-03-25 19:22:28 +00:00
Jeremy Fincher
6fa46793a0
Fixed a stupid variable name (def\!)
2003-03-25 19:21:42 +00:00
Jeremy Fincher
fa261c0e80
Added acronym and geekquote commands and triple-quoted method docstrings.
2003-03-25 09:02:03 +00:00
Jeremy Fincher
958d1c934e
Added kernel command
2003-03-25 08:38:14 +00:00
Jeremy Fincher
eb48daa8d3
Added default module docstring and imported privmsgs and callbacks by default.
2003-03-25 07:00:29 +00:00
Jeremy Fincher
0afc399bfc
Added module docstrings (which will later be used by the installer script.
2003-03-25 06:53:51 +00:00
Jeremy Fincher
bf25751aa3
Added module docstring and dawdit alias for unmorse
2003-03-25 06:51:13 +00:00
Jeremy Fincher
54e0c07a9c
Added module docstring and removed nslookup/host as aliases for dns
2003-03-25 06:49:58 +00:00
Jeremy Fincher
8bafe4ee12
Changed module docstring and the order of arguments for startnickserv
2003-03-25 06:35:53 +00:00
James Vega
0535b87c29
Corrected my gkstats _record regex.
2003-03-25 04:22:24 +00:00
James Vega
0294dd255c
Made the 'record' regex more generic. This should make it work for everyone.
...
Added a check for 'Team', since not everyone will have one.
2003-03-25 01:40:49 +00:00
James Vega
c803e5e9d8
Added vim:set ... : strings to source in order to keep file formatting
...
consistent between developers. Jeremy should be adding the equivalent
settings for emacs soon.
2003-03-24 08:41:19 +00:00
Jeremy Fincher
bbe6cbc05d
Fixed bug #708321
2003-03-24 08:33:00 +00:00
Jeremy Fincher
67870237fd
Removed cfactive, since, well, CoderForums isn't active.
2003-03-22 09:07:14 +00:00
Jeremy Fincher
7851ea4ef9
sets aren't lists, and don't have .extend().
2003-03-22 08:14:36 +00:00
Jeremy Fincher
b6e98a577f
Added slashdot command (thanks, inkedmn!)
2003-03-22 07:53:46 +00:00
Jeremy Fincher
8c27ab7917
Slightly changed format of gameknot URL snarfer
2003-03-22 03:15:12 +00:00
Jeremy Fincher
300cb1d766
Removed printf debug
2003-03-22 03:13:51 +00:00
Jeremy Fincher
d91b9e95ef
Added team and "last seen" info in gkstats
2003-03-16 12:43:59 +00:00
Jeremy Fincher
b8189d55ce
Fixed morse code
2003-03-15 12:49:54 +00:00
Jeremy Fincher
52b1270211
Removed __init__ and created _revcode more naturally. Also added some morehelp strings.
2003-03-15 12:39:46 +00:00
Jeremy Fincher
5aea60bd07
Added @give command.
2003-03-15 12:27:40 +00:00
Jeremy Fincher
24c6eaa9df
Fixed chr command to take hex/oct/binary literals and added a base command
2003-03-15 12:00:31 +00:00
Jeremy Fincher
8d287c2f66
Fixed bad pluralization in cpustats
2003-03-15 11:51:16 +00:00
Jeremy Fincher
f6066236a9
Stupid tabs.
2003-03-15 11:18:28 +00:00
Jeremy Fincher
94c10ca5da
Changed format of gameknot URL snarfer.
2003-03-15 11:11:55 +00:00
Jeremy Fincher
7e5162d8e4
Fixed various non-closed urllib2.urlopens; changed gkstats to respond appropriately if there's no such user.
2003-03-15 11:11:01 +00:00
Jeremy Fincher
3a6c557fd0
Added ord/chr commands
2003-03-15 10:00:49 +00:00
Jeremy Fincher
fcdcd11ed5
Changed gkstats command to respond that the user wasn't found on nonexistent users.
2003-03-15 09:49:31 +00:00
Jeremy Fincher
d2f56143dc
Fixed strjoin and added strconcat
2003-03-15 00:55:43 +00:00
Jeremy Fincher
4670e6df55
Added license.
2003-03-13 16:28:12 +00:00
Jeremy Fincher
c86363db46
Made gameknot.com URL snarfer bold the names.
2003-03-13 07:58:05 +00:00
Jeremy Fincher
ced5e6b052
Fixed gameknot.com URL snarfer formatting
2003-03-13 07:55:49 +00:00
Jeremy Fincher
4ee9dc7217
Fixed gameknot.com URL snarfer formatting (double colons)
2003-03-13 07:53:13 +00:00
Jeremy Fincher
d782f7c725
Fixed gameknot.com URL snarfer
2003-03-13 07:52:04 +00:00
Jeremy Fincher
ee7e27436c
Slightly changed the formatting of the output (again).
2003-03-13 07:37:21 +00:00
Jeremy Fincher
d9b17f5a45
Slightly changed the formatting of the output.
2003-03-13 07:34:11 +00:00
Jeremy Fincher
5ec9df1a2d
Fixed some bugs in the weather command.
2003-03-13 07:31:38 +00:00
Jeremy Fincher
677a63a1c7
*** empty log message ***
2003-03-13 07:14:33 +00:00
Jeremy Fincher
5e39dbafa7
Added inkedmn's weather command.
2003-03-13 07:12:47 +00:00
Jeremy Fincher
c4a577c9c2
Minor change in formatting of Http module and foldoc command.
2003-03-12 15:12:49 +00:00
Jeremy Fincher
7801c84d84
Initial revision
2003-03-12 06:26:59 +00:00