summaryrefslogtreecommitdiff
path: root/irc/events.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-08-10Add support for soju.im/bouncer-networks-notifydelthas1-2/+3
This enables dynamic discovery of new and deleted networks. Fixes: https://todo.sr.ht/~taiite/senpai/71
2022-04-12Implement SEARCHdelthas1-0/+4
Also refactor ui/ to support overlays, temporary anonmyous buffers. See: https://github.com/emersion/soju/pull/39
2022-02-11Add support for the soju.im/read capability and READ commanddelthas1-0/+5
See: https://github.com/emersion/soju/blob/c7f0634ec8ee94425547b159bc36705582151012/doc/read.md
2022-02-10MONITOR user with whom we have an open bufferdelthas1-0/+8
2021-11-24Add support for draft/event-playbackdelthas1-0/+6
- Refactor formatting lines into a function - Store event times in the event - Refactor merging lines into a function - Always merge lines from the history, now that we will add mergeable lines with CHATHISTORY Successfully tested locally.
2021-11-19Add support for CHATHISTORY TARGETSdelthas1-0/+4
2021-10-24Support for soju.im/bouncer-networksHubert Hirtz1-0/+5
This patch also disable the highlight on reconnect. This might be an issue (the user would want to know when senpai is online again?), but with multiple connections, it's bothersome to have to unread all of them on start (it wasn't a problem with only one connection since it was read instantly). Now, lastbuffer.txt also contains the network ID, otherwise the user might end up on another buffer with the same name. This patch does not extend /r to support multiple networks (it will send the message to the latest query, whatever the current displayed network is).
2021-10-23Add support for the INVITE messageHubert Hirtz1-0/+6
2021-09-13Show mode changesHubert Hirtz1-0/+5
2021-07-14Print the channel topic on joindelthas1-0/+1
Fixes: #45
2021-07-13Switch to the buffer of a new user-requested channel joindelthas1-1/+2
2021-05-20Fix races conditionsHubert Hirtz1-29/+6
Refactor: - Split out reads/writes from irc.Session to irc.ChanInOut, - Message handling is now manual, messages must be passed to irc.Session.HandleMessage for its state to change, - Remove data-race-prone App.addLineNow (called from both the main eventLoop and irc loops) and add App.addStatusLine (to be called from the main event loop) and App.queueStatusLine (to be called from other goroutines). These two functions now write to both the current buffer and the home buffer, - add a irc.Typings.List function that locks the list of typings before accessing it. Changes as I went through the whole code... - CAP handling is fixed (especially CAP DEL and CAP ACK), - irc.Session now handles PREFIX, - unhandled messages are now shown, except for some rare cases where it's completely useless to show them.
2020-11-19Basic display of errorsHubert Hirtz1-0/+6
2020-10-19Show topic changesHubert Hirtz1-0/+7
Closes #34
2020-08-26General refactor yayHubert Hirtz1-28/+21
- Centralize message formatting - Make line formatting more flexible - Provide more information in irc events - Refactor command handling - Add a /help command - Make /me reply to last query if from home - Enforce argument for /me - Make BufferList and Editor public - Batch processing of IRC events
2020-08-24Improve query displayHubert Hirtz1-0/+1
- Print outgoing messages as "-> target" instead of self nick - Don't highlight messages
2020-08-19ui: Show unhandled messages in debug modeHubert Hirtz1-0/+1
2020-08-16irc: Use typing constantsHubert Hirtz1-6/+6
2020-08-15Remove UserEvent and ChannelEventHubert Hirtz1-37/+16
2020-08-05Show NICK changesHubert Hirtz1-4/+16
2020-08-05Add a -debug flag and show raw messagesHubert Hirtz1-0/+5
2020-08-01Show incoming NOTICEsHubert Hirtz1-0/+2
2020-06-23Display typing indicatorsHubert Hirtz1-0/+13
2020-06-13draft/chathistory support???Hubert Hirtz1-0/+5
2020-06-03Show JOIN and PARTsHubert Hirtz1-0/+2
2020-06-03Part Join TypingHubert Hirtz1-0/+9