Commit graph

1281 commits

Author SHA1 Message Date
Ajay Ramachandran
db6a205f43
Merge pull request #310 from mchangrh/testAssert
Test with assert
2021-07-11 11:51:45 -04:00
Michael C
e8d0da3ce3
add 400 conditions 2021-07-10 16:30:30 -04:00
Michael C
7e977ad811
add warningReason and specify returned types 2021-07-09 12:07:36 -04:00
Michael C
81cae514a0
Update dependencies 2021-07-09 00:31:42 -04:00
Michael C
2d38ef921e
use deepStringEqual instead of deepAssert 2021-07-08 00:59:15 -04:00
Michael C
9f05595cd6
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into testAssert 2021-07-08 00:51:56 -04:00
Michael C
178ed1e5af
replace if tests with assert 2021-07-08 00:39:57 -04:00
Ajay Ramachandran
2105cdf10b Fix segment id test 2021-07-07 18:24:16 -04:00
Ajay Ramachandran
a471e057f5 Remove category from segment id 2021-07-07 18:21:25 -04:00
Ajay Ramachandran
ed5de984f2 Add action type when finding UUID in webhook 2021-07-07 18:16:06 -04:00
Ajay Ramachandran
301f5e7113 Include action type in UUID 2021-07-07 18:12:52 -04:00
Michael C
596dbf4ac8
404 tests 2021-07-07 17:39:16 -04:00
Michael C
9088d9fb9e
additional tests 2021-07-07 17:37:40 -04:00
Michael C
5e58efb07f
early 400 on skipSegments 2021-07-07 17:36:52 -04:00
Michael C
4a835d5306
fix typos 2021-07-07 16:44:05 -04:00
Michael C
7d62fcd8cc
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into getLockCategories/reason 2021-07-07 16:31:37 -04:00
Ajay Ramachandran
42e7c23ee2
Merge pull request #304 from HaiDang666/234_lockCategories-reason
Lock categories reason
2021-07-07 13:05:31 -04:00
Michael C
50e7f4af8e
use .reduce from @HaiDang666 2021-07-07 00:51:08 -04:00
Michael C
3371c6a099
add reason to getLockCategories 2021-07-07 00:22:05 -04:00
Haidang666
feba2af9ed Fix any type 2021-07-06 13:42:08 +07:00
Haidang666
6fcfeb2889 Fix deep equal fail 2021-07-06 13:36:56 +07:00
Haidang666
14f55c9ee5 Add lock category reason 2021-07-06 13:31:44 +07:00
Ajay Ramachandran
e94d1d4bae
Merge pull request #306 from mchangrh/remove-disable-eslint
no need for eslint-disable
2021-07-06 01:15:27 -04:00
Michael C
d48b6ea80e
no need for eslint-disable 2021-07-06 01:06:29 -04:00
Ajay Ramachandran
8ff8f9628a
Merge pull request #301 from mchangrh/eslint-gh-actions
Add ESLint workflow
2021-07-06 01:01:36 -04:00
Ajay Ramachandran
4272f9de99
Merge pull request #305 from ajayyy/userid-limit
Minimum userID size
2021-07-06 01:00:44 -04:00
Ajay Ramachandran
8e0e66d662
Merge pull request #298 from ajayyy/mute-skip
Silent skip type
2021-07-06 01:00:22 -04:00
Ajay Ramachandran
48349070b3 Combine action type segments when sorting overlapping 2021-07-06 00:57:57 -04:00
Ajay Ramachandran
2379899f02 Add a minimum size to userID when submitting 2021-07-06 00:49:07 -04:00
Ajay Ramachandran
35e1cf5733 Add test for submitting 2021-07-06 00:22:01 -04:00
Ajay Ramachandran
139dff97ef Add tests for normal get segments 2021-07-06 00:19:16 -04:00
Ajay Ramachandran
be006403ed Add tests for getting segment by hash 2021-07-06 00:11:04 -04:00
Ajay Ramachandran
f67a805c1f
Add issue assigning action 2021-07-05 20:50:22 -04:00
Ajay Ramachandran
35cfb01973
Merge pull request #303 from mchangrh/lockCategories/hashVideoID
add hashedVideoID to lockCategories
2021-07-05 20:33:22 -04:00
Michael C
fcea42bf38
fix typos, add upgrade_18 2021-07-05 20:05:54 -04:00
Michael C
ad3fe44418
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into eslint-gh-actions 2021-07-05 20:02:58 -04:00
Michael C
ede02eaa8c
add hashedVideoID to lockCategories 2021-07-05 20:01:10 -04:00
Ajay Ramachandran
ab27cbef07 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into mute-skip 2021-07-05 13:29:26 -04:00
Ajay Ramachandran
c2d4f2578c
Merge pull request #300 from mchangrh/appease-eslint
Appease eslint
2021-07-05 13:29:18 -04:00
Ajay Ramachandran
fa4c77b495 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into mute-skip 2021-07-05 13:27:25 -04:00
Ajay Ramachandran
e78c9703b8
Merge pull request #299 from mchangrh/getLockCategories
Get lock categories
2021-07-05 13:27:14 -04:00
Ajay Ramachandran
28e7ec0ef9 Change db upgrade to v19 2021-07-05 13:26:49 -04:00
Ajay Ramachandran
c3dcd58390 Rename type 2021-07-05 13:25:54 -04:00
Ajay Ramachandran
c77814235c Add action type to getSkipSegments 2021-07-05 13:23:31 -04:00
Michael C
e8d5dbec3e
add eslint workflow 2021-07-05 03:18:58 -04:00
Michael C
d5204e9813
lint & fix tests 2021-07-05 03:14:05 -04:00
Michael C
d29c9613b9
type config & remove await from memoryCache 2021-07-05 02:59:01 -04:00
Michael C
351c89f235
add types from ajayyyy/lru-diskcache
- added existing types
- disbled no-unused-vars since there is no other way
2021-07-05 02:40:17 -04:00
Michael C
9a4cd431e8
rewrite getLockCategores to new spec 2021-07-05 02:33:32 -04:00
Michael C
cef6d5f365
fix eslint errors 2021-07-04 23:36:47 -04:00