Commit graph

1436 commits

Author SHA1 Message Date
Michael C
68bc6469ce
add redis tests 2021-12-19 02:03:50 -05:00
Ajay Ramachandran
caf94a7a93 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-12-12 23:35:13 -05:00
Ajay Ramachandran
4092ce2616 Fix async causing shadow banned segments to always appear 2021-12-12 23:35:10 -05:00
Ajay Ramachandran
14c2f16cb6 update nginx config 2021-12-13 01:41:16 +01:00
Ajay Ramachandran
a0720329d0 Write to private db first when rating 2021-12-12 00:55:22 -05:00
Ajay Ramachandran
6f3b45bdbd Update nginx config 2021-12-05 05:06:31 +01:00
Ajay Ramachandran
4964c72e71 Serve database csv from node 2021-12-04 22:55:36 -05:00
Ajay Ramachandran
e3042f7623 Add limit to bulk hash prefix 2021-12-04 22:34: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
8f3a5a0e4d
Merge pull request #416 from mchangrh/npm-update
bump dependencies, npm audit fix
2021-12-03 00:02:16 -05:00
Ajay Ramachandran
bd3e38fe40 Remove extra log 2021-12-02 23:48:10 -05:00
Ajay Ramachandran
6f05b5b92d
Merge pull request #412 from mchangrh/requiredSegment/shortHash
get requiredSegments by partial hash
2021-12-02 23:44:29 -05:00
Ajay Ramachandran
9bc65d566a
Merge pull request #417 from ajayyy/bulk-ratings
Add bulk rating fetching
2021-12-02 23:44:09 -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
9e86f463d8 Support regex via sqlite 2021-12-02 01:23:59 -05:00
Ajay Ramachandran
733bd338e7 Add bulk rating fetching 2021-12-02 01:10:09 -05:00
Michael C
7df9f0b054
npm audit fix 2021-12-01 16:45:11 -05:00
Michael C
91ba6948d8
engine limited by express-promise-router, dev engine is LTS 16 2021-12-01 16:26:56 -05:00
Michael C
af4b2e4624
minor changes 2021-12-01 15:43:43 -05:00
Michael C
8fe0a45435
add partial lookup 2021-11-30 18:58:37 -05:00
Ajay Ramachandran
d55a860114
Merge pull request #406 from mchangrh/searchSegments/userID
add userID to searchSegments
2021-11-28 11:20:14 -05:00
Ajay Ramachandran
ad23ec040b
Merge pull request #405 from mchangrh/validateVideoID
add check for zero length videoID
2021-11-28 11:20:04 -05:00
Michael C
5a69de730c
rename hashKey to be more generic 2021-11-27 02:47:18 -05:00
Michael C
6baa00b76d
remove newline-before-return eslint 2021-11-27 02:42:59 -05:00
Michael C
a5a90e3c84
add getHashCache where applicable= 2021-11-27 02:41:34 -05:00
Ajay Ramachandran
7e1550f3c0 Update nginx config 2021-11-21 17:40:39 +01:00
Michael C
4584dbc047
add userID to searchSegments 2021-11-20 01:15:33 -05:00
Michael C
0a869dbbd7
strict check for videoID length 2021-11-19 02:27:42 -05:00
Ajay Ramachandran
20e9a3e8b1 Fix index using non existent column 2021-11-16 22:53:59 -05:00
Ajay Ramachandran
0478491f93
Merge pull request #390 from whizzzkid/fix/general-fixes
General Improvements
2021-11-16 19:22:52 -05:00
Ajay Ramachandran
4797a7d938
Merge branch 'master' into fix/general-fixes 2021-11-16 19:18:16 -05:00
Ajay Ramachandran
726a081df1
Merge pull request #403 from mchangrh/ratingFix
Fixed issues with ratings
2021-11-16 19:17:48 -05:00
Michael C
ad7574308f
clear rating cache 2021-11-15 01:50:09 -05:00
Michael C
03c95ca158
rename clearSegmentCache 2021-11-15 01:48:14 -05:00
Michael C
b9ebd00365
fixed tests, typos and optimized code for ratings 2021-11-15 01:17:36 -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
Ajay Ramachandran
7590047c6d
Merge pull request #401 from ajayyy/chapters
Initial Chapters
2021-11-14 16:41:51 -05:00
Ajay Ramachandran
e85a0d4f28 Fix lock reason test with filler 2021-11-08 19:28:27 -05:00
Ajay Ramachandran
16c5819f5c Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into chapters 2021-11-08 19:26:39 -05:00
Ajay Ramachandran
db48953e39 Allow mute intro, outro, preview and add filler 2021-11-08 19:24:58 -05:00
Ajay Ramachandran
1106048b37 Allow mute intro, outro, preview and add filler 2021-11-08 19:22:17 -05:00
Ajay Ramachandran
a2698fb70d Set all videoInfo values in chapters name test 2021-11-06 23:18:28 -04:00
Ajay Ramachandran
6919b5433b Add suggested chapter names 2021-11-06 22:43:03 -04:00
Ajay Ramachandran
c371d35e82 update db schema 2021-11-06 19:56:01 -04:00
Ajay Ramachandran
0b7904f891 Add test case for small part that is the same action type 2021-11-06 17:40:26 -04:00
Ajay Ramachandran
c0072d5c72 Add another segment to overlap test case and fix for that case 2021-11-06 17:28:58 -04:00
Ajay Ramachandran
2733cd6606 Switch to new method that splits up existing groups instead of making new ones
Kind of #107
2021-11-06 16:11:02 -04:00