aboutsummaryrefslogtreecommitdiff
path: root/components/connect-form.js (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2022-02-25lib/irc: remove unnecessary non-breaking-space caseSimon Ser1-2/+0
Handled by the default case already.
2022-02-25lib/irc: add missing num range to alphaNum regexpSimon Ser1-1/+1
2022-02-21components/app: fix missing semicolonsSimon Ser1-2/+2
2022-02-18store: save buffer state when user navigates awaySimon Ser1-1/+8
Avoids loosing some state on page unload.
2022-02-16lib/irc: drop outdated CapRegistry TODOSimon Ser1-1/+0
2022-02-13Refactor backlog fetching into functionSimon Ser1-35/+45
2022-02-13Prevent hole in history when reconnectingSimon Ser1-1/+10
2022-02-12Update stored unread status on READ messageSimon Ser1-6/+9
2022-02-12store: add note about comparison in Buffer.putSimon Ser1-0/+2