Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Disable debug logs in production | Simon Ser | 2021-12-01 | 3 | -2/+23 | |
| | | | | | | | | | | | 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 usage message to development server | Simon Ser | 2021-12-01 | 2 | -3/+22 | |
| | ||||||
* | Add custom developement server | Simon Ser | 2021-12-01 | 4 | -336/+217 | |
| | | | | | This implements a tiny WebSocket proxy useful for development purposes. | |||||
* | Mark auth dialog as loading | Simon Ser | 2021-11-30 | 1 | -15/+23 | |
| | ||||||
* | Mark register/verify dialogs as loading | Simon Ser | 2021-11-30 | 2 | -5/+36 | |
| | ||||||
* | Show "Manage network" even if upstream is disconnected | Simon Ser | 2021-11-30 | 1 | -0/+2 | |
| | | | | Fixes: 86853eb2e552 ("components/buffer-header: hide action buttons when disconnected") | |||||
* | Add link to verify account next to VERIFICATION_REQUIRED message | Simon Ser | 2021-11-30 | 2 | -3/+20 | |
| | ||||||
* | Add support for draft/account-registration | Simon Ser | 2021-11-30 | 6 | -13/+278 | |
| | | | | A new UI to register and verify accounts is added. | |||||
* | Improve noscript UI appearance | Drew DeVault | 2021-11-29 | 2 | -1/+8 | |
| | ||||||
* | Linkify error messages | Simon Ser | 2021-11-29 | 2 | -2/+3 | |
| | | | | | Sometimes servers will put links and channels in their error messages. Make it easy for users to click them. | |||||
* | Clear channel joined field when disconnected | Simon Ser | 2021-11-29 | 1 | -1/+16 | |
| | ||||||
* | components/buffer-header: hide action buttons when disconnected | Simon Ser | 2021-11-29 | 1 | -27/+45 | |
| | ||||||
* | components/member-list: re-render on State.users update | Simon Ser | 2021-11-28 | 1 | -2/+4 | |
| | ||||||
* | Dim away users in member list | Simon Ser | 2021-11-28 | 2 | -1/+10 | |
| | | | | References: https://todo.sr.ht/~emersion/gamja/13 | |||||
* | Add embedded Content-Security-Policy | Simon Ser | 2021-11-27 | 1 | -0/+1 | |
| | | | | | | | | | | Add a baseline CSP applicable to all gamja deployments. Resources can only be loaded from the current host, frames and objects are disallowed, and scripts are allowed to connect to any host (to allow cross-site WebSocket connections). If the server returns a different CSP via an HTTP header, the effective CSP will be the intersection. | |||||
* | readme: add nginx file server directive | Simon Ser | 2021-11-27 | 1 | -0/+4 | |
| | ||||||
* | components/connect-form: replace auto-join text field with checkbox | Simon Ser | 2021-11-27 | 1 | -28/+21 | |
| | | | | | | | The intent of the auto-join field is to ask the user whether they really want to join the pre-filled channel. Users rarely want to customize this field, they can just manually click "Join" after connecting if they want to join another channel. | |||||
* | Ignore RPL_AWAY | Simon Ser | 2021-11-23 | 2 | -0/+2 | |
| | ||||||
* | Add post-connect UI to login via SASL | Simon Ser | 2021-11-21 | 4 | -3/+120 | |
| | | | | | | | | If the server supports SASL and if we aren't logged in with any account, add a UI to authenticate via SASL. This allows users to login anonymously then login via SASL. This will also ease the draft/account-registration implementation. | |||||
* | 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. | |||||
* | state: add account to server | Simon Ser | 2021-11-21 | 1 | -0/+5 | |
| | ||||||
* | 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. | |||||
* | commands: Add LIST command | Cara Salter | 2021-11-18 | 1 | -0/+8 | |
| | | | | Signed-off-by: Cara Salter <cara@devcara.com> | |||||
* | Avoid inline script in index.html | Simon Ser | 2021-11-17 | 2 | -6/+5 | |
| | | | | This helps Parcel generate a proper standalone JS bundle. | |||||
* | ci: fix deploy branch check again, exclude config.json | Simon Ser | 2021-11-17 | 1 | -2/+3 | |
| | ||||||
* | ci: fix deploy branch check | Simon Ser | 2021-11-17 | 1 | -1/+1 | |
| | ||||||
* | ci: add deploy task | Simon Ser | 2021-11-17 | 1 | -0/+8 | |
| | ||||||
* | ci: add .build.yml | Simon Ser | 2021-11-17 | 1 | -0/+10 | |
| | ||||||
* | readme: add link to IRC channel | Simon Ser | 2021-11-17 | 1 | -1/+2 | |
| | ||||||
* | Auto-dismiss client error on reconnect | Simon Ser | 2021-11-17 | 1 | -11/+31 | |
| | | | | References: https://todo.sr.ht/~emersion/gamja/74 | |||||
* | Properly handle port in irc:// URLs | Simon Ser | 2021-11-16 | 1 | -2/+25 | |
| | ||||||
* | Reword ProtocolHandlerNagger message | Simon Ser | 2021-11-16 | 1 | -2/+4 | |
| | ||||||
* | Add UI to enable protocol handler | Simon Ser | 2021-11-16 | 3 | -0/+46 | |
| | ||||||
* | 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 | 2 | -6/+8 | |
| | | | | | 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 | 2 | -3/+5 | |
| | | | | | | | 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 | |||||
* | Always insert non-chathistory messages at the end | Simon Ser | 2021-11-09 | 1 | -1/+1 | |
| | ||||||
* | Request WHO info w/ empty message list in switchBuffer | Simon Ser | 2021-11-08 | 1 | -11/+10 | |
| | ||||||
* | Don't auto-join without prompting user | Simon Ser | 2021-11-08 | 1 | -3/+14 | |
| | ||||||
* | Add "open" URL param | Simon Ser | 2021-11-08 | 2 | -17/+64 | |
| | | | | | This can be set to an irc:// URL to open. This is useful for bouncers. | |||||
* | Ask confirmation before JOIN on irc:// link click | Simon Ser | 2021-11-08 | 2 | -11/+11 | |
| | ||||||
* | Auto-join when adding new network on irc:// link click | Simon Ser | 2021-11-07 | 3 | -9/+72 | |
| | | | | Closes: https://todo.sr.ht/~emersion/gamja/111 | |||||
* | s/var/let/ | Simon Ser | 2021-11-07 | 1 | -1/+1 | |
| |