Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Handle CHATHISTORY messages when reaching end of batch | Simon Ser | 2022-04-22 | 2 | -9/+16 | |
| | | | | Closes: https://todo.sr.ht/~emersion/gamja/115 | |||||
* | commands: fix TypeError in kickban | Simon Ser | 2022-04-14 | 1 | -15/+17 | |
| | | | | The ban variable was undefined. | |||||
* | Upgrade dependencies | Simon Ser | 2022-02-26 | 1 | -10977/+1384 | |
| | ||||||
* | Convert remaining simple quotes to double quotes | Simon Ser | 2022-02-26 | 3 | -4/+4 | |
| | ||||||
* | lib/irc: fix bound check in isHighlight | Simon Ser | 2022-02-25 | 1 | -1/+1 | |
| | | | | | Doesn't seem like this was causing any issues, but let's fix the logic regardless. | |||||
* | lib/irc: remove unnecessary non-breaking-space case | Simon Ser | 2022-02-25 | 1 | -2/+0 | |
| | | | | Handled by the default case already. | |||||
* | lib/irc: add missing num range to alphaNum regexp | Simon Ser | 2022-02-25 | 1 | -1/+1 | |
| | ||||||
* | components/app: fix missing semicolons | Simon Ser | 2022-02-21 | 1 | -2/+2 | |
| | ||||||
* | store: save buffer state when user navigates away | Simon Ser | 2022-02-18 | 1 | -1/+8 | |
| | | | | Avoids loosing some state on page unload. | |||||
* | lib/irc: drop outdated CapRegistry TODO | Simon Ser | 2022-02-16 | 1 | -1/+0 | |
| | ||||||
* | 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 | |
| | ||||||
* | store: add note about comparison in Buffer.put | Simon Ser | 2022-02-12 | 1 | -0/+2 | |
| | ||||||
* | state: add isReceiptBefore | Simon Ser | 2022-02-12 | 2 | -8/+18 | |
| | ||||||
* | keybindings: fix error on alt+h | Simon Ser | 2022-02-12 | 3 | -17/+19 | |
| | | | | | | 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. | |||||
* | store: fix no-op read receipt update detection | Simon Ser | 2022-02-11 | 1 | -1/+1 | |
| | | | | If the old and new times are equal, the update is a no-op. | |||||
* | 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 | 3 | -7/+79 | |
| | ||||||
* | Make delivery receipts follow read receipts | Simon Ser | 2022-02-11 | 1 | -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 receipts | Simon Ser | 2022-02-11 | 2 | -100/+61 | |
| | | | | | They are now saved in the buffer store to allow for proper server separation. | |||||
* | Introduce isMessageBeforeReceipt | Simon Ser | 2022-02-11 | 3 | -5/+18 | |
| | ||||||
* | components/app: introduce receiptFromMessage | Simon Ser | 2022-02-11 | 1 | -2/+12 | |
| | ||||||
* | store: debounce buffer store saves | Simon Ser | 2022-02-11 | 1 | -0/+13 | |
| | ||||||
* | 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. | |||||
* | components/connect-form: make the server password field password-typed | delthas | 2022-02-11 | 1 | -1/+1 | |
| | ||||||
* | Set min node version in package.json | Simon Ser | 2022-02-10 | 2 | -0/+6 | |
| | | | | v14.13.0 is required for CommonJS named imports to work properly. | |||||
* | fix ping after reconnect | Дамјан Георгиевски | 2022-02-04 | 2 | -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 description | Simon Ser | 2022-02-04 | 1 | -1/+1 | |
| | ||||||
* | components/buffer-list: remove pointless temporary variable | Simon Ser | 2022-02-04 | 1 | -3/+2 | |
| | ||||||
* | state: add bouncerNetworks helpers | Simon Ser | 2022-02-04 | 2 | -8/+17 | |
| | ||||||
* | commands: add password param to /join | delthas | 2022-02-02 | 3 | -6/+14 | |
| | ||||||
* | commands: add comment param to /kick usage | Simon Ser | 2022-01-31 | 1 | -1/+1 | |
| | ||||||
* | lib/irc: add missing Isupport.chanModes | Simon Ser | 2022-01-31 | 1 | -3/+14 | |
| | | | | It was called by forEachChannelModeUpdate, but wasn't implemented. | |||||
* | components/buffer: use browser locale for date-separator | xse | 2022-01-14 | 1 | -4/+1 | |
| | ||||||
* | components/buffer: fix INVITE link | Simon Ser | 2022-01-10 | 1 | -5/+1 | |
| | | | | It was throwing a TypeError. | |||||
* | commands: simplify /who usage string | Simon Ser | 2022-01-09 | 1 | -1/+1 | |
| | | | | As per https://modern.ircdocs.horse/#who-message | |||||
* | components/help: use bold for command name only | Simon Ser | 2022-01-09 | 1 | -3/+3 | |
| | ||||||
* | components/help: remove "/" keybinding, document middle mouse click | Simon Ser | 2022-01-09 | 1 | -7/+7 | |
| | ||||||
* | Better handle long topics on small screen sizes | Isaac Freund | 2022-01-07 | 1 | -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 buffer | Noelle Leigh | 2021-12-21 | 2 | -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 handler | Simon Ser | 2021-12-16 | 1 | -1/+1 | |
| | | | | | | Lost during a refactoring. Fixes: ab3d4dd66183 ("Refactor ISUPPORT handling") |