69 Commits

Author SHA1 Message Date
DIYgod
8558382d95 docs: add twitter token generation script 2023-12-01 23:40:44 +08:00
TonyRL
f9cda41946 docs: format docs using markdownlint-cli2 2023-11-30 18:07:46 +00:00
github-actions[bot]
5adf76f16d style: auto format 2023-11-13 14:10:16 +00:00
Tony
fec8aca217 chore: tweak docs-scraper conf for docusaurus v3
no sure why it requires `js_render` since the rendered HTML are mostly the same.

reference:
docusaurus v2
https://github.com/DIYgod/RSSHub/actions/runs/6721109567/job/18266104251#step:5:103
docusaurus v3
https://github.com/DIYgod/RSSHub/actions/runs/6733176979/job/18301311550#step:5:103
2023-11-13 22:08:41 +08:00
Henry Wang
d6056e2dbc feat!: allowlist & denylist (#13681)
* feat!: allowlist & denylist

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* chore: revert

---------
2023-11-03 21:21:17 +08:00
Tony
475372751f chore: revise github actions (#13612)
* chore: rename actions

* chore: fix path maintainer build

* feat: prepare script for node20

* chore: fix semgrep cant access secret
2023-10-23 03:44:46 +08:00
Tony
8e8bed5981 chore: meilisearch index swap
prevent downtime after updating the docs
2023-09-01 16:29:07 +00:00
Tony
37574030e7 chore: change noroute label name 2023-08-28 20:02:12 +08:00
TonyRL
a15383005e chore: update meilisearch config
`p`: general content
`.params`: route params
`table`: route params table
`code`: env
2023-08-22 13:30:45 +00:00
Tony
06f43cb664 docs: add back meilisearch (#13041)
* docs: add back meilisearch

* fix: remove unused variable

* Revert "fix: remove unused variable"

This reverts commit 52bec57a1e.
What is React
2023-08-16 06:22:52 +08:00
TonyRL
6e7c359429 docs: meilisearch index table 2023-07-10 15:00:39 +00:00
TonyRL
9b31d57095 chore: fix install from git with production flag
reference:
https://github.com/typicode/husky/issues/914#issuecomment-1046274220

https://github.com/typicode/husky/issues/920#issuecomment-1202503697
fix: bc162849da (commitcomment-117186018)
fix: #12686
2023-06-21 12:17:59 +00:00
TonyRL
268433f7cd ci(docker): fix test-docker script 2023-06-16 17:45:19 +00:00
TonyRL
bc162849da chore: disable husky in CI with a custom script 2023-05-08 03:05:15 +00:00
TonyRL
8458e90fcd chore: deny test route with path-to-regex syntax 2023-04-08 18:12:15 +00:00
TonyRL
1dd0d860f0 chore: fix context.state 2023-04-05 20:03:56 +00:00
TonyRL
64cb56827e chore: reopen and test pr/issue after edited 2023-04-05 14:05:00 +00:00
Tony
b6f06abb55 chore: strict radar and maintainer build (#12214)
* chore: strict radar and maintainer build

* test(coverage): exclude build script
2023-04-01 05:53:40 +08:00
Rongrong
cf9c7baf6e ci(test-route): fix regex (#11335)
Signed-off-by: Rongrong <i@rong.moe>

Signed-off-by: Rongrong <i@rong.moe>
2022-11-28 02:12:29 +08:00
Tony
6de48c433f docs: push custom settings before scrape 2022-09-08 16:07:51 +00:00
dependabot[bot]
ff57adb089 chore(deps-dev): bump @vercel/nft from 0.21.0 to 0.22.1 (#10675)
* chore(deps-dev): bump @vercel/nft from 0.21.0 to 0.22.1

Bumps [@vercel/nft](https://github.com/vercel/nft) from 0.21.0 to 0.22.1.
- [Release notes](https://github.com/vercel/nft/releases)
- [Commits](https://github.com/vercel/nft/compare/0.21.0...0.22.1)

---
updated-dependencies:
- dependency-name: "@vercel/nft"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* Revert "docs: vercel workaround (#10665)"

This reverts commit f57e6230ac.

* fix: scrape settings

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-03 01:54:37 +08:00
dependabot[bot]
a768e4690f chore(deps): bump puppeteer from 16.2.0 to 17.0.0 (#10651)
* chore(deps): bump puppeteer from 16.2.0 to 17.0.0

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 16.2.0 to 17.0.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/v16.2.0...v17.0.0)

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

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

* chore: misc fix

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 02:24:18 +08:00
Tony
fee049146e chore: update meilisearch settings (#10659)
* chore: update meilisearch settings

* fix: docker build
2022-08-31 02:29:51 +08:00
Tony
f806d0c145 docs: replace algolia with meilisearch 2022-08-27 15:07:44 +00:00
github-actions[bot]
f12289fa60 style: auto format 2022-05-27 18:53:49 +00:00
Tony
3ff9464954 chore: fix auto label 2022-05-28 02:51:42 +08:00
Tony
dd31298533 chore: fix auto label 2022-05-27 10:39:56 +00:00
Tony
5dd5317400 chore(workflow): test route on demand (#9831)
* chore: on demand test

* style: lint
2022-05-27 04:09:00 +08:00
MisLink
739cf602f3 fix(workflow): Fix regexp error when commit via vscode (#9805)
Signed-off-by: MisLink <gjq.uoiai@outlook.com>
2022-05-23 03:37:19 +08:00
Tony
11ef5c4dba chore: rename now to vercel (#9791) 2022-05-20 19:27:08 +08:00
Rongrong
eeb37848cb ci(comment-on-issue): bugfix, polish phrases (#9773) [skip ci] 2022-05-16 16:06:17 -07:00
NeverBehave
768a51f266 chore(workflow): close issue if not found, add v1/v2 route tag 2022-05-16 02:58:54 -07:00
NeverBehave
d080c6c59e fix(workflow): eslint and NOROUTE [skip ci] 2022-05-15 02:59:40 -07:00
Rongrong
49c0265e18 feat(radar): build JSON-versioned radar rules (#9756)
with `target` functions filtered out, of course

Signed-off-by: Rongrong <i@rong.moe>
2022-05-15 02:33:44 -07:00
NeverBehave
2c41038726 chore(workflow): ping maintainer on matched routes; [skip ci] (#9758) 2022-05-15 02:31:33 -07:00
Rongrong
4432bb0f19 chore(*): fix improper @pull[bot] config (#9710)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-05 20:35:19 -05:00
Rongrong
3d21235b40 chore(*): PR route test result auto-split (#9699)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-06 04:38:15 +08: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
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
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
ca250ba9c7 dep: revert chrome version pinning (#9235)
Close #6680
2022-03-02 19:28:33 +08:00
Tony
ea04c22ee8 fix(ci): pr-deploy-route-test workflow (#8611) 2021-12-02 19:49:00 -08:00
Chih-Hsuan Yen
1e8797008c fix: update minify-docker.js for newer @vercel/nft (#8628)
In commit ad1a09597f, @vercel/nft is
updated to 0.17.0, and in this version fileList from nft is a set
instead of an array [1].

[1] https://github.com/vercel/nft/pull/240
2021-12-01 10:29:03 +08:00
DIYgod
6e10cb59ba chore: npm ci -> yarn 2021-11-28 00:36:24 +00:00
Tony
74db039ae2 chore(misc): add eslint-plugin-yml, npm cache (#8599) 2021-11-27 23:42:37 +00:00
NeverBehave
0792f7ba25 feat(core): first attempt to init script standard (#8224)
- lazy load
- rate limit per path
- init .debug.json support
- docs
- maintainer
- radar
2021-09-22 05:41:00 -07:00
Sukka
6e3b58ed1d refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -07:00
NeverBehave
47176b6724 chore(test): test running docker after build (#8010)
* chore(test): test running docker after build

* add test in the same step

* add count times

* workflow typo

* add name when output

* if then

* test docker

* use id

* no tag

* what is docker id

* load single platform

* do not test multi-arch for now

* no load
2021-08-13 21:22:32 -07:00
GitHub Action
9968dbfc96 style: auto format 2021-08-13 10:46:31 +00:00
NeverBehave
c0b638c860 fix(dockerfile): copy necessary file when building (#8008)
* fix(dockerfile): copy necessary file when building

*when even bother deleting file...

* no console
2021-08-13 03:44:39 -07:00