Commit graph

1462 commits

Author SHA1 Message Date
Ajay Ramachandran
4e94cdda72
Merge pull request #432 from mchangrh/eslint-and-workflow
eslint + workflow formatting
2021-12-20 23:44:09 -05:00
Ajay Ramachandran
dfe669a0cd
Merge pull request #431 from ajayyy/cached-get-segments
Add overlapping group caching + filter out identical segments of different categories
2021-12-20 23:44:03 -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
Ajay
a137f8a434 Add redis to ci name 2021-12-20 22:27:35 -05:00
Ajay Ramachandran
f54b9f7ae1 Fix nginx config issues 2021-12-20 03:24:54 +01:00
Ajay Ramachandran
9d1a401e3e
Merge pull request #426 from mchangrh/tune-nginx
nginx tuning in lieu of http/2
2021-12-19 21:15:55 -05:00
Ajay Ramachandran
4fa4fdf1e3 Update nginx config 2021-12-20 03:13:29 +01: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
e2e4f79cec
Merge pull request #428 from mchangrh/userNameRows
remove empty rows from userNames
2021-12-19 21:00:27 -05:00
Michael C
ed44eaffec
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into redis-test 2021-12-19 19:38:55 -05:00
Michael C
1f9dc92074
add arrayDeepPartialEquals 2021-12-19 19:37:22 -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
Ajay Ramachandran
d7e86aac80
Merge pull request #427 from mchangrh/fix-test-422
remove extra print from test
2021-12-19 01:08:02 -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
Michael C
ba07137933
remove extra print from test 2021-12-18 20:53:17 -05:00
Michael C
e0bf2afdc9
nginx tuning
- whitespace formatting
- added keepalive
- buffer access_logs
friendship ended with http/2, nginx is my new best friend
2021-12-18 18:59:24 -05:00
Haidang666
ec73ae309e add custom pagination in getSearchSegments 2021-12-17 15:08:51 +07: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
Michael C
292b05443f
ignored segments should exclude downvote 2021-12-10 16:40:34 -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
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