Commit graph

1377 commits

Author SHA1 Message Date
Michael C
aab95a1adc
add config key for poiMinimumStartTime 2021-08-29 21:43:21 -04:00
Ajay Ramachandran
9f762ac206
Merge pull request #349 from mchangrh/update-matrix
update matrix link
2021-08-29 21:27:16 -04:00
Michael C
5f8a319f48
update matrix link 2021-08-29 14:58:41 -04:00
Ajay Ramachandran
24e82309c4
Merge pull request #345 from mchangrh/poi-restriction
disallow POI before 1 second
2021-08-28 16:18:52 -04:00
Michael C
5310205911
catch and throw error outside of if 2021-08-28 01:54:50 -04:00
Michael C
9f7abf1865
Revert "fix error with errors"
This reverts commit 7601a1d4bf.
2021-08-28 01:53:53 -04:00
Michael C
e53f65f324
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into update-dependencies 2021-08-28 01:49:23 -04:00
Michael C
7601a1d4bf
fix error with errors 2021-08-28 01:48:48 -04:00
Michael C
9e488b8917
Merge branch 'master' of github.com:mchangrh/SponsorBlockServer into poi-restriction 2021-08-28 01:39:52 -04:00
Michael C
b3320ab0fd
submit test as poi_highlight 2021-08-28 01:38:00 -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
0d6731fcc6
remove accidental inclusion of api-prop 2021-08-27 21:47:30 -04:00
Michael C
840ccb517e
add getSearchSegments endpoint 2021-08-27 21:46:39 -04:00
Michael C
656d81e5dd
reverting some ugly tabs 2021-08-27 17:59:40 -04:00
Michael C
50df8e7dd9
prettify nginx.conf
- align to tab
- align to block
- remove blank lines & trailing whitespaces

- 404 on database.db
- 404 on /download
- 404 on /test
2021-08-27 17:50:50 -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
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