Commit Graph
14516 Commits
Author SHA1 Message Date
DIYgod 05f5f50206 Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-29 17:44:22 +08:00
DIYgod 28f14415e0 feat: v3 docs 2024-02-29 17:33:55 +08:00
DIYgod 735904a630 feat: v3 migration - 13/n 2024-02-29 17:33:33 +08:00
github-actions[bot] 29276d8399 style: auto format 2024-02-29 03:37:39 +00:00
shiquda aae92ab9c0 feat(route): tongji/bks (#14558)
* feat(route): tongji/bks

* chore: format corrections

* Update lib/v2/tongji/radar.js

---------
2024-02-29 11:35:42 +08:00
github-actions[bot] 113cf124e5 style: auto format 2024-02-29 03:04:49 +00:00
tssujt 0a9f1f8067 feat(route): Add wmpvp (#14586) 2024-02-29 11:02:52 +08:00
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
Keo 645e6c0be9 feat(route): add 刺猬猫 (#14592)
* add 刺猬猫

* fix getting chapter content

* add docs & radar; fix image

* update default limit

* do not fetch chapter content if chapter is locked
2024-02-29 08:52:24 +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
Keo e41ed0c48a feat(route): add 欢乐书客 (#14591)
* feat(route): add 欢乐书客

* update radar

* rm redundant code
2024-02-29 04:41:18 +08:00
DIYgod ce80d52dbf feat: v3 migration - 12/n 2024-02-29 02:50:25 +08:00
DIYgod 6b1100dda7 chore: update dependencies 2024-02-29 02:17:37 +08:00
DIYgod df4433789b feat: v3 migration - 11/n 2024-02-29 02:15:07 +08:00
DIYgod 2092fcec37 feat: v3 migration - 10/n 2024-02-29 00:55:47 +08:00
Keo 09cf6dbdd2 feat(route): add sfacg (#14579)
* feat(route): add sfacg

* refactor code

* feat: add radar.js

* update description

* add feed desc & img

* update radar.js

* update http url replacement

* fix: radar

* fix: maintainer

---------
2024-02-29 00:46:00 +08:00
Ethan Shen b735b645d8 feat(route): add TV Tropes Featured (#14574)
* feat(route): add TV Tropes Featured

* fix typo

---------
2024-02-29 00:28:02 +08:00
DIYgod 46701c20de feat: v3 migration - 9/n 2024-02-29 00:16:32 +08:00
github-actions[bot] 3676871a7d style: auto format 2024-02-28 16:10:37 +00:00
cnkmmk f02487a97c feat(route): add 赵容部落 (#14580) 2024-02-29 00:08:40 +08:00
DIYgod ac7cb259fc Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-28 23:57:29 +08:00
DIYgod 14607e2c8d fix: build-radar path 2024-02-28 23:54:52 +08:00
DIYgod b621d38e51 feat: v3 migration - 8/n 2024-02-28 23:49:11 +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 5e2986fcd9 feat: v3 migration - 7/n 2024-02-28 21:07:10 +08:00
DIYgod e288e29ecc feat: lazy load route 2024-02-28 20:53:29 +08:00
DIYgod 3eb1545bc5 feat: v3 migration - 6/n 2024-02-28 19:40:21 +08:00
DIYgod e5397f9e3e feat: export common-utils 2024-02-28 19:34:15 +08:00
DIYgod db9e515c7c feat: v3 migration - 5/n 2024-02-28 19:31:09 +08:00
DIYgod 7a719369be feat: v3 migration - 4/n 2024-02-28 16:51:42 +08:00
DIYgod fdf3fcac57 feat: v3 migration - 3/n 2024-02-28 16:33:13 +08:00
DIYgod 185b5d1441 feat: v3 migration - 2/n 2024-02-28 16:26:24 +08:00
DIYgod c88553b225 feat: v3 migration - 1/n 2024-02-28 16:25:59 +08:00
DIYgod 85ad31e260 feat: render export 2024-02-28 14:58:50 +08:00
dependabot[bot] 5820625be2 chore(deps-dev): bump @types/react from 18.2.59 to 18.2.60 in /website (#14575)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.59 to 18.2.60.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 21:22:07 +00:00
randompasser a98079239b feat(route/pcr/news): Fetch full text (#14559)
* feat(route/pcr/news): Fetch full text

* fix(route/pcr/news): add missing language code

* fix(route/pcr/news) Use cache.tryGet()

* refactor: migrate to v2

---------
2024-02-28 02:39:33 +08:00
github-actions[bot] b8a1a5d98b style: auto format 2024-02-27 18:21:03 +00:00
TonyRL 859c8b785d chore: remove ! from heading slut 2024-02-27 18:19:05 +00:00
moemoe af87f6be1c fix(route): 2048/:type (#14572) 2024-02-27 23:10:30 +08:00
DIYgod 5fb506f7a4 Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-27 20:45:31 +08:00
dependabot[bot] d65a83e5e8 chore(deps): bump puppeteer from 22.2.0 to 22.3.0 (#14570)
* chore(deps): bump puppeteer from 22.2.0 to 22.3.0

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 22.2.0 to 22.3.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.2.0...puppeteer-v22.3.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-02-27 07:41:03 +08:00
dependabot[bot] d7add3b3c5 chore(deps-dev): bump nock from 13.5.3 to 13.5.4 (#14569)
* chore(deps-dev): bump nock from 13.5.3 to 13.5.4

Bumps [nock](https://github.com/nock/nock) from 13.5.3 to 13.5.4.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.5.3...v13.5.4)

---
updated-dependencies:
- dependency-name: nock
  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-26 22:38:53 +00:00
dependabot[bot] af9568d248 chore(deps): bump @tonyrl/rand-user-agent from 2.0.51 to 2.0.52 (#14568)
* chore(deps): bump @tonyrl/rand-user-agent from 2.0.51 to 2.0.52

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

---
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-02-26 22:20:37 +00:00
dependabot[bot] 2eaf3c5615 chore(deps-dev): bump @types/react from 18.2.58 to 18.2.59 in /website (#14567)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.58 to 18.2.59.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 22:13:19 +00:00
DIYgod e3df4f4673 refactor: eslint warning 2024-02-27 00:57:51 +08:00
DIYgod c975400b4c refactor: remove useless router 2024-02-26 22:54:02 +08:00
DIYgod 765c6777f8 Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-26 22:51:20 +08:00
DIYgod 5645b8466a test: mock client ip 2024-02-26 22:38:18 +08:00
DIYgod 373b188e0c test: timezone 2024-02-26 22:05:03 +08:00