Commit Graph

1308 Commits

Author SHA1 Message Date
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
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
Michael C
4e50f0ab4b remaining tests 2021-09-22 23:18:31 -04:00
Michael C
a028eaa41a object-curly-spacing 2021-09-22 18:52:35 -04:00
Michael C
5dcc90b31a fix CI errors 2021-09-22 18:46:13 -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
9b6808273b json as any 2021-09-22 17:57:12 -04:00
Michael C
c779c2c19e everything to postClearCache 2021-09-22 17:50:06 -04:00
Ajay Ramachandran
a23387c877 raise redis memory 2021-09-21 23:19:20 -04:00
Ajay Ramachandran
0f0d43cc17 Merge pull request #362 from mchangrh/getLockReason
getLockReason
2021-09-21 19:06:36 -04:00
Michael C
94e1e8c377 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into reWriteTests 2021-09-21 02:03:05 -04:00
Michael C
5758f6512d move utils to seperate files and folder, update imports 2021-09-21 02:02:17 -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
Michael C
d4d9f2d4d7 remove unnecessary async await 2021-09-17 00:03:42 -04:00
Michael C
802dd50163 naming 2021-09-17 00:01:29 -04:00
Michael C
9e9fcd47c0 finished other tests 2021-09-16 23:59:19 -04:00
Michael C
e7d55d1e1b everything after postClearCache 2021-09-16 23:05:16 -04:00
Michael C
7cef510b29 quoted 2021-09-16 20:50:59 -04:00
Michael C
870ade6fa9 postSkipSegments 2021-09-16 20:44:12 -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
Ajay Ramachandran
bcdbc5fd60 Merge pull request #360 from HaiDang666/getService_helper
Add getService helper function
2021-09-15 20:30:48 -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
18c1735087 acceptance 2021-09-07 00:48:01 -04:00
Michael C
76fe3f1165 stage of grief - depression 2021-09-07 00:44:39 -04:00