Commit graph

2092 commits

Author SHA1 Message Date
Michael C
622511c8fd
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into more-coverage 2022-10-27 01:38:08 -04:00
Ajay
c2acc6227b Don't kill program if can't connect to read server 2022-10-27 01:31:41 -04:00
Ajay
176f2ce7b9 Kill if db can't connect 2022-10-27 01:30:59 -04:00
Michael C
9286f16e7b
add ingores to tokenUtils 2022-10-27 01:19:42 -04:00
Ajay
9e3d059d10 Stop postgres retries when over a threshold 2022-10-26 22:58:35 -04:00
Ajay
13ae4681cb Fix hashing empty value for patreon sign in 2022-10-26 12:56:40 -04:00
Ajay
ee56a8dea4 Last pool fail when timeout 2022-10-26 12:49:39 -04:00
Ajay
94eb37cb1c Count active postgres and redis requests 2022-10-26 01:31:29 -04:00
Ajay Ramachandran
0ced78d798
Merge pull request #515 from PeterDaveHello/patch-1
Leave no apk cache in the Docker image
2022-10-23 11:03:13 -04:00
Peter Dave Hello
f1005fe779
Leave no apk cache in the Docker image
This will make the Docker image tidier
2022-10-23 20:19:06 +08:00
Ajay
1e2437b993 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2022-10-22 13:32:49 -04:00
Ajay
a6275b3607 Add message about server outage 2022-10-22 13:32:48 -04:00
Ajay Ramachandran
ba27a8a056
Merge pull request #514 from Choromanski/feature/getTopUsers-fix-minutesSaved-calculation
Fixed minutesSaved typo
2022-10-22 10:19:27 -04:00
Brian Choromanski
10397fbde2
Fixed minutesSaved typo 2022-10-21 17:27:34 -04:00
Ajay
b5434ae234 expand chapter free access 2022-10-18 16:50:21 -04:00
Ajay Ramachandran
b52ca8b2a6
Merge pull request #513 from mchangrh/tokenValidation
add additional token validation
2022-10-13 09:53:29 -04:00
Michael C
e799821ad9
add additional token validation 2022-10-13 00:59:34 -04:00
Ajay
415bb31e36 Revert "Add concurrent request limit" 2022-10-11 11:59:53 -04:00
Ajay Ramachandran
eb3d733a34
Merge pull request #510 from mini-bomba/misc-fixes
Some fixes for voteOnSponsorTime.ts
2022-10-11 00:10:41 -04:00
Ajay
9386f25f9f Add read only redis ability 2022-10-09 16:10:46 -04:00
mini-bomba
ceaf9ec6f6
Fix linter warning 2022-10-08 09:09:19 +02:00
mini-bomba
d229003f6e
Unlock the video on duration change detected when voting 2022-10-08 09:08:40 +02:00
mini-bomba
1becebdcd5
Actually pass the ignoreCache param, as the comment suggests 2022-10-08 09:04:37 +02:00
Ajay
b417241ca0 make permission reason not optional 2022-10-07 12:05:11 -04:00
Ajay
ee3d94e7b7 Add clearer chapter permission error 2022-10-07 12:04:44 -04:00
Ajay
b6da103c3d switch to just lower vote min 2022-10-05 23:15:01 -04:00
Ajay
52a7d7e791 allow locked to be in top list and chapter 2022-10-05 23:08:16 -04:00
Ajay
b63572ec43 Add chapter to top users 2022-10-05 22:00:12 -04:00
Ajay Ramachandran
66d5622393
Merge pull request #508 from mini-bomba/searchsegments-description
Make /searchSegments return the segment description
2022-10-01 09:53:29 -04:00
Ajay Ramachandran
b7fcd9ea39
Merge pull request #509 from mini-bomba/status-startTimes
Use different startTime variables for each processTime check
2022-10-01 09:53:07 -04:00
mini-bomba
c4af2449c3
Use different startTime variables for each processTime check
This should make `processTime` and `redisProcessTime` values from /api/status more accurate
2022-10-01 15:50:47 +02:00
mini-bomba
eb5458427d
Make /searchSegments return the segment description 2022-10-01 13:46:27 +02:00
Michael C
95dd36a782
getUserInfo and free chapters tests 2022-09-30 22:58:49 -04:00
Michael C
67eb165b53
getSearchSegments tests 2022-09-30 22:58:37 -04:00
Michael C
d163b1d436
shadowban tests 2022-09-30 22:58:20 -04:00
Michael C
715d41fbb2
getStatus, token tests and mocks 2022-09-30 22:58:08 -04:00
Michael C
0b9e7029c5
minor optimizations 2022-09-30 22:57:33 -04:00
Michael C
9ef0eafac1
add istanbul exclusions 2022-09-30 22:56:59 -04:00
Michael C
d80be9e7b3
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into more-coverage 2022-09-30 19:36:58 -04:00
Michael C
968ffe785f
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into fullVideoLabels 2022-09-30 19:21:54 -04:00
Ajay Ramachandran
847f1bbabb
Merge pull request #499 from mchangrh/getStatus-redis
add redis process time to getStatus
2022-09-29 16:52:16 -04:00
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
a8ddae131d
Merge branch 'master' of github.com:ajayyy/SponsorBlockServer into more-coverage 2022-09-29 15:39:36 -04:00
Ajay Ramachandran
54e53f098e
Merge pull request #506 from mini-bomba/userstats-chapters
Add Chapters to /userStats, ignore Chapters for time saved calcs
2022-09-28 12:27:11 -04:00
mini-bomba
ed251a047a
Add a test case for getUserInfo.ts ignoring chapters for time saved calc 2022-09-28 18:18:41 +02:00
mini-bomba
601a17c969
Ignore chapters for saved time calculations in getUserInfo.ts 2022-09-28 18:07:39 +02:00
mini-bomba
771fa18731
Modify getUserStats test cases to include chapter counts 2022-09-28 17:59:04 +02:00
mini-bomba
27f7b6d3c7
Add chapter category & action type to getUserStats.ts
This also fixes chapters not being counted in the segment counts.
2022-09-28 17:58:18 +02:00
Michael C
55aa33aa6e
add DiskCache to getPlayerData 2022-09-26 15:58:33 -04:00
Michael C
07926ada57
switch test videoID, remove useless import 2022-09-26 15:44:04 -04:00