Commit Graph

150 Commits

Author SHA1 Message Date
James Vega
5948a710eb Make supybot-wizard see the new-style plugins. 2005-05-05 22:53:29 +00:00
James Vega
28600531ab Fix an exception in supybot-wizard. 2005-05-05 22:38:27 +00:00
James Vega
ca41962974 Quote the bad channel. 2005-04-04 05:26:44 +00:00
James Vega
d0fadee9f6 Specify a default directory and don't prompt when we create the plugins directory. 2005-04-04 05:25:59 +00:00
James Vega
e691c94ba2 Make some unnecessary questions for advanced users only. 2005-04-04 03:16:06 +00:00
James Vega
43bec2808c Simplify directory creation for non-advanced users. 2005-04-04 03:15:09 +00:00
James Vega
aea980ce41 Update ValidChannel exceptions to contain the invalid channel. 2005-04-04 03:05:52 +00:00
Jeremy Fincher
32dce478c5 Let's be honest about what we accept. 2005-02-10 07:35:49 +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
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
James Vega
5a46ec4993 Remove the last supybot.fix imports. 2005-01-30 02:46:30 +00:00
Jeremy Fincher
cb365a430d Fixed some bugs in supybot-wizard, reported by Grantbow. 2005-01-26 13:26:44 +00:00
Jeremy Fincher
292b1627b8 Fixed SyntaxError in supybot-wizard. 2005-01-25 15:49:42 +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
dbcc622e76 Fix an exception when adding the owner user. 2005-01-18 18:51:36 +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
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
87f42e0bee Added a --no-network option. 2004-09-08 22:43:29 +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
James Vega
b8ad661e27 allowRoot fix and some spacing fixes 2004-08-27 03:00:29 +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
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
a3c30b0953 Beg for advertising. 2004-08-20 22:36:26 +00:00
Jeremy Fincher
0f598271dc Speeling fixes. 2004-08-18 23:15:27 +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
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
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
f44f5410f3 Moved the do376 joining stuff to Owner so Admin can be safely unloaded. 2004-08-01 19:05:06 +00:00
Jeremy Fincher
c5325dc18c Updated to allow multiple servers. 2004-07-30 06:58:20 +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
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
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
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
952676be69 Fixed bug found by skullY. 2004-02-17 03:55:31 +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
Stéphan Kochen
b15f12126a Fix, cleanup... I'll let you decide. ;) 2004-02-10 13:16:45 +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
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
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
Stéphan Kochen
9423cbc97c Adduser works again. :) (and a small wizard bugfix) 2004-01-29 18:08:38 +00:00
Jeremy Fincher
b94a7a3b4e Made defaultplugin use the registry. 2004-01-25 08:22:50 +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
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
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
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
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