n9k
b1f5bbdecd
Force absent users to do the access captcha again
...
Before this, if a request was not coming from an existing user (no token
in the request or no user with the given token), then and only then
would we send the access captcha. This meant that if a user left a chat
message and became absent, they wouldn't be prompted to do the access
captcha again until their message was eventuallly rotated. (While
messages exist we don't delete the users who posted them.)
This commit makes it so if user['verified'] is None, the user is kicked
and prompted with the access captcha. This is automatically done for
absent users by a background task.
2022-07-20 07:55:32 +00:00
n9k
03887f4a63
v1.6.0
2022-07-20 07:38:08 +00:00
n9k
f36840a9a6
Typos
2022-07-20 07:37:35 +00:00
n9k
c93afdeccf
Minor CSS: increase input padding on captcha page
2022-07-20 07:37:35 +00:00
n9k
2df92bb488
Minor formatting
2022-07-20 07:37:35 +00:00
n9k
208ef9abc7
Emotes: one emote, one file
2022-07-20 07:37:33 +00:00
n9k
b46b3c88d5
v1.5.5
2022-07-20 07:36:45 +00:00
n9k
ab0ba513bf
Emotes: emotes must have non-empty names
2022-07-20 07:36:06 +00:00
n9k
4f34a4a0e7
v1.5.4
2022-07-17 01:12:10 +00:00
n9k
9edeea1491
Emotes: sheet filename config option
2022-07-16 23:48:46 +00:00
n9k
70036ca234
Minor formatting
2022-07-16 23:48:46 +00:00
n9k
85ccd7b96e
Never gonna give broadcaster a clock captcha
2022-07-16 22:17:58 +00:00
n9k
466298696b
v1.5.3
2022-07-16 22:12:28 +00:00
n9k
cadc4076c5
Bugfix: actually deverify absent users
...
Was using the `deverify` function which is for ratelimiting chat, so it never
did anything.
2022-07-16 22:12:04 +00:00
n9k
a7d5ff49cf
v1.5.2
2022-07-16 06:27:32 +00:00
n9k
81de4e4ccd
Emotes: expand regex for [a-zA-Z0-9_]-ended emotes
...
Emote names with non-word characters at an end are now always matched.
Previously they were only matched when adjacent to non-word characters.
This means that an emote named "😂 " will now be matched in
"aaa😂 zzz" where previously it wouldn't have been.
2022-07-16 06:27:14 +00:00
n9k
21df8a5aa5
v1.5.1
2022-07-16 06:26:55 +00:00
n9k
6d6991e4e4
Emotes: was checking wrong Markup type
...
This broke chat. Adding a chat message would never happen because of
AssertionError.
2022-07-16 06:24:31 +00:00
n9k
1862b27ac9
v1.5.0
2022-07-14 17:24:13 +00:00
n9k
1d56bdfdd7
Ensure browsers revalidate style.css & anonstream.js
2022-07-14 17:23:03 +00:00
n9k
4a69b0a4ba
Typo
2022-07-14 17:23:03 +00:00
n9k
8164c5971e
Emotes: always prefer /chat/messages redirect
...
In Firefox, the emote image is retrieved from a cache when we do it this
way.
2022-07-14 17:23:03 +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
3733a213f0
v1.4.0
2022-07-07 09:18:32 +00:00
n9k
4a68759806
Allowedness: check in special case route handlers
2022-07-07 09:17:37 +00:00
n9k
90e40701f8
Allowedness: check in renew_eyes
2022-07-03 08:53:02 +00:00
n9k
9ad069ad08
Allowedness: check (in) websockets
2022-07-03 08:53:02 +00:00
n9k
8ab206d3c6
Allowedness: check in `with_user_from` wrapper
2022-07-03 08:53:02 +00:00
n9k
6bfd4e7446
Allowedness: change from control socket
2022-07-03 08:53:02 +00:00
n9k
5a647f2fb7
Allowedness (WIP)
2022-07-03 08:53:02 +00:00
n9k
2c51e99f66
v1.3.6
2022-07-03 08:52:05 +00:00
n9k
283c630b82
Optionally force captcha every n messages
...
By default every 40 messages. 0 means never force captcha in this way.
2022-07-03 08:50:35 +00:00
n9k
63e656f65b
v1.3.5
2022-06-29 05:00:38 +00:00
n9k
fc613737e0
Store version string
2022-06-29 04:58:30 +00:00
n9k
2a15002e7b
Minor: remove module-global `Compress` singleton
2022-06-29 04:57:41 +00:00
n9k
059504d0ad
v1.3.4
2022-06-29 04:32:43 +00:00
n9k
e10f6793b6
Rename errors.py -> error.py
2022-06-29 04:30:27 +00:00
n9k
492078f6ce
Record users' most recent HTTP headers
2022-06-29 04:30:27 +00:00
n9k
1472ce40ad
Store eyes headers as tuple instead of dict
...
This preserves duplicate keys.
2022-06-29 04:30:24 +00:00
n9k
8d4fe45c74
Control socket: correct `chat help` usage
2022-06-29 02:58:26 +00:00
n9k
b63bd3096d
JS: set `ws = null;` before creating new websocket
2022-06-29 02:36:37 +00:00
n9k
19b926a3e5
Deverify absent users
2022-06-29 02:35:24 +00:00
n9k
d91b49fb29
Forgot meta viewport in new templates
2022-06-29 02:25:22 +00:00
n9k
dd94bc7233
Minor whitespace
2022-06-29 02:20:29 +00:00
n9k
728181c415
Error pages: minor css change
2022-06-29 02:20:29 +00:00
n9k
084e91f285
v1.3.3
2022-06-25 08:36:05 +00:00
n9k
eb25b6d8a8
Nojs users list: fix isignia css
2022-06-25 08:35:05 +00:00
n9k
a2ef88aff0
v1.3.2
2022-06-25 07:46:03 +00:00
n9k
b0cae89fad
Error pages: adjust for iframes
2022-06-25 07:45:07 +00:00
n9k
082fbf76d4
Error pages: make target="_top" for <a> elements
2022-06-25 07:45:07 +00:00