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

3743 Commits

Author SHA1 Message Date
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
James Lu
0cba40e4c5 drone CI: remove date based tags, it isn't strictly necessary 2020-04-10 13:38:18 -07:00
James Lu
c14fc5cf07 Add Drone CI pipeline for building Docker image 2020-04-10 13:27:27 -07:00
James Lu
ba22b18cc4 Replace references to PyLink 2.1 with 3.0 2020-04-10 11:15:54 -07:00
James Lu
a143d98ac1 global: always coerse channel argument to str
These can be type int as of v3.0, e.g. in pylink-discord
2020-03-30 13:09:38 -07:00
James Lu
a19f257bd8 clientbot: remove references to self.irc
Reported by @genius3000.
2020-03-29 01:15:11 -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
8ffd787075 global: call match_text() on the target network object
Technically this will only make a difference if a server object overrides match_text(), but this is the more correct solution.
2020-03-16 19:07:18 -07:00
James Lu
b4d7883a71 global: ignore networks that don't have .pseudoclient set
This is the case for e.g. the control network object in pylink-discord.
2020-03-16 19:06:28 -07:00
James Lu
f17540a7e2 README refresh; update supported IRCds list
- Move charybdis to extended support - I have not seen any networks use this in production
- Move legacy p10 / ts6 variants into a new Legacy support section

[skip ci]
2020-03-14 10:28:21 -07:00
James Lu
b433fed718 unreal: update module header 2020-03-08 16:47:31 -07:00
James Lu
475349dc39 p10: warn when receiving an invalid subcommand with use_extended_accounts=true 2020-03-08 16:29:16 -07:00
James Lu
a8f0bd4fb7 classes: remove self.proto, self.irc compat links 2020-03-08 15:37:06 -07:00
James Lu
f7e84e7816 PyLink 3.0-rc1 2020-02-22 23:57:43 -08:00
James Lu
bdfeec09c6 Merge remote-tracking branch 'origin/master' into devel
Conflicts:
	classes.py
2020-02-22 23:57:02 -08:00
James Lu
7ce8f41f95 Add changelog for 3.0-rc1 2020-02-22 23:56:27 -08:00
James Lu
99c379e32f example-conf: unmark encoding option as experimental 2020-02-22 23:56:10 -08:00
James Lu
908dcb4873 p10: ignore ACCOUNT subcommands other than R, M, and U 2020-02-16 11:31:02 -08:00
James Lu
b083b6dede commands.version: replace license notice with (a much more useful) Python version 2020-01-26 13:48:43 -08:00
James Lu
5c3306bcff ircs2s_common: fix handling when failing to extract kill reason 2020-01-26 00:31:17 -08:00
James Lu
7c0deaa684 relay-quickstart: describe delinking another network from our channels
[skip ci]
2020-01-09 08:53:44 -08:00
James Lu
574a3056a3 modelists: update githack URLs
[skip ci]
2019-12-29 10:08:47 -08:00
James Lu
0e13243d02 chatircd: fold usermode +t into sslonlymsg 2019-12-29 10:04:38 -08:00
James Lu
6e1352dfd3 inspircd: alias antiredirect (umode +L) to noforward 2019-12-29 10:02:02 -08:00
James Lu
34cd0ea7d5 modelists: mark module-provided modes on InspIRCd 2019-12-29 10:00:55 -08:00
James Lu
ea2925ef37 modelists: drop m_ prefix from insp3 column 2019-12-29 09:53:15 -08:00
James Lu
0e10b62705 ngircd: fixup mode definitions 2019-12-29 09:50:47 -08:00
James Lu
f01fada92f unreal: declare support for umodes +Z and +G 2019-12-29 09:50:00 -08:00
James Lu
5a487114b6 docs/modelists: add some missing RFC1459 mode definitions
[skip ci]
2019-12-29 09:32:27 -08:00
James Lu
52730268b0 exttarget: use match_text() to match exttarget text fields
(cherry picked from commit bfe8a23dbc)
2019-12-26 11:59:33 -08:00
James Lu
4d24aa236b exttargets.account: fix extraneous lowercasing of the network name
(cherry picked from commit b45fe4c121)
2019-12-26 11:59:33 -08:00
James Lu
a178a92d6a classes: fix incorrect wrap_messages() stub
(cherry picked from commit 5731a301ce)
2019-12-26 11:59:33 -08:00
James Lu
bfe8a23dbc exttarget: use match_text() to match exttarget text fields 2019-12-25 16:04:58 -08:00
James Lu
b45fe4c121 exttargets.account: fix extraneous lowercasing of the network name 2019-12-25 15:58:18 -08:00