Commit Graph
28 Commits
Author SHA1 Message Date
Tony a5e2e295dc refactor: fix all get to toArray (#19000)
* refactor: fix all get

* fix(utils/common-config): charset case compare

* Revert "fix(utils/common-config): charset case compare"

This reverts commit 3c1880f2fad53ad2cafddcee7741390fd46fa3d2.

* fix: nga

* fix: notateslaapp

* fix: ps

* fix: xjtu

* fix: enforce error on restricted syntax for get calls

* fix: eslint

* fix: more eslint
2025-05-04 05:24:53 +08:00
Tony 5bdef51407 fix(route/wechat): fetch first page only 2025-04-17 01:32:11 +08:00
pseudoyu 04c0f056a9 fix(route/wechat): fetch sogou wechat articles 2025-04-15 14:54:36 +08:00
Tony 4fa33716c1 docs: remove indent (#18247)
* docs: remove indent

* docs: remove more indent

* docs: remove h5 indent

* docs: remove h4 indent

* docs: remove details indent
2025-01-31 22:17:58 +08:00
Tony 04a3e88448 docs: fix admonitions syntax (#18018) 2025-01-01 15:52:40 +08:00
pseudoyu 0a42f88de7 feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07:00
Tony 8d76a0055d style(eslint): update no-restricted-syntax (#17215) 2024-10-20 20:41:31 -07:00
cjc7373 13b2e389d0 fix: duplicated items in ershcimi (#17073) 2024-10-10 20:43:27 +08:00
JimenezLi 0c36e855b5 fix(route): /wechat/ershicimi (#15570)
* fix(route): /weixin/ershcimi

* fix: move async function to outer scope

* fix: assign return Promises to item

* fix: really assign Promises to item
2024-05-15 11:38:49 +08:00
Rongrong 690e91c59d fix(route/{telegram/channel,wechat/tgchannel}): broken links (#15332)
route/telegram/channel:
Since 2024/4/20, t.me/s/ mistakenly have every '&' in **hyperlinks**
replaced by '&'. The characteristic of a hyperlink is [onclick]
(pop-up confirmation), which is not present in ordinary links. This is a
workaround to fix the issue until Telegram fixes it.

route/wechat/tgchannel:
Since 2024/4/20, t.me/s/ mistakenly have every '&' in **hyperlinks**
replaced by '&'. wechat-mp will take care of this, so no need to fix
it here. However, once the bug is eventually fixed, all guid will be
changed again. Considering that this is almost certain to happen, let's
break guid consistency now by using normalized URL from wechat-mp as
guid to avoid similar issues in the future.

Signed-off-by: Rongrong <i@rong.moe>
2024-04-23 21:22:19 +08:00
Rongrong ef8b061ea2 chore(routes/*): fix unreachable code (#15192)
This is a regression introduced in #14718.

Signed-off-by: Rongrong <i@rong.moe>
2024-04-12 00:19:38 +08:00
Rongrong a8813a6311 fix(routes/wechat/tgchannel): title is not mpName (#15193)
This is a regression introduced in 9787a92c.

Use `||` instead of `??` to prevent empty string being used as the feed
title.

Signed-off-by: Rongrong <i@rong.moe>
2024-04-11 23:45:28 +08:00
DIYgod 79fcce2729 feat: add ConfigNotFoundError and InvalidParameterError 2024-04-07 17:36:18 +08:00
Tony 0893debb07 style(eslint): lint tsx (#15098) 2024-04-04 20:28:45 +08:00
DIYgod d190d9d700 test: ofetch got 2024-03-26 00:33:36 +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 d83c85a349 feat: remove radar.ts maintainer.ts router.ts 2024-03-09 18:31:48 +08:00
DIYgod 33e2f17055 fix: wrong categories 2024-03-09 15:08:34 +08:00
DIYgod 76e7e8296b fix: add routes 2024-03-09 03:24:53 +08:00
DIYgod 45f9ea21fb feat: add routes 2024-03-09 03:06:53 +08:00
DIYgod f8b141ee6e feat: add namespace.ts 2024-03-09 01:53:22 +08:00
DIYgod 44c9853541 feat: replace require with import 7/n 2024-03-07 01:17:21 +08:00
Yufan You 130b11224e chore: remove @ts-nocheck (#14669) 2024-03-05 21:06:03 +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 8065ededf5 feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00
DIYgod df57bb5d50 feat: esm standard for routes 2024-03-02 03:25:26 +08:00
DIYgod 6f57c02538 feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00