Commit graph

30 commits

Author SHA1 Message Date
jesopo
161c60c4f6 .lower() -> .upper() for CAP subcommands. makes a lot more sense. 2019-05-18 14:57:09 +01:00
jesopo
7547eee96d Catch server version string, from RPL_MYINFO 2019-05-15 17:12:21 +01:00
jesopo
d0573706e5 Move all actual nickname changing until AFTER events are fixed. it was actually
set_own_nickname that was really causing the issue.
2019-05-12 22:20:42 +01:00
jesopo
3e9d628d64 Change user nickname before firing (received/self).nick events 2019-05-12 22:07:04 +01:00
jesopo
d291cd5063 Revamp how CAPs are tracked through REQ and ACK/NAK etc 2019-05-11 18:22:40 +01:00
jesopo
295f7a751c Refactor CAPs in to objects 2019-05-11 15:11:09 +01:00
jesopo
5dd019d79f Handle dangling spaces at the end of a NAMES response 2019-05-09 11:55:35 +01:00
jesopo
511a1836bb Only split NAMES reply at literal space, .split() is overzealous 2019-05-09 11:31:58 +01:00
jesopo
f7eae1a978 Tokenize IRC data as soon as it comes out of IRCServer 2019-05-09 10:36:33 +01:00
jesopo
dc17ef7bb9 Only handle 324 when we're actually in the channel 2019-05-04 21:39:35 +01:00
jesopo
e12ad21c1a Add/remove people from channels before received.join/received.part events 2019-04-15 14:41:09 +01:00
jesopo
ad166a7d0a Correctly support SETNAME being targetted at us 2019-04-02 14:21:16 +01:00
jesopo
76ae55499b Log which server an ERROR came from 2019-03-19 10:26:15 +00:00
jesopo
5d7f017c9c Enum values shouldn't be all upper case 2019-03-10 13:14:25 +00:00
jesopo
1dad4827b6 Set a user's username/hostname/account BEFORE sending a received.join 2019-03-06 15:51:10 +00:00
jesopo
c876940443 Set username/hostname on users on JOIN regardless of whether we know theirs
already
2019-03-06 15:50:24 +00:00
jesopo
b4b15e5678 Don't treat ACTION CTCP as a different event to normal PRIVMSGs 2019-03-06 13:51:38 +00:00
jesopo
9e98754188 Treat our own user as a regular user throughout line_handler 2019-03-05 11:20:32 +00:00
jesopo
cf262c6d8a We need to import EventManager in line_handler/__init__.py 2019-03-03 23:34:39 +00:00
jesopo
2affba99ca Minor refactors across line_handler 2019-03-03 22:46:24 +00:00
jesopo
4aa9a06635 @utils.hook shouldn't be in line_handler/message.py 2019-03-03 22:45:54 +00:00
jesopo
7a3db82300 Add IRCServer.has_capability and use it throughout line_handler 2019-03-03 22:38:34 +00:00
jesopo
8c94bcf6ca Move utils.irc.IRCParsedLine to IRCLine.ParsedLine, improve truncation
mechanism, don't convert sent line from ParsedLine to text to ParsedLine for
line_handler handling
2019-02-23 21:33:04 +00:00
jesopo
6bdec003a1 Split PRIVMSG last param explicitly by " " to make message_split 2019-02-23 10:54:17 +00:00
jesopo
9d72cbca73 Keep track of a user's away message, not just whether they're away or not 2019-02-22 22:26:50 +00:00
jesopo
76c6cc3709 Typo, 'taget' -> 'target' 2019-02-22 16:31:17 +00:00
jesopo
5cae86333b Typo, 'channels' -> 'channel' 2019-02-22 11:27:31 +00:00
jesopo
2b430839f9 .on doesn't take kwargs - .call does 2019-02-22 11:26:48 +00:00
jesopo
6177d5c984 Typo, 'channels' -> 'channel' 2019-02-22 11:25:04 +00:00
jesopo
47c2cbb0fa Split line_handler.py out in to different files for different categories 2019-02-22 11:23:36 +00:00