Commit Graph

570 Commits

Author SHA1 Message Date
Valentin Lorentz
935abed77b Show an explicit error in case Python imports stock Supybot's library. 2015-08-26 17:03:21 +02:00
nyuszika7h
9f059b91ba Add missing future imports for print_function
There are some places where `print()` is used to print a blank line.
However, unless the future feature `print_function` is imported,
that will print `()` in Python 2.
2015-06-12 22:22:16 +02:00
James Lu
6fa96df607 scripts/supybot: use %.2f for rounding 2015-04-11 13:33:34 -07:00
James Lu
fc418d35b0 scripts/supybot: round total CPU time to 2 decimal places
This prevents rather silly things such as 0.9400000000001 from showing up.

(cherry picked from commit GLolol/Limnoria@2d5e936f0d)
2015-04-05 13:47:41 -07:00
James Lu
59b39ea45e scripts/supybot: use None as msg for standardSubstitute on Ctrl-C 2015-02-07 10:01:47 -08:00
James Lu
0c85c6d796 supybot: also expand substitutes when exiting on Ctrl-C 2015-02-05 22:34:07 -08:00
Valentin Lorentz
719559902f Merge pull request #837 from TingPing/wizard-prompt
Wizard: Add prompt for file to save to
2015-01-03 20:39:55 +01:00
James Lu
9a07f07a72 supybot-plugin-create: create PEP8-compliant files 2014-12-27 11:16:08 -08:00
James Lu
95fb289f53 supybot-plugin-create: use options.desc to fill in more fields, saner defaults 2014-12-10 17:28:40 -08:00
Julian Paul Glass
191b1b2d06 supybot-plugin-create: options.desc substitution for README.md 2014-11-25 12:01:42 +00:00
Julian Paul Glass
09c01e0467 supybot-plugin-create: Added --desc short description option. 2014-11-25 11:51:37 +00:00
Julian Paul Glass
cbe579ec2d Substitution string re-added to __init__Template 2014-11-25 11:40:30 +00:00
Mikaela Suomalainen
317f765daa supybot-wizard: load NickAuth by default
NickAuth functionality is often wanted by users of the bots (is the word
end-users?) and is mentioned in the documentation as method of
identifying to the bot.

I think this should be loaded by default and as this isn't
important plugin, users who don't want or need it can unload it.

One reason of wanting to unload this plugin could be serviceless
networks even if they aren't that common nowadaays.
2014-10-22 13:29:03 +03:00
spline
94b1074749 Fix typo in supybot-plugin-create. 2014-10-18 17:05:31 +02:00
Mikaela Suomalainen
4443526864 supybot-wizard: suggest Aka instead of Alias 2014-10-13 11:21:20 +03:00
GLolol
3c3d51e300 supybot-plugin-create: remove outdated reference to supybot.com
All links just give a 404 error, and the main site itself just redirects to sourceforge now.
2014-09-21 12:30:37 +02:00
TingPing
0ede66debe Wizard: Add prompt for file to save to 2014-09-03 12:22:07 -04:00
TingPing
b0d0e06ebc Fix setting directories when not using advanced mode 2014-09-03 16:58:57 +02:00
Valentin Lorentz
3158c865b3 scripts/supybot: Fix typo. 2014-08-14 19:37:19 +02:00
Valentin Lorentz
bd1ac36c2c Move disableMultiprocessing from supybot.conf to supybot.world in order for it not to be in the config file. 2014-08-14 14:16:15 +02:00
Valentin Lorentz
41d63c7888 Allow --disable-multiprocessing in main supybot script. 2014-08-14 14:14:13 +02:00
Valentin Lorentz
b89d49a480 supybot-plugin-doc: Add Python 3 support. 2014-08-10 15:03:08 +02:00
nyuszika7h
8e11dc8b28 Use gender-neutral pronouns everywhere 2014-07-13 17:23:11 +02:00
Mikaela Suomalainen
afdc8815f2 Revert "Merge pull request #657 from Mkaysi/links"
This reverts commit 497df2c14f, reversing
changes made to 21f75b8237.
2014-06-26 10:09:05 +03:00
Mikaela Suomalainen
94feaa5faf scripts/supybot-plugin-create: Fix #721 .
* README template is now cut to two lines for easier reading in non-word
wrapping text editors on normal terminal size.
* README is now saved as `README.md` instead of `README.txt`.
2014-06-06 11:37:13 +03:00
Mikaela Suomalainen
2392863c7b scripts/supybot-wizard: add AutoMode to be always loaded. 2014-06-02 11:03:37 +03:00
Mikaela Suomalainen
d986b9c64d setup.py & scripts: add limnoria* symlinks 2014-05-22 13:08:59 +03:00
nyuszika7h
7b1965f6d7 supybot-wizard: Clarify help text from previous commit
[ci skip]
2014-05-17 12:27:56 +02:00
nyuszika7h
b5636860bf supybot-wizard: Default to port 6697 for SSL 2014-05-17 12:24:14 +02:00
nyuszika7h
5a1398893d supybot-wizard: Use chat. instead of irc.freenode.net 2014-05-17 09:33:40 +02:00
nyuszika7h
fc8493ad8a supybot-wizard: Ask SSL after port and don't say it needs Twisted 2014-05-17 09:31:56 +02:00
Valentin Lorentz
d1c24d81b7 supybot-wizard: Fix pronouns. Closes GH-609. 2014-05-07 06:42:18 +00:00
Valentin Lorentz
cdb14ec4f5 Fix one occurence missing from previous commit. 2014-04-12 07:12:07 +00:00
Valentin Lorentz
d1aa36126d Add Utilities as a default plugin. 2014-02-21 23:55:41 +00:00
Valentin Lorentz
3c7f9d09c5 supybot-plugin-create: Only catch ImportError for the i18n fallback. 2013-12-15 20:08:49 +00:00
Valentin Lorentz
15872a2e6a supybot-test: Display a full traceback when there is an error while importing a plugin. 2013-10-27 11:53:36 +01:00
Valentin Lorentz
b6ea53b07a Add Python version to 'supybot --version' and @version. 2013-10-27 11:40:10 +01:00
Valentin Lorentz
40675ffdfa Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	plugins/Admin/plugin.py
	plugins/BadWords/config.py
	plugins/Filter/plugin.py
	plugins/Google/plugin.py
	plugins/Math/plugin.py
	plugins/Misc/plugin.py
	plugins/Note/plugin.py
	plugins/RSS/plugin.py
	plugins/Seen/test.py
	plugins/ShrinkUrl/config.py
	plugins/ShrinkUrl/plugin.py
	plugins/ShrinkUrl/test.py
	plugins/Status/plugin.py
	plugins/String/config.py
	plugins/String/plugin.py
	plugins/Time/plugin.py
	plugins/Todo/plugin.py
	plugins/Web/plugin.py
	plugins/__init__.py
	scripts/supybot-botchk
	setup.py
	src/__init__.py
	src/callbacks.py
	src/commands.py
	src/conf.py
	src/drivers/Socket.py
	src/ircdb.py
	src/irclib.py
	src/ircutils.py
	src/questions.py
	src/registry.py
	src/schedule.py
	src/test.py
	src/utils/file.py
	src/utils/gen.py
	src/utils/net.py
	src/utils/web.py
	src/world.py
2013-08-24 11:28:29 +02:00
James McCoy
c73ead8aef supybot-botchk: Directly execute supybot instead of running it in sh
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2013-08-23 21:42:01 -04:00
Valentin Lorentz
0dc5160dbc Remove debug output. 2013-08-10 15:39:03 +02:00
Valentin Lorentz
22c0c7fcce Fix supybot-test's option --exclude-plugins for patterns. 2013-08-03 16:06:23 +02:00
Valentin Lorentz
46b89cfc0e Fix crash when --daemon is given (Python 3). 2013-06-29 13:58:41 +02:00
Valentin Lorentz
9e4c804d24 supybot-botchk: Fix Python 3 compatibility. 2013-06-17 10:38:06 +00:00
Valentin Lorentz
18c671fc6c scripts/supybot: Invoke i18n in the 'try' block to handle the case where the config file does not exist. 2013-06-01 16:26:41 +02:00
Valentin Lorentz
3da554bde8 supybot-wizard: Display a warning if conf is in the source folder. Closes GH-402. 2013-05-21 17:30:14 +02:00
Valentin Lorentz
c56f26b91d Wrap now internationalizes docstrings. 2013-05-20 17:52:41 +02:00
Valentin Lorentz
4090793468 Fix scripts to work with Python 3 without 2to3. 2013-04-27 16:16:08 +02:00
Valentin Lorentz
43248f5cea supybot-plugin-create: Various updates (stock supybot compatibility, Python 3 compatibility, reload config by default. 2013-04-11 19:33:42 +02:00
Valentin Lorentz
d13015dfb5 Fix tests with Travis. 2013-04-11 19:09:50 +02:00
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