Commit Graph

348 Commits

Author SHA1 Message Date
Jeremy Fincher
f44be3b864 Allow timestamps in format to be None, indicating the current time. 2005-02-01 09:53:08 +00:00
James Vega
28cb5abc65 Update usage of functions in utils.gen. 2005-01-31 13:06:43 +00:00
Jeremy Fincher
a19a979499 Robustified and improved utils.str.format a bit; added a simple test. 2005-01-28 15:23:18 +00:00
Jeremy Fincher
1f1d85f249 Removed an unused variable (_srcDir) 2005-01-28 15:22:59 +00:00
Jeremy Fincher
5fd6bbb52d Completely restructured our utils modules.
Tons of changes.  Here's the summary of things that matter most:

* There is no more supybot.fix.
* There is no more supybot.webutils; now there is supybot.utils.web.
  * It's no longer webutils.WebError, but just utils.web.Error.
* You shouldn't import itertools, ideally, but instead import utils.iter.
* No more using imap/ifilter in commands unless absolutely necessary.  It's
  premature optimization and annoying.
* utils.str.format isn't quite ready yet, but will be soon.  That'll be the
  next big thing to fix in our code.
2005-01-27 06:59:08 +00:00
Jeremy Fincher
5019d10a1b Updated license years. 2005-01-19 13:33:05 +00:00
Jeremy Fincher
8ca625d339 Initial import. 2005-01-19 13:14:38 +00:00
James Vega
dbfec8afb9 Add supybot module 2007-04-22 20:10:26 +00:00
James Vega
0ea4c3c12a Updated to 0.80.1+CVS 2005-01-18 21:07:55 +00:00
James Vega
e68f1d26ba Updated to 0.80.1. 2005-01-18 19:46:13 +00:00
James Vega
c961614d98 Updated to 0.80.0. 2005-01-17 06:57:37 +00:00
James Vega
e7e557868d Updated to 0.80.0. 2005-01-17 04:54:17 +00:00
James Vega
3f284f2ece Update to 0.80.0rc3+cvs 2005-01-13 02:59:38 +00:00
James Vega
b12c8697b7 Updated to 0.80.0rc3. 2005-01-13 02:52:21 +00:00
James Vega
c6b50e75f0 This makes channelSpecific *much* more useful, aka not broken. Closes Bug #1100919 2005-01-12 19:26:32 +00:00
Jeremy Fincher
59c4dab684 Extra help can't hurt. 2005-01-12 02:48:24 +00:00
James Vega
102c2d7af3 Updated to 0.80.0rc2 2005-01-11 14:45:12 +00:00
James Vega
534313a165 Updated to 0.80.0rc2. 2005-01-11 14:40:36 +00:00
James Vega
225c565aee Add/update supybot.databases.plugins.channelSpecific{,.link{,.allow}}
channelSpecific.link replaces channelSpecific.channel
2005-01-08 07:22:46 +00:00
Jeremy Fincher
dae2a02231 Updated to 0.80.0pre6. 2004-12-22 10:36:36 +00:00
Jeremy Fincher
07435be632 That assert just plain wasn't working out. Also, changed how supybot.user works so it stays up-to-date with the current version of the bot. 2004-12-20 19:46:35 +00:00
Jeremy Fincher
d31ff4532a Added an assert. 2004-12-20 19:00:50 +00:00
Jeremy Fincher
38814a3da0 Updated to 0.80.0pre5. 2004-12-20 07:12:12 +00:00
Jeremy Fincher
481752fddd Forgot to set the password to private, oops. 2004-12-18 13:52:38 +00:00
James Vega
360cba9c63 Updated to 0.80.0pre4. 2004-12-17 07:33:21 +00:00
James Vega
dcfe723b74 Updated to 0.80.0pre4. 2004-12-17 07:16:35 +00:00
Jeremy Fincher
664c468130 Updated to respect channel-value-ish-ness of reply.showSimpleSyntax. 2004-12-16 14:16:56 +00:00
Jeremy Fincher
b9067089b1 Removed an XXX. 2004-12-16 09:30:45 +00:00
Jeremy Fincher
eb03f94f07 Moved eval/exec commands to sandbox/Debug.py, removed allowEval option. 2004-12-16 07:13:14 +00:00
Jeremy Fincher
af1d04291d Reimplementation of channeldb converter, respecting the channelValueness of supybot.databases.plugins.channelSpecific, and turned supybot.databases.plugins.channelSpecific.channel into a channelValue so channels can link their databases to other channels. 2004-12-13 06:18:41 +00:00
Jeremy Fincher
0efb17dd81 Variable name change, humanTimestampFormat => reply.format.time 2004-12-10 06:21:53 +00:00
Jeremy Fincher
fc2751d04d Allow a short representation of time elapsed. 2004-12-08 07:26:19 +00:00
Jeremy Fincher
1a63af3b26 Fix for bug #1081086. Be sure to read the reasoning in the bug itself. 2004-12-08 06:16:08 +00:00
Jeremy Fincher
5af655391a New way of handling channel keys. 2004-12-07 00:29:20 +00:00
Jeremy Fincher
955bf08255 Rudimentary sorting. 2004-12-02 05:37:04 +00:00
Jeremy Fincher
1e0b039ff4 Updated help. 2004-12-01 20:21:51 +00:00
James Vega
4ce65826a1 Expand a little on the supybot.defaultIgnore help. Also, went ahead and
changed the timestampformat from a GlobalValue to ChannelValue like the XXX
told me to.
2004-11-11 14:40:04 +00:00
Jeremy Fincher
591e66664d Better. 2004-11-04 06:38:07 +00:00
Jeremy Fincher
f515617529 Disable unregister by default. 2004-11-04 06:06:18 +00:00
Jeremy Fincher
040888405c Refactoring of error-related configuration variables. 2004-11-04 05:34:24 +00:00
Jeremy Fincher
8e3e8f8e70 Added an XXX. 2004-10-27 07:51:08 +00:00
Jeremy Fincher
a2dfa3bd15 Trying out vhost stuff. 2004-10-27 00:17:55 +00:00
Jeremy Fincher
e378b34138 Added a configurable more length. 2004-10-26 18:54:03 +00:00
Jeremy Fincher
0408beb0fb Fix for bug with instant mores; also change supybot.reply.truncate to supybot.reply.mores (i.e., it's not just a group now, it's a boolean). 2004-10-26 18:42:53 +00:00
James Vega
cbd5abbab7 A bunch more %r -> %s conversions as well as wrap updates, new policy for
Channel.voice and some bug fixes for Debian
2004-10-25 22:59:03 +00:00
Jeremy Fincher
03b740ec9d Finally removed supybot.channels. 2004-10-24 07:55:41 +00:00
James Vega
dac65f455f alwaysLoadDefault => alwaysLoadImportant 2004-10-20 15:08:04 +00:00
Jeremy Fincher
4a2d2a99d8 An XXX, fixed isNick to allow keyword arguments. 2004-10-15 11:22:13 +00:00
Jeremy Fincher
3dceea823d Added supybot.reply.whenAddressedByNick.atEnd. 2004-10-09 02:48:08 +00:00
James Vega
c5db149f65 Correct our ValidChannel checking (no , in channel key) and provide a little
more information in supybot-wizard if there's an error when adding channels.
2004-10-07 18:47:26 +00:00
Jeremy Fincher
b03000ed42 If replies.success is empty, don't send a success message at all. 2004-10-02 18:28:58 +00:00
Jeremy Fincher
a982fe32fd Fix0r the reference to an old undefined variable. 2004-10-02 18:20:04 +00:00
Jeremy Fincher
f63445d39d Updated to 0.80.0pre3. 2004-10-01 04:20:26 +00:00
Jeremy Fincher
7f5af21732 w00t, now channel values will always remember their values. 2004-09-30 22:47:32 +00:00
Jeremy Fincher
8ddf22fabb Gotta be sure to basename the journal. 2004-09-30 09:56:50 +00:00
Jeremy Fincher
45f99cd1ee Added some configuration for cdb. 2004-09-30 04:15:12 +00:00
Jeremy Fincher
728ad5788b This was needed, so our stuff doesn't get quoted. 2004-09-24 14:20:15 +00:00
Jeremy Fincher
78da84e4cb Configurable quotes, w00t. 2004-09-24 01:13:17 +00:00
Jeremy Fincher
3e58419338 Various minor refactorings, moved supybot.reply.{brackets,pipeSyntax} to supybot.commands.nested. 2004-09-23 23:15:27 +00:00
Jeremy Fincher
ab21fc54cf Fixed a typo. 2004-09-23 21:20:27 +00:00
Jeremy Fincher
72214dc9d0 Added supybot.reply.maximumLength. 2004-09-23 17:07:54 +00:00
Jeremy Fincher
998f61cce8 Moved disambiguation stuff to callbacks.IOP. Also fixed rename-persistence. 2004-09-22 21:38:20 +00:00
Jeremy Fincher
dda6f9be4a registerPlugin was returning the wrong group. 2004-09-21 18:37:06 +00:00
James Vega
50973a10fb Remove #! lines. 2004-09-20 03:01:50 +00:00
James Vega
fb569b4ff4 0.80.0pre2 2004-09-17 17:29:16 +00:00
Jeremy Fincher
904665cea6 Added backup directory. 2004-09-16 16:32:14 +00:00
Jeremy Fincher
a26e664cf8 Added a serialize to databases. If you haven't modified this variable, you should remove it from your configuration file before starting your bot next time you restart. 2004-09-16 10:55:43 +00:00
James Vega
7e52305f35 Add anydbm to our conf.Databases so that Markov can be converted to our
new-style db infrastructure.
2004-09-13 17:28:31 +00:00
Jeremy Fincher
cca1483bc1 Updated. 2004-09-13 01:06:06 +00:00
Jeremy Fincher
49c465c1c7 Database independence stuff. 2004-09-11 20:24:52 +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
87a532374e +cvs 2004-09-06 17:26:35 +00:00
James Vega
2df9642eb2 0.79.9999 2004-09-06 16:19:45 +00:00
Jeremy Fincher
d95759931e Elucidation is important. 2004-09-06 08:00:18 +00:00
James Vega
5ed87fff49 +cvs 2004-09-05 01:01:21 +00:00
Jeremy Fincher
39855b85c8 Updated for the new release. 2004-08-31 20:23:35 +00:00
Jeremy Fincher
1f6c3c72cf Updated for the new release. 2004-08-30 07:08:26 +00:00
Jeremy Fincher
6c9d74e728 Changed networks to be case-insensitive. 2004-08-28 19:56:31 +00:00
Jeremy Fincher
8b737865b5 Made a generated debug value, useful for troubleshooting. 2004-08-28 12:35:26 +00:00
Jeremy Fincher
003d7d4ecc Added a configuration variable for user modes. 2004-08-28 06:10:09 +00:00
Jeremy Fincher
c3b32148b3 Workaround stupid os.path.join stupidity. 2004-08-28 05:47:27 +00:00
Jeremy Fincher
bb3df205f2 Updated to work with non-absolute selfs again. 2004-08-28 05:37:52 +00:00
Jeremy Fincher
ae4b8f7861 Allow non-basenames in dirize. 2004-08-28 05:27:05 +00:00
Jeremy Fincher
4b24a3f499 Added the +cvs back. 2004-08-27 08:29:05 +00:00
Jeremy Fincher
dae0d1152a Updated version numbers. 2004-08-27 07:33:35 +00:00
Jeremy Fincher
bcae3b6b9e Slight fix. 2004-08-27 05:56:43 +00:00
Jeremy Fincher
f4c384a274 Changed supybot.capabilities to an ircdb.CapabilitySet instead of a ircutils.IrcSet. 2004-08-27 04:48:16 +00:00
Jeremy Fincher
6b1f742e71 prefixChars == reply.whenAddressedBy.chars. 2004-08-25 23:03:42 +00:00
Jeremy Fincher
8a352be8ff Don't ask me why I was copying that list. 2004-08-23 22:07:35 +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
e757cb9750 Removed the servers keyword to registerNetwork (it was useless) and added an append method to the Servers class. 2004-08-23 12:29:04 +00:00
Jeremy Fincher
fbd3f46788 Forgot this import with the src/Owner.py import that supported it. 2004-08-22 07:11:29 +00:00
Jeremy Fincher
6ecf2ae6ea Let's hope this doesn't break anything too serious. 2004-08-21 09:14:59 +00:00
Jeremy Fincher
55f5f341ce Documentation should stay current with the code. 2004-08-19 16:58:19 +00:00
Jeremy Fincher
0f598271dc Speeling fixes. 2004-08-18 23:15:27 +00:00
Jeremy Fincher
b22e3c44e2 Changed supplyDefault to _supplyDefault and added %s handling for supybot.nick.alternates. 2004-08-17 20:43:25 +00:00
Jeremy Fincher
f89bb167d1 Various updates. 2004-08-17 06:36:51 +00:00
James Vega
d267fe9fbf Revert our directories.plugins defaults to the old behavior 2004-08-16 18:00:00 +00:00
Jeremy Fincher
c16bfcb371 Removed the default channel of #supybot. 2004-08-10 21:35:53 +00:00
Jeremy Fincher
8a4e79e007 Let's try to respect some channel values, shall we? 2004-08-08 17:48:33 +00:00
Jeremy Fincher
ef9c94beb5 Oops, did I forget to commit this before? 2004-08-06 16:11:44 +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
45d3d63d4b Uh oh, we're getting repeats. Let's fix this. 2004-08-03 07:26:03 +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
5a6cd1efa3 Update to use temporary directory. 2004-07-31 19:12:38 +00:00
Jeremy Fincher
2a611309a7 Added mores group and instant. 2004-07-31 12:38:38 +00:00
Jeremy Fincher
ae26bf4a6c Still changing over those variable names. 2004-07-31 08:43:58 +00:00
Jeremy Fincher
9250d3ab32 Tons of differences, moved some registry values around, also changed some internal attributes of registry thingies. 2004-07-31 05:00:43 +00:00
Jeremy Fincher
a8a95c2ecc Fixed the one-channel bug. 2004-07-30 22:35:51 +00:00
Jeremy Fincher
7328bd50ba Added network-specific channels. 2004-07-30 21:07:28 +00:00
Jeremy Fincher
2336af5525 Updated to allow multiple servers. 2004-07-30 06:52:21 +00:00
Jeremy Fincher
e714edef3c Oops, forgot this. 2004-07-29 10:25:32 +00:00
Jeremy Fincher
a3f136279f Spelled publicly correctly, and moved the proper registration of the public attribute from Owner to conf.registerPlugin. 2004-07-29 07:01:40 +00:00
Jeremy Fincher
230a0503a2 Added DataFilename. 2004-07-28 02:56:08 +00:00
Jeremy Fincher
1b5e3b82f8 Added supybot.reply.withNoticeWhenPrivate. 2004-07-26 15:51:01 +00:00
Jeremy Fincher
7dbbf16dcc Allow multiple nicks, refactored irclib.Irc a bit. 2004-07-26 06:05:39 +00:00
Jeremy Fincher
f9c61271ea w00, less path mungingEXCLAIMEXCLAIM 2004-07-24 05:18:26 +00:00
Jeremy Fincher
2e4a8e3567 Updated to use the helper functions conf.register* 2004-07-23 06:54:29 +00:00
Jeremy Fincher
88b966306a Removed final remnants of bracketSyntax. 2004-07-23 04:59:41 +00:00
Jeremy Fincher
70efdfbea1 Slight cleanups. 2004-07-21 18:49:27 +00:00
Jeremy Fincher
3b74c01463 Added http proxy support. 2004-07-20 08:41:25 +00:00
Jeremy Fincher
87d8d60e2e Oops, forgot to commit this with the Note commits. 2004-07-20 07:06:52 +00:00
Jeremy Fincher
aad1d2dc41 Updated to allow different networks. 2004-07-20 05:57:58 +00:00
James Vega
61d6e029b1 Move creation of userdata.conf to scripts/supybot just to ensure that we're
not trying to create it before the directories exist.
2004-06-19 18:57:42 +00:00
Jeremy Fincher
8ab613dbed Remove bracketSyntax, make brackets channel-specific. 2004-05-07 16:14:02 +00:00
Jeremy Fincher
2f2b7bd6c1 Changed supybot.defaultCapabilities to a space-separated list, made prefixChars channel-specific, and a few other quick changes. 2004-05-07 11:30:42 +00:00
Jeremy Fincher
b4f977e2dd Fixed the wacky addressed problems. 2004-05-06 15:48:09 +00:00
Jeremy Fincher
6b3ed89e17 Minor updates. 2004-04-30 19:20:47 +00:00
Jeremy Fincher
e3b690f933 Added userdata registry. 2004-04-30 18:24:35 +00:00
Jeremy Fincher
95ef531cb2 Let's change the default for supybot.databases.user.hashed. 2004-04-30 05:25:30 +00:00
Jeremy Fincher
dc1bc4ba55 Updated a ton of configuration variables. 2004-04-30 02:13:42 +00:00
Jeremy Fincher
8274d5dfb9 Fixed strictRfc appropriately. 2004-04-29 11:41:05 +00:00
Jeremy Fincher
e2de2784bc Allow the empty string for supybot.brackets, so users can turn off command nesting. 2004-04-22 04:28:54 +00:00
Jeremy Fincher
ea4259af2f Updated version number. 2004-04-20 21:14:13 +00:00
Jeremy Fincher
6ef38bd28f Added pidFile support and a signal handler for SIGTERM (the default for kill). 2004-04-19 05:05:53 +00:00
Jeremy Fincher
437afe707c Updated with a little infrastructure for allowing daemonization. 2004-04-18 05:56:31 +00:00
Jeremy Fincher
c955a32c63 Changed the default of detailedError, less important now that we have LogToIrc. 2004-04-17 16:45:29 +00:00
Jeremy Fincher
b888fa49be Updated version. 2004-04-16 07:26:25 +00:00
Jeremy Fincher
d5ee023bfa Updated some design of the Values. 2004-04-13 01:01:52 +00:00
Jeremy Fincher
63758a1a61 Updated version. 2004-04-09 17:41:32 +00:00
Jeremy Fincher
7f6040a160 Refactored callbacks.{error,reply} and its friends; added supybot.reply.errorWithNotice. 2004-04-09 02:55:03 +00:00
Jeremy Fincher
c75e8b5137 Updated version numbers. 2004-04-08 11:43:14 +00:00
Jeremy Fincher
3538dee7c9 Ah, a better way to do default normalization. 2004-04-08 11:13:03 +00:00
Jeremy Fincher
9eee85dc63 I really should test these things before committing. 2004-04-08 10:59:13 +00:00
Jeremy Fincher
77f2c84245 Made drivers.module use OnlySomeStrings. 2004-04-08 10:50:05 +00:00
Jeremy Fincher
93f64b6a68 Added supybot.reply.maximumMores. 2004-04-05 17:36:17 +00:00
Jeremy Fincher
6cddfb5358 Added supybot.reply.truncate, to turn off the normal moring of things. 2004-04-05 16:01:36 +00:00
Jeremy Fincher
a4b4c2101c Added supybot.databases.users.hash. 2004-04-05 09:23:40 +00:00
Jeremy Fincher
71ea32c811 Added supybot.brackets for specifying what valid bracket characters are. 2004-03-30 08:27:05 +00:00
Jeremy Fincher
ae97d0390a Added removeChannel to the SpaceSeparatedListOfChannels. 2004-03-25 12:15:57 +00:00