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
|
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 |
|
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 |
|
Michael C
|
5b60243b22
|
update packages, use native redis typings
|
2022-07-13 00:29:40 -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 |
|
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 |
|
Ajay
|
a8d0336cae
|
Don't crash on postgres errors
|
2022-06-24 17:20:48 -04:00 |
|
Ajay
|
749fa4bb95
|
Fix not all db config vars being used
|
2022-06-14 16:22:59 -04:00 |
|
Ajay
|
5c43750835
|
Allow ssl
|
2022-06-10 16:40:48 -04:00 |
|
Ajay
|
0260b4889d
|
safe navigate in user vip
|
2022-05-27 19:07:44 -04:00 |
|
Ajay
|
043c8b771e
|
Lower redis timeout
|
2022-05-23 20:15:44 -04:00 |
|
Ajay
|
55ff3230ed
|
Catch redis exceptions
|
2022-05-23 18:32:40 -04:00 |
|
Ajay
|
ed221c8599
|
Don't log 404 errors for disk cache
|
2022-05-21 00:39:39 -04:00 |
|
Ajay
|
29660d998b
|
Don't count users for options requests
|
2022-05-20 16:59:21 -04:00 |
|
Ajay
|
f520e00ed4
|
Fix null values messing with env import
|
2022-05-20 04:53:31 -04:00 |
|
Ajay
|
21f7d5d938
|
Don't add primary keys with sqlite
|
2022-05-17 12:53:48 -04:00 |
|
Ajay
|
c9a0fb7bc3
|
Add disk cache service
Fixes #471
|
2022-05-17 02:29:36 -04:00 |
|
Michael C
|
6a826b63c9
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into fullVideoLabels
|
2022-05-09 02:42:18 -04:00 |
|
Ajay
|
d8395163b9
|
fix newleafurls
|
2022-05-06 01:53:44 -04:00 |
|
Ajay
|
d75226bde5
|
better db dump system
|
2022-05-05 22:50:07 -04:00 |
|