Commit Graph

1150 Commits

Author SHA1 Message Date
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
Ajay Ramachandran
2a284d7f25 Treat segments where end time of one equals start time of the other as not overlapping 2021-09-02 13:07:49 -04:00
Ajay Ramachandran
9cbea88f6f Merge pull request #353 from mchangrh/statusOptions
get status with options
2021-09-02 12:04:38 -04:00
Michael C
74626f8e3f more endpoints! 2021-09-01 23:49:18 -04:00
Michael C
fa1166e5d8 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into searchSegments 2021-09-01 23:26:55 -04:00
Michael C
664db71104 get status with options 2021-09-01 23:24:43 -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
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
Michael C
5f8a319f48 update matrix link 2021-08-29 14:58:41 -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