Commit Graph
14516 Commits
Author SHA1 Message Date
dependabot[bot] dcc3c80294 chore(deps): bump markdown-it from 13.0.0 to 13.0.1 (#9688)
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 13.0.0 to 13.0.1.
- [Release notes](https://github.com/markdown-it/markdown-it/releases)
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/13.0.0...13.0.1)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-type: direct:production
  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>
2022-05-04 05:19:21 +08:00
Rongrong a5d74e521c feat(core/middleware/anti-hotlink): route matching (#9681)
* feat(core/middleware/anti-hotlink): route matching

Signed-off-by: Rongrong <i@rong.moe>

* fix(test): coverage

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): fix mistaken config key

Signed-off-by: Rongrong <i@rong.moe>
2022-05-04 03:29:23 +08:00
Tony 225d922d9c fix(route): javdb new layout (#9687) 2022-05-04 03:02:47 +08:00
TonyRL e0a809fbc2 chore: set test image artifact to 1 day
1 build ~247MB, Pro account has 2GB
2022-05-03 18:01:38 +00:00
Tony 78b43b1b0c chore: add pr title lint (#9686)
* chore: add pr title lint

* chore: fix pr template typo
2022-05-04 01:31:23 +08:00
Tony 1dfc101a59 chore: bump gha node to v16 (#9685) 2022-05-03 20:10:10 +08:00
Zhiyang Guo ac7b3666d8 fix(route): 南京理工大学 (#9659)
* fix(route): 南京理工大学

* refactor: migrate to v2

* refactor: migrate to v2

* Update yarn.lock

* fix: remove standalone puppeteer extra

* fix(route): minor misc changes

* fix(route): sort routes in alphabetical order

* fix(route): update utils.js
2022-05-03 19:37:58 +08:00
Rongrong 7b6589cafa chore(*): migrate to GHA-based PR route test (#9683)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-03 19:24:27 +08:00
dependabot[bot] 569b7d8db1 chore(deps): bump lru-cache from 7.8.1 to 7.9.0 (#9679)
Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 7.8.1 to 7.9.0.
- [Release notes](https://github.com/isaacs/node-lru-cache/releases)
- [Changelog](https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-lru-cache/compare/v7.8.1...v7.9.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-03 05:28:51 +08:00
Rongrong d676247f05 docs(parameter): URL encode warning (#9678)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-03 03:34:13 +08:00
Tony 0b544e1395 feat(utils): puppeteer-extra-plugin-stealth (#9676) 2022-05-03 01:17:17 +08:00
Tony 24e435d48f feat(route)!: remove dwnews (#9675) 2022-05-01 23:49:31 +08:00
github-actions[bot] 2dce0081e5 style: auto format 2022-05-01 14:00:05 +00:00
yuxinliu-alexandyuxinliu e21f09174c feat(route): 爱果果-最新H5 (#9648)
* feat(route): 爱果果-最新H5

* Update lib/v2/iguoguo/radar.js

* Update lib/v2/iguoguo/radar.js

Co-authored-by: yuxinliu <yuxin2@mgtv.com>
2022-05-01 21:58:29 +08:00
Mengxin Cao a428c4c5cd fix(route): broken link embassy/us (#9673)
* Fix broken link embassy/us

* refactor: migrate to v2

* fix: embassy/us selector
2022-05-01 21:27:20 +08:00
Rongrong 7a6be9a229 feat(core): customizable Chromium executable path (#9670)
* feat(core): customizable Chromium executable path

also build Chromium-bundled Docker image for arm/arm64

Signed-off-by: Rongrong <i@rong.moe>

* chore: fix typo

Signed-off-by: Rongrong <i@rong.moe>

* chore(CI/test): using build matrix

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): fix punctuation

Signed-off-by: Rongrong <i@rong.moe>
2022-05-01 21:00:29 +08:00
Rongrong 05fd12eb35 chore(coverage): exclude lib/router.js; link fix (#9671)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-01 18:08:33 +08:00
Zhiyang Guo f88e58b493 feat(route): 中国科学技术大学-研究生院/信息科学技术学院/电子工程与信息科学系 (#9666)
* fix(route): 中科大官网通知公告正文内容获取

* refactor: migrate to v2

* feat(route): 中国科学技术大学-研究生院/信息科学技术学院/电子工程与信息科学系

* fix: sort router

* fix: deprecated url.resolve

* fix: fulltext cache

fix: nullish coalescing

fix: data.link

fix: cache.tryGet

* fix: deepscan
2022-05-01 17:36:33 +08:00
Henry Wang 1a547caf3b feat(route): 更新少数派全文支持 (#9653)
* feat: 少数派首页全文输出

* feat: 少数派全路由全文

* feat: 少数派专栏全文

* refactor: migrate to v2

* fix: cache key
2022-05-01 17:34:45 +08:00
Dag a306f8e89f docs: add example to curiouscat that works (#9672) 2022-05-01 12:15:21 +07:00
Ethan Shen 70e20bec2c fix(route): 有知有行有知文章 (#9668) 2022-05-01 06:34:00 +08:00
Ethan Shen e5484a75bd feat(route): add 云听 (#9665)
* feat(route): add 云听

* fix typo

* fix: wrong data
2022-05-01 06:13:57 +08:00
Rongrong 616ad78c88 fix(core/utils/anti-hotlink): invalid HTML output (#9669)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-01 04:14:07 +08:00
Henry d5e1217498 fix: 修复懂球帝部分路由图片加载的bug 2022-04-30 20:57:13 +01:00
Rongrong c4ca3e4ee9 feat(route): add ally/rail (#9660)
Signed-off-by: Rongrong <i@rong.moe>
2022-04-30 23:15:12 +08:00
TonyRL d9dd7afbb0 fix(radar): szse docs url 2022-04-30 15:06:13 +00:00
Ethan Shen 22bbc76ef5 fix(route): 深圳证券交易所问询函件 (#9658)
* fix(route): 深圳证券交易所问询函件

* fix typo

* fix description

* docs: fix category
2022-04-30 23:03:30 +08:00
Rongrong 6bdb57c91c chore(CI): re-enable codecov token to fix error (#9664)
Signed-off-by: Rongrong <i@rong.moe>
2022-04-29 22:48:49 -05:00
Rongrong 72070d40cc chore(*): fix code coverage not uploaded (#9661)
Signed-off-by: Rongrong <i@rong.moe>
2022-04-30 07:37:23 +08:00
dependabot[bot] 78a5ce1922 chore(deps-dev): bump nodemon from 2.0.15 to 2.0.16 (#9662)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.15 to 2.0.16.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.15...v2.0.16)

---
updated-dependencies:
- dependency-name: nodemon
  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>
2022-04-30 07:15:22 +08:00
dependabot[bot] 1130372af1 chore(deps-dev): bump jest from 28.0.2 to 28.0.3 (#9663)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.0.2 to 28.0.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v28.0.3/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  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>
2022-04-30 04:53:56 +06:00
zoenglinghou 9b176217f3 docs: Update documentation for IMAP config to reflect #8212 (#9657) 2022-04-29 10:00:56 +00:00
DIYgod 5d3692384e docs: add carbon ads 2022-04-29 10:55:17 +01:00
Ethan Shen 4e65978b0c feat(route): add C114通信网滚动新闻 (#9651)
feat(route): add C114通信网滚动新闻
2022-04-29 01:12:31 +01:00
dependabot[bot] ff3fa740f4 chore(deps): bump puppeteer from 13.6.0 to 13.7.0 (#9655)
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.6.0 to 13.7.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v13.6.0...v13.7.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:04:06 -12:00
dependabot[bot] 15717f3a8e chore(deps): bump mailparser from 3.4.0 to 3.5.0 (#9654)
Bumps [mailparser](https://github.com/nodemailer/mailparser) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/nodemailer/mailparser/releases)
- [Commits](https://github.com/nodemailer/mailparser/compare/v3.4.0...v3.5.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 06:11:23 +08:00
Tony e063633cd7 refactor: switch to twitter-api-v2 from twit (#9652) 2022-04-29 01:35:10 +08:00
Zhiyang Guo 4f5699ba0e feat(route): add Zotero (#9650)
* feat(route): add Zotero

* docs: add en docs

* docs: use chinese for cn docs
2022-04-29 01:19:12 +08:00
dependabot[bot] f76d0428a9 chore(deps-dev): bump jest from 28.0.1 to 28.0.2 (#9642)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.0.1 to 28.0.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v28.0.2/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  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>
2022-04-28 21:49:46 +08:00
dependabot[bot] 4411dd2608 chore(deps-dev): bump supertest from 6.2.2 to 6.2.3 (#9643)
Bumps [supertest](https://github.com/visionmedia/supertest) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/visionmedia/supertest/releases)
- [Commits](https://github.com/visionmedia/supertest/compare/v6.2.2...v6.2.3)

---
updated-dependencies:
- dependency-name: supertest
  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>
2022-04-28 21:19:01 +08:00
neilnaveen ba496a625c chore: Set permissions for GitHub actions (#9644)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2022-04-28 21:01:45 +08:00
Rongrong d8c00ec238 build(docker): optimize; add Chromium bundled ver (#9626)
* build(docker): optimize; add Chromium bundled ver

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): fix redundant command and label

Signed-off-by: Rongrong <i@rong.moe>

* build(docker): only install prod deps to speed up

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): minor fixes

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): bump to `node:16-bullseye-slim`

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): fix yarn registry mirror

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): minimize dependencies

for Chromium-bundled version

Signed-off-by: Rongrong <i@rong.moe>
2022-04-28 20:40:21 +08:00
Tony 34b58ebc64 fix(utils): request without hostname (#9649) 2022-04-28 19:35:31 +08:00
Ethan Shen 969df26d3d fix(route): 联合早报图片重定向 (#9645) 2022-04-28 19:08:37 +08:00
bao1991213 bba6a46d19 feat(route): add 人人影视-今日播出 (#9619)
* feat(route): add 人人影视-今日播出

* feat(route): 人人影视-今日更新 v2 standard

* refactor: migrate to v2

* fix: apply suggestion
2022-04-27 23:01:32 +08:00
dependabot[bot] 5adab5e8ae chore(deps-dev): bump jest from 28.0.0 to 28.0.1 (#9635)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.0.0 to 28.0.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v28.0.1/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  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>
2022-04-27 10:23:32 +01:00
Ethan Shen 3d98cf66ef fix(route): 京东商品价格标题 (#9638)
* fix(route): 京东商品价格标题

* fix: add guid
2022-04-27 07:01:49 +01:00
dependabot[bot] 04e851bf73 chore(deps): bump @sentry/node from 6.19.6 to 6.19.7 (#9636)
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 6.19.6 to 6.19.7.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/6.19.6...6.19.7)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  dependency-type: direct:production
  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>
2022-04-27 02:46:57 +01:00
Tony ff977597f1 fix(route): bilibili video page ordering, accept common limit params (#9634) 2022-04-27 04:19:38 +08:00
dependabot[bot] a03d51ae2d chore(deps-dev): bump jest from 27.5.1 to 28.0.0 (#9622)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 27.5.1 to 28.0.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v28.0.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 19:55:52 +08:00