James Lu
af3b350498
networks.remote: fix "unknown service" error format
2017-03-24 01:10:56 -07:00
James Lu
6c4e042307
networks.remote: break if the target network is the same as the source ( #437 )
...
_remote_reply() otherwise gets sent into a loop when remoteirc and irc is the same here.
2017-03-24 01:08:01 -07:00
James Lu
490f21ff9f
networks.remote: override remoteirc.reply() to send replies back to the caller
...
Closes #437 .
2017-03-24 00:59:48 -07:00
James Lu
99d3780773
Irc: add locking for reply() calls ( #437 )
2017-03-24 00:57:21 -07:00
James Lu
0f472c8959
networks.remote: add an optional --service option to call commands for other services.
2017-03-24 00:25:19 -07:00
James Lu
9e0e47064a
hybrid, ratbox: re-disable slash-in-hosts
2017-03-24 00:24:06 -07:00
James Lu
c894beed2e
Merge branch 'wip/protocol-caps' into devel
2017-03-23 23:54:46 -07:00
James Lu
90d3ac3cf6
relay: skip message prefixing when forwarding a message for a service client ( #403 )
2017-03-23 23:53:48 -07:00
James Lu
feb9cce4ee
core: Drop fake ServiceBot client stubs on Clientbot ( #403 )
2017-03-23 23:53:43 -07:00
James Lu
f188b29911
plugins: migrate to server capabilities
2017-03-23 23:37:24 -07:00
James Lu
ad00fdfa53
relay: migrate normalizeHost, normalizeNick to protocol capabilities
2017-03-23 23:12:59 -07:00
James Lu
21670a5d51
relay: migrate most protocol checks to protocol capabilities
...
Some things I left out include modesync and op status checking on LINK, since these are pretty specific to Clientbot IRC.
2017-03-23 22:52:11 -07:00
James Lu
bde27b0dde
nefarious: define protocol_caps in the right class...
2017-03-23 22:46:12 -07:00
James Lu
ff6d961922
Protocol: add missing self in hasCap()
2017-03-23 22:41:12 -07:00
James Lu
c19ea74fb4
ServiceBot: ignore attempts to call empty commands
2017-03-20 22:22:43 -07:00
James Lu
efe468b0d2
protocols: declare slash-in-nicks, slash-in-hosts, underscore-in-hosts as necessary ( #337 )
2017-03-15 23:58:51 -07:00
James Lu
936535786e
clientbot: declare clear-channels-on-leave capability
2017-03-15 23:47:32 -07:00
James Lu
f512ae1b33
Protocol: add a hasCap() wrapper function ( #337 )
2017-03-15 23:46:13 -07:00
James Lu
2ca0cf05a0
Start work on protocol capabilities ( #337 )
2017-03-15 23:32:47 -07:00
James Lu
61cf48c37c
pmodule-spec: various fixes
...
- Corrected the location of the `self.irc.cmodes/umodes/prefixmodes` attributes
- Mention `self.conf_keys` as a special variable for completeness
2017-03-15 23:11:44 -07:00
James Lu
a8c1a46e3d
core: queue messages for logging when 'log' isn't available during init
...
Closes #428 .
2017-03-15 23:00:26 -07:00
James Lu
7892e37bfa
Documentation tweaks
...
- Add advanced-service-config to TOC
- Move "matching SERVICE name" note to docs/t/services-api.md
- Various wording / grammar tweaks
2017-03-13 13:50:16 -07:00
James Lu
9ccd11b6d5
Merge pull request #433 from IotaSpencer/devel
...
docs: Add services config guide and mention matching config<->register
Closes #427 .
2017-03-13 13:42:50 -07:00
James Lu
4910355711
Merge branch 'wip/global' into devel ( #434 )
...
Closes #398 .
2017-03-13 13:41:10 -07:00
James Lu
787b254840
permissions-reference: document global.global permission
2017-03-13 13:40:09 -07:00
James Lu
3ffbbe60ff
global: configurable output format
2017-03-13 13:39:30 -07:00
James Lu
cfe72e2cd0
global: set loopback=False on messages to prevent duplicating them via relay
2017-03-13 13:29:04 -07:00
James Lu
0a57c084bb
global: only send to connected networks
2017-03-13 13:23:22 -07:00
James Lu
a3dff204d3
global: remove extraneous metadata
...
Core plugins do not need to track authors and version, because git does that for us.
2017-03-13 13:21:11 -07:00
Ken Spencer
7e6ad089c0
plugins: add global notice plugin
2017-03-13 12:30:06 -04:00
Ken Spencer
9a3ef0122b
docs: Add services config guide and mention matching config<->register
2017-03-13 11:35:32 -04:00
James Lu
a6e38e7e20
pylink-opers: minor wording tweaks
2017-03-12 22:03:28 -07:00
James Lu
2e0c7db4e3
using-ircparser.md: minor tweaks and reordering
...
Thanks again to @IotaSpencer for writing this article :)
2017-03-12 20:45:42 -07:00
James Lu
75ea743b4a
docs/t: link to using-ircparser.md in contents
2017-03-12 20:38:58 -07:00
James Lu
c8f945d40f
writing-plugins.md: mention that IRCParser is a 1.2+ feature
2017-03-12 20:37:53 -07:00
James Lu
8c4a13fdf0
Merge pull request #431 from IotaSpencer/devel
...
Document utils.IRCParser() (closes #420 )
2017-03-12 20:35:19 -07:00
Ken Spencer
d6d330bec6
Add docs/technical/using-ircparser.md guide.
2017-03-12 23:08:56 -04:00
Ken Spencer
ed7a117247
doc/technical/writing-plugins.md: mention and link to using-ircparser.md
2017-03-12 21:55:22 -04:00
James Lu
afc5cc26fa
Irc: more compact __repr__ for IrcChannel/IrcServer/IrcUser
2017-03-11 22:49:48 -08:00
James Lu
716ac681b6
exec: add 'pieval' and 'peval' to evaluate expressions pretty-printed
2017-03-11 22:47:30 -08:00
James Lu
c67c0aa2e6
rehash: fix resetting the wrong autoconnect multiplier variable
2017-03-11 01:05:07 -08:00
James Lu
2028cab04c
core: Grow autoconnect delays by a configurable factor whenever connections fail
...
Closes #348 .
2017-03-11 00:21:30 -08:00
James Lu
9e50c5e69a
Irc: try to make breaking out of autoconnect loops faster
2017-03-10 23:57:37 -08:00
James Lu
0526e96dc5
control: remove an extraneous, obsolete comment
2017-03-10 23:57:37 -08:00
James Lu
bf42109d81
Split fantasy prefix definitions into service-specific blocks
...
Closes #426 .
This makes the pylink::prefix (aka bot::prefix) option only affect the main PyLink bot, and deprecates the pylink::prefixes::<...> options.
As the bot: config block is no longer checked, this commit depends on commit 45ed5b962e215763f7659631d1b98a5031dbab92 (ref #343 ) to alias it to conf::pylink.
2017-03-10 23:47:07 -08:00
James Lu
fb626c8a97
services_support: remove workarounds for the PyLink service nick & ident being in conf::bot ( #343 )
2017-03-10 23:47:07 -08:00
James Lu
dc298b3182
conf: join conf::bot and conf::pylink so that they mean the same thing ( #343 )
2017-03-10 23:47:07 -08:00
James Lu
3096c54bb8
Irc: return in msg() if the main client is missing and no explicit source is set
2017-03-10 23:47:07 -08:00
James Lu
b09565a723
bots, opercmds: add a "Done" reply to most commands as they finish
2017-03-09 20:50:14 -08:00
James Lu
ebd5b77576
relay: normalize channel case in 'link'
...
(regression from commit 93c9b6289c
)
Reported by @koaxirc.
2017-03-09 20:42:38 -08:00