Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | lib/client: introduce IRCError | Simon Ser | 2021-12-04 | 1 | -5/+19 | |
| | ||||||
* | Disable debug logs in production | Simon Ser | 2021-12-01 | 1 | -2/+7 | |
| | | | | | | | | | | | console.debug logs cause some performance issues because the browser is forced to save the logged objects just in case the user opens the debugging tools. They can be force-enabled back by adding ?debug=1 to the URL. Only console.debug is disabled, console.log and other levels are a lot less verbose and still enabled by default. | |||||
* | Add support for draft/account-registration | Simon Ser | 2021-11-30 | 1 | -0/+50 | |
| | | | | A new UI to register and verify accounts is added. | |||||
* | Ignore RPL_AWAY | Simon Ser | 2021-11-23 | 1 | -0/+1 | |
| | ||||||
* | lib/client: make authenticate() return a promise | Simon Ser | 2021-11-21 | 1 | -19/+32 | |
| | | | | This lets the caller handle the success/failure. | |||||
* | lib/client: send BOUNCER BIND and CAP END immediately | Simon Ser | 2021-11-21 | 1 | -27/+24 | |
| | | | | Don't wait for auth to finish. This reduces the number of roundtrips. | |||||
* | lib/client: catch handleMessage errors | Simon Ser | 2021-11-21 | 1 | -1/+9 | |
| | ||||||
* | lib/client: always request sasl cap when available | Simon Ser | 2021-11-21 | 1 | -10/+9 | |
| | | | | This will allow us to issue post-registration SASL commands. | |||||
* | lib/client: don't disconnect on SASL error if registered | Simon Ser | 2021-11-21 | 1 | -1/+3 | |
| | | | | | This will let users try multiple auth attempts when we'll implement post-registration auth. | |||||
* | lib/client: remove one roundtrip during SASL auth | Simon Ser | 2021-11-21 | 1 | -26/+29 | |
| | | | | | Instead of waiting for the server's empty challenge, send two AUTHENTICATE commands in a row. | |||||
* | lib/client: don't error out if SASL isn't available on RPL_WELCOME | Simon Ser | 2021-11-19 | 1 | -1/+3 | |
| | | | | | Some servers (soju) might remove the sasl cap on connection registration. | |||||
* | lib/irc: fix handling for prefixes without host | Simon Ser | 2021-11-15 | 1 | -16/+16 | |
| | | | | name!user is a valid prefix. | |||||
* | Store WHO list in RPL_ENDOFWHO | Simon Ser | 2021-11-10 | 1 | -0/+7 | |
| | | | | | This allows the state-tracker to figure out whether a WHO query returned no result. | |||||
* | Only allow one WHO command at a time | Simon Ser | 2021-11-10 | 1 | -22/+31 | |
| | | | | Closes: https://todo.sr.ht/~emersion/gamja/120 | |||||
* | Don't stop fetching backlog on error | Simon Ser | 2021-11-10 | 1 | -1/+2 | |
| | | | | | | | Some servers allow fetching history from some targets but not others. Don't completely stop fetching chat history on error. The root cause was a variable shadowing in Client.fetchBatch. | |||||
* | Add support for draft/extended-monitor | Simon Ser | 2021-11-09 | 1 | -0/+1 | |
| | | | | References: https://github.com/ircv3/ircv3-specifications/pull/466 | |||||
* | Auto-join when adding new network on irc:// link click | Simon Ser | 2021-11-07 | 1 | -0/+12 | |
| | | | | Closes: https://todo.sr.ht/~emersion/gamja/111 | |||||
* | lib/client: use Client.isMyNick to handle self-NICK messages | Simon Ser | 2021-11-03 | 1 | -1/+1 | |
| | | | | This handles case-mapping. | |||||
* | lib/irc: add "fullname" to isMeaningfulRealname | Simon Ser | 2021-11-02 | 1 | -1/+1 | |
| | ||||||
* | lib/client: fix missing account in WHOX | Simon Ser | 2021-11-02 | 1 | -0/+4 | |
| | ||||||
* | lib/client: generalize pendingWHOIS, store list in ENDOF* messages | Simon Ser | 2021-10-23 | 1 | -14/+31 | |
| | | | | | This allows processing a list of replies atomically and receiving the ENDOF* marker. | |||||
* | lib/client: rename whoisDB to pendingWHOIS, garbage collect | Simon Ser | 2021-10-23 | 1 | -6/+12 | |
| | ||||||
* | lib/irc: extend parseURL to support flags and skip auth + options | Simon Ser | 2021-10-20 | 1 | -9/+45 | |
| | ||||||
* | Avoid using `export * as namespace` | Simon Ser | 2021-10-18 | 1 | -1/+2 | |
| | | | | This isn't supported by Safari. | |||||
* | Unescape ISUPPORT values | Simon Ser | 2021-10-18 | 1 | -1/+8 | |
| | | | | | | This allows ISUPPORT values to contain spaces. References: https://github.com/ircdocs/modern-irc/pull/137 | |||||
* | lib/irc: "unknown" is not a meaningful realname | Simon Ser | 2021-10-15 | 1 | -1/+1 | |
| | ||||||
* | Use linkifyjs module | Simon Ser | 2021-10-14 | 1 | -3/+1 | |
| | ||||||
* | Handle IRC URLs without channel name | Simon Ser | 2021-10-13 | 1 | -4/+4 | |
| | ||||||
* | Handle click on irc:// channel URLs inside buffers | Simon Ser | 2021-10-13 | 2 | -24/+35 | |
| | | | | References: https://todo.sr.ht/~emersion/gamja/71 | |||||
* | Switch from anchorme to linkifyjs | Simon Ser | 2021-10-13 | 2 | -45/+62 | |
| | ||||||
* | Add support for SASL EXTERNAL | Simon Ser | 2021-10-12 | 1 | -4/+13 | |
| | | | | | Can be useful when the server is using e.g. a cookie for authentication purposes. | |||||
* | lib/client: handle MONITOR without value in ISUPPORT | Simon Ser | 2021-10-07 | 1 | -1/+5 | |
| | ||||||
* | components/buffer: pretty-print RPL_CHANNELMODEIS and RPL_CREATIONTIME | Simon Ser | 2021-10-06 | 1 | -1/+1 | |
| | ||||||
* | components/buffer: add RPL_UMODEIS pretty-printing | Simon Ser | 2021-10-05 | 1 | -0/+1 | |
| | ||||||
* | Hide meaningless real names | Simon Ser | 2021-09-21 | 1 | -0/+17 | |
| | ||||||
* | Add support for WHOX | Simon Ser | 2021-09-21 | 2 | -3/+84 | |
| | | | | This allows querying the account of the user. | |||||
* | Add support for account-notify | Simon Ser | 2021-09-21 | 1 | -0/+1 | |
| | ||||||
* | Add support for extended-join | Simon Ser | 2021-09-21 | 1 | -0/+1 | |
| | ||||||
* | lib/irc: drop CRLF for outgoing messages | Simon Ser | 2021-09-18 | 1 | -1/+0 | |
| | | | | | | Trailing CRLF must not be included in WebSocket messages. Closes: https://todo.sr.ht/~emersion/gamja/104 | |||||
* | Fix double space introduced before last param | Hubert Hirtz | 2021-09-17 | 1 | -1/+3 | |
| | ||||||
* | lib/irc: fix formatMessage when last arg starts with colon | Simon Ser | 2021-09-08 | 1 | -1/+1 | |
| | | | | Fixes: a51be5037d3f ("lib/irc: only add colon to trailing arg when necessary") | |||||
* | lib/client: error out on unsupported WebSocket data type | Simon Ser | 2021-09-06 | 1 | -1/+8 | |
| | ||||||
* | lib/client: remove WebSocket error event handler | Simon Ser | 2021-09-06 | 1 | -4/+9 | |
| | | | | | | The error event handler is useless, because the error event is never emitted without a close event, and doesn't give any details about the error. | |||||
* | Add support for chghost | Simon Ser | 2021-09-06 | 1 | -0/+1 | |
| | | | | See https://ircv3.net/specs/extensions/chghost | |||||
* | lib/irc: only add colon to trailing arg when necessary | Simon Ser | 2021-09-06 | 1 | -4/+7 | |
| | | | | | | | | This mirrors go-irc's behavior: https://github.com/go-irc/irc/blob/7ba1a1858f5ee2a44f18501b486ec11dd1990018/parser.go#L374 Closes: https://todo.sr.ht/~emersion/gamja/103 | |||||
* | Avoid sending empty MONITOR command on startup | Simon Ser | 2021-08-30 | 1 | -1/+1 | |
| | | | | Closes: https://todo.sr.ht/~emersion/gamja/102 | |||||
* | Add support for MONITOR | Simon Ser | 2021-08-24 | 2 | -1/+51 | |
| | ||||||
* | lib/client: fix caps with equal sign in value | Simon Ser | 2021-07-04 | 1 | -6/+6 | |
| | | | | CAP=a=b wouldn't parse correctly. | |||||
* | Handle RPL_INVITING | Simon Ser | 2021-06-24 | 1 | -0/+1 | |
| | ||||||
* | Treat server broadcasts as highlights | Simon Ser | 2021-06-23 | 1 | -0/+7 | |
| |