aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Upgrade dependenciesSimon Ser2023-01-161-1000/+1134
|
* components: Use onInput instead of onChangeJuan Cruz Orioli2023-01-107-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
* Fix stripping hex color formattingdelthas2022-12-021-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>
* Skip regular chat message handling for infinite scrollSimon Ser2022-11-301-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.
* Move msg.tags fallback to clientSimon Ser2022-11-302-3/+3
|
* Make first server check more robust when disconnectingSimon Ser2022-11-301-1/+2
| | | | A disconnect/reconnect cycle will bump the server ID.
* Close settings dialog when disconnectingSimon Ser2022-11-301-2/+8
|
* lib/client: unify checks for chathistory endSimon Ser2022-11-301-1/+1
|
* Use ratified extended-monitor cap nameSimon Ser2022-11-061-0/+1
| | | | References: https://github.com/ircv3/ircv3-specifications/pull/508
* Remove unnecessary whoChannelBuffer() callSimon Ser2022-10-231-3/+1
| | | | | switchBuffer() will do that already, no need to do it manually here. We risk sending two duplicate WHO commands.
* Load initial members state via WHO when channel is selectedSimon Ser2022-10-232-1/+18
| | | | Closes: https://todo.sr.ht/~emersion/gamja/13
* Add support for OAuth 2.0 authenticationSimon Ser2022-10-145-4/+228
|
* Upgrade dependenciesSimon Ser2022-09-181-1101/+1110
|
* components/connect-form: autofocus username fieldSimon Ser2022-09-121-0/+1
|
* components/app: switch off loading state atomicallySimon Ser2022-09-121-3/+1
| | | | | Set connectParams together with loading, to avoid intermediate state where loading = false but connectParams isn't set yet.
* Display error in loading stateSimon Ser2022-09-121-1/+5
|
* Add config option to generate random nicknameSimon Ser2022-09-122-1/+10
| | | | Closes: https://todo.sr.ht/~emersion/gamja/136
* Remove unnecessary if in App.handleConfigSimon Ser2022-09-121-25/+23
| | | | | config.json is merged with baseConfig. The latter is guaranteed to contain a "server" field.
* Disallow server.{autoconnect,auth} mismatch in config.jsonSimon Ser2022-09-121-0/+5
| | | | This combination doesn't make sense.
* components/buffer-list: show buffers with errors in redSimon Ser2022-09-052-1/+13
|
* Sort lists with localeCompareNolan Prescott2022-09-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | The difference in case sensitivity is the most obvious change with servers like soju that support CASEMAPPING ascii and rfc1459. Currently the list: 'Alpha', 'aardvark', 'Charlie', 'comma' currently sorts to: 'Alpha', 'Charlie', 'aardvark', 'comma' with this change it will instead become: 'aardvark', 'Alpha', 'Charlie', 'comma' If something like RFC 7613 gets broader support then there are a few more differences for a list like: 'éclair', 'ecstatic, 'aardvark', 'zed', 'Gamma' currently sorts to: 'Gamma', 'aardvark', 'ecstatic', 'zed', 'éclair' with this patch would instead sort to: 'aardvark', 'éclair', 'ecstatic', 'Gamma', 'zed' The above examples were run with a locale unspecified which fell back to my browser/host default of 'en'.
* Drop support for soju.im/readSimon Ser2022-09-032-16/+3
| | | | It's been superseded by draft/read-marker.
* Fix draft/read-marker cap not negotiatedSimon Ser2022-09-031-0/+1
| | | | Fixes: 1428ec4d4991 ("Add support for draft/read-marker")
* Fix ignored MARKREAD messagesSimon Ser2022-09-031-1/+1
| | | | | | | The prefix is a remnant of the soju extension. The IRCv3 one doesn't have it. Fixes: 1428ec4d4991 ("Add support for draft/read-marker")
* Fetch read marker before backlog for user targetsSimon Ser2022-09-032-0/+11
|
* Limit composer lengthSimon Ser2022-08-283-0/+36
| | | | Often times IRC servers will truncate messages which are too big.
* Make use of destBuffers when fetching history.xse2022-08-221-1/+1
| | | | Fixes an issue where messages intended to go on the server's buffer end up on their own
* Ignore RPL_CHANNEL_URLSimon Ser2022-08-222-0/+2
|
* components/app: don't open buffer for CTCP messagesSimon Ser2022-08-221-2/+13
| | | | | These are usually completely uninteresting messages, e.g. CTCP VERSION or whatever.
* Update dependenciesSimon Ser2022-07-111-1049/+1072
|
* ci: deploy to new serverSimon Ser2022-07-091-2/+2
|
* ci: fix deploy hostSimon Ser2022-07-081-1/+1
| | | | | emersion.fr is now an alias for the new server. gamja hasn't been migrated yet.
* Add support for draft/read-markerSimon Ser2022-07-012-10/+34
| | | | References: https://github.com/ircv3/ircv3-specifications/pull/489
* Use monospace on <input> tooArik2022-07-011-0/+2
| | | | | It looks like having "font-family: monospace" on <body> doesn't set it for <input> too.
* components/buffer: show disclaimer for +draft/channel-context messagesSimon Ser2022-06-281-0/+4
|
* Support @+draft/channel-contextdelthas2022-06-281-1/+6
| | | | See: https://github.com/ircv3/ircv3-specifications/pull/498
* components/buffer-header: fix duplicate settings buttonSimon Ser2022-06-281-1/+0
|
* Fix invalid relative importSimon Ser2022-06-271-1/+1
| | | | Worked locally because it's served at the root…
* Add button to enable protocol handler in settingsSimon Ser2022-06-273-1/+48
|
* Add a setting for seconds in timestampsSimon Ser2022-06-274-7/+45
|
* Workaround the sad state of base64 web APIsSimon Ser2022-06-242-2/+45
| | | | | This is necessary to make usernames/passwords with UTF-8 in them work correctly.
* Upgrade dependenciesSimon Ser2022-06-141-2019/+1746
|
* components/buffer-header: print bouncer network error if anySimon Ser2022-06-091-0/+3
|
* Add a settings dialogSimon Ser2022-06-087-20/+143
| | | | | | Add an option to hide chat events or always expand them. Closes: https://todo.sr.ht/~emersion/gamja/73
* Fix ping config lost in ConnectFormSimon Ser2022-06-081-0/+7
| | | | | Reported-by: xse <xse@riseup.net> References: https://lists.sr.ht/~emersion/public-inbox/patches/32126
* components/app: switch to server buffer on close only if activeUmar Getagazov2022-06-081-1/+3
| | | | | If the buffer that's being closed is not the active one, there's no point in switching the user away to another buffer.
* Add support for bot modeSimon Ser2022-06-083-0/+12
| | | | References: https://ircv3.net/specs/extensions/bot-mode
* components/scroll-manager: don't crash when Buffer is emptySimon Ser2022-04-221-0/+3
|
* store: use lower-case for buffer keysSimon Ser2022-04-221-2/+3
|
* Update webpage title when switching bufferSimon Ser2022-04-221-0/+12
|