aboutsummaryrefslogtreecommitdiff
path: root/lib/client.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 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
|
* Better handle registration errorsSimon Ser2020-08-251-4/+16
|
* Improve SASL error messageSimon Ser2020-08-101-2/+2
|
* Add error reporting on connect and main pagebbworld12020-08-081-6/+5
|
* Fetch all unread messages on reconnectSimon Ser2020-07-151-0/+22
|
* Implement chathistory supportSimon Ser2020-07-101-2/+42
|
* Reply to PINGSimon Ser2020-07-011-0/+3
|
* 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
|
* Switch to reactSimon Ser2020-06-241-0/+1
| | | | | 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-241-0/+228