Commit Graph
59 Commits
Author SHA1 Message Date
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
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
wudifeixue c086c62acd fix(core): fix documentation link path and error message links (#15023)
* fix: all broken sponsor links

* fix: all broken deployment links

* fix: other broken links
2024-03-30 08:12:12 +00:00
DIYgod 18f50bb4da fix: remove require.main 2024-03-24 21:11:38 +08:00
Tony e8b0d7d262 chore: push type changes to docs 2024-03-24 13:14:41 +08:00
Tony acb25bf3a6 fix: don't start TG client unless routes are requested
cherry-pick bec5b6e0d6f8ac8e5783812ca935b57d3b4991a8 from #14675
2024-03-19 05:29:20 +00:00
Nikita Artikhovich a555b1799b feat(route)(telegram/channel): support for video stickers (#14842) 2024-03-19 10:53:47 +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
Serhii Hospodarchuk 430c0f30b1 fix(route): telegram parameters showReplyTo and showViaBot (#14744) 2024-03-11 23:09:34 +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
DIYgod 3d33ab1f72 feat: replace require with import 6/n 2024-03-07 00:46:47 +08:00
DIYgod 156b58d780 feat: replace require with import 1/n 2024-03-06 23:39:15 +08:00
Yufan You 130b11224e chore: remove @ts-nocheck (#14669) 2024-03-05 21:06:03 +08:00
DIYgod 4d3e5d79c1 feat: remove MEDIA_PROXY_KEY and internal media proxy 2024-03-04 23:06:41 +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 a10bafb263 fix: __dirname 2024-03-04 00:46:26 +08:00
DIYgod 8065ededf5 feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00
DIYgod 2e5728fd85 feat: unclean routes export 2024-03-02 05:00:59 +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
Fatpandac 45aeb8e7a3 Fix(route): remove next() and change to V2 (#8844) 2022-01-22 20:03:48 +00:00
Sukka d82847f541 style/chore(eslint): enforce new rules (#8040)
* style: prefer object shorthand syntax
* refactor: prefer Array#map over Array#forEach
* style: prefer arrow callback
* chore(eslint): update rules
* style: auto fix by eslint
2021-08-17 22:23:23 +08:00
Sukka 6e3b58ed1d refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -07:00
notofoe f70f2f7412 feat: telegram channel, show attachment name in title (#6219) 2020-11-24 13:43:52 +00:00
notofoe 5505fbf9d5 feat: telegram channel audio & podcast support (#5785) 2020-10-03 21:27:35 +01:00
notofoe 3fbf70ad43 feat: add warnings for blocked telegram channels (#5439) 2020-08-18 21:02:10 +01:00
notofoe 5c2f1ad6ec feat: tg-chan attachment filename, sticker tag (#5160) 2020-07-10 14:13:11 +08:00
notofoe 7efb4d88a0 feat: tg-chan search, trivial dom/format (#5127) 2020-07-07 17:42:18 +08:00
notofoe 89fdfc1369 fix: incorrect dom for tg-chan (#5019) 2020-06-22 11:39:13 +08:00
notofoe 053ac47fb7 feat: telegram channel reply metatext (#5000) 2020-06-18 11:37:39 +08:00
fengkx 3b6d3007ae fix: telegram blog (#4990) 2020-06-14 22:06:07 +08:00
notofoe aab9f24f3c feat: /telegram/channel reply, media tag, poll (#4826) 2020-05-22 00:22:27 +08:00
ruleroller 0608670091 fix: 修改 Telegram channel 的条目标题为文本 (#4810) 2020-05-19 00:47:47 +08:00
notofoe 1bbf561221 feat: /telegram/channel fwd_from, multi medi... partly fix #4777 (#4778) 2020-05-18 12:17:27 +08:00
DIYgod 94357fc2d6 feat: remove telegram sticker preview, remove dependence sharp and imgur, close #2199 2019-10-31 16:09:13 +08:00
fengkx 3173e5e216 feat: telegram blog (CHANGELOG) (#3228)
* feat: telegram blog (CHANGELOG)

* docs: update doc
2019-10-12 18:43:28 +08:00
DIYgod 4445443946 feat: use dynamical config 2019-09-18 17:45:21 +08:00
DIYgod 9a3bea3525 feat: remove referrerpolicy in routes 2019-08-28 14:38:19 +08:00
DIYgod 6d4e517b0b feat: lacking config tips, close #2695 2019-08-15 19:27:27 +08:00
Chenyang Shi 7f53d2d0a3 fix: Telegram频道时间顺序 (#2353) 2019-06-10 11:51:37 +08:00
DIYgod a56c0b5a39 refactor: rename axios to got 2019-06-03 18:03:05 +08:00
DIYgod 163a589e20 Merge branch 'master' into feature/got 2019-06-03 17:06:48 +08:00
DIYgod 81622bb3d6 fix: missing img and video in telegram channel 2019-05-17 11:28:58 +08:00