aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Add nick to config.jsonSimon Ser2021-10-092-0/+5
|
* Add autoconnect to config.jsonSimon Ser2021-10-092-0/+6
|
* Don't allow overriding server URL if set in config.jsonSimon Ser2021-10-091-2/+2
| | | | This has security implications.
* Inherit from default connectParams in handleConfigSimon Ser2021-10-091-10/+4
| | | | | | | | When handleConfig is called, this.state.connectParams will be set to its default value. Inherit from it so that autoconnect isn't missing any. If we ever add a new connect parameter, we don't want an old localStorage to break connect() because it's missing the param.
* Add more type checks for config.jsonSimon Ser2021-10-091-2/+4
|
* lib/client: handle MONITOR without value in ISUPPORTSimon Ser2021-10-071-1/+5
|
* components/buffer: pretty-print RPL_CHANNELMODEIS and RPL_CREATIONTIMESimon Ser2021-10-062-1/+8
|
* components/buffer: add RPL_UMODEIS pretty-printingSimon Ser2021-10-052-0/+9
|
* Clear autojoin when loading autoconnectSimon Ser2021-09-211-0/+1
| | | | This is handled by the buffer store.
* Auto-join previous channels on reconnectSimon Ser2021-09-211-11/+23
| | | | Closes: https://todo.sr.ht/~emersion/gamja/47
* Upgrade dependenciesSimon Ser2021-09-212-64/+41
|
* Narrow down syncBufferUnread to new buffersSimon Ser2021-09-211-1/+5
| | | | | | syncBufferUnread might override the previous unread value. Closes: https://todo.sr.ht/~emersion/gamja/105
* Send WHO queries for saved user buffers after ISUPPORTSimon Ser2021-09-211-9/+12
| | | | This allows WHOX to be used.
* Drop dangling var keywordSimon Ser2021-09-211-1/+1
|
* Hide meaningless real namesSimon Ser2021-09-213-2/+21
|
* Fix duplicate declaration in State.handleMessageSimon Ser2021-09-211-1/+1
|
* Query WHO when switching to a user buffer without infoSimon Ser2021-09-211-0/+5
| | | | Closes: https://todo.sr.ht/~emersion/gamja/101
* Add support for WHOXSimon Ser2021-09-214-17/+105
| | | | This allows querying the account of the user.
* Display account nameSimon Ser2021-09-212-3/+11
|
* Add support for account-notifySimon Ser2021-09-213-0/+9
|
* Add tooltip with full date to timestamp componentSimon Ser2021-09-211-1/+8
|
* Add support for extended-joinSimon Ser2021-09-213-2/+23
|
* Display username/hostname in member listSimon Ser2021-09-212-0/+10
|
* Update user username/hostname on JOINSimon Ser2021-09-211-3/+15
|
* Update user on QUIT and NICKSimon Ser2021-09-212-2/+20
|
* Introduce per-server user mapSimon Ser2021-09-213-40/+49
| | | | | | This allows us to store information about users in a signle place, instead of putting it in user buffers. This is required to display metadata about users in the channel members list.
* Add State.create()Simon Ser2021-09-212-3/+8
|
* lib/irc: drop CRLF for outgoing messagesSimon Ser2021-09-181-1/+0
| | | | | | Trailing CRLF must not be included in WebSocket messages. Closes: https://todo.sr.ht/~emersion/gamja/104
* Fix double space introduced before last paramHubert Hirtz2021-09-171-1/+3
|
* store: fix undefined load call in Buffer.clearSimon Ser2021-09-131-1/+1
|
* lib/irc: fix formatMessage when last arg starts with colonSimon Ser2021-09-081-1/+1
| | | | Fixes: a51be5037d3f ("lib/irc: only add colon to trailing arg when necessary")
* lib/client: error out on unsupported WebSocket data typeSimon Ser2021-09-061-1/+8
|
* lib/client: remove WebSocket error event handlerSimon Ser2021-09-061-4/+9
| | | | | | The error event handler is useless, because the error event is never emitted without a close event, and doesn't give any details about the error.
* Get rid of a wild var keywordSimon Ser2021-09-061-1/+1
|
* Add support for chghostSimon Ser2021-09-062-0/+10
| | | | See https://ircv3.net/specs/extensions/chghost
* lib/irc: only add colon to trailing arg when necessarySimon Ser2021-09-061-4/+7
| | | | | | | | This mirrors go-irc's behavior: https://github.com/go-irc/irc/blob/7ba1a1858f5ee2a44f18501b486ec11dd1990018/parser.go#L374 Closes: https://todo.sr.ht/~emersion/gamja/103
* Don't show unread marker for outgoing messagesSimon Ser2021-08-301-1/+9
| | | | Closes: https://todo.sr.ht/~emersion/gamja/100
* Avoid sending empty MONITOR command on startupSimon Ser2021-08-301-1/+1
| | | | Closes: https://todo.sr.ht/~emersion/gamja/102
* Update buffer store when marking all buffers as readSimon Ser2021-08-251-0/+9
|
* Narrow down syncBufferUnread call to self-JOINSimon Ser2021-08-251-3/+3
|
* Open new buffer on self-messageSimon Ser2021-08-241-1/+3
| | | | Closes: https://todo.sr.ht/~emersion/gamja/96
* Rename buffer lastReadReceipt to prevReadReceiptSimon Ser2021-08-243-4/+4
| | | | | This field is intentionally behind the latest read receipt. Let's rename it to make that clearer.
* Don't drop unread marker in addMessageSimon Ser2021-08-242-3/+2
| | | | Closes: https://todo.sr.ht/~emersion/gamja/76
* Ignore server buffer in latestReceiptSimon Ser2021-08-241-0/+3
| | | | | When we've received RPL_WELCOME, latestReceipt will return the current time if we don't filter out the server buffer.
* Add support for MONITORSimon Ser2021-08-244-2/+82
|
* Auto-complete channel namesSimon Ser2021-08-231-0/+11
| | | | Closes: https://todo.sr.ht/~emersion/gamja/84
* Restore channel unread status from local storageSimon Ser2021-08-232-16/+28
| | | | | Closes: https://todo.sr.ht/~emersion/gamja/75 Closes: https://todo.sr.ht/~emersion/gamja/89
* Fix typoSimon Ser2021-08-231-1/+1
|
* Restore user query buffer unread statusSimon Ser2021-08-232-2/+30
|
* Restore opened user query buffersSimon Ser2021-08-232-2/+86
| | | | Closes: https://todo.sr.ht/~emersion/gamja/93