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 |
|
jesopo
|
6a4852d2b4
|
server and tag var don't exist
|
2019-05-22 08:42:03 +01:00 |
|
jesopo
|
6d44db6065
|
Remove references to STATUSMSG - just pass around a raw target_str (target
without statusmsg chars stripped off)
|
2019-05-21 23:09:32 +01:00 |
|
jesopo
|
bdd161256d
|
has_capability -> has_capability_str , add new has_capability
|
2019-05-20 16:33:32 +01:00 |
|
jesopo
|
c60094ea92
|
matched_caps is actually a str[]
|
2019-05-19 11:13:16 +01:00 |
|
jesopo
|
66ce2ee2b7
|
.copy() all the hardcoded Capabilities in line_handler/ircv3.py
|
2019-05-19 11:10:32 +01:00 |
|
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 |
|