Commit graph

1170 commits

Author SHA1 Message Date
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
0f9e794428 Fix notice on old YouTube 2020-04-25 23:46:55 -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
7eb6f1c482 Changed popup look 2020-04-20 16:56:12 -04:00
Ajay Ramachandran
a7e2f83033 Fix Firefox popup scrolling issues 2020-04-20 15:57:07 -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
2f5c239c82 Added path to release CI 2020-04-19 20:59:36 -04:00
Ajay Ramachandran
2ca98ad97b Increase version number. 2020-04-19 20:52:26 -04:00
Ajay Ramachandran
4e9b5ca0bc Fixed preview button 2020-04-19 20:48:43 -04:00
Ajay Ramachandran
3d7d291d9a Changed "show on overlay" wording 2020-04-19 20:38:21 -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
2f78f31874 Increased version number. 2020-04-10 00:08:49 -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
80fe28a952 Fixed now button locale missing 2020-04-09 12:48:41 -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
Ajay Ramachandran
6abf6a0044 Added testing server option. 2020-04-09 00:40:11 -04:00
Ajay Ramachandran
9f87c839b5 Fixed preview bar sometimes not appearing 2020-04-06 21:58:42 -04:00
Ajay Ramachandran
85c1a45c8b Improved skipping over multiple segments 2020-04-06 01:19:17 -04:00
Ajay Ramachandran
963fb58321 Fixed endIndex not being used while skipping and made end index finding function recursive 2020-04-06 00:45:28 -04:00
Ajay Ramachandran
d1d4dcdc9c Added migration for auto skip option 2020-04-06 00:40:30 -04:00
Ajay Ramachandran
5abc0bedd4 Fixed some non converted sponsorTimes code 2020-04-05 14:28:26 -04:00
Ajay Ramachandran
e1e570fb18 Made show only overlay work 2020-04-05 00:08:44 -04:00
Ajay Ramachandran
93c0a0c003 Give the user error messages from the server.
Helps with https://github.com/ajayyy/SponsorBlockServer/pull/70
2020-04-04 23:47:01 -04:00
Ajay Ramachandran
93f82de7fd Moves submission error check into the proper place 2020-04-04 23:45:10 -04:00
Ajay Ramachandran
f6945b56d8 Fixed submitted sponsors and prevented preview sponsors from being voted on 2020-04-04 23:35:44 -04:00
Ajay Ramachandran
55e17ceb60 Fixed issues with manual skipping 2020-04-04 23:26:34 -04:00
Ajay Ramachandran
2a432490bc Moved audio setting 2020-04-04 23:26:09 -04:00
Ajay Ramachandran
0115a6df13
Merge pull request #315 from Joe-Dowd/react
Audio notification on skip
2020-04-04 22:26:51 -04:00
Ajay Ramachandran
a5e9ceda60 Removed custom options code for audio 2020-04-04 22:25:10 -04:00
Ajay Ramachandran
09f53c80f0 Sync volume with video volume 2020-04-04 22:22:37 -04:00
Ajay Ramachandran
8134b5a67e
Added missing category to example config 2020-04-04 22:17:11 -04:00