jesopo
|
793fc94ea3
|
source should have ':' appended
|
2019-07-28 20:55:54 +01:00 |
|
jesopo
|
4815c1612c
|
don't silently truncate at newline in IRCLine.ParsedLine.truncate()
|
2019-07-15 14:26:45 +01:00 |
|
jesopo
|
bb749b111f
|
Refactor EventManager to only hold hooks on a root object
|
2019-06-26 11:01:09 +01:00 |
|
jesopo
|
e7b17f2ccd
|
give every ParsedLine a uuid4 .id for tracking purposes
|
2019-06-21 10:33:59 +01:00 |
|
jesopo
|
938e1db963
|
add margin arg to ParsedLine.truncate so commands/outs.py doesn't do it
manually and cause potential issues with multi-byte chars
|
2019-06-19 10:34:42 +01:00 |
|
jesopo
|
c463fa20a4
|
line_formatted -> valid so tags don't cause us to subvert truncation
|
2019-06-18 18:14:04 +01:00 |
|
jesopo
|
1cbc2ce31b
|
Tags should not be appended to pieces now that they're counted separately
|
2019-06-18 17:56:20 +01:00 |
|
jesopo
|
51cac7d9b5
|
add has_tag() and get_tag() to IRCLine.ParsedLine
|
2019-06-18 15:18:44 +01:00 |
|
jesopo
|
31be78db81
|
message-tags count for a different character limit than the rest of the line
|
2019-06-18 14:33:51 +01:00 |
|
jesopo
|
621830c360
|
Simplify SentLine by shifting truncation to ParsedLine (and commands.outs)
|
2019-06-18 14:14:37 +01:00 |
|
jesopo
|
055eed24fd
|
Type annotate ParsedLine.tags, add ParsedLine.add_tag()
|
2019-06-16 09:52:25 +01:00 |
|
jesopo
|
6c5dc958d0
|
Add .assure() to ParsedLine, to make it immune from .valid()
|
2019-06-10 10:45:02 +01:00 |
|
jesopo
|
0fc03fd592
|
Allow preprocess.send callbacks to request a line not be sent at all
|
2019-06-10 10:11:31 +01:00 |
|
jesopo
|
59eeee1030
|
message-tags are joined by ";", not ","
|
2019-06-06 17:19:27 +01:00 |
|
jesopo
|
eb7d90bb00
|
message_tag_escape() message-tag values when .format()ing IRCLine
|
2019-06-06 09:29:17 +01:00 |
|
jesopo
|
8dbae6a5e9
|
Give SentLine (and preproc.send events) a new event object, to track events
related to a line after it is sent
|
2019-06-04 17:51:20 +01:00 |
|
jesopo
|
4a4d0a37d7
|
Only return definitely-writen lines from IRCSocket._send, refactor in prep for
lines that request to be sent 'immediately'
|
2019-06-04 14:28:35 +01:00 |
|
jesopo
|
ef221f4165
|
v1.8.0 release
|
2019-06-03 13:30:39 +01:00 |
|
jesopo
|
b84d133500
|
add __str__ and __repr__ defs to IRCLine.ParsedLine
|
2019-06-01 22:28:37 +01:00 |
|
jesopo
|
f0dee5ebd6
|
Immutable arg default values leads to weird data persistence
|
2019-05-30 15:30:15 +01:00 |
|
jesopo
|
5c5b4ef139
|
Handle negative (end-relative) indexes being given to IRCArgs.get
|
2019-03-08 23:35:52 +00:00 |
|
jesopo
|
f1348e5679
|
Handle IRCArgs being empty strings (e.g. 'PRIVMSG #test :')
|
2019-03-08 23:23:09 +00:00 |
|
jesopo
|
948c86adbc
|
Need to str() Hostmask objects in ParsedLine.format()
|
2019-02-28 16:22:17 +00:00 |
|
jesopo
|
d16046fb49
|
Simplify ParsedLine._tag_str and ParsedLine.format()
|
2019-02-27 22:14:53 +00:00 |
|
jesopo
|
56f6511ad3
|
Critical security fix: truncate IRCLine.ParsedLine.format() at newline
|
2019-02-25 21:46:23 +00:00 |
|
jesopo
|
8d55319f56
|
Rename IRCLine.Line to IRCLine.SentLine, for clarity
|
2019-02-24 08:25:12 +00:00 |
|
jesopo
|
5baa688fbc
|
Make IRCArgs mutable
|
2019-02-23 21:39:46 +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
|
63dc5009f7
|
Actually return str object from IRCLine.__str__
|
2019-02-10 23:57:38 +00:00 |
|
jesopo
|
1d48f6f19d
|
Add _char_limit return type hint, fix decoded_data return type hint
(src/IRCLine.py)
|
2019-02-10 23:52:25 +00:00 |
|
jesopo
|
ecb197858e
|
Import IRCServer in IRCLine so type hint comment is valid (src/IRCLine.py)
|
2019-02-10 23:51:28 +00:00 |
|
jesopo
|
f8e6a55ada
|
Add a comment as to why IRCLine's LINE_CUTOFF is 470, not 510
|
2019-02-10 22:52:23 +00:00 |
|
jesopo
|
fc5ade7112
|
Change LINE_CUTOFF to 470, now that we compute max char counts (src/IRCLine.py)
|
2019-02-10 20:54:12 +00:00 |
|
jesopo
|
bb4ec082dd
|
Let IRCLine.Line handle truncating command output
|
2019-02-10 20:49:59 +00:00 |
|
jesopo
|
a3b9be3d3d
|
Shift encoding/truncating IRC lines to src/IRCLine.py
|
2019-02-10 18:43:04 +00:00 |
|
jesopo
|
bd9eaad0b2
|
Return truncted data from encode_truncate and hold it in IRCLine.Line
|
2019-02-10 18:16:19 +00:00 |
|
jesopo
|
eb00f331e5
|
IRCLine's data should be bytes
|
2019-02-10 14:19:43 +00:00 |
|
jesopo
|
4772564115
|
Add missing src/IRCLine.py file
|
2019-02-10 14:18:33 +00:00 |
|