Commit graph

1202 commits

Author SHA1 Message Date
Haidang666
ce193b60f7 Store user-agent in postSkipSegment 2021-07-30 13:47:21 +07:00
Ajay Ramachandran
2057b0cfa6 Change default warning mininum 2021-07-29 23:53:13 -04:00
Ajay Ramachandran
366de4955b Send warning reason with votes and use quotes 2021-07-29 23:53:02 -04:00
Michael C
32056ab2f1
re-enable warning if still within issue time 2021-07-28 02:52:00 -04:00
Ajay Ramachandran
d4e45cc3b0 Fix newlines in lock categories error message 2021-07-27 13:03:31 -04:00
Ajay Ramachandran
48aa6d6e05 Fixed odd formatting on lock categories error 2021-07-27 12:59:35 -04:00
Ajay Ramachandran
5ca3cb18e4
Merge pull request #323 from HaiDang666/318_display-lock-reason
Return reason in locked categories when submission fail
2021-07-27 12:56:20 -04:00
Haidang666
c701998a35 return reason in locked categories when submission fail 2021-07-27 14:03:51 +07:00
Ajay Ramachandran
4453705938 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-07-27 00:36:09 -04:00
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