Commit graph

997 commits

Author SHA1 Message Date
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
Michael C
f2490beea2
put in limits and escapes 2021-06-25 14:35:51 -04:00
Michael C
09ab1dabdf
set limit of 64 characters for lookup 2021-06-25 11:57:27 -04:00
Ajay Ramachandran
e1cf360825
Merge pull request #273 from mchangrh/more-tests
more edge cast test cases
2021-06-25 10:48:27 -04:00
Ajay Ramachandran
de8dd1bb8d
Merge pull request #272 from HaiDang666/271_database-schema
Database table visualization
2021-06-25 10:47:35 -04:00
Michael C
f29bafe89a
fiix tests 2021-06-25 03:37:27 -04:00
Michael C
d4695f0192
add getUserID and tests 2021-06-25 03:33:41 -04:00
Michael C
2ab782f4b6
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into more-tests 2021-06-25 00:54:38 -04:00
Haidang666
aa29ad2014 Add database table schema, Fix indent 2021-06-25 10:44:08 +07:00
Ajay Ramachandran
e7fed0f3cf
Merge pull request #270 from HaiDang666/240_purge-all-segments
Add purge all segments of a video for VIP user
2021-06-24 02:17:52 -04:00
Ajay Ramachandran
3c3c963fd3 Fixed captialization error 2021-06-24 02:16:26 -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
Ajay Ramachandran
8312cfc0aa Move purgeAllSegments up in app.ts 2021-06-24 01:37:50 -04:00
Ajay Ramachandran
0bbb2aa60d Add one more check in tests 2021-06-24 01:36:54 -04:00
Haidang666
9b43ce0ab7 Add purge all segments of VideoId 2021-06-24 12:29:02 +07:00
Ajay Ramachandran
f71cd57bc7 Fix top users 2021-06-24 01:25:26 -04:00
Ajay Ramachandran
1570657e28
Merge pull request #268 from mchangrh/pg-ci
PostgreSQL docker CI
2021-06-24 00:10:37 -04:00
Ajay Ramachandran
0fbfee8dc8 Use logger instead of console.log 2021-06-24 00:08:19 -04:00
Ajay Ramachandran
7269dc4e5f Remove old index 2021-06-24 00:02:00 -04:00
Ajay Ramachandran
c5245cb8e2 Save more info in unlisted video endpoint 2021-06-23 23:58:33 -04:00
Ajay Ramachandran
15b3cb20b3 Remove print statement 2021-06-23 20:11:11 -04:00
Ajay Ramachandran
42da1b6c23 Add endpoint to submit unlisted videos
A temporary measure which will be removed next month

https://support.google.com/youtube/answer/9230970
2021-06-23 19:19:30 -04:00
Michael C
b62db5675d
update CI names and path
move docker-compose to new folder
rename action names
2021-06-23 15:48:02 -04:00
Michael C
da92f2082d
set up postgres CI route
uses env flag TEST_POSTGRES since the sqlite test also runs with env flag CI true
2021-06-23 15:35:08 -04:00
Ajay Ramachandran
746dc4f81d
Merge pull request #232 from MRuy/fix/prepare-statements
Fix/prepare statements
2021-06-21 19:06:29 -04:00