n9k
d7b4717cf5
Chat: show dates when the day changes (js)
2022-08-10 00:01:27 +00:00
n9k
208ef9abc7
Emotes: one emote, one file
2022-07-20 07:37:33 +00:00
n9k
6e8d8dc8e9
Emotes
...
The sheet of emotes goes in `/static/emotes.png`. Emote coordinates go
in emotes.json (by default, there is a config option).
2022-07-14 17:14:04 +00:00
n9k
893c4273b0
Licence headers formatting for real
2022-06-17 01:10:27 +00:00
n9k
46cd032510
CSS: always fullheight info in desktop view
2022-06-15 10:10:04 +00:00
n9k
d621f8ceda
Reorder chat form inputs so submit has priority
...
When you press enter to submit a form and there are multiple submittable
inputs (e.g. type="image" / type="submit"), Firefox chooses the one that
appears first in markup. Before this commit the image input (aka the "I
want a new captcha" button) appeared before the submit button which
meant pressing enter just reloaded the captcha instead of submitting the
comment.
2022-06-11 23:14:49 +00:00
n9k
57053b5eca
Chat insignia: solid orangered background
2022-06-11 23:14:16 +00:00
n9k
77d68629b6
CSS: fullheight mobile chat, remove iframe margins
2022-06-11 23:14:16 +00:00
n9k
a7bfab4f26
Offline screen
2022-06-11 23:14:12 +00:00
n9k
73824f70d7
Lock js chat scroll when not at bottom
2022-06-09 01:34:59 +00:00
n9k
ca669833e3
CSS: add `white-space: pre-wrap;` to chat messages
2022-03-10 07:46:53 +13:00
n9k
66eabd67af
CSS: add `overflow: hidden;` to chat messages
...
Stops messages being able to obscure other messages with weird unicode
characters.
2022-03-09 17:42:44 +13:00
n9k
829f3f004b
Add licences
2022-03-08 16:41:47 +13:00
n9k
4cde4ea07a
Add js appearance form (not complete c.f. nojs)
2022-03-08 16:13:22 +13:00
n9k
55c16d7214
Nojs chat form: use `:checked` instead of `:target`
...
This works around a bug in mobile Firefox where under certain cirucmstances two
elements inside an iframe both become the iframe's target elment at the same
time, which breaks the CSS logic so instead of exactly one form being displayed,
nothing is displayed.
2022-03-08 16:13:22 +13:00
n9k
0ce1902918
Show notice from websocket in js chat form
2022-03-08 16:13:22 +13:00
n9k
ade3ca4e9e
Add broadcaster insignia
...
Also surrounded users' name tags in <b> (HTML) tags.
2022-03-08 16:13:21 +13:00
n9k
46fce9c393
Add nojs 'Reload stream' button
...
The nojs button appears when the stream is online and the user is not watching.
The js button appears when the stream is online and the media element either
(1) is not using the network or (2) fires an error event.
2022-03-07 12:56:08 +13:00
n9k
6eda20a244
Add 'Reload stream' button in js
2022-03-07 12:56:08 +13:00
n9k
ba90e18e30
Minor changes to the appearance of the users list
...
Made the 'Users in chat' header above the overflow area, so it always stays on
top. Now using `visibility: hidden;` instead of `display: none;` to show/hide
messages/users so that nojs css animations don't reset.
2022-03-07 12:56:08 +13:00
n9k
84ec253001
Show list of watching/non-watching users with js
2022-03-07 12:56:08 +13:00
n9k
2b1cf7d7b0
CSS: make users button lighter
2022-03-07 12:54:35 +13:00
n9k
1b26ddb816
Nojs chat: add list of watching/non-watching users
2022-03-07 12:54:35 +13:00
n9k
8589216bf1
Send new captcha over websocket with js
2022-03-07 12:54:35 +13:00
n9k
3016705783
Keep track of stream viewership (number of viewers)
2022-03-07 12:54:35 +13:00
n9k
8b4d6e8c09
Get stream title from disk
...
By default from `title.txt`. Also replace newlines with spaces when setting the
title in js, for parity with the nojs info iframe.
2022-03-07 12:54:35 +13:00
n9k
8d1f273a99
Show and update stream uptime in js
2022-03-07 12:54:33 +13:00
n9k
672ef10159
Add 3-hexdigit tags for default-name users
2022-02-23 09:21:07 +00:00
n9k
93409f8095
Message dates and times in chat
...
Now using `get_message_for_websocket` when sending an individual message.
2022-02-23 15:57:05 +13:00
n9k
2f4a9739c0
Show and enforce the captcha in js
...
Also clear the chat form comment input only if the message was accepted.
2022-02-22 16:25:43 +13:00
n9k
6109de37ec
Nojs chat: ETag, limit scrollback, timeout notice
...
Limiting scrollback is happening for the js chat too. Also reject long
comments.
2022-02-22 16:25:41 +13:00
n9k
d848d1532e
Reflect appearance changes with js
2022-02-18 18:17:01 +13:00
n9k
090981860c
Add css rules for hiding chat
2022-02-17 13:30:09 +13:00
n9k
801f663959
Limit info height to max for viewport in mobile view
...
Remove padding around non-tripcode tripcode in the nojs chat form
2022-02-17 13:30:09 +13:00
n9k
0d583c8617
Add color input to nojs form
2022-02-17 13:30:09 +13:00
n9k
e77862f4ff
Nojs chat, store all user names/colors in js, forget about inactive users
...
Project structure evolving a bit
2022-02-17 13:30:05 +13:00
n9k
694c6a4995
Nojs comment submission, notify for rejected comments
...
Fix with-user wrapper (wasn't collecting users)
2022-02-15 23:11:53 +13:00
n9k
885c10b5de
Initial noscript markup for chat form & stream info
...
Use with-user decorator on routes (instead of with-token)
2022-02-14 23:16:09 +13:00
n9k
edba60e3e1
Embed token in markup, fix authorization
2022-02-13 17:46:28 +13:00
n9k
71586420b6
Project structure, chat markup/style, websockets
2022-02-13 17:00:10 +13:00