Commit graph

1653 commits

Author SHA1 Message Date
Michael C
d1ed4376ef
add filler to userStats and getTopUsers 2021-12-20 00:19:14 -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
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