Commit Graph

75 Commits

Author SHA1 Message Date
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