Commit graph

1240 commits

Author SHA1 Message Date
Michael C
fa1166e5d8
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into searchSegments 2021-09-01 23:26:55 -04:00
Ajay Ramachandran
cfefb7c629
Merge pull request #352 from mchangrh/getStatus
add getStatus and cases
2021-09-01 17:11:25 -04:00
Michael C
e12724af15
add getStatus and cases 2021-09-01 16:52:41 -04:00
Ajay Ramachandran
d6a986d6cf Disable shadow hidden when vip upvotes 2021-09-01 15:28:39 -04:00
Michael C
e9bffd0cf2
add test cases and fixed bugs 2021-09-01 13:53:06 -04:00
Michael C
9bef529486
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into searchSegments 2021-08-31 23:10:04 -04:00
Ajay Ramachandran
ba7fb6525f Allow VIP to submit poi segments at any time 2021-08-31 12:27:15 -04:00
Ajay Ramachandran
df904e3744
Merge pull request #350 from mchangrh/poi-min-start-time
add config key for poiMinimumStartTime
2021-08-31 12:25:17 -04:00
Ajay Ramachandran
b369916904
Merge pull request #347 from mchangrh/beautify-nginx
Beautify nginx
2021-08-31 12:23:57 -04:00
Ajay Ramachandran
13480fe96c
Merge pull request #346 from mchangrh/update-dependencies
Update dependencies & eslint
2021-08-31 12:23:48 -04:00
Ajay Ramachandran
44711267fd Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-08-31 12:10:25 -04:00
Ajay Ramachandran
9849fba97a Don't crash if failed to get ip from db 2021-08-31 12:10:23 -04:00
Michael C
bb02033567
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into searchSegments 2021-08-31 01:18:18 -04:00
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