Commit Graph

473 Commits

Author SHA1 Message Date
James Vega
0e22e218f0 supybot: Remove extraneous sys.stdin.close()
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-20 09:40:57 -04:00
Daniel Folkinshteyn
79c7514f1a Improve supybot-botchk documentation. Make a note that supybot.pidFile config must be set for it to work.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-04-26 18:56:59 -04:00
James Vega
a48cd109a3 Fix supybot-botchk's use of subprocess
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-11-28 17:48:24 -05:00
Jeremy Fincher
52e96bff61 Remove some comments that are now irrelevant (and have been for some time). 2009-11-25 09:14:05 -06:00
James Vega
fbdc44ca52 Switch from using the various popen flavors to subprocess.Popen
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-11-22 14:31:58 -05:00
James Vega
eda8ce3aa0 Remove supybot-wizard's direct import of sets.
This is deprecated in 2.6 and supybot.utils already handles adding sets.Set to
__builtins__ if we're running with Python < 2.4.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-11-02 19:11:58 -05:00
James Vega
899391e4dc Remove supybot-plugin-package.
It was never fully fleshed out.  If someone wants to finish it, they can
rewrite it or dig it out of the history and finish it.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-10-23 20:09:54 -04:00
James Vega
342ab23af8 Bump the minimum supported Python version to 2.4.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-10-23 19:35:24 -04:00
Štěpán Němec
a66034f852 Fix some typos/wordings.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-26 16:34:12 -04:00
Štěpán Němec
2242b26025 scripts/supybot: Unify the `os.linesep' vs '\n' usage.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-26 16:15:50 -04:00
James Vega
3c898fa483 supybot-wizard: Handle os.makedirs errors on Windows
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-26 16:27:53 -04:00
James Vega
332a614eef Updated to 0.83.4.1+git.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 13:38:22 -04:00
James Vega
27a4ef0ed3 Updated to 0.83.4.1.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 13:38:12 -04:00
James Vega
3535f6a702 Updated to 0.83.4+git.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:49:52 -04:00
James Vega
f32c886692 Updated to 0.83.4.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:49:42 -04:00
James Vega
1c4738bfdc supybot-wizard: Fix listing of plugins during setup.
Due to the changes to prevent the global plugins dir from being set in
supybot.directories.plugins, the global plugins weren't being found.  Simply
extend the list of directories with the global directory.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:26:57 -04:00
James Vega
d37580e592 Change our minimum dependency back to 2.3
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 00:16:42 -04:00
James Vega
406736524b supybot-plugin-doc: Clean up generation of config docs
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-07 21:46:40 -04:00
James Vega
61852861ba supybot-plugin-doc: Add basic RST support. Config still needs cleanup
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-03 10:54:04 -04:00
James Vega
cedc4aaebe Merge branch 'master' of git+ssh://supybot.git.sourceforge.net/gitroot/supybot 2009-04-28 07:58:10 -04:00
James Vega
160b7b2fdd supybot-plugin-doc: Stub support for rendering different formats
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-28 00:38:35 -04:00
James Vega
acd4e26401 supybot-plugin-doc: It's outputDir not outputdir
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-28 00:36:55 -04:00
James Vega
38f338ea48 supybot-plugin-doc: Add an error() to handle logging errors and exiting
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-28 00:36:06 -04:00
James Vega
f3dca89500 supybot-plugin-doc: Allow specifying an output directory
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-27 19:37:06 -04:00
James Vega
5c2b493509 supybot-plugin-doc: Remove escape option; only used for Plone website
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-27 19:07:01 -04:00
Jeremy Fincher
f159cb742a Seriously, I'll get this right one of these days... 2009-04-27 11:10:56 -05:00
Jeremy Fincher
f51928d93b 'debug' wasn't an imported log function, like I thought it was, assuming 'fatal' was also available. 2009-04-27 11:09:37 -05:00
Jeremy Fincher
92e2046b81 Added additional check for pidfile writability to supybot-botchk. 2009-04-27 10:39:22 -05:00
Jeremy Fincher
82db19754d If supybot can't write the pidfile, it needs to exit. 2009-04-27 10:35:19 -05:00
James Vega
151b3729d8 Bump our minimum required version to 2.4
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-31 07:50:30 -04:00
James Vega
777f69dcf0 supybot-plugin-create: Also make a local directory in the plugin directory
This is to be used for storing third party modules that the plugin needs to
use.  The plugin should then import them using

universalImport('module', 'local.module')

so system-wide/packaged installs of the module are preferred, falling back to
the version shipped with the plugin.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-11 19:36:13 -04:00
James Vega
150f29dbde scripts: Change tabstop to softtabstop in our modelines
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-11 19:26:49 -04:00
James Vega
46a4076988 Add .gitignore
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-02-27 14:17:31 -05:00
Jeremy Fincher
526e71e104 Added test for firewall, fixed implementation so it actually works. 2009-03-11 13:37:25 -04:00
Jeremy Fincher
9d474f7824 We can still continue if we're unable to load a plugin. 2009-03-11 13:37:25 -04:00
James Vega
4827155c6b Use network.ssl.setValue instead of network.ssl.set 2009-03-11 13:37:25 -04:00
James Vega
0278318ed9 Add +svn to the version 2009-03-11 13:37:24 -04:00
James Vega
7bb3b1ec60 Merge the changes from the python25compat branch into the trunk 2009-03-11 13:37:24 -04:00
James Vega
99630bc3f5 Bump versions to 0.83.2+darcs 2006-07-27 14:53:34 +00:00
James Vega
c4b4fc03b0 scripts/supybot: Stop setting a umask. We'll just obey the user's umask setting. 2006-02-27 20:09:41 +00:00
James Vega
97fdd164ae scripts/supybot-wizard: Add a question regarding the use of an SSL connection. 2005-12-14 03:29:31 +00:00
James Vega
e5be124e5a supybot-wizard: Update the intro paragraph since we haven't used that method in a loooong time. 2005-11-30 15:55:16 +00:00
James Vega
fe72d703df +darcs 2005-09-02 02:23:49 +00:00
James Vega
0974d70ca4 Version 0.83.1 2005-09-02 02:13:51 +00:00
James Vega
92b7925fb0 +darcs 2005-08-31 00:04:54 +00:00
James Vega
b701d0f436 UNDO: +darcs 2005-08-30 23:43:51 +00:00
James Vega
b74c0e6200 +darcs 2005-08-30 23:43:51 +00:00
James Vega
2e38b5ed06 Version 0.83.0 2005-08-30 23:39:46 +00:00
James Vega
296980e20e scripts/supybot-plugin-create: Prompt the user to see if the wish to use Supybot's license. 2005-08-30 16:22:45 +00:00
Jeremy Fincher
603cab6b0a Loaded plugins during __init__ rather than do001. 2005-08-15 05:37:05 +00:00
James Vega
772f1dd2bf scripts/supybot-plugin-doc: Don't escape characters if they're inside a single-quoted string. Also, make sure config vars with a default of None have a printable default string. 2005-07-26 12:22:16 +00:00
Jeremy Fincher
227b15245a Some plugins raise callbacks.Error rather than ImportError when they can't be imported (usually due to a dependency on sqlite or similar). 2005-05-30 19:20:36 +00:00
James Vega
c268aab9bd +darcs 2005-05-30 04:36:01 +00:00
James Vega
14752347e2 Initial changelog and version changes for 0.83.0rc3. 2005-05-30 04:28:24 +00:00
Jeremy Fincher
b09f35846c Removed options related to the hashing of passwords; it's an unimportant user detail, and people smart enough to care are smart enough to do it themselves. 2005-05-26 02:50:00 +00:00
Jeremy Fincher
90d199b86d Removed the call to os.umask, which gained nothing and caused some problems (ones that I haven't quite figured out) 2005-05-25 05:19:10 +00:00
Jeremy Fincher
b59742dd35 Removed the -O and -OO switches to reduce confusion; they didn't work anyway. 2005-05-25 05:17:52 +00:00
James Vega
8693dbd5cc Update version numbers for 0.83.0rc2. 2005-05-12 15:59:02 +00:00
James Vega
ae5b51fe97 Add +darcs to version. 2005-05-06 15:07:34 +00:00
James Vega
6666e25327 Forgot to update the version numbers. 2005-05-06 14:19:12 +00:00
James Vega
1dc5a068c5 Add Vim modeline to supybot-wizard. 2005-05-06 02:36:10 +00:00
James Vega
903e605c77 Really make supybot-wizard see the new-style plugins. 2005-05-06 02:31:42 +00:00
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
6402f43ac5 Actually make use of the clean option. 2005-04-08 02:02:10 +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
482a49022c Rename supybot-newplugin to supybot-plugin-create. 2005-04-04 03:11:46 +00:00
James Vega
aea980ce41 Update ValidChannel exceptions to contain the invalid channel. 2005-04-04 03:05:52 +00:00
James Vega
d4d2350474 Finish implementing supybot-plugin-doc. 2005-04-01 01:18:54 +00:00
James Vega
9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
Ali Afshar
d56aaea1cf supybot-plugin-doc: added configuration generation 2005-03-23 16:41:07 +00:00
Ali Afshar
0ce71fe405 supybot-plugin-doc: added support for nested plugins command generation. 2005-03-23 15:57:57 +00:00
Ali Afshar
fb4ac5de49 supybot-plugin-doc: added coyright notice and logging information, fixed break on nested plugins. 2005-03-23 15:32:35 +00:00
Ali Afshar
5a7442c382 an early start to supybot-plugin-doc 2005-03-22 13:58:53 +00:00
Jeremy Fincher
5fe4730dcb Added __url__ to the default stuff generated by supybot-newplugin. 2005-03-14 02:16:34 +00:00
James Vega
ee0434a084 Ssomeone wass a little esss happy, me thinkss. 2005-03-14 00:40:03 +00:00
Jeremy Fincher
bd7ca03b85 Added supybot-plugin-package, later to be filled out with more functionality.
This is important to add because it standardizes our package format, making it
possible to write website products that open this package and use some of it
(like the README, or the CHANGES, or the NEWS document, etc.) for values on
the web.
2005-03-13 22:47:37 +00:00
Jeremy Fincher
2584f4a474 Capitalization change. 2005-03-13 22:44:09 +00:00
James Vega
560434616a Make sure to set a sane umask. 2005-03-11 18:05:51 +00:00
Jeremy Fincher
b39eaa7cb5 Added .bashrc to the list of files to source in supybot-botchk. 2005-03-09 07:27:47 +00:00
Jeremy Fincher
3fc1553fc8 Added an option to clean the log/conf/data directories to supybot-test. 2005-02-18 07:31:19 +00:00
Jeremy Fincher
544e965605 Now we can try to setup a proper environment for our Supybot. 2005-02-17 09:27:01 +00:00
Jeremy Fincher
e8c6e6f978 Let's try a sh -cl to act like a login shell. 2005-02-12 07:02:47 +00:00
Jeremy Fincher
32dce478c5 Let's be honest about what we accept. 2005-02-10 07:35:49 +00:00
James Vega
3c83811b3e Fix the base class used in newplugin. 2005-02-09 21:49:35 +00:00
Jeremy Fincher
a6973f681c Removed the ability to make regexp-based plugins. 2005-02-09 18:28:21 +00:00
James Vega
b05834fb3b Update supybot-newplugin to use the correct base class for plugins. 2005-02-09 13:37:10 +00:00
James Vega
fce82cfd56 Fix a bug introduced in supybot-newplugin. 2005-02-05 20:58:40 +00:00
Daniel DiPaolo
4125f97381 Updating version from 0.80.0 to 0.80.1+darcs 2005-02-04 02:17:18 +00:00
Jeremy Fincher
65f713df4b Removed log.verbose. I never liked it anyway. 2005-02-04 05:59:07 +00:00
Jeremy Fincher
753d51747a Added supybot-botchk. 2005-02-03 14:55:31 +00:00
Jeremy Fincher
3e1ff0d329 Line was too long. 2005-02-03 14:54:35 +00:00
Jeremy Fincher
7fe8601a57 Updated the sample docstrings to explain better what they do. 2005-02-03 13:03:33 +00:00
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