Commit graph

359 commits

Author SHA1 Message Date
Marks Polakovs
552c56390c prettier all the things 2020-04-20 14:54:43 +02:00
Marks Polakovs
1203d90328 Re-enable noImplicitAny and explictly "any-ize" plugins
This is still kind of terrible, but better than slapping it across the entire codebase.
2020-04-20 14:53:17 +02:00
Matthew Stratford
7010ad70b3 Add intro region and time cursor to waveforms. 2020-04-19 22:47:58 +01:00
Matthew Stratford
bdd246a44a Switch "noImplicitAny" to allow wavesurfer plugins. 2020-04-19 22:47:30 +01:00
Matthew Stratford
81b120a911 Remove unused wavesurfer state. 2020-04-19 22:46:47 +01:00
Matthew Stratford
6580e163c5 Fix Webstudio stopping at height of fullest channel. 2020-04-19 22:45:26 +01:00
Matthew Stratford
409fcd438d Revert "Fix Webstudio stopping at height of fullest channel."
This reverts commit 9b54744c38.
2020-04-19 22:44:35 +01:00
Matthew Stratford
9b54744c38 Fix Webstudio stopping at height of fullest channel. 2020-04-19 22:40:50 +01:00
Marks Polakovs
366bcc7441 Don't rely on items being ordered in Redux state (fixes #51) 2020-04-19 23:25:31 +02:00
Brooke Hatton
9b81540cc2
Styling tweaking (#77)
* Suggested css tweaks

* correct selector

* disable user text selection on tracks

so that they dont accidentally do it while dragging

* Add css varaibles, remove prefixes, use scss for more stuff

- remove `sp` prefix from mixer buttons
- Add css varaibles. Note: Currently doesnt work for the player due to bootstrap shiz that I will probably end up stripping out
- Bring more css into the scss files

* remove unused css

* pull styling into the scss file rather than inline

* use css var for channel shadow and sidebar background

* Align Icons with text..

* Make the sidebar search fields fixed to the top

I can't tell you why this works but it does

* add editor config

* partial refactor of mixer animation into the scss world

* one option for dealing with a core set of reusable css animations

* Prettier fixes

* rename active to hidden - use margin, so that the element doesn't resize when hidden

* rename track to item

* remove grid areas that are a little pointless
2020-04-19 23:17:05 +02:00
Marks Polakovs
3ff523a104
Check prettier instead of trying to be smart 2020-04-19 18:57:58 +02:00
Marks Polakovs
8d0c883a9e bad github, no cookie 2020-04-19 18:52:41 +02:00
markspolakovs
8ad1ef2e94 Prettified Code! 2020-04-19 16:51:05 +00:00
Marks Polakovs
abcac8107c Use @ury1350/prettier-config 2020-04-19 18:49:59 +02:00
markspolakovs
bcfd4004d7 Prettified Code! 2020-04-19 16:33:34 +00:00
Marks Polakovs
d72e4ec4d4
Update main.yml 2020-04-19 18:31:42 +02:00
Marks Polakovs
63bd19cc11 Remember when a client connected
For the memes
2020-04-19 17:15:28 +02:00
Marks Polakovs
5828892009
Update main.yml 2020-04-19 16:08:20 +02:00
Marks Polakovs
fa46def132
try some random shite 2020-04-19 15:58:57 +02:00
Marks Polakovs
63398c4bd8
Add GitHub Actions 2020-04-19 15:54:27 +02:00
Marks Polakovs
7afc0ea5ff Yeet Webcast 2020-04-19 15:48:36 +02:00
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