Commit graph

1204 commits

Author SHA1 Message Date
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
Michael C
1c116eda3b
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into getLockCategories 2021-07-04 23:33:21 -04:00
Michael C
a860e96d35
getLockCategoresByHash 2021-07-04 23:33:12 -04:00
Ajay Ramachandran
d20320e87e Add post for actionType
untested
2021-07-04 18:35:15 -04:00
Ajay Ramachandran
43ae471038
Merge pull request #294 from mchangrh/fix-eslint
fix eslint-errors
2021-07-04 18:21:00 -04:00
Ajay Ramachandran
00ff3ecd38
Merge branch 'master' into fix-eslint 2021-07-04 18:19:52 -04:00
Ajay Ramachandran
b6d6cb4359
Merge pull request #293 from mchangrh/add-eslint
Add eslint
2021-07-04 18:18:50 -04:00
Ajay Ramachandran
5a09134d3f Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into pr/mchangrh/293 2021-07-04 18:17:18 -04:00
Michael C
719a0956ac
add getLockCategories 2021-07-04 17:03:28 -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
0b27244c06 Fix audit issue 2021-07-04 14:21:28 -04:00
Ajay Ramachandran
0a60ca6468 Add repeating category for fetching by hash
Fixes #235
2021-07-04 14:20:54 -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
Michael C
401be9d9fa
match sponsorblock warn rules 2021-07-03 22:51:26 -04:00
Michael C
28341fc1f3
Add eslint based off of SponsorBlock 2021-07-03 22:49:04 -04:00
Ajay Ramachandran
be277d0218
Merge pull request #284 from HaiDang666/283_show-lastest-warning
Show lastest warning when post segment
2021-07-03 22:46:26 -04:00
Ajay Ramachandran
a7315eaee0 Add case for default warning message 2021-07-03 22:45:13 -04:00
Ajay Ramachandran
a1bcd08658
Merge pull request #287 from mchangrh/unhide-vote
VIP upvote should unhide segment
2021-07-03 22:38:41 -04:00
Ajay Ramachandran
cf592554f1
Merge branch 'master' into unhide-vote 2021-07-03 22:37:23 -04:00
Ajay Ramachandran
cb950ac5d7
Merge pull request #288 from mchangrh/remove-altvote
remote vote types 10/11
2021-07-03 22:36:42 -04:00
Ajay Ramachandran
4f29e2c197
Merge pull request #289 from DetachHead/express-promise-router
express-promise-router
2021-07-03 22:36:30 -04:00
Ajay Ramachandran
c9e0acd055 Fix any issue 2021-07-03 17:50:20 -04:00
Ajay Ramachandran
63254159ca
Merge pull request #292 from DetachHead/tsc_test
run `tsc` in the `test` script
2021-07-03 17:47:48 -04:00
Ajay Ramachandran
c5fd4b41b6 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-07-03 17:27:00 -04:00
Ajay Ramachandran
f5cfd6bfb5 Add try catch in dump database 2021-07-03 17:26:59 -04:00
DetachHead
81c2e7b059 read test script value from package.json 2021-07-03 16:01:29 +10:00