Commit graph

42 commits

Author SHA1 Message Date
Ajay
5ebb638925 Add overlapping group caching 2021-12-20 22:51:47 -05:00
Michael C
8fe0a45435
add partial lookup 2021-11-30 18:58:37 -05: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
Michael C
a028eaa41a
object-curly-spacing 2021-09-22 18:52:35 -04:00
Michael C
c779c2c19e
everything to postClearCache 2021-09-22 17:50:06 -04:00
Michael C
5758f6512d
move utils to seperate files and folder, update imports 2021-09-21 02:02:17 -04:00
Michael C
9e9fcd47c0
finished other tests 2021-09-16 23:59:19 -04:00
Michael C
6e55f9d979
everything up to purgeAllSegments 2021-09-04 19:23:43 -04:00
Michael C
ed0d832e08
use partialDeepEquals for tests 2021-08-03 00:19:37 -04:00
Michael C
87727ef360
fix tests and linting 2021-07-22 17:50:39 -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
8b3ffe5d0d
fix eslint for tests 2021-07-12 02:43:46 -04:00
Michael M. Chang
0b7ba793b4
Merge branch 'master' into 400-on-noparam 2021-07-11 14:27:32 -04:00
Michael C
e8d0da3ce3
add 400 conditions 2021-07-10 16:30:30 -04:00
Michael C
178ed1e5af
replace if tests with assert 2021-07-08 00:39:57 -04:00
Michael C
596dbf4ac8
404 tests 2021-07-07 17:39:16 -04:00
Ajay Ramachandran
48349070b3 Combine action type segments when sorting overlapping 2021-07-06 00:57:57 -04:00
Ajay Ramachandran
139dff97ef Add tests for normal get segments 2021-07-06 00:19:16 -04:00
Michael C
d5204e9813
lint & fix tests 2021-07-05 03:14:05 -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
d89b26b77d
fix eslint-errors 2021-07-04 01:36:03 -04:00
Michael C
ae8a25e481
more edge cast test cases
- check for null instead of 0 #267
- check that parameter specifying multiple overrides repeating parameters
2021-06-24 01:37:51 -04:00
Nanobyte
7b9e06a471
Merge branch 'master' into fix/prepare-statements 2021-06-22 01:05:48 +02:00
Nanobyte
11e6c93932 Merge remote-tracking branch 'upstream/master' into fix/prepare-statements 2021-06-21 18:19:50 +02:00
Michael C
dd74dd3b1b
parse repeated parameters 2021-06-21 00:33:48 -04:00
Ajay Ramachandran
5fe6ce6656
Merge pull request #250 from mchangrh/fix-getskipsegment-test
Fix Test Suite
2021-06-16 00:47:55 -04:00
Michael C
0a8f7aa39d
skipSegments return 400 if bad categories 2021-06-15 23:01:26 -04:00
Michael C
31071ddb17
new test cases 2021-06-15 21:56:20 -04:00
Michael C
a003733e51
fix test suite 2021-06-15 21:29:36 -04:00
Nanobyte
78a7f8a207 Fix test case prepare statements 2021-05-07 01:51:11 +02:00
Ajay Ramachandran
c9a8dc21b1 Unlock videos and hide segments if duration changed 2021-03-29 19:16:18 -04:00
Ajay Ramachandran
3c89e9c015 Send back duration in getSkipSegments request 2021-03-19 22:52:23 -04:00
Ajay Ramachandran
29d2c9c25e Add new "Service" option 2021-03-19 21:31:16 -04:00
Ajay Ramachandran
8729796e87 Make tests pass running with postgres 2021-03-07 00:21:56 -05:00
Ajay Ramachandran
46b42da5bd Update tests to use promises 2021-03-01 21:37:35 -05:00
Ajay Ramachandran
57adcd3c65 Replace VIP starting with 1000 votes with locked submissions 2021-02-18 20:24:04 -05:00
Nanobyte
797e0b4641 Fix test cases 2021-01-06 01:43:28 +01:00
Ajay Ramachandran
2cd78d5d2f Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into Dainius14/master
# Conflicts:
#	src/routes/shadowBanUser.js
#	src/routes/voteOnSponsorTime.ts
#	test/cases/getSkipSegments.js
#	test/cases/voteOnSponsorTime.js
2020-12-07 17:35:15 -05:00
Dainius Daukševičius
08d27265fc migrate to typescript 2020-10-26 19:13:30 +02:00