Commit Graph

85 Commits

Author SHA1 Message Date
Valentin Lorentz
b65d78518c Services: Add support for network-specific password. 2019-08-25 14:08:11 +02: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
James Lu
55723c2161 Services: fix rejoin-on-kickban with atheme 7.x
- Adjust _chanRe to only match channels, as atheme also puts the target nick in bold
- Look for "unbanned <botnick>" messages in ChanServ notices (after stripping formatting)

This likely fixes GH-166. atheme has been using this format since at least 2005[1],
so it's possible that Supybot's rejoin-on-ban had never worked with it.

[1]: 4017c0da85 (diff-ba2bdc02ba7b29fd7e4931cafe63baa0R218)
2018-01-27 13:22:21 -08:00
James Lu
add3ceb4e7 Services: do not send the bot's nick in ChanServ commands
On Atheme, Anope, and oftc-ircservices, /cs unban, invite, op, and voice
implicitly assume the caller if no nick is given. However, certain combinations
such as /cs invite *with* a nick are not supported on atheme per
https://github.com/atheme/atheme/issues/568, and cause rejoin-on-kick to +i
channels to fail.

This fixes one part of GH-1118.
2018-01-27 13:22:15 -08:00
James Lu
eb1cb9bd76 Services: don't mangle the case of NickServ notices in logging
This might be confusing if you're dealing with password changes, etc.
2018-01-27 12:33:36 -08:00
James Lu
289c894dc5 Services: log all messages from NickServ to info
Closes GH-1016.
2017-12-10 11:03:30 -08:00
Valentin Lorentz
2e7df9cfc2 Service: Actually allow 0. 2015-09-15 21:00:31 +02:00
Valentin Lorentz
e54ae6dc77 Service: Don't ghost if ghostDelay is set to 0. 2015-09-15 20:59:26 +02:00
Valentin Lorentz
c3a2c800f1 Remove need for 2to3. 2015-08-11 16:50:23 +02:00
GLolol
5bc0d4311c Services: update my comment 2014-11-27 22:53:08 -08:00
James Lu
3665d263ac Services: don't warn about unexpected ChanServ notices if the target is a channel 2014-11-27 21:18:00 -08:00
Mikaela Suomalainen
37d8a545e9 Services: default NickServ and ChanServ to NickServ and ChanServ.
* Most of networks have services with this name.
    * I can only name QuakeNet from those that don't, but the default
    configuration exludes it.
* If this plugin is loaded in Supybot-wizard, it asks for nicknames of
NickServ and ChanServ.

[SKIP CI] because this is `git commit --amend` and the build already
passed.
2014-06-06 14:19:34 +03:00
Mikaela Suomalainen
fc81013be5 Mass rename README.txt --> README.md .
[SKIP CI]
2014-06-06 12:42:33 +02:00
Mikaela Suomalainen
3a2b01d517 PluginDownloader: update l10n-fi.
The typo fix edition.
2014-03-22 16:38:16 +02:00
Mikaela Suomalainen
9eec5c0ab5 Ctcp: update l10n-fi. 2014-03-22 16:16:52 +02:00
Mikaela Suomalainen
bf2640ddb8 User: update l10n-fi. 2014-03-22 15:44:26 +02:00
Mikaela Suomalainen
8377029993 Time: update l10n-fi. 2014-03-22 14:50:46 +02:00
Mikaela Suomalainen
aa59a98767 Aka: add l10n-fi. 2014-03-22 12:39:48 +02:00
Mikaela Suomalainen
0d62257d79 update messages.pot files && Unix: update l10n-fi. 2014-03-22 12:22:54 +02:00
Mikaela Suomalainen
f88e8e20b9 My name is Mikaela!
Thanks @nyuszika7h :) ☺
2014-03-22 12:01:11 +02:00
Valentin Lorentz
4fe74ed397 Merge branch 'aka-sqlite3' into speed-up-2to3 2014-02-02 22:15:43 +01:00
Valentin Lorentz
5cfa7828ea ChannelStats & MessageParser & PluginDownloader & RSS & User: Update l10n-fr. 2014-01-22 08:02:03 +01:00
Valentin Lorentz
8b06bd52f0 All plugins: Update .pot files and rename Supybot-fr to Limnora in French translation files. 2014-01-21 16:48:13 +01:00
Valentin Lorentz
2fda69b4d6 Continue accelerating the 2to3 step (remove fix_raise). 2014-01-20 15:43:55 +01:00
Milos Petkovic
0f3f6da843 Multiple channel types should be supported 2013-06-17 23:54:59 +02:00
Milos Petkovic
b4a63fa89e Prevent entrymsgs from spamming warnings 2013-06-17 08:53:44 +02: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
Valentin Lorentz
6cbc6a14dd Rename all 'locale' directories to 'locales'.
Firstly, these directories contains more than one locale. Secondly, it conflicts with the 'locale' python module.
2012-12-26 15:43:35 +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
skizzhg
aedfc07762 Update l10n-it. 2012-03-16 18:28:05 +01:00
Valentin Lorentz
46a890417a Update all plugin .pot files. 2012-03-11 21:06:19 +00:00
James McCoy
d1bc7922ee Simplify handling of per-network waitingJoins
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-13 18:08:00 +01:00
Daniel Folkinshteyn
761435ba1a Services: catch occasional error when removing waiting joins from list
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-13 18:07:56 +01:00
Daniel Folkinshteyn
8c3304c520 Services: fix problem with some channels being mixed up between networks on startup, when noJoinsUntilIdentified is true.
When noJoinsUntilIdentified config is true, the bot holds join messages in a 'waitingJoins' list, and processes them
once nickserv identification comes through. The problem was that when the bot is configured to join multiple networks,
join messages from different networks would get appended to the same list, without any differentiation by which message
belongs to which network. Thus, if there are messages waiting for multiple networks, it would often be the case that
whichever network got identification done first, would 'pick up' other network's join messages.

This fix stores the network name along with the join messages in the list, and has each network pick out only its own
join messages.

Conflicts:

	src/version.py

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>

Conflicts:

	plugins/Services/plugin.py
2011-12-13 18:07:22 +01:00
James McCoy
c90fafebe7 Simplify handling of per-network waitingJoins
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-06 00:55:29 -05:00
Daniel Folkinshteyn
1e1b39783b Services: catch occasional error when removing waiting joins from list
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-06 00:53:19 -05:00
Daniel Folkinshteyn
d5648ab534 Services: fix problem with some channels being mixed up between networks on startup, when noJoinsUntilIdentified is true.
When noJoinsUntilIdentified config is true, the bot holds join messages in a 'waitingJoins' list, and processes them
once nickserv identification comes through. The problem was that when the bot is configured to join multiple networks,
join messages from different networks would get appended to the same list, without any differentiation by which message
belongs to which network. Thus, if there are messages waiting for multiple networks, it would often be the case that
whichever network got identification done first, would 'pick up' other network's join messages.

This fix stores the network name along with the join messages in the list, and has each network pick out only its own
join messages.

Conflicts:

	src/version.py

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-06 00:53:07 -05:00
Daniel Folkinshteyn
71bcc2bc7c Services: add some more strings indicating identification success.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-06 00:38:29 -05:00
Valentin Lorentz
05b32b467f Services: Fix traceback on NickServ notice. 2011-11-15 06:29:36 +01:00
Florian Besser
e41e5ca171 Services: Add l10n-de 2011-11-13 19:04:13 +01:00
Tanner
08c2bbb1b7 Services: Added a description to README.txt 2011-11-06 21:26:55 +08:00
Valentin Lorentz
e253fe1543 Allow network-specific nicks. Closes GH-134. 2011-10-27 12:31:37 +02:00
Valentin Lorentz
be585ecea9 Merge remote-tracking branch 'supybot/maint/0.83.4' into testing
Conflicts:
	src/ircutils.py
2011-08-23 16:41:52 +02:00
Mika Suomalainen
9b7e53e03e Services: added l10n-fi
And wrote a header :)
2011-08-13 23:03:12 +03:00
Mika Suomalainen
1f1861970a Services: added partial l10n-fi.
Three strings left to translate, 93% translated.
2011-08-13 20:32:34 +03:00
Mika Suomalainen
6d0622e188 Services: added partial l10n-fi.
Currently translated 52%.
2011-08-13 19:56:38 +03:00
Mika Suomalainen
618200ca50 Merge remote-tracking branch 'progval/testing' into testing 2011-08-10 13:02:18 +03:00
Daniel Folkinshteyn
98996be251 Services: catch occasional error when removing waiting joins from list 2011-08-10 12:01:30 +02:00
Daniel Folkinshteyn
6dca55deeb Services: fix problem with some channels being mixed up between networks on startup, when noJoinsUntilIdentified is true.
When noJoinsUntilIdentified config is true, the bot holds join messages in a 'waitingJoins' list, and processes them
once nickserv identification comes through. The problem was that when the bot is configured to join multiple networks,
join messages from different networks would get appended to the same list, without any differentiation by which message
belongs to which network. Thus, if there are messages waiting for multiple networks, it would often be the case that
whichever network got identification done first, would 'pick up' other network's join messages.

This fix stores the network name along with the join messages in the list, and has each network pick out only its own
join messages.
2011-08-10 12:00:42 +02:00