Commit Graph

5817 Commits

Author SHA1 Message Date
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
DIYgod 8065ededf5
feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00
DIYgod dee7da3105
feat: pure esm and typescript routes 2024-03-04 00:17:16 +08:00
Rongrong 2356305214
fix(route/weibo/user): querystring (#14636)
* fix(route/weibo/user): querystring

Signed-off-by: Rongrong <i@rong.moe>

* Update lib/routes/weibo/user.js

---------

Signed-off-by: Rongrong <i@rong.moe>
2024-03-04 00:14:55 +08:00
Yufan You 30657490ec
fix: use access token for all Mastodon routes (#14634)
* fix: use access token for all Mastodon routes

* fix: only send access token to MASTODON_API_HOST
2024-03-04 00:01:14 +08:00
JimenezLi 6b7b95d1b3
fix(route): 百度贴吧 (#14635) 2024-03-03 23:48:56 +08:00
DIYgod 9fc6361ef7
Revert "fix: test error"
This reverts commit 310180d61f.
2024-03-03 23:19:59 +08:00
DIYgod 310180d61f
fix: test error 2024-03-03 23:11:42 +08:00
cnkmmk 7a93e0c727
feat(route): add 国外主机测评 (#14633) 2024-03-03 23:09:47 +08:00
DIYgod 38e42156a0
feat: replace jest with vitest 2024-03-03 18:57:07 +08:00
DIYgod 3bfdf9427c
feat: new home page 2024-03-03 17:36:08 +08:00
LyleLee 172f6cfd2b
fix(route): fix radio canada by fixing regular expression to match correct data (#14630) 2024-03-03 08:07:03 +00:00
Yufan You cd6f2d982c
fix: use path param with regex for npm package feed (#14626)
* fix: use path param with regex for npm package feed

1.  Don't include query params like `?code` in the package name.
2.  Handle special cases when the org name of the package ends with
    `package`, i.e. the package name is something like `@*package/*`.

* refactor: use map

---------
2024-03-03 14:33:11 +08:00
Tony 2c771aa0f6
fix: sentry import 2024-03-03 06:03:38 +00:00
ygguorun 0d02f04a44
feat(route): add bilibili UP 主点赞视频 (#14596) 2024-03-03 13:56:51 +08:00
Ethan Shen 6a3d132008
feat(route): add 中国国家图书馆读者云平台 (#14620)
* feat(route): add 中国国家图书馆读者云平台

* fix radar

* fix typo
2024-03-03 03:28:25 +08:00
psychosispy 5928c5db24
feat(route): Rewrite the API URL to original URL (#14617)
* feat(route): Rewrite the API URL to original URL

* Update notifications.js

* camelCase
2024-03-03 03:07:01 +08:00
Tony 94cb794993
fix(route): migrate nmc weatheralarm (#14624) 2024-03-02 22:41:47 +08:00
DIYgod 0ab8996f40
feat: remove allowlist and denylist 2024-03-02 21:35:40 +08:00
DIYgod c91c46d888
fix: unclean require 2024-03-02 19:59:27 +08:00
DIYgod 2e5728fd85
feat: unclean routes export 2024-03-02 05:00:59 +08:00
DIYgod c5b37ee8c0
Merge remote-tracking branch 'origin/master' into feature/esm 2024-03-02 04:56:06 +08:00
DIYgod 1b0acc996b
test: import app instead of index 2024-03-02 04:50:51 +08:00
Tony 90d0b33feb
fix(route): gamer ani (#14621) 2024-03-02 04:28:57 +08:00
DIYgod 91e6fe3d1a
feat: remove unclean require in core 2024-03-02 03:50:42 +08:00
DIYgod a2a3e1b58b
feat: remove unclean require in router.js 2024-03-02 03:27:44 +08:00
DIYgod df57bb5d50
feat: esm standard for routes 2024-03-02 03:25:26 +08:00
Tony 8171d927f1
fix(route): migrate tongli (#14618) 2024-03-01 23:57:02 +08:00
DIYgod d88620c39c
feat: update esm dependencies 2024-03-01 22:58:04 +08:00
DIYgod a9de313f41
test: robots.txt response content type 2024-03-01 22:09:43 +08:00
DIYgod ed63b7b220
fix: debug.html response content type 2024-03-01 21:59:31 +08:00
DIYgod 68a99bf4d9
feat: logger middleware 2024-03-01 21:42:51 +08:00