aboutsummaryrefslogtreecommitdiff
path: root/components (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Uploader, and Password (SASL)Runxi Yu2024-08-151-2/+2
|
* Merge branch 'master' of codeberg:emersion/gamjaRunxi Yu2024-07-251-7/+7
|\
| * components/scroll-manager: relax scroll checkSimon Ser2024-07-021-1/+1
| | | | | | | | See https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight#determine_if_an_element_has_been_totally_scrolled
| * components/scroll-manager: use getSnapshotBeforeUpdateSimon Ser2024-07-021-6/+6
| | | | | | | | componentWillReceiveProps is deprecated.
* | Merge branch 'master' of https://git.sr.ht/~emersion/gamjaRunxi Yu2024-06-273-28/+220
|\|
| * components/app: warn when username is missing for OAuth introspectionSimon Ser2024-06-251-0/+3
| | | | | | | | Makes things easier to debug.
| * components/app: fix STATUSMSG NOTICE when target buffer is closedSimon Ser2024-04-301-7/+8
| |
| * components/app: update prevReadReceipt only when switching bufferSimon Ser2024-04-251-9/+8
| | | | | | | | | | We don't want the unread separator to move around when the tab gets focus, for instance.
| * Show number of highlights in window titlesitting332024-04-251-2/+24
| | | | | | | | | | Co-authored-by: Simon Ser <contact@emersion.fr> Closes: https://todo.sr.ht/~emersion/gamja/134
| * components/app: include bouncer network name in window titleSimon Ser2024-04-251-3/+17
| | | | | | | | Co-authored-by: sitting33 <me@sit.sh>
| * components/app: introduce updateDocumentTitle()Simon Ser2024-04-251-5/+10
| | | | | | | | | | The logic in here will get more involved once we add unread counts and such.
| * Don't mark messages as read when window is not in focussitting332024-04-251-1/+6
| |
| * components/app: split switchBuffer() and markBufferAsRead()sitting332024-04-251-23/+38
| | | | | | | | We'll want to mark as read independently in response to focus events.
| * Hide replies to our own internal WHO commandsSimon Ser2024-04-171-0/+6
| | | | | | | | References: https://todo.sr.ht/~emersion/gamja/88
| * Add support for soju.im/filehostSimon Ser2024-04-162-0/+89
| | | | | | | | | | | | For now, only handle paste events containing files. Co-authored-by: Alex McGrath <amk@amk.ie>
| * components/buffer: fold NICK change chainsSimon Ser2024-03-291-1/+34
| |
* | components/connect-form: say 'rx' instead of 'IRC'Ferass El Hafidi2024-03-231-1/+1
|/
* components/buffer-list: show realname as tooltipSimon Ser2024-02-202-3/+13
|
* components/buffer: show realname as tooltipSimon Ser2024-02-201-3/+22
|
* components/help: always show autocomplete keybindSimon Ser2024-02-151-3/+5
|
* components/help: add autocompleteSimon Ser2024-02-151-0/+3
|
* components/app: throttle our focus PINGsSimon Ser2023-11-261-0/+8
|
* components/buffer: drop duplicate MONITOR eventsSimon Ser2023-11-101-4/+7
|
* Fix ReferenceError when adding new bouncer networkSimon Ser2023-10-031-2/+2
| | | | | | | Fixes the following: ReferenceError: can't access lexical declaration 'client' before initialization handleNetworkSubmit app.js:1868
* Show MONITOR online/offline notifications in user buffersSimon Ser2023-08-252-4/+24
| | | | | We were only showing QUIT, which was weird because it wouldn't say when the user becomes online again. Use MONITOR instead.
* Send PING on window focusSimon Ser2023-06-231-0/+11
| | | | References: https://todo.sr.ht/~emersion/gamja/148
* components/switcher-form: match topics and realnamesSimon Ser2023-06-141-6/+36
|
* Add buffer switcherSimon Ser2023-06-082-0/+161
|
* components/help: fix typo for Ctrl key bindingsSimon Ser2023-06-081-1/+1
|
* Keep closed buffers in storeSimon Ser2023-06-081-12/+20
| | | | | | This retains their delivery receipts. Closes: https://todo.sr.ht/~emersion/gamja/154
* components/app: prevent multiple WHO channel commands in parallelSimon Ser2023-04-191-3/+11
| | | | References: https://todo.sr.ht/~emersion/gamja/152
* Migrate to async/awaitSimon Ser2023-04-191-83/+82
|
* lib/irc: add formatURLSimon Ser2023-04-192-5/+4
|
* Don't perform OAuth redirection after server meteadata errorSimon Ser2023-03-101-0/+1
|
* components/app: ensure msg.tags is initializedGiorgi Taba Kobakhidze2023-02-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the following error when sending a message on a server without echo-message: Uncaught TypeError: t.tags is undefined prepareChatMessage app.js:602 handleChatMessage app.js:616 privmsg app.js:1514 handleComposerSubmit app.js:1535 handleSubmit composer.js:30 Preact 15 handleMessage app.js:1013 connect app.js:791 handleMessage client.js:448 reconnect client.js:176 reconnect client.js:174 Yt client.js:151 connect app.js:754 handleConnectSubmit app.js:1279 handleSubmit connect-form.js:74 Preact 16 handleConfig app.js:382 <anonymous> app.js:238 promise callback* app.js:237 Preact 4 <anonymous> main.js:4
* components/composer: focus composer on keydown if a link is activeSimon Ser2023-01-311-2/+8
| | | | Fixes message not typed after clicking on a link.
* components: Use onInput instead of onChangeJuan Cruz Orioli2023-01-107-21/+21
| | | | | | | This is one of the differences between React and Preact: https://preactjs.com/guide/v10/differences-to-react/#use-oninput-instead-of-onchange Closes: https://todo.sr.ht/~emersion/gamja/128
* Skip regular chat message handling for infinite scrollSimon Ser2022-11-301-10/+44
| | | | | | | | Infinite scroll is special: it shouldn't trigger notifications. Additionally we need to avoid sending on MARKREAD command per message in the chathistory batch. Split chat message handling into separate functions.
* Move msg.tags fallback to clientSimon Ser2022-11-301-3/+0
|
* Make first server check more robust when disconnectingSimon Ser2022-11-301-1/+2
| | | | A disconnect/reconnect cycle will bump the server ID.
* Close settings dialog when disconnectingSimon Ser2022-11-301-2/+8
|
* Remove unnecessary whoChannelBuffer() callSimon Ser2022-10-231-3/+1
| | | | | switchBuffer() will do that already, no need to do it manually here. We risk sending two duplicate WHO commands.
* Load initial members state via WHO when channel is selectedSimon Ser2022-10-231-1/+17
| | | | Closes: https://todo.sr.ht/~emersion/gamja/13
* 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.