Commit graph

4294 commits

Author SHA1 Message Date
jesopo
b5546adf8e update CHANGELOG.md 2020-01-20 13:49:26 +00:00
jesopo
5a0a340e44 better formatting for server notices 2020-01-20 13:48:50 +00:00
jesopo
1f2beef0f5 pass :source or connection_params.hostname through server-notice event 2020-01-20 13:48:29 +00:00
jesopo
8fbf91a2f0 show account and realname in JOIN formatting when available 2020-01-20 13:42:36 +00:00
jesopo
f4a001152a show coloured nick in draft/delete log line 2020-01-20 13:26:39 +00:00
jesopo
7f434e5e17 show milliseconds when displaying draft/delete event 2020-01-20 13:25:53 +00:00
jesopo
c6d913e218 provide {NICK} as well as {~NICK} as default formatting args 2020-01-20 13:25:33 +00:00
jesopo
dba3f7abc3 .zfill(3) milliseconds in utils.datetime.datetime_human 2020-01-20 13:24:58 +00:00
jesopo
cb73507c5e use a TimeSpec system to request milliseconds in utils.datetime 2020-01-20 13:20:26 +00:00
jesopo
fbe4c93c58 don't overwrite line in MOTD formatting 2020-01-20 13:20:08 +00:00
jesopo
50be75a5e2 also do .format(**) when there's no user object 2020-01-20 13:19:47 +00:00
jesopo
0eb92278cc do all user-provided formatting as {VAR} formatting
otherwise, e.g., a PRIVMSG with {~NICK} will be replaced with user nickname
2020-01-20 12:07:04 +00:00
jesopo
a974134472 tolerate fedi servers that present Notes as application/ld+json 2020-01-18 14:02:47 +00:00
jesopo
47f7c7a595 tolerate fediverse Notes without "cc"s 2020-01-18 14:02:16 +00:00
jesopo
631e669426 _on_topic doesn't always have a user 2020-01-17 18:13:35 +00:00
jesopo
3f2f6cb82c v1.18.0-rc3 release 2020-01-17 16:48:01 +00:00
jesopo
0dda15d8da 'python-dateutil', not just 'dateutil' 2020-01-17 16:47:21 +00:00
jesopo
81deb48c97 v1.18.0-rc2 release 2020-01-17 16:42:46 +00:00
jesopo
0966fea362 update CHANGELOG.md 2020-01-17 16:42:29 +00:00
jesopo
ba5d79c953 fix utils.datetime.iso8601_parse linting error 2020-01-17 16:37:31 +00:00
jesopo
9efe952a9f BufferLine.id should be a string 2020-01-17 16:37:22 +00:00
jesopo
b4e3ee5d0e pass draft/delete events through to format_activity/print_activity 2020-01-17 16:28:48 +00:00
jesopo
95668f2b8b give BufferLine.id default value, overwrite in ircv3_msgid.py 2020-01-17 16:28:23 +00:00
jesopo
5c7026886d overwrite BufferLine.timestamp with ircv3 server-time when available 2020-01-17 15:58:37 +00:00
jesopo
3e574f3c52 add BufferLine.timestamp (datetime.datetime object) 2020-01-17 15:58:08 +00:00
jesopo
e4d71f6c0c add dateutil as a dependency, use it in utils.datetime.iso8601_parse 2020-01-17 15:57:30 +00:00
jesopo
ae7c6d8572 export function for formatting activity lines 2020-01-17 15:36:34 +00:00
jesopo
e3070f52ff refactor format_activity to use {FORMATTING} for maybe-colored things 2020-01-17 15:31:12 +00:00
jesopo
388ccf7a42 add draft/edit CAP to ircv3_editmsg.py 2020-01-17 14:45:33 +00:00
jesopo
a79f866269 tidy up IRCBuffer.find, respect line.deleted there too 2020-01-17 14:27:45 +00:00
jesopo
5d9bbed0fa use draft/delete tags to mark BufferLines as deleted 2020-01-17 14:20:42 +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
1e50c5f2d6 make ++asd++ count only as ++ on ++help 2020-01-17 11:18:26 +00:00
jesopo
f6f87ad9df Merge branch 'master' into develop 2020-01-16 16:19:36 +00:00
jesopo
9b6a2ead46
Merge pull request #230 from MineRobber9000/patch-1
Fix empty fediverse display names
2020-01-16 16:18:15 +00:00
MineRobber___T
88e82f8f96
Fix empty display names 2020-01-16 11:17:48 -05:00
MineRobber___T
42b632eff3
Fix empty names
Specifically, botsin.space (for sure) returns a display name of `""`. Since that's not meaningful, I just added a check to replace the display name with the username if the display name is empty.
2020-01-16 11:13:23 -05:00
jesopo
05873a27bb v1.18.0-rc1 release 2020-01-16 13:17:30 +00:00
jesopo
16bc47d594 update CHANGELOG.md 2020-01-16 13:17:01 +00:00
jesopo
10006a9986 catching account-tag should be PRIORITY_HIGH 2020-01-16 09:50:37 +00:00
jesopo
c180900929 pay attention to account tag on PRIVMSGs 2020-01-16 09:47:57 +00:00
jesopo
aee21a03fe update CHANGELOG.md 2020-01-15 10:16:14 +00:00
jesopo
883d61041c tolerate spaces in dice modifiers 2020-01-14 10:48:09 +00:00
jesopo
21694c39a5 allow !part to work for "current channel" when op/!access 2020-01-13 20:06:32 +00:00
jesopo
7ede930f67 !maskfind should work in-channel too 2020-01-11 22:30:43 +00:00
jesopo
70d405ced6 boldify nickname in !maskfind output so it stands out 2020-01-11 22:28:46 +00:00
jesopo
70be211a16 show userhost as well as nickname in !maskfind output 2020-01-11 22:25:21 +00:00
jesopo
c19d20dec2 show total hostmasks searched in !maskfind output 2020-01-11 22:20:35 +00:00
jesopo
c526322bc0 show count of !maskfind results 2020-01-11 22:18:41 +00:00