3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 19:49:24 +01:00
Commit Graph

3391 Commits

Author SHA1 Message Date
James Lu
298913200c clientbot: properly handle cases when the bot is told to kick itself
- Treat kicks to the PyLink client as a real user kick instead of a virtual one
- Forward on kick hooks if the PyLink client is kick target - this allows things like autorejoin to work

Closes #377.
2018-08-25 01:14:26 -04: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
5838d88404 networks: reload shared modules used by protocol modules too 2018-08-23 02:57:03 -04:00
James Lu
8a096e537c PyLinkNCWUtils: add "ignore_ts_errors" server option to suppress bogus TS warnings 2018-08-23 02:52:54 -04:00
James Lu
dda8a2a081 launcher: rename has_pid variable to pid_exists
This name is a lot more descriptive.
2018-08-19 17:00:14 -07:00
James Lu
874dfaf3f1 launcher: fix PID files not being read if psutil isn't installed 2018-08-19 16:57:57 -07:00
James Lu
49badd1665 updateTS: silently ignore messages with ts = 0
Closes #625.
2018-08-19 19:41:29 -04:00
James Lu
6a2a6a769f docs/adv-relay-config: resync default message formats & add missing line for MODE
[skip ci]
2018-08-19 15:57:21 -07:00
James Lu
e95b11d329 PyLink 2.0.0 2018-07-31 15:04:25 -07:00
James Lu
51f441085e .travis.yml refresh
- Update to xenial
- Remove unused pandoc dependency
- Run our (currently very minimal) test suite
2018-07-28 11:01:01 -07:00
James Lu
c91b5f74ea setup.py: work around installation error on Python 3.4 2018-07-28 10:53:49 -07:00
James Lu
9cf507183d clientbot: filter PART hooks for only parts we didn't initialize
This fixes Relay being confused by its own "Relay plugin unloaded" /part's, and makes Clientbot's behaviour in this regard consistent with other protocols.
2018-07-18 19:14:47 -07:00
James Lu
12f6bb5e18 relay: don't relay kill->kick when remotechan is None 2018-07-18 18:45:49 -07:00
James Lu
e7b0458091 _state_cleanup_core: don't delete internal clients, period 2018-07-18 18:45:34 -07:00
James Lu
ed50202cf2 Release PyLink 2.0-rc1 2018-07-18 17:46:06 -07:00
James Lu
9273dd459b README: removing PPA support due to lack of demand
[skip ci]
2018-07-14 21:29:52 -07:00
James Lu
9a5e67412e README: minor rewording, fix markdown syntax
[skip ci]
2018-07-14 21:17:11 -07:00
James Lu
f1ce8351b9 Quick refresh of exttarget docs
- Mention that the $pylinkirc: prefix is implied as of 2.0
- Link to the exttargets reference in example-conf
- docs/exttargets: wording tweaks for the lead section
2018-07-14 21:09:16 -07:00
James Lu
d844ff5186 example-conf: remove references to my IRC nick & the old repository address 2018-07-14 21:09:16 -07:00
James Lu
44aa9af235 Get rid of example-permissions.yml, it's been a long-standing source of confusion 2018-07-14 21:09:16 -07:00
James Lu
6b65ab5f88
README: remove reference to deprecated relay_no_ips option
[skip ci]
2018-07-14 20:53:28 -07:00
James Lu
2246aea13c relay-quickstart: clarify the problem of duplicate network links some more
[skip ci]
2018-07-14 15:11:15 -07:00
James Lu
584b7e3712 RELNOTES: first pass at summarizing all of 2.0's changes (compared to 1.3.x)
[skip ci]
2018-07-14 15:09:11 -07:00
James Lu
bf1f8210bd relay-quickstart: also list ChanFix in incompatible services
[skip ci]
2018-07-14 15:08:55 -07:00
James Lu
a7196d7b79 example-conf: remove ALPHA tag from antispam 2018-07-11 22:56:47 -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
0199daec76 RELNOTES: first draft of a 2.0-rc1 changelog
[skip ci]
2018-07-11 22:40:20 -07:00
James Lu
a1783ed2be bots: "bots.joinclient" should be "bots.join" (matching the command name) 2018-07-11 22:16:05 -07:00
James Lu
b5884d4cb3 docs/permissions-reference: s/Allows access to /Grants access to /g
This wording is really just clearer.

[skip ci]
2018-07-11 21:59:52 -07:00
James Lu
0eb0c49cb1 docs/permissions-reference: resort most sections alphabetically
[skip ci]
2018-07-11 21:59:10 -07:00
James Lu
04b17c30e3 docs/permissions-reference: resort Relay permissions by default assignment
[skip ci]
2018-07-11 21:56:39 -07:00
James Lu
f9611ef6bc relay: grant CHANDESC permissions to opers if allow_free_oper_links is true 2018-07-11 21:56:29 -07:00
James Lu
d8c1511b28 docs/permissions-reference: refresh for 2.0
Closes #501.

[skip ci]
2018-07-11 21:38:47 -07:00
James Lu
a5b77c18dd docs/t/writing-plugins: document hook priorities with some examples
Closes #595.

[skip ci]
2018-07-11 21:23:03 -07:00
James Lu
3208782225 docs: readd pylink-opers.md as a redirect to relay-quickstart.md
[skip ci]
2018-07-11 18:59:16 -07:00
James Lu
5b321f9f6f relay-quickstart: explicitly write PyLink 2.0 instead of "2.0"
[skip ci]
2018-07-10 19:00:51 -07:00
James Lu
d3fc95953e relay-quickstart: fix some typos / unclear wording
[skip ci]
2018-07-10 18:59:31 -07:00
James Lu
d310abeec3 faq, relay-quickstart: consistently capitalize Relay as a proper noun
[skip ci]
2018-07-10 18:55:33 -07:00
James Lu
66125530ef faq: discuss how relay handles kills, modes, and server bans (G/K/ZLINE)
Closes #619.

[skip ci]
2018-07-10 18:53:11 -07:00
James Lu
1b26c17d81 docs/channel-modes: add missing entry for auditorium (inspircd +u)
[skip ci]
2018-07-10 18:53:11 -07:00
James Lu
aacb65ab9e relay-quickstart: rewrap, fix typo (at the latest -> at a minimum)
[skip ci]
2018-07-10 18:53:11 -07:00
James Lu
71a24b8b9f relay: remove noctcp, regdeaf, stripcolor from whitelisted umodes
Filter-type umodes don't work properly with relay yet.
2018-07-10 18:09:24 -07:00
James Lu
5ffc629bce plugins/example: update word wrap note
As of PyLink 2.0, long paragraphs are automatically word-wrapped by irc.reply().
2018-07-10 18:04:25 -07:00
James Lu
bba235bba2 Update GitHub repository address 2018-07-08 12:54:10 -07:00
James Lu
c1f37c2236 relay: don't allow servers to forward KILLs
Closes #621.
2018-07-08 12:49:30 -07:00
James Lu
86b93ea969 docs: rewrite the Relay Quick Start Guide (#619)
- Rename pylink-opers.md -> relay-quickstart.md to better reflect its contents.
- Add a section regarding services compatibility and which features _not_ to use with Relay
- Document LINKACL whitelists, CHANDESC, CLAIM/LINKACL options introduced in 2.0
- Document reworked KILL handling in 2.0 and why K/G/ZLINE support hasn't been implemented
- Explain Relay concepts in more depth for people not familiar with Janus
2018-07-08 12:30:57 -07:00
James Lu
5a9b870e00 services-api: less awkward wording
[skip ci]
2018-07-02 00:59:29 -07:00
James Lu
a520496f81 writing-plugins: fix markdown syntax errors
[ci skip]
2018-07-02 00:57:41 -07:00
James Lu
86bfda7281 services-api: various wording and typo fixes
[ci skip]
2018-07-02 00:57:36 -07:00