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
Michael C
d48b6ea80e
no need for eslint-disable
2021-07-06 01:06:29 -04:00
Ajay Ramachandran
48349070b3
Combine action type segments when sorting overlapping
2021-07-06 00:57:57 -04:00
Ajay Ramachandran
c77814235c
Add action type to getSkipSegments
2021-07-05 13:23:31 -04:00
Michael C
3c197ec3d9
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into fix-eslint
2021-07-04 15:23:00 -04:00
Ajay Ramachandran
990572ff31
Add parameter to fetch specific segments
2021-07-04 14:15:17 -04:00
Michael C
8df0c31d35
consistent return and sendStatus
2021-07-04 02:04:39 -04:00
Michael C
d89b26b77d
fix eslint-errors
2021-07-04 01:36:03 -04:00
Ajay Ramachandran
a7cb0959e2
Merge pull request #262 from mchangrh/repeated-param
...
parse repeated parameters
2021-06-21 14:21:17 -04:00
Michael C
dd74dd3b1b
parse repeated parameters
2021-06-21 00:33:48 -04:00
Ajay Ramachandran
96015d402b
Make reputation take into account self downvotes
2021-06-20 12:57:32 -04:00
Michael C
0a8f7aa39d
skipSegments return 400 if bad categories
2021-06-15 23:01:26 -04:00
Ajay Ramachandran
300ee0183e
Add a max initial boost
2021-05-24 10:51:32 -04:00
Ajay Ramachandran
d7f352d699
Revert "Don't get reputation every time"
...
This reverts commit 994dba86f6 .
2021-05-23 23:36:16 -04:00
Ajay Ramachandran
994dba86f6
Don't get reputation every time
2021-05-23 23:30:47 -04:00
Ajay Ramachandran
30d0cb7590
Don't break with old cached data
2021-05-23 23:19:39 -04:00
Ajay Ramachandran
52b201ff87
Change to vary boost by votes
2021-05-23 21:43:23 -04:00
Ajay Ramachandran
d3210d4e27
Move files to utils
2021-05-23 18:00:20 -04:00