Commit graph

1185 commits

Author SHA1 Message Date
Ajay Ramachandran
e417dade68 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-08-09 10:03:43 -04:00
Ajay Ramachandran
54f8f67ed5 Don't allow username change for banned users 2021-08-09 10:03:40 -04:00
Ajay Ramachandran
23b9375570
Merge pull request #337 from mchangrh/getUserInfo-update
getUserInfo update
2021-08-06 01:20:39 -04:00
Michael C
58551ba37f
add maxRewardTime 2021-08-06 00:51:22 -04:00
Michael C
5ad7c6a3ba
catch all error in endpoint 2021-08-06 00:51:22 -04:00
Ajay Ramachandran
71c01c0f3b add option to get ban status from user info 2021-08-05 20:11:05 -04:00
Ajay Ramachandran
326f9e6e93 Fix sqlite 2021-08-05 20:03:37 -04:00
Ajay Ramachandran
9f0f9054d1 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-08-05 16:50:41 -04:00
Ajay Ramachandran
00858b6633 Remove duplicate usernames and make unique
Closes #336
2021-08-05 16:50:39 -04:00
Ajay Ramachandran
0463513d5d
Merge pull request #335 from mchangrh/mchangrh/deepPartialEquals
use deepPartialEquals instead of multiple assert.strictEquals
2021-08-03 21:06:55 -04:00
Ajay Ramachandran
56a36f34a9
Merge pull request #334 from HaiDang666/update-query
Add Limit 1 when check user as vip
2021-08-03 21:06:51 -04:00
Ajay Ramachandran
73dfe2ef11 Remove casting 2021-08-03 21:05:07 -04:00
Ajay Ramachandran
94b82b6865 Fix warnings 2021-08-03 21:02:45 -04:00
Ajay Ramachandran
1678dcac82 Get all warnings 2021-08-03 13:24:23 -04:00
Ajay Ramachandran
497a509d60 Send longest warning reason 2021-08-03 13:18:38 -04:00
Ajay Ramachandran
bddadc6a9e Change default max reward time 2021-08-03 12:48:48 -04:00
Michael C
ed0d832e08
use partialDeepEquals for tests 2021-08-03 00:19:37 -04:00
Haidang666
38a09b164d Add Limit 1 when check user as vip 2021-08-03 09:28:28 +07:00
Michael C
b39c06a9ef
add tests, new partialDeepEquals 2021-08-02 21:59:06 -04:00
Ajay Ramachandran
09626ee6f6 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-08-02 16:25:07 -04:00
Ajay Ramachandran
3a8076fc3c Indent switch case 2021-08-02 16:25:04 -04:00
Ajay Ramachandran
31a7838851
Merge pull request #331 from mchangrh/segmentInfo-userAgent
include userAgent in segmentInfo
2021-08-01 16:00:38 -04:00
Michael C
7dff254604
add userAgent to tests 2021-08-01 15:28:17 -04:00
Michael C
d4078f0f91
return all from segmentInfo 2021-08-01 15:28:17 -04:00
Ajay Ramachandran
90152240c7
Merge pull request #328 from HaiDang666/refactor
Use assert in test
2021-08-01 12:41:15 -04:00
Haidang666
85e78d2490 Use assert in test 2021-08-01 14:59:25 +07:00
Ajay Ramachandran
3368615a77 Add test for body user agent 2021-08-01 02:57:02 -04:00
Ajay Ramachandran
ee8d20a43d Fix full user agent being saved 2021-08-01 02:46:21 -04:00
Ajay Ramachandran
8f0f01e6b2 Parse user agent header 2021-07-31 21:49:10 -04:00
Ajay Ramachandran
bdf0953f35 Save entire user agent 2021-07-31 21:03:47 -04:00
Ajay Ramachandran
e056c30f05
Merge pull request #327 from HaiDang666/324_user-agent
Store user-agent in postSkipSegment
2021-07-31 20:56:00 -04:00
Ajay Ramachandran
b07979cbc7
Merge pull request #326 from mchangrh/reenable-warning
re-enable warning if still within issue time
2021-07-31 20:55:00 -04:00
Haidang666
01cbf67bcb Fix test on new warning reason format 2021-07-30 13:50:46 +07:00
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