Commit Graph

313 Commits

Author SHA1 Message Date
Michael C
467443a03f fix typings for getSubmissionUUID, update getStatus 2023-09-30 19:08:23 -04:00
mini-bomba
55150cb301 do user & IP queries asynchronously in checkbanStatus()
Co-authored-by: Kendell R <KTibow@users.noreply.github.com>
2023-08-31 14:59:22 +02:00
mini-bomba
c2a3630d49 create an isUserBanned utility function 2023-08-29 16:38:41 +02:00
Ajay
dfa4578d28 Better token generation 2023-08-03 00:58:01 -04:00
Ajay
99cb22a5e6 Also clear branding cache when clearing segment cache 2023-07-29 18:44:52 -04:00
Ajay
8d518b184b Change default lock timeout 2023-07-23 23:30:17 -04:00
Ajay
3924a65e02 Don't use locks when redis disabled 2023-07-23 23:28:41 -04:00
Ajay
8bcc781da7 Add locks to different write operations 2023-07-23 23:21:50 -04:00
Ajay
8b418c8851 Add hiding dearrow submissions in ban code 2023-07-05 01:23:48 -04:00
Ajay
5834643ba0 Add random timestamp generation to get branding 2023-06-08 03:39:44 -04:00
Ajay
69a54f64b4 More specific redis error 2023-04-07 14:39:38 -04:00
Ajay
42f2eb5eae Add traces to branding endpoint 2023-04-07 14:31:08 -04:00
Ajay
8a236d66ed Fix video labels hash key error 2023-04-05 18:02:47 -04:00
Ajay Ramachandran
d6a12a5e99 Merge pull request #545 from ajayyy/clickbait
Clear query cache for branding
2023-03-29 00:33:27 -04:00
Ajay
4696ce8d01 Clear query cache for branding 2023-03-29 00:32:29 -04:00
Ajay Ramachandran
bffc10e38f Merge pull request #534 from ajayyy/clickbait
Clickbait
2023-03-27 00:54:52 -04:00
Ajay
b6e9f92da8 Free chapters 2023-03-18 19:15:50 -04:00
Ajay
d4c4dbffcc Change video label cache to 3 chars 2023-03-18 00:36:05 -04:00
Ajay Ramachandran
d76ee7cd22 Merge pull request #541 from mchangrh/etagTest
add etag and other tests
2023-02-22 01:38:41 -05:00
Michael C
76ce1017ea add warning webhook 2023-02-22 00:08:27 -05:00
Michael C
80de71a68f add misc 400 tests 2023-02-21 20:09:57 -05:00
Michael C
4b8bc418ba clean up getCWSUsers 2023-02-21 20:09:38 -05:00
Michael C
900fa9f64e add test ignores 2023-02-21 17:00:53 -05:00
Michael C
c6795a783d fix getCWS util 2023-02-21 03:24:32 -05:00
Michael C
1bda331b0c add new CWS user parsing method 2023-02-20 22:22:33 -05:00
Michael C
f70a26009c add ignore clauses to tests 2023-02-20 22:22:33 -05:00
Ajay
3894d453a5 Improve performance of reputation query 2023-02-04 18:22:31 -05:00
Ajay
280e6684af Fix reputation using wrong date 2023-02-04 18:22:19 -05:00
Ajay
7361c7056b Print active db requests in redis errors 2023-02-04 15:12:22 -05:00
Ajay
2d751a0b21 Log response time limits 2023-02-04 14:13:49 -05:00
Ajay
399bda869f Add more detailed redis error message 2023-02-04 14:07:09 -05:00
Michael C
a64b8f99b7 use shared parseParams helper 2023-01-28 02:40:09 -05:00
Ajay Ramachandran
d07aac3a33 Merge branch 'master' into clickbait 2023-01-28 02:13:42 -05:00
Ajay Ramachandran
1641a41b00 Merge pull request #533 from mchangrh/cache-control
add ETag to skipSegments byHash
2023-01-28 01:16:32 -05:00
Ajay
2ed23d7fcb Fix duplicate chapter issue
Fix https://github.com/ajayyy/SponsorBlockServer/issues/521
2023-01-21 21:52:39 -05:00
Michael C
e7a43d79ab optimize skipSegments, add eTag
- moved skipSegments parameter parsing to new file
- added oldGetVideoSponsorTimes to getSkipSegments.ts
2023-01-01 04:59:57 -05:00
Michael C
a613b68c66 add ETag to skipSegments byHash 2023-01-01 02:50:49 -05:00
Michael C
7c2feb80bc videoID validation and userID min length 2022-12-27 01:45:50 -05:00
Ajay
cc24a4902f Initial get branding 2022-12-23 16:56:27 -05:00
Michael C
8d7b010a12 append missing number to version 2022-12-17 23:58:19 -05:00
Michael C
fc73f491fe bump innertube clientVersion 2022-12-17 23:56:36 -05:00
Ajay
cff2325aef use keep alive in disk cache and user counter 2022-12-05 17:06:00 -05:00
Michael C
1f844bf56a Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into submitPrivateVideo 2022-11-21 14:40:46 -05:00
Ajay
91fc56f59a Wait for redis to connect before starting server 2022-11-20 01:20:05 -05:00
Ajay
238ccc83d9 Stop writing if response time exceeds value 2022-11-19 23:58:55 -05:00
Ajay
7bdcb10994 Fix redis set limiting 2022-11-19 23:32:09 -05:00
Ajay
849ca52ef8 Allow disabling hash cache 2022-11-19 20:05:59 -05:00
Ajay
1fffd2e6ac Remove set limitation code 2022-11-13 17:01:32 -05:00
Ajay
d3d53d0758 Allow no max redis connections 2022-11-12 15:35:07 -05:00
Michael C
7fb68937d0 add innertube tests for private videos 2022-11-09 14:39:02 -05:00