コミットグラフ

39 コミット

作成者 SHA1 メッセージ 日付
n9k 95b39b7bd8 look cool when the stream is offline 2021-07-06 10:09:06 +00:00
n9k 5015b2e106 barrier comment time and username, reload config.toml without restarting the webserver, ignore capitalisation in logins, use send_file instead of wrap_file in /stream.mp4 and /stream.m3u8, remove Conection: close header from /stream.mp4 2021-07-05 11:45:32 +00:00
n9k b03310a9ce reduce captcha charset; add Connection: close header to /stream.mp4; fix typo that after some time gave new visitors HTTP 500; print when captcha is cleared as well as successful/failed comment 2021-05-28 16:56:39 +00:00
n9k 1b98b2a037 solve the captcha without sending a message; try really hard not to put infinities in json; don't forget about viewers if they're banned 2021-05-25 17:27:02 +00:00
n9k 8d9bfc81d1 get segment duration from index.html; upload radial.apng; don't delete viewers if there are messages by them; say when a message succeeds if the sender is the broadcaster; fix /debug; use the lock when adding to deleting viewers 2021-05-22 09:57:15 +00:00
n9k bd8d2c11c6 add route /debug showing all the variables; actually put hls_time in index.html; make nonces shorter to distinguish them 2021-05-19 06:16:13 +00:00
n9k 7a1bfa8044 remove old viewers, captchas, nonces; rework captchas to store less information; change config from json to toml; put hls_time in config.toml and index.html; print when a comment attempt fails; 2021-05-19 03:00:36 +00:00
n9k f2d9ca4996 typo; generate tags from token not colour (just in case there are duplicate colours); add special chat messages 2021-05-18 04:29:47 +00:00
n9k 233103345a do some whitespace stuff with regex 2021-05-16 00:54:21 +00:00
n9k 14c8d92ecc do whitespace stuff with css 2021-05-16 00:40:22 +00:00
n9k 705e7636d3 missing import 2021-05-16 00:25:48 +00:00
n9k 23c182b825 remove purecss in index.html, no line break between camera and broadcaster name, remove race condition in /chat causing http 500 2021-05-16 00:24:50 +00:00
n9k adc76f0bb9 disable videojs by default 2021-05-15 04:35:48 +00:00
n9k 1a19beef11 make a todo up to date 2021-05-14 16:46:24 +00:00
n9k 844bc81bd1 make the max message length a constant; click captcha to get a new one (`required` had to be removed from <input>s) 2021-05-14 06:59:50 +00:00
n9k 46249f6d70 don't leak the segment numbers if segments still exist in stream/ and stream is offline 2021-04-17 07:03:18 +00:00
n9k 4274cc380f typo & todo 2021-04-16 17:53:06 +00:00
n9k 1c98f0ece7 be careful about where we generate new tokens, we don't want a benign bot to create lots of new viewers by requesting stream.m3u8 repeatedly 2021-04-16 10:37:12 +00:00
n9k b371c8ecea type=int makes the argument default to 0 2021-04-16 10:11:47 +00:00
n9k 82276d2e30 simplify; have resolve_segment_offset return 0 when no segments exist instead of None so everything that uses that function doesn't have to substitute 0 itself 2021-04-16 10:09:42 +00:00
n9k b2a0a37816 remove todo that is now done 2021-04-16 10:01:47 +00:00
n9k f444f05f06 wait for segments when start_number is 0; wait for init.mp4 to be written to before sending it 2021-04-16 09:58:37 +00:00
n9k e6678f3c75 handle start_number in / when no segments exist 2021-04-16 09:27:15 +00:00
n9k c6583aaf7d make js play nice when videojs is disabled 2021-04-16 05:53:25 +00:00
n9k 84b60899fa make videojs optional via ?videojs url argument 2021-04-15 17:26:10 +00:00
n9k 2f2f9da50f actually use the include_user_list parameter 2021-04-15 17:10:24 +00:00
n9k ee2a5beea9 on /chat make ?users default to true so in the form that refreshes chat, <input name="users" value="0"> can go in a noscript tag and it'll all work out fine 2021-04-15 16:57:11 +00:00
n9k c268c8c0fb typo 2021-04-15 15:26:30 +00:00
n9k 476bf92379 rename mod_messages -> mod_chat 2021-04-15 15:24:19 +00:00
n9k e72e45c2b4 show broadcaster the list of banned users; undo bans; fix colour -> tag generation 2021-04-15 15:18:46 +00:00
n9k fb198a1229 upload chat-iframe.html; group users by watching / not watching 2021-04-15 12:45:22 +00:00
n9k bf2ed3c6c6 show list of users in chat 2021-04-15 11:37:04 +00:00
n9k 09d7c1268a Update routes.py 2021-04-14 14:31:59 +00:00
n9k 055866125c Update website/static/external/grids-responsive-min.css, website/static/external/pure-min.css, website/static/external/video-js.css, website/static/external/video.js, website/static/external/videojs-contrib-hls.js, website/static/platform.css, website/static/platform.js, website/templates/chat-iframe.html, website/templates/comment-iframe.html, website/templates/index.html, website/templates/stream-info-iframe.html, website/utils/captcha.py, website/utils/colour.py, website/utils/stream.py, website/utils/tripcode.py, website/chat.py, website/concatenate.py, website/routes.py, website/viewership.py files 2021-04-14 14:12:40 +00:00
n9k c67255431c todo: chat-only view 2021-04-13 17:10:21 +00:00
n9k 02e719e84e tell /stream-info if a viewer viewing /stream.mp4 had their video corrupted, so there can be a message telling them to refresh 2021-04-13 16:53:16 +00:00
n9k 2169d15fe2 Update routes.py 2021-04-13 13:19:42 +00:00
n9k 9c06e61d45 massive refactor 2021-04-13 13:13:40 +00:00
n9k b93db381f4 Update website/routes.py 2021-04-13 13:10:40 +00:00