aboutsummaryrefslogtreecommitdiff
path: root/components (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* components/app: make switchBuffer state changes atomicSimon Ser2022-02-111-6/+7
| | | | | Instead of calling App.setBufferState inside the App.setState callback invoked when the update is done, call State.updateBuffer.
* components/connect-form: make the server password field password-typeddelthas2022-02-111-1/+1
|
* fix ping after reconnectДамјан Георгиевски2022-02-041-4/+4
| | | | | | | | | 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.
* components/buffer-list: remove pointless temporary variableSimon Ser2022-02-041-3/+2
|
* state: add bouncerNetworks helpersSimon Ser2022-02-041-8/+3
|
* commands: add password param to /joindelthas2022-02-021-2/+2
|
* components/buffer: use browser locale for date-separatorxse2022-01-141-4/+1
|
* components/buffer: fix INVITE linkSimon Ser2022-01-101-5/+1
| | | | It was throwing a TypeError.
* components/help: use bold for command name onlySimon Ser2022-01-091-3/+3
|
* components/help: remove "/" keybinding, document middle mouse clickSimon Ser2022-01-091-7/+7
|
* Display persistant command input on server bufferNoelle Leigh2021-12-212-5/+13
| | | | | | | | | | | | This commit changes the composer to not be read-only on the server buffer, which tells the user that they can send commands from that view. On the server buffer, the placeholder is changed to "Type a command (see /help)", which indicates to the user that this buffer only accepts commands, and gives them a hint for how to learn what commands are available. Implements: https://todo.sr.ht/~emersion/gamja/38
* lib/irc: add CapRegistrySimon Ser2021-12-101-8/+8
|
* Add reconnect buttonSimon Ser2021-12-072-26/+20
|
* Move isBouncer props to server stateSimon Ser2021-12-074-15/+7
| | | | Avoids having to pass this around.
* Refactor ISUPPORT handlingSimon Ser2021-12-074-14/+14
| | | | | | Add a helper class to parse ISUPPORT tokens. Instead of having manual ISUPPORT handling all over the place, use pre-processed values.
* lib/client: use Error objects for error eventsSimon Ser2021-12-061-2/+15
|
* Add Client.join, show join errors in popupSimon Ser2021-12-041-2/+4
|
* components/buffer-header: fix missing "join" button for parted channelSimon Ser2021-12-031-4/+4
|
* Disable debug logs in productionSimon Ser2021-12-011-0/+15
| | | | | | | | | | | 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.
* Mark auth dialog as loadingSimon Ser2021-11-301-15/+23
|
* Mark register/verify dialogs as loadingSimon Ser2021-11-302-5/+36
|
* Show "Manage network" even if upstream is disconnectedSimon Ser2021-11-301-0/+2
| | | | Fixes: 86853eb2e552 ("components/buffer-header: hide action buttons when disconnected")
* Add link to verify account next to VERIFICATION_REQUIRED messageSimon Ser2021-11-302-3/+20
|
* Add support for draft/account-registrationSimon Ser2021-11-304-12/+217
| | | | A new UI to register and verify accounts is added.
* Linkify error messagesSimon Ser2021-11-292-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 disconnectedSimon Ser2021-11-291-1/+16
|
* components/buffer-header: hide action buttons when disconnectedSimon Ser2021-11-291-27/+45
|
* components/member-list: re-render on State.users updateSimon Ser2021-11-281-2/+4
|
* Dim away users in member listSimon Ser2021-11-281-1/+7
| | | | References: https://todo.sr.ht/~emersion/gamja/13
* components/connect-form: replace auto-join text field with checkboxSimon Ser2021-11-271-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_AWAYSimon Ser2021-11-231-0/+1
|
* Add post-connect UI to login via SASLSimon Ser2021-11-213-3/+117
| | | | | | | | 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.
* Auto-dismiss client error on reconnectSimon Ser2021-11-171-11/+31
| | | | References: https://todo.sr.ht/~emersion/gamja/74
* Properly handle port in irc:// URLsSimon Ser2021-11-161-2/+25
|
* Reword ProtocolHandlerNagger messageSimon Ser2021-11-161-2/+4
|
* Add UI to enable protocol handlerSimon Ser2021-11-162-0/+45
|
* Don't stop fetching backlog on errorSimon Ser2021-11-101-2/+3
| | | | | | | 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.
* Request WHO info w/ empty message list in switchBufferSimon Ser2021-11-081-11/+10
|
* Don't auto-join without prompting userSimon Ser2021-11-081-3/+14
|
* Add "open" URL paramSimon Ser2021-11-081-17/+62
| | | | | This can be set to an irc:// URL to open. This is useful for bouncers.
* Ask confirmation before JOIN on irc:// link clickSimon Ser2021-11-082-11/+11
|
* Auto-join when adding new network on irc:// link clickSimon Ser2021-11-072-9/+60
| | | | Closes: https://todo.sr.ht/~emersion/gamja/111
* s/var/let/Simon Ser2021-11-071-1/+1
|
* Disconnect previous server on connect re-submitSimon Ser2021-11-071-0/+6
|
* De-duplicate nicks in folded JOIN/PART/QUIT linesSimon Ser2021-11-051-4/+4
|
* Keep track of channel join statusSimon Ser2021-11-052-11/+35
| | | | | This makes us behave better when we receive a self-PART message from the server.
* components/buffer: show MODE target if different from buffer nameSimon Ser2021-11-031-2/+7
| | | | This happens for user modes, for instance.
* Route self-NICK messages to server bufferSimon Ser2021-11-031-0/+3
|
* Route user MODE messages to server bufferSimon Ser2021-11-031-1/+1
|
* components/buffer-header: add help text for user detailsSimon Ser2021-11-031-5/+18
| | | | | | This makes it easier for users new to IRC to figure out what these things mean. Additionally, it's not possible for a malicious user to spoof the <abbr> style.