Commit graph

356 commits

Author SHA1 Message Date
Michael C
68bc6469ce
add redis tests 2021-12-19 02:03:50 -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
48ac8d1136 Add test for get bulk rating 2021-12-02 23:12:48 -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
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
Michael C
ad7574308f
clear rating cache 2021-11-15 01:50:09 -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
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
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
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
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
Michael C
88a368d0b9
add tests for shadowban 2021-10-30 17:58:17 -04:00
Michael C
9d761815d8
add userID to getSkipSegments 2021-10-27 17:03:16 -04:00
Ajay Ramachandran
eecb238e18
Merge pull request #389 from mchangrh/replication-mirror
changes for mirror mode
2021-10-26 20:34:22 -04:00
Ajay Ramachandran
3877cd580c
Merge pull request #391 from HaiDang666/388_lock-user-with-reason
add username in get lock reason route
2021-10-26 20:26:44 -04:00
Ajay Ramachandran
393027c1ea
Merge pull request #386 from mchangrh/more-stats
add loadAvg to status
2021-10-26 20:24:06 -04:00
Felix Hoang
b715b30ae6 add username in get lock reason route 2021-10-24 16:04:18 +07:00
Michael C
fd6ae8fc0e
bargaining with postgres CI
- fix tests with lockCategories
- new unique naming scheme for video
- super janky somehow working method for comparing arrays out of order
2021-10-22 03:53:27 -04:00
Michael C
109578a3ed
remove extra console.log lines 2021-10-20 00:59:08 -04:00
Michael C
ac15686b47
add loadAvg to status 2021-10-20 00:16:27 -04:00
Michael C
5cf7a61de1
restructure for postgres 2021-10-19 23:14:52 -04:00
Michael C
d0deb6fe27
finish tests and remove extra console.logs 2021-10-19 23:06:47 -04:00
Ajay Ramachandran
450f4a2d44 Store video info from submissions 2021-10-17 14:42:48 -04:00
Ajay Ramachandran
f6d6e93847 Return locked and votes in skipSegment calls
#379
2021-10-15 00:14:59 -04:00
Ajay Ramachandran
658e391f50 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into pr/FlorianZahn/376 2021-10-03 13:11:25 -04:00
FlorianZahn
69e321c405
Improved formatting 2021-10-03 19:03:49 +02:00
FlorianZahn
178c4d9792
Remove comment
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
2021-10-03 18:53:34 +02:00
FlorianZahn
7135aa3369 removing console.log() commands 2021-10-02 05:11:26 +02:00
FlorianZahn
aacd297b3b Fixed bugs where normal users could cirumvent vip locks by changing categories 2021-10-02 05:04:18 +02:00
FlorianZahn
bb2a007ed1 first changes and timeout on 2nd test 2021-10-02 04:39:54 +02:00
Haidang666
356974b478 add service to table only have videoID 2021-09-30 13:56:55 +07:00
Michael C
82c5c70eb7
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into switch-axios 2021-09-26 18:13:27 -04:00
Michael C
6433f50edf
replace node-fetch with axios in src 2021-09-23 01:21:10 -04:00
Michael C
28d637f620
remove extra async and extra utils 2021-09-22 23:34:46 -04:00
Michael C
4e50f0ab4b
remaining tests 2021-09-22 23:18:31 -04:00
Michael C
a028eaa41a
object-curly-spacing 2021-09-22 18:52:35 -04:00
Michael C
5dcc90b31a
fix CI errors 2021-09-22 18:46:13 -04:00
Michael C
a5c88693b8
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into reWriteAxios 2021-09-22 18:44:23 -04:00
Michael C
9b6808273b
json as any 2021-09-22 17:57:12 -04:00
Michael C
c779c2c19e
everything to postClearCache 2021-09-22 17:50:06 -04:00