Commit graph

1021 commits

Author SHA1 Message Date
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
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
Ajay Ramachandran
0ddde452e3 Auto-lock username when admin changes it
https://github.com/ajayyy/SponsorBlockServer/issues/168
2021-06-28 13:20:57 -04:00
Ajay Ramachandran
7dbd4a3150
Merge pull request #275 from HaiDang666/193_log-username-change
Add log when update username
2021-06-27 18:13:21 -04:00
Ajay Ramachandran
98b5fa7bce
Merge pull request #274 from mchangrh/getUserID
GET api/userID
2021-06-27 18:10:35 -04:00
Michael C
33a45ce0a2
fix TS declarations 2021-06-27 01:05:06 -04:00
Haidang666
41ba37c04e Fix boolean comparison, Add log table to schema visual 2021-06-27 11:57:39 +07:00
Haidang666
f3542b7402 Fix column name for postgre 2021-06-27 11:51:04 +07:00
Haidang666
f5bb221ecd Add log when update username 2021-06-27 11:45:42 +07:00
Ajay Ramachandran
07ab48da1f Add disk caching for youtube api calls
Fixes https://github.com/ajayyy/SponsorBlockServer/issues/239
2021-06-26 23:21:51 -04:00
Michael C
2f50d80a75
add explit param 2021-06-26 23:02:52 -04:00
Michael C
b06a6fbb51
redos prevention 2021-06-25 15:57:41 -04:00