Commit graph

1128 commits

Author SHA1 Message Date
Haidang666
0eb298a943 Update query and test 2021-07-24 15:09:30 +07: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
Ajay Ramachandran
3d0b9edb9c Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-07-12 11:05:14 -04:00
Ajay Ramachandran
a23ec160c0 Make reputation take into account more recent segments 2021-07-12 11:05:12 -04:00
Michael C
b5a29675d6
fix more non-format string-concat 2021-07-12 02:48:49 -04:00
Michael C
8b3ffe5d0d
fix eslint for tests 2021-07-12 02:43:46 -04:00
Michael C
c0b1d201ad
fix non-format eslint in src/ 2021-07-12 02:12:22 -04:00
Michael C
a8f7080bf2
fix typo in tests 2021-07-12 00:32:51 -04:00
Ajay Ramachandran
9445a06871
Merge pull request #312 from HaiDang666/221_archive-down-votes
archive down votes
2021-07-11 23:21:14 -04:00
Michael C
d9a66a5894 quote & check for db version 2021-07-12 08:59:12 +07:00
Haidang666
bbb1db014c Add archive downvote function unit test 2021-07-12 08:59:12 +07:00
Haidang666
6b5156468c Add archive downvote segment cron 2021-07-12 08:59:12 +07:00
Michael M. Chang
0b7ba793b4
Merge branch 'master' into 400-on-noparam 2021-07-11 14:27:32 -04:00
Ajay Ramachandran
ef86fceedd
Merge pull request #311 from mchangrh/dependency-bump
Update dependencies
2021-07-11 11:52:35 -04:00
Ajay Ramachandran
db6a205f43
Merge pull request #310 from mchangrh/testAssert
Test with assert
2021-07-11 11:51:45 -04:00
Michael C
e8d0da3ce3
add 400 conditions 2021-07-10 16:30:30 -04:00
Michael C
7e977ad811
add warningReason and specify returned types 2021-07-09 12:07:36 -04:00