Commit graph

1166 commits

Author SHA1 Message Date
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
Michael C
81cae514a0
Update dependencies 2021-07-09 00:31:42 -04:00
Michael C
2d38ef921e
use deepStringEqual instead of deepAssert 2021-07-08 00:59:15 -04:00
Michael C
9f05595cd6
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into testAssert 2021-07-08 00:51:56 -04:00
Michael C
178ed1e5af
replace if tests with assert 2021-07-08 00:39:57 -04:00
Ajay Ramachandran
2105cdf10b Fix segment id test 2021-07-07 18:24:16 -04:00
Ajay Ramachandran
a471e057f5 Remove category from segment id 2021-07-07 18:21:25 -04:00
Ajay Ramachandran
ed5de984f2 Add action type when finding UUID in webhook 2021-07-07 18:16:06 -04:00
Ajay Ramachandran
301f5e7113 Include action type in UUID 2021-07-07 18:12:52 -04:00
Michael C
596dbf4ac8
404 tests 2021-07-07 17:39:16 -04:00
Michael C
9088d9fb9e
additional tests 2021-07-07 17:37:40 -04:00
Michael C
5e58efb07f
early 400 on skipSegments 2021-07-07 17:36:52 -04:00
Michael C
4a835d5306
fix typos 2021-07-07 16:44:05 -04:00