James Lu
5eca51d979
example-conf: inspircd 3 support is not beta anymore
2021-01-20 11:58:50 -08:00
Celelibi
9470e9329a
Implement path configuration for files created by pylink ( #659 )
...
* Configure log directory
Signed-off-by: Celelibi <celelibi@gmail.com>
* Configure data store directory
Signed-off-by: Celelibi <celelibi@gmail.com>
* Configure PID file directory
Signed-off-by: Celelibi <celelibi@gmail.com>
2020-05-30 11:49:01 -07:00
James Lu
380854f88a
Remove references to ./pylink
...
Running the launcher from the source folder isn't necessary anymore.
2020-03-24 18:07:18 -07:00
James Lu
99c379e32f
example-conf: unmark encoding option as experimental
2020-02-22 23:56:10 -08:00
James Lu
daf496cc96
PyLink 2.0.3
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEwmmRkfzwXj5hKJctxWWyWArxYlwFAl2gudoACgkQxWWyWArx
YlwcUg/9ERp6HnviDa46cXt2OcQg0eNAuTFl0H+YCpjzj2Qvg8uBdCjh0jzAahh4
rGw4XbKp5l3kXWMyjoy1roKqYbYy6nUdE4HCiER7wxpHqbUnfprCv6REIOxazz7Z
jRwKbD89FKPtn957C7qfBBY93QX6h5v92QsotuAwyxDpN/3UTtpP11c/zb48m6Fx
Mmabgj7HWAalB5w7wny0Xe97z7nTozzqlZeI3lrCShuST57n9w5Jh+rLD0CDqoro
hzeezG4z9VvbaO7Pg/i+tdWinsZCKM5sLX9UuGen/3I2ncn7C3/e0mbtsQnFnCRL
+BhJJanZWFcjxzIa/FhGall01yID/Uz5KIWsa/cOGe0KXDUPkqcBLmWs6/7zBFi8
/QZL74SZXZrURFwpK/UCEmfJ0xX6reMMI+5Pj4HwAZsj8ZWGsfqp4criWiFsGjds
XMa5/kM7bfC+fB3yHQIRQiu6z4QwB+t4B2HiECpRsx/Rr7zNu3lFMZsRj78KnWN8
Hi2AoG8K0VMUSZKJIv/97turXmWKZE3D/+RnsteNIAxIgunjEg5Loq882O4p9jsj
x4aolzXxtgYIqKDIn+WA8ilmOIF/eXKWp5QI7ciEKrEwSC/deVP734BLaPOJwMlA
84XOwRy0a0WXdLexdRg6ANgwXzXFU1B/UayWDuNSbVAirM42naWJAjMEAAEKAB0W
IQRPiKnwz3Cu98LInv4I4XxWErSJPwUCXaC53QAKCRAI4XxWErSJP6BEEADNSCxm
8/xG5I7CxbBsODfD9wyOqgNNHD5xMsOhf6VILFauScE6M5afdfHCQQ9YSDERGIPu
AvpeP0+R2Zy+ef08JZJcjn1DAH4FzgoAUOrlb2mtuAK/+fzDYAzgA+93BB3s+/ny
CzEA60B2Yx2vhRYyZrU+TztCnUhDvbx/rNuCP/SKBG/dCSyRjm6el6C+1tQkyk6t
LcFlh4Qvn6WcFxICKfWe4vscIoF3WmIj9q8fuoBQh700DEIoOg0bI08WgZctFLtC
TMtKX6Or3K8G6HT3UJKHOYD2l04iXGxHbs/bbtvvUWnlBxAE2LDxGrJr251HaGgh
rHHCp+eQZt21zmESnZ1FX8eDeTCEKbFTgEwIpQFOVttsNhZ4brdJDXL7p1aw5PsX
pSmo/bfhOrhreFijFB7UlnYbPUINCW3ISgjypuKN1GQbA9gmulcK19LB4f+dmvTU
MQi6Mo7j2ew0J3zc5kP6DNX2AkdAc2Nw8dXPtrWJr/ubjUBZDgM2CrWnTE+QJlk5
5g/Lx0V4BG6GeYxmsuOEOV3EEH1QvCehgsmpyeJgYVYqq1wtIk1g4CGKtn+fY+7K
y8TMueCPCXJtLOoH8iWTd//oy58c/IxQQGYmfk+sxUOIrIgvhU/oFIE+77LpkgEx
E1Zd6Lct0+S6XiadvopE5IeE2CDr5DV9DqEMvA==
=Oxxo
-----END PGP SIGNATURE-----
Merge tag '2.0.3' into devel
PyLink 2.0.3
Conflicts:
RELNOTES.md
VERSION
coremods/control.py
example-conf.yml
plugins/changehost.py
2019-12-08 11:34:18 -08:00
James Lu
72c57d433a
clientbot: add option to always autorejoin channels
...
Closes #647 .
2019-11-29 23:51:57 -08:00
James Lu
f99be51515
changehost: add enable and enforce as network specific options.
...
Closes #611 .
2019-10-10 21:45:18 -07:00
James Lu
da67d6c42f
changehost: port most options to get_service_option(s) ( #611 , #642 )
2019-10-10 21:04:15 -07:00
James Lu
f3569b4fd9
ts6: add support for hiding PyLink servers
2019-08-22 17:39:00 -07:00
James Lu
35b38dfb05
antispam: add part / quit message filtering for plugins like Relay
...
Closes #617 .
2019-06-27 13:07:04 -07:00
James Lu
b6cf09ae52
example-conf: fixes to antispam examples
...
- It should be servers::<server name>::antispam_textfilter_globs, not servers::<server name>::antispam_textfilters_globs
- Matches (via utils.match_text) are Unicode case-insensitive as of PyLink 2.1
2019-06-27 13:07:04 -07:00
James Lu
46d1738f66
example-conf: mention PyLink 2.0.3 instead of 2.1 for CryptContext changes
2019-06-16 11:39:07 -07:00
James Lu
6054476900
More secure password hashing defaults
...
(cherry picked from commit eba5d91299
)
Default hash method to pbkdf2-sha256 & allow customizing CryptContext options
This introduces a new login::cryptcontext_settings config option.
Closes #645 .
2019-06-16 11:36:34 -07:00
James Lu
eba5d91299
Default hash method to pbkdf2-sha256 & allow customizing CryptContext options
...
This introduces a new login::cryptcontext_settings config option.
Closes #645 .
2019-06-07 14:13:39 -07:00
James Lu
8b298df362
example-conf: various wording tweaks (SSL -> TLS, etc.)
2019-06-06 23:57:01 -07:00
James Lu
42a2061783
Merge branch 'wip/insp3' into devel
...
protocols/inspircd: add native support for InspIRCd 3.x
Closes #644 .
2019-06-06 23:54:57 -07:00
James Lu
04d36e93a1
inspircd: document target_version variable
2019-06-06 23:49:27 -07:00
James Lu
8d2ae6af50
example-conf: rewrap comments for the first server example
2019-05-31 18:44:07 -07:00
James Lu
50e9d2d959
example-conf: load servprotect by default
2019-05-13 17:08:11 +08:00
James Lu
5ca57cb3c1
Decrease default log file size from 50 MiB to 20 MiB
2019-04-06 02:20:28 -07:00
James Lu
6462ae3a3c
example-conf: minor rewording for show_unknown_commands
...
[skip ci]
2018-10-28 21:13:38 -07:00
James Lu
77febfe69f
Allow disabling dynamic channels via a new "join_empty_channels" option
2018-10-27 18:48:12 -07:00
James Lu
31a65697a3
example-conf: document the ban_style option
2018-10-20 12:30:40 -07:00
James Lu
5a482118b8
example-conf: describe more thoroughly how antispam handles unsupported punishments
2018-10-20 12:28:41 -07:00
James Lu
5c4fba653f
IRCNetwork: disable throttling by default
...
On large networks, this seems to slows down relay bursts to the point they're no longer usable.
2018-10-10 22:49:10 -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
a7196d7b79
example-conf: remove ALPHA tag from antispam
2018-07-11 22:56:47 -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
75b0ae6054
example-conf: detail explicitly how "spawn_services: false" affects a plugin's behavior
2018-07-02 00:35:55 -07:00
James Lu
086a5f4496
example-conf, relay, utils: replace 2.0-alpha4 references with 2.0-beta1
2018-06-26 14:44:07 -07:00
James Lu
5e1cb232b0
IRCNetwork: also detect address types from supplied bindhosts
2018-06-15 18:43:00 -07:00
James Lu
68837aa927
example-conf: enable TLS/SSL by default in all the example server blocks
2018-06-15 15:43:20 -07:00
James Lu
17cd7af22d
example-conf: reorder sample server options
...
Move TLS/SSL options higher up; shift pingfreq and autoconnect options further down
2018-06-15 15:41:20 -07:00
James Lu
17f0b09eb2
example-conf: suggest turning on TLS/SSL in the hostname-as-IP example
2018-06-15 15:36:59 -07:00
James Lu
8fa53f60cb
example-conf: copy some more autoconnect examples to the clientbot block
2018-06-15 15:32:35 -07:00
James Lu
76c0db15c4
core: merge TLS validation code into IRCNetwork ( #592 )
...
Certificate verification is now enabled for all Clientbot networks, but not yet for S2S links (self-signed certs are common here and direct IP links even more so)
2018-06-15 15:29:15 -07:00
James Lu
4524aebbac
clientbot: initial pass of TLS cert validation ( #592 )
...
This works OK, but we should make the validation options built-in instead of clientbot-specific.
2018-06-15 02:47:12 -07:00
James Lu
d3125d9a8f
core: automatically detect between IPv4 / IPv6 addresses on connect
...
Closes #212 .
2018-06-15 02:43:33 -07:00
James Lu
a98dd36810
example-conf: mention kill -> kick forwarding briefly
...
[skip ci]
2018-06-14 14:44:03 -07:00
James Lu
8c42825612
relay: allow disabling free link access for all opers
2018-06-12 00:26:24 -07:00
James Lu
5617224780
example-conf: roughly sort "relay:" block options by usefulness
...
[skip ci]
2018-06-12 00:13:54 -07:00
James Lu
73d0e153cf
relay: support relaying kills ( #520 )
...
Instead of always bouncing, kills to a relay client are now handled as follows:
1) If the target and source networks are both in any killshare pool, relay the kill entirely
2) Otherwise, iterate over all channels the kill target is in:
3) If the killer has claim access in a channel, forward the KILL as a kick
4) Otherwise, bounce the kill (so far, silently)
TODO: kill messages are currently very cluttered, we should make our parser deliver more concise strings...
* GL|unreal has quit (Killed (chary.relay (KILL from GL/chary: Killed (GL (test)))))
2018-06-11 18:34:52 -07:00
James Lu
9466813ba1
relay: switch to a flexible, pool-based configuration scheme for IP sharing
...
This deprecates the "relay::show_ips" and network-specific "relay_no_ips" options, replacing it with the "relay::ip_share_pools" list.
2018-06-11 17:29:29 -07:00
James Lu
f8e3cfa346
antispam: strip IRC formatting by default before processing
...
Closes #615 .
2018-06-09 16:22:14 -07:00
James Lu
ebf7443d97
antispam: add a "block" verb, and make textfilter use it by default
...
Closes #616 .
2018-06-09 16:22:14 -07:00
James Lu
f82ddb5336
global: allow configuring channels to exempt from announcements
...
Closes #453 .
2018-06-08 18:25:23 -07:00
James Lu
10416013e8
example-conf: mention how kick, ban, etc. won't work for non-channel specific events
2018-06-08 17:54:03 -07:00
James Lu
18bc1942e5
antispam: implement text filters with optional PM spam checks
...
Also refactor the _punish code to account for events without a channel attached.
Closes #359 .
2018-06-08 17:49:26 -07:00