コミットを比較

...

4 コミット

作成者 SHA1 メッセージ 日付
n9k fbd5f0b85f v1.6.4 2022-07-24 11:19:00 +00:00
n9k 5e70fff946 Merge branch 'dev' 2022-07-24 11:18:48 +00:00
n9k 41c4d4e2cc Nojs: add `background-color` CSS to all iframes
So if they are popped out their background looks like it should (and not
pure white).
2022-07-24 11:17:11 +00:00
n9k 30a6991beb Emotes: documentation 2022-07-24 11:17:06 +00:00
8個のファイルの変更39行の追加2行の削除

ファイルの表示

@ -13,7 +13,7 @@ from anonstream.utils.captcha import create_captcha_factory, create_captcha_sign
from anonstream.utils.chat import precompute_emote_regex
from anonstream.utils.user import generate_blank_allowedness
__version__ = '1.6.3'
__version__ = '1.6.4'
def create_app(toml_config):
app = Quart('anonstream', static_folder=None)

ファイルの表示

@ -21,6 +21,7 @@
height: 100%;
color: #ddd;
font-family: sans-serif;
background-color: #232327;
}
a {
color: var(--link-color);

ファイルの表示

@ -24,6 +24,7 @@
font-family: sans-serif;
font-size: 11pt;
transform: rotate(180deg);
background-color: #232327;
}
.button {

ファイルの表示

@ -18,6 +18,7 @@
margin: 0;
color: #ddd;
font-family: sans-serif;
background-color: #121214;
}
#timeout {
height: 0;

ファイルの表示

@ -15,6 +15,7 @@
margin: 0.75ch 1.25ch;
font-family: sans-serif;
color: #ddd;
background-color: #18181a;
}
#float {
float: right;

ファイルの表示

@ -18,6 +18,7 @@
overflow: hidden;
color: #ddd;
font-family: sans-serif;
background-color: black;
}
{% if online %}
#video {

32
doc/EMOTES.md ノーマルファイル
ファイルの表示

@ -0,0 +1,32 @@
## Emotes
Emotes are small images that are inserted into chat messages in place of
given strings. To add emotes, add entries to `emotes.json` that look
like below, then restart the server.
```json
{
"name": ":joy:",
"file": "joy.png",
"width": 20,
"height": 24
}
```
```json
{
"name": "JoySpin",
"file": "emote/joyspin.gif",
"width": null,
"height": 24
}
```
* `name` is the string that will be replaced in chat messages.
* `file` is the location of the emote image relative to the static
directory `anonstream/static`. The file must actually be in the
static directory or a subdirectory of it.
* `width` and `height` are the dimensions the inserted <img> element
will have. Each can be either a non-negative integer or `null`
(automatic width/height).

ファイルの表示

@ -1 +1 @@
{}
[]