Commit Graph

577 Commits

Author SHA1 Message Date
Jeremy Fincher 7ed4967877 Added a --plugins-dir option to supybot-test so plugins don't have to be specified individually. 2005-02-02 21:09:45 +00:00
Daniel DiPaolo 33ba73e7a4 Supybot-wizard doesn't use imap! 2005-02-02 06:57:52 +00:00
James Vega ff45b55428 Remove #supybot as a suggested channel. #supybot-bots is better. 2005-02-01 23:22:02 +00:00
James Vega 92839a94e7 Remove supybot.privmsgs imports. 2005-02-01 13:57:14 +00:00
Jeremy Fincher 6bf6dd609a Changed the default for adding a local plugins directory. 2005-01-31 17:07:23 +00:00
James Vega ec045afd9c Removed extraneous whitespace, unused imports, and converted some sets.Set() calls to set(). 2005-01-31 15:24:36 +00:00
James Vega 0fde2393e6 Update usage of utils.iter functions. 2005-01-31 15:22:48 +00:00
James Vega de89bf0265 Update usage of utils.str functions. 2005-01-31 14:52:27 +00:00
James Vega 28cb5abc65 Update usage of functions in utils.gen. 2005-01-31 13:06:43 +00:00
Jeremy Fincher 2b0450690e Added an __version__ string to Plugin/__init__.py as generated by supybot-newplugin. 2005-01-30 03:48:14 +00:00
James Vega 5a46ec4993 Remove the last supybot.fix imports. 2005-01-30 02:46:30 +00:00
Jeremy Fincher fe82ad63e0 Added an extra (elucidating) comment to the __init__.py template for importing/reloading third-party modules. 2005-01-29 07:43:56 +00:00
James Vega 0d693e8b9d Update supybot-newplugin to generate the current year for the copyright line. 2005-01-28 20:33:50 +00:00
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 cb365a430d Fixed some bugs in supybot-wizard, reported by Grantbow. 2005-01-26 13:26:44 +00:00
Jeremy Fincher 7094bec81f Moved the print statement to happen right before tests start (so it doesn't show up when running it with, for instance, the --help option). 2005-01-26 06:36:57 +00:00
Jeremy Fincher 292b1627b8 Fixed SyntaxError in supybot-wizard. 2005-01-25 15:49:42 +00:00
Jeremy Fincher 895cd3e48e Resurrected the test suite with the new supybot-test program and RCS. 2005-01-23 19:42:25 +00:00
Jeremy Fincher ddeac18563 MINOR testsupport is no more. 2005-01-19 23:33:33 +00:00
Jeremy Fincher 8d415d7631 Updated to work with the new supybot-test. 2005-01-19 23:20:46 +00:00
Jeremy Fincher db722aa0ec Added supybot-test and supybot.test. 2005-01-19 23:12:50 +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 dbcc622e76 Fix an exception when adding the owner user. 2005-01-18 18:51:36 +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 d31b672634 Cuter output. 2004-11-27 03:13:30 +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 3b5cde224d -s => -r. 2004-10-28 17:13:38 +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 96cb71f9fa Added some useful imports. 2004-10-27 07:37:46 +00:00
James Vega 3da0af997d Fix bug #1054645, using old-style ircdb.{set,new}User 2004-10-26 15:08:53 +00:00
Jeremy Fincher f2fa10fc00 Also for removing supybot.channels. 2004-10-24 08:03:05 +00:00
Jeremy Fincher 66d9d45414 Fix0red the scheduling of upkeep. 2004-10-24 02:26:24 +00:00
Jeremy Fincher 7f1b983f1b Fix for ocid's bug with setUser/newUser. 2004-10-22 17:01:54 +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 76fc8b946e Removed some useless options from close. 2004-10-03 22:18:12 +00:00
Jeremy Fincher 0d46bcdd39 Slight tweak to the template. 2004-10-03 08:58:44 +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
Jeremy Fincher 8907c0305f Fixed some string modding. 2004-09-21 18:35:36 +00:00
James Vega 23397b44b4 Remove #! lines. 2004-09-20 15:25:47 +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 b0cae2a595 Added contributors. 2004-09-11 20:25:42 +00:00
Jeremy Fincher bf0037d291 Updated template. 2004-09-10 06:27:23 +00:00
Jeremy Fincher 87f42e0bee Added a --no-network option. 2004-09-08 22:43:29 +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
James Vega 55a1e94c04 Time is on my side, oh yes it is. 2004-08-29 07:32:40 +00:00
Jeremy Fincher 5f90e63937 Checking for root doesn't matter when you don't quit afterwards. 2004-08-28 12:42:03 +00:00
Jeremy Fincher 5a18914f96 Added version check to the wizard. 2004-08-28 12:40:57 +00:00
Jeremy Fincher 8b737865b5 Made a generated debug value, useful for troubleshooting. 2004-08-28 12:35:26 +00:00
Jeremy Fincher 5d2b23811a Added __revision__. 2004-08-28 12:32:20 +00:00
Jeremy Fincher c6f3c508dd Added copyright and revision. 2004-08-28 12:32:02 +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 4873b825d8 Better formatting 2004-08-27 05:41:43 +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 6b1f742e71 prefixChars == reply.whenAddressedBy.chars. 2004-08-25 23:03:42 +00:00
James Vega a8b36c95f5 Missing comma 2004-08-25 13:07:04 +00:00
Jeremy Fincher b3dd326cea Ripped out update code, it made maintenance hard. 2004-08-25 05:39:58 +00:00
Jeremy Fincher fa614b9986 Oops, forgot to update this for the new networks getup. 2004-08-23 21:10:59 +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 3010885fca Removed a debugging line. 2004-08-21 20:27:46 +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 a3c30b0953 Beg for advertising. 2004-08-20 22:36:26 +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 0f598271dc Speeling fixes. 2004-08-18 23:15:27 +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 ef007332b5 Fewer questions, easier to use an maintain. 2004-08-11 06:20:59 +00:00
James Vega 975f69894b Nesting directories is bad, mkay. 2004-08-10 13:04:07 +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 29f54c833b Oops. One other spot where you get a directory. 2004-08-04 19:35:10 +00:00
James Vega 9c1aec036d password is network specific 2004-08-04 19:19:03 +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
James Vega e5bea55343 Let's not change things up on the user. When specifying the directories they
want, we should remember how they typed in the directory.
2004-08-04 02:35:43 +00:00
Jeremy Fincher 5327feeeab Forgot the copyright notice. 2004-08-04 02:24:12 +00:00
Jeremy Fincher 7b07de9fcd Added a --network option. 2004-08-02 01:54:46 +00:00
Jeremy Fincher f44f5410f3 Moved the do376 joining stuff to Owner so Admin can be safely unloaded. 2004-08-01 19:05:06 +00:00
James Vega d47d54bc82 Almost out entire testsuite works, yet again. Yay! 2004-08-01 14:38:37 +00:00
Jeremy Fincher c5325dc18c Updated to allow multiple servers. 2004-07-30 06:58:20 +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 6fbe52a600 Improved the help message. 2004-07-26 03:25:25 +00:00
Jeremy Fincher 16f4231780 Forgot questions. 2004-07-25 18:24:51 +00:00
Jeremy Fincher f9c61271ea w00, less path mungingEXCLAIMEXCLAIM 2004-07-24 05:18:26 +00:00
James Vega 1ed71e9181 It's nice when things work 2004-07-24 01:53:16 +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 233174d9ce Remember the basedir when we prompt users for their directories and wrap
the prompts a little tighter.
2004-06-19 19:02:06 +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 4a232f2da9 Fixed bug #941013. 2004-04-29 11:05:53 +00:00
Jeremy Fincher cd3039317d Added an author command. 2004-04-28 06:30:55 +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
James Vega 90718f0e8c Hopefully this will keep us from having any new plugins with no __revision__
variable.
2004-03-19 17:08:28 +00:00
James Vega 1f4cc2a4fe yn returns a boolean already 2004-03-02 19:35:35 +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 a8554a0ea3 Check that we're not root before running. Not for security issues, but just because it causes so many problems with user databases and whatnot. 2004-02-22 09:09:40 +00:00
Jeremy Fincher 837ab99748 Changed copyright date in template. 2004-02-19 07:04:08 +00:00
Jeremy Fincher 952676be69 Fixed bug found by skullY. 2004-02-17 03:55:31 +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 3b899fd5c0 Moved enablePipeSyntax to advanced and cleaned up some style stuff (the rest will wait until after the release is out). 2004-02-11 06:21:21 +00:00
Jeremy Fincher c04d3632cc strictRfc added, off by default. 2004-02-11 05:57:34 +00:00
Stéphan Kochen b15f12126a Fix, cleanup... I'll let you decide. ;) 2004-02-10 13:16:45 +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 bc10f87683 Fixed bug #893608. 2004-02-09 19:51:14 +00:00
Jeremy Fincher 53f9c0aa94 Made an empty stings cancel out of the plugin selection. 2004-02-09 19:01:47 +00:00
Jeremy Fincher ef31ca7cab Made so there are no stdout logs through the wizard. 2004-02-09 15:50:46 +00:00
Jeremy Fincher a178492453 Made the interval between upkeeps configurable. 2004-02-08 10:49:08 +00:00
Jeremy Fincher 7df4875a93 Don't make directories, foo! 2004-02-07 23:14:58 +00:00
Jeremy Fincher 0ab86752a7 *Really* fixed supybot-adduser now. 2004-02-07 22:23:12 +00:00
Jeremy Fincher 169a69255a Fixed. 2004-02-07 12:25:56 +00:00
Jeremy Fincher cc68310aa8 Turned stdout off entirely. 2004-02-06 05:25:48 +00:00
Jeremy Fincher aff2e6f718 Updated. Not finished, but Vee2d2 needs it. 2004-02-06 04:39:47 +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
Stéphan Kochen 5957eaad5d Lots of wizard updates. Still have to get rid of the onStart and
afterConnect stuff though.
2004-01-31 22:24:43 +00:00
Jeremy Fincher b01886f537 Make a backup of the registry file on startup. 2004-01-30 19:49:48 +00:00
Stéphan Kochen 9423cbc97c Adduser works again. :) (and a small wizard bugfix) 2004-01-29 18:08:38 +00:00
Jeremy Fincher aabb617eb8 Updated the comment in the templated configure. 2004-01-27 20:05:08 +00:00
Jeremy Fincher e7c019e59f Updated to the new registry dealio. 2004-01-27 18:43:20 +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
Jeremy Fincher 4b8df598a9 Made to annotate by default. 2004-01-21 15:52:47 +00:00
Stéphan Kochen f161f9d4c7 More wizard workage. Seems to be working pretty well right now. :)
Removed 'plugins' from the default list of plugin directories. Th's up to
the user to decide.
Also some possibly hackish use of the _cache again but I see no real way
around it.
2004-01-20 16:17:56 +00:00
Stéphan Kochen b8d73d98c6 Possibly a bit hackish, but we use registry._cache here to preset some
registry variables so directories the user doesn't want don't get created
by conf and log and to prevent log from logging anything non-critical.
2004-01-20 13:41:02 +00:00
Jeremy Fincher 17804c91a4 Updates! 2004-01-20 11:53:34 +00:00
Stéphan Kochen a7559f3686 More work on the wizard. Removed allowEval. (somewhere else?)
Still a couple of FIXME's. Added a function to prompt and set registry
values to questions.py.
2004-01-20 00:21:15 +00:00
Jeremy Fincher 946f686dfd Added an extra comment. 2004-01-19 21:54:54 +00:00
James Vega 24ff1a972f Except that registry has to come before conf 2004-01-19 20:36:16 +00:00
James Vega 4ea29eb3a4 Proper ordering of imports 2004-01-19 20:34:02 +00:00
Stéphan Kochen fccf2c44de Modified supybot-wizard to work with the new registry... somewhat.
It seems to work and generate the config file which right now defaults to
supybot.conf in the current directory (which will be changed, ofcourse).
Moved some of the wizard's stuff to questions.py and cleaned up.
2004-01-19 17:44:50 +00:00
Jeremy Fincher 81339b68b6 Allow no registry file to be specified. 2004-01-18 08:00:38 +00:00
Jeremy Fincher 6ca78924f3 HUUUUUUUUGE Configuration change. 2004-01-18 07:58:26 +00:00
Jeremy Fincher b18ad358ee Made a stronger attempt to make sure the registry file gets written. 2004-01-18 05:42:07 +00:00
Jeremy Fincher 5b120d3276 Initial checkin. 2004-01-18 05:39:03 +00:00
Daniel DiPaolo 626038fa53 Yeah, let's make the RIGHT fix this time 2004-01-04 20:11:28 +00:00
Daniel DiPaolo 12842c6a52 Fixed a boo-boo (missing ')') 2004-01-04 20:04:38 +00:00
Jeremy Fincher 19484027f8 Fixed a minor ui issue. 2004-01-02 22:01:16 +00:00
Jeremy Fincher 8a739241a1 Allow a comma separator in the en masse plugin addition. 2004-01-01 20:04:35 +00:00
Daniel DiPaolo 00028614c5 Removed legacy dependency on the debug module, following the example of the
1.21->1.22 changes in supybot-wizard
2003-12-14 09:57:11 +00:00
Jeremy Fincher 088d350c9e Fixed bug #856621, fixed the commented-out minimumLogPriority question. 2003-12-09 03:14:16 +00:00
Jeremy Fincher 028f25eeb2 Added questions for replyWithNickPrefix and replyWhenAddressedByNick. 2003-12-08 13:02:46 +00:00
Jeremy Fincher b6dd266549 Re-added colored stdout logging. 2003-12-01 15:38:42 +00:00
Jeremy Fincher 48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher d618e9ec87 Fixed logic bug in prefixchar questions. 2003-11-22 17:08:39 +00:00
Jeremy Fincher 877d376988 Restricted the characters that a prefix character can be. 2003-11-22 06:53:34 +00:00
Jeremy Fincher 8a850e7f64 Ask first before calling getpass. 2003-11-20 01:06:27 +00:00
Jeremy Fincher 7dd1f4d1d9 Removed example string from the template in suypbot-newplugin. 2003-11-19 00:25:51 +00:00
Jeremy Fincher a5627c34f8 Made the 'add any more commands' dealio a little more intuitive, I think. 2003-11-17 06:15:36 +00:00
Jeremy Fincher 92ed968ed0 Made password getting more standard. 2003-11-17 04:13:06 +00:00
Jeremy Fincher 1ef8b604ea Fix for bug #840908 2003-11-14 17:46:39 +00:00
James Vega 12c52807f8 Default displaying of usage examples to False until we put the example strings
back in
2003-11-06 20:49:37 +00:00
Jeremy Fincher 50c18a6727 That's some ugly output there, buddy. 2003-10-30 03:19:18 +00:00
Jeremy Fincher 9825356e95 Cleaned up error message when exceptions are raised on loading the plugin module. 2003-10-28 14:23:12 +00:00
Jeremy Fincher 6acd477e5a Geezle peats, still didn't get the channel thing right. 2003-10-24 13:35:35 +00:00
Jeremy Fincher af402fd60a Added a configuration option to show only syntax on ArgumentError. 2003-10-24 11:31:09 +00:00
Jeremy Fincher 0ff6b8927c Fixed a bug introduced with the utils.dqrepr'ing of channels. 2003-10-23 08:28:18 +00:00
Jeremy Fincher 179f994008 Added description of the separator in the channels question. 2003-10-23 08:08:12 +00:00
Jeremy Fincher 9ed6c5bacb Fixed missing backslash. 2003-10-23 07:50:35 +00:00
Jeremy Fincher e255ef2e68 Made local plugins to be ordered before global plugins. 2003-10-23 03:26:36 +00:00
James Vega c14decfdea Updated wording of the irc server port prompt 2003-10-23 02:02:00 +00:00
Jeremy Fincher f9bd4db612 Made the wizard and Relay.configure utils.dqrepr their channel names. 2003-10-22 09:14:49 +00:00
Jeremy Fincher cc41299e10 Updated the wizard to specify which join it's using. 2003-10-21 07:25:44 +00:00
Jeremy Fincher 7593ac1b8a Fixed up wizard to match the new names of the src/ plugins. 2003-10-21 06:40:37 +00:00
Jeremy Fincher 15b67670db Made output in case of Ctrl-C prettier. 2003-10-21 06:22:41 +00:00
Jeremy Fincher d8187d4908 Removed the .py for eventual packaging in Debian. 2003-10-21 06:13:40 +00:00
Jeremy Fincher ef4efab1a8 Forgot one password -> serverpassword change. 2003-10-20 21:04:20 +00:00
Stéphan Kochen e12f69b7a2 Added conf.replyWithPrivateNotice and 'notice' command. 2003-10-20 10:10:46 +00:00
Jeremy Fincher 621c920e56 The owner user password was shadowing the server password. Fixed. 2003-10-19 22:20:44 +00:00
Jeremy Fincher ccad26f792 Added a more descriptive return message on KeyboardInterrupt. 2003-10-19 20:32:28 +00:00
Jeremy Fincher b727890b15 Made sure the wizard doesn't allow bad prefixchars. 2003-10-19 19:23:39 +00:00
Jeremy Fincher 1a51ced500 Added support for environment variables in pathnames. 2003-10-15 20:34:25 +00:00
Jeremy Fincher 697b7d511e Added a necessary global statement to allow bolding. 2003-10-12 12:35:07 +00:00
Jeremy Fincher aabe07ebb2 Stupid me forgot to import sets. 2003-10-11 16:22:07 +00:00
Jeremy Fincher f41a802b82 Removed possible double-listing of plugins in getPlugins(). 2003-10-11 10:29:11 +00:00
Jeremy Fincher 5793283e70 Tyop. 2003-10-10 03:22:04 +00:00
Jeremy Fincher d1bc7d462a Fixed bug in supybot-wizard; exception was being raised when modules with no configure function were added. 2003-10-08 20:52:38 +00:00
Jeremy Fincher ef517515f7 Removed star imports. 2003-10-05 13:02:56 +00:00
Jeremy Fincher f1e158946b Optparsified. 2003-10-02 05:49:40 +00:00
Jeremy Fincher eb3be4c0d1 Optparsified. 2003-10-02 05:26:10 +00:00
Jeremy Fincher fd22981d9d Made it not raise an exception when Ctrl-C'ed. 2003-10-02 05:11:40 +00:00
Jeremy Fincher 6fdde226c7 Added filename option for specifying what users.conf file to use. 2003-10-02 05:10:51 +00:00
Jeremy Fincher 76febf41ec Optparsified. 2003-10-02 05:01:44 +00:00
Jeremy Fincher da38a7b59b Changed minimumDebugPriority to minimumPriority (since it's set in the debug module now anyway). 2003-10-02 04:54:25 +00:00
Jeremy Fincher b5c5262878 Added ~ handling to getDirectoryName. 2003-09-30 10:19:20 +00:00
Jeremy Fincher 4ccd2291df Added ~ handling to getDirectoryName. 2003-09-30 10:17:46 +00:00
Jeremy Fincher 31d418926d Typo: you -> to. 2003-09-29 09:45:50 +00:00
Jeremy Fincher 1470d80a7a Oops, said before instead of after, duplicating a question. 2003-09-29 05:53:21 +00:00
Jeremy Fincher 2b6eb6665e Fix for bug #813150. 2003-09-29 05:51:28 +00:00
Brett Kelly 9f8db6e909 fixed string formatting in final output 2003-09-27 01:51:55 +00:00
Jeremy Fincher 6904309725 Oops, forgot to not set minimumDebugPriority if it's the empty string. 2003-09-25 14:03:12 +00:00
Jeremy Fincher d9ebb5e6d0 Made the template have a hole for the python interpreter, to be filled in with the one the script is called with. 2003-09-25 07:20:44 +00:00
Jeremy Fincher eadc1bc3d7 Various fixes. 2003-09-25 07:14:47 +00:00
Jeremy Fincher 707b55a676 Oops, forgot to change the last string. 2003-09-25 02:58:23 +00:00
Jeremy Fincher 4a6dd9740b Fix for bug #812099. 2003-09-25 02:21:36 +00:00
Jeremy Fincher 6690b08085 Changed the name of the generated file and made sure to os.chmod it if we can. 2003-09-24 16:21:13 +00:00
Jeremy Fincher 1e736dc0f7 Various minor fixes. 2003-09-24 16:02:31 +00:00
Jeremy Fincher a51deb2883 Remove OwnerCommands from the list of plugins and made the output for configuring plugins a little bit nicer. 2003-09-24 08:35:22 +00:00
Jeremy Fincher 38aad75a89 Forgot to from fix import *. 2003-09-24 07:49:02 +00:00
Jeremy Fincher 67d0e2fedc Forgot to map to strings. 2003-09-24 07:47:00 +00:00
Jeremy Fincher 06be2a6474 Used a single-quote when I should've been using triple quotes. 2003-09-24 07:44:24 +00:00
Jeremy Fincher e4eafb98ae Updated for distutils and added supybot- prefix to prevent confusion with normal commands. 2003-09-24 07:42:50 +00:00
Jeremy Fincher 5d31e2a2d6 Moved to tools. 2003-09-24 07:29:49 +00:00
Jeremy Fincher 351b2e6c20 Moved such functionality to supybot-wizard.py. 2003-09-24 06:32:29 +00:00
Jeremy Fincher 84ccdc2a8c Moved to tools/, since that's what they are. 2003-09-24 06:31:08 +00:00
Jeremy Fincher b41d953656 Initial checkin. 2003-09-24 05:56:34 +00:00
Jeremy Fincher b0600cb389 Added supybot- prefix to make them distinguishable from real commands in a global install. 2003-09-24 05:56:01 +00:00
Jeremy Fincher aee02ddd81 Fix for jamessan's bug. 2003-09-16 05:59:07 +00:00
Jeremy Fincher e368e90723 Um, yeah...strings are immutable in Python. I should know that. 2003-09-16 05:58:56 +00:00
Jeremy Fincher 1abddefa52 Added upgrade script to upgrade old botscripts to the new template. 2003-09-15 17:20:23 +00:00
Jeremy Fincher 148746ccd5 Make sure it doesn't allow plugins that don't start with a capital. 2003-09-15 16:30:12 +00:00
Daniel DiPaolo 894b213fa1 Fixed typos and grammar errors 2003-09-14 21:34:39 +00:00
Jeremy Fincher 7be6ce500f Forgot to convert back to the one-name system. 2003-09-13 22:22:41 +00:00
Jeremy Fincher c232a31f8f Converted to match the new ircdb stuff. 2003-09-13 14:22:43 +00:00
Jeremy Fincher 8cdb3ddabc Added support for bulk plugin addition. 2003-09-13 14:04:18 +00:00
Jeremy Fincher 9c7b851c0a Added RFE #805372, question about usage examples. 2003-09-13 13:49:13 +00:00
Jeremy Fincher d3a81688fa Made sure the default plugins aren't listed in the plugins list. 2003-09-12 21:40:34 +00:00
Jeremy Fincher 41d266f207 Updated ircdb to have persistent user ids. 2003-09-12 20:06:58 +00:00
Jeremy Fincher e0fae30f46 Now allow multiple plugin directories, RFE #802614. 2003-09-10 06:05:58 +00:00
James Vega a08c1e2332 Changed the stylesheet. Matched the new class names in the generated html. 2003-09-07 06:27:10 +00:00
James Vega 50c1749a46 Made the pages HTML 4.01 strict compliant.
Changed the path to write out the documentation
2003-09-07 00:26:58 +00:00
Jeremy Fincher 392113f29a Fixed single-quote-being-quoted bug and changed directory to docs/plugins, and removed some old debugging stuff. 2003-09-06 23:18:33 +00:00
Jeremy Fincher c662da1621 It actually works now, but it's ugly. 2003-09-06 20:07:48 +00:00
Jeremy Fincher 0fe7b81874 Guarded inserts into sys.path. 2003-09-01 05:59:02 +00:00
Jeremy Fincher 011ebfb3d1 Made output somewhat prettier. 2003-09-01 05:58:29 +00:00
Jeremy Fincher ea34e11d0d Added some more description. 2003-08-30 22:01:13 +00:00
Jeremy Fincher 26f28e52d7 It doesn't work, but maybe someone can find the bug. I can't. 2003-08-30 19:42:42 +00:00
Jeremy Fincher 442392b5ba Guarded inserts into sys.path. 2003-08-30 19:20:08 +00:00
Jeremy Fincher 167acefe8a Guarded against crazy win32 boxes. 2003-08-30 05:10:08 +00:00
Jeremy Fincher ac8a5bf73a Added question about example and pager functionality. 2003-08-29 13:56:46 +00:00
Jeremy Fincher e1e2605c45 Added question for prefixChar. 2003-08-29 07:28:29 +00:00
Jeremy Fincher 1b2b18c375 Added new options, more user-friendliness. 2003-08-28 22:55:42 +00:00
Jeremy Fincher a0bf562d7a Redid startup/configuration junk. 2003-08-28 16:33:45 +00:00
Jeremy Fincher 5c86cd2ce4 Changed template to wrap lines in example. 2003-08-27 16:26:59 +00:00
Jeremy Fincher fff995221e Added example template to template. 2003-08-27 05:09:13 +00:00
Jeremy Fincher ca646716b1 Removed spaces at the end of lines. 2003-08-20 16:26:23 +00:00
James Vega 08c9a9c7c6 Now plugins that are added to the conf file are removed from the list of available plugins. 2003-08-19 14:49:47 +00:00
Jeremy Fincher 7fd35a1071 Made some changes to satisfy PyChecker. 2003-08-19 10:38:45 +00:00
Jeremy Fincher dd3ebb698f Moved file writing to later in the run. 2003-04-16 07:13:29 +00:00
Jeremy Fincher bd07133a32 Initial import. 2003-04-16 06:34:05 +00:00
Jeremy Fincher aa4778254e Added better handling of ImportError. 2003-04-14 05:44:19 +00:00