Commit graph

1202 commits

Author SHA1 Message Date
Ajay Ramachandran
954ac1eb07 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-08-24 21:11:42 +02:00
Ajay Ramachandran
b5c6b55380 Update nginx config 2021-08-24 21:10:57 +02:00
Ajay Ramachandran
28982dc84b Fix highlight category in top users 2021-08-22 00:44:24 -04:00
Ajay Ramachandran
5d77b7b03e Fix typo in top users query 2021-08-20 15:18:20 -04:00
Ajay Ramachandran
fa866b0677 Add highlight category to top users 2021-08-20 15:00:22 -04:00
Ajay Ramachandran
f1f5bdb2be Fix test 2021-08-17 22:08:51 -04:00
Ajay Ramachandran
765e01cb00 Add working to gitignore 2021-08-17 22:01:23 -04:00
Ajay Ramachandran
5965879ed1 Rename highlight category to poi_highlight 2021-08-17 22:01:12 -04:00
Ajay Ramachandran
987d91f293 Hide submissions that are at -1 votes 2021-08-17 16:46:45 -04:00
Ajay Ramachandran
c869e60b04 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-08-10 23:13:59 -04:00
Ajay Ramachandran
d653f00a2d Print when partial deep equals fails 2021-08-10 23:13:56 -04:00
Ajay Ramachandran
1cbd162a22 Support commas in timestamps 2021-08-10 23:12:20 -04:00
Ajay Ramachandran
0ec87b967d
Merge pull request #339 from ajayyy/fix-ci
Fix ci
2021-08-10 10:59:45 -04:00
Ajay Ramachandran
0fded0022c Fix userCount using lower case 2021-08-10 10:58:20 -04:00
Ajay Ramachandran
fa901add35 print error in tests 2021-08-10 10:52:02 -04:00
Ajay Ramachandran
f24c962785 Catch postgres exceptions
Fix #338
2021-08-10 09:50:32 -04:00
Ajay Ramachandran
f3e5b360c4 Check against number for username lock 2021-08-10 00:37:43 -04:00
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