Commit Graph

937 Commits

Author SHA1 Message Date
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
Jeremy Fincher
e48569b64a Changed addcapability to reject all attempts to add the owner capability. 2003-11-12 22:54:47 +00:00
Jeremy Fincher
66061f6a34 Fixed the formatting problem in expect. 2003-11-12 22:24:50 +00:00
Jeremy Fincher
08244ff36e New test and fix for the associated bug. 2003-11-12 21:57:21 +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
b8c94599fc Updated to the new version in preparation for the next release. 2003-11-12 01:34:24 +00:00
Jeremy Fincher
bb231a19e5 Removed --fancy option; made True the default. 2003-11-12 00:27:34 +00:00
Jeremy Fincher
5149d17b6a Made Configurable persistent. 2003-11-11 15:58:20 +00:00
Jeremy Fincher
028b23d41c Allowed abbrev to accept the dictionary object (good for passing in shelves or PersistentDictionaries). 2003-11-11 14:16:27 +00:00
Jeremy Fincher
e0cfe722c7 Added an assert for easier debugging. 2003-11-11 14:06:19 +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
3b6b478aac Moved action to Misc from Utilities. 2003-11-11 11:32:09 +00:00
Jeremy Fincher
830301570f Added ignore, unignore, and ignores to be complete with Channel. 2003-11-09 14:34:23 +00:00
Jeremy Fincher
717fcab297 Removed the 'chan' from commands. 2003-11-09 14:11:15 +00:00
Jeremy Fincher
8580b6a44e Made Owner complain if there is more than one src/ plugin with a given command. 2003-11-09 14:01:36 +00:00
Jeremy Fincher
783b56bbed Removed Toggle stuff. 2003-11-08 09:47:48 +00:00
Jeremy Fincher
0435ff00dc Added ConfigurableTypes.{str,int}. 2003-11-08 09:46:23 +00:00