Commit Graph

919 Commits

Author SHA1 Message Date
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
Jeremy Fincher
b4e12a10bc Fixed some bugs. 2003-11-08 00:10:09 +00:00
Jeremy Fincher
362ca56305 Fixed some bugs, added a test for ConfigurableDictionary. 2003-11-07 23:36:46 +00:00
Jeremy Fincher
cbe13abbf8 Added a ConfigurableTypes class for various type converters. 2003-11-07 20:16:14 +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
Jeremy Fincher
901a225619 Added safeEval. 2003-11-07 19:40:03 +00:00
Jeremy Fincher
646cbe4c32 Fixed stupid syntaxerror. 2003-11-07 18:59:55 +00:00
Jeremy Fincher
df88fc99d3 Removed an assertion that was asserting a condition that didn't need to be true. 2003-11-07 18:44:18 +00:00
Jeremy Fincher
9b6dce4961 Committed partial Configurable implementation (gotta go back home and hack on it more later). 2003-11-07 15:42:15 +00:00
Jeremy Fincher
4200349aea Forgot to actually creat the _snarfedUrls attribute. 2003-11-07 14:10:28 +00:00
Jeremy Fincher
867814eb1d Oops, forgot to commit this. 2003-11-07 12:47:36 +00:00
Jeremy Fincher
5dd35ea601 Untested, but I wanted to get urlSnarfer in there. 2003-11-07 12:40:18 +00:00
Jeremy Fincher
c746f9459b Optimization to hostmaskPatternEqual. 2003-11-05 22:21:43 +00:00
Daniel DiPaolo
b14ee76ca0 Added 'chanignores' command to list current channel ignores. 2003-11-05 17:22:38 +00:00
Jeremy Fincher
6de6fb863b Changed the initial value of threadsSpawned to 1. 2003-11-05 08:32:26 +00:00
Jeremy Fincher
c803edc689 Added substitution and fixed ' returns the same thing all the time' bug. 2003-11-05 04:57:13 +00:00
James Vega
4a1a662b6d Add a better help description to identify 2003-11-04 22:50:22 +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
93f02aa959 Added curry to fix.py, converted some code to use it. 2003-11-04 08:26:54 +00:00