Commit Graph

2132 Commits

Author SHA1 Message Date
DIYgod a9ffc27818
Merge remote-tracking branch 'origin/master' into feature/registry 2024-03-09 01:41:33 +08:00
DIYgod fe320c1153
feat: lazy load for production 2024-03-09 01:31:42 +08:00
DIYgod 6902129eb0
feat: new build script 2024-03-08 23:31:50 +08:00
dependabot[bot] 59e96a6b1b
chore(deps): bump imapflow from 1.0.155 to 1.0.156 (#14709)
* chore(deps): bump imapflow from 1.0.155 to 1.0.156

Bumps [imapflow](https://github.com/postalsys/imapflow) from 1.0.155 to 1.0.156.
- [Release notes](https://github.com/postalsys/imapflow/releases)
- [Changelog](https://github.com/postalsys/imapflow/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postalsys/imapflow/compare/v1.0.155...v1.0.156)

---
updated-dependencies:
- dependency-name: imapflow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 23:31:48 +00:00
dependabot[bot] 652430ad33
chore(deps): bump instagram-private-api from 1.45.3 to 1.46.1 (#14708)
* chore(deps): bump instagram-private-api from 1.45.3 to 1.46.1

Bumps [instagram-private-api](https://github.com/dilame/instagram-private-api) from 1.45.3 to 1.46.1.
- [Release notes](https://github.com/dilame/instagram-private-api/releases)
- [Commits](https://github.com/dilame/instagram-private-api/commits)

---
updated-dependencies:
- dependency-name: instagram-private-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-08 06:05:46 +08:00
dependabot[bot] 62e9d61584
chore(deps-dev): bump typescript from 5.3.3 to 5.4.2 (#14697)
* chore(deps-dev): bump typescript from 5.3.3 to 5.4.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.3.3 to 5.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: use ts project-wide

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 13:34:51 +08:00
dependabot[bot] 95ab8802e2
chore(deps): bump hono from 4.0.9 to 4.0.10 (#14699)
* chore(deps): bump hono from 4.0.9 to 4.0.10

Bumps [hono](https://github.com/honojs/hono) from 4.0.9 to 4.0.10.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.0.9...v4.0.10)

---
updated-dependencies:
- dependency-name: hono
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 06:48:41 +08:00
dependabot[bot] 972ede3c87
chore(deps): bump imapflow from 1.0.154 to 1.0.155 (#14698)
* chore(deps): bump imapflow from 1.0.154 to 1.0.155

Bumps [imapflow](https://github.com/postalsys/imapflow) from 1.0.154 to 1.0.155.
- [Release notes](https://github.com/postalsys/imapflow/releases)
- [Changelog](https://github.com/postalsys/imapflow/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postalsys/imapflow/compare/v1.0.154...v1.0.155)

---
updated-dependencies:
- dependency-name: imapflow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-06 22:46:11 +00:00
dependabot[bot] 095706318e
chore(deps): bump @types/node from 20.11.24 to 20.11.25 (#14696)
* chore(deps): bump @types/node from 20.11.24 to 20.11.25

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.24 to 20.11.25.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-06 22:45:43 +00:00
dependabot[bot] 61079d2f09
chore(deps): bump imapflow from 1.0.153 to 1.0.154 (#14680)
* chore(deps): bump imapflow from 1.0.153 to 1.0.154

Bumps [imapflow](https://github.com/postalsys/imapflow) from 1.0.153 to 1.0.154.
- [Release notes](https://github.com/postalsys/imapflow/releases)
- [Changelog](https://github.com/postalsys/imapflow/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postalsys/imapflow/compare/v1.0.153...v1.0.154)

---
updated-dependencies:
- dependency-name: imapflow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-06 06:41:40 +08:00
dependabot[bot] 773216fe68
chore(deps): bump puppeteer from 22.3.0 to 22.4.0 (#14679)
* chore(deps): bump puppeteer from 22.3.0 to 22.4.0

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 22.3.0 to 22.4.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.3.0...puppeteer-v22.4.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-06 06:27:59 +08:00
TonyRL b360ea9b82 chore: fix eslint on ts 2024-03-05 14:57:51 +00:00
dependabot[bot] b6b9918c6c
chore(deps): bump hono from 4.0.8 to 4.0.9 (#14655)
* chore(deps): bump hono from 4.0.8 to 4.0.9

Bumps [hono](https://github.com/honojs/hono) from 4.0.8 to 4.0.9.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.0.8...v4.0.9)

---
updated-dependencies:
- dependency-name: hono
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 22:49:33 +00:00
dependabot[bot] a08bd855d2
chore(deps): bump @tonyrl/rand-user-agent from 2.0.52 to 2.0.53 (#14659)
* chore(deps): bump @tonyrl/rand-user-agent from 2.0.52 to 2.0.53

Bumps [@tonyrl/rand-user-agent](https://github.com/TonyRL/rand-user-agent) from 2.0.52 to 2.0.53.
- [Release notes](https://github.com/TonyRL/rand-user-agent/releases)
- [Commits](https://github.com/TonyRL/rand-user-agent/compare/v2.0.52...v2.0.53)

---
updated-dependencies:
- dependency-name: "@tonyrl/rand-user-agent"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 22:48:33 +00:00
dependabot[bot] c95210c3a1
chore(deps-dev): bump @typescript-eslint/parser from 7.1.0 to 7.1.1 (#14658)
* chore(deps-dev): bump @typescript-eslint/parser from 7.1.0 to 7.1.1

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 22:40:23 +00:00
dependabot[bot] 44a900b42c
chore(deps): bump @sentry/node from 7.104.0 to 7.105.0 (#14661)
* chore(deps): bump @sentry/node from 7.104.0 to 7.105.0

Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 7.104.0 to 7.105.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.105.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.104.0...7.105.0)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 21:59:59 +00:00
dependabot[bot] 6d9adcae45
chore(deps): bump winston from 3.11.0 to 3.12.0 (#14657)
* chore(deps): bump winston from 3.11.0 to 3.12.0

Bumps [winston](https://github.com/winstonjs/winston) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/v3.11.0...v3.12.0)

---
updated-dependencies:
- dependency-name: winston
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 21:58:41 +00:00
dependabot[bot] 17452fa23e
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 7.1.0 to 7.1.1 (#14656)
* chore(deps-dev): bump @typescript-eslint/eslint-plugin

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 05:57:38 +08:00
DIYgod 7e47d387e4
chore: remove unused dependency 2024-03-04 23:19:22 +08:00
DIYgod fddea2fdf8
feat: update script 2024-03-04 01:52:36 +08:00
DIYgod 2c7d7f9205
feat: build-maintainer.ts 2024-03-04 01:38:38 +08:00
DIYgod e8d13857a5
feat: remove type module 2024-03-04 00:19:19 +08:00
DIYgod dee7da3105
feat: pure esm and typescript routes 2024-03-04 00:17:16 +08:00
DIYgod f4aca74d40
feat: change default vitest reporter 2024-03-03 23:37:15 +08:00
DIYgod 38e42156a0
feat: replace jest with vitest 2024-03-03 18:57:07 +08:00
DIYgod 0b5aca86ea
chore: remove useless koa dependencies 2024-03-02 23:23:47 +08:00
DIYgod 0ab8996f40
feat: remove allowlist and denylist 2024-03-02 21:35:40 +08:00
DIYgod f0e09ee9e0
chore: rollback got 2024-03-02 02:20:43 +08:00
DIYgod 52074bdfa0
chore: rollback dayjs 2024-03-02 01:38:34 +08:00
DIYgod d88620c39c
feat: update esm dependencies 2024-03-01 22:58:04 +08:00
dependabot[bot] 3540a0bd63
chore(deps-dev): bump @babel/preset-env from 7.23.9 to 7.24.0 (#14602)
* chore(deps-dev): bump @babel/preset-env from 7.23.9 to 7.24.0

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.23.9 to 7.24.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.24.0/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 20:55:19 +08:00
dependabot[bot] 7ddf992fa7
chore(deps): bump telegram from 2.18.26 to 2.19.20 (#14606)
* chore(deps): bump telegram from 2.18.26 to 2.19.20

Bumps [telegram](https://github.com/gram-js/gramjs) from 2.18.26 to 2.19.20.
- [Release notes](https://github.com/gram-js/gramjs/releases)
- [Commits](https://github.com/gram-js/gramjs/commits)

---
updated-dependencies:
- dependency-name: telegram
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 03:47:55 +00:00
dependabot[bot] 8cbf4e1c31
chore(deps): bump mailparser from 3.6.7 to 3.6.9 (#14610)
* chore(deps): bump mailparser from 3.6.7 to 3.6.9

Bumps [mailparser](https://github.com/nodemailer/mailparser) from 3.6.7 to 3.6.9.
- [Release notes](https://github.com/nodemailer/mailparser/releases)
- [Changelog](https://github.com/nodemailer/mailparser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/mailparser/compare/v3.6.7...v3.6.9)

---
updated-dependencies:
- dependency-name: mailparser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 11:39:52 +08:00
dependabot[bot] b24c213a18
chore(deps): bump imapflow from 1.0.152 to 1.0.153 (#14609)
* chore(deps): bump imapflow from 1.0.152 to 1.0.153

Bumps [imapflow](https://github.com/postalsys/imapflow) from 1.0.152 to 1.0.153.
- [Release notes](https://github.com/postalsys/imapflow/releases)
- [Changelog](https://github.com/postalsys/imapflow/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postalsys/imapflow/compare/v1.0.152...v1.0.153)

---
updated-dependencies:
- dependency-name: imapflow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 03:30:14 +00:00
dependabot[bot] ab6327e1e3
chore(deps): bump @types/node from 20.11.22 to 20.11.24 (#14607)
* chore(deps): bump @types/node from 20.11.22 to 20.11.24

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.22 to 20.11.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 03:18:40 +00:00
dependabot[bot] f7095c7a12
chore(deps-dev): bump @types/eslint from 8.56.4 to 8.56.5 (#14605)
* chore(deps-dev): bump @types/eslint from 8.56.4 to 8.56.5

Bumps [@types/eslint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint) from 8.56.4 to 8.56.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/eslint)

---
updated-dependencies:
- dependency-name: "@types/eslint"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 02:56:35 +00:00
dependabot[bot] 3f0447e9c9
chore(deps-dev): bump @stylistic/eslint-plugin-js from 1.6.2 to 1.6.3 (#14604)
* chore(deps-dev): bump @stylistic/eslint-plugin-js from 1.6.2 to 1.6.3

Bumps [@stylistic/eslint-plugin-js](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin-js) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases)
- [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v1.6.3/packages/eslint-plugin-js)

---
updated-dependencies:
- dependency-name: "@stylistic/eslint-plugin-js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 02:55:30 +00:00
dependabot[bot] 2971a3c798
chore(deps): bump tldts from 6.1.1 to 6.1.11 (#14603)
* chore(deps): bump tldts from 6.1.1 to 6.1.11

Bumps [tldts](https://github.com/remusao/tldts) from 6.1.1 to 6.1.11.
- [Release notes](https://github.com/remusao/tldts/releases)
- [Changelog](https://github.com/remusao/tldts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/remusao/tldts/compare/v6.1.1...v6.1.11)

---
updated-dependencies:
- dependency-name: tldts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 02:53:17 +00:00
DIYgod b2aa636886
fix: collectCoverageFrom path 2024-03-01 01:38:13 +08:00
DIYgod 0d6b3fce9f
fix: collectCoverageFrom path 2024-03-01 01:33:32 +08:00
DIYgod 398be0f592
feat: rename routes dir - 1/2 2024-03-01 01:21:28 +08:00
DIYgod 9d980d7670
feat: v3 migration - 16/n 2024-02-29 18:49:27 +08:00
DIYgod 05f5f50206
Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-29 17:44:22 +08:00
Aleksandr Bogdanov 1badc67a6a
feat(route): Telegram Channels (with video and files) (#13255)
* add tg via client library for full-res video + photo support

* fix expiring links

* fix photo downloads

* add inline thumbnails

* document thumbnails + streaming cache lock workaround

* true streaming support via Range requests

* add radar rules

* parse entities in messages to html

* tune chunking for video downloads

* add CLI option to generate TG_SESSION

* update pnpm-lock.yaml

* update telegram

* fix console usages

* remove unnecessary comment

* add english docs

* respond to review comments

* update pnpm-lock.yaml

* fix linting

* backwards compatibility for routeParams

* fix linting

* tune requestSize for smoother streaming

* fix incorrect tail post handling

* fix apiId env var bug

* html.unparse must be called on stripped text, not source markdown

* fix video streaming (requestSize is raw TL `limit`, chunkSize auto-aligns offsets by gramjs)

* replace newlines with <br> in messages because unparse doesn't do that

* must be replaceAll \n to <br/>

* Apply suggestions from code review

avoid unnecessarily starting gramjs

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* docs: fix docs

* fix import core router

* docs: fix docs merge

* fix: eslint

* fix: guard media access with key

* docs: fix maintainer

* chore: fix pnpm @babel/*

---------

Co-authored-by: syn <syn@localhost.localdomain>
2024-02-29 10:00:28 +08:00
Tony cbbd82918e
feat: internal media proxy (#14593)
* feat: image proxy

* feat: use Map

* docs: add docs

* fix: change config name

* Add lightnovel.us as a media source

* fix: break hostname extraction

* feat: add psl for more accurate domain extraction

* feat: split referer map

* perf(deps): replace `psl` with `tldts`

* fix: add indienova.com to referer map
2024-02-29 08:38:15 +08:00
DIYgod 6b1100dda7
chore: update dependencies 2024-02-29 02:17:37 +08:00
DIYgod ac7cb259fc
Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-28 23:57:29 +08:00
dependabot[bot] 7e3c1a2b67
chore(deps-dev): bump @types/eslint from 8.56.3 to 8.56.4 (#14578)
* chore(deps-dev): bump @types/eslint from 8.56.3 to 8.56.4

Bumps [@types/eslint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint) from 8.56.3 to 8.56.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/eslint)

---
updated-dependencies:
- dependency-name: "@types/eslint"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-28 23:27:43 +08:00
dependabot[bot] c13d096038
chore(deps): bump @sentry/node from 7.102.1 to 7.103.0 (#14577)
* chore(deps): bump @sentry/node from 7.102.1 to 7.103.0

Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 7.102.1 to 7.103.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.103.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.102.1...7.103.0)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-28 23:08:26 +08:00
DIYgod 5fb506f7a4
Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-27 20:45:31 +08:00