Commit Graph

547 Commits

Author SHA1 Message Date
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
Jeremy Fincher
436b5e3248 Template forgot advanced argument to configure. 2003-04-09 19:29:45 +00:00
Jeremy Fincher
1bf368a720 Fixed typo. 2003-04-08 07:12:10 +00:00
Jeremy Fincher
a07136b07f Support for new module-level configuration. 2003-04-08 07:02:15 +00:00
Jeremy Fincher
89fca3e5b6 Forgot to add 'src' to sys.path 2003-04-07 21:03:40 +00:00
Jeremy Fincher
58902cd8fd Forgot two stupid newlines after the comments. 2003-04-07 15:18:20 +00:00
Jeremy Fincher
6e0aff9fb2 Added more support for passworded servers. 2003-04-07 03:45:05 +00:00
Jeremy Fincher
01b9ae732c Changed to be entirely interactive. 2003-04-06 11:40:01 +00:00
Jeremy Fincher
e93f0e62d0 Pulled out questions.py, added a few more niceties. 2003-04-05 13:41:36 +00:00
Jeremy Fincher
f4b1884a34 Made it more interactive. 2003-04-05 12:50:15 +00:00
Jeremy Fincher
bc56b5bcc9 Added comments to denote sections. 2003-04-05 10:25:09 +00:00
Jeremy Fincher
8fde27d15f Creates better, smarter templates. 2003-04-03 08:23:44 +00:00
Jeremy Fincher
3f3d26d635 Added check to make sure logs/* were normal files. 2003-04-02 08:00:57 +00:00
Jeremy Fincher
4123a9d934 Stopped clearing conf/ 2003-04-01 10:06:42 +00:00
Jeremy Fincher
9b5739ca68 Added advanced/not advanced questions and check to make sure the server resolves. 2003-03-31 09:52:22 +00:00
Jeremy Fincher
4c3944dde2 Added question to see if user wants to set user/ident 2003-03-31 09:27:45 +00:00
Jeremy Fincher
fb756c807d Removed trailing newline that was causing trouble in parsing configuration file 2003-03-31 06:56:56 +00:00
Jeremy Fincher
fc1b9f8cdb Added question to ask if the user wants the bot to join any channels 2003-03-28 08:25:34 +00:00
Jeremy Fincher
39afa87a27 Added another blank line at the end just in case 2003-03-28 02:08:33 +00:00
Jeremy Fincher
b615955fbd Fixed .conf.conf part at end. 2003-03-27 20:23:11 +00:00
Jeremy Fincher
2404efa59c Made it a bit more user-friendly and useful; added owner user creation. 2003-03-27 07:18:55 +00:00
Jeremy Fincher
0663267ba3 Updated setup.py to reflect moving-out of various *Commands from privmsgs. 2003-03-27 06:51:34 +00:00
Jeremy Fincher
b040e855a8 Broke ChannelCommands out of privmsgs 2003-03-27 06:28:13 +00:00
Jeremy Fincher
cbfcd0b523 Removed dumpdb.py and makedb.py, both useless since the conversion to SQLite. 2003-03-27 06:08:35 +00:00
Jeremy Fincher
21ad5fa890 Finally somewhat functional. 2003-03-27 06:00:31 +00:00
Jeremy Fincher
2e00779d79 Initial import; expect function and roadmap done. 2003-03-25 07:13:59 +00:00
James Vega
c803e5e9d8 Added vim:set ... : strings to source in order to keep file formatting
consistent between developers. Jeremy should be adding the equivalent
settings for emacs soon.
2003-03-24 08:41:19 +00:00
Jeremy Fincher
7801c84d84 Initial revision 2003-03-12 06:26:59 +00:00