Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Refactor backlog fetching into function | Simon Ser | 2022-02-13 | 1 | -35/+45 | |
| | ||||||
* | Prevent hole in history when reconnecting | Simon Ser | 2022-02-13 | 1 | -1/+10 | |
| | ||||||
* | Update stored unread status on READ message | Simon Ser | 2022-02-12 | 1 | -6/+9 | |
| | ||||||
* | state: add isReceiptBefore | Simon Ser | 2022-02-12 | 1 | -8/+5 | |
| | ||||||
* | keybindings: fix error on alt+h | Simon Ser | 2022-02-12 | 1 | -11/+1 | |
| | | | | | | Fixes the following JS error: TypeError: e.setReceipt is not a function | |||||
* | components/app: move lastErrorID declaration down | Simon Ser | 2022-02-11 | 1 | -2/+2 | |
| | | | | | Move it right before App, rather than drown in-between unrelated functions. | |||||
* | components/app: stop updating prevReadReceipt on READ message | Simon Ser | 2022-02-11 | 1 | -6/+5 | |
| | | | | | prevReadReceipt is used for the unread marker. Let's not update it before the user switches the current buffer. | |||||
* | Don't fetch backlog before read receipt | Simon Ser | 2022-02-11 | 1 | -1/+9 | |
| | ||||||
* | components/app: introduce getReceipt | Simon Ser | 2022-02-11 | 1 | -6/+12 | |
| | ||||||
* | components/app: close notifications when receiving READ message | Simon Ser | 2022-02-11 | 1 | -0/+8 | |
| | ||||||
* | components/app: close notifications when switching buffer | Simon Ser | 2022-02-11 | 1 | -1/+14 | |
| | ||||||
* | components/app: make showNotification return null on error | Simon Ser | 2022-02-11 | 1 | -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 tags | Simon Ser | 2022-02-11 | 1 | -2/+2 | |
| | ||||||
* | Add support for soju.im/read | Simon Ser | 2022-02-11 | 1 | -6/+76 | |
| | ||||||
* | Refactor receipts | Simon Ser | 2022-02-11 | 1 | -85/+39 | |
| | | | | | They are now saved in the buffer store to allow for proper server separation. | |||||
* | Introduce isMessageBeforeReceipt | Simon Ser | 2022-02-11 | 1 | -3/+3 | |
| | ||||||
* | components/app: introduce receiptFromMessage | Simon Ser | 2022-02-11 | 1 | -2/+12 | |
| | ||||||
* | Fix unread marker going back | Simon Ser | 2022-02-11 | 1 | -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 atomic | Simon Ser | 2022-02-11 | 1 | -6/+7 | |
| | | | | | Instead of calling App.setBufferState inside the App.setState callback invoked when the update is done, call State.updateBuffer. | |||||
* | fix ping after reconnect | Дамјан Георгиевски | 2022-02-04 | 1 | -4/+4 | |
| | | | | | | | | | 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. | |||||
* | state: add bouncerNetworks helpers | Simon Ser | 2022-02-04 | 1 | -8/+3 | |
| | ||||||
* | commands: add password param to /join | delthas | 2022-02-02 | 1 | -2/+2 | |
| | ||||||
* | Display persistant command input on server buffer | Noelle Leigh | 2021-12-21 | 1 | -3/+6 | |
| | | | | | | | | | | | | 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 | |||||
* | lib/irc: add CapRegistry | Simon Ser | 2021-12-10 | 1 | -8/+8 | |
| | ||||||
* | Add reconnect button | Simon Ser | 2021-12-07 | 1 | -0/+1 | |
| | ||||||
* | Move isBouncer props to server state | Simon Ser | 2021-12-07 | 1 | -10/+3 | |
| | | | | Avoids having to pass this around. | |||||
* | Refactor ISUPPORT handling | Simon Ser | 2021-12-07 | 1 | -6/+6 | |
| | | | | | | 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 events | Simon Ser | 2021-12-06 | 1 | -2/+15 | |
| | ||||||
* | Add Client.join, show join errors in popup | Simon Ser | 2021-12-04 | 1 | -2/+4 | |
| | ||||||
* | Disable debug logs in production | Simon Ser | 2021-12-01 | 1 | -0/+15 | |
| | | | | | | | | | | | console.debug logs cause some performance issues because the browser is forced to save the logged objects just in case the user opens the debugging tools. They can be force-enabled back by adding ?debug=1 to the URL. Only console.debug is disabled, console.log and other levels are a lot less verbose and still enabled by default. | |||||
* | Mark auth dialog as loading | Simon Ser | 2021-11-30 | 1 | -15/+23 | |
| | ||||||
* | Mark register/verify dialogs as loading | Simon Ser | 2021-11-30 | 1 | -4/+33 | |
| | ||||||
* | Add link to verify account next to VERIFICATION_REQUIRED message | Simon Ser | 2021-11-30 | 1 | -1/+7 | |
| | ||||||
* | Add support for draft/account-registration | Simon Ser | 2021-11-30 | 1 | -0/+65 | |
| | | | | A new UI to register and verify accounts is added. | |||||
* | Clear channel joined field when disconnected | Simon Ser | 2021-11-29 | 1 | -1/+16 | |
| | ||||||
* | Ignore RPL_AWAY | Simon Ser | 2021-11-23 | 1 | -0/+1 | |
| | ||||||
* | Add post-connect UI to login via SASL | Simon Ser | 2021-11-21 | 1 | -2/+42 | |
| | | | | | | | | If the server supports SASL and if we aren't logged in with any account, add a UI to authenticate via SASL. This allows users to login anonymously then login via SASL. This will also ease the draft/account-registration implementation. | |||||
* | Auto-dismiss client error on reconnect | Simon Ser | 2021-11-17 | 1 | -11/+31 | |
| | | | | References: https://todo.sr.ht/~emersion/gamja/74 | |||||
* | Properly handle port in irc:// URLs | Simon Ser | 2021-11-16 | 1 | -2/+25 | |
| | ||||||
* | Add UI to enable protocol handler | Simon Ser | 2021-11-16 | 1 | -0/+1 | |
| | ||||||
* | Don't stop fetching backlog on error | Simon Ser | 2021-11-10 | 1 | -2/+3 | |
| | | | | | | | Some servers allow fetching history from some targets but not others. Don't completely stop fetching chat history on error. The root cause was a variable shadowing in Client.fetchBatch. | |||||
* | Request WHO info w/ empty message list in switchBuffer | Simon Ser | 2021-11-08 | 1 | -11/+10 | |
| | ||||||
* | Don't auto-join without prompting user | Simon Ser | 2021-11-08 | 1 | -3/+14 | |
| | ||||||
* | Add "open" URL param | Simon Ser | 2021-11-08 | 1 | -17/+62 | |
| | | | | | This can be set to an irc:// URL to open. This is useful for bouncers. | |||||
* | Ask confirmation before JOIN on irc:// link click | Simon Ser | 2021-11-08 | 1 | -11/+7 | |
| | ||||||
* | Auto-join when adding new network on irc:// link click | Simon Ser | 2021-11-07 | 1 | -8/+40 | |
| | | | | Closes: https://todo.sr.ht/~emersion/gamja/111 | |||||
* | s/var/let/ | Simon Ser | 2021-11-07 | 1 | -1/+1 | |
| | ||||||
* | Disconnect previous server on connect re-submit | Simon Ser | 2021-11-07 | 1 | -0/+6 | |
| | ||||||
* | Keep track of channel join status | Simon Ser | 2021-11-05 | 1 | -4/+14 | |
| | | | | | This makes us behave better when we receive a self-PART message from the server. | |||||
* | Route self-NICK messages to server buffer | Simon Ser | 2021-11-03 | 1 | -0/+3 | |
| |