Commit graph

54 commits

Author SHA1 Message Date
Ajay
8dc87da462 Back rate limit by redia and upgrade node-redis 2022-04-13 17:36:07 -04:00
Ajay
41c92da37e Upgrade express-rate-limit 2022-04-13 13:50:30 -04:00
Ajay
5ebb638925 Add overlapping group caching 2021-12-20 22:51:47 -05:00
Michael C
68bc6469ce
add redis tests 2021-12-19 02:03:50 -05:00
Michael C
91ba6948d8
engine limited by express-promise-router, dev engine is LTS 16 2021-12-01 16:26:56 -05:00
Michael C
af4b2e4624
minor changes 2021-12-01 15:43:43 -05:00
Ajay Ramachandran
201f6cb900 update lru diskcache 2021-10-17 16:32:07 -04:00
Michael C
6d76bea5c5
remove node-fetch, types and @types/request 2021-09-26 18:15:24 -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
Michael C
6433f50edf
replace node-fetch with axios in src 2021-09-23 01:21:10 -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
1c2dd055c1
Update dependencies & eslint
- update API-Docs link
- cast err as string to appease eslint
- update package and bump minimum to fix security issue
- removed unnecessary filters from gitignore
2021-08-27 17:09:31 -04:00
Michael C
1ba1450e9c
string literal fixes & npm run postgres:docker 2021-07-13 15:45:24 -04:00
Haidang666
6b5156468c Add archive downvote segment cron 2021-07-12 08:59:12 +07:00
Michael C
81cae514a0
Update dependencies 2021-07-09 00:31:42 -04:00
Michael C
d5204e9813
lint & fix tests 2021-07-05 03:14:05 -04:00
Ajay Ramachandran
5a09134d3f Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into pr/mchangrh/293 2021-07-04 18:17:18 -04:00
Michael C
28341fc1f3
Add eslint based off of SponsorBlock 2021-07-03 22:49:04 -04:00
Ajay Ramachandran
be277d0218
Merge pull request #284 from HaiDang666/283_show-lastest-warning
Show lastest warning when post segment
2021-07-03 22:46:26 -04:00
Ajay Ramachandran
4f29e2c197
Merge pull request #289 from DetachHead/express-promise-router
express-promise-router
2021-07-03 22:36:30 -04:00
DetachHead
eb481215e3 compile as part of the test script since ts-node doesn't typecheck everything 2021-07-03 15:46:51 +10:00
DetachHead
20335e3f27 use express-promise-router to prevent requests timing out on unhandled promise rejections 2021-07-03 14:59:57 +10:00
Haidang666
402ea35971 Add postSkipSegments return lastes warning reason 2021-07-01 10:33:47 +07:00
Ajay Ramachandran
07ab48da1f Add disk caching for youtube api calls
Fixes https://github.com/ajayyy/SponsorBlockServer/issues/239
2021-06-26 23:21:51 -04:00
Ajay Ramachandran
e7337d3cb4 Add missing dependency 2021-06-02 22:40:18 -04:00
Ajay Ramachandran
0904036009 Use newleaf instead of YouTube API 2021-06-02 22:34:38 -04:00
Ajay Ramachandran
1b175d85c0 Update mocha 2021-05-23 14:56:04 -04:00
dependabot[bot]
a47906cac9
Bump redis from 3.0.2 to 3.1.1
Bumps [redis](https://github.com/NodeRedis/node-redis) from 3.0.2 to 3.1.1.
- [Release notes](https://github.com/NodeRedis/node-redis/releases)
- [Changelog](https://github.com/NodeRedis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NodeRedis/node-redis/compare/v3.0.2...v3.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 22:27:42 +00:00
Nanobyte
35714d4f2d Use in memory database for tests 2021-04-29 21:49:25 +02:00
Ajay Ramachandran
1a66be8665 Make schemas work with postgres 2021-03-04 19:44:54 -05:00
Ajay Ramachandran
ff4af3786e Switch to postgres + promises 2021-03-01 20:40:31 -05:00
Nanobyte
314a7b9c56 Remove dependency request 2021-01-06 01:43:52 +01:00
Dainius Dauksevicius
7da9de9991 fix nodemon to watch .ts files 2020-11-01 17:29:57 +02: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
08d27265fc migrate to typescript 2020-10-26 19:13:30 +02:00
Nanobyte
58097f0d60 Add vote rate limit 2020-10-11 16:17:17 +02:00
Ajay Ramachandran
d3463bbef2 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into testing
# Conflicts:
#	src/routes/postSkipSegments.js
#	test/cases/voteOnSponsorTime.js
2020-09-15 11:56:14 -04:00
Joe Dowd
9d94067cd0 Added youtube api cache (optional) 2020-09-08 17:37:29 +01:00
Andrew Lee
f1c520fbe8 Merge branch 'master' into nb-mod-fetch 2020-08-29 16:37:20 -04:00
Joe-Dowd
de81b135f4 removed un-needed import 2020-07-10 01:48:21 +01:00
Joe-Dowd
46dd16caf9 added ability to query mysql database 2020-07-05 04:14:15 +01:00
Andrew Lee
35fa384a5b Added automod check with NB 2020-04-19 12:10:39 -04:00
Joe-Dowd
e5cd72657e added checks using the youtube api on segment submission 2020-04-04 21:37:17 +01:00
Joe-Dowd
98d754f605 && in npm run dev 2020-04-04 18:41:18 +01:00
Ajay Ramachandran
d682898828 Removed quotes from echo 2020-04-04 11:41:38 -04:00
Ajay Ramachandran
d94c81ed23 Fixed npm run dev to work on Windows 2020-04-04 11:33:22 -04:00
Joe-Dowd
82ee4cca0f changed npm run dev to work in cmd 2020-04-04 01:15:04 +01:00
Joe-Dowd
2f9f4c2bc0 Added nodemon to watch for changed and reload with tests for "npm run dev" 2020-04-03 22:25:11 +01:00
Joe-Dowd
5369d48eae Added testing 2020-04-01 21:04:04 +01:00