3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 13:09:23 +01:00
Commit Graph

3726 Commits

Author SHA1 Message Date
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
James Lu
d53ed4f25d readme refresh
yeah, I'm officially looking for new maintainers
2020-12-07 12:08:19 -08:00
James Lu
cc2298d0be inspircd: track SSL/TLS status of remote users 2020-10-19 14:03:35 -07:00
James Lu
8ee0f3fdab hybrid, p10, ts6, unreal: track SSL/TLS status of remote users (#169) 2020-10-19 13:58:55 -07:00
James Lu
e0cc238001 ts6: fix ssl umode definitions 2020-10-19 13:58:03 -07:00
James Lu
b02aadf378 _send: break if the socket is None 2020-09-29 18:49:43 +00:00
James Lu
d50de12834 Retry when socket.send() fails with BlockingIOError / EAGAIN 2020-09-29 17:45:13 +00:00
James Lu
2aa00d6efc relay: skip messages from clientbot networks when relay_clientbot isn't loaded 2020-08-15 23:23:29 -07:00
Celelibi
16a7cef1aa plugin relay: Rename homeirc to origirc
Signed-off-by: Celelibi <celelibi@gmail.com>
2020-06-18 21:15:53 -07:00
Celelibi
43532fd1cc ClientbotWrapperProtocol: Missing log message argument: channel
Signed-off-by: Celelibi <celelibi@gmail.com>
2020-06-18 21:15:53 -07:00
Celelibi
cb0af148d8 IRCNetwork: Unused attribute _selector_key
Was always None because the called function doesn't return a value.

Signed-off-by: Celelibi <celelibi@gmail.com>
2020-06-18 21:15:53 -07:00
Celelibi
dcd0a28c89 PyLinkNetworkCore: rename filename, config -> channel, chandata
Signed-off-by: Celelibi <celelibi@gmail.com>
2020-06-18 21:15:53 -07:00
Celelibi
7204ef1cf1 plugin stats: Refactor multiline function call
Signed-off-by: Celelibi <celelibi@gmail.com>
2020-06-18 21:15:53 -07:00
Celelibi
88116dbe8d plugin stats: Missing parentheses change number of arguments
Signed-off-by: Celelibi <celelibi@gmail.com>
2020-06-18 21:15:53 -07:00
Celelibi
b49d5775e2 TS6Protocol: Missing logging argument in handle_realhost
Signed-off-by: Celelibi <celelibi@gmail.com>
2020-06-18 21:15:53 -07:00
Celelibi
03c9c71dc3 TS6Protocol: change servername to numeric in handle_pass
Signed-off-by: Celelibi <celelibi@gmail.com>
2020-06-18 21:15:53 -07:00
Celelibi
26bdc90781 TS6Protocol: target_ircd renamed when refactored
Signed-off-by: Celelibi <celelibi@gmail.com>
2020-06-18 21:15:53 -07:00
Celelibi
6bf66f9e4d KeyedDefaultdict: super() already bind to self
Signed-off-by: Celelibi <celelibi@gmail.com>
2020-06-18 21:15:53 -07:00
Celelibi
84b73bb89f
Tidy up imports and define __all__ in modules (#660) 2020-06-18 15:47:20 -07: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
947732580a PyLink 3.0.0 2020-04-11 00:28:24 -07:00
James Lu
3d5f9685c5 README: update badge colours & order
[skip ci]
2020-04-10 16:27:42 -07:00
James Lu
c53ee0a80c README: refresh, add Docker install instructions
[skip ci]
2020-04-10 14:56:52 -07:00