Commit Graph

5848 Commits

Author SHA1 Message Date
Tony 031b4e8d88
fix(route): recover a9vg (#14710)
docs: rename author #1066
2024-03-08 10:05:44 +08:00
Ethan Shen e95b7ccc40
feat(route): add 中国科学学与科技政策研究会研究会动态 (#14687)
* feat(route): add 中国科学学与科技政策研究会研究会动态

* fix typo

* fix typo

---------
2024-03-08 00:18:50 +08:00
Tony 9445b1f478
fix(route): bloomberg video parsing (#14702) 2024-03-07 13:51:51 +08:00
Tony 7036a996e9
fix(route): coolapk (#14701) 2024-03-07 13:19:01 +08:00
Tony bdc1b91a0b
fix(route): t66y (#14700) 2024-03-07 13:01:52 +08:00
DIYgod 2c8711bf52
Merge remote-tracking branch 'origin/master' into feature/esm-2 2024-03-07 01:24:18 +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 e42ff57cb4
feat: replace require with import 5/n 2024-03-07 00:39:42 +08:00
DIYgod 34d889743b
feat: replace require with import 4/n 2024-03-07 00:15:48 +08:00
DIYgod 935649be9f
feat: replace require with import 2/n 2024-03-06 23:56:33 +08:00
DIYgod 156b58d780
feat: replace require with import 1/n 2024-03-06 23:39:15 +08:00
Tony 0a82e22fb7
fix(route): techflowpost (#14684) 2024-03-06 22:28:13 +08:00
Tony fb1d38590d
fix(route): scmp (#14683) 2024-03-06 22:04:41 +08:00
DIYgod 7a8335ee1e
feat: recover microsoft edge update 2024-03-06 18:30:31 +08:00
DIYgod d3a8747711
feat: recover google chrome extension 2024-03-06 18:17:25 +08:00
DIYgod 066ee90326
test: fix response code 2024-03-06 02:56:08 +08:00
DIYgod c213e479c6
test: fix response code 2024-03-06 02:50:07 +08:00
Tony 1bdef0171b
fix(anti-hotlink): skip base64 image (#14676)
* fix(anti-hotlink): skip base64 image

* test: fix parameter complicated_description
2024-03-06 02:35:30 +08:00
DIYgod 94cf0742af
feat: new error page 2024-03-06 02:33:28 +08:00
Tony 641a8e62fb
fix(route): recover zhuwang (#14674) 2024-03-06 00:48:35 +08:00
DIYgod 1b1915edca
fix: custom got response type 2024-03-05 23:04:28 +08:00
Tony fdf8ff04a5
fix(route): recover f-droid (#14671) 2024-03-05 22:41:42 +08:00
Ethan Shen 8c9c45232f
fix(route): iDaily每日环球视野 (#14652)
* fix(route): iDaily每日环球视野

* fix: js to ts

* fix typo
2024-03-05 21:51:13 +08:00
Yufan You 130b11224e
chore: remove @ts-nocheck (#14669) 2024-03-05 21:06:03 +08:00
Yufan You c039164007
fix: route syntax for hono (#14638)
* fix: use :param{.+} instead of :param+ for hono

* fix: use two separate routes to simulate :param* in hono

It seems that hono does not support this route syntax. We can simulate
it via two separate routes.

See https://github.com/orgs/honojs/discussions/1536

* fix: use {} instead of () for regex in hono

* fix: revert changes to lib/router.js as it's still using koa router

* Revert "fix: use two separate routes to simulate :param* in hono"

This reverts commit b00a0a74a025939d0a59c3f8f7b3b7038c13f715.

* fix: use :param{.+}? to simulate :param*

* feat: add hint about trailing slash in error message
2024-03-05 21:02:41 +08:00
Yufan You a429472311
Merge pull request from GHSA-3p3p-cgj7-vgw3
* fix: SSRF in /m4/:id?/:category*

* fix: allow /mastodon/acct/ to any domain when MASTODON_API_HOST is set

* fix: add missing import for isValidHost
2024-03-05 17:27:51 +08:00
Tony 4c4d68e32b
test(error/index): revert accidental changes from #14664 2024-03-05 15:19:43 +08:00
Tony 6f8a898363
fix(index): wrong error routes count 2024-03-05 15:09:38 +08:00
Tony d17ebe81d0
feat(index): add back hot stats (#14664) 2024-03-05 13:55:39 +08:00
karasu 0f51d2f93a
fix(route): cast (#14651)
* fix(route): cast

* fix(route): 兼容外链及视频页面特殊dom结构

* docs: 补充文档

* fix: use built in re-export

* Update lib/routes/cast/index.ts

* Update lib/routes/cast/index.ts

* Update lib/routes/cast/index.ts

* Update lib/routes/cast/index.ts

* Update lib/routes/cast/index.ts

* update maintainer

---------
2024-03-05 09:27:10 +08:00
Tony 9ae2cbf61b
fix(route): 0818tuan (#14654) 2024-03-05 03:47:12 +08:00
TonyRL eea1607fca fix: add type exports for got 2024-03-04 16:21:13 +00:00
Rongrong 386341e96d
fix(route/weibo/user): remove all pinned weibo if any is too old (#14637)
Signed-off-by: Rongrong <i@rong.moe>
2024-03-05 00:08:41 +08:00
DIYgod d8ca915827
Merge remote-tracking branch 'origin/master' 2024-03-04 23:06:54 +08:00
DIYgod 4d3e5d79c1
feat: remove MEDIA_PROXY_KEY and internal media proxy 2024-03-04 23:06:41 +08:00
Raven-tu be1620074f
feat: expose server URLs in the CLI (#14646)
* feat: expose server URL in the CLI

* style: use arraw function

---------
2024-03-04 22:54:40 +08:00
DIYgod c93541e57c
fix: req param typo 2024-03-04 22:27:09 +08:00
DIYgod 526a1948ec
feat: add configed host to mastodon allow list 2024-03-04 22:21:48 +08:00
DIYgod 1811dc7043
docs: add twitter 2024-03-04 04:25:52 +08:00
DIYgod 64f3b9229b
fix: ssrf 2024-03-04 03:48:06 +08:00
DIYgod f6917aa49e
fix: format 2024-03-04 03:29:29 +08:00
DIYgod 4bbf7d620d
fix: test error 2024-03-04 02:27:13 +08:00
DIYgod 9f69cffb82
fix: test error 2024-03-04 02:12:49 +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 605d29a396
feat: rename js to ts 2024-03-04 01:23:05 +08:00
DIYgod 6beeece94b
Merge remote-tracking branch 'origin/master' into feature/vitest 2024-03-04 01:17:26 +08:00
DIYgod 0cb0a6bd69
feat: rename routes.ts to init-routes.ts 2024-03-04 00:48:04 +08:00
DIYgod a10bafb263
fix: __dirname 2024-03-04 00:46:26 +08:00