Commit Graph

871 Commits

Author SHA1 Message Date
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
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
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
Ajay Ramachandran
2388dea859 Remove extra log 2021-10-03 12:55:49 -04: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
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
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
a5c88693b8 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into reWriteAxios 2021-09-22 18:44:23 -04:00
Michael C
c779c2c19e everything to postClearCache 2021-09-22 17:50:06 -04:00
Michael C
22c4468180 bump eslint, fix lint warning, made request dev 2021-09-21 00:47:35 -04:00
Michael C
1dd534cce9 update dependencies, add shims for node-fetch v3 2021-09-20 01:43:19 -04:00
Michael C
ce0073e7b0 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into getLockReason 2021-09-18 23:26:49 -04:00
Michael C
c0074c9f8c add tests 2021-09-18 23:24:23 -04:00
Michael C
0fc39cf5f2 fix logic in getLockReason 2021-09-18 02:47:34 -04:00
Ajay Ramachandran
803c3f2a29 Merge pull request #357 from mchangrh/getUserStats
add getUserStats
2021-09-15 20:45:52 -04:00
Ajay Ramachandran
4d9e595470 Rename user stats parameters 2021-09-15 20:44:20 -04:00
Michael C
61d7103f82 create getLockReason 2021-09-13 10:57:46 -04:00
Haidang666
93c69248d9 Add getService helper function 2021-09-13 14:49:17 +07:00
Michael C
76fe3f1165 stage of grief - depression 2021-09-07 00:44:39 -04:00
Michael C
6b7fdb8d9e please accept my double quotes 2021-09-07 00:38:15 -04:00
Michael C
2c2e9a2900 all columns in quotes 2021-09-07 00:18:15 -04:00
Michael C
3d30eea1cb add categoryStats and typeStats 2021-09-07 00:13:52 -04:00
Ajay Ramachandran
1e05c04a39 Allow mute and skip segments with same times 2021-09-05 22:40:40 -04:00
Michael C
9b05ee96af add getUserStats 2021-09-04 17:06:49 -04:00
Ajay Ramachandran
1823a91d54 Limit mute action type to specific categories 2021-09-04 00:33:37 -04:00
Michael M. Chang
b50b215f20 avoid unnecessary eslint-disable-line 2021-09-03 17:48:00 -04:00
Ajay Ramachandran
33318ef4c6 Add youtube api cache 2021-09-02 18:33:52 -04:00