aboutsummaryrefslogtreecommitdiff
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Disconnect on BOUNCER BIND errorSimon Ser2021-05-251-0/+8
|
* Add support for the soju.im/bouncer-networks extensionSimon Ser2021-05-251-0/+23
|
* Use ISUPPORT CHATHISTORY to discover max page sizeSimon Ser2021-05-111-5/+15
|
* Parse ISUPPORT tokens in clientSimon Ser2021-05-111-0/+6
|
* lib/irc: escape/unescape everything in tagsSimon Ser2021-03-091-2/+2
| | | | | | | | Without the greedy flag on the regexp, String.replace will just replace the first match. While at it, also make sure to convert to a string when formatting tag values. This allows tag values to be e.g. numbers.
* lib/irc: accept tags without valueSimon Ser2021-03-091-7/+11
|
* Trigger client error if server doesn't support SASLSimon Ser2021-03-091-1/+1
|
* Display server messages in server bufferSimon Ser2021-03-081-0/+4
| | | | References: https://todo.sr.ht/~emersion/gamja/21
* lib/client: log close codeSimon Ser2021-03-031-2/+3
|
* lib/client: extract fetchBatch function from roundtripChatHistorySimon Ser2021-03-031-22/+26
|
* lib/client: throw error in send if disconnectedSimon Ser2021-03-031-0/+3
|
* lib/client: reset state when websocket is closedSimon Ser2021-03-031-0/+4
|
* Make all resource paths relativeSimon Ser2021-03-022-5/+5
| | | | Closes: https://todo.sr.ht/~emersion/gamja/17
* Fix inverted condition in fetchHistoryBeforeSimon Ser2021-01-231-1/+1
|
* Fix undefined CHATHISTORY_PAGE_SIZESimon Ser2021-01-231-0/+10
|
* Log WebSocket constructor error in the consoleSimon Ser2021-01-221-0/+1
|
* Spread it like butterSimon Ser2021-01-221-1/+1
|
* Move chat history operations into ClientSimon Ser2021-01-221-0/+52
|
* Move auto-reconnect logic into ClientSimon Ser2021-01-221-3/+24
|
* Keep track of client status in ClientSimon Ser2021-01-221-18/+43
|
* Delay Client error eventSimon Ser2021-01-221-2/+4
| | | | | Right now the caller won't receive the event, because it's triggered before the function returns.
* Convert caps to lower caseSimon Ser2021-01-221-1/+3
|
* Extract network name from ISUPPORTSimon Ser2021-01-221-2/+2
|
* Add support for RPL_ISUPPORTSimon Ser2021-01-221-0/+19
|
* Ignore RPL_TOPICWHOTIMESimon Ser2020-09-031-0/+1
| | | | | We don't need this piece of information yet, and we don't want to clutter the server buffer with channel messages.
* Better handle registration errorsSimon Ser2020-08-252-5/+25
|
* Parse all CTCP messagesSimon Ser2020-08-131-0/+25
| | | | We display them nicely, however we never reply to them.
* lib/irc: make isHighlight operate on messagesSimon Ser2020-08-131-1/+9
| | | | Makes it easier to re-use elsewhere.
* Improve SASL error messageSimon Ser2020-08-101-2/+2
|
* Add error reporting on connect and main pagebbworld12020-08-081-6/+5
|
* Strip ANSI escape sequencesSimon Ser2020-08-041-0/+53
| | | | References: https://todo.sr.ht/~emersion/gamja/11
* Handle RPL_NOTOPICSimon Ser2020-08-031-0/+1
|
* Fetch all unread messages on reconnectSimon Ser2020-07-151-0/+22
|
* Mark FAIL as an errorSimon Ser2020-07-151-0/+2
|
* Implement chathistory supportSimon Ser2020-07-102-2/+54
|
* Remove outdated TODOSimon Ser2020-07-021-1/+0
|
* Reply to PINGSimon Ser2020-07-011-0/+3
|
* Print IRC error messages in redSimon Ser2020-06-291-0/+17
|
* Detect highlightsSimon Ser2020-06-291-0/+44
|
* Avoid String.prototype.replaceAllSimon Ser2020-06-281-9/+13
| | | | Not well supported in web browsers, except Firefox.
* Enable echo-messageSimon Ser2020-06-261-1/+1
|
* Add away indicatorSimon Ser2020-06-261-1/+1
|
* Request caps on CAP NEWSimon Ser2020-06-261-18/+25
|
* Parse RPL_MYINFOSimon Ser2020-06-261-0/+3
|
* Send WHO query when opening nick bufferSimon Ser2020-06-261-0/+2
|
* Linkify messagesSimon Ser2020-06-252-0/+31
|
* Add isChannelSimon Ser2020-06-241-0/+2
|
* Switch to reactSimon Ser2020-06-242-0/+6
| | | | | 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.
* Remove assets/Simon Ser2020-06-242-0/+415