Ajay Ramachandran
ada32217d9
Merge pull request #503 from mchangrh/innerTubeDuration
...
add innerTube API, types and tests
2022-09-29 16:45:55 -04:00
Michael C
55aa33aa6e
add DiskCache to getPlayerData
2022-09-26 15:58:33 -04:00
Michael C
f683ed4f29
add userCounter mocks and rearrange webhook path
2022-09-24 22:47:18 -04:00
Ajay
30bac658ed
Remove old permission workaround
2022-09-21 21:52:55 -04:00
Ajay
f6c68ec29c
Add another option to get chapters submitting permission
2022-09-19 11:56:55 -04:00
Michael C
62a9b0eddd
add innerTube as primary videoInfo endpoint
...
- drop videoInfo.genreUrl since it's always empty
- bump ts target to ES2021 for Promise.any
- fix mocks to return err: false
- get maxResThumbnail from static endpoint
2022-09-15 17:02:33 -04:00
Michael C
3c09033267
add innerTube API, types and tests
2022-09-14 00:33:52 -04:00
Ajay
bd7dfc63ff
Add eslint rules for dealing with promises
2022-09-07 20:01:11 -04:00
Ajay Ramachandran
0ca134dc8f
Merge pull request #500 from mchangrh/fix-tests
...
fix tests
2022-09-07 12:03:05 -04:00
Michael C
d1d7675a8c
test fixes
...
test fixes
- fix timeout in redis (by @ajayyy)
- allow "errors" in tempVIP test
- remove duplicate warning in postSkipSegments
- remove duplicate VIP in tempVIP
- run tests against different user once tempVIP removed
- fix typo in getHashCache fetching
syntax and wording
- use standard syntax in redisTest
- fix spacing in getLockReason
- typo in npm script name
test cases
- add getHashCache test case
- add more tests to redisTest
configuration
- update config to use redis timeout
- update docker-compose to use newest pinned version
Co-Authored-By: Ajay Ramachandran <dev@ajay.app >
2022-09-07 02:16:23 -04:00
Ajay
252e2305f2
Fix undefined redis timeout breaking redis
2022-09-07 01:39:26 -04:00
Ajay
7060c0ab0d
Add access token system
2022-08-31 01:55:38 -04:00
Ajay
027ff694a0
Make redis timeout configurable
2022-08-25 20:44:16 -04:00
Ajay
44d541bafe
Don't use replica for is vip
2022-08-22 11:59:08 -04:00
Ajay
9559628273
Fix error
2022-08-19 15:45:23 -04:00
Ajay
5a43f46ac0
Configurable expiry time
2022-08-19 15:40:32 -04:00
Ajay
f4c104215b
Lower requirements
2022-08-12 15:11:50 -04:00
Ajay
479890fc0d
Add default expiry to query cache
...
Resolves #461
2022-08-11 21:37:13 -04:00
Ajay
877c3b7107
Change submission requirements
2022-08-09 22:01:09 -04:00
Ajay
cd35a58f83
Fix typo
2022-07-31 21:08:23 -04:00
Ajay
cb1cc10278
Extend restriction to all categories
2022-07-31 21:05:39 -04:00
Ajay
ef93c692e5
fix reputation query typo
2022-07-29 11:57:55 -04:00
Ajay
ee49689110
Ignore full in all reputation cases
...
Closes #490
2022-07-29 11:55:48 -04:00
Ajay
da1ed70c66
adjust permissions and use parrallel processing
2022-07-29 11:47:28 -04:00
Ajay
186f07b20c
change filler rules
2022-07-29 11:29:39 -04:00
Ajay
5e49ce22b2
new chat link
2022-07-28 16:59:23 -04:00
Ajay
af7634b498
Fix ad feature auth logic
2022-07-28 13:55:43 -04:00
Ajay
17a790b6d9
More accurate spam number
2022-07-28 13:00:58 -04:00
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
9764c01428
Add timeout for replica requests on non replica too
2022-07-22 20:00:38 -04:00
Ajay
dd47f87616
Add more things to read from replica
2022-07-20 01:21:13 -04:00
Ajay
288f7d45e7
Revert "Don't cache empty arrays"
...
This reverts commit 9ab939456b .
2022-07-20 00:23:02 -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
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
de60415f55
more generous reputation
2022-06-28 18:14:12 -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
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
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
Michael C
e6bf20937d
endpoint + tests for getVideoLabels
2022-03-31 03:47:06 -04:00