Simon Ser
|
1bcd9d3607
|
ci: deploy to new server
|
2022-07-09 12:26:39 +02:00 |
|
Simon Ser
|
e4ebf5eb80
|
ci: fix deploy host
emersion.fr is now an alias for the new server. gamja hasn't been
migrated yet.
|
2022-07-08 21:24:09 +02:00 |
|
Simon Ser
|
1428ec4d49
|
Add support for draft/read-marker
References: https://github.com/ircv3/ircv3-specifications/pull/489
|
2022-07-01 13:35:27 +02:00 |
|
Arik
|
839e46360e
|
Use monospace on <input> too
It looks like having "font-family: monospace" on <body> doesn't set it
for <input> too.
|
2022-07-01 13:34:22 +02:00 |
|
Simon Ser
|
d0064dd647
|
components/buffer: show disclaimer for +draft/channel-context messages
|
2022-06-28 15:55:35 +02:00 |
|
delthas
|
b9693d53ec
|
Support @+draft/channel-context
See: https://github.com/ircv3/ircv3-specifications/pull/498
|
2022-06-28 15:33:38 +02:00 |
|
Simon Ser
|
f6ba40046f
|
components/buffer-header: fix duplicate settings button
|
2022-06-28 15:11:48 +02:00 |
|
Simon Ser
|
54453c5f44
|
Fix invalid relative import
Worked locally because it's served at the root…
|
2022-06-27 17:16:33 +02:00 |
|
Simon Ser
|
fa80a56516
|
Add button to enable protocol handler in settings
|
2022-06-27 17:01:15 +02:00 |
|
Simon Ser
|
7cabb6f85b
|
Add a setting for seconds in timestamps
|
2022-06-27 16:34:41 +02:00 |
|
Simon Ser
|
505a6fd5ab
|
Workaround the sad state of base64 web APIs
This is necessary to make usernames/passwords with UTF-8 in them
work correctly.
|
2022-06-24 23:59:18 +02:00 |
|
Simon Ser
|
8e30806fec
|
Upgrade dependencies
|
2022-06-14 19:58:50 +02:00 |
|
Simon Ser
|
f0c398a10c
|
components/buffer-header: print bouncer network error if any
|
2022-06-09 15:54:29 +02:00 |
|
Simon Ser
|
baaf576d82
|
Add a settings dialog
Add an option to hide chat events or always expand them.
Closes: https://todo.sr.ht/~emersion/gamja/73
|
2022-06-08 16:57:16 +02:00 |
|
Simon Ser
|
e3c2d85a94
|
Fix ping config lost in ConnectForm
Reported-by: xse <xse@riseup.net>
References: https://lists.sr.ht/~emersion/public-inbox/patches/32126
|
2022-06-08 15:14:06 +02:00 |
|
Umar Getagazov
|
576b9d51eb
|
components/app: switch to server buffer on close only if active
If the buffer that's being closed is not the active one, there's no
point in switching the user away to another buffer.
|
2022-06-08 15:05:26 +02:00 |
|
Simon Ser
|
6b04cb1417
|
Add support for bot mode
References: https://ircv3.net/specs/extensions/bot-mode
|
2022-06-08 15:04:27 +02:00 |
|
Simon Ser
|
8507500d74
|
components/scroll-manager: don't crash when Buffer is empty
|
2022-04-22 12:32:54 +02:00 |
|
Simon Ser
|
aaef4e1629
|
store: use lower-case for buffer keys
|
2022-04-22 12:04:11 +02:00 |
|
Simon Ser
|
cdd2da90a9
|
Update webpage title when switching buffer
|
2022-04-22 11:49:23 +02:00 |
|
Simon Ser
|
4a981997f0
|
Handle CHATHISTORY messages when reaching end of batch
Closes: https://todo.sr.ht/~emersion/gamja/115
|
2022-04-22 11:25:41 +02:00 |
|
Simon Ser
|
f45b51d981
|
commands: fix TypeError in kickban
The ban variable was undefined.
|
2022-04-14 10:53:35 +02:00 |
|
Simon Ser
|
73db1a888e
|
Upgrade dependencies
|
2022-02-26 10:47:55 +01:00 |
|
Simon Ser
|
3dc98ec797
|
Convert remaining simple quotes to double quotes
|
2022-02-26 09:54:31 +01:00 |
|
Simon Ser
|
e37d5f363b
|
lib/irc: fix bound check in isHighlight
Doesn't seem like this was causing any issues, but let's fix the
logic regardless.
|
2022-02-25 11:38:00 +01:00 |
|
Simon Ser
|
221b1b6356
|
lib/irc: remove unnecessary non-breaking-space case
Handled by the default case already.
|
2022-02-25 11:37:18 +01:00 |
|
Simon Ser
|
86b1030b7a
|
lib/irc: add missing num range to alphaNum regexp
|
2022-02-25 11:36:43 +01:00 |
|
Simon Ser
|
08578c9a21
|
components/app: fix missing semicolons
|
2022-02-21 15:26:12 +01:00 |
|
Simon Ser
|
26cc073f41
|
store: save buffer state when user navigates away
Avoids loosing some state on page unload.
|
2022-02-18 18:22:00 +01:00 |
|
Simon Ser
|
9e703698ca
|
lib/irc: drop outdated CapRegistry TODO
|
2022-02-16 15:46:22 +01:00 |
|
Simon Ser
|
37d7f4a1c5
|
Refactor backlog fetching into function
|
2022-02-13 15:34:11 +01:00 |
|
Simon Ser
|
962c05c066
|
Prevent hole in history when reconnecting
|
2022-02-13 15:26:04 +01:00 |
|
Simon Ser
|
f2c9fd1d7f
|
Update stored unread status on READ message
|
2022-02-12 10:24:56 +01:00 |
|
Simon Ser
|
a3eec9a351
|
store: add note about comparison in Buffer.put
|
2022-02-12 10:24:34 +01:00 |
|
Simon Ser
|
2ac7be6218
|
state: add isReceiptBefore
|
2022-02-12 10:21:11 +01:00 |
|
Simon Ser
|
5f8cd976e6
|
keybindings: fix error on alt+h
Fixes the following JS error:
TypeError: e.setReceipt is not a function
|
2022-02-12 10:05:58 +01:00 |
|
Simon Ser
|
fbc42b6dab
|
components/app: move lastErrorID declaration down
Move it right before App, rather than drown in-between unrelated
functions.
|
2022-02-11 21:17:35 +01:00 |
|
Simon Ser
|
dc398baa3b
|
components/app: stop updating prevReadReceipt on READ message
prevReadReceipt is used for the unread marker. Let's not update it
before the user switches the current buffer.
|
2022-02-11 21:09:11 +01:00 |
|
Simon Ser
|
6a9a8e88f1
|
store: fix no-op read receipt update detection
If the old and new times are equal, the update is a no-op.
|
2022-02-11 21:07:49 +01:00 |
|
Simon Ser
|
f47d93af8a
|
Don't fetch backlog before read receipt
|
2022-02-11 21:02:34 +01:00 |
|
Simon Ser
|
fce0936c20
|
components/app: introduce getReceipt
|
2022-02-11 20:59:31 +01:00 |
|
Simon Ser
|
0636544c40
|
components/app: close notifications when receiving READ message
|
2022-02-11 19:32:30 +01:00 |
|
Simon Ser
|
7c6f334dbf
|
components/app: close notifications when switching buffer
|
2022-02-11 19:32:30 +01:00 |
|
Simon Ser
|
7ddd783150
|
components/app: make showNotification return null on error
We'll do more involved stuff with notifications soon, and don't
want to deal with buggy notification objects.
|
2022-02-11 19:32:30 +01:00 |
|
Simon Ser
|
bb42ff6a07
|
components/app: include server ID in notification tags
|
2022-02-11 19:32:30 +01:00 |
|
Simon Ser
|
db0ef39c6b
|
Add support for soju.im/read
|
2022-02-11 19:32:26 +01:00 |
|
Simon Ser
|
77f54080e7
|
Make delivery receipts follow read receipts
If a message has been read, it's been delivered.
Fixes #23 at least partially.
References: https://todo.sr.ht/~emersion/gamja/23
|
2022-02-11 19:29:55 +01:00 |
|
Simon Ser
|
065b3f21fc
|
Refactor receipts
They are now saved in the buffer store to allow for proper server
separation.
|
2022-02-11 19:29:55 +01:00 |
|
Simon Ser
|
d2bcea8c86
|
Introduce isMessageBeforeReceipt
|
2022-02-11 16:37:58 +01:00 |
|
Simon Ser
|
3d81466788
|
components/app: introduce receiptFromMessage
|
2022-02-11 16:30:46 +01:00 |
|