Commit Graph

20 Commits

Author SHA1 Message Date
James Robinson
064d3ad5d5 fix test imports 2020-10-14 18:40:55 -05:00
Ajay Ramachandran
4c222ce2cc Merge branch 'master' into reject-80percent-total-submissions 2020-10-14 18:41:55 -04:00
James Robinson
2825cb63fb ignore segments with less than -1 votes 2020-10-14 00:33:00 -05:00
James Robinson
85dd187cb0 reject submissions if total length is more than 80 precent of the video 2020-10-14 00:25:05 -05:00
Nanobyte
36f654f41c Blocking users with too many active warnings from submitting votes and submissions 2020-09-16 22:40:11 +02:00
Andrew Lee
66c3109037 Add Discord webhook for videos that fail NB check 2020-09-05 18:07:43 -04:00
Andrew Lee
72ce7fcb56 Update test cases with new automod api 2020-08-29 20:41:07 -04:00
Andrew Lee
f1c520fbe8 Merge branch 'master' into nb-mod-fetch 2020-08-29 16:37:20 -04:00
Joe-Dowd
46dd16caf9 added ability to query mysql database 2020-07-05 04:14:15 +01:00
Ajay Ramachandran
a2caa53664 Only sponsors must be longer than 1 second.
Also added proper error message when submission is too short.
2020-05-16 18:33:16 -04:00
Ajay Ramachandran
318d816a37 Change test case to check 7s 2020-04-30 23:41:38 -04:00
Ajay Ramachandran
a278036f1d Added neural block mock 2020-04-30 19:13:42 -04:00
Ajay Ramachandran
f4ce5618bf Merge branch 'testing' of https://github.com/ajayyy/SponsorBlockServer into nb-mod-fetch
# Conflicts:
#	src/routes/postSkipSegments.js
#	test/cases/postSkipSegments.js
2020-04-30 18:44:49 -04:00
Ajay Ramachandran
8290c9e1f4 Added new NB overlapping code 2020-04-30 18:39:03 -04:00
Andrew Lee
b101831a1b Extended timeout to test cases where necessary 2020-04-25 17:15:19 -04:00
Joe-Dowd
fd397de6b4 allow submission if duration is 0 2020-04-24 18:20:40 +01:00
Andrew Lee
35fa384a5b Added automod check with NB 2020-04-19 12:10:39 -04:00
Ajay Ramachandran
9807d3e9c7 Merge 2020-04-06 20:05:26 -04:00
Ajay Ramachandran
8eca458e38 Added DB checks to tests and fixed getIP using the wrong config 2020-04-06 17:25:20 -04:00
Ajay Ramachandran
bd2f00d5f7 Added new submission method 2020-04-06 16:43:47 -04:00