3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-27 05:03:07 +01:00
Commit Graph

3632 Commits

Author SHA1 Message Date
James Lu
6a71ca64ac PyLink 2.1-beta1 2019-12-08 12:18:13 -08:00
James Lu
0a264b430e docs/t: fix wrong version for the last two protocol caps 2019-12-08 12:17:33 -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
b92f39d79c Update IRCd notes & supported IRCd versions
[skip ci]
2019-11-30 00:10:55 -08:00
James Lu
b9561500fd relay: simplify clientbot forcepart/kick formatting 2019-11-29 23:52:19 -08:00
James Lu
72c57d433a clientbot: add option to always autorejoin channels
Closes #647.
2019-11-29 23:51:57 -08:00
James Lu
7eff7861ed structures: implement _from_iterable() so that set operations work 2019-11-29 23:35:52 -08:00
James Lu
1a89813cd4 unreal: stop sending NETINFO on link
NETINFO isn't strictly necessary for services servers, and not sending it suppresses protocol version/network name mismatch warnings.
2019-11-29 23:03:35 -08:00
James Lu
d73e2fc209 unreal: read user modes from PROTOCTL USERMODES when available
This is sent by UnrealIRCd 4.2.3 and later.
2019-11-17 12:24:54 -08:00
James Lu
8a48d4d8cc inspircd: fix sending ping replies from subservers 2019-11-17 10:48:58 -08:00
James Lu
7bf1a9e08d Add can-manage-bot-channels protocol capability
This allows skipping part/join for service bots on platforms where this is not possible.
2019-11-02 13:55:49 -07:00
James Lu
4ceeb1630f README: drop webchat link
[skip ci]
2019-10-28 19:28:07 -07:00
James Lu
41497a8a13 automode: mangle channels to "#chanid" on networks where they're stored as int
This allows the bulk of automode's commands to actually function.
2019-10-14 09:57:47 -07:00
James Lu
2c53ce0682 PyLink 2.0.3 2019-10-11 10:18:43 -07:00
James Lu
d28a9681ac automode: disable on networks where IRC modes aren't supported
Closes #638.
2019-10-10 22:24:44 -07:00
James Lu
297d31dab2 Add has-irc-modes capability (#620) 2019-10-10 22:17:11 -07: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
1623462b73 relay: use get_service_options() to combine clientbot styles options (#642) 2019-10-10 19:16:58 -07:00
James Lu
e0d82cdf3d Add get_service_options API to merge together global & local network options
First part of #642.
2019-10-10 18:49:07 -07:00
James Lu
9ec83f3995 Base test for get_service_option() 2019-10-09 20:55:52 -07:00
James Lu
601b811912 test/ptf: reorganize tests into sections 2019-10-09 20:53:58 -07:00
James Lu
72e96156b5 changehost: listen for services account changes
This allows for consistent account based hostmasks for SASL gateways, etc.
2019-10-09 20:32:47 -07:00
James Lu
4095eea3a7 changehost: simplify _changehost() syntax 2019-10-09 20:30:53 -07:00
James Lu
8cf1beb183 test_irc_parsers: fix Python 3.5 support
open() only supports pathlib paths on 3.6 and later.
2019-09-15 16:27:17 -07:00
James Lu
52001ac82d .travis.yml: add 3.7, remove 3.4 tests 2019-09-15 16:24:55 -07:00
James Lu
c8ba6291a6 parse_irc_command: ignore empty IRC lines
I seem to be getting this on my InspIRCd 2 test server?
2019-09-10 19:46:46 -07:00
James Lu
083dc6a58f Rewrite is_server_name() to fail on hostnames with - and _ 2019-09-10 19:31:57 -07:00
James Lu
462fa91622 Add validate-hostname tests from ircdocs/parser-tests 2019-09-10 19:22:53 -07:00
James Lu
b803c23b57 Add in mask-match tests from ircdocs/parser-tests 2019-09-10 19:19:16 -07:00
James Lu
899443d2fe split_hostmask: raise an error on empty nick/ident/host 2019-09-10 19:12:26 -07:00
James Lu
fe4bea2948 Add in userhost-split tests from ircdocs/parser-tests 2019-09-10 19:12:18 -07:00
James Lu
01705f8393 Skip message tag parse tests for now 2019-09-10 19:10:58 -07:00
James Lu
943168df53 parse_message_args: remove extraneous \'s that aren't escaping characters 2019-09-10 18:31:07 -07:00
James Lu
aba198dbd6 parse_args: ignore extra spaces not part of the final multi-word arg 2019-09-10 18:11:07 -07:00
James Lu
188d0f647e ircs2s_common: make parse_message_tags() a classmethod 2019-09-10 18:11:07 -07:00
James Lu
19f7ba38b3 Begin integrating ircdocs/parser-tests 2019-09-10 18:11:07 -07:00
James Lu
c1859b64fa inspircd: fix handling of SVSTOPIC on insp3 2019-08-29 11:16:10 -07:00
James Lu
f9368dd5cc Protocol tests for get_hostmask(), get_friendly_name() 2019-08-26 16:54:27 -07:00
James Lu
2baec4c65a Protocol tests for wrap_modes() 2019-08-26 16:47:49 -07:00
James Lu
ee4997dd72 Tests for join_modes, base case tests for apply_modes / reverse_modes 2019-08-26 16:24:58 -07:00
James Lu
ebce431ba4 reverse_modes: test cycling prefix modes 2019-08-26 16:10:08 -07:00
James Lu
a1f3af9099 reverse_modes: deduplicate reversing modes with arguments 2019-08-26 16:10:08 -07:00
James Lu
d93c071446 reverse_modes: test mode cycling with simple modes and bans 2019-08-26 16:10:08 -07:00
James Lu
9168880204 parse_modes: fix handling of +b-b ban cycles 2019-08-26 16:10:08 -07:00
James Lu
c2b5966739 reverse_modes: ignore unsetting simple modes that didn't exist 2019-08-26 16:10:08 -07:00
James Lu
b685f416f6 reverse_modes: treat mode arguments case insensitively 2019-08-26 16:10:08 -07:00
James Lu
0533827ddf reverse_modes: add basic tests 2019-08-26 16:10:02 -07:00
James Lu
32219ccb78 reverse_modes: return a list and not a set of modes
This ensures that order is kept when the input is a list.
2019-08-26 13:16:52 -07:00
James Lu
808e1d1f5a protocol tests: cleanup 2019-08-26 12:59:57 -07:00