コミットを比較
4 コミット
1a5ca24cd0
...
fbd5f0b85f
作成者 | SHA1 | 日付 |
---|---|---|
n9k | fbd5f0b85f | |
n9k | 5e70fff946 | |
n9k | 41c4d4e2cc | |
n9k | 30a6991beb |
|
@ -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 {
|
||||
|
|
|
@ -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 @@
|
|||
{}
|
||||
[]
|
||||
|
|
読み込み中…
新しいイシューから参照