5856 Commits

Author SHA1 Message Date
Tony 7641e7dd29 fix: logo not showing with ACCESS_KEY (#14722) 2024-03-09 00:09:34 +08:00
Enoch Ma 1762692914 fix(route): show correct author name (AEON) (#14721) 2024-03-08 23:35:33 +08:00
randompasser 21d6841a30 fix(route): migrate pjsk (#14673)
* fix(route): migrate pjsk

* fix(routes): Use esm export

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* feat(route): add radar.ts for pjsk

* refactor: move to proper namespace

---------
2024-03-08 23:25:48 +08:00
怎么学都学不会的何同学 4ebfcf7d4a fix: 修复印记中文周刊rss feat: 为印记中文rss增加分类 (#14720)
* 修复印记中文js周刊rss

* 更新docschina路由和周刊模块

* Update lib/routes/docschina/router.ts

* Update lib/routes/docschina/maintainer.ts

* 移除无用的代码和变量声明

* fix: radar

---------
2024-03-08 22:24:35 +08:00
rkscv feba548c0e fix(route): wenku8 volume (#14682)
* fix(route): wenku8 volume

* fix: add chapter link

---------
2024-03-08 21:41:52 +08:00
Zebartin 33a43d3fe2 fix(route): /pku/scc/recruit (#14713)
* fix(route): /pku/scc/recruit

* refactor: camelCase

---------

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2024-03-08 21:11:45 +08:00
github-actions[bot] 5b772a6894 style: auto format 2024-03-08 04:43:14 +00:00
Silent Wang 495cff5001 feat(route): add qust jw (#14670)
* feat(route): add qust jw

Signed-off-by: silent7wang <wqh1216dyx@qq.com>

* fix(route): use map() instead of each(), add docs in university.mdx

* Update lib/routes/qust/jw.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix(route): Remove redundant logic.

---------

Signed-off-by: silent7wang <wqh1216dyx@qq.com>
2024-03-08 12:41:12 +08:00
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 b00a0a74a0.

* 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