Commit Graph

540 Commits

Author SHA1 Message Date
cottongin
a6839ddcb8 Create supybot-reset-password
Adds ability to reset passwords for bot users from the shell
2019-01-08 23:04:01 +01:00
James Lu
11d4015f71 Fixes and tests to supybot-plugin-create; modernize the plugin template (#1340)
* supybot-plugin-create: compactify import statements in the template

* supybot-plugin-create: prefer importlib over imp on Python >= 3.4

The imp module is deprecated as of Python 3.4[1], with importlib being the successor. However, importlib is only available in Python 2.7+ and 3.1+, so we should still use a fallback.

[1]: https://docs.python.org/3.6/library/imp.html

* test: add test cases for supybot-plugin-create

* -plugin-create: fix errors when only a subset of args are given

* -plugin-create: rename --real-name to --author/-a

These days, working under a pseudonym or alias is not unheard of, so putting emphasis on real names feels somewhat out of place.

* -plugin-create: add -d as an alias to --desc for consistency
2018-06-20 17:18:46 +02:00
Valentin Lorentz
f26f098d82 supybot-wizard: Warn if run with ~/.local/bin as CWD. 2018-04-11 11:57:12 +02:00
James Lu
17a0348d9a Substitute $nick and friends with <console> when exiting on Ctrl-C 2017-09-17 12:07:16 -07:00
Valentin Lorentz
59ed253a0e supybot-wizard: do not pollute the CWD before paths to directories are known. 2017-06-04 15:59:06 +02:00
Valentin Lorentz
eef901894d Add 'import supybot.i18n' warning to supybot-wizard. 2017-01-22 09:28:42 +01:00
Valentin Lorentz
90c5c78813 Add option --no-setuid to supybot-test
https://bugs.debian.org/834950
2017-01-10 22:56:17 +01:00
Nick Cross
039a4f38f8 Use copyfile instead of copy 2016-12-23 13:57:27 +00:00
Valentin Lorentz
df130e8931 Fix inconsistency in the help message for configuring ident. 2016-10-26 21:17:01 +02:00
GLolol
7767777af4 supybot-wizard: load Network by default 2016-08-16 11:07:50 +02:00
Valentin Lorentz
ccc6b53a9a Fix version returned by 'supybot --version' (Limnoria, not Supybot). 2016-07-28 09:27:21 +02:00
Valentin Lorentz
6ec60479b7 supybot-wizard: Fix typo. 2016-06-29 09:17:15 +02:00
Valentin Lorentz
ea89e4b784 Fix supybot-wizard for disabling SSL.
Answering 'no' kept the default value for SSL, which is
True since c3dd5f8b64.
2016-06-27 20:14:17 +02:00
Valentin Lorentz
1d62a0a7c5 Fix version-clash error message to show the path to python instead of supybot. 2016-03-12 22:30:15 +01:00
Valentin Lorentz
c3dd5f8b64 Make SSL the default for connecting to a new network. 2016-02-21 13:04:26 +01:00
Valentin Lorentz
72ce405962 supybot-test: Remove ignored command-line argument. 2015-12-31 13:52:48 +01:00
Valentin Lorentz
7765bf7307 Fix Python 2.6 support. 2015-12-30 18:31:05 +01:00
Valentin Lorentz
481ffbf797 supybot-test: Add option --fail-fast. 2015-12-30 18:17:21 +01:00
Valentin Lorentz
fed4258040 supybot-test: Use absolute path for directories. 2015-09-20 15:45:43 +02:00
Valentin Lorentz
09cb8e977f supybot-test: Add a new level of verbosity, for showing only unexpected exceptions. 2015-08-29 23:02:20 +02:00
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