Commit graph

1436 commits

Author SHA1 Message Date
Michael C
d0deb6fe27
finish tests and remove extra console.logs 2021-10-19 23:06:47 -04:00
Michael C
4ee35d3cd4
implementation 2021-10-19 22:05:08 -04:00
Ajay Ramachandran
ec16828497
Merge pull request #383 from mchangrh/fix-fragment
fix fragment in links
2021-10-19 21:33:40 -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
201f6cb900 update lru diskcache 2021-10-17 16:32:07 -04:00
Ajay Ramachandran
c91d04760a Add documentation for video info db schema 2021-10-17 14:57:55 -04:00
Ajay Ramachandran
91c52c15fd Add indexes for videoInfo 2021-10-17 14:55:55 -04:00
Ajay Ramachandran
c6944bd7cf Fix types on videoInfo table 2021-10-17 14:54:35 -04:00
Ajay Ramachandran
450f4a2d44 Store video info from submissions 2021-10-17 14:42:48 -04:00
Ajay Ramachandran
bda2ff4d23
Merge pull request #380 from ajayyy/skipSegments-values
Return locked and votes in skipSegment calls
2021-10-15 00:17:10 -04:00
Ajay Ramachandran
f6d6e93847 Return locked and votes in skipSegment calls
#379
2021-10-15 00:14:59 -04:00
Ajay Ramachandran
9cdccbe7f0 Fix user counter not working 2021-10-12 21:19:37 -04:00
Michael C
2ad52e70bb
enforce gzip for downloads 2021-10-05 23:31:05 -04:00
Ajay Ramachandran
656e35c080 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-10-03 21:16:10 +02:00
Ajay Ramachandran
895df94493 Add redirect to shorturl for wiki 2021-10-03 21:16:05 +02:00
Ajay Ramachandran
8d07ba7f23
Merge pull request #376 from FlorianZahn/votingAbuseFixes
Voting abuse fixes
2021-10-03 13:21:11 -04:00
Ajay Ramachandran
7e23bc9eeb Check for service in category vote 2021-10-03 13:12:14 -04:00
Ajay Ramachandran
658e391f50 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into pr/FlorianZahn/376 2021-10-03 13:11:25 -04:00
FlorianZahn
69e321c405
Improved formatting 2021-10-03 19:03:49 +02:00
Ajay Ramachandran
b5d9c02d9e
Merge pull request #374 from HaiDang666/355_check-service
add service to table only have videoID
2021-10-03 12:57:28 -04:00
Ajay Ramachandran
2388dea859 Remove extra log 2021-10-03 12:55:49 -04:00
FlorianZahn
178c4d9792
Remove comment
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
2021-10-03 18:53:34 +02:00
FlorianZahn
0aa286442f
Vip locked segment voting, handle client side
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
2021-10-03 18:53:06 +02:00
Ajay Ramachandran
543fb535df Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-10-03 08:56:42 +02:00
Ajay Ramachandran
9cb0b356ed Kill dead nginx processes to avoid memory leak #372 2021-10-03 08:56:02 +02:00
FlorianZahn
7135aa3369 removing console.log() commands 2021-10-02 05:11:26 +02:00
FlorianZahn
aacd297b3b Fixed bugs where normal users could cirumvent vip locks by changing categories 2021-10-02 05:04:18 +02:00
FlorianZahn
bb2a007ed1 first changes and timeout on 2nd test 2021-10-02 04:39:54 +02:00
Haidang666
356974b478 add service to table only have videoID 2021-09-30 13:56:55 +07:00
Ajay Ramachandran
99d72b92e4 Clear cache after purging segments 2021-09-29 16:31:44 -04:00
Ajay Ramachandran
eaaf106d7c
Another try at #372 2021-09-29 12:22:40 -04:00
Ajay Ramachandran
86e26025f4 Safe navigation 2021-09-28 09:56:32 -04:00
Ajay Ramachandran
4470f0b60b Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-09-28 09:50:26 -04:00
Ajay Ramachandran
3873aa61bc Release client even if an error occurs
#372
2021-09-28 09:50:24 -04:00
Ajay Ramachandran
3335d54153 Log stack for unhandled errors 2021-09-28 09:48:24 -04:00
Ajay Ramachandran
ad3f2088ef
Merge pull request #370 from mchangrh/switch-axios
replace node-fetch with axios in src
2021-09-27 20:24:34 -04:00
Ajay Ramachandran
39baa4871a Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-09-27 20:17:24 -04:00
Ajay Ramachandran
9d2c5ed74e Call connect manually to catch errors
Fix #372
2021-09-27 20:17:02 -04:00
Michael C
6d76bea5c5
remove node-fetch, types and @types/request 2021-09-26 18:15:24 -04:00
Michael C
82c5c70eb7
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into switch-axios 2021-09-26 18:13:27 -04:00
Ajay Ramachandran
bb448d6d55
Merge pull request #369 from mchangrh/reWriteAxios
rewrite tests with axios
2021-09-26 18:11:17 -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
5f19d3ee09 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-09-26 15:02:39 -04:00
Ajay Ramachandran
598e4e2b79 Always restart db 2021-09-26 15:02:37 -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