aboutsummaryrefslogtreecommitdiff
path: root/commands.js (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-10Upgrade linkifyjs to v4Simon Ser4-34/+30
2024-01-10Upgrade dependenciesSimon Ser1-472/+552
Leave preact and linkifyjs alone because they cause breakage.
2024-01-07doc/config-file: indicate where errors are loggedSimon Ser1-0/+5
2023-11-29Downgrade preact to 10.17.1Simon Ser1-3/+3
References: https://github.com/preactjs/preact/issues/4221
2023-11-28Downgrade preact to 10.18.2Simon Ser1-3/+3
References: https://github.com/preactjs/preact/issues/4221
2023-11-26Upgrade dependenciesSimon Ser1-668/+742
2023-11-26components/app: throttle our focus PINGsSimon Ser1-0/+8
2023-11-12doc/setup: add kimchi instructionsSimon Ser1-0/+14
2023-11-12doc/setup: improve gamja config instructions for webircgatewaySimon Ser1-2/+4
2023-11-12Move docs to a separate directorySimon Ser4-106/+116
2023-11-10components/buffer: drop duplicate MONITOR eventsSimon Ser1-4/+7
2023-10-21Set targets.default.context in package.jsonSimon Ser1-0/+1
parcel doesn't auto-detect that field properly due to "engines". Closes: https://todo.sr.ht/~emersion/gamja/158
2023-10-03Fix ReferenceError when adding new bouncer networkSimon Ser1-2/+2
Fixes the following: ReferenceError: can't access lexical declaration 'client' before initialization handleNetworkSubmit app.js:1868
2023-08-25Show MONITOR online/offline notifications in user buffersSimon Ser2-4/+24
We were only showing QUIT, which was weird because it wouldn't say when the user becomes online again. Use MONITOR instead.
2023-08-25state: simplify MONITOR reply handlingSimon Ser1-10/+1
2023-08-17Upgrade dependenciesSimon Ser1-2594/+1381
2023-08-17lib/client: ensure server prefix is never nullSimon Ser1-2/+4
Fixes a null deref in handleChatMessage, because incoming message prefixes are populated with the server's if null.
2023-06-23Send PING on window focusSimon Ser1-0/+11
References: https://todo.sr.ht/~emersion/gamja/148
2023-06-14components/switcher-form: match topics and realnamesSimon Ser1-6/+36
2023-06-08Add buffer switcherSimon Ser4-3/+202
2023-06-08components/help: fix typo for Ctrl key bindingsSimon Ser1-1/+1
2023-06-08store: fix undefined UnreadSimon Ser1-1/+1
2023-06-08Keep closed buffers in storeSimon Ser2-13/+28
This retains their delivery receipts. Closes: https://todo.sr.ht/~emersion/gamja/154
2023-04-19state: handle WHO replies in bulkSimon Ser1-17/+22
2023-04-19components/app: prevent multiple WHO channel commands in parallelSimon Ser1-3/+11
References: https://todo.sr.ht/~emersion/gamja/152
2023-04-19Migrate to async/awaitSimon Ser3-131/+123
2023-04-19lib/irc: add formatURLSimon Ser4-16/+18
2023-04-04Upgrade dependenciesSimon Ser1-898/+943
2023-04-04store: fix clearing buffers for a specific serverSimon Ser1-1/+1
2023-04-04store: protect against dup buffersSimon Ser1-0/+6
2023-04-04store: stop matching server URL and nickSimon Ser1-5/+1
This was supposed to accomodate for multi-server support, but to be honest this is out of scope for gamja. Closes: https://todo.sr.ht/~emersion/gamja/151
2023-03-21lib/client: encode empty SASL response as "+"Simon Ser1-1/+1
2023-03-13readme: document default for server.url in config.jsonSimon Ser1-1/+1
2023-03-10Don't perform OAuth redirection after server meteadata errorSimon Ser1-0/+1
2023-02-17components/app: ensure msg.tags is initializedGiorgi Taba Kobakhidze1-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
2023-01-31components/composer: focus composer on keydown if a link is activeSimon Ser1-2/+8
Fixes message not typed after clicking on a link.
2023-01-16Upgrade dependenciesSimon Ser1-1000/+1134
2023-01-10components: Use onInput instead of onChangeJuan Cruz Orioli7-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
2022-12-02Fix stripping hex color formattingdelthas1-1/+23
Hex colors can be set with the same formats as the regular colors: <CODE>, <CODE><COLOR>, or <CODE><COLOR>,<COLOR>. Previously we only supporteed <CODE><COLOR>. This patch enables stripping colors for all valid color formats. Co-authored-by: Simon Ser <contact@emersion.fr>
2022-11-30Skip regular chat message handling for infinite scrollSimon Ser1-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.
2022-11-30Move msg.tags fallback to clientSimon Ser2-3/+3
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