Commit graph

81 commits

Author SHA1 Message Date
dependabot[bot]
fb05ec51d3
Bump serve-static and express
Bumps [serve-static](https://github.com/expressjs/serve-static) to 1.16.2 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...v1.16.2)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: serve-static
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 06:18:07 +00:00
dependabot[bot]
ccccb1af3c
Bump axios from 1.6.0 to 1.7.7
Bumps [axios](https://github.com/axios/axios) from 1.6.0 to 1.7.7.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.0...v1.7.7)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 22:43:59 +00:00
Ajay
13b8a988db update dep 2024-09-01 18:43:28 -04:00
dependabot[bot]
55c3e4f01f
Bump express from 4.18.2 to 4.19.2
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-28 17:17:43 +00:00
dependabot[bot]
1cefdf4dac
Bump axios from 1.1.3 to 1.6.0
Bumps [axios](https://github.com/axios/axios) from 1.1.3 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.1.3...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-20 21:00:34 +00:00
Ajay
5b1b362bf0 Handle reconnects with client-side caching
Also upgrades redis to fix a library bug
2024-02-06 00:52:42 -05:00
Ajay
14da10bd8a Add client-side caching 2024-02-05 13:11:44 -05:00
Ajay
547632341a Add back redis compression optionally 2024-02-04 23:17:28 -05:00
Ajay
25ec9b0291 Revert adding redis compression
This reverts commit fce311377f and 2ad51842cc
2024-01-21 19:49:36 -05:00
Ajay
fce311377f Switch to lz4 compression 2024-01-19 15:16:50 -05:00
Ajay
2ad51842cc Compress redis values 2024-01-19 14:34:18 -05:00
Ajay
2e29666781 Remove mysql code 2023-07-05 01:25:38 -04:00
Ajay
5834643ba0 Add random timestamp generation to get branding 2023-06-08 03:39:44 -04:00
Michael C
c586c9a7e7
add etag tests
- add shadowban self test
- add init and -it to docker runs
2023-02-20 15:56:08 -05:00
Michael C
b792354ffb
lock redis, postgres versions, no persistence in redis 2023-01-01 02:51:44 -05:00
Ajay Ramachandran
fc607d0cb7
Specify only in package.json 2022-12-26 23:43:01 -05:00
Ajay Ramachandran
3fbcadc3a0
Update license in package.json 2022-12-26 23:24:46 -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 Ramachandran
0ca134dc8f
Merge pull request #500 from mchangrh/fix-tests
fix tests
2022-09-07 12:03:05 -04:00
Michael C
d1d7675a8c
test fixes
test fixes
- fix timeout in redis (by @ajayyy)
- allow "errors" in tempVIP test
- remove duplicate warning in postSkipSegments
- remove duplicate VIP in tempVIP
- run tests against different user once tempVIP removed
- fix typo in getHashCache fetching

syntax and wording
- use standard syntax in redisTest
- fix spacing in getLockReason
- typo in npm script name

test cases
- add getHashCache test case
- add more tests to redisTest

configuration
- update config to use redis timeout
- update docker-compose to use newest pinned version

Co-Authored-By: Ajay Ramachandran <dev@ajay.app>
2022-09-07 02:16: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
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