Commit Graph

41 Commits

Author SHA1 Message Date
Simon Ser 8a5e52ed9a Rename buffer lastReadReceipt to prevReadReceipt
This field is intentionally behind the latest read receipt. Let's
rename it to make that clearer.
2021-08-24 14:01:57 +02:00
Simon Ser 429450e060 Handle RPL_INVITING 2021-06-24 18:01:24 +02:00
Simon Ser ef50e62498 Add STATUSMSG indicator
Closes: https://todo.sr.ht/~emersion/gamja/65
2021-06-11 11:18:29 +02:00
Simon Ser 8972130252 s/var/let/ 2021-06-10 18:11:11 +02:00
Simon Ser 63773f99ee Add Notification workaround for Chrome on Android
Closes: https://todo.sr.ht/~emersion/gamja/78
2021-06-10 17:08:24 +02:00
Simon Ser 20f20b18df Linkify MOTD 2021-06-10 12:09:07 +02:00
Simon Ser 63a71e5f5d Add support for incoming INVITE messages 2021-06-03 11:04:32 +02:00
Tom Lebreux 0bcd044f10 Linkify channel names 2021-06-01 09:37:35 +02:00
Simon Ser 2c1e4b7bea Fix commas in folded NICK messages 2021-05-31 14:08:30 +02:00
Simon Ser b0671fe336 Group folded events by type 2021-05-31 10:35:34 +02:00
Simon Ser ce239e5785 Improve FoldGroup key and shouldComponentUpdate 2021-05-31 10:35:34 +02:00
Simon Ser 8b20b463ff Display last event time when folding messages 2021-05-31 10:35:34 +02:00
Simon Ser 2bc89a6655 Filter out PART → JOIN pairs 2021-05-31 10:35:34 +02:00
Simon Ser 64674bdd9f Fold unimportant messages together 2021-05-31 10:35:34 +02:00
Simon Ser e080e87cb7 Pretty-print MOTD 2021-05-28 10:50:42 +02:00
Drew DeVault a0c85c3372 Handle incoming MODE messages in appropriate buffer 2021-05-27 18:01:58 +02:00
Drew DeVault d34bff9ed6 Implement /kick and KICK handling in buffers 2021-05-27 10:58:57 +02:00
Simon Ser eaf3b0a5ac Fix TypeError when clicking on nick in buffer 2021-03-03 09:41:19 +01:00
Simon Ser 80e0175d36 Make all resource paths relative
Closes: https://todo.sr.ht/~emersion/gamja/17
2021-03-02 22:46:48 +01:00
Simon Ser a83d3f7425 Improve scroll position save/restore mechanism 2021-03-02 20:48:49 +01:00
Simon Ser 57ca2c44ad Add unread message separator
Closes: https://todo.sr.ht/~emersion/gamja/4
2020-09-03 11:51:52 +02:00
Simon Ser b23f55a840 Format NOTICE messages differently
Use dashes instead of angle brackets for NOTICE to be able to tell them
apart from regular PRIVMSG messages.
2020-08-17 15:08:37 +02:00
Simon Ser 0f2d1c3e71 Add date separators to buffer
Closes: https://todo.sr.ht/~emersion/gamja/5
2020-08-13 19:00:56 +02:00
Simon Ser bce216b7fb Parse all CTCP messages
We display them nicely, however we never reply to them.
2020-08-13 16:04:39 +02:00
Simon Ser 9cc44fbe98 Display messages with a highlight differently 2020-08-13 12:02:05 +02:00
Simon Ser 96c890f1f5 Strip ANSI escape sequences
References: https://todo.sr.ht/~emersion/gamja/11
2020-08-04 14:25:05 +02:00
Simon Ser 0d9f7f35f0 Add message URLs, unify URL generation 2020-07-15 18:47:33 +02:00
Simon Ser b40fc76e82 Use strict equality comparison in shouldComponentUpdate 2020-07-13 11:03:34 +02:00
Simon Ser 8809fdcd6a Optimize Buffer
Convert to classes and implement shouldComponentUpdate to avoid
re-rendering elements unnecessarily.
2020-07-09 23:36:03 +02:00
Simon Ser 44b1f28cb6 Handle QUIT messages 2020-07-08 18:39:24 +02:00
Simon Ser 1131ca05ee Only nag about notifications in server buffer 2020-07-01 11:58:30 +02:00
Simon Ser 99004165f2 Print IRC error messages in red 2020-06-29 14:29:31 +02:00
Simon Ser 2f284f183a Open notification on new highlight 2020-06-29 11:50:42 +02:00
Simon Ser 73f14f38fa Add key attr to log lines 2020-06-28 15:13:06 +02:00
Simon Ser 74b720c131 Convert server/channel/nick links to irc:// scheme 2020-06-26 11:07:01 +02:00
Simon Ser 7a1d9c48cc Fix unclickable nick in NICK message 2020-06-25 21:28:04 +02:00
Simon Ser c05af5bb6d Make nick links clickable 2020-06-25 18:45:41 +02:00
Simon Ser 2bb8f68f6f Linkify messages 2020-06-25 17:27:24 +02:00
Simon Ser 78002c22ee Fix buffer and buffer list padding 2020-06-25 14:26:33 +02:00
Simon Ser 9223953e3a Store message date in addMessage 2020-06-24 17:16:49 +02:00
Simon Ser b449ace4b4 Switch to react
Under the hood, preact is used to reduce dependency size. We still don't
have a build stage, so htm is used instead of JSX.
2020-06-24 14:37:49 +02:00