Commit Graph

510 Commits

Author SHA1 Message Date
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
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