Commit Graph

156 Commits

Author SHA1 Message Date
James Vega
bc59e3ca64 Change the remaining utils.normalizeWhitespace calls to utils.str.normalizeWhitespace. 2005-01-28 16:10:53 +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
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
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
Jeremy Fincher
dae2a02231 Updated to 0.80.0pre6. 2004-12-22 10:36:36 +00:00
Jeremy Fincher
d884f35228 Dot. 2004-12-22 09:06:14 +00:00
Jeremy Fincher
38814a3da0 Updated to 0.80.0pre5. 2004-12-20 07:12:12 +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
eb03f94f07 Moved eval/exec commands to sandbox/Debug.py, removed allowEval option. 2004-12-16 07:13:14 +00:00
Jeremy Fincher
9e2c014118 Stupid typo. 2004-12-07 08:09:59 +00:00
Jeremy Fincher
bbc5ed6058 We apparently need these closes as well. Let's see if this fixes my bug. 2004-12-07 07:51:39 +00:00
Jeremy Fincher
5542ad9e92 We should close stdin as well. 2004-12-07 07:43:19 +00:00
Jeremy Fincher
c8bdb45a2c Now we don't print anything before daemonizing. 2004-12-02 05:59:21 +00:00
Jeremy Fincher
7de6d11a65 Added an XXX. 2004-12-02 04:51:21 +00:00
Jeremy Fincher
a060f26aa8 Fixed bug #1059544, InvalidRegistryValues can now show what the name of the registry value is. 2004-11-03 22:58:20 +00:00
Jeremy Fincher
8c4cbeb735 Added supybot.plugins.Owner.quitMsg support for Ctrl-C kills. 2004-10-27 07:47:45 +00:00
Jeremy Fincher
66d9d45414 Fix0red the scheduling of upkeep. 2004-10-24 02:26:24 +00:00
Jeremy Fincher
76fc8b946e Removed some useless options from close. 2004-10-03 22:18:12 +00:00
Jeremy Fincher
a2d30a88f5 A little bit cleaner. 2004-10-01 21:27:02 +00:00
Jeremy Fincher
98bce8de9a Updated to 0.80.0pre3. 2004-10-01 04:31:13 +00:00
Jeremy Fincher
efb9b80ab5 Updated to separate the version in an easily-machine-replaceable variable. 2004-10-01 04:21:28 +00:00
James Vega
fb569b4ff4 0.80.0pre2 2004-09-17 17:29:16 +00:00
Jeremy Fincher
cca1483bc1 Updated. 2004-09-13 01:06:06 +00:00
Jeremy Fincher
f496c804a2 Changed the way upkeep is scheduled. 2004-09-08 22:42:54 +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
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
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
22c333b536 Handle the case where our pidfile is deleted early. 2004-08-27 06:29:11 +00:00
James Vega
b8ad661e27 allowRoot fix and some spacing fixes 2004-08-27 03:00:29 +00:00
Jeremy Fincher
e97c610e77 Possible fix for the allow-root problem. 2004-08-27 02:58:04 +00:00
Jeremy Fincher
50d0b8bd85 A minor variable name change. 2004-08-23 19:55:49 +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
53b90674e4 Stopped using supybot.networks.default and just let Owner handle that crap. 2004-08-23 12:29:43 +00:00
Jeremy Fincher
8c25795723 Removed redundant at console. 2004-08-21 07:39:12 +00:00
Jeremy Fincher
98f0d46266 Updated to be a bit more robust. 2004-08-21 07:27:49 +00:00
Jeremy Fincher
de1673e606 Handle the problem with Ctrl-C not working if it's done before any connections are made. 2004-08-21 07:12:39 +00:00
Jeremy Fincher
4fce95ed9a Let's give a nice QUIT message when we're Ctrl-C'ed. 2004-08-20 05:43:27 +00:00
James Vega
06afd9ff3d Switch back to profile. hotshot is wonky 2004-08-20 04:06:30 +00:00
Jeremy Fincher
1290d2e3eb Added profiling information as well as the threads command. 2004-08-17 20:28:00 +00:00
Jeremy Fincher
c925b483c7 Slightly better error message. 2004-08-17 06:45:24 +00:00
Jeremy Fincher
3d1bc55460 These logs are prettier in the reverse order. 2004-08-07 00:58:00 +00:00
Jeremy Fincher
54876e45ab Let's always run upkeep before we exit normally. 2004-08-05 06:01:35 +00:00
James Vega
9d3f572b71 How can we ask a question is we don't know what a question is? 2004-08-04 02:47:12 +00:00
Jeremy Fincher
7b07de9fcd Added a --network option. 2004-08-02 01:54:46 +00:00
James Vega
d47d54bc82 Almost out entire testsuite works, yet again. Yay! 2004-08-01 14:38:37 +00:00
Jeremy Fincher
2336af5525 Updated to allow multiple servers. 2004-07-30 06:52:21 +00:00
Jeremy Fincher
5f1a08f6e0 Added error handling for a bad default network. 2004-07-29 07:39:30 +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
aad1d2dc41 Updated to allow different networks. 2004-07-20 05:57:58 +00:00
James Vega
1383da0f1a Prevent scheduled downloads from happening when we're generating
docs (hopfully), and fix a userdataFilename bug introduced in the
earlier fix.
2004-06-20 08:14:59 +00:00
Jeremy Fincher
17a40423ee Removed mini-wizard. 2004-06-20 05:17:59 +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
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
8274d5dfb9 Fixed strictRfc appropriately. 2004-04-29 11:41:05 +00:00
Jeremy Fincher
dfe1743dac OoopsEXCLAIM 2004-04-22 03:27:40 +00:00
Jeremy Fincher
59151542b9 Let's ignore HUP when daemonized. 2004-04-20 22:19:17 +00:00
Jeremy Fincher
ea4259af2f Updated version number. 2004-04-20 21:14:13 +00:00
Jeremy Fincher
ac67bb0cc0 Added more daemonization code. 2004-04-20 10:40:27 +00:00
Jeremy Fincher
850fdf26a8 Let's remember to remove the pidFile. 2004-04-19 16:08:03 +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
e63dbb09bf I really should test these things before I commit. 2004-04-19 04:36:26 +00:00
Jeremy Fincher
7fb2edd898 Slight improvement. 2004-04-18 00:40:06 +00:00
Jeremy Fincher
b32f98ff24 Oops, forgot some stupid spaces. 2004-04-17 16:46:29 +00:00
Jeremy Fincher
e8dcca25b1 Against my better judgment, I'm adding a command-line option to allow dumb people to run their bots as root. 2004-04-17 14:23:03 +00:00
Jeremy Fincher
4c7985f35c Against my better judgment, I'm adding a command-line option to allow dumb people to run their bots as root. 2004-04-17 14:19:50 +00:00
Jeremy Fincher
b888fa49be Updated version. 2004-04-16 07:26:25 +00:00
Stéphan Kochen
1541f051fd Seperated logging to channels to it's own plugin.
(...and a couple of smaller changes to log itself)
2004-04-12 16:08:23 +00:00
Stéphan Kochen
e89827f203 Added support for logging to a channel. 2004-04-11 23:12:36 +00:00
Jeremy Fincher
63758a1a61 Updated version. 2004-04-09 17:41:32 +00:00
Jeremy Fincher
c75e8b5137 Updated version numbers. 2004-04-08 11:43:14 +00:00
Jeremy Fincher
c97d3905c5 Fixed the non-quitting bug, although it's not been tested with twistedDrivers itself. It works with the other two. 2004-04-07 15:52:28 +00:00
James Vega
97dde42b61 Switch to hotshot for profiling 2004-03-26 00:58:36 +00:00
Jeremy Fincher
de512b24de Guarded asserts with strictRfc. 2004-02-24 11:21:12 +00:00
James Vega
ad1a23fcd2 Removed doindent and trap KeyboardInterrupt in supybot. 2004-02-23 10:50:40 +00:00
Jeremy Fincher
f364bb9705 Added world.starting to know that we shouldn't flush. 2004-02-12 00:49:41 +00:00
Jeremy Fincher
c04d3632cc strictRfc added, off by default. 2004-02-11 05:57:34 +00:00
Jeremy Fincher
03ebdc3512 Make starting the bot a little safer; we won't have to worry about trashing our registry file until around 5 minutes after the bot has started. 2004-02-10 03:16:26 +00:00
Jeremy Fincher
a178492453 Made the interval between upkeeps configurable. 2004-02-08 10:49:08 +00:00
Jeremy Fincher
f9188e45b3 Fix the stupid 'I refuse to quit, even in the face of insurmountable odds!' bug. 2004-02-04 23:07:43 +00:00
Jeremy Fincher
5e3fae4dbb Robustified\! 2004-02-04 18:01:00 +00:00
Daniel DiPaolo
a4aff250cc Changed --enable-eval to --allow-eval to mesh with src/conf.py 2004-02-04 15:45:13 +00:00
Jeremy Fincher
4c8f3d5314 Made the registry dynamically reloadable as well as added a supybot.flush configuration variable. 2004-02-03 22:58:54 +00:00
Jeremy Fincher
07ba0d5bbe Added some useless little facts on exit. 2004-02-02 08:34:17 +00:00
Jeremy Fincher
b01886f537 Make a backup of the registry file on startup. 2004-01-30 19:49:48 +00:00
Jeremy Fincher
b94a7a3b4e Made defaultplugin use the registry. 2004-01-25 08:22:50 +00:00
Jeremy Fincher
b6dac88b44 Added a mini-wizard for people who run without a registry file. 2004-01-22 19:37:17 +00:00