Michael C
|
04da532962
|
implement #253
|
2021-06-18 16:38:24 -04:00 |
|
Ajay Ramachandran
|
912f878906
|
Print video ID in newleaf errors
|
2021-06-03 14:49:01 -04:00 |
|
Ajay Ramachandran
|
ec081cf0c5
|
Support multiple newleaf urls
|
2021-06-03 11:38:21 -04:00 |
|
Ajay Ramachandran
|
1e5849f504
|
Prevent failing on api errors
|
2021-06-03 11:29:55 -04:00 |
|
Ajay Ramachandran
|
0904036009
|
Use newleaf instead of YouTube API
|
2021-06-02 22:34:38 -04:00 |
|
Ajay Ramachandran
|
2453c45b06
|
Don't use undefined lockedSum from cache
|
2021-06-01 22:20:42 -04:00 |
|
Ajay Ramachandran
|
63c8f87776
|
Don't deconstruct
|
2021-06-01 16:18:41 -04:00 |
|
Ajay Ramachandran
|
f20506bf43
|
Add back youtube api error handling
|
2021-06-01 16:14:21 -04:00 |
|
Ajay Ramachandran
|
ec51ff835a
|
Consider locked segments when calculating reputation
|
2021-05-29 20:48:41 -04:00 |
|
Ajay Ramachandran
|
09fc3ca882
|
Raise reputation cap and don't count autovote submissions
|
2021-05-24 12:43:06 -04:00 |
|
Ajay Ramachandran
|
eb2ffff780
|
Add tests for reputation
|
2021-05-23 18:51:23 -04:00 |
|
Ajay Ramachandran
|
d3210d4e27
|
Move files to utils
|
2021-05-23 18:00:20 -04:00 |
|
Ajay Ramachandran
|
590ed037dd
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into export
|
2021-05-23 11:17:10 -04:00 |
|
Ajay Ramachandran
|
a7605d5699
|
Don't crash for redis errors
|
2021-04-21 20:17:46 -04:00 |
|
Ajay Ramachandran
|
6a9b218e22
|
Don't always use YouTube API cache
|
2021-04-08 20:37:19 -04:00 |
|
Ajay Ramachandran
|
8088f37632
|
Only return one segment for highlight category
|
2021-04-05 23:48:51 -04:00 |
|
Ajay Ramachandran
|
e9b7eac289
|
Finish up conversion to use case-sensitive column names
|
2021-03-04 23:29:01 -05:00 |
|
Ajay Ramachandran
|
2772a9dcc6
|
Switch to case sensitive and get submitting + getting working
|
2021-03-04 20:23:05 -05:00 |
|
Ajay Ramachandran
|
ff4af3786e
|
Switch to postgres + promises
|
2021-03-01 20:40:31 -05:00 |
|
Ajay Ramachandran
|
01d318d902
|
Add redis caching for 404s
|
2021-02-20 21:13:46 -05:00 |
|
Ajay Ramachandran
|
4561148ab2
|
Fix headers when using node-fetch
|
2021-01-17 21:18:22 -05:00 |
|
Ajay Ramachandran
|
acc9537bb7
|
Merge pull request #201 from MRuy/remove-dependency-request
#177 Replace request with node-fetch
|
2021-01-17 21:05:10 -05:00 |
|
Nanobyte
|
87d2827f0f
|
Fix errors
|
2021-01-05 01:22:02 +01:00 |
|
Nanobyte
|
aabeb5f493
|
Replace request with node-fetch
|
2021-01-05 01:18:34 +01:00 |
|
Ajay Ramachandran
|
29ef770759
|
Add type safety to getSkipSegments
|
2020-12-29 14:16:11 -05:00 |
|
Ajay Ramachandran
|
78ef129634
|
Add remove feature to warnUser
|
2020-12-29 00:18:50 -05:00 |
|
Ajay Ramachandran
|
8cf3caa77e
|
Only pass error if it exists
|
2020-12-17 00:28:31 -05:00 |
|
Ajay Ramachandran
|
c8d5cec338
|
Fix redis type issues
|
2020-12-17 00:25:33 -05:00 |
|
Ajay Ramachandran
|
9797d7450c
|
Fix issues caused by YouTube API upgrade
|
2020-12-16 22:53:25 -05:00 |
|
Dainius Dauksevicius
|
12729b36fb
|
fix docker build, add proper mocks to tests, remove YouTubeAPI dependency on youtube test mock, move index.ts and test.ts to /src ant /test folders
|
2020-10-26 19:13:30 +02:00 |
|
Dainius Daukševičius
|
62b008e693
|
remove TODO comments
|
2020-10-26 19:13:30 +02:00 |
|
Dainius Daukševičius
|
08d27265fc
|
migrate to typescript
|
2020-10-26 19:13:30 +02:00 |
|
Ajay Ramachandran
|
0a72a64489
|
Don't cache when cacheTimeMs is NaN
|
2020-10-15 11:33:47 -04:00 |
|
Ajay Ramachandran
|
ad74c2c710
|
Merge pull request #163 from thignus/reject-80percent-total-submissions
reject submissions if total length is more than 80 precent of the video
|
2020-10-14 19:43:16 -04:00 |
|
Ajay Ramachandran
|
e979cbba4e
|
Merge branch 'master' into 147-add-cache-for-gettopusers
|
2020-10-14 18:35:15 -04:00 |
|
Joe Dowd
|
830ef7e0dc
|
made youtube api cache have conatcnt part value
|
2020-10-14 20:52:01 +01:00 |
|
Ajay Ramachandran
|
e0df3d4208
|
Don't allow dots in videoID
|
2020-10-11 14:11:20 -04:00 |
|
Nanobyte
|
41dc16453e
|
Update src/utils/createMemoryCache.js
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
|
2020-10-09 08:58:31 +02:00 |
|
Nanobyte
|
fb7ff50feb
|
Update src/utils/createMemoryCache.js
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
|
2020-10-09 08:58:15 +02:00 |
|
Nanobyte
|
25b91af8bc
|
Add cache for getTopUsers
See #147
|
2020-10-06 23:25:11 +02:00 |
|
Nanobyte
|
cce20319ad
|
Submission UUID generation moved to function
See issue #139
|
2020-10-06 15:59:32 +02:00 |
|
Ajay Ramachandran
|
a86dc0fc7b
|
Changed redis polyfill to not throw an error
|
2020-09-15 12:16:34 -04:00 |
|
Ajay Ramachandran
|
eaaf3b8812
|
Add pollyfill for redis set
|
2020-09-15 12:15:23 -04:00 |
|
Joe Dowd
|
bbe31149b4
|
cleaner logging
|
2020-09-08 17:43:51 +01:00 |
|
Joe Dowd
|
d72a0ca009
|
Merge branch 'testing' of github.com:ajayyy/SponsorBlockServer into youtube-cache
|
2020-09-08 17:38:47 +01:00 |
|
Joe Dowd
|
9d94067cd0
|
Added youtube api cache (optional)
|
2020-09-08 17:37:29 +01:00 |
|
Ajay Ramachandran
|
1536cc085c
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into testing
|
2020-09-06 13:37:23 -04:00 |
|
Ajay Ramachandran
|
9bcecae9a2
|
Made report by submitter work for VIPs
|
2020-09-06 13:35:14 -04:00 |
|
Joe Dowd
|
2067599843
|
added test for hash prefix length
|
2020-08-31 03:27:12 +01:00 |
|
Joe Dowd
|
1a06502806
|
added get segments by hash prefix
|
2020-08-31 00:45:06 +01:00 |
|