aboutsummaryrefslogtreecommitdiff
path: root/lib/client.js (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-11-30Make first server check more robust when disconnectingSimon Ser1-1/+2
A disconnect/reconnect cycle will bump the server ID.
2022-11-30Close settings dialog when disconnectingSimon Ser1-2/+8
2022-11-30lib/client: unify checks for chathistory endSimon Ser1-1/+1
2022-11-06Use ratified extended-monitor cap nameSimon Ser1-0/+1
References: https://github.com/ircv3/ircv3-specifications/pull/508
2022-10-23Remove unnecessary whoChannelBuffer() callSimon Ser1-3/+1
switchBuffer() will do that already, no need to do it manually here. We risk sending two duplicate WHO commands.
2022-10-23Load initial members state via WHO when channel is selectedSimon Ser2-1/+18
Closes: https://todo.sr.ht/~emersion/gamja/13
2022-10-14Add support for OAuth 2.0 authenticationSimon Ser5-4/+228
2022-09-18Upgrade dependenciesSimon Ser1-1101/+1110
2022-09-12components/connect-form: autofocus username fieldSimon Ser1-0/+1
2022-09-12components/app: switch off loading state atomicallySimon Ser1-3/+1
Set connectParams together with loading, to avoid intermediate state where loading = false but connectParams isn't set yet.
2022-09-12Display error in loading stateSimon Ser1-1/+5
2022-09-12Add config option to generate random nicknameSimon Ser2-1/+10
Closes: https://todo.sr.ht/~emersion/gamja/136
2022-09-12Remove unnecessary if in App.handleConfigSimon Ser1-25/+23
config.json is merged with baseConfig. The latter is guaranteed to contain a "server" field.
2022-09-12Disallow server.{autoconnect,auth} mismatch in config.jsonSimon Ser1-0/+5
This combination doesn't make sense.
2022-09-05components/buffer-list: show buffers with errors in redSimon Ser2-1/+13
2022-09-05Sort lists with localeCompareNolan Prescott2-2/+2
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'.
2022-09-03Drop support for soju.im/readSimon Ser2-16/+3
It's been superseded by draft/read-marker.
2022-09-03Fix draft/read-marker cap not negotiatedSimon Ser1-0/+1
Fixes: 1428ec4d4991 ("Add support for draft/read-marker")
2022-09-03Fix ignored MARKREAD messagesSimon Ser1-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")
2022-09-03Fetch read marker before backlog for user targetsSimon Ser2-0/+11
2022-08-28Limit composer lengthSimon Ser3-0/+36
Often times IRC servers will truncate messages which are too big.
2022-08-22Make use of destBuffers when fetching history.xse1-1/+1
Fixes an issue where messages intended to go on the server's buffer end up on their own
2022-08-22Ignore RPL_CHANNEL_URLSimon Ser2-0/+2
2022-08-22components/app: don't open buffer for CTCP messagesSimon Ser1-2/+13
These are usually completely uninteresting messages, e.g. CTCP VERSION or whatever.
2022-07-11Update dependenciesSimon Ser1-1049/+1072
2022-07-09ci: deploy to new serverSimon Ser1-2/+2
2022-07-08ci: fix deploy hostSimon Ser1-1/+1
emersion.fr is now an alias for the new server. gamja hasn't been migrated yet.
2022-07-01Add support for draft/read-markerSimon Ser2-10/+34
References: https://github.com/ircv3/ircv3-specifications/pull/489
2022-07-01Use monospace on <input> tooArik1-0/+2
It looks like having "font-family: monospace" on <body> doesn't set it for <input> too.
2022-06-28components/buffer: show disclaimer for +draft/channel-context messagesSimon Ser1-0/+4
2022-06-28Support @+draft/channel-contextdelthas1-1/+6
See: https://github.com/ircv3/ircv3-specifications/pull/498
2022-06-28components/buffer-header: fix duplicate settings buttonSimon Ser1-1/+0
2022-06-27Fix invalid relative importSimon Ser1-1/+1
Worked locally because it's served at the root…
2022-06-27Add button to enable protocol handler in settingsSimon Ser3-1/+48
2022-06-27Add a setting for seconds in timestampsSimon Ser4-7/+45
2022-06-24Workaround the sad state of base64 web APIsSimon Ser2-2/+45
This is necessary to make usernames/passwords with UTF-8 in them work correctly.
2022-06-14Upgrade dependenciesSimon Ser1-2019/+1746
2022-06-09components/buffer-header: print bouncer network error if anySimon Ser1-0/+3
2022-06-08Add a settings dialogSimon Ser7-20/+143
Add an option to hide chat events or always expand them. Closes: https://todo.sr.ht/~emersion/gamja/73
2022-06-08Fix ping config lost in ConnectFormSimon Ser1-0/+7
Reported-by: xse <xse@riseup.net> References: https://lists.sr.ht/~emersion/public-inbox/patches/32126
2022-06-08components/app: switch to server buffer on close only if activeUmar Getagazov1-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.
2022-06-08Add support for bot modeSimon Ser3-0/+12
References: https://ircv3.net/specs/extensions/bot-mode
2022-04-22components/scroll-manager: don't crash when Buffer is emptySimon Ser1-0/+3
2022-04-22store: use lower-case for buffer keysSimon Ser1-2/+3
2022-04-22Update webpage title when switching bufferSimon Ser1-0/+12
2022-04-22Handle CHATHISTORY messages when reaching end of batchSimon Ser2-9/+16
Closes: https://todo.sr.ht/~emersion/gamja/115
2022-04-14commands: fix TypeError in kickbanSimon Ser1-15/+17
The ban variable was undefined.
2022-02-26Upgrade dependenciesSimon Ser1-10977/+1384
2022-02-26Convert remaining simple quotes to double quotesSimon Ser3-4/+4
2022-02-25lib/irc: fix bound check in isHighlightSimon Ser1-1/+1
Doesn't seem like this was causing any issues, but let's fix the logic regardless.