Commit graph

57 commits

Author SHA1 Message Date
dependabot[bot]
894cd48182
Bump luxon from 1.28.0 to 1.28.1 (#535)
Bumps [luxon](https://github.com/moment/luxon) from 1.28.0 to 1.28.1.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/1.28.0...1.28.1)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-28 01:22:05 -05:00
dependabot[bot]
0c00f7323d
Bump json5 from 2.2.1 to 2.2.2
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-30 05:45:16 +00:00
Michael C
90e5446078
add privateID username check
- bump AGPL to package-lock
2022-12-30 00:41:45 -05:00
Ajay
d7d5618985 update sqlite 2022-12-05 17:04:08 -05:00
Michael C
fa5f3b8a50
update dependencies, finally bump to node 18 2022-11-21 14:36:11 -05:00
Michael C
6499381b4f
add coverage reports to PostgreSQL tests 2022-09-24 22:49:53 -04:00
Michael C
e0be4744be
fix tokenUtils tests, skip if not configured 2022-09-24 22:48:23 -04:00
Ajay
7060c0ab0d Add access token system 2022-08-31 01:55:38 -04:00
Michael C
5b60243b22
update packages, use native redis typings 2022-07-13 00:29:40 -04:00
Michael C
931e3b8b11
add instanbul/nyc test coverage 2022-06-28 15:19:42 -04:00
Ajay
c9a0fb7bc3 Add disk cache service
Fixes #471
2022-05-17 02:29:36 -04:00
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
dependabot[bot]
d5611fb023 Bump moment from 2.29.1 to 2.29.2
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 11:54:05 -04:00
dependabot[bot]
b3c2b2c15d
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 07:12:26 +00:00
dependabot[bot]
857ee04c3c
Bump follow-redirects from 1.14.5 to 1.14.8
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 01:21:14 +00:00
dependabot[bot]
75cf14a960
Bump simple-get from 4.0.0 to 4.0.1
Bumps [simple-get](https://github.com/feross/simple-get) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/feross/simple-get/releases)
- [Commits](https://github.com/feross/simple-get/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: simple-get
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-29 00:04:08 +00:00
Ajay
5ebb638925 Add overlapping group caching 2021-12-20 22:51:47 -05:00
Michael C
7df9f0b054
npm audit fix 2021-12-01 16:45:11 -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
Ajay Ramachandran
0222b1fccd Update package lock 2021-07-16 16:23:08 -04:00
Michael C
81cae514a0
Update dependencies 2021-07-09 00:31:42 -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
Ajay Ramachandran
0b27244c06 Fix audit issue 2021-07-04 14:21:28 -04:00
Michael C
28341fc1f3
Add eslint based off of SponsorBlock 2021-07-03 22:49:04 -04:00
DetachHead
20335e3f27 use express-promise-router to prevent requests timing out on unhandled promise rejections 2021-07-03 14:59:57 +10: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
1b175d85c0 Update mocha 2021-05-23 14:56:04 -04:00
Ajay Ramachandran
c7b7732092 Update lodash 2021-05-23 11:27:18 -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
dependabot[bot]
1eca55d96c
Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 21:52:03 +00: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
dependabot[bot]
122efc00fc
Bump ini from 1.3.5 to 1.3.7
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-11 15:59:18 +00:00
Ajay Ramachandran
2cd78d5d2f Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into Dainius14/master
# Conflicts:
#	src/routes/shadowBanUser.js
#	src/routes/voteOnSponsorTime.ts
#	test/cases/getSkipSegments.js
#	test/cases/voteOnSponsorTime.js
2020-12-07 17:35:15 -05:00
dependabot[bot]
d6977b7be0
Bump dot-prop from 4.2.0 to 4.2.1
Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/sindresorhus/dot-prop/releases)
- [Commits](https://github.com/sindresorhus/dot-prop/compare/v4.2.0...v4.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-23 17:30:35 +00: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
Joe Dowd
9d94067cd0 Added youtube api cache (optional) 2020-09-08 17:37:29 +01:00