Valentin Lorentz
db7ef3f025
all: Add generic 'The Limnoria Contributors' to copyright notices.
...
No need to bother with details (that are all outdated / out of sync
anyway), just look up the git history.
2021-08-01 21:54:49 +02:00
Valentin Lorentz
c3f39fc93b
callbacks, Misc, Relay: Fix when the message prefix is just a nick
...
<user> and <host> are optional in https://datatracker.ietf.org/doc/html/rfc1459#section-2.3.1
Closes GH-1451.
2021-05-26 17:50:29 +02:00
Valentin Lorentz
49eef1cd7d
Misc: Make @help mention '@plugin help' when relevant.
2021-04-05 14:39:41 +02:00
Valentin Lorentz
91a4083ae1
Misc: Clamp the number of lines returned by @more to the draft/multiline max-lines value, if any.
2021-04-01 20:10:17 +02:00
Valentin Lorentz
7cb3ae12da
Misc: Make @more reply in batches when possible.
2021-04-01 20:10:17 +02:00
Valentin Lorentz
16b7fd9f37
Misc: Fix log message on invalid commands in private
...
It showed 'Not replying to <command> in None,', since channel is None in
private (unlike the former msg.args[0], which was the bot's nick).
I wasn't careful enough when I replaced msg.args[0] with msg.channel
across the codebase.
2020-09-30 10:25:22 +02:00
Valentin Lorentz
428f5ca5dc
Misc: Show a basic help when @help is called without an argument and customHelpString isn't set.
2020-05-08 12:37:07 +02:00
Valentin Lorentz
3eb20adaf2
Fix extra arguments to irc.reply() being ignored by messages returned by '@more'.
...
This change builds all the ircmsg objects directly in irc.reply, with
the original arguments.
A side effect is that if a config var is changed between the initial command
call and the call to '@more', this commit makes it use the old values,
but that shouldn't be too much of an issue.
Closes GH-1405.
2020-04-11 16:40:07 +02:00
Valentin Lorentz
5e91a68ab0
Misc: Fix drop of the last (nb_mores % plugins.Misc.mores) messages.
...
If the last batch had less than plugins.Misc.mores messages;
getting the last messages of the batch would raise an IndexError,
causing the whole batch to be dropped.
2020-04-11 16:36:14 +02:00
Valentin Lorentz
9ab908759a
Use importlib instead of imp.
...
importlib is deprecated.
2020-01-26 12:00:08 +01:00
Tasos Sahanidis
7bd68df8aa
Fix getSpecific usage
...
The channel and network arguments were incorrectly swapped
2020-01-12 10:35:35 +01:00
Valentin Lorentz
c1ae3f5c81
all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue.
2019-08-24 23:35:01 +02:00
Valentin Lorentz
696254ff1b
Use irc.isChannel instead of ircutils.isChannel when possible.
...
It's aware of the network's 'chantypes'.
2019-08-04 21:52:40 +02:00
Kevin Fenzi
932f49648b
change abuse command flood to except trusted users instead of just owners
2016-07-06 16:50:14 -06:00
Valentin Lorentz
443999df25
Misc: s/Supybot/Limnoria/ in @version.
2016-04-02 18:57:10 +02:00
James Lu
d4a71497c4
Misc.last: add a timeout in --regexp search to prevent various ReDoS attacks
2016-03-21 20:57:04 +01:00
Valentin Lorentz
3f66dbc3d5
Channel & Dunno & Misc & RSS & Scheduler: Let the logging facility perform string templating to avoid extra format chars in argument.
2015-11-03 17:25:13 +01:00
Valentin Lorentz
c3a2c800f1
Remove need for 2to3.
2015-08-11 16:50:23 +02:00
Valentin Lorentz
2c380a4c3a
Remove fix_xrange.
2015-08-10 19:36:07 +02:00
Valentin Lorentz
216c5d213f
Replace sys.version_info[0] usages with minisix.PY{2,3}.
2015-08-09 00:23:03 +02:00
Valentin Lorentz
be118c3338
Remove use of fix_dict fixer.
2015-08-08 23:08:49 +02:00
James Lu
b6f798263b
Misc: add 'clearmores' command ( Closes ProgVal/Limnoria#953 )
2014-12-28 22:59:11 -08:00
Mikaela Suomalainen
30b4749049
Misc: this is also core plugin, not module
2014-12-20 14:03:09 +02:00
James Lu
9215bb5754
Misc: further simplify custom help logic
2014-12-06 18:06:59 -08:00
James Lu
f5bf5129a9
Misc: add ability to specify custom help URLs when 'help' is ran without arguments
2014-12-06 18:06:59 -08:00
James Lu
a755238ef4
Add/improve help for Debug + plugins from F-W:
...
- Debug
- Factoids
- Format
- Games
- Google
- Herald
- Internet
- Karma
- Lart
- Math
- Misc
- MoobotFactoids
- Network
- News
- NickAuth
- Nickometer
- Note
- Owner
- Protector
- Quote
- QuoteGrabs
- Relay
- Scheduler
- Seen
- ShrinkUrl
- Status
- String
- Time
- Todo
- Topic
- URL
- Unix
- User
- Utilities
- Web
2014-11-30 12:07:41 -08:00
James Lu
223a3293d8
Misc: give better help when command isn't found but coincides with the name of a loaded plugin (ref #912 )
2014-11-26 18:55:26 -08:00
Valentin Lorentz
9569eb22d8
Misc: Only write channel name, instead of prepending it with “channel”.
2014-05-29 18:46:09 +00:00
Valentin Lorentz
a430e3bce5
Misc: Internationalize two strings.
2014-05-29 18:11:38 +00:00
Valentin Lorentz
c66072ffc2
Misc: Improve code in previous merge.
2014-05-29 18:07:20 +00:00
Srijay Kasturi
b3bf19ffe7
Add invalid command was called in.
...
fixes #584
2014-05-29 12:32:13 -04:00
Valentin Lorentz
4f7caa78e4
Misc: Update @version to match the new version format.
2014-03-03 16:22:32 +00:00
Valentin Lorentz
5d301b653f
Merge remote-tracking branch 'origin/speed-up-2to3' into testing
...
Conflicts:
locales/fr.po
plugins/Misc/plugin.py
sandbox/check_trans.py
src/i18n.py
2014-02-02 22:28:19 +01:00
Valentin Lorentz
74a36c8cfc
Misc: Fix count of invalid commands introduced in c91916ae
. Closes GH-439.
2014-01-26 20:47:27 +01:00
Valentin Lorentz
40e6f789cf
Misc: Remove dead code.
2014-01-26 20:47:21 +01:00
Valentin Lorentz
06fdaa792f
Continue accelerating the 2to3 step (remove fix_map).
2014-01-21 10:57:38 +01:00
Valentin Lorentz
1fbdedc7e0
Continue accelerating the 2to3 step (remove fix_funcattrs, fix_itertools, and fix_itertools_imports).
2014-01-21 10:50:55 +01:00
Valentin Lorentz
bb7db3ab21
Continue accelerating the 2to3 step (remove fix_except).
2014-01-20 15:49:15 +01:00
Valentin Lorentz
d1649a44ac
Continue accelerating the 2to3 step (remove fix_idioms, fix_imports2, fix_input, fix_intern, fix_isinstance, fix_ne, fix_next, and fix_raw_input).
2014-01-20 15:13:01 +01:00
Valentin Lorentz
9457f4dbe7
Misc: Add command @noticetell to replace “@notice [tell ]” which is no longer possible since f0233c37
.
2014-01-01 20:46:09 +00:00
Valentin Lorentz
43e1b55506
Misc: Fix @version on Python 2.
2014-01-01 11:40:49 +00:00
Valentin Lorentz
2b12a33d82
Tell the users to use the list command if they use the help command without any arguments. Closes GH-516.
2013-11-10 11:27:42 +01:00
Valentin Lorentz
cc9f1f0a2c
Misc: Fix output of @version.
2013-10-29 17:10:59 +01:00
Valentin Lorentz
b6ea53b07a
Add Python version to 'supybot --version' and @version.
2013-10-27 11:40:10 +01:00
Valentin Lorentz
dfafee3ff2
Misc: Adapt GitHub's version format to the new one (introduced in 0fb2ee1bf7
).
2013-09-11 17:17:32 +00: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
Valentin Lorentz
3bfa4ae35a
Misc: Fix previous commit.
2013-07-13 11:54:44 +02:00
Valentin Lorentz
98f807c230
Misc: Fix typo in @more.
2013-07-13 11:41:00 +02:00
Valentin Lorentz
b3009085aa
Fix @version in Python 3.
2013-07-01 08:34:58 +00:00
Valentin Lorentz
34b8e53c38
travis.yml: Fix tests runner for Python 2.
2013-06-17 11:03:50 +00:00