Ajay Ramachandran
|
e050a6eec3
|
Merge pull request #484 from mini-bomba/fix/requiredSegments-hidden
Fix (shadow)hidden segments not being sent when requested via requiredSegments + test cases
|
2022-07-20 20:04:24 -04:00 |
|
mini-bomba
|
b3c05bc606
|
Merge branch 'master' into fix/requiredSegments-hidden
# Conflicts:
# src/routes/getSkipSegments.ts
|
2022-07-21 00:54:14 +02:00 |
|
Ajay
|
3203271fdf
|
Allow removing your own warning
|
2022-07-20 18:52:27 -04:00 |
|
Ajay
|
6e1df18c38
|
Allow updating warning messages
|
2022-07-20 17:20:19 -04:00 |
|
Ajay
|
96a75a8335
|
Add retry logic to postgres requests
Maybe solves https://github.com/ajayyy/SponsorBlockServer/issues/487
|
2022-07-20 14:42:04 -04:00 |
|
Ajay
|
dd47f87616
|
Add more things to read from replica
|
2022-07-20 01:21:13 -04:00 |
|
Ajay
|
f1ed8eff84
|
Fix useReplica change breaking voting
|
2022-07-20 00:43:59 -04:00 |
|
Ajay
|
1e441c3ebf
|
Only use read replica for shorter queries
Help with https://github.com/ajayyy/SponsorBlockServer/issues/487
|
2022-07-20 00:40:07 -04:00 |
|
Ajay
|
f4b66d30ec
|
Use pool query since this should catch idle errors
https://github.com/brianc/node-postgres/issues/1324#issuecomment-623311914
Helps with https://github.com/ajayyy/SponsorBlockServer/issues/487
|
2022-07-20 00:31:51 -04:00 |
|
Ajay
|
288f7d45e7
|
Revert "Don't cache empty arrays"
This reverts commit 9ab939456b .
|
2022-07-20 00:23:02 -04:00 |
|
mini-bomba
|
4ac70d2d7e
|
add test cases for getting (shadow)hidden segments with requiredSegments
|
2022-07-16 15:07:22 +02:00 |
|
mini-bomba
|
0f3efc6fb2
|
send hidden segments when requested via requiredSegments
|
2022-07-16 15:07:22 +02:00 |
|
Ajay
|
f2904da653
|
Fix type error
|
2022-07-15 00:26:22 -04:00 |
|
Ajay
|
b11f260377
|
Log error from reputation in build segment groups
Maybe help with #483
|
2022-07-15 00:23:55 -04:00 |
|
Ajay
|
9ab939456b
|
Don't cache empty arrays
Maybe help with #483
|
2022-07-15 00:21:08 -04:00 |
|
Ajay
|
5c089dab13
|
don't crash from reputation
|
2022-07-14 17:51:26 -04:00 |
|
Ajay Ramachandran
|
bba1c7f965
|
Merge pull request #482 from mini-bomba/misc/voteOnSponsorTime
Misc changes to voteOnSponsorTime
|
2022-07-14 17:07:25 -04:00 |
|
mini-bomba
|
55a8b5d514
|
voteOnSponsorTime: add test cases for categoryVote as warned/banned user
|
2022-07-14 21:31:43 +02:00 |
|
mini-bomba
|
9c0f0d8e4f
|
voteOnSponsorTime: simplify currentCategoryCount computation in categoryVote
|
2022-07-14 20:28:45 +02:00 |
|
mini-bomba
|
f24a1415da
|
voteOnSponsorTime: check for VIP/ownSubmission before doing math in categoryVote
|
2022-07-14 20:24:22 +02:00 |
|
mini-bomba
|
70c98e0819
|
voteOnSponsorTime: add ban check to categoryVote
|
2022-07-14 20:22:44 +02:00 |
|
mini-bomba
|
39ad5fb62a
|
voteOnSponsorTime: move warning check before call to categoryVote
|
2022-07-14 20:13:47 +02:00 |
|
Ajay Ramachandran
|
356edb1f4b
|
Merge pull request #481 from mchangrh/update-deps
update dependencies, use native redis typings
|
2022-07-13 12:20:03 -04:00 |
|
Michael C
|
5b60243b22
|
update packages, use native redis typings
|
2022-07-13 00:29:40 -04:00 |
|
Ajay Ramachandran
|
9f5ac2d9b9
|
Merge pull request #477 from mchangrh/coverage-nyc
add instanbul/nyc test coverage
|
2022-07-12 23:14:35 -04:00 |
|
Ajay Ramachandran
|
972cb96259
|
Merge pull request #476 from mchangrh/fullvideo-revive-nonvip
add tests for #454
|
2022-07-12 23:14:03 -04:00 |
|
Ajay
|
c2b0ecd6f6
|
Add ability to add manually choose who can submit chapters
|
2022-07-06 00:11:45 -04:00 |
|
Ajay
|
47f460bb2c
|
Fix non-sequencial reputation in getSkipSegments
|
2022-07-05 20:11:30 -04:00 |
|
Ajay
|
adca0256a0
|
Fix voting insert with postgres
|
2022-07-05 19:30:45 -04:00 |
|
Ajay
|
7d396f3782
|
Do more things in parallel in getSkipSegments
|
2022-07-05 19:23:02 -04:00 |
|
Ajay
|
8ed695bcdc
|
Fix canSubmitChapter being filtered out
|
2022-07-04 23:45:52 -04:00 |
|
Ajay
|
f8c297ddfb
|
Add canSubmitChapter and fix all userInfo functions running
|
2022-07-04 23:44:50 -04:00 |
|
Ajay
|
0f3df8db1b
|
make temp vip as powerful as vip for submitting
|
2022-07-04 16:21:02 -04:00 |
|
Ajay
|
f9de547b95
|
Add malicious vote type for chapters
|
2022-07-04 16:18:58 -04:00 |
|
Ajay
|
cc953884d9
|
Don't count chapter for time saved
|
2022-07-04 01:10:52 -04:00 |
|
Ajay
|
ebee00322a
|
remove client error listener completely
|
2022-06-30 18:11:02 -04:00 |
|
Ajay
|
a99da61039
|
Fetch user count right away
|
2022-06-30 17:56:06 -04:00 |
|
Ajay
|
edff48d258
|
Don't release client on client error
|
2022-06-30 17:50:15 -04:00 |
|
Ajay
|
3844404637
|
ctch client connection errors
|
2022-06-30 02:00:59 -04:00 |
|
Ajay
|
5057c86707
|
Fix read only db used by default
|
2022-06-30 01:38:58 -04:00 |
|
Ajay
|
b1b40d410f
|
Prevent errors from double calling release
|
2022-06-30 01:37:50 -04:00 |
|
Ajay
|
de60415f55
|
more generous reputation
|
2022-06-28 18:14:12 -04:00 |
|
Michael C
|
931e3b8b11
|
add instanbul/nyc test coverage
|
2022-06-28 15:19:42 -04:00 |
|
Michael C
|
8560c3f673
|
add tests for #454
|
2022-06-28 15:02:09 -04:00 |
|
Ajay
|
54db2c8c10
|
Release client on error
|
2022-06-27 19:47:29 -04:00 |
|
Ajay
|
c6868fa839
|
Disable ssl
|
2022-06-27 19:35:50 -04:00 |
|
Ajay
|
86e61c778c
|
Fix fail calculation
|
2022-06-25 12:30:16 -04:00 |
|
Ajay
|
e615d7c032
|
Fix warnings
|
2022-06-25 12:03:30 -04:00 |
|
Ajay
|
08003bc2f2
|
Switch postgres instances if there is a failure
|
2022-06-25 12:02:01 -04:00 |
|
Ajay
|
1a232600a1
|
Add option to cycle between multiple postgres instances
|
2022-06-25 01:41:45 -04:00 |
|