Commit Graph

1150 Commits

Author SHA1 Message Date
Ajay Ramachandran
1c304b636f Merge pull request #430 from mchangrh/filler
add filler to userStats and getTopUsers
2021-12-20 23:44:24 -05:00
Ajay Ramachandran
4e94cdda72 Merge pull request #432 from mchangrh/eslint-and-workflow
eslint + workflow formatting
2021-12-20 23:44:09 -05:00
Ajay
873551e1c4 formatting fix 2021-12-20 23:39:58 -05:00
Ajay
66af4f60c8 Add test for different categories at same time 2021-12-20 23:07:12 -05:00
Michael C
3dd9024cc7 eslint + workflow formatting
- appropriate job names
- only trigger on pushes to master branch & PRs
- conform to formatting
2021-12-20 23:04:41 -05:00
Ajay
5ebb638925 Add overlapping group caching 2021-12-20 22:51:47 -05:00
Ajay Ramachandran
7aa9524835 Merge pull request #429 from mchangrh/redis-test
add redis tests
2021-12-20 22:50:21 -05:00
Ajay Ramachandran
f6d68bb3f3 Merge pull request #421 from HaiDang666/392_getSearchSegments-pagination
add custom pagination in getSearchSegments
2021-12-20 22:36:22 -05:00
Ajay Ramachandran
7caaf833dd Fix safe navigation 2021-12-20 22:29:48 -05:00
Michael C
b730383293 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into filler 2021-12-20 00:27:09 -05:00
Michael C
d1ed4376ef add filler to userStats and getTopUsers 2021-12-20 00:19:14 -05:00
Ajay Ramachandran
5a358caedb Merge pull request #419 from mchangrh/patch-1
[searchSegments] ignore if votes <= -2
2021-12-19 21:00:45 -05:00
Ajay Ramachandran
0f4b0c2f54 formatting 2021-12-19 19:13:49 -05:00
Michael C
68bc6469ce add redis tests 2021-12-19 02:03:50 -05:00
Haidang666
89a83f78cc add more test on limit, page 2021-12-19 10:13:06 +07:00
Michael C
544af7ce15 remove empty rows from userNames 2021-12-18 21:33:38 -05:00
Haidang666
ec73ae309e add custom pagination in getSearchSegments 2021-12-17 15:08:51 +07:00
Ajay Ramachandran
4092ce2616 Fix async causing shadow banned segments to always appear 2021-12-12 23:35:10 -05:00
Ajay Ramachandran
a0720329d0 Write to private db first when rating 2021-12-12 00:55:22 -05:00
Michael M. Chang
98cb2b022d [searchSegments] ignore if votes <= -2
the ignored parameter should also ignore segments that are downvoted
2021-12-10 07:52:47 -05: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
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
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
Michael C
5a69de730c rename hashKey to be more generic 2021-11-27 02:47:18 -05:00
Michael C
a5a90e3c84 add getHashCache where applicable= 2021-11-27 02:41:34 -05: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
4797a7d938 Merge branch 'master' into fix/general-fixes 2021-11-16 19:18:16 -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
1106048b37 Allow mute intro, outro, preview and add filler 2021-11-08 19:22:17 -05:00
Ajay Ramachandran
6919b5433b Add suggested chapter names 2021-11-06 22:43:03 -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
Ajay Ramachandran
7eef74a7dc Add new % overlap function used for chapters
Kind of #107
2021-11-06 16:09:55 -04:00
Ajay Ramachandran
32150e4a1d Add submitting description for chapters 2021-11-06 00:54:28 -04:00
Ajay Ramachandran
991d384f11 Merge pull request #398 from mchangrh/userID-skipSegments
add userID to getSkipSegments
2021-10-30 21:50:32 -04:00