Commit Graph

3748 Commits

Author SHA1 Message Date
James Lu 43e41cdfa5 PyLink 3.1.0
Update README links and mark the project as discontinued.
2023-01-03 18:48:24 -08:00
Paige Thompson c453926718
Allow loading a custom CA certificate via a ssl_cafile option (#677)
Co-authored-by: Paige Thompson <paigeadele@gmail.com>
2022-09-06 19:04:54 -07:00
James Lu 523c1d2b13 relay: strip / from idents
Closes #673.
2022-02-21 02:21:49 -08:00
James Lu ab982662b1 Remove travis-ci config
[skip ci]
2022-02-05 14:34:59 -08:00
James Lu fb2327d4e7 Update README
[skip ci]
2022-02-04 12:27:28 -08:00
James Lu 8c4efc030a raw: fix permission check logic 2022-01-02 11:19:38 -08:00
James Lu 499a0dd403 drone: add PyPI push, build Docker on a branch to allow for weekly cron 2021-12-30 11:19:35 -08:00
James Lu ca2d603fa1 RELNOTES: fix date 2021-12-30 11:04:52 -08:00
James Lu cd2ecc3853 Merge branch 'ci-update' 2021-12-30 11:04:29 -08:00
James Lu a0a2cda49f PyLink 3.1-beta1 2021-12-30 11:02:41 -08:00
James Lu 6391d6c282 Run CI on push, against multiple Python versions 2021-12-28 10:56:50 -08:00
James Lu 563b48e9c5 Revert "drone CI: remove date based tags, it isn't strictly necessary"
This reverts commit 0cba40e4c5.
2021-12-28 10:46:46 -08:00
James Lu 2915bf2236 opercmds: more consistent formatting for KILL messages
Any "Killed (sender (...)" prefixes should be added by the protocol module.
2021-12-25 01:02:19 -08:00
James Lu d6de0d97f3 unreal: send kill messages without killpath
Closes #671.
2021-12-25 01:00:42 -08:00
James Lu 171eccf9c7 Further harden exec and raw in the default setup
Closes #568.
2021-12-25 00:47:50 -08:00
James Lu d3ccdca3d1 Merge branch 'py37-base' 2021-12-25 00:33:45 -08:00
James Lu 3155172fc8 Revert "setup.py: work around installation error on Python 3.4"
This reverts commit c91b5f74ea.
2021-12-25 00:33:36 -08:00
James Lu 243efbd0f8 Revert "test_irc_parsers: fix Python 3.5 support"
This reverts commit 8cf1beb183.
2021-12-25 00:33:36 -08:00
James Lu 8d01eaa5c8 Bump base version to Python 3.7 2021-12-25 00:32:32 -08:00
James Lu ada130b1cd Drop references to devel branch
This project is not currently active enough to justify a multi-branch setup..
2021-12-25 00:31:15 -08:00
James Lu e6401a19df relay: remove race condition-prone print
Speculative fix #670
2021-12-25 00:27:34 -08:00
James Lu ac7339e460 Default to system IPv4/IPv6 preference when resolving hostnames
Fixes #667. This implementation is similar but also preserves compatibility with the "ipv6" option,
which allows setting the preferred address type without hardcoding a bind IP.
2021-12-25 00:18:03 -08:00
James Lu f55057092a inspircd: set default target_version to insp3 2021-12-24 23:43:12 -08:00
James Lu 46cc621df1 More concise UID generators 2021-07-14 21:57:56 -07:00
James Lu bc3a7abe02 ircs2s_common: don't strip away other whitespace chars when tokenizing 2021-07-14 21:57:56 -07:00
James Lu 3f59dcd884 unreal: bounce attempts to CHGIDENT/HOST/NAME protected services clients 2021-06-23 09:35:10 -07:00
James Lu fc971aa679 pmodule-spec: Update notes about non-IRC protocols and PyLinkNetworkCoreWithUtils 2021-06-15 00:22:14 -07:00
James Lu e25e3834a8 Add support for oper notices (GLOBOPS/OPERWALL) (#511) 2021-06-15 00:21:03 -07:00
James Lu 2ae72d6723 Expose SSL/TLS state in UID hooks when available (#169) 2021-06-13 01:00:41 -07:00
James Lu 8322817395 p10: fix message handling; sender numerics are not prefixed with ":" here
Regression from 8db238e869
2021-06-13 00:44:41 -07:00
James Lu 6ba99b302f Merge remote-tracking branch 'origin/wip/track-user-ssl' into devel 2021-06-13 00:11:18 -07:00
James Lu 92f60ecb4b Bump to 3.1-dev 2021-06-13 00:11:08 -07:00
James Lu 075c1d141d relay: sanitize idents on hybrid further 2021-06-09 20:19:26 -07:00
James Lu d94593e4f6 unreal: declare EXTSWHOIS support 2021-06-09 20:18:34 -07:00
James Lu 8db238e869 ircs2s_common: only read sender prefixes on lines starting with ":"
This fixes incorrect behaviour if the nick of a sender matches that of a S2S command (e.g. "ping")
2021-06-09 20:17:27 -07:00
James Lu da7f9611bc Remove my old nickname from examples 2021-06-09 20:15:49 -07:00
James Lu ed1644a636 relay: workaround strict ident checks on hybrid 2021-06-05 00:39:23 -07:00
James Lu 1b433b741b classes: add ProtocolError to __all__ 2021-06-05 00:39:18 -07:00
James Lu 53e30520b8 Guard exec plugin behind a config option 2021-06-04 17:48:29 -07:00
James Lu ba5f89d03c Move to libera.chat
[skip ci]
2021-05-19 18:03:13 -07:00
James Lu 88294ff0b0 relay-quickstart: a long needed refresh
- Document in more detail how Relay actually works (mirroring / puppeting via a services server)
- Document more clearly the steps to create a channel: especially mention how CREATE and LINK have to be run from different networks.
- Various typo fixes
2021-05-03 21:18:24 -07:00
James Lu 0b6845fa92 relay: allow deleting channels created before a casemapping change 2021-02-27 12:02:42 -08:00
James Lu 4500e27931 relay: fix channel not found errors on LINK when remote casemapping differs
This can happen, e.g. if the remote network uses casemapping=ascii and has a channel containing "|", and the local network uses casemapping=rfc1459.

Thanks to iTzNavic for reporting.
2021-02-27 12:01:01 -08:00
James Lu 537c643ed0 ircs2s_common: gracefully handle QUIT messages without a reason
Closes #663.
2021-02-14 22:39:57 -08:00
James Lu d9aa5e9869 Merge remote-tracking branch 'origin/master' into devel 2021-02-14 22:33:59 -08:00
James Lu 17fccfeca9 Add a basic linting config 2021-02-09 12:31:25 -08:00
James Lu c5541b58e5 docs: mention that Clientbot-only relays are not supported 2021-02-09 12:31:21 -08:00
James Lu 5eca51d979 example-conf: inspircd 3 support is not beta anymore 2021-01-20 11:58:50 -08:00
James Lu 15d51b3455 Don't loop infinitely if _send fails... 2021-01-10 10:28:34 -08:00
James Lu b254a7f971 readme refresh
yeah, I'm officially looking for new maintainers
2020-12-07 12:50:15 -08:00