James Lu
84eee41734
example-conf: rewrap clientbot sample, add autoconnect entry
2016-08-10 13:24:57 -07:00
James Lu
ffdc313376
Irc: make hostname field optional in version()
...
Reported by Rascle via IRC.
2016-08-10 13:23:24 -07:00
James Lu
d1dccf8dcc
example-conf: update examples for name resolving
...
This is tested now. It works fine.
2016-08-10 11:28:35 -07:00
James Lu
bdadb27466
relay: reverse getPrefixModes() output so the right mode order is passed to sjoin()
...
This prevents users from bursted as "+@~UID" instead of "~@+UID", for example.
2016-08-09 18:39:13 -07:00
James Lu
1660705658
exec: repr() eval output for proper formatting
...
This ensures that results that are an empty string, for example, are properly formatted as ''.
2016-08-09 10:57:31 -07:00
James Lu
6f0be9400b
docs/t: add clientbot to protocol-modules
2016-08-09 00:07:27 -07:00
James Lu
6dd882a69b
README: it's better if I actually finish my sentences...
2016-08-09 00:03:01 -07:00
James Lu
48680051e1
Refresh README (IRCd notes), FAQ
2016-08-09 00:01:19 -07:00
James Lu
8ac014709b
inspircd: track MODSUPPORT and required modules for updateClient()
...
m_chgident.so, m_chghost.so, and m_chgname.so are required for ident, host, and real name setting to work, respectively.
2016-08-08 23:40:48 -07:00
James Lu
72f9019300
clientbot: remove self.irc.users print
2016-08-08 23:40:24 -07:00
James Lu
c09ff6a706
relay_clientbot: fix config key name
2016-08-08 22:23:42 -07:00
James Lu
1b747bf09d
relay_clientbot: skip relaying non-PRIVMSGs for X seconds after connect
...
This can be configured via the option relay::clientbot_startup_delay, and defaults to 5 seconds.
2016-08-08 22:20:31 -07:00
James Lu
df4277e530
hooks-reference: update keys for SJOIN
2016-08-08 21:06:49 -07:00
James Lu
3878ae9e0d
relay_clientbot: skip to next channel for SQUIT payloads if no nicks are affected
2016-08-08 21:05:55 -07:00
James Lu
8636280b91
relay_clientbot: use channel specific user lists when relaying SQUIT
...
Closes #312 .
2016-08-08 20:59:15 -07:00
James Lu
3633a41e4f
Protocol: return a mapping of channels->lists of nicks in SQUIT payloads
2016-08-08 20:58:34 -07:00
James Lu
b096c7a2e3
relay_clientbot: fix wrong key for clientbot_styles
2016-08-08 18:50:36 -07:00
James Lu
12e1a0edff
Move handle_error() to the generic protocol
2016-08-08 18:12:07 -07:00
James Lu
73a70d6952
unreal: declare support for ESVID
...
This capability declares support for account name arguments in service stamps (+d argument in SVS2MODE).
Realistically this doesn't appear to affect any S2S communication, because services packages only check for ESVID support on their uplink, while SVS2MODE is passed raw from services->IRCd->PyLink.
2016-08-08 17:28:45 -07:00
James Lu
671d6d1893
unreal: request VHP capability so cloaked hosts for Unreal3.2 users are sent
2016-08-08 17:05:28 -07:00
James Lu
7dcabf072b
unreal: fix services login tracking for UnrealIRCd 3.2 + Anope 1.8
...
More specifically, if the +d argument in SVS2MODE is a non-zero integer, ignore it and use the user's nick as account name instead.
2016-08-08 16:35:10 -07:00
James Lu
e8fd97d3ba
example-conf: mention relay_clientbot
2016-08-07 22:08:44 -07:00
James Lu
990f24938b
relay: convert / to . in hostnames on hybrid
...
Also, switch this check to a whitelist instead of a blacklist for better compatibility.
2016-08-07 15:16:37 -07:00
James Lu
c40895e221
Merge branch 'master' into devel
2016-08-06 20:04:18 -07:00
James Lu
05bc7e292f
Release 0.9.1
2016-08-06 20:00:57 -07:00
James Lu
8b59d7d7a2
Merge branch 'wip/pypi-prep' into HEAD
2016-08-06 20:00:49 -07:00
James Lu
81ffa93bad
relay: block attempts to LINK if local TS is lower than remote
...
Closes #301 .
2016-08-04 13:04:32 -07:00
James Lu
9448bc86fd
Protocol: abort when receiving SQUIT to our own server
2016-08-04 12:55:24 -07:00
James Lu
acd0c673cb
relay_cb: use safe_substitute, rename some fields, add SQUIT/SJOIN support
...
Closes #294 . Closes #304 . This renames the "nick" field to "sender", and "identhost" to "sender_identhost", to be less ambiguous when a message sender is a server.
2016-08-04 12:50:38 -07:00
James Lu
b36ce36451
protocols: send old IrcServer object (serverdata) in SQUIT hooks
2016-08-04 12:50:04 -07:00
James Lu
1c0900b29d
clientbot: introduce virtual SQUIT and SJOIN hooks
2016-08-04 11:48:57 -07:00
James Lu
62099e6078
clientbot: move virtual ENDBURST hook to end of MOTD
...
Possible fix for #299 .
2016-08-04 11:10:51 -07:00
James Lu
72da00d23c
relay: block clientbot networks from hosting relays
2016-08-04 10:55:00 -07:00
James Lu
7a0fd1caa3
relay: rework "target in channel" requirements for clientbot links
...
Closes #305 .
2016-08-04 10:47:06 -07:00
James Lu
e50684e367
Merge branch 'master' into devel
2016-08-04 10:29:17 -07:00
James Lu
a9fe0499e6
services_support: ignore invalid autojoin channels
...
Reported by @rvzm on IRC.
Closes #308 .
2016-08-04 10:26:00 -07:00
James Lu
347ddc112d
setup: refresh classifiers
2016-08-04 00:27:50 -07:00
James Lu
1e4044fdf7
setup.py: convert Markdown to RST using pypandoc
2016-08-04 00:27:33 -07:00
James Lu
66067c272f
relay: limit hosts to 63 chars, not 64
2016-08-03 00:21:30 -07:00
James Lu
5e1cb67dcd
Bump version to 0.10-dev2
2016-08-02 23:59:55 -07:00
James Lu
197d9fc14a
commands: show topic only if it exists, disable TS output on clientbot
2016-08-02 23:57:18 -07:00
James Lu
0fc0f104bd
clientbot: pass realhost and IP options to IrcUser
2016-08-02 23:36:20 -07:00
James Lu
a6258dd973
changehost: more friendly error when an expansion field is unavailable
2016-08-02 23:04:46 -07:00
James Lu
1cda5023c8
changehost: copy args before cloning, make $host expansion optional
2016-08-02 22:56:59 -07:00
James Lu
1ffbd0eea8
example-conf: fix typo
2016-08-02 22:27:14 -07:00
James Lu
02b5f0b7e6
changehost: explicitly forbid $host from being expanded
...
This will cause recursion whenever applyhost is ran and a user matches a mask based on real host or IP, which haven't changed. Any suffix or prefix applied to $host will be reapplied, often leading to invalid hosts that are too long.
2016-08-02 22:17:23 -07:00
James Lu
592ae4053e
Merge branch 'master' into devel
2016-08-02 21:11:00 -07:00
James Lu
d855c6b2ea
example-conf: support passwordless UnrealIRCd links by setting recv/sendpass to *
...
(cherry picked from commit a018dd19b5
)
2016-08-02 21:10:55 -07:00
James Lu
a37eb57d6c
example-conf: update default SID
2016-08-02 21:10:10 -07:00
James Lu
524c55e6f1
example-conf: less confusing channels: description
2016-08-02 21:08:18 -07:00