Commit Graph

953 Commits

Author SHA1 Message Date
Jeremy Fincher
40dcc0eb1c Changed a log.info to a log.warning (more appropriate). 2003-12-05 11:52:50 +00:00
Jeremy Fincher
9873981fd8 Updated deop/dehalfop/devoice to work by default on the sender of the message. 2003-12-04 16:27:03 +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
417f57f4e8 'Fixed' bug #853791 (really, just fixed the error message). 2003-12-04 08:12:09 +00:00
Jeremy Fincher
8242302a07 Updated the logging of various things that need logged. 2003-12-04 08:11:34 +00:00
Jeremy Fincher
5fb21b5d06 Eh, sorted some output. 2003-12-04 07:18:10 +00:00
Jeremy Fincher
5300ca59fd Changed the format of Channel.capabilities to match User.capabilities. 2003-12-04 07:15:14 +00:00
Jeremy Fincher
a74d1d5aef Added a little extra logging. 2003-12-04 00:29:06 +00:00
Jeremy Fincher
1b462c8b55 Added a few more substitutes and allowed a few more names to be more compatible with blootbot. 2003-12-04 00:07:16 +00:00
Jeremy Fincher
2aaca31709 Moved Configurable out to its own module. 2003-12-03 23:14:09 +00:00
Jeremy Fincher
6925ecf760 New hostmaskPatternEqual that's a bit more correct and perhaps slightly faster. 2003-12-03 23:13:07 +00:00
Jeremy Fincher
1f38ac29d5 Removed timestamps from stdout logging. 2003-12-03 22:34:03 +00:00
Jeremy Fincher
05ab09b9f5 Fixed to re-raise errors appropriately. 2003-12-03 22:32:33 +00:00
Jeremy Fincher
bb154e0a7f Updated some format, didn't log some messages when the world is dying. 2003-12-03 22:31:33 +00:00
Jeremy Fincher
8fc9b00c03 Don't log the 'scheduling reconnect' message if the world is dying. 2003-12-03 22:29:49 +00:00
Jeremy Fincher
32eaa11322 Some better logging. 2003-12-03 22:17:12 +00:00
Jeremy Fincher
bc7083506f Make sure to normalize the whitespace on help. 2003-12-03 22:02:29 +00:00
Jeremy Fincher
43a890e488 Added kick command. 2003-12-03 20:52:05 +00:00
Jeremy Fincher
4726fdf223 Made sure the pluralized power commands don't get run with no arguments. 2003-12-03 20:49:51 +00:00
Jeremy Fincher
e4d9f6ded2 Added some asserts to the pluralized power message functions. 2003-12-03 20:48:44 +00:00
Jeremy Fincher
39ab2b78bf Added Channel.{deop,devoice,dehalfop} 2003-12-03 20:27:42 +00:00
Jeremy Fincher
7f3cafbfbd Fixed ops, deops, halfops, dehalfops, voices, and devoices. 2003-12-03 20:17:13 +00:00
Jeremy Fincher
8e7416fd72 Limit the number of mores to 50. 2003-12-03 05:42:55 +00:00
Jeremy Fincher
902ff30dd4 Removed an extraneous __revision__ string and import fix. 2003-12-03 05:26:35 +00:00
Jeremy Fincher
890d2a5f4e Added an iteritems to ChannelsDictionary and made it into an IterableMap. 2003-12-03 05:26:14 +00:00
Jeremy Fincher
7b9c0ccd86 Changed the name of WebException to WebError. 2003-12-03 04:57:30 +00:00
Jeremy Fincher
5dfb00ff7d Added lobotomies command. 2003-12-03 01:28:31 +00:00
Jeremy Fincher
2f7d2d7f61 Gave DBHandler a .die() method. 2003-12-02 22:40:33 +00:00
Jeremy Fincher
1d54f0ec22 Handle the case where the suffix is in the name itself. 2003-12-02 20:36:02 +00:00
Jeremy Fincher
882b872d7c Made defaultplugin show the default plugin for a command if not given a plugin. 2003-12-02 19:21:05 +00:00
Jeremy Fincher
949ea7aa2b Made utils.pluralize a little smarter. 2003-12-02 18:58:57 +00:00
Jeremy Fincher
8e624e6eac Fix for bug #852350. This should work, and it explains why I've never encountered it myself: I don't have mx.DateTime installed. Now we just make sure sqlite thinks *everyone* doesn't have it installed. 2003-12-02 12:32:58 +00:00
Jeremy Fincher
da92309ba4 Fixed bug #851661. 2003-12-02 11:55:26 +00:00
Jeremy Fincher
f23d8b0b1e Added some extra logging. 2003-12-02 11:40:46 +00:00
Jeremy Fincher
2f1c8415b6 Added getUrlFd, used it in Http.kernel. 2003-12-02 11:10:31 +00:00
Jeremy Fincher
4e5e568244 Fix for bug #852433. 2003-12-02 11:06:39 +00:00
Jeremy Fincher
b473532b4c Made last default to the current channel. 2003-12-02 10:55:22 +00:00
James Vega
1fa9e8c4a8 sockets, they do a body good 2003-12-02 05:49:56 +00:00
Jeremy Fincher
8d9ed6bf87 Added webutils module; used it in Http. 2003-12-02 00:12:45 +00:00
Jeremy Fincher
17d9a59845 Used cgitb instead of the default exception printing. 2003-12-02 00:01:49 +00:00
Jeremy Fincher
b39e1237fc Added __iter__ to UsersDB for a cleaner interface. 2003-12-01 23:24:25 +00:00
Jeremy Fincher
e34d9deecd Fixed RFE #851183, ircdb.users.numUsers. 2003-12-01 23:17:26 +00:00
Jeremy Fincher
c8de1e8155 Made the string of flags that require an argument an optional argument so you can parse the flags for some other purpose. 2003-12-01 21:59:01 +00:00
Jeremy Fincher
3179a8d8bc Fixed the case problem in User.list. 2003-12-01 21:27:26 +00:00
Jeremy Fincher
9788815bdd Added tests for globbing ability. 2003-12-01 21:17:29 +00:00
Jeremy Fincher
8ff34725c2 Added User.list command to list registered users. 2003-12-01 20:57:00 +00:00
Jeremy Fincher
97b8bab611 Added User.list command to list registered users. 2003-12-01 20:57:00 +00:00
Jeremy Fincher
b6dd266549 Re-added colored stdout logging. 2003-12-01 15:38:42 +00:00
Jeremy Fincher
3aa6faa82a Some code accidentally code committed, a useless function. 2003-12-01 12:04:26 +00:00
Jeremy Fincher
24f95e6a75 Small efficiency/readability fixes. 2003-12-01 12:04:02 +00:00
Jeremy Fincher
fb2d9b7f4f Various re fixes, including bug #850931. 2003-12-01 11:06:17 +00:00
James Vega
76c4dfc762 cleaned up a couple of pylint warnings 2003-11-30 19:34:14 +00:00
Jeremy Fincher
d5c9873231 New logfilesize. 2003-11-26 19:24:28 +00:00
Jeremy Fincher
41ab05862f Changed the priority of the ignoring logged message. 2003-11-26 18:46:47 +00:00
Jeremy Fincher
d9cac7bfe4 Removed. 2003-11-26 18:29:15 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher
23968baf49 Fix bug #849302. 2003-11-25 22:52:04 +00:00
Jeremy Fincher
d7dfff7f1e Added __revision__ strings. 2003-11-25 17:33:58 +00:00
Jeremy Fincher
c151c77b99 Made Admin the default for {add,remove}capability.. 2003-11-25 16:08:30 +00:00
Jeremy Fincher
e6ec71c990 Added some comments, updated for the change of anticapabilities from ! to -. 2003-11-25 16:07:29 +00:00
Jeremy Fincher
a763674d83 Added server attribute to Irc objects. 2003-11-25 11:53:09 +00:00
Jeremy Fincher
e4db34da14 Twisted driver had no die() method. 2003-11-25 11:45:09 +00:00
Jeremy Fincher
4770ef1b3f Added the to= keyword argument to reply. 2003-11-25 11:08:57 +00:00
Jeremy Fincher
e65dcaab86 Allow more time for connect than for normal reads. 2003-11-25 10:34:07 +00:00
Jeremy Fincher
86524fa148 Added revision command for finding out the revision of supybot's files. 2003-11-25 09:32:18 +00:00
Jeremy Fincher
210809ab99 Fix for bug #848475. 2003-11-25 09:13:28 +00:00
Jeremy Fincher
4cb49606c5 Stopped listing the plugin dispatcher command in the commands list. 2003-11-25 08:51:27 +00:00
Jeremy Fincher
a4284e7924 Added __revision__ strings. 2003-11-25 08:38:19 +00:00
Jeremy Fincher
a966513c7d Changed commit behavior of UsersDB and ChannelsDictionary to commit on setUser/delUser/newUser and setChannel, respectively. 2003-11-24 22:32:33 +00:00
Jeremy Fincher
dc2c9c55fe Made __iter__ equivalent to iterkeys in IterableMap. 2003-11-23 14:09:20 +00:00
Jeremy Fincher
e6ad1614f3 Be more lenient about non-existent pluginDirs. 2003-11-22 17:06:23 +00:00
Jeremy Fincher
dfadfe7e34 Made Configurable store its data in human-readable/editable form. 2003-11-22 16:10:45 +00:00
Jeremy Fincher
1d95410f91 Fixed introduced bug in that callbacks.Privmsg.handled wasn't set appropriately when a command was called. 2003-11-22 07:16:34 +00:00
Jeremy Fincher
877d376988 Restricted the characters that a prefix character can be. 2003-11-22 06:53:34 +00:00
Jeremy Fincher
37c6516693 Fix for bug #846065. 2003-11-22 02:10:51 +00:00
Jeremy Fincher
e7fd4cafbb Fixed a bug in ChannelDBHandler that *somehow* would cause a wrong database to be returned from getDb. 2003-11-21 23:32:24 +00:00
Jeremy Fincher
966a09437c Fixed bug in isAction. 2003-11-21 22:13:18 +00:00
Jeremy Fincher
429c90ac2a Added __len__, __repr__, and a useful __init__ to IrcMsgQueue. 2003-11-19 16:22:46 +00:00
Jeremy Fincher
9a7de79467 Made removeHostmask remove all the matching hostmasks. 2003-11-19 15:35:01 +00:00
Jeremy Fincher
baaa01755f Made the help messages more inline with the other channel-based command helps. 2003-11-19 08:13:19 +00:00
Jeremy Fincher
8a2e50baf1 Should fix jamessan's bug. 2003-11-18 14:22:54 +00:00
Jeremy Fincher
27cb6d53c8 Set the defaultplugin of capabilities to be User. 2003-11-17 14:07:51 +00:00
Jeremy Fincher
c37b775867 Prevented a possible raised exception in IrcMsgQueue. 2003-11-17 08:35:50 +00:00
Jeremy Fincher
688013de27 Forgot to do a % in the debug.msg. 2003-11-17 07:32:20 +00:00
Jeremy Fincher
a2a97c1d83 Um, made urlSnarfer do what it was actually intended to do :) 2003-11-17 07:27:21 +00:00
Jeremy Fincher
6e1704a6dd Needed to catch the possible KeyErrors in config. 2003-11-17 06:28:58 +00:00
Jeremy Fincher
23fa15f303 Made urlSnarfer thread the snarfer if the callback isn't already threaded. 2003-11-17 06:01:50 +00:00
Jeremy Fincher
92ed968ed0 Made password getting more standard. 2003-11-17 04:13:06 +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
a8f31360e6 Changed last to be slightly more effiicent; changed a map to an imap. 2003-11-15 03:21:34 +00:00
Jeremy Fincher
0e01a1dee8 Sweede is a fscking retard. 2003-11-15 03:01:01 +00:00
Jeremy Fincher
296af52ed9 Removed some old stuff related to superReload and made ircs die before shutdown. 2003-11-14 22:10:57 +00:00
Jeremy Fincher
93b16b79c2 Made the bot refuse to kban himself; made him not use a banmask that would ban himself. 2003-11-13 19:35:24 +00:00
Jeremy Fincher
9b20e1dfb6 Fixed a possible uncaught KeyError, and added the ability for a kban to work on the person requesting it (so we can put it in aliases :)) 2003-11-13 19:01:40 +00:00
Jeremy Fincher
6004181695 Fixed bug in banmask when the host doesn't have a dot in it (rare, but possible). 2003-11-13 19:00:35 +00:00
Jeremy Fincher
7b86dfb195 Made $nick the same as $who. 2003-11-13 18:38:52 +00:00
Daniel DiPaolo
b40a7e7757 Oops, if you remove a switch, remove it in the help :) 2003-11-13 01:34:21 +00:00
Jeremy Fincher
da3be6b624 Made sure the bot doesn't clobber an already-existing user in the user database when it changes nick. 2003-11-12 23:56:26 +00:00