Commit Graph

1393 Commits

Author SHA1 Message Date
Ajay Ramachandran
144f3fa035 Don't strictly check for locked videos 2021-07-27 00:36:07 -04:00
Ajay Ramachandran
fd507d6657 Merge pull request #320 from HaiDang666/refactor-postSkipSegments
Split code in postSkipSegment
2021-07-26 23:49:08 -04:00
Ajay Ramachandran
9aa0ff6de6 Merge pull request #319 from HaiDang666/266_final
Update: most upvoted segments on locked videos as locked submissions
2021-07-26 23:48:58 -04:00
Ajay Ramachandran
37ea8adb73 assert fixed value 2021-07-26 23:46:26 -04:00
Felix
0d6992b80b Merge branch 'master' into refactor-postSkipSegments 2021-07-27 10:40:38 +07:00
Ajay Ramachandran
7b15957bb8 fix tests 2021-07-25 14:34:55 -04:00
Ajay Ramachandran
b1c5c38bdb Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-07-24 16:04:42 -04:00
Ajay Ramachandran
e6b2243496 Add link to discord and matrix 2021-07-24 16:04:40 -04:00
Haidang666
0eb298a943 Update query and test 2021-07-24 15:09:30 +07:00
Haidang666
22debb4374 Split code in postSkipSegment 2021-07-23 13:54:44 +07:00
Ajay Ramachandran
ef71405143 Merge pull request #321 from mchangrh/fixci
fix tests and linting
2021-07-23 00:13:02 -04:00
Ajay Ramachandran
0990a9b87d Add semicolon 2021-07-22 20:00:42 -04:00
Michael C
87727ef360 fix tests and linting 2021-07-22 17:50:39 -04:00
Ajay Ramachandran
dbc8558ec8 Log submissions for warned users 2021-07-22 11:12:22 -04:00
Ajay Ramachandran
143cdf529d Include default message on error from warning.
Also show userID
2021-07-22 11:02:38 -04:00
Ajay Ramachandran
919c47c993 Fix quote error 2021-07-22 00:08:30 -04:00
Haidang666
2773c5f500 Update: most upvoted segments on locked videos as locked submissions 2021-07-21 16:16:58 +07:00
Ajay Ramachandran
c070e5f40d Fix falsey values getting through tests 2021-07-20 17:21:22 -04:00
Ajay Ramachandran
31103faf92 Improve shadow ban check 2021-07-20 17:15:15 -04:00
Ajay Ramachandran
05ec937b06 Fix youtube api cache key 2021-07-20 13:54:30 -04:00
Ajay Ramachandran
3c5a27d9f5 fix incorrect sql 2021-07-20 13:42:31 -04:00
Ajay Ramachandran
1ad805fda3 reset video duration when vip upvotes hidden segment 2021-07-20 13:40:22 -04:00
Ajay Ramachandran
6171ba7c7a Print times of submissions on locked categories 2021-07-20 12:41:27 -04:00
Ajay Ramachandran
c60b82d40a Only treat video as changed duration if both submitted and api agree 2021-07-20 12:38:45 -04:00
Ajay Ramachandran
13a04a0442 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-07-19 16:14:17 -04:00
Ajay Ramachandran
db3701d76a Don't fail for invalid userID 2021-07-19 16:13:14 -04:00
Ajay Ramachandran
a02d14e425 Merge pull request #317 from mchangrh/stricter-eslint
Stricter ESLint rules & linting fixes
2021-07-18 14:39:17 -04:00
Michael C
f774df972d Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into stricter-eslint 2021-07-18 14:30:27 -04:00
Ajay Ramachandran
04ed1112a4 Merge pull request #314 from mchangrh/getUserInfo/param
add warningReason and specify returned types
2021-07-18 11:52:13 -04:00
Michael C
2075ed46e1 added null warningReason 2021-07-18 02:39:37 -04:00
Michael C
fdb88dd401 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into getUserInfo/param 2021-07-18 02:38:12 -04:00
Michael C
205958464a new stringDeepEquals 2021-07-18 02:33:57 -04:00
Michael C
a7aaffcfe5 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into stricter-eslint 2021-07-18 02:27:48 -04:00
Ajay Ramachandran
0222b1fccd Update package lock 2021-07-16 16:23:08 -04:00
Ajay Ramachandran
b98d6fd8ca Ignore votes from short ids 2021-07-16 16:22:55 -04:00
Ajay Ramachandran
3f6baebd71 Add friendlier message for short userID 2021-07-16 16:19:00 -04:00
Ajay Ramachandran
ce2aa67832 Disable info logging on production 2021-07-15 16:06:04 -04:00
Ajay Ramachandran
83a77dfc74 Use strict equals 2021-07-15 14:03:30 -04:00
Ajay Ramachandran
27f406f757 Fix username existence check 2021-07-15 14:02:08 -04:00
Ajay Ramachandran
72e17b06fc Don't break if cron schedule is missing 2021-07-15 13:55:02 -04:00
Ajay Ramachandran
49e1e38f05 Enable info logs in production 2021-07-15 13:15:52 -04:00
Ajay Ramachandran
d64a61738f Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-07-15 12:32:02 -04:00
Ajay Ramachandran
d7b8c32c10 Remove lock when undoing vote 2021-07-15 12:32:00 -04:00
Michael C
42423a86a6 forgot to return reason 2021-07-14 14:30:36 -04:00
Michael C
8ee51a1cb0 testing CI 2021-07-14 14:11:34 -04:00
Michael C
5f2bc37e96 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into stricter-eslint 2021-07-13 15:55:03 -04:00
Michael C
1ba1450e9c string literal fixes & npm run postgres:docker 2021-07-13 15:45:24 -04:00
Ajay Ramachandran
afabf3650b Merge pull request #307 from mchangrh/getLockCategories/reason
add reason to getLockCategories
2021-07-13 14:48:22 -04:00
Michael C
59bad90480 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into getLockCategories/reason 2021-07-13 13:51:51 -04:00
Ajay Ramachandran
a342ad5bda Merge pull request #316 from mchangrh/400-on-noparam
Return 400 if no parameters specified
2021-07-12 14:17:20 -04:00