3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 17:29:21 +01:00
Commit Graph

25 Commits

Author SHA1 Message Date
James Lu
c7fd037879 Revise handling of KILL and QUIT hooks
- Both of these now always contain a non-empty userdata argument.
- If we receive both a KILL and a QUIT for any client, only the one received first will be sent as a hook.
- Also, adjust _remove_client() to return the data of the user that was removed.
2019-07-01 13:36:53 -07:00
James Lu
52f588c920 Track affected servers in SQUIT hooks 2018-12-27 12:09:40 -08:00
James Lu
79b3387bcb Revert "docs/t: warn in main articles that specifications in master may be outdated"
This reverts commit 58b717a2a0.
2018-08-23 21:31:34 -07:00
James Lu
16ac91a718 Merge the long-awaited 2.0 branch into master
Merge branch 'devel'

Conflicts:
	RELNOTES.md
	VERSION
	classes.py
	conf.py
	coremods/control.py
	coremods/corecommands.py
	coremods/service_support.py
	docs/advanced-relay-config.md
	docs/faq.md
	example-conf.yml
	launcher.py
	plugins/global.py
	plugins/relay.py
	plugins/relay_clientbot.py
	protocols/p10.py
	utils.py
2018-07-11 22:45:52 -07:00
James Lu
d356b53425 docs/t/hooks-reference,pmodule-spec: bump doc version to 2.0.0
[skip ci]
2018-07-11 22:40:29 -07:00
James Lu
58b717a2a0 docs/t: warn in main articles that specifications in master may be outdated
[skip ci]
2018-01-13 18:29:57 -08:00
James Lu
31c96bd1ed hooks-reference: bump to 2.0-alpha2
- Replace `IrcChannel`, `IrcUser`, and `IrcServer` with their new class names (`classes.Channel`, `classes.User`, and `classes.Server`)
- Replace `irc.fullVersion()` with `irc.version()`
- Various minor wording tweaks.
2018-01-13 18:23:12 -08:00
James Lu
06ee01b7a7 hooks-reference: don't use the wrong terminology in example channel names 2018-01-13 18:23:12 -08:00
James Lu
04c18f0bd5 docs: get rid of self.irc, self.proto, irc.proto 2017-06-25 02:10:03 -07:00
James Lu
6fcb129ad6 hooks-reference: document the 'was_successful' key in PYLINK_DISCONNECT 2017-02-24 22:27:51 -08:00
James Lu
4147af6546 hooks-reference: remove redundant Introduction heading 2017-01-09 22:25:16 -08:00
James Lu
c66c85bc9a hooks-reference: refresh for 1.1.x 2016-12-21 23:26:30 -08:00
James Lu
c5c77eeb97 protocols: chandata->channeldata for MODE and JOIN hooks 2016-09-02 17:52:19 -07:00
James Lu
ae94bec6b8 protocols: add a chandata key to SJOIN hook payloads 2016-08-27 18:56:36 -07:00
James Lu
87757a60a3 Irc: rename 'chandata' in SQUIT payload to 'channeldata' 2016-08-27 17:42:07 -07:00
James Lu
df4277e530 hooks-reference: update keys for SJOIN 2016-08-08 21:06:49 -07:00
James Lu
72eb04ebc6 docs/t: add SVSNICK to hooks reference 2016-07-13 18:53:51 -07:00
James Lu
d2956c3d00 protocols: return uplink field in SQUIT handlers 2016-06-25 13:34:43 -07:00
James Lu
aea6657a8b docs: update hooks-reference
Closes #223.
2016-05-22 10:48:19 -07:00
James Lu
c8a3514776 hooks-reference: add VERSION and WHOIS 2016-03-26 11:41:46 -07:00
James Lu
9d0fcb5395 docs: finish off hooks-reference (#113) 2016-03-11 22:40:48 -08:00
James Lu
cad3e3d5f5 Remove references to overdrive TLDs in code 2016-01-17 21:07:51 -08:00
James Lu
f2efaf9437 docs: update hooks-reference (#113) 2016-01-09 19:18:19 -08:00
James Lu
bf2b256b84 docs: fix markdown formatting 2015-12-26 16:47:25 -08:00
James Lu
e4815a72e1 docs: add part of hooks-reference, mention topics and modes in protocol module spec, some more changes
ref: #113.
2015-12-26 16:44:22 -08:00