jesopo
|
84a3bf6135
|
Also capture channel setting-related modes (e.g. +f for flood settings)
|
2019-02-09 18:48:18 +00:00 |
|
jesopo
|
bae98d1236
|
Send CAP LS after we send PASS (if applicable) (src/IRCServer.py)
|
2019-02-07 17:41:10 +00:00 |
|
jesopo
|
1895ac34d7
|
If a server has a hostname that's not an IP, use it as SNI server name
|
2019-02-06 18:11:19 +00:00 |
|
jesopo
|
70b29a345a
|
Don't break if we try to "finish" a waiting CAP when it's already finished
|
2019-02-06 15:44:09 +00:00 |
|
jesopo
|
2f7937adc5
|
Don't .lower() nicknames in Database.py, it doesn't know about IRC casemapping
|
2019-02-06 11:25:20 +00:00 |
|
jesopo
|
cbbe6f1569
|
STARTTLS was removed long ago
|
2019-02-05 22:26:41 +00:00 |
|
jesopo
|
5991e02b0a
|
Manually count ACK/NAK for REQed CAPs before ENDing CAP negotiation
|
2019-02-05 19:20:02 +00:00 |
|
jesopo
|
8dcd6b2937
|
Make sure more than one hook can catch preprocess.send but still respect any
that return a change to the output (src/IRCServer.py)
|
2019-01-26 11:05:25 +00:00 |
|
jesopo
|
1a24f17375
|
IRCServer.Server.irc_lower should have a return type hint of str
|
2019-01-24 17:15:02 +00:00 |
|
jesopo
|
3df6b39228
|
Typo, IRCServer.Server.irc_equal -> IRCServer.Server.irc_equals
|
2019-01-24 17:13:51 +00:00 |
|
jesopo
|
301dd7378a
|
Add irc_lower() and irc_equals() to IRCServer.Server so that no where else
in the code has to know about the server having a casemapping
|
2019-01-24 17:12:50 +00:00 |
|
jesopo
|
809efc6793
|
Only pop MODE args when we're certain we should (pays more attention to
CHANMODES ISUPPORT)
|
2018-12-06 08:26:07 +00:00 |
|
jesopo
|
08bd31f150
|
A couple of tweaks to clarify some type hints
|
2018-12-02 09:56:57 +00:00 |
|
jesopo
|
c4ea6fa562
|
data is now line
|
2018-12-02 09:48:06 +00:00 |
|
jesopo
|
9a311c88b6
|
Remove print calls from IRCBot.py, move received data logging to IRCServer
|
2018-12-02 09:41:21 +00:00 |
|
jesopo
|
7c4b2b6c4e
|
Add .nickname/.username/.realname/.hostname to IRCServer
|
2018-11-27 12:16:36 +00:00 |
|
jesopo
|
72dca06626
|
Add a way to catch when a writebuffer is emptied so we can e.g. assure a QUIT is
sent before shutting down the bot
|
2018-11-27 11:56:03 +00:00 |
|
jesopo
|
3061c65024
|
IRCServer.Server.get_user should be 'typing.Optional[IRCUser.User]', not just
'IRCUser.user'
|
2018-11-21 20:18:12 +00:00 |
|
jesopo
|
5001e47af9
|
typo in src/IRCServer.py, 'typing.float' -> 'float'
|
2018-11-21 20:17:02 +00:00 |
|
jesopo
|
9ecbb6be7b
|
Fix mypy issues caused by overwriting a bytes variable with a str object
|
2018-11-21 20:16:07 +00:00 |
|
jesopo
|
bab4fca287
|
Add more return type annotations to src/IRCServer.Server
|
2018-11-21 20:13:56 +00:00 |
|
jesopo
|
9a5ba99840
|
Add some missing return type annotations in src/IRCServer.Server
|
2018-11-21 20:05:21 +00:00 |
|
jesopo
|
2852afd5f7
|
Add IRCServer.Server.get_target, to get an IRCChannel if the given target is a
channel name or an IRCUser
|
2018-11-21 20:04:07 +00:00 |
|
jesopo
|
5d813175a1
|
Don't enable write throttling until we get 005
|
2018-11-19 10:12:52 +00:00 |
|
jesopo
|
ed838193aa
|
Better support passing "send" events through the parsers already present in
modules/line_handler.py
|
2018-11-14 14:41:28 +00:00 |
|
jesopo
|
555e8faa03
|
Print MOTD in modules/print_activity.py (after caching it in
modules/line_handler.py)
|
2018-11-13 14:59:47 +00:00 |
|
jesopo
|
a9b6086c70
|
Split out Channels in to IRCChannels.Channels, not IRCChannel.Channels
|
2018-11-11 14:53:16 +00:00 |
|
jesopo
|
2816fe67bb
|
Move channel tracking data/functions to src/IRCChannel.Channels
|
2018-11-11 12:34:22 +00:00 |
|
jesopo
|
4bab1aea30
|
Add a way to more explicitly denote when a CAP handshake has ended early
|
2018-11-09 10:43:05 +00:00 |
|
jesopo
|
6bf6905262
|
Keep a track of bytes written and read per server
|
2018-11-08 13:31:05 +00:00 |
|
jesopo
|
26a16a7762
|
Keep a dict of isupport key:values on IRCServer.Server
|
2018-11-08 12:34:30 +00:00 |
|
jesopo
|
3cb9baeec3
|
Cache a server fileno from connect onwards, like we used to
|
2018-11-05 20:33:30 +00:00 |
|
jesopo
|
e2c806ffe4
|
Typo in IRCServer, 'nicknamme' -> 'nickname'
|
2018-11-05 20:18:22 +00:00 |
|
jesopo
|
9571c3f9fa
|
Update IRCServer.__repr__ to use connection_params
|
2018-11-05 20:18:06 +00:00 |
|
jesopo
|
afce01d0f8
|
Fall back to nickname for username/realname, as it used to be
|
2018-11-05 20:08:55 +00:00 |
|
jesopo
|
d63115440d
|
Fix the order of some connection params, add alias as a seperate argument to
IRCServer.Server
|
2018-11-05 18:30:39 +00:00 |
|
jesopo
|
6b8593a09b
|
Pass connection parameters around in their own object (IRCConnectionParameters)
|
2018-11-05 18:23:02 +00:00 |
|
jesopo
|
0676b7b0db
|
Call Database.channels.rename in IRCServer.Server.rename_channel
|
2018-11-05 16:47:47 +00:00 |
|
jesopo
|
c3f654673a
|
Cache socket fileno in IRCServer.Server just before disconnecting
|
2018-11-05 12:27:30 +00:00 |
|
jesopo
|
fcedc434f2
|
it should be self.bindhost, now that we've moved the logic to .connect() instead
of __init__
|
2018-11-05 12:18:30 +00:00 |
|
jesopo
|
1065bba3ef
|
Typo in src/IRCServer.py; 'self.AF_INET' -> 'socket.AF_INET'
|
2018-11-05 12:16:30 +00:00 |
|
jesopo
|
c2ebc7b5e4
|
Refactor IRCServer .connect() logic
|
2018-11-05 11:53:33 +00:00 |
|
jesopo
|
6d742f6a74
|
Implement IRCv3's draft/rename
|
2018-11-04 14:48:55 +00:00 |
|
jesopo
|
a4d8d1f855
|
Fix some non-explicit None returns, add type hints to important variables
|
2018-10-31 15:12:46 +00:00 |
|
jesopo
|
b543e31cd2
|
Fix/refactor issues brought up by type hint linting
|
2018-10-30 17:49:35 +00:00 |
|
jesopo
|
e07553c362
|
Add type/return hints throughout src/ and, in doing so, fix some cyclical
references.
|
2018-10-30 14:58:48 +00:00 |
|
jesopo
|
3094bb7748
|
Specifically handle OSError (e.g. Network is unreachable) as a disconnect
|
2018-10-26 11:30:16 +01:00 |
|
jesopo
|
751aaa3365
|
Add missing return in src/IRCServer.py.get_user_setting
|
2018-10-18 17:16:23 +01:00 |
|
jesopo
|
c48574a3d6
|
"Cannot" -> "can't" in IRCServer encoding fallback
|
2018-10-17 17:04:56 +01:00 |
|
jesopo
|
a4bfae9557
|
TRACE log when we have to use fallback encoding
|
2018-10-17 16:54:33 +01:00 |
|