aboutsummaryrefslogtreecommitdiff
path: root/components (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add support for OAuth 2.0 authenticationSimon Ser2022-10-142-2/+96
|
* components/connect-form: autofocus username fieldSimon Ser2022-09-121-0/+1
|
* components/app: switch off loading state atomicallySimon Ser2022-09-121-3/+1
| | | | | Set connectParams together with loading, to avoid intermediate state where loading = false but connectParams isn't set yet.
* Display error in loading stateSimon Ser2022-09-121-1/+5
|
* Add config option to generate random nicknameSimon Ser2022-09-121-0/+8
| | | | Closes: https://todo.sr.ht/~emersion/gamja/136
* Remove unnecessary if in App.handleConfigSimon Ser2022-09-121-25/+23
| | | | | config.json is merged with baseConfig. The latter is guaranteed to contain a "server" field.
* Disallow server.{autoconnect,auth} mismatch in config.jsonSimon Ser2022-09-121-0/+5
| | | | This combination doesn't make sense.
* components/buffer-list: show buffers with errors in redSimon Ser2022-09-051-1/+10
|
* Sort lists with localeCompareNolan Prescott2022-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | The difference in case sensitivity is the most obvious change with servers like soju that support CASEMAPPING ascii and rfc1459. Currently the list: 'Alpha', 'aardvark', 'Charlie', 'comma' currently sorts to: 'Alpha', 'Charlie', 'aardvark', 'comma' with this change it will instead become: 'aardvark', 'Alpha', 'Charlie', 'comma' If something like RFC 7613 gets broader support then there are a few more differences for a list like: 'éclair', 'ecstatic, 'aardvark', 'zed', 'Gamma' currently sorts to: 'Gamma', 'aardvark', 'ecstatic', 'zed', 'éclair' with this patch would instead sort to: 'aardvark', 'éclair', 'ecstatic', 'Gamma', 'zed' The above examples were run with a locale unspecified which fell back to my browser/host default of 'en'.
* Drop support for soju.im/readSimon Ser2022-09-031-2/+0
| | | | It's been superseded by draft/read-marker.
* Fix ignored MARKREAD messagesSimon Ser2022-09-031-1/+1
| | | | | | | The prefix is a remnant of the soju extension. The IRCv3 one doesn't have it. Fixes: 1428ec4d4991 ("Add support for draft/read-marker")
* Fetch read marker before backlog for user targetsSimon Ser2022-09-031-0/+6
|
* Limit composer lengthSimon Ser2022-08-282-0/+6
| | | | Often times IRC servers will truncate messages which are too big.
* Make use of destBuffers when fetching history.xse2022-08-221-1/+1
| | | | Fixes an issue where messages intended to go on the server's buffer end up on their own
* Ignore RPL_CHANNEL_URLSimon Ser2022-08-221-0/+1
|
* components/app: don't open buffer for CTCP messagesSimon Ser2022-08-221-2/+13
| | | | | These are usually completely uninteresting messages, e.g. CTCP VERSION or whatever.
* Add support for draft/read-markerSimon Ser2022-07-011-10/+6
| | | | References: https://github.com/ircv3/ircv3-specifications/pull/489
* components/buffer: show disclaimer for +draft/channel-context messagesSimon Ser2022-06-281-0/+4
|
* Support @+draft/channel-contextdelthas2022-06-281-1/+6
| | | | See: https://github.com/ircv3/ircv3-specifications/pull/498
* components/buffer-header: fix duplicate settings buttonSimon Ser2022-06-281-1/+0
|
* Add button to enable protocol handler in settingsSimon Ser2022-06-272-1/+40
|
* Add a setting for seconds in timestampsSimon Ser2022-06-273-7/+41
|
* components/buffer-header: print bouncer network error if anySimon Ser2022-06-091-0/+3
|
* Add a settings dialogSimon Ser2022-06-084-19/+129
| | | | | | Add an option to hide chat events or always expand them. Closes: https://todo.sr.ht/~emersion/gamja/73
* Fix ping config lost in ConnectFormSimon Ser2022-06-081-0/+7
| | | | | Reported-by: xse <xse@riseup.net> References: https://lists.sr.ht/~emersion/public-inbox/patches/32126
* components/app: switch to server buffer on close only if activeUmar Getagazov2022-06-081-1/+3
| | | | | If the buffer that's being closed is not the active one, there's no point in switching the user away to another buffer.
* Add support for bot modeSimon Ser2022-06-081-0/+4
| | | | References: https://ircv3.net/specs/extensions/bot-mode
* components/scroll-manager: don't crash when Buffer is emptySimon Ser2022-04-221-0/+3
|
* Update webpage title when switching bufferSimon Ser2022-04-221-0/+12
|
* Handle CHATHISTORY messages when reaching end of batchSimon Ser2022-04-221-7/+14
| | | | Closes: https://todo.sr.ht/~emersion/gamja/115
* Convert remaining simple quotes to double quotesSimon Ser2022-02-263-4/+4
|
* components/app: fix missing semicolonsSimon Ser2022-02-211-2/+2
|
* 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
|
* state: add isReceiptBeforeSimon Ser2022-02-121-8/+5
|
* keybindings: fix error on alt+hSimon Ser2022-02-121-11/+1
| | | | | | 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.
* 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-111-6/+76
|
* Refactor receiptsSimon Ser2022-02-111-85/+39
| | | | | They are now saved in the buffer store to allow for proper server separation.
* Introduce isMessageBeforeReceiptSimon Ser2022-02-112-5/+5
|
* components/app: introduce receiptFromMessageSimon Ser2022-02-111-2/+12
|
* 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")