aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor backlog fetching into functionSimon Ser2022-02-131-35/+45
|
* Prevent hole in history when reconnectingSimon Ser2022-02-131-1/+10
|
* Update stored unread status on READ messageSimon Ser2022-02-121-6/+9
|
* store: add note about comparison in Buffer.putSimon Ser2022-02-121-0/+2
|
* state: add isReceiptBeforeSimon Ser2022-02-122-8/+18
|
* keybindings: fix error on alt+hSimon Ser2022-02-123-17/+19
| | | | | | Fixes the following JS error: TypeError: e.setReceipt is not a function
* components/app: move lastErrorID declaration downSimon Ser2022-02-111-2/+2
| | | | | Move it right before App, rather than drown in-between unrelated functions.
* components/app: stop updating prevReadReceipt on READ messageSimon Ser2022-02-111-6/+5
| | | | | prevReadReceipt is used for the unread marker. Let's not update it before the user switches the current buffer.
* store: fix no-op read receipt update detectionSimon Ser2022-02-111-1/+1
| | | | If the old and new times are equal, the update is a no-op.
* Don't fetch backlog before read receiptSimon Ser2022-02-111-1/+9
|
* components/app: introduce getReceiptSimon Ser2022-02-111-6/+12
|
* components/app: close notifications when receiving READ messageSimon Ser2022-02-111-0/+8
|
* components/app: close notifications when switching bufferSimon Ser2022-02-111-1/+14
|
* components/app: make showNotification return null on errorSimon Ser2022-02-111-21/+25
| | | | | We'll do more involved stuff with notifications soon, and don't want to deal with buggy notification objects.
* components/app: include server ID in notification tagsSimon Ser2022-02-111-2/+2
|
* Add support for soju.im/readSimon Ser2022-02-113-7/+79
|
* Make delivery receipts follow read receiptsSimon Ser2022-02-111-0/+6
| | | | | | | | If a message has been read, it's been delivered. Fixes #23 at least partially. References: https://todo.sr.ht/~emersion/gamja/23
* Refactor receiptsSimon Ser2022-02-112-100/+61
| | | | | They are now saved in the buffer store to allow for proper server separation.
* Introduce isMessageBeforeReceiptSimon Ser2022-02-113-5/+18
|
* components/app: introduce receiptFromMessageSimon Ser2022-02-111-2/+12
|
* store: debounce buffer store savesSimon Ser2022-02-111-0/+13
|
* Fix unread marker going backSimon Ser2022-02-111-1/+1
| | | | | | Receipts must never go back in time. Fixes: c428e504fe9c ("Don't show unread marker for outgoing messages")
* components/app: make switchBuffer state changes atomicSimon Ser2022-02-111-6/+7
| | | | | Instead of calling App.setBufferState inside the App.setState callback invoked when the update is done, call State.updateBuffer.
* components/connect-form: make the server password field password-typeddelthas2022-02-111-1/+1
|
* Set min node version in package.jsonSimon Ser2022-02-102-0/+6
| | | | v14.13.0 is required for CommonJS named imports to work properly.
* fix ping after reconnectДамјан Георгиевски2022-02-042-4/+6
| | | | | | | | | client.setPingInterval was only called once in app.connect(), but client.disconnect() disables it, and the ping timer is never again set, even though the client can reconnect. the change passes the ping time as a parameter to the client, and the client calls setPingInterval() after a successful WS open event.
* components/buffer-header: fix dead space above descriptionSimon Ser2022-02-041-1/+1
|
* components/buffer-list: remove pointless temporary variableSimon Ser2022-02-041-3/+2
|
* state: add bouncerNetworks helpersSimon Ser2022-02-042-8/+17
|
* commands: add password param to /joindelthas2022-02-023-6/+14
|
* commands: add comment param to /kick usageSimon Ser2022-01-311-1/+1
|
* lib/irc: add missing Isupport.chanModesSimon Ser2022-01-311-3/+14
| | | | It was called by forEachChannelModeUpdate, but wasn't implemented.
* components/buffer: use browser locale for date-separatorxse2022-01-141-4/+1
|
* components/buffer: fix INVITE linkSimon Ser2022-01-101-5/+1
| | | | It was throwing a TypeError.
* commands: simplify /who usage stringSimon Ser2022-01-091-1/+1
| | | | As per https://modern.ircdocs.horse/#who-message
* components/help: use bold for command name onlySimon Ser2022-01-091-3/+3
|
* components/help: remove "/" keybinding, document middle mouse clickSimon Ser2022-01-091-7/+7
|
* Better handle long topics on small screen sizesIsaac Freund2022-01-071-0/+3
| | | | | | | | | | | | | | Currently long topics will cause the buffer header to take up an arbitrarily large percentage of the screen on mobile. Additionaly, long words like URLS are not broken and may cause the buffer header to extend outside of the viewport in the x direction, rendering the buffer content unreadable. This patch fixes these two issues by limiting the buffer header size to 20% of the viewport and breaking long words such as URLs if they would overflow. Fixes: https://todo.sr.ht/~emersion/gamja/129
* Display persistant command input on server bufferNoelle Leigh2021-12-212-5/+13
| | | | | | | | | | | | This commit changes the composer to not be read-only on the server buffer, which tells the user that they can send commands from that view. On the server buffer, the placeholder is changed to "Type a command (see /help)", which indicates to the user that this buffer only accepts commands, and gives them a hint for how to learn what commands are available. Implements: https://todo.sr.ht/~emersion/gamja/38
* state: fix prefix() call in MODE handlerSimon Ser2021-12-161-1/+1
| | | | | | Lost during a refactoring. Fixes: ab3d4dd66183 ("Refactor ISUPPORT handling")
* ci: fix deploy skipSimon Ser2021-12-161-1/+1
|
* Add away commandRafael Castillo2021-12-131-0/+11
|
* lib/irc: add CapRegistrySimon Ser2021-12-105-59/+90
|
* Add reconnect buttonSimon Ser2021-12-072-26/+20
|
* state: fix server bouncerNetIDSimon Ser2021-12-071-1/+1
| | | | Ooops.
* Move isBouncer props to server stateSimon Ser2021-12-075-17/+11
| | | | Avoids having to pass this around.
* Implement exponential backoff for reconnectionsSimon Ser2021-12-071-3/+40
| | | | Closes: https://todo.sr.ht/~emersion/gamja/118
* Refactor ISUPPORT handlingSimon Ser2021-12-077-83/+127
| | | | | | Add a helper class to parse ISUPPORT tokens. Instead of having manual ISUPPORT handling all over the place, use pre-processed values.
* lib/client: use Error objects for error eventsSimon Ser2021-12-062-24/+31
|
* Handle FAIL ACCOUNT_REQUIREDSimon Ser2021-12-061-3/+17
|