jesopo
|
dadefeb8f3
|
remove try-rejoin (on 477) logic. will move to a module later
|
2019-09-07 15:21:35 +01:00 |
|
jesopo
|
b654660d96
|
477 should check that we're *not* in a channel before trying rejoin
|
2019-09-07 14:25:43 +01:00 |
|
jesopo
|
2db2937038
|
'and' -> 'in'. typo
|
2019-08-03 11:10:19 +01:00 |
|
jesopo
|
c99cbaf118
|
handle 'CAP DEL' for something that wasn't advertised
|
2019-07-28 20:55:34 +01:00 |
|
jesopo
|
f9d5271762
|
"paramatered" -> "parametered"
|
2019-07-04 17:23:36 +01:00 |
|
jesopo
|
689f977467
|
treat 437 the same as 433 (nickname already in use)
|
2019-07-04 10:44:52 +01:00 |
|
jesopo
|
76ab7935a0
|
return parsed modes from IRCChannel.parse_modes, pass through mode events
|
2019-07-03 08:13:28 +01:00 |
|
jesopo
|
29b15da179
|
Switch all 'hook.kwargs.get(' calls to 'hook.get_kwarg('
|
2019-06-26 10:59:52 +01:00 |
|
jesopo
|
ab466756cc
|
Handle CAP ACK -<cap> and ACK from a REQ not sent by ircv3.py
|
2019-06-23 11:23:52 +01:00 |
|
jesopo
|
5028eb02d5
|
.send_raw() should be used if we're not .send()ing a ParsedLine
|
2019-06-23 11:22:47 +01:00 |
|
jesopo
|
6e93b1e990
|
Fix more instances of event["args"] (now event["line"].args)
|
2019-06-22 22:08:39 +01:00 |
|
jesopo
|
7174e83f14
|
Change raw.send and raw.receive commands to just pass around ParsedLines
|
2019-06-22 12:17:45 +01:00 |
|
jesopo
|
0a302dfd21
|
pass ParsedLine on message and formatted.* message events
|
2019-06-21 20:20:28 +01:00 |
|
jesopo
|
90c90e5bbd
|
Implement dependency system for CAPs
|
2019-06-21 18:05:11 +01:00 |
|
jesopo
|
8a0d99f969
|
Adda system of aliases for CAPs, mostly for changeable draft specs and creating
dependence between moving specs
|
2019-06-21 17:15:46 +01:00 |
|
jesopo
|
1f2817c366
|
remove echo-message considerations from line_handler/message.py
|
2019-06-21 10:47:21 +01:00 |
|
jesopo
|
032c67be66
|
move echo-message to it's own module, eat events before they hit fake_echo.py
|
2019-06-21 10:41:22 +01:00 |
|
jesopo
|
e76ea39c71
|
Don't listen to raw.send.privmsg in linehandler, emulate recv in fake_echo.py
|
2019-06-21 10:35:05 +01:00 |
|
jesopo
|
b549773bf8
|
pass ParsedLine objects on raw.send.<command> events
|
2019-06-21 10:33:00 +01:00 |
|
jesopo
|
436baf40fb
|
pass from_self through message/notice/tagmsg vents
|
2019-06-20 20:09:06 +01:00 |
|
jesopo
|
24cdff9e44
|
Add an export for IRCv3 CAPs
|
2019-06-20 16:52:23 +01:00 |
|
jesopo
|
5fa3d66a39
|
Return all caps through received.cap.ls|new and check if valid in line_handler,
remove server.cap_started
|
2019-06-16 15:33:20 +01:00 |
|
jesopo
|
795f6afbeb
|
Mode mode (and mode arg) parsing to IRCChannel.py, add IRCChannel.mode_str
|
2019-06-13 11:53:47 +01:00 |
|
jesopo
|
dad60ed307
|
only add to IRCBuffer when there's actually a message (e.g. exclude TAGMSG)
|
2019-06-08 18:48:42 +01:00 |
|
jesopo
|
d4ba98307f
|
We should look at ISUPPORT's STATUSMSG token instead of PREFIX
|
2019-06-08 10:59:52 +01:00 |
|
jesopo
|
16b9361371
|
Only request a CAP once. closes #66
|
2019-06-08 10:17:13 +01:00 |
|
jesopo
|
5299f816af
|
assign local var "modes"
|
2019-06-06 11:22:45 +01:00 |
|
jesopo
|
4c6a398f53
|
Ask for our own modes when we get a 001
|
2019-06-06 11:16:47 +01:00 |
|
jesopo
|
5e8f9ccbcf
|
Remove users from channels/server AFTER we call received.quit
|
2019-06-05 13:18:29 +01:00 |
|
jesopo
|
e6d2208cc4
|
Differentiate between send and received ctcp events
|
2019-06-03 14:22:19 +01:00 |
|
jesopo
|
6b2af83681
|
pass is_channel through CTCP events, fire generic "got a ctcp" event
|
2019-06-03 13:51:30 +01:00 |
|
jesopo
|
ef221f4165
|
v1.8.0 release
|
2019-06-03 13:30:39 +01:00 |
|
jesopo
|
a18157700c
|
Check from_self, not if target==is_own_nickname, use from_self when adding to
buffer obj
|
2019-06-03 11:37:23 +01:00 |
|
jesopo
|
ae3e2708c0
|
buffer lines in private messages should be stored against the sender
|
2019-06-03 11:35:31 +01:00 |
|
jesopo
|
8b796c159f
|
Only parse CTCP when we're not in a TAGMSG event
|
2019-06-03 11:10:01 +01:00 |
|
jesopo
|
d610282c9e
|
Consolidate PRIVMSG, NOTICE and TAGMSG handlers in to 1 function
|
2019-06-03 11:03:12 +01:00 |
|
jesopo
|
c212d70b68
|
Hold on to BATCH args, allow event hooks to manipulate batches
|
2019-06-02 15:18:36 +01:00 |
|
jesopo
|
f9f637e084
|
Remove IRCSendBatch, fix some batch-related type hints
|
2019-06-02 10:13:51 +01:00 |
|
jesopo
|
dc284bab4a
|
Only enable write throttling when _write_buffer is empty
closes #59
|
2019-05-31 15:49:34 +01:00 |
|
jesopo
|
367eb1c60e
|
Make labeled-resposnes it's own module, tag and track every sent line
|
2019-05-30 15:36:10 +01:00 |
|
jesopo
|
58aea4b3b4
|
draft/labeled-response -> draft/labeled-response-0.2
|
2019-05-30 07:44:53 +01:00 |
|
jesopo
|
d225f08b9d
|
labeled-response is not ratified yet
|
2019-05-29 17:54:43 +01:00 |
|
jesopo
|
b8f778d7bd
|
Only try to send QUITs on ctrl+c when we're connected - sys.exit otherwise
|
2019-05-29 16:11:47 +01:00 |
|
jesopo
|
240faa03fb
|
Move IRCv3 server-time code in to it's own module, save last @time tag
|
2019-05-29 15:52:21 +01:00 |
|
jesopo
|
3e8a31ba73
|
_match_caps takes 2 args
|
2019-05-24 05:47:01 +01:00 |
|
jesopo
|
e3d8063373
|
Check if a PRIVMSG/NOTICE is send *from* us before we check if it's sent *to* us
- so `user` isn't null when bitbot messages himself.
|
2019-05-22 14:23:38 +01:00 |
|
jesopo
|
4ce8d6b461
|
Pass server through FAIL events, use FAIL command as part of event path
|
2019-05-22 11:56:21 +01:00 |
|
jesopo
|
cf89e28019
|
Log calls need formatting arguments as a second arg
|
2019-05-22 11:56:05 +01:00 |
|
jesopo
|
29d5ab9b56
|
_handle takes a server param
|
2019-05-22 08:42:41 +01:00 |
|
jesopo
|
82e79ac4e5
|
there's no 1 index arg for a batch-end
|
2019-05-22 08:42:27 +01:00 |
|