Commit graph

778 commits

Author SHA1 Message Date
Ajay Ramachandran
dfeb54d7f1 Merge branch 'experimental' of https://github.com/ajayyy/SponsorBlockServer 2020-09-03 12:05:01 -04:00
Ajay Ramachandran
a053d87bd2 Catch user counter errors 2020-09-03 12:04:49 -04:00
Joe Dowd
e33062feeb updated endpoints 2020-09-01 21:37:54 +01:00
Ajay Ramachandran
b0dc79d071 Send max of API users or extension users 2020-08-31 22:17:24 -04:00
Ajay Ramachandran
19f092bcbb
Merge pull request #128 from ajayyy/experimental
Allow all VIP to ban
2020-08-31 14:06:14 -04:00
Ajay Ramachandran
fd81096f63 Allow all VIP to ban 2020-08-31 14:03:12 -04:00
Joe Dowd
2c32460a6e more tests 2020-08-31 04:17:50 +01:00
Joe Dowd
9c9c2a23cc added comment to db upgrade sql file 2020-08-31 03:31:53 +01:00
Joe Dowd
2067599843 added test for hash prefix length 2020-08-31 03:27:12 +01:00
Joe Dowd
00534d91d4 added underscore to category format check 2020-08-31 03:09:47 +01:00
Joe Dowd
88e6c6f93c added db upgrade tests 2020-08-31 02:52:12 +01:00
Joe Dowd
82d59e159f added post and get test to hash prefix 2020-08-31 02:42:25 +01:00
Joe Dowd
aa878482d3 removed status from no segment responses 2020-08-31 01:55:38 +01:00
Joe Dowd
754d3762df fixed test category name 2020-08-31 01:50:36 +01:00
Joe Dowd
1e643c1c07 categorys -> categories 2020-08-31 01:48:41 +01:00
Joe Dowd
36ce803828
Update src/routes/getIsUserVIP.js
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
2020-08-31 01:44:30 +01:00
Joe Dowd
28bd24022b removed schema comments and removed test log 2020-08-31 01:08:18 +01:00
Joe Dowd
84c8eeccc6 added hash prefix test for missing categories 2020-08-31 01:06:50 +01:00
Joe Dowd
1a06502806 added get segments by hash prefix 2020-08-31 00:45:06 +01:00
Joe Dowd
26c72b006c mreged no-segments 2020-08-30 22:33:56 +01:00
Joe Dowd
b8d7eef536 origin testing merge 2020-08-30 22:24:37 +01:00
Joe Dowd
5f23fdd590 Added tests and finished no-segments interface. 2020-08-30 21:47:02 +01:00
Joe Dowd
84533b544a Merge testing & bufgix on logging proxy submissions 2020-08-30 20:37:24 +01:00
Ajay Ramachandran
673c3c13e7
Merge pull request #125 from ajayyy/experimental
Fixed first time submissions webhook only sending for non first time submissions
2020-08-30 11:55:57 -04:00
Ajay Ramachandran
168229e602 Fixed first time submissions webhook only sending for non first time submissions 2020-08-30 11:55:19 -04:00
Ajay Ramachandran
f2265f0dce
Merge pull request #124 from ajayyy/experimental
Fix all submissions being sent to first time submissions channel
2020-08-30 11:35:13 -04:00
Ajay Ramachandran
9ea98b2e2b Fix all submissions being sent to first time submissions channel 2020-08-30 11:33:44 -04:00
Ajay Ramachandran
48bb93e8d4 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2020-08-30 11:27:14 -04:00
Ajay Ramachandran
24cdbaeb51
Merge pull request #123 from ajayyy/experimental
Only accept new user count if higher + add to example config
2020-08-30 11:26:53 -04:00
Ajay Ramachandran
febfab40de Merge branch 'experimental' of https://github.com/ajayyy/SponsorBlockServer 2020-08-30 11:18:05 -04:00
Ajay Ramachandran
89ee0afd61 Only accept new user count if higher + add to example config 2020-08-30 11:17:26 -04:00
Ajay Ramachandran
ffa6b4fac8
Merge pull request #122 from ajayyy/experimental
Added option to use new user counter
2020-08-30 00:25:56 -04:00
Ajay Ramachandran
e46444f3b9 Added option to use new user counter 2020-08-30 00:22:21 -04:00
Ajay Ramachandran
f4afe00f15
Merge pull request #121 from thignus/fix-set-username
fix username variable in setUsername
2020-08-29 23:05:22 -04:00
James Robinson
92b0f917d6 fix username variable in setUsername 2020-08-29 22:01:13 -05:00
Ajay Ramachandran
ba68969943 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into nb-mod-fetch
# Conflicts:
#	src/routes/postSkipSegments.js
#	test/mocks.js
2020-08-29 21:03:13 -04:00
Andrew Lee
72ce7fcb56 Update test cases with new automod api 2020-08-29 20:41:07 -04:00
Andrew Lee
4df31aa6b0 Merge branch 'nb-mod-fetch' of https://github.com/andrewzlee/SponsorBlockServer into nb-mod-fetch 2020-08-29 20:38:59 -04:00
Ajay Ramachandran
262d3d3dfd Add username length limit 2020-08-29 20:05:49 -04:00
Ajay Ramachandran
49cfbdd95f Lower minimum votes to 20 2020-08-29 20:02:32 -04:00
Ajay Ramachandran
a161316dc2
Merge pull request #118 from TAG-Epic/custom-webhooks
Add custom webhooks
2020-08-29 19:26:13 -04:00
Ajay Ramachandran
800a3dff9d Send webhooks after response 2020-08-29 19:22:44 -04:00
Ajay Ramachandran
0872c727d5 Fix auto moderate merge issues 2020-08-29 18:58:52 -04:00
Andrew Lee
d965308346 Merge fixes to nb automod and api change 2020-08-29 18:23:04 -04:00
Andrew Lee
4ffb1e0cdc Merge branch 'nb-mod-fetch' of https://github.com/andrewzlee/SponsorBlockServer into nb-mod-fetch 2020-08-29 17:48:44 -04:00
Andrew Lee
8fc1fe7d8e Re-add node-fetch package 2020-08-29 17:48:39 -04:00
Andrew Lee
c6d28d7fc5
Apply suggestions from code review
Fix syntax changes caused by bad merge

Co-authored-by: Ajay Ramachandran <dev@ajay.app>
2020-08-29 17:45:59 -04:00
Ajay Ramachandran
373548d396
Remove unused variable 2020-08-29 17:39:08 -04:00
Andrew Lee
f1c520fbe8 Merge branch 'master' into nb-mod-fetch 2020-08-29 16:37:20 -04:00
Ajay Ramachandran
a1babfb2ce Lower vote threshold 2020-08-29 15:48:31 -04:00