Michael C
1c2dd055c1
Update dependencies & eslint
...
- update API-Docs link
- cast err as string to appease eslint
- update package and bump minimum to fix security issue
- removed unnecessary filters from gitignore
2021-08-27 17:09:31 -04:00
Michael C
c448bb3d9a
add test case
2021-08-27 16:44:29 -04:00
Michael C
268008945c
disallow POI before 1 second
2021-08-27 16:41:26 -04:00
Ajay Ramachandran
d99ffdabd7
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
2021-08-25 18:51:24 -04:00
Ajay Ramachandran
4f981c1229
Clarify lock reason
2021-08-25 18:51:22 -04:00
Michael C
265a01dcde
re-shadowban user
...
if user is already shadowbanned but unhideOldSubmissions is true, sets all submissions to hidden. If not true, then return 409 duplicate
2021-08-25 01:56:34 -04:00
Michael C
c3f7b29d44
throw error 400 when start or endtime has colon
2021-08-24 19:12:58 -04:00
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