Rongrong
955de7d52a
refactor(route/jike): extract repeated logic; fix await ( #9698 )
...
* refactor(route/jike): rename `common` -> `utils`
Signed-off-by: Rongrong <i@rong.moe >
* refactor(route/jike): extract repeated logic
Signed-off-by: Rongrong <i@rong.moe >
* fix(route/jike): lack await
Signed-off-by: Rongrong <i@rong.moe >
2022-05-05 22:36:15 +08:00
github-actions[bot]
f3741e8530
style: auto format
2022-05-05 13:49:44 +00:00
neila
a6b2f65c5e
feat(route): add njit ( #9696 )
...
* first add njit
* add njit radar
* Update lib/v2/njit/radar.js
2022-05-05 02:48:05 -11:00
Rongrong
63ccc9499b
fix(route/jike): image URL; outdated usage ( #9693 )
...
* fix(route/jike): image URL; outdated usage
Signed-off-by: Rongrong <i@rong.moe >
* refactor: migrate to v2
* fix: unescaped .
* feat(route/jike): new radar rule
Signed-off-by: Rongrong <i@rong.moe >
2022-05-05 20:28:04 +08:00
TonyRL
2bcc6f6ad0
test: puppeteer wait until test finish
2022-05-04 20:43:15 +00:00
be1a1b303c
fix(route): uraaka-joshi ( #7908 )
...
* modify uraaka-joshi to puppeteer
* style: auto format
* fix(route): uraaka-joshi and user
* docs: fix author
Co-authored-by: GitHub Action <action@github.com >
Co-authored-by: TonyRL <TonyRL@users.noreply.github.com >
2022-05-05 04:22:23 +08:00
Rongrong
ff3fcdd97e
chore(CI): remove setup-QEMU from docker-test ( #9690 )
...
useless step
Signed-off-by: Rongrong <i@rong.moe >
2022-05-04 17:35:08 +10:00
Rongrong
23fcb6bc5a
feat(core/utils/request-wrapper): request logging ( #9691 )
...
Signed-off-by: Rongrong <i@rong.moe >
2022-05-04 12:36:48 +10:00
Rongrong
c1fbc64255
chore(*): detailed info for PR route test ( #9689 )
...
Signed-off-by: Rongrong <i@rong.moe >
2022-05-04 06:08:10 +08:00
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-alex and yuxinliu
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