n9k
45965fc1db
Forgot some licence headers
2022-06-24 03:31:01 +00:00
n9k
abf7574ea9
v1.3.1
2022-06-23 03:48:13 +00:00
n9k
c6117a6f36
Merge branch 'dev'
2022-06-23 03:47:46 +00:00
n9k
2a16f6a835
Debug: print colorized tag/token_hash/token
2022-06-23 03:36:37 +00:00
n9k
3bb2a81c5a
Bypass initial chat captcha if solved access captcha
2022-06-23 02:53:41 +00:00
n9k
45224e0779
Never gonna give broadcaster a captcha
2022-06-23 02:36:44 +00:00
n9k
77e0183c15
v1.3.0
2022-06-22 08:58:40 +00:00
n9k
4992317ec9
Merge branch 'dev'
2022-06-22 08:58:12 +00:00
n9k
76af3afd05
README.me: mention `access.captcha` config option
2022-06-22 08:58:02 +00:00
n9k
c3237890ad
Rule out edge case where MAX_CAPTCHAS is 0
2022-06-22 08:41:46 +00:00
n9k
95a940a14f
Limit number of stored failures
...
Failures are messages shown on the access captcha screen when the
captcha answer was not accepted for whatever reason.
2022-06-22 08:35:41 +00:00
n9k
6046598ed8
Fix deletion of old messages exceeding threshold
2022-06-22 08:34:16 +00:00
n9k
4a76fb023e
Access captcha: special case for websocket
...
There doesn't seem to be a way to catch a 403 Forbidden error opening a
websocket with JavaScript, so this commit changes the behaviour to this:
open the websocket normally, send one "kick" message, close the
websocket.
2022-06-22 08:11:12 +00:00
n9k
0548065b1d
Error pages: custom descriptions
2022-06-22 08:11:12 +00:00
n9k
35ce606d64
Custom error pages
2022-06-22 08:11:12 +00:00
n9k
9143acafd1
Access captcha
2022-06-22 08:11:12 +00:00
n9k
4c5faf7dba
Use 303 See Other for {POST|GET}->GET redirects
2022-06-22 04:54:02 +00:00
n9k
6ae87be229
anonstream/__main__.py: disable Server header
2022-06-21 06:23:24 +00:00
n9k
a41f0d4f14
Escape disallowed cookie characters
2022-06-20 04:15:09 +00:00
n9k
46f9b0ec08
Reset websocket aliveness timer on first connecting
...
This should eliminate the possibilty of the websocket-closing background
task closing a newly opened websocket that hasn't yet ponged our ping
(if we have even sent a ping yet).
2022-06-20 04:15:09 +00:00
n9k
22c84bc230
Give timestamp to route handlers
2022-06-20 04:15:09 +00:00
n9k
90e1e2099a
Manual static folder
2022-06-20 04:15:08 +00:00
n9k
1581e6ac89
Minor logic formatting
2022-06-19 08:21:40 +00:00
n9k
1d5b446291
Track the last time users were sent chat messages
2022-06-19 08:21:40 +00:00
n9k
0b78a79111
Use single quotes
2022-06-19 07:53:31 +00:00
n9k
893c4273b0
Licence headers formatting for real
2022-06-17 01:10:27 +00:00
n9k
fc4a528b04
anonstream/__main__.py: tidy magic numbers for real
2022-06-17 00:48:04 +00:00
n9k
1ce4b4f568
v1.2.3
2022-06-17 00:41:20 +00:00
n9k
3080c002f5
Merge branch 'dev'
2022-06-17 00:41:01 +00:00
n9k
56ee52699a
Nojs chat form: on failure truncate long comments
2022-06-17 00:40:38 +00:00
n9k
e147aa0d22
Chat: always enforce length limits from config
2022-06-17 00:40:02 +00:00
n9k
3c5d3af40d
Typo: comment max length was name max length instead
2022-06-17 00:40:02 +00:00
n9k
88d3785ec6
Rename config section from 'thresholds' to 'presence'
2022-06-17 00:40:02 +00:00
n9k
dc5c4db3de
Move nojs refresh magic numbers to config
2022-06-17 00:40:02 +00:00
n9k
febb0e36d3
v1.2.2
2022-06-16 03:19:13 +00:00
n9k
e9e0862445
Merge branch 'dev'
2022-06-16 03:18:46 +00:00
n9k
617a687145
Give `create_app` a dictionary, not a file location
2022-06-16 03:15:21 +00:00
n9k
0e7bb62291
anonstream/__main__.py: tidy magic numbers
2022-06-16 03:14:46 +00:00
n9k
6746f7b859
Simplify starting: create anonstream/__main__.py
2022-06-16 02:56:38 +00:00
n9k
fdf4713c71
Licence headers in every new file
2022-06-16 01:31:10 +00:00
n9k
1c7818cc0b
Licence headers formatting
2022-06-16 01:31:10 +00:00
n9k
309b2ad54f
Control socket: minor redo exceptions
2022-06-16 01:05:18 +00:00
n9k
758213109b
HACKING.md: document control and event sockets
2022-06-16 00:53:39 +00:00
n9k
753bfc9017
README.md: wording formatting
2022-06-16 00:48:27 +00:00
n9k
c07910b6c5
v1.2.1
2022-06-15 21:19:21 +00:00
n9k
288c31a03c
Merge branch 'dev'
2022-06-15 21:18:04 +00:00
n9k
50d03ba8d5
Control socket: specify users by token hash
2022-06-15 21:17:25 +00:00
n9k
f3e58fd3fa
Refactor info update background task
...
We now time the interval between consecutive tasks. This is more precise
than using the constant interval the task is supposed to run at since
there is some drift on each run (~0.004s).
2022-06-15 21:03:08 +00:00
n9k
e449caff5f
Reimplement `with_timestamp`, allow ints & floats
2022-06-15 20:54:55 +00:00
n9k
1f56e635b9
Ensure chat stays at bottom if names/tripcodes change
2022-06-15 20:39:06 +00:00