Commit graph

1281 commits

Author SHA1 Message Date
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
DetachHead
eb481215e3 compile as part of the test script since ts-node doesn't typecheck everything 2021-07-03 15:46:51 +10:00
DetachHead
20335e3f27 use express-promise-router to prevent requests timing out on unhandled promise rejections 2021-07-03 14:59:57 +10:00
Michael C
931b3fdc68
disallow vote types 10/11 2021-07-02 23:07:17 -04:00
Michael C
36a5b4e1d3
VIP upvotes unhide segments
also added test for undo-vote
2021-07-02 22:54:54 -04:00
Michael C
107b21c463
restore hidden segments with vip upvote 2021-07-02 21:57:00 -04:00
Haidang666
24480fd18c Revear auto clear unused code 2021-07-01 11:38:29 +07:00
Haidang666
09e50d432e Update postSegment test with reason 2021-07-01 11:31:35 +07:00
Haidang666
402ea35971 Add postSkipSegments return lastes warning reason 2021-07-01 10:33:47 +07:00
Haidang666
7f074554c4 Fix schema md header link 2021-07-01 10:30:45 +07:00
Ajay Ramachandran
f1d22c6ca4
Merge pull request #281 from mchangrh/docker/node-14
multi-stage dockerfile with node:14-alpine
2021-06-30 13:46:12 -04:00
Ajay Ramachandran
7a877a9653
Merge pull request #282 from HaiDang666/276_warn-reason
User warning reason
2021-06-30 13:43:08 -04:00
Ajay Ramachandran
ce59d3f95f Don't fail if row is undefined 2021-06-30 00:01:40 -04:00
Haidang666
081f2d14b7 Add test, Fix sql syntax 2021-06-30 08:59:20 +07:00
Michael C
14a97b4879
multi-stage dockerfile with node:14-alpine 2021-06-29 19:22:18 -04:00
Ajay Ramachandran
4d8526c24d
Update dockerfile to node 14 2021-06-29 17:12:04 -04:00
Ajay Ramachandran
66cd88d4c2
Update node in dockerfile 2021-06-29 16:56:26 -04:00
Ajay Ramachandran
1f4da1ab48
Merge pull request #279 from mchangrh/ci-bump
Bump checkout/ setup-node actions
2021-06-29 16:49:32 -04:00
Michael C
30a12a600a
bump setup-node and checkout versions 2021-06-29 16:27:35 -04:00
Ajay Ramachandran
994b68bc4c
Merge pull request #278 from mchangrh/ci-timeout
add 5 minute timeout to CI, added note in config
2021-06-29 16:26:21 -04:00
Michael C
d710b88c3e
add 5 minute timeout to CI, added note in config
- added note in config to use enable_offline_queue to avoid timeouts
- removed wait action from CI
2021-06-29 16:23:52 -04:00
Haidang666
214ddc9807 Add warning reason in postWarning 2021-06-29 14:56:57 +07:00
Ajay Ramachandran
6f18a49ba0 Switch username update to one query 2021-06-28 22:05:15 -04:00
Ajay Ramachandran
8b54e965a2 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-06-28 13:24:04 -04:00