Commit graph

51 commits

Author SHA1 Message Date
jesopo
2f07c308ea set private NOTICE context so print_activity shows who a notice was sent to 2019-11-19 17:23:23 +00:00
jesopo
982f3b4912 refactor formatting privmsg/notice, show symbols on notice 2019-11-15 15:00:46 +00:00
jesopo
5d01db8514 move all datetime-related code from utils/__init__ to utils.datetime 2019-11-15 13:59:09 +00:00
jesopo
27de12bcfe dont use "%s %s"%("thing", "%s") trick - messes up when "thing" has % 2019-11-15 12:29:00 +00:00
jesopo
f188969666 add minimal/normal for "topic set at" lines 2019-11-14 14:32:36 +00:00
jesopo
e17e439530 nickname doesn't exist in _on_chghost 2019-11-14 13:17:22 +00:00
jesopo
736c125b98 nickname doesn't exist in _on_part, should be user.nickname 2019-11-14 12:18:11 +00:00
jesopo
b96d8d2d80 typo, 'mode_str' -> 'modes_str' 2019-11-14 12:17:40 +00:00
jesopo
cf5294a835 don't duplicate event["user"].nickname for prettified invite format 2019-11-14 11:59:50 +00:00
jesopo
c5870e3d36 typo, 'prettyb' -> 'pretty 2019-11-14 11:56:57 +00:00
jesopo
160fab8f4f separate formatted lines from pretty formatted lines 2019-11-14 11:48:51 +00:00
jesopo
76212faed4 change formatted JOIN to have userhost in parens 2019-11-13 11:19:28 +00:00
jesopo
d06efdabed change formatted NOTICEs to be denoted by "-nick-" (PRIVMSG as "<nick>") 2019-11-11 18:02:15 +00:00
jesopo
9fa128fcc9 colorize nicknames on more line formatting events 2019-11-11 13:07:41 +00:00
jesopo
8a8bd8a77e colorize nicks on JOIN formatting 2019-11-11 12:49:45 +00:00
jesopo
d43e96f7e7 add bot-wide option to colorize nicknames in formatted output 2019-11-11 12:20:27 +00:00
jesopo
307a767d22 'changed host (_@_)' -> 'changed host to _@_' 2019-10-31 15:51:24 +00:00
jesopo
a73629bbf7 format and print CHGHOST events 2019-10-31 15:35:53 +00:00
jesopo
4ccfd821c8 update channel.topic_setter-related code 2019-09-16 18:41:47 +01:00
jesopo
60ced118a0 get_user_status() -> get_user_modes(), filter in format_activity.py 2019-09-12 22:39:21 +01:00
jesopo
fd0ad283f8 prefix formatted KICKs with "- " 2019-08-16 16:09:57 +01:00
jesopo
76ab7935a0 return parsed modes from IRCChannel.parse_modes, pass through mode events 2019-07-03 08:13:28 +01:00
jesopo
5013b81699 pass IRCUser objects through formatted.notice events 2019-07-02 08:48:18 +01:00
jesopo
6bb3b65fb8 Pass channel object along with formatted.notice.channel events 2019-07-02 08:18:41 +01:00
jesopo
8d2978e161 Remove PRIORITY values for NOTICE events - i dont think we need them 2019-07-01 19:54:00 +01:00
jesopo
ab4289aceb Only show highest channel access symbol in format_activity.py 2019-06-23 10:44:45 +01:00
jesopo
0a302dfd21 pass ParsedLine on message and formatted.* message events 2019-06-21 20:20:28 +01:00
jesopo
66393bcdbc pass from_self arg in formatted.* message events 2019-06-21 10:32:46 +01:00
jesopo
c65a422284 remove extra formatted.notice format param 2019-06-20 17:58:02 +01:00
jesopo
32813b4b4e Change formatted.notice format to have context 2019-06-20 17:08:33 +01:00
jesopo
c6696c8b00 Pass along minimalistic formatted lines, as well as prettier ones 2019-06-05 13:18:13 +01:00
jesopo
16083309ef Add a space between channel name and kick reason in format_activity.py 2019-04-16 07:54:07 +01:00
jesopo
b6d04152d0 Show QUIT reason as "" not None 2019-04-02 21:17:01 +01:00
jesopo
0b1c07b1ed Set PART reason to "" when it's None 2019-04-02 16:56:15 +01:00
jesopo
df3075ce27 Show user hostmask (not just nick) on formatted.join 2019-03-12 10:41:45 +00:00
jesopo
5165e53264 Fix local variable overwrite for reason in formatted.quit logic 2019-03-08 17:20:57 +00:00
jesopo
c973dc550c prefix formatted.mode.channel with "- " 2019-03-08 09:53:04 +00:00
jesopo
cbd6092ff1 Send IRCUser object on formatted.quit event 2019-03-07 21:44:32 +00:00
jesopo
c8f5f0b0ad "- " should have been inside the string 2019-03-07 18:01:00 +00:00
jesopo
7811d9874c Prefix user-related lines in format_activity with "- " 2019-03-07 17:58:17 +00:00
jesopo
fb5b956f99 Send IRCChannel on formatted.topic-timestamp event 2019-03-06 15:04:19 +00:00
jesopo
ed3fc0e5d4 don't utils.irc.parse_format in format_activity.py, so we don't have to use
raw_line in channel_log
2019-03-06 14:30:33 +00:00
jesopo
61acf6cd8e Attach channel object to formatted.rename events 2019-03-06 13:39:20 +00:00
jesopo
9920721bc5 Pass IRCChannel and IRCUser objects on formatted events where applicable 2019-03-06 13:36:18 +00:00
jesopo
b5b841033f Do format parsing (color, bold, etc) in format_activity.py 2019-03-06 08:08:20 +00:00
jesopo
79930be7a3 private notices shouldn't be sent out as formatted.notice.channel 2019-03-05 09:52:38 +00:00
jesopo
b4f3ff3344 _on_topic doesn't take an IRCChannel param 2019-03-05 09:30:50 +00:00
jesopo
2750f29989 We need to pass a user object to _privmsg 2019-03-05 09:30:36 +00:00
jesopo
0a5ebd0cf4 Use utils.ISO8601_PARSE in format_activity 2019-03-05 09:30:10 +00:00
jesopo
a9a3ad7abd import datetime in format_activity.py 2019-03-05 09:29:54 +00:00