Commit Graph

488 Commits

Author SHA1 Message Date
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
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
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
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
168229e602 Fixed first time submissions webhook only sending for non first time submissions 2020-08-30 11:55:19 -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
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
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
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
Ajay Ramachandran
407c38b4be Hostfix basic ip ban 2020-08-29 14:00:15 -04:00
Ajay Ramachandran
f868939eb9 Remove dead submissions from total stats 2020-08-29 12:43:17 -04:00
Ajay Ramachandran
84b143545d Fix function name 2020-08-29 12:35:24 -04:00
Ajay Ramachandran
67951b39d9 Change vote and username requirements 2020-08-29 12:25:35 -04:00
Ajay Ramachandran
19363c86f9 New vote weight 2020-08-24 20:51:04 -04:00
Ajay Ramachandran
f7bde024cb Allow self-upvotes on dead submissions 2020-08-24 20:21:39 -04:00
Ajay Ramachandran
f4b36867ff Fixed duplicate variable 2020-08-24 20:15:46 -04:00
Ajay Ramachandran
2f2273b8a8 Added decimals to formatted time 2020-08-24 20:12:57 -04:00
Joe Dowd
dc7dadd9a1 tidy undesolved fix 2020-08-24 22:43:36 +01:00
Joe Dowd
3563924c6f Fixed undesolved test error 2020-08-24 22:40:02 +01:00
TAG-Epic
3085b0e30c Remove random s 2020-08-24 22:45:47 +02:00
TAG-Epic
5c9aa8c9ca Cleaned up function names 2020-08-24 13:59:13 +02:00
TAG-Epic
2c70f87b93 Add webhooks to postSkipSegments 2020-08-24 13:14:04 +02:00
TAG-Epic
aca4318351 Move dispatchEvent to webhookUtils 2020-08-24 09:06:47 +02:00
TAG-Epic
16777c30ca Change .size to .length 2020-08-23 22:35:35 +02:00
TAG-Epic
a897c313fb Remove broken and unnecessary check 2020-08-23 22:33:06 +02:00
TAG-Epic
9eddc330c5 Move getVoteAuthor to webhookUtils and move user status (api) to webhookUtils 2020-08-23 22:30:35 +02:00
TAG-Epic
20d813d2ea Fix missing semicolon 2020-08-23 22:13:00 +02:00