Commit Graph

571 Commits

Author SHA1 Message Date
Valentin Lorentz
d714909576 Use non-sexist language in strings and comments. 2013-03-08 20:34:31 +01:00
Valentin Lorentz
f65c0539d8 supybot-wizard: Prevent this script from running directly in ~/ 2013-02-24 09:47:48 +01:00
nyuszika7h
c234d683d1 scripts/supybot-botchk: Open pidfile in append mode because 'x' is not supported on Python 2 2013-02-07 15:37:20 +01:00
nyuszika7h
ff1d9c4f69 supybot-botchk: Use a different method for creating pidfile if it doesn't exist 2013-02-03 14:54:07 +01:00
nyuszika7h
658d0ad84d supybot-botchk: Don't truncate pidfile 2013-02-03 14:20:16 +01:00
nyuszika7h
7edc73a08c supybot-botchk: Use open() and close() instead of os.system('touch') 2013-02-03 14:15:46 +01:00
nyuszika7h
1b6f1f04ec supybot-botchk: Fix Python 3 compatibility 2013-02-03 14:12:21 +01:00
Valentin Lorentz
785b973995 botchk: Use open() instead of file(). 2013-02-02 19:46:59 +01:00
Valentin Lorentz
413bdbf80e supybot-test: Add the --exclude option. 2013-01-06 17:17:26 +01:00
Valentin Lorentz
408f6e2288 supybot-test: Return appropriate status code. 2013-01-04 20:23:48 +01:00
Valentin Lorentz
de4f1b34d2 Revert "supybot-test: Return the appropriate exit code."
This reverts commit f7f53fc9f6.
2013-01-04 20:21:26 +01:00
Valentin Lorentz
f7f53fc9f6 supybot-test: Return the appropriate exit code. 2013-01-04 20:00:11 +01:00
Valentin Lorentz
3dba9088b0 Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	INSTALL
	plugins/ChannelLogger/README.txt
	plugins/ChannelStats/README.txt
	plugins/Google/plugin.py
	plugins/Google/test.py
	plugins/Plugin/test.py
	plugins/Web/test.py
	setup.py
	src/callbacks.py
	src/ircdb.py
	src/irclib.py
	src/utils/str.py
	test/test_irclib.py
2013-01-01 21:11:24 +01:00
James McCoy
82ecf36fcd Update my name/contact information
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-01 10:16:48 -04:00
James McCoy
83f872fa12 Bump minimum Python version to 2.6 for multiprocessing support
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-01 10:06:50 -04:00
James McCoy
232aa86a1e Merge branch 'maint/0.83.4' 2012-09-01 09:13:52 -04:00
Valentin Lorentz
d52e501ae8 Use open() instead of file(). 2012-08-04 13:13:16 +02:00
Daniel Folkinshteyn
a31350f14a Consolidate the version string to reside in one central place to ease change making.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-06-17 10:42:44 -04:00
Valentin Lorentz
a1acde1f02 Use log.critical instead of log.fatal (which does not exist).
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-05-23 00:31:58 -04:00
Mika Suomalainen
c9dab259ba scripts/supybot-plugin-create: Fix issue #181. 2012-05-04 08:54:33 +03:00
Valentin Lorentz
6b0e5303b4 Use log.critical instead of log.fatal (which does not exist). 2012-01-17 20:51:42 +00:00
James McCoy
8b73f78b3e Merge branch 'maint/0.83.4'
Conflicts:
	plugins/Misc/plugin.py
	src/ircutils.py

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-13 15:26:19 -05:00
James Vega
5ada9193b9 Honor supybot-test's timeout option and document the units
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2011-08-22 20:50:16 +02:00
James Vega
4661acb3a3 Honor supybot-test's timeout option and document the units
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2011-08-22 14:07:39 -04:00
Valentin Lorentz
03cc4c7ab7 supybot-wizard: Suggest most useful plugins when the user want to add plugins en masse. Closes GH-84. 2011-07-16 13:37:56 +02:00
Valentin Lorentz
3265d84a23 Bug fix with the HTTP server. 2011-07-01 16:49:48 +02:00
Valentin Lorentz
c9cc858095 the default ident in the supybot-wizard is now limnoria. Closes GH-37. 2011-06-27 18:09:54 +02:00
Valentin Lorentz
667d7c34b4 Bug fixes to the HTTP server 2011-06-24 15:32:22 +02:00
Valentin Lorentz
13e4f45e30 Add an embedded HTTP server to Supybot. 2011-06-24 14:31:29 +02:00
Valentin Lorentz
a234b0e929 Update supybot-wizard, so it asks for the language, and sets the default config values appropriately. Closes GH-26. 2011-06-23 10:27:52 +02:00
Daniel Folkinshteyn
05c9482759 Consolidate the version string to reside in one central place to ease change making. 2011-04-26 10:23:18 +02:00
Valentin Lorentz
44458d4b57 Change version number to 0.83.4.1+git+fr3 2011-02-27 12:01:51 +01:00
Valentin Lorentz
0223e9c210 Change release number to 0.83.4.1+git+fr2 2011-01-29 10:29:05 +01:00
Valentin Lorentz
211be44b9c Merge branch 'testing' 2010-11-11 12:03:12 +01:00
Valentin Lorentz
4ea359d503 Merge branch 'l10n-fr' into testing 2010-11-11 12:03:04 +01:00
Valentin Lorentz
323ffe1a1f i18n: Fix internationalization problems 2010-11-11 12:01:56 +01:00
Valentin Lorentz
713aae9017 Change the version suffix 2010-11-02 14:06:06 +01:00
Valentin Lorentz
44c3eb1825 Changes version 2010-10-24 13:54:35 +02:00
Valentin Lorentz
106a527082 Decorates plugin class with internationalizeDocstring 2010-10-10 18:49:21 +02:00
Valentin Lorentz
90a0ea3c3a Edit scripts/supybot-plugin-create to fit plugin templates changes 2010-10-10 18:18:51 +02:00
James Vega
31d5191dcd supybot: Remove extraneous sys.stdin.close()
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 0e22e218f0)
2010-08-24 19:51:33 -04:00
Daniel Folkinshteyn
4f2279fc92 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>
(cherry picked from commit 79c7514f1a)
2010-08-24 19:46:38 -04:00
James Vega
2a79c0cab9 Fix supybot-botchk's use of subprocess
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit a48cd109a3)
2010-08-24 19:40:40 -04:00
James Vega
a7c924b466 Switch from using the various popen flavors to subprocess.Popen
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit fbdc44ca52)
2010-08-24 19:40:23 -04:00
James Vega
56d97e0eeb 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>
(cherry picked from commit 899391e4dc)
2010-08-24 19:16:20 -04:00
Štěpán Němec
d7d5ccea50 scripts/supybot: Unify the `os.linesep' vs '\n' usage.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 2242b26025)
2010-08-24 19:03:43 -04:00
James Vega
8bb49e8873 supybot-wizard: Handle os.makedirs errors on Windows
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 3c898fa483)
2010-08-24 19:00:05 -04:00
James Vega
024a77af48 Updated to 0.83.4.1+git.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 332a614eef)
2010-08-24 18:59:46 -04:00
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
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