Ajay
46805f4830
Require permission for filler submissions
2022-07-28 12:22:49 -04:00
Ajay
23add072f3
Wait for any successful query instead of just most recent
2022-07-24 15:40:40 -04:00
Ajay
db2f9e11f7
Remove warning about disapearing degments bug
2022-07-23 14:12:06 -04:00
Ajay
2983bdb616
Add warning about segments not appearing
2022-07-22 21:06:21 -04:00
Ajay
597b26ba7c
Clear cache when submission rejected
2022-07-22 21:05:38 -04:00
Ajay
f93c197d05
Add timeout to shadowhiddenn ip
2022-07-22 20:56:29 -04:00
Ajay
603bad4967
Add another warning test
2022-07-21 14:19:41 -04:00
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
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
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
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
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
a99da61039
Fetch user count right away
2022-06-30 17:56:06 -04:00
Ajay
d75226bde5
better db dump system
2022-05-05 22:50:07 -04:00
Ajay
5b177a3e53
Prepare dockerfile for use, allow configuring via env vars
2022-05-03 22:08:44 -04:00
Ajay
a66588619a
Fix rep hurting negatively voted segments
2022-05-03 15:27:23 -04:00
Ajay
fb414ed6db
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
2022-04-14 01:54:28 -04:00
Ajay
c7905d4062
Don't break for no response
2022-04-14 01:54:26 -04:00
Ajay
8dc87da462
Back rate limit by redia and upgrade node-redis
2022-04-13 17:36:07 -04:00
Ajay
2d6be12062
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
2022-04-11 23:48:54 -04:00
Ajay
14ef6682df
Log locked downvoted segment
2022-04-11 23:48:52 -04:00
Ajay Ramachandran
10298efc08
Merge pull request #464 from mchangrh/postSkipSegment
...
update postSkipSegments
2022-04-11 01:56:22 -04:00
Michael M. Chang
b09ed1cbe2
Update src/routes/postSkipSegments.ts
...
Co-authored-by: Ajay Ramachandran <dev@ajay.app >
2022-04-11 01:54:28 -04:00
Michael C
f67c0b5762
merged changes by @mini-bomba
2022-03-31 18:03:42 -04:00
Michael C
d392b1c8fc
remove outdated comments & unnecessary space
2022-03-31 16:52:05 -04:00
Michael C
d02d78f325
add 80% tempVIP
...
- move isUserTempVIP to own file
- reduce allSegmentDuration instead of forEach
- don't return decreaseVotes from autoModerator
- completely skip autoModCheck if VIP
2022-03-31 16:43:10 -04:00
mini-bomba
6b5dc54cc7
voteOnSponsorTime.ts: don't do database queries for vote eligibility on locked segments
2022-03-31 22:41:09 +02:00
Michael C
76cc603a3f
update auotmod check
...
- remove NB code
- reduce complexity + unnecessary iterations
- use client duration if given
2022-03-31 16:02:50 -04:00
Ajay
fe0afd58bc
Save userid with votes
2022-03-30 16:02:30 -04:00
Ajay
84ea08d6d0
Fix crash when categories array is broken
2022-03-11 10:19:55 -05:00