Commit graph

338 commits

Author SHA1 Message Date
Marks Polakovs
0c9721b122 Run Prettier across the entire project 2020-04-19 15:47:19 +02:00
Marks Polakovs
1977289524 Fix all linter warnings 2020-04-19 15:44:23 +02:00
Matthew Stratford
74333f2763 Merge remote-tracking branch 'origin/master' 2020-04-19 14:13:24 +01:00
Matthew Stratford
3a26739d87 Add ending times to tracks. 2020-04-19 14:13:08 +01:00
Marks Polakovs
0ab86337ea Safari compat (hopefully)
Yes, this is dumb. It's also fun.
2020-04-19 14:36:10 +02:00
Matthew Stratford
9526d70164 Merge remote-tracking branch 'origin/master' 2020-04-19 13:10:32 +01:00
Matthew Stratford
d29c306c08 Add red flash for fader when playing and muted. 2020-04-19 13:10:24 +01:00
Marks Polakovs
f9ee8493c5 Rework how mic works (fixes #76, fixes #63)
Previously, the mic gain node had both the calibration value as well as the volume control (either the calibration value or zero). This made it impossible to recalibrate the mic while on air, and also broke the calibration slider.

This commit moves it into two separate gain nodes, "calibration gain" and "mix gain", with the analyser node in the middle. It also means that the mic is now calibrated before compression.
2020-04-19 13:29:51 +02:00
Matthew Stratford
71cd7fb763 Update remaining counter on seeking. 2020-04-17 18:41:25 +01:00
Matthew Stratford
3febdb7398 Fix #62, stop doesn't stop from paused state. 2020-04-17 18:41:08 +01:00
Matthew Stratford
800e36d587 Merge remote-tracking branch 'origin/master' 2020-04-17 17:51:45 +01:00
Matthew Stratford
e450c2cdb0 Re-registers no longer double connections. 2020-04-17 17:51:38 +01:00
Marks Polakovs
2798fc61ca Try and center circles 2020-04-17 18:48:43 +02:00
Matthew Stratford
09c1ff2492 Fix index error when cleaning out connections. 2020-04-17 17:31:37 +01:00
Marks Polakovs
94ffe8dd74 Use bundled Font Awesome instead of CDN 2020-04-17 17:37:01 +02:00
Marks Polakovs
7c8eff5520 Remove old "lastConnection" logic 2020-04-17 16:45:39 +02:00
Marks Polakovs
80914a5801 Kill the streamer if registration fails 2020-04-17 15:16:18 +02:00
Marks Polakovs
43fbf36485 Add a PIS modal 2020-04-17 14:39:32 +02:00
Marks Polakovs
c6207da3f0 Merge branch 'master' into production 2020-04-17 13:40:49 +02:00
Marks Polakovs
be5d78f20b I'm a twat and @mstratford is blind. 2020-04-17 13:40:16 +02:00
Marks Polakovs
687570efcb
Merge pull request #75 from UniversityRadioYork/markspolakovs-fiddling
Stateserver reliability changes
2020-04-17 13:01:37 +02:00
Marks Polakovs
4632cd62a6 Avoid killing a show during the news 2020-04-17 10:52:24 +02:00
Marks Polakovs
ffa2895157 Or, you know, write sensible code. 2020-04-17 10:17:06 +02:00
Marks Polakovs
c00efa0884 Fiddle 2020-04-17 10:10:40 +02:00
Marks Polakovs
c0d87a8469 Lock out registration during the news 2020-04-17 09:48:08 +02:00
Marks Polakovs
b569c6fa1a Fix logic error causing people to be brought on too early 2020-04-16 16:39:11 +02:00
Marks Polakovs
3f737c2328 Revert UTC changes.
This reverts commit 3ebbd4adf6.
2020-04-16 16:37:59 +02:00
Marks Polakovs
e6bdb1b1a7 do I even logic 2020-04-16 14:06:53 +02:00
Marks Polakovs
88a9bfd5fb gah 2020-04-16 14:00:40 +02:00
Marks Polakovs
f0866f6f8d Add pytz to requirements 2020-04-16 13:51:55 +02:00
Marks Polakovs
3ebbd4adf6 Make stateserver use UTC as much as possible 2020-04-16 13:44:15 +02:00
Marks Polakovs
ccdfdb5db0 Log reasons for connection ends 2020-04-16 13:07:25 +02:00
Marks Polakovs
5f37b48864 fix build 2020-04-16 12:53:17 +02:00
Marks Polakovs
5f9cca9289 Delay turning mic off to compensate for WebAudio latency (fixes #72) 2020-04-16 11:06:21 +02:00
Marks Polakovs
cb0e091c30 Refactor news cues code 2020-04-16 10:26:08 +02:00
Marks Polakovs
6e3aab988d I hate everything 2020-04-15 17:13:35 +02:00
Marks Polakovs
9a23746c0c Merge branch 'production' 2020-04-15 13:00:03 +02:00
Matthew Stratford
d99e6dc23f Dammit! SDP needs re-writing on Answer side instead! 2020-04-15 12:59:50 +02:00
Matthew Stratford
fb8eaf28fb Dammit! SDP needs re-writing on Answer side instead! 2020-04-15 03:29:44 +01:00
Marks Polakovs
70a4a4fb98 Merge branch 'production' 2020-04-14 18:09:55 +02:00
Marks Polakovs
99e7688a94 bump version for release 2020-04-14 18:09:46 +02:00
Marks Polakovs
f2f23d93ea red inset border when mic live 2020-04-14 18:09:26 +02:00
Marks Polakovs
d4f5b84014 red inset border when mic live 2020-04-14 17:38:03 +02:00
Marks Polakovs
30f3886487 send wsid to stateserver 2020-04-14 17:29:21 +02:00
Marks Polakovs
8db14adc14 bump version for prod deploy 2020-04-14 16:13:28 +02:00
Marks Polakovs
427903f24a Twiddle™️ levels 2020-04-14 16:11:42 +02:00
Marks Polakovs
9f2ae49483 Fix improper cleanup of sessions 2020-04-14 11:28:43 +02:00
Marks Polakovs
2d084987b1 Merge branch 'master' into production 2020-04-14 10:11:32 +02:00
Marks Polakovs
e37ce21b62 stateserver: troubleshoot registering 2020-04-14 10:11:02 +02:00
Marks Polakovs
bf774bae11 Do the news noises every hour (when we're live) 2020-04-14 09:46:08 +02:00