Commit Graph

324 Commits

Author SHA1 Message Date
Ajay Ramachandran
57eb122fce Changed rough time calculation to only use real time or end time.
Also fixed getting the replay button element.
2020-05-11 21:04:10 -04:00
Ajay Ramachandran
aec287f0cf Fixed preview bar hover text error 2020-05-11 20:59:30 -04:00
Ajay Ramachandran
c68aabaa40 Added null coalescence checks to video info 2020-05-11 20:45:48 -04:00
Ajay Ramachandran
d1748f1758 Changed endscreen check to use replay button instead. 2020-05-11 19:27:26 -04:00
Ajay Ramachandran
ac3d27bf88 Changed instances of splice to only remove one 2020-05-11 18:36:07 -04:00
Ajay Ramachandran
3fb5c1c14f Only splice 1 when removing offtopic category selection 2020-05-11 18:35:07 -04:00
Ajay Ramachandran
b1d9cde715 Added code to remove off-topic from category selections.
That category has been removed.
2020-05-11 18:28:27 -04:00
Ajay Ramachandran
98fd841a54 Fixed null whitelisted channel check happening after use 2020-05-10 21:28:01 -04:00
Ajay Ramachandran
3816313f1e Removed log 2020-05-10 21:26:21 -04:00
Ajay Ramachandran
a433dad080 Fix edit text on old YouTube dark theme 2020-05-10 21:23:25 -04:00
Ajay Ramachandran
dc04e045aa Use duration as current time if endcards or autoplay is visible when submitting 2020-05-10 21:06:15 -04:00
Ajay Ramachandran
2f842a0455 Remove config listener from EditComponent properly 2020-05-10 20:32:49 -04:00
Ajay Ramachandran
7c38b1f8f2 Fix new vote options table layout 2020-05-10 20:27:33 -04:00
Ajay Ramachandran
a335ae2b72 Added warning when submitting non-music category on music video.
Also added a color for the music category.
2020-05-10 18:48:28 -04:00
Ajay Ramachandran
1217b9ed0b Added change category button for testing server 2020-05-10 16:44:53 -04:00
Ajay Ramachandran
ebf333b8c6 Removed cancel button 2020-05-05 23:36:06 -04:00
Ajay Ramachandran
9a5cb5ae0f Added another check to prevent scheduled skips from old videos 2020-05-04 16:39:01 -04:00
Ajay Ramachandran
822c7bda89 Added a category tooltip on hover. 2020-05-03 11:42:39 -04:00
Ajay Ramachandran
2a8a425627 Removed invidiou.sh from default instances 2020-04-27 15:22:19 -04:00
Ajay Ramachandran
fbafb723cb Added option to force a whitelist check before allowing skipping. 2020-04-26 23:14:18 -04:00
Ajay Ramachandran
797fbf563b Fix start sponsor code not functioning as well as it should have 2020-04-26 21:46:38 -04:00
Ajay Ramachandran
d23c8b0e1f Fix adblocker error messages and increased unlisted check time 2020-04-26 21:12:56 -04:00
Ajay Ramachandran
18852d16ac isUnlisted now uses JSON data. 2020-04-26 20:40:11 -04:00
Ajay Ramachandran
8a6488f082 Added migration code for whitelisted channelIDs vs URLs 2020-04-26 18:07:10 -04:00
Ajay Ramachandran
16896be97f Changed whitelisting to use channel JSON instead of page scraping.
It also only pulls data once. Uses channelID now instead of URLs.

Resolves https://github.com/ajayyy/SponsorBlock/issues/275

TODO: Add migration method to use channelID instead of channelURL
2020-04-26 15:16:00 -04:00
Ajay Ramachandran
1b8af9da11 Redid hidden sponsor implementation + added info about being hid due to minimum duration
Fixes https://github.com/ajayyy/SponsorBlock/issues/326 and https://github.com/ajayyy/SponsorBlock/issues/325
2020-04-25 23:41:08 -04:00
Ajay Ramachandran
0b90539372 Fixed incorrect videoID check being in reverse. 2020-04-24 21:28:08 -04:00
Ajay Ramachandran
4131442066 Properly reset hiddenSponsorTimes.
Maybe related to https://github.com/ajayyy/SponsorBlock/issues/325
2020-04-24 21:27:45 -04:00
Ajay Ramachandran
8912f88131 Fixed show on seekbar categories appearing in list of start times to skip. 2020-04-21 16:01:41 -04:00
Ajay Ramachandran
c31d30821b Call incorrect videoID check when scheduling a skip. 2020-04-21 14:16:09 -04:00
Ajay Ramachandran
0cfe0dc90f Fix submission count not being counted 2020-04-20 15:48:47 -04:00
Ajay Ramachandran
9a70599e60 Added end button to submission notice 2020-04-20 00:37:25 -04:00
Ajay Ramachandran
89f72c185c Update submission UI whenever there is a config update. 2020-04-20 00:33:41 -04:00
Ajay Ramachandran
4e9b5ca0bc Fixed preview button 2020-04-19 20:48:43 -04:00
Ajay Ramachandran
195ed1f5fc Removed old submission method 2020-04-19 20:37:30 -04:00
Ajay Ramachandran
1b2bc6def4 Submission notice size now updates when the video size changes.
React listeners are properly cleaned up now.
2020-04-14 00:47:09 -04:00
Ajay Ramachandran
18c7be8161 Made submission notice max height dynamic 2020-04-14 00:31:47 -04:00
Ajay Ramachandran
638439a671 Moved notice closing to renderer (no leftover nodes) 2020-04-14 00:10:20 -04:00
Ajay Ramachandran
9fafb9cf54 Made the submission notice scroll when too large 2020-04-13 21:48:55 -04:00
Ajay Ramachandran
0223aa8307 Only show selected categories when submitting and added a "show more categories" button 2020-04-13 12:43:12 -04:00
Ajay Ramachandran
74a4ef0692 Changed name of merch category 2020-04-09 16:40:42 -04:00
Ajay Ramachandran
2d55ea0fc5 Removed logging 2020-04-09 15:34:11 -04:00
Ajay Ramachandran
a50f030a3b Properly handle server error 2020-04-09 14:08:26 -04:00
Ajay Ramachandran
ae690f0c65 Renamed new request function 2020-04-09 14:03:13 -04:00
Ajay Ramachandran
e2128f7ae3 Fixed editing non first index submissions.
The idSuffix was not being set properly and was set to undefined.
2020-04-09 12:54:04 -04:00
Ajay Ramachandran
be74ebe7bc Added category colours 2020-04-09 12:44:10 -04:00
Ajay Ramachandran
e085163dfd Only shows sponsor category if test server is disabled 2020-04-09 12:13:56 -04:00
Ajay Ramachandran
adef65b878 Made submission notice above other notices 2020-04-09 01:42:16 -04:00
Ajay Ramachandran
b7870cbd74 Added submissions with the new API 2020-04-09 01:35:23 -04:00
Ajay Ramachandran
cd03218940 Now uses new GET api when testing server is enabled 2020-04-09 01:19:00 -04:00