Commit Graph

1084 Commits

Author SHA1 Message Date
Jeremy Fincher
09dfe24573 Fixed bugz0r with nested commands in Scheduler.repeat. 2004-01-04 19:35:02 +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
8fc6502ed3 Added a bit of extra protectedness in PeriodicFileDownloader._downloadFile. 2004-01-04 14:44:53 +00:00
Jeremy Fincher
80bab37e98 Oops, gotta self it. 2004-01-04 13:54:14 +00:00
Jeremy Fincher
ab27174428 Essential canonicalNaming was not being done. 2004-01-04 13:54:00 +00:00
Jeremy Fincher
22767c2ed7 Added an extra log message or two. 2004-01-04 13:53:33 +00:00
Jeremy Fincher
a4507d0d9d Set dying during quit. 2004-01-04 13:51:11 +00:00
Jeremy Fincher
da1d09d9e3 Added a few more types, fixed help to include the current value again. 2004-01-04 12:23:10 +00:00
Jeremy Fincher
c88a7c3609 Backing out canonicalName in isCommand. 2004-01-04 11:52:12 +00:00
Jeremy Fincher
9453c893a8 Removed some debugging prints. 2004-01-04 11:40:52 +00:00
Jeremy Fincher
ef4bff5571 Made isCommand use canonicalName and added getCommand. 2004-01-04 11:23:23 +00:00
Jeremy Fincher
669ac8995f Moved _urlRe to webutils as urlRe. 2004-01-04 11:18:53 +00:00
Jeremy Fincher
95c2098b5d Added some extra logging. 2004-01-03 15:51:53 +00:00
Jeremy Fincher
7c8892adb8 Fixed. 2004-01-02 22:29:14 +00:00
Jeremy Fincher
44aebd9536 Slight style update. 2004-01-02 22:29:03 +00:00
Jeremy Fincher
ed5f89bce1 Added some extra logging. 2004-01-02 22:02:33 +00:00
Jeremy Fincher
680729ffda Fixed bugz0rs. 2004-01-02 21:55:15 +00:00
Jeremy Fincher
14eff0fdf1 Fixed problem in do002, splitting the wrong arg. 2004-01-02 21:32:56 +00:00
Jeremy Fincher
e9c67b25a5 Finished the nuking of VERBOSE and PRINTF. 2004-01-02 21:32:31 +00:00
Jeremy Fincher
a0d2a9da2a Fixed bug #863808; added isIPV6. 2004-01-02 20:50:43 +00:00
Jeremy Fincher
8b6733ee5d Fixed some bugz0rs. 2004-01-02 19:54:25 +00:00
Jeremy Fincher
e869cf7660 A little logging change. 2004-01-01 20:18:13 +00:00
Jeremy Fincher
542259fcd7 Added options to kban. 2004-01-01 20:17:55 +00:00
Jeremy Fincher
5502794a23 Added docstring to disambiguate, fixed some bugs. 2004-01-01 20:16:45 +00:00
Jeremy Fincher
4b3b245834 Made addressedRegexps and Regexps not run if there was an error. Also slightly refactgored handling of errors in Privmsg/IrcProxyObject. Also fixed spawning of threads to set the callback's threaded attribute. 2004-01-01 20:15:25 +00:00
Jeremy Fincher
34d0cdc79b Added tons of new Types and globalConfigurables. 2004-01-01 20:13:22 +00:00
Jeremy Fincher
45af6513d8 Slightly updated. 2004-01-01 20:12:40 +00:00
Jeremy Fincher
2b32ccdc7d Refactored Irc/Driver interaction. 2004-01-01 20:12:01 +00:00
Jeremy Fincher
26995a7017 Added conf.requireChannelCommandsToBeSentInChannel. 2004-01-01 20:10:52 +00:00
Jeremy Fincher
a7d0eb9829 Added a whole buttload of configuration variables. 2004-01-01 20:08:53 +00:00
Jeremy Fincher
e1b0d7d8a4 Removed printf and verbose. Just use debug instead. 2004-01-01 20:01:35 +00:00
Jeremy Fincher
1f441c54bd Forgot to return the name in addEvent. 2004-01-01 20:00:29 +00:00
Jeremy Fincher
bcbfd2130e Made matchCase its own available function. 2004-01-01 19:47:13 +00:00
Jeremy Fincher
cb5c22c9dc Made pinging the server optional. 2003-12-20 07:01:09 +00:00
Jeremy Fincher
36b6821c5e Set the default timeout for all sockets to 10 seconds. 2003-12-18 09:02:12 +00:00
Jeremy Fincher
29b0e20b2d Added followIdentificationThroughNickChanges for RFE #845346. 2003-12-17 13:39:05 +00:00
Jeremy Fincher
bbafb4294e Added conf.replyWhenNotAddressed for RFE #859183. 2003-12-17 13:22:21 +00:00
Jeremy Fincher
d9fcd25ac1 Oops, removed a log. 2003-12-17 13:16:31 +00:00
Jeremy Fincher
a3edca49a0 Workaround for bug in cgitb. 2003-12-16 23:13:48 +00:00
Jeremy Fincher
fd01a22e84 Changed some logging messages. 2003-12-16 21:06:20 +00:00
Jeremy Fincher
7b983bc921 Added some better logging. 2003-12-16 20:56:05 +00:00
Jeremy Fincher
a63d175498 Added memoization of hostmaskPatternEqual. 2003-12-16 20:36:43 +00:00
Jeremy Fincher
44728222eb s/callback/plugin/g 2003-12-16 19:57:18 +00:00
Jeremy Fincher
c1f88120f0 Added an assert. 2003-12-16 18:14:48 +00:00
Jeremy Fincher
db8d18b1aa Oops, forgot to commit this with the case-insensitive more changes. 2003-12-16 13:32:31 +00:00
Jeremy Fincher
40cac59dc5 Updated version number. 2003-12-12 19:03:22 +00:00
Jeremy Fincher
590c9c64a0 Made help handle defaultplugins and whatnot correctly. 2003-12-12 17:53:16 +00:00
James Vega
e485984604 Make sure the ban length is an integer 2003-12-12 16:56:25 +00:00
Jeremy Fincher
42ce8c33a6 Swapped the argument order for utils.{pluralize,nItems} 2003-12-12 15:41:33 +00:00
Jeremy Fincher
c922957655 Changed got376 to afterConnect. 2003-12-12 12:47:23 +00:00
Jeremy Fincher
c432a93afb Try to prevent the ping loops we got in earlier. 2003-12-12 12:29:02 +00:00
Jeremy Fincher
8f777db9f9 Fixed bug #858008, and a fix for another bug that invalidCommands that raise an exception stop the whole process; now it'll continue to later plugins. 2003-12-11 14:32:45 +00:00
Jeremy Fincher
f592aab3c0 Fixed bug #857299. 2003-12-10 19:17:48 +00:00
Jeremy Fincher
3f6d347e2b Added isCtcp. 2003-12-10 18:49:45 +00:00
Jeremy Fincher
94cdec8a26 Oops, should've used irc.error...brainfart! 2003-12-10 07:32:04 +00:00
Jeremy Fincher
da6743b9b7 Added appropriate error messages for Admin.join when the channel can't be joined. Also added channels command to see what channels the bot is in. 2003-12-10 07:29:01 +00:00
Jeremy Fincher
091be1311d Spread out some tests, made action error on the empty string. 2003-12-10 04:38:44 +00:00
Jeremy Fincher
3978be5cdf Fixed bug #856997. 2003-12-09 21:36:33 +00:00
Jeremy Fincher
ae44a337be Put the new module in sys.modules, just to be safe. 2003-12-09 21:33:13 +00:00
Jeremy Fincher
a6099943b4 Fix for bug #857054. 2003-12-09 21:32:55 +00:00
James Vega
3ef5f546a1 Clarify the docstring for privmsgs.getArgs 2003-12-09 15:58:05 +00:00
Jeremy Fincher
88581d99e4 Added utils.sorted. 2003-12-09 14:46:12 +00:00
Jeremy Fincher
c8da4ad913 Removed a conf.replySuccess where one isn't needed (in unban). 2003-12-09 04:49:39 +00:00
Jeremy Fincher
4c64ffb4c7 Changed some logging messages. 2003-12-09 04:46:51 +00:00
Jeremy Fincher
e770054717 Nicer exit message :) 2003-12-09 04:38:04 +00:00
Jeremy Fincher
dbc7df71de Had to import log after we import conf. 2003-12-09 03:52:29 +00:00
Jeremy Fincher
fe9bf97a59 Change changeusername to changename. 2003-12-09 00:02:51 +00:00
Jeremy Fincher
31a5e2b462 Added an assert to prevent improper usage by inexperienced developers. 2003-12-08 01:10:27 +00:00
Jeremy Fincher
ead91da748 Tightened up the restrictions on User.hostmasks, also required privacy for it. 2003-12-07 01:26:51 +00:00
Jeremy Fincher
2ec97484f3 Renamed replyWhenAddressedByName to replyWhenAddressedByNick. 2003-12-07 00:17:01 +00:00
Jeremy Fincher
2fea3e788e Fixed RFE #855159. 2003-12-07 00:13:56 +00:00
Jeremy Fincher
f6f46f6689 Fixed bug #855014 and added RFEs #855453 and #855454. 2003-12-06 23:52:23 +00:00
Jeremy Fincher
b91a1b8941 Oops, shouldn't have committed, a stray underscore got here. 2003-12-06 14:18:10 +00:00
Jeremy Fincher
12fff1941e Added a comment. 2003-12-06 14:16:18 +00:00
Jeremy Fincher
1dfca188e9 Added another case to except clauses for Connection Reset by Peer. 2003-12-06 14:16:02 +00:00
Jeremy Fincher
a36f81e158 Handled detailedTracebacks again. 2003-12-06 13:23:20 +00:00
Jeremy Fincher
a23fbcfb1c Handled the case where nickmods got all run out. 2003-12-06 13:20:59 +00:00
Jeremy Fincher
bba1d274e0 Final changes in preparation for release. 2003-12-06 13:07:29 +00:00
Daniel DiPaolo
2e4ecfe03b Fixed a bug in setprefixchar where things would get wonky when trying to set an
invalid prefixchar
2003-12-05 19:10:09 +00:00
Jeremy Fincher
f8f0333a9c Changed the order of three statements so Owner can't get loaded twice. 2003-12-05 11:53:41 +00:00
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