Commit Graph

115 Commits

Author SHA1 Message Date
Ajay Ramachandran
edd11cc99c Merge pull request #409 from mchangrh/redisHashCache
getHash redis cache
2021-12-03 00:14:01 -05:00
Michael C
a5a90e3c84 add getHashCache where applicable= 2021-11-27 02:41:34 -05:00
Michael C
0a869dbbd7 strict check for videoID length 2021-11-19 02:27:42 -05:00
Michael C
03c95ca158 rename clearSegmentCache 2021-11-15 01:48:14 -05:00
Ajay Ramachandran
32150e4a1d Add submitting description for chapters 2021-11-06 00:54:28 -04:00
Michael C
88a368d0b9 add tests for shadowban 2021-10-30 17:58:17 -04:00
Ajay Ramachandran
6cf268330f Remove old auto-ban on low trust 2021-10-27 19:36:33 -04:00
Michael C
83b8127eb2 fix fragment in links 2021-10-19 03:52:24 -04:00
Ajay Ramachandran
a42e933240 Send webhook link with required segment 2021-10-18 20:02:17 -04:00
Ajay Ramachandran
450f4a2d44 Store video info from submissions 2021-10-17 14:42:48 -04:00
Haidang666
356974b478 add service to table only have videoID 2021-09-30 13:56:55 +07:00
Michael C
82c5c70eb7 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into switch-axios 2021-09-26 18:13:27 -04:00
Michael C
44511acd27 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into reWriteAxios 2021-09-26 18:08:30 -04:00
Michael C
5aa48cdbdf Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into switch-axios 2021-09-26 18:04:22 -04:00
Ajay Ramachandran
161091513d Merge pull request #365 from mchangrh/updateDependencies
update dependencies, add shims for node-fetch v3
2021-09-26 14:41:56 -04:00
Ajay Ramachandran
9619e95283 Don't use cache when no successful submissions exist 2021-09-26 11:11:08 -04:00
Michael C
6433f50edf replace node-fetch with axios in src 2021-09-23 01:21:10 -04:00
Michael C
28d637f620 remove extra async and extra utils 2021-09-22 23:34:46 -04:00
Michael C
a028eaa41a object-curly-spacing 2021-09-22 18:52:35 -04:00
Michael C
1dd534cce9 update dependencies, add shims for node-fetch v3 2021-09-20 01:43:19 -04:00
Haidang666
93c69248d9 Add getService helper function 2021-09-13 14:49:17 +07:00
Ajay Ramachandran
1e05c04a39 Allow mute and skip segments with same times 2021-09-05 22:40:40 -04:00
Ajay Ramachandran
1823a91d54 Limit mute action type to specific categories 2021-09-04 00:33:37 -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
13480fe96c Merge pull request #346 from mchangrh/update-dependencies
Update dependencies & eslint
2021-08-31 12:23:48 -04:00
Michael C
aab95a1adc add config key for poiMinimumStartTime 2021-08-29 21:43:21 -04:00
Michael C
5f8a319f48 update matrix link 2021-08-29 14:58:41 -04:00
Michael C
9f7abf1865 Revert "fix error with errors"
This reverts commit 7601a1d4bf.
2021-08-28 01:53:53 -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 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
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
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
c3f7b29d44 throw error 400 when start or endtime has colon 2021-08-24 19:12:58 -04:00
Ajay Ramachandran
987d91f293 Hide submissions that are at -1 votes 2021-08-17 16:46:45 -04:00
Ajay Ramachandran
1cbd162a22 Support commas in timestamps 2021-08-10 23:12:20 -04:00
Ajay Ramachandran
71c01c0f3b add option to get ban status from user info 2021-08-05 20:11:05 -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
3a8076fc3c Indent switch case 2021-08-02 16:25:04 -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
Haidang666
ce193b60f7 Store user-agent in postSkipSegment 2021-07-30 13:47:21 +07:00
Ajay Ramachandran
366de4955b Send warning reason with votes and use quotes 2021-07-29 23:53:02 -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
Haidang666
c701998a35 return reason in locked categories when submission fail 2021-07-27 14:03:51 +07:00
Felix
0d6992b80b Merge branch 'master' into refactor-postSkipSegments 2021-07-27 10:40:38 +07:00