Commit Graph

1263 Commits

Author SHA1 Message Date
Ajay Ramachandran
ce4270b96d Merge branch 'master' into categoryLeaderboards 2021-12-31 14:04:20 -05:00
Ajay Ramachandran
df3d6fe9c7 Merge pull request #438 from mchangrh/tempVIP
channel-specific VIP
2021-12-31 14:02:05 -05:00
Michael C
a1d28fbfe1 add addUserAsTempVIP 2021-12-31 04:26:37 -05:00
Michael C
9ae16ea9b6 add tempVIP check to vote 2021-12-30 22:21:27 -05:00
Michael C
b9a620fc3b add redis status/min 2021-12-30 16:47:11 -05:00
Michael C
42624a7782 minor eslint fixes 2021-12-30 04:09:46 -05:00
Michael C
f97af4c433 texts for getTopCategoryUsers 2021-12-30 04:07:38 -05:00
Michael C
90f891aee4 arr.push instead of add at index 2021-12-30 03:13:55 -05:00
Ajay
00d7e1f058 Force skip segments cache clear 2021-12-29 00:22:02 -05:00
Ajay
939ec61c0e Increase threshold for category overlap 2021-12-29 00:18:07 -05:00
Michael C
0db3240f58 add getTopCategoryUsers 2021-12-27 04:58:11 -05:00
Ajay
95d14c0fdb Allow overlaping non music with other categories 2021-12-21 11:21:19 -05:00
Ajay
7b2d9365a0 Fix undefined issue 2021-12-20 23:52:24 -05:00
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