jesopo
|
73aeb6bde4
|
add IRCBuffer.find_all()
|
2020-01-30 14:57:24 +00:00 |
|
jesopo
|
b296a2df05
|
add IRCBuffer.BufferLine.format() - /me vs message formatting
|
2020-01-30 14:56:57 +00:00 |
|
jesopo
|
5fb3057814
|
bump IRCBuffer MAX_LINES to 1024
|
2020-01-30 14:55:30 +00:00 |
|
jesopo
|
fb457c52fb
|
IRCBuffer.find's not_pattern arg should be optional
|
2020-01-20 16:28:50 +00:00 |
|
jesopo
|
9efe952a9f
|
BufferLine.id should be a string
|
2020-01-17 16:37:22 +00:00 |
|
jesopo
|
95668f2b8b
|
give BufferLine.id default value, overwrite in ircv3_msgid.py
|
2020-01-17 16:28:23 +00:00 |
|
jesopo
|
3e574f3c52
|
add BufferLine.timestamp (datetime.datetime object)
|
2020-01-17 15:58:08 +00:00 |
|
jesopo
|
a79f866269
|
tidy up IRCBuffer.find, respect line.deleted there too
|
2020-01-17 14:27:45 +00:00 |
|
jesopo
|
44644dcd56
|
allow BufferLines to be marked as deleted
|
2020-01-17 14:19:46 +00:00 |
|
jesopo
|
f8b509ef94
|
give ever BufferLine an ID (IRCv3 msgid or uuid4())
|
2020-01-17 14:19:30 +00:00 |
|
jesopo
|
91c3688018
|
only add BufferLine to buffer *after* received.message.* callback
|
2019-11-30 20:25:52 +00:00 |
|
jesopo
|
40a459a83c
|
add Buffer.get_all
|
2019-11-27 12:59:50 +00:00 |
|
jesopo
|
2139c99562
|
fix BufferLine.notes definition
|
2019-11-27 12:59:36 +00:00 |
|
jesopo
|
710b711c70
|
dataclass-ify IRCBuffer.BufferLine, add .notes={}
|
2019-11-27 12:07:15 +00:00 |
|
jesopo
|
9972125b24
|
remove IRCBuffer.skip_next (not used), pass buffer lines on message events
|
2019-11-27 12:06:57 +00:00 |
|
Valentin Lorentz
|
fbf8cd1a16
|
Fix type errors detected by 'mypy --ignore-missing-imports src'.
|
2019-10-30 22:26:59 +01:00 |
|
jesopo
|
accd127ce5
|
add IRCBuffer.find_many_from()
|
2019-09-26 13:44:21 +01:00 |
|
jesopo
|
61eeba0cb9
|
should only return a BufferLineMatch when we actually match
|
2019-08-15 13:45:04 +01:00 |
|
jesopo
|
03c7e8f066
|
return matching string from buffer.find() as most uses were redundantly regexing
|
2019-08-13 13:48:03 +01:00 |
|
jesopo
|
ea924df883
|
typehint for IRCBuffer._lines
|
2019-06-07 13:34:30 +01:00 |
|
jesopo
|
bc4a6debb5
|
Use a deque for temp chathistory storage (src/IRCBuffer.py)
|
2019-06-07 13:31:51 +01:00 |
|
jesopo
|
cc8478c50c
|
Only search messages from other users in find_from (src/IRCBuffer.py)
|
2019-01-26 15:58:57 +00:00 |
|
jesopo
|
e1e4fbf9bc
|
Add find_from to IRCBuffer.Buffer, to find the most recent line from a given
user (src/IRCBuffer.py)
|
2019-01-26 15:46:20 +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
|
8b135d8310
|
Add type annotionations to src/Timers.py and src/IRCBuffer.py
|
2018-11-11 19:12:59 +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
|
69d58eede2
|
Move src/Utils.py in to src/utils/, splitting functionality out in to modules of
related functionality
|
2018-10-03 13:22:37 +01:00 |
|
jesopo
|
9118af5e9c
|
Support changing command responses from PRIVMSG to NOTICE
|
2018-10-02 21:40:34 +01:00 |
|
jesopo
|
976b6ae335
|
Better support for msgtags with PRIVMSGs; put functionality in to
modules/commands.py to reply to specific messages by use of msgids
|
2018-10-01 17:26:31 +01:00 |
|
jesopo
|
ecb9d7cb3f
|
Move most code in root directory to src/
|
2018-09-24 15:13:27 +01:00 |
|