Commit Graph

521 Commits

Author SHA1 Message Date
Ajay Ramachandran
0839c6b6f9 Merge pull request #81 from andrewzlee/nb-mod-fetch
Add NB to automod process
2020-09-13 11:15:35 -04:00
Ajay Ramachandran
0c14560eaa Merge branch 'master' into nb-mod-fetch 2020-09-11 17:32:14 -04:00
Ajay Ramachandran
a49db96d49 Clarify error message 2020-09-11 17:30:54 -04:00
Ajay Ramachandran
66642e7bdf Merge pull request #138 from ajayyy/experimental
Fix error messages in postSkipSegments
2020-09-11 17:22:52 -04:00
Andrew Lee
6843e22a7b Change automod check to call YT and NB API a single time per submission 2020-09-11 17:08:41 -04:00
Ajay Ramachandran
4baf13f82c Fix error messages in postSkipSegments 2020-09-11 16:35:12 -04:00
Ajay Ramachandran
f80e6887fe Merge pull request #137 from ajayyy/experimental
Add error message for 400 errors
2020-09-09 21:36:21 -04:00
Ajay Ramachandran
548061ff13 Add error message for 400 errors 2020-09-09 21:32:47 -04:00
Ajay Ramachandran
9d9cb4f139 Merge pull request #135 from MRuy/checking-categories
Adding check to only allow a list of categories
2020-09-09 20:20:04 -04:00
Nanobyte
3bf92fe2ad Merge pull request #1 from Joe-Dowd/checking-categories
added test for change category
2020-09-09 23:00:29 +02:00
Joe Dowd
a068e194e9 added test for change category 2020-09-09 21:57:59 +01:00
Nanobyte
6485fd0f88 Update test.json 2020-09-09 18:57:47 +02:00
Nanobyte
dec0971c14 Adding check to only allow a list of categories 2020-09-09 16:40:13 +02:00
Andrew Lee
137a6dc771 Make db queries one request 2020-09-07 13:16:03 -04:00
Andrew Lee
ce36806169 Added usernames to NB Discord webhooks 2020-09-07 12:29:13 -04:00
Ajay Ramachandran
6fe8dfc188 Merge pull request #133 from ajayyy/experimental
Don't fail when YouTube API fails
2020-09-07 10:25:27 -04:00
Ajay Ramachandran
cb386b7f8d Don't fail when YouTube API fails 2020-09-07 10:23:51 -04:00
Andrew Lee
8b132c37a0 Disable NB automod vote decrease 2020-09-06 21:10:28 -04:00
Andrew Lee
6e8d644574 Removed unnecessary YT API call from NB Discord webhook 2020-09-06 21:08:51 -04:00
Ajay Ramachandran
87c7ec405d Merge pull request #132 from ajayyy/experimental
Made report by submitter work for VIPs
2020-09-06 13:37:10 -04:00
Ajay Ramachandran
9bcecae9a2 Made report by submitter work for VIPs 2020-09-06 13:35:14 -04:00
Andrew Lee
fbd8113217 Bug fix automod params 2020-09-05 18:26:20 -04:00
Andrew Lee
66c3109037 Add Discord webhook for videos that fail NB check 2020-09-05 18:07:43 -04:00
Andrew Lee
e8116de4bb Update configs for NB discord URLs 2020-09-05 17:03:52 -04:00
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
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
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