Michael C
9e488b8917
Merge branch 'master' of github.com:mchangrh/SponsorBlockServer into poi-restriction
2021-08-28 01:39:52 -04:00
Michael M. Chang
d494c23059
Update src/routes/postSkipSegments.ts
...
Co-authored-by: Ajay Ramachandran <dev@ajay.app >
2021-08-28 01:36:41 -04:00
Ajay Ramachandran
7ef28d859f
Merge pull request #343 from mchangrh/409-ban-exists
...
re-shadowban user
2021-08-28 00:20:22 -04:00
Ajay Ramachandran
c3a5b22dad
Move unHideSubmissions to helper function
2021-08-28 00:18:31 -04:00
Ajay Ramachandran
dea0bce0c4
Merge pull request #342 from mchangrh/no-colon
...
throw error 400 when start or endtime has colon
2021-08-28 00:14:52 -04:00
Michael C
840ccb517e
add getSearchSegments endpoint
2021-08-27 21:46:39 -04:00
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
268008945c
disallow POI before 1 second
2021-08-27 16:41:26 -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
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
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
1cbd162a22
Support commas in timestamps
2021-08-10 23:12:20 -04:00
Ajay Ramachandran
0fded0022c
Fix userCount using lower case
2021-08-10 10:58:20 -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
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
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
Haidang666
38a09b164d
Add Limit 1 when check user as vip
2021-08-03 09:28:28 +07: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
Michael C
d4078f0f91
return all from segmentInfo
2021-08-01 15:28:17 -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
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