James Lu
f4922743fc
core: SID and hostname options are now optional ( #282 )
...
Hostname defaults to a fallback hardcoded in world.fallback_hostname, while SID defaults to None (protocol modules have to deal with this themselves)
2016-07-28 22:23:59 -07:00
James Lu
8047186c58
plugins, coremods: remove usage of irc.conf ( #273 )
2016-07-27 17:02:04 -07:00
James Lu
0d563eaa57
control/utils: unload the PyLink service bot on shutdown
2016-07-26 16:26:01 -07:00
James Lu
a4dbd8d09f
control: handle SIGINT for clean shutdown on ctrl-c
...
Closes #280 .
2016-07-26 16:16:23 -07:00
James Lu
c8ec2d9600
handlers: remove obsolete comment about WHOIS
2016-07-24 13:48:03 -07:00
James Lu
e342889937
corecommands: really fix 'reload'
...
(cherry picked from commit 150bfe8c66
)
2016-07-23 22:02:08 -07:00
James Lu
f51a882d23
exttargets: verify target is in channel before calling getPrefixModes
2016-07-17 10:49:42 -07:00
James Lu
b79f391be6
corecommands: fix no-identify-in-channel logic
2016-07-13 19:32:39 -07:00
James Lu
9256500a23
corecommands: replace irc.msg() with irc.reply()
...
Thanks to @Techman- for pointing this out.
2016-07-13 19:20:11 -07:00
James Lu
cf40a38c14
corecommands: actually assign reload() output to update the module
2016-07-11 16:53:32 -07:00
James Lu
2b60cbd59c
handlers: fix wrong server name in WHOIS output ( 8e29e16
regression)
2016-07-11 16:14:05 -07:00
James Lu
6a1349847f
handlers: handle WHOIS requests to unknown nicks instead of warning
...
"/whois pylink.server badnick" is allowed everywhere except InspIRCd.
2016-07-11 15:58:18 -07:00
James Lu
8e29e16144
handlers: always send WHOIS reply numerics from our server
...
This fixes "/whois pylink.server TARGET" syntax sending replies from bad sources, when the target is NOT a PyLink client.
2016-07-11 15:49:23 -07:00
James Lu
1cf560c465
handlers: only show the highest prefix mode for channels in WHOIS output
...
Closes #270 .
2016-07-11 15:46:32 -07:00
James Lu
2c656341e2
handlers: Optionally disable extended WHOIS replies for users marked as a bot
...
Closes #271 . This adds a new option, "whois_show_extensions_to_bots", to the bot: section of the config.
2016-07-11 15:01:34 -07:00
James Lu
8f78205406
handlers: remove idle and signon time in WHOIS output ( #267 )
...
We can't accurately track this for things like relay users without forwarding WHOIS replies like Janus does. I don't really like faking values either, so let's just remove this entirely
2016-07-10 22:06:02 -07:00
James Lu
5d251d511a
corecommands: fix wrong plugin module name causing 'unload' to not work
...
Plugin modules are now named 'pylinkirc.plugins.abcd' instead of just 'abcd', since the import system is absolute now.
2016-07-10 21:41:08 -07:00
James Lu
7a7b590295
corecommands: quick fix for 'reload' not updating things
...
The real issue is the 'unload' doesn't seem to cleanly unload things anymore. (Even though that was a pretty bad hack in the first place)
That needs to be cleaned up in the next release.
2016-07-07 22:48:38 -07:00
James Lu
4999ecd11f
Integrate services_support and automode
...
New hook: PYLINK_SERVICE_JOIN
2016-07-07 21:54:59 -07:00
James Lu
14b30b26c0
exttargets: $pylinkacc matcher
...
Closes #170 .
2016-07-07 12:10:09 -07:00
James Lu
1cec67725a
exttargets: add $channel matcher ( #170 )
2016-07-07 12:00:23 -07:00
James Lu
1a8976afb6
exttargets: add $server matcher ( #170 )
2016-07-07 11:26:11 -07:00
James Lu
7dda8ebe58
exttargets: add $ircop matcher ( #170 )
2016-07-07 11:18:06 -07:00
James Lu
724ab0a45e
exttargets: match account names case insensitively
2016-07-07 11:18:06 -07:00
James Lu
3e28856944
exttargets: fix typo in comment
2016-07-07 00:41:31 -07:00
James Lu
c034877d04
exttargets: $account scenario 3 matching should require logged in status
2016-07-07 00:29:52 -07:00
James Lu
183a4cbd75
core: add extban support in matchHost, and $account matching ( #170 )
...
The following forms are supported in $account, with groups separated by a
literal colon. All account and network name matching is currently case sensitive:
$account -> Returns True (a match) if the target is registered.
$account:accountname -> Returns True if the target's account name matches the one given, and the target is connected to the local network..
$account:accountname:netname -> Returns True if both the target's account name and origin network name match the ones given.
$account:*:netname -> Matches all logged in users on the given network.
2016-07-07 00:26:52 -07:00
James Lu
bcc84b8618
core: remove references to plugins/protocols_folder ( #259 )
2016-07-02 23:58:21 -07:00
James Lu
8704114fa0
control: copy world.networkobjects to prevent RuntimeError
...
i.e.: RuntimeError: dictionary changed size during iteration
2016-07-01 22:20:24 -07:00
James Lu
408ce701b1
service_support: support optionally setting servprotect on service bots
...
Closes #243 .
2016-07-01 21:25:58 -07:00
James Lu
017d6a4651
coremods: remove references to 'coreplugin' in logging
2016-07-01 21:08:50 -07:00
James Lu
4bd621f47e
control: when rehashing, reconnect networks without autoconnect that failed to connect the first time
2016-07-01 20:33:00 -07:00
James Lu
847a98755f
core: use a shared function for disconnecting + removing networks
2016-07-01 20:14:31 -07:00
James Lu
1637193a53
service_support: add description for main PyLink bot
2016-06-30 17:45:05 -07:00
James Lu
b90c69eead
ServiceBot: actually, make extra_channels network specific
2016-06-25 14:21:13 -07:00
James Lu
ceed9346c0
ServiceBot: allow configuring extra channels that bots will join
2016-06-25 14:14:19 -07:00
James Lu
170de377ca
coremods: Move ServiceBot kill/kick/message handling into the right module
...
This also fixes the kill handler erroneously calling a spawn_service() that was never imported.
2016-06-25 13:58:59 -07:00
James Lu
3a57e8d595
Split coreplugin.py into coremods/
...
Closes #240 .
2016-06-21 11:25:47 -07:00