Commit Graph

1274 Commits

Author SHA1 Message Date
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
Michael C
88a368d0b9 add tests for shadowban 2021-10-30 17:58:17 -04:00
Nishant Arora
246ec7c3c3 Merge branch 'master' into fix/general-fixes 2021-10-27 23:51:45 -06:00
Nishant Arora
70d0387356 routes/deleteLockCategories: fixed 2021-10-27 23:50:20 -06:00
Ajay Ramachandran
19f7bbcde5 Add info about using sb mirror
Closes #373
2021-10-27 21:25:46 -04:00
Ajay Ramachandran
6cf268330f Remove old auto-ban on low trust 2021-10-27 19:36:33 -04:00
Michael C
9d761815d8 add userID to getSkipSegments 2021-10-27 17:03:16 -04:00
Michael C
a9adfbc06d disable eslint for error dump 2021-10-26 20:37:49 -04:00
Michael C
5743ed5434 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into no-console 2021-10-26 20:36:53 -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
Michael C
6be034362b don't queue dump if generate=false 2021-10-24 16:19:40 -04:00
Felix Hoang
103280ca59 remove unuse variable 2021-10-24 16:27:12 +07:00
Felix Hoang
b715b30ae6 add username in get lock reason route 2021-10-24 16:04:18 +07:00
Michael C
6bcc4cdfa3 sturcture for init and exit 2021-10-22 11:37:32 -04:00
Nishant Arora
05072f5d22 routes/deleteLockCategories: Run Queries in Parallel 2021-10-22 00:17:43 -06:00
Nishant Arora
28dc0fb512 routes/addUserAsVIP: fixed 2021-10-21 23:59:08 -06:00
Nishant Arora
2376d88481 routes/addUnlistedVideo: Improved 2021-10-21 23:49:42 -06:00
Nishant Arora
db8543a0b4 utils/getService: Improve Functionality to run on O(n) 2021-10-21 23:49:36 -06:00
Michael C
c6428bf9e4 import without fs 2021-10-21 23:15:36 -04:00
Michael C
0163a52e55 if in mirror mode, import CSV files 2021-10-21 03:49:25 -04:00
Michael C
815df94db4 add eslint rule for no-console 2021-10-20 01:01:58 -04:00
Michael C
ac15686b47 add loadAvg to status 2021-10-20 00:16:27 -04:00
Ajay Ramachandran
93536976d0 Merge pull request #385 from mchangrh/384-fix
Implement #384
2021-10-19 23:30:09 -04:00
Michael C
6caab2ef06 don't destructure and re-structure 2021-10-19 23:23:58 -04:00
Michael C
a316403bb5 quote for postgres 2021-10-19 23:22:13 -04:00