Ajay
9386f25f9f
Add read only redis ability
2022-10-09 16:10:46 -04: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
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
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
Ajay
ea05284b1d
Allow manual dispatch of generate sqlite base
2022-09-26 15:23:01 -04:00
Ajay Ramachandran
230191ece9
Merge pull request #473 from mchangrh/gha_b2-sync
...
add b2 syncing for sqlite base
2022-09-26 15:19:07 -04:00
Ajay
28448f99d9
Lock s3cmd-sync version
2022-09-26 15:17:38 -04:00
Ajay Ramachandran
55db24ab74
Merge pull request #505 from mchangrh/tokenValidateRegex
...
add fast fails for local and gumroad license keys
2022-09-24 21:09:16 -04:00
Michael C
551e103158
add tregex for both patreon and gumroad
2022-09-24 20:13:35 -04:00
Michael C
8fc01ba138
add fast fails for local and gumroad license keys
2022-09-22 20:30:10 -04:00
Ajay
1c1496afbc
Change free chapter to use historical rep
2022-09-22 14:50:48 -04:00
Ajay
7007ab05e1
Handle errors from redis store in request rate limit
2022-09-22 11:12:47 -04:00
Ajay
30bac658ed
Remove old permission workaround
2022-09-21 21:52:55 -04:00
Ajay
f6f83fcbe4
Add concurrent request limit
2022-09-20 23:41:36 -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
2ecf4b3a9b
Fix category votes to use category support to judge when not allowed
2022-09-12 10:59:26 -04:00
Ajay
94ca291460
Don't cut off early if last retry
2022-09-11 12:22:57 -04:00
Michael C
0e3eeece01
return -1 for unknown dbVersion
2022-09-08 16:38:05 -04:00
Michael C
00dae6d6a1
switch to reused promiseOrTimeout
2022-09-08 16:34:39 -04:00
Ajay
e84957a2c8
commit missing file
2022-09-08 15:04:33 -04:00
Ajay
1e66a2e57a
Add option to disable fallback after failure
2022-09-08 15:02:56 -04:00
Michael C
9be9d05dbe
add redis process time and add timeout clause
2022-09-07 23:43:14 -04:00
Ajay
072324f0ab
Add permission request to image build action
2022-09-07 22:35:32 -04:00
Ajay
c1e5f0e117
Fix void being used in wrong context
2022-09-07 22:15:44 -04:00
Ajay
ae95f7e3ea
Only give up on replica for last retry
2022-09-07 22:10:48 -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
9c72e20d1b
test for changing chapter category
2022-09-07 01:31:38 -04:00
Ajay
ec41102f07
Better chapter name error and increase min size
2022-09-04 22:36:26 -04:00
Ajay
08ab7e816d
Restrict changing chapters category
2022-09-02 17:48:47 -04:00
Ajay
f103a02a34
Don't check 80% for chapters
2022-09-02 17:24:10 -04:00