Commit Graph

119 Commits

Author SHA1 Message Date
Tony 45ee587316 fix(workflow): update Docker logs step to always run and add fail-build job 2025-06-22 17:28:38 +08:00
Tony d929c7a15c chore(tests): rename and handle route failure labels 2025-06-06 00:07:05 +08:00
Tony ef22a71dd6 chore: update auto label 2025-06-05 21:07:25 +08:00
DIYgod 2d7561b193
fix: popular category in build routes 2025-06-02 09:50:52 +08:00
DIYgod 2dce2e32dd
feat: docs sorting and auto popular 2025-05-31 17:10:01 +08:00
DIYgod 8520db3e13
feat: api route (#19209)
* feat: api route

* test: api route
2025-05-27 13:21:27 +08:00
Tony 81ee26fff2 chore: use jsdelivr cdn link to avoid github 429 when build docs 2025-05-09 02:16:10 +08:00
Tony dd96d12ebb
revert: "chore: minify docker (#18914)" (#18931)
This reverts commit e9013a2313.
2025-04-24 02:18:02 +08:00
Tony e9013a2313
chore: minify docker (#18914)
* chore: minify docker

* chore: bring back minify script
2025-04-23 02:42:25 +08:00
DIYgod 83e701b592
feat: compile ts through tsdown (#18908)
* feat: build ts via tsdown

* feat: exec tsdown

* fix

* fix

* fix

* feat: use tsdown shims

* chore: run rolldown lifecycle script

* fix: use shims

---------
2025-04-22 22:29:11 +08:00
Tony 905062f10c chore: fix test route in issue command 2025-02-12 01:25:55 +08:00
Tony 4fc15dcd02 chore(workflow): fix label removing
fix #16888
2025-02-06 16:00:43 +08:00
Tsuyumi 99ee9e7030
chore: escape HTML entity in route test URL display (#17592) 2024-11-15 20:19:42 +08:00
pseudoyu 52e72e2c60
fix(docs): handle duplicated routes in docs 2024-10-23 11:43:12 +08:00
Tony 2c898cf3fd chore: block PR with empty description 2024-10-21 02:01:35 +08:00
TonyRL fe683a11e2 chore: unwrap error detail in test route 2024-05-24 20:19:41 +00:00
DIYgod 6ee5d7267b
chore: add popular category 2024-05-19 23:00:43 +08:00
Tony 0893debb07
style(eslint): lint tsx (#15098) 2024-04-04 20:28:45 +08:00
DIYgod d22a63c6d0
chore: schedule test full routes 2024-03-24 22:36:21 +08:00
DIYgod 8817829e20
fix: build docs 2024-03-24 21:14:25 +08:00
DIYgod b774c60858
test: add full routes test (#14934)
* test: add critical routes test

* fix: youtube channels config

* test: add full routes test

* test: output full routes test result

* test: build routes before test

* test: use one reporter

* test: fix cache test errors

* test: fix cache test errors

* chore: puppeteerrc.cjs

* chore: puppeteerrc.cjs

* chore: puppeteerrc.cjs

* fix: build script

* chore: puppeteerrc rename

* test: route test names

* chore: pass test result to docs
2024-03-24 19:00:03 +08:00
Tony 63adaee7f2 chore: add typo check in build routes 2024-03-24 05:06:06 +08:00
Tony 847fdaba1d
chore: fix route test github actions (#14923)
* chore: fix route test actions

* chore: bump unified
2024-03-23 08:19:05 +08:00
DIYgod 2d4abeb9ec
docs: default values 2024-03-18 23:50:37 +08:00
DIYgod 939a77ecab
chore: commit docs to docs repo 2024-03-18 19:36:56 +08:00
Tony d585a87daf
fix: allow multiple radar rules per route (#14800)
* fix: allow multiple radar rules per route

* fix: github folder

* feat: add namespace to radar target

* docs: fix types url
2024-03-16 03:28:44 +08:00
DIYgod 901075eda9
feat: radar rules api 2024-03-14 20:06:15 +08:00
DIYgod e5f1ad343c
chore: recover radar.js 2024-03-12 21:32:48 +08:00
DIYgod 8f4c50e22e
chore: update outdated chore files 2024-03-09 20:30:59 +08:00
DIYgod b1aca9fea0
feat: recover build docs 2024-03-09 18:55:37 +08:00
DIYgod bb70716973
fix: docs sorting 2024-03-09 17:52:37 +08:00
DIYgod a9ae562d38
feat: build markdown docs from routes 2024-03-09 16:52:18 +08:00
DIYgod 0c8d6f05bf
fix: build-routes 2024-03-09 03:31:18 +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
DIYgod d93a301d97
feat: build-radar.ts 2024-03-04 01:52:04 +08:00
DIYgod 2c7d7f9205
feat: build-maintainer.ts 2024-03-04 01:38:38 +08:00
DIYgod b98c99928f
fix: test error 2024-03-03 22:21:24 +08:00
DIYgod 1ba7bc25bb
fix: test error 2024-03-03 19:07:40 +08:00
DIYgod f0e09ee9e0
chore: rollback got 2024-03-02 02:20:43 +08:00
DIYgod d88620c39c
feat: update esm dependencies 2024-03-01 22:58:04 +08:00
DIYgod 398be0f592
feat: rename routes dir - 1/2 2024-03-01 01:21:28 +08:00
DIYgod 14607e2c8d
fix: build-radar path 2024-02-28 23:54:52 +08:00
DIYgod 8536931e9d
chore: fix npm start 2024-02-26 00:52:44 +08:00
DIYgod bdb078c27d
feat: remove lib/radar-rules.js 2024-02-21 20:32:09 +08:00
DIYgod ad7292230b
feat: remove lib/radar.js 2024-02-21 20:19:27 +08:00
piglei dc4eb8d02b
chore: update the "routes" example in the pull request template to make it less confusing (#14415)
* Fix: a typo in the pull request template

* Enhance: when parsing routes from PR body, remove all comments.
2024-02-07 15:16:00 +08:00
Tony 87239ac8c8
chore: bump docs scraper js_wait 2024-02-05 20:28:58 +08:00
Tony 839d36ef76
chore: decrease `js_wait` in docs.rsshub.app.json 2024-01-24 02:36:21 +08:00
Tony 6d901cb7dc
style(eslint): add eslint-unicorn (#14257)
* style: add eslint-unicorn

* style: fix unicorn/no-useless-spread

* style: fix unicorn/no-useless-promise-resolve-reject

* style: fix unicorn/no-for-loop

* fix: codeql bad HTML filtering regexp

* fix: codeql incomplete replace

* fix: unicorn/no-abusive-eslint-disable

* style: fix unicorn/no-new-array

* style: fix unicorn/no-typeof-undefined

* style: fix unicorn/no-zero-fractions

* style: fix unicorn/no-empty-file

* style: fix unicorn/prefer-date-now

* revert: auto fix unicorn/prefer-switch on lib/v2/kuaidi100/utils.js

* style: fix unicorn/prefer-array-find

* style: fix unicorn/prefer-array-flat

* style: fix unicorn/prefer-array-flat-map

* style: fix unicorn/prefer-at

* style: fix unicorn/prefer-string-starts-ends-with

* style: fix unicorn/prefer-includes

* fix: codeql URL substring sanitization

* style: fix unicorn/prefer-optional-catch-binding

* style: fix unicorn/catch-error-name

* style: fix unicorn/escape-case

* style: fix unicorn/prefer-native-coercion-functions

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/require-array-join-separator

* style: fix unicorn/prefer-math-trunc

* style: fix unicorn/prefer-negative-index

* style: fix unicorn/prefer-dom-node-dataset

* style: fix unicorn/prefer-dom-node-text-content

* style: fix unicorn/prefer-query-selector

* style: fix unicorn/no-array-for-each

* style: fix unicorn/no-negated-condition

* style: fix unicorn/prefer-add-event-listener

* style: fix unicorn/import-style

* style: fix prefer-regex-literals

* style: disable unicorn/no-useless-switch-case

* style: disable unicorn/text-encoding-identifier-case

* style: fix unicorn/prefer-set-has

* style: fix unicorn/prefer-spread

* revert: auto fix on lib/routes/universities/ynnu/edu/base64.js

* style: fix unicorn/no-useless-undefined

* style: fix unicorn/no-array-push-push

* style: fix unicorn/no-useless-undefined again

* style: fix unicorn/no-lonely-if

* style: fix unicorn/prefer-reflect-apply

* style: fix unicorn/switch-case-braces

* style: fix unicorn/prefer-switch

* style: fix unicorn/prefer-array-some

* fix: deepscan UNUSED_VAR_ASSIGN

* style: fix unicorn/prefer-ternary

* fix: follow-up of unicorn/prefer-ternary

* revert: auto fix of unicorn/prefer-string-slice for substring()

* style: disable unicorn/prefer-string-slice

fix: auto fix slice over deprecated substr

* style: fix unicorn/throw-new-error

* style: fix unicorn/filename-case

* test: fix dateParser renaming

* style: fix unicorn/better-regex

* style: fix unicorn/prefer-string-replace-all

* fix(deps): add sanitize-html

* style: fix no-prototype-builtins

* style: fix unicorn/consistent-destructuring

* style: fix unicorn/consistent-function-scoping

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/prefer-logical-operator-over-ternary

* style: fix unicorn/no-array-callback-reference

* style: add prefer-object-has-own

* style: warn unicorn/no-empty-file

* style: fix unicorn/prefer-number-properties

* style: fix no-useless-undefined again

* style: fix unicorn/numeric-separators-style

* style: disable unicorn/no-array-callback-reference

false postive with cheerio
2024-01-18 20:43:40 +08:00