Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of codeberg:emersion/gamja | Runxi Yu | 2024-08-15 | 1 | -1/+1 |
|\ | |||||
| * | lib/irc: remove stray hardcoded constant | Simon Ser | 2024-08-13 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' of codeberg:emersion/gamja | Runxi Yu | 2024-07-25 | 2 | -8/+25 |
|\| | |||||
| * | lib/client: add support for AUTHENTICATE chunking | Simon Ser | 2024-06-30 | 2 | -8/+25 |
| | | | | | | | | | | SASL responses need to be split into 400 byte chunks before being sent to the server. | ||||
* | | Merge branch 'master' of https://git.sr.ht/~emersion/gamja | Runxi Yu | 2024-06-27 | 2 | -2/+11 |
|\| | |||||
| * | Hide replies to our own internal WHO commands | Simon Ser | 2024-04-17 | 1 | -1/+6 |
| | | | | | | | | References: https://todo.sr.ht/~emersion/gamja/88 | ||||
| * | lib/client: fix number of field check in RPL_WHOSPCRPL | Simon Ser | 2024-04-17 | 1 | -1/+1 |
| | | | | | | | | The first field is the client. | ||||
| * | Add support for soju.im/filehost | Simon Ser | 2024-04-16 | 1 | -0/+4 |
| | | | | | | | | | | | | For now, only handle paste events containing files. Co-authored-by: Alex McGrath <amk@amk.ie> | ||||
* | | Revert "lib/client.js: hardcode username" | Ferass El Hafidi | 2024-04-18 | 1 | -1/+1 |
| | | | | | | | | This reverts commit fb16317f66b6861fe9a541823db99066813547df. | ||||
* | | lib/client: 'fix' error reporting | Ferass El Hafidi | 2024-03-24 | 1 | -4/+0 |
| | | |||||
* | | lib/client: add delay before AUTHENTICATE <base64> and CAP END | Ferass El Hafidi | 2024-03-24 | 1 | -2/+6 |
| | | | | | | | | This hack fixes SASL login on InspIRCd. | ||||
* | | lib/client: disable batch cap | Ferass El Hafidi | 2024-03-22 | 1 | -1/+0 |
| | | | | | | | | | | This fixes chat history on InspIRCd. XXX: Hacky 'solution' | ||||
* | | lib/client.js: hardcode username | Ferass El Hafidi | 2024-03-22 | 1 | -1/+1 |
|/ | |||||
* | lib/irc: fix whitespace RegExp test in isURIPrefix | Simon Ser | 2024-03-13 | 1 | -2/+2 |
| | |||||
* | lib/irc: fix assignment to undefined variable in isURIPrefix | Simon Ser | 2024-03-07 | 1 | -1/+1 |
| | |||||
* | lib/irc: fix whitespace split in isURIPrefix | Simon Ser | 2024-03-07 | 1 | -3/+5 |
| | | | | We want to get the last index of whitespace, not the first one. | ||||
* | lib/irc: ignore highlights in URLs | Simon Ser | 2024-03-02 | 1 | -1/+25 |
| | |||||
* | lib/client: print raw messages in debug mode | Simon Ser | 2024-03-01 | 1 | -4/+7 |
| | | | | | Browser consoles aren't super helpful in general and just show the command name, require extra clicks to see the params. | ||||
* | lib/linkify: add geo URI scheme | Simon Ser | 2024-01-10 | 1 | -0/+1 |
| | |||||
* | Upgrade linkifyjs to v4 | Simon Ser | 2024-01-10 | 2 | -29/+25 |
| | |||||
* | lib/client: ensure server prefix is never null | Simon Ser | 2023-08-17 | 1 | -2/+4 |
| | | | | | Fixes a null deref in handleChatMessage, because incoming message prefixes are populated with the server's if null. | ||||
* | Migrate to async/await | Simon Ser | 2023-04-19 | 1 | -39/+33 |
| | |||||
* | lib/irc: add formatURL | Simon Ser | 2023-04-19 | 1 | -0/+11 |
| | |||||
* | lib/client: encode empty SASL response as "+" | Simon Ser | 2023-03-21 | 1 | -1/+1 |
| | |||||
* | Fix stripping hex color formatting | delthas | 2022-12-02 | 1 | -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> | ||||
* | Move msg.tags fallback to client | Simon Ser | 2022-11-30 | 1 | -0/+3 |
| | |||||
* | lib/client: unify checks for chathistory end | Simon Ser | 2022-11-30 | 1 | -1/+1 |
| | |||||
* | Use ratified extended-monitor cap name | Simon Ser | 2022-11-06 | 1 | -0/+1 |
| | | | | References: https://github.com/ircv3/ircv3-specifications/pull/508 | ||||
* | Add support for OAuth 2.0 authentication | Simon Ser | 2022-10-14 | 2 | -0/+116 |
| | |||||
* | Drop support for soju.im/read | Simon Ser | 2022-09-03 | 1 | -14/+3 |
| | | | | It's been superseded by draft/read-marker. | ||||
* | Fix draft/read-marker cap not negotiated | Simon Ser | 2022-09-03 | 1 | -0/+1 |
| | | | | Fixes: 1428ec4d4991 ("Add support for draft/read-marker") | ||||
* | Fetch read marker before backlog for user targets | Simon Ser | 2022-09-03 | 1 | -0/+5 |
| | |||||
* | Limit composer length | Simon Ser | 2022-08-28 | 1 | -0/+30 |
| | | | | Often times IRC servers will truncate messages which are too big. | ||||
* | Ignore RPL_CHANNEL_URL | Simon Ser | 2022-08-22 | 1 | -0/+1 |
| | |||||
* | Add support for draft/read-marker | Simon Ser | 2022-07-01 | 1 | -0/+28 |
| | | | | References: https://github.com/ircv3/ircv3-specifications/pull/489 | ||||
* | Workaround the sad state of base64 web APIs | Simon Ser | 2022-06-24 | 2 | -2/+45 |
| | | | | | This is necessary to make usernames/passwords with UTF-8 in them work correctly. | ||||
* | Add a settings dialog | Simon Ser | 2022-06-08 | 1 | -1/+4 |
| | | | | | | Add an option to hide chat events or always expand them. Closes: https://todo.sr.ht/~emersion/gamja/73 | ||||
* | Add support for bot mode | Simon Ser | 2022-06-08 | 1 | -0/+4 |
| | | | | References: https://ircv3.net/specs/extensions/bot-mode | ||||
* | Handle CHATHISTORY messages when reaching end of batch | Simon Ser | 2022-04-22 | 1 | -2/+2 |
| | | | | Closes: https://todo.sr.ht/~emersion/gamja/115 | ||||
* | lib/irc: fix bound check in isHighlight | Simon Ser | 2022-02-25 | 1 | -1/+1 |
| | | | | | Doesn't seem like this was causing any issues, but let's fix the logic regardless. | ||||
* | lib/irc: remove unnecessary non-breaking-space case | Simon Ser | 2022-02-25 | 1 | -2/+0 |
| | | | | Handled by the default case already. | ||||
* | lib/irc: add missing num range to alphaNum regexp | Simon Ser | 2022-02-25 | 1 | -1/+1 |
| | |||||
* | lib/irc: drop outdated CapRegistry TODO | Simon Ser | 2022-02-16 | 1 | -1/+0 |
| | |||||
* | Add support for soju.im/read | Simon Ser | 2022-02-11 | 1 | -0/+1 |
| | |||||
* | fix ping after reconnect | Дамјан Георгиевски | 2022-02-04 | 1 | -0/+2 |
| | | | | | | | | | client.setPingInterval was only called once in app.connect(), but client.disconnect() disables it, and the ping timer is never again set, even though the client can reconnect. the change passes the ping time as a parameter to the client, and the client calls setPingInterval() after a successful WS open event. | ||||
* | commands: add password param to /join | delthas | 2022-02-02 | 1 | -2/+6 |
| | |||||
* | lib/irc: add missing Isupport.chanModes | Simon Ser | 2022-01-31 | 1 | -3/+14 |
| | | | | It was called by forEachChannelModeUpdate, but wasn't implemented. | ||||
* | lib/irc: add CapRegistry | Simon Ser | 2021-12-10 | 2 | -48/+78 |
| | |||||
* | Implement exponential backoff for reconnections | Simon Ser | 2021-12-07 | 1 | -3/+40 |
| | | | | Closes: https://todo.sr.ht/~emersion/gamja/118 | ||||
* | Refactor ISUPPORT handling | Simon Ser | 2021-12-07 | 2 | -63/+99 |
| | | | | | | Add a helper class to parse ISUPPORT tokens. Instead of having manual ISUPPORT handling all over the place, use pre-processed values. |