Ajay
f2904da653
Fix type error
2022-07-15 00:26:22 -04:00
Ajay
b11f260377
Log error from reputation in build segment groups
...
Maybe help with #483
2022-07-15 00:23:55 -04:00
Ajay
9ab939456b
Don't cache empty arrays
...
Maybe help with #483
2022-07-15 00:21:08 -04:00
Ajay
47f460bb2c
Fix non-sequencial reputation in getSkipSegments
2022-07-05 20:11:30 -04:00
Ajay
7d396f3782
Do more things in parallel in getSkipSegments
2022-07-05 19:23:02 -04:00
Ajay
a66588619a
Fix rep hurting negatively voted segments
2022-05-03 15:27:23 -04:00
Ajay
4029b15233
Add query cache for shadowban
2022-02-21 22:46:13 -05:00
Ajay
985039a86b
Fix segments always coming back as skip
2022-01-20 19:07:34 -05:00
Ajay
d367998d39
Remove use of "CategoryActionType"
2022-01-19 18:11:01 -05:00
Ajay
6ece944536
Highlight category now has it's own action type
2022-01-19 17:48:09 -05:00
Ajay Ramachandran
b2e37804f5
Merge pull request #440 from ajayyy/full-video-labels
...
Full video labeling
2022-01-06 15:55:11 -05:00
Ajay
77565d7eda
Fix wrong array being returned for highlight and full video segments
2022-01-06 15:17:01 -05:00
Ajay
75cad434b6
Fix unlocked segments being ignored
2022-01-06 14:58:46 -05:00
Ajay
be441a314f
Fix locked segment filtering for highlight and full video
2022-01-06 14:54:27 -05:00
Ajay
6a98a215ac
Don't group different categories
2022-01-04 20:39:50 -05:00
Ajay
89ea13956a
Ensure only one full video label is served
2022-01-04 19:27:50 -05:00
Ajay
7f7cc3a7ca
Increase required overlap for same category and action type
2022-01-02 14:02:26 -05:00
Ajay Ramachandran
ce4270b96d
Merge branch 'master' into categoryLeaderboards
2021-12-31 14:04:20 -05:00
Michael C
42624a7782
minor eslint fixes
2021-12-30 04:09:46 -05:00
Ajay
939ec61c0e
Increase threshold for category overlap
2021-12-29 00:18:07 -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
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
Ajay
5ebb638925
Add overlapping group caching
2021-12-20 22:51:47 -05:00
Ajay Ramachandran
4092ce2616
Fix async causing shadow banned segments to always appear
2021-12-12 23:35:10 -05:00
Ajay Ramachandran
edd11cc99c
Merge pull request #409 from mchangrh/redisHashCache
...
getHash redis cache
2021-12-03 00:14:01 -05:00
Michael C
8fe0a45435
add partial lookup
2021-11-30 18:58:37 -05:00
Michael C
a5a90e3c84
add getHashCache where applicable=
2021-11-27 02:41:34 -05: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
Michael C
9d761815d8
add userID to getSkipSegments
2021-10-27 17:03:16 -04:00
Ajay Ramachandran
f6d6e93847
Return locked and votes in skipSegment calls
...
#379
2021-10-15 00:14:59 -04:00
Haidang666
356974b478
add service to table only have videoID
2021-09-30 13:56:55 +07:00
Michael C
a028eaa41a
object-curly-spacing
2021-09-22 18:52:35 -04:00
Haidang666
93c69248d9
Add getService helper function
2021-09-13 14:49:17 +07:00
Ajay Ramachandran
2a284d7f25
Treat segments where end time of one equals start time of the other as not overlapping
2021-09-02 13:07:49 -04:00
Ajay Ramachandran
13480fe96c
Merge pull request #346 from mchangrh/update-dependencies
...
Update dependencies & eslint
2021-08-31 12:23:48 -04:00
Ajay Ramachandran
9849fba97a
Don't crash if failed to get ip from db
2021-08-31 12:10:23 -04:00
Michael C
5310205911
catch and throw error outside of if
2021-08-28 01:54:50 -04:00
Michael C
9f7abf1865
Revert "fix error with errors"
...
This reverts commit 7601a1d4bf .
2021-08-28 01:53:53 -04:00
Michael C
7601a1d4bf
fix error with errors
2021-08-28 01:48:48 -04:00
Michael C
1c2dd055c1
Update dependencies & eslint
...
- update API-Docs link
- cast err as string to appease eslint
- update package and bump minimum to fix security issue
- removed unnecessary filters from gitignore
2021-08-27 17:09:31 -04:00
Ajay Ramachandran
919c47c993
Fix quote error
2021-07-22 00:08:30 -04:00
Ajay Ramachandran
31103faf92
Improve shadow ban check
2021-07-20 17:15:15 -04:00
Michael C
5f2bc37e96
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into stricter-eslint
2021-07-13 15:55:03 -04:00
Michael C
b5a29675d6
fix more non-format string-concat
2021-07-12 02:48:49 -04:00
Michael C
c0b1d201ad
fix non-format eslint in src/
2021-07-12 02:12:22 -04:00
Michael C
5e58efb07f
early 400 on skipSegments
2021-07-07 17:36:52 -04:00