Commit Graph

199 Commits

Author SHA1 Message Date
Ajay
c9a0fb7bc3 Add disk cache service
Fixes #471
2022-05-17 02:29:36 -04:00
Ajay
5f53859c94 Fix docker container 2022-05-04 01:46:41 -04:00
Ajay
5b177a3e53 Prepare dockerfile for use, allow configuring via env vars 2022-05-03 22:08:44 -04:00
Ajay
1df8117105 Fix warnings and errors 2022-04-13 17:43:38 -04:00
Ajay
8dc87da462 Back rate limit by redia and upgrade node-redis 2022-04-13 17:36:07 -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
Ajay
fafcbe0b25 Move new user down 2022-03-30 15:43:53 -04:00
Ajay
f156a5fbe9 Don't count low viewed downvoted segments 2022-03-06 18:42:24 -05:00
Ajay
b182945274 Clear redis timeouts 2022-03-04 19:22:01 -05:00
Ajay
6507a3a68d Add timeout to redis calls 2022-03-04 19:19:15 -05:00
Ajay
dbb8128a3a Improve useragent parsing 2022-02-22 00:51:45 -05:00
Ajay
4029b15233 Add query cache for shadowban 2022-02-21 22:46:13 -05:00
Ajay
ae6255cc69 Add timeout to newleaf 2022-01-20 15:36:38 -05:00
Ajay
d367998d39 Remove use of "CategoryActionType" 2022-01-19 18:11:01 -05:00
Ajay
5413d8dc9c Ignore full video for reputation 2022-01-17 12:34:51 -05:00
Ajay Ramachandran
b2e37804f5 Merge pull request #440 from ajayyy/full-video-labels
Full video labeling
2022-01-06 15:55:11 -05:00
Ajay
c0c2b365ae Fix full video different category duplicate error 2022-01-06 15:17:21 -05:00
Ajay
6a98a215ac Don't group different categories 2022-01-04 20:39:50 -05:00
Ajay Ramachandran
df3d6fe9c7 Merge pull request #438 from mchangrh/tempVIP
channel-specific VIP
2021-12-31 14:02:05 -05:00
Michael C
a1d28fbfe1 add addUserAsTempVIP 2021-12-31 04:26:37 -05:00
Michael C
9ae16ea9b6 add tempVIP check to vote 2021-12-30 22:21:27 -05:00
Michael C
b9a620fc3b add redis status/min 2021-12-30 16:47:11 -05:00
Ajay
00d7e1f058 Force skip segments cache clear 2021-12-29 00:22:02 -05:00
Ajay
5ebb638925 Add overlapping group caching 2021-12-20 22:51:47 -05:00
Michael C
68bc6469ce add redis tests 2021-12-19 02:03:50 -05:00
Ajay Ramachandran
edd11cc99c Merge pull request #409 from mchangrh/redisHashCache
getHash redis cache
2021-12-03 00:14:01 -05:00
Ajay Ramachandran
8d533d0e94 Move default hash times to var 2021-12-03 00:12:08 -05:00
Ajay Ramachandran
bd3e38fe40 Remove extra log 2021-12-02 23:48:10 -05:00
Ajay Ramachandran
0cd25f0498 Fix issues with query caching for ratings 2021-12-02 23:42:39 -05:00
Ajay Ramachandran
48ac8d1136 Add test for get bulk rating 2021-12-02 23:12:48 -05:00
Ajay Ramachandran
dd2db4bbbf Fix wrong eslint disable 2021-12-02 01:25:26 -05:00
Ajay Ramachandran
733bd338e7 Add bulk rating fetching 2021-12-02 01:10:09 -05:00
Michael C
5a69de730c rename hashKey to be more generic 2021-11-27 02:47:18 -05:00
Michael C
a5a90e3c84 add getHashCache where applicable= 2021-11-27 02:41:34 -05:00
Ajay Ramachandran
4797a7d938 Merge branch 'master' into fix/general-fixes 2021-11-16 19:18:16 -05:00
Michael C
ad7574308f clear rating cache 2021-11-15 01:50:09 -05:00
Ajay Ramachandran
bc6db0d109 Add endpoints for rating endpoint (dislikes)
https://github.com/ajayyy/SponsorBlock/issues/1039
2021-11-14 23:09:12 -05:00
Nishant Arora
246ec7c3c3 Merge branch 'master' into fix/general-fixes 2021-10-27 23:51:45 -06:00
Ajay Ramachandran
6cf268330f Remove old auto-ban on low trust 2021-10-27 19:36:33 -04:00
Nishant Arora
db8543a0b4 utils/getService: Improve Functionality to run on O(n) 2021-10-21 23:49:36 -06:00
Michael C
815df94db4 add eslint rule for no-console 2021-10-20 01:01:58 -04:00
Haidang666
356974b478 add service to table only have videoID 2021-09-30 13:56:55 +07:00
Michael C
82c5c70eb7 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into switch-axios 2021-09-26 18:13:27 -04:00
Michael C
44511acd27 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into reWriteAxios 2021-09-26 18:08:30 -04:00
Michael C
5aa48cdbdf Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into switch-axios 2021-09-26 18:04:22 -04:00
Michael C
6433f50edf replace node-fetch with axios in src 2021-09-23 01:21:10 -04:00
Michael C
a028eaa41a object-curly-spacing 2021-09-22 18:52:35 -04:00
Michael C
1dd534cce9 update dependencies, add shims for node-fetch v3 2021-09-20 01:43:19 -04:00
Haidang666
93c69248d9 Add getService helper function 2021-09-13 14:49:17 +07:00
Ajay Ramachandran
1e05c04a39 Allow mute and skip segments with same times 2021-09-05 22:40:40 -04:00