Commit Graph

10884 Commits

Author SHA1 Message Date
Tony 641a8e62fb
fix(route): recover zhuwang (#14674) 2024-03-06 00:48:35 +08:00
Tony c314a56fdc
chore: fix labelling 2024-03-05 15:18:20 +00:00
DIYgod 1b1915edca
fix: custom got response type 2024-03-05 23:04:28 +08:00
TonyRL b360ea9b82 chore: fix eslint on ts 2024-03-05 14:57:51 +00:00
Yufan You ef800a10bb
docs: fix Mastodon config documentation (#14672) 2024-03-05 22:43:11 +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
dependabot[bot] b6b9918c6c
chore(deps): bump hono from 4.0.8 to 4.0.9 (#14655)
* chore(deps): bump hono from 4.0.8 to 4.0.9

Bumps [hono](https://github.com/honojs/hono) from 4.0.8 to 4.0.9.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.0.8...v4.0.9)

---
updated-dependencies:
- dependency-name: hono
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 22:49:33 +00:00
dependabot[bot] a08bd855d2
chore(deps): bump @tonyrl/rand-user-agent from 2.0.52 to 2.0.53 (#14659)
* chore(deps): bump @tonyrl/rand-user-agent from 2.0.52 to 2.0.53

Bumps [@tonyrl/rand-user-agent](https://github.com/TonyRL/rand-user-agent) from 2.0.52 to 2.0.53.
- [Release notes](https://github.com/TonyRL/rand-user-agent/releases)
- [Commits](https://github.com/TonyRL/rand-user-agent/compare/v2.0.52...v2.0.53)

---
updated-dependencies:
- dependency-name: "@tonyrl/rand-user-agent"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 22:48:33 +00:00
dependabot[bot] c95210c3a1
chore(deps-dev): bump @typescript-eslint/parser from 7.1.0 to 7.1.1 (#14658)
* chore(deps-dev): bump @typescript-eslint/parser from 7.1.0 to 7.1.1

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 22:40:23 +00:00
dependabot[bot] 44a900b42c
chore(deps): bump @sentry/node from 7.104.0 to 7.105.0 (#14661)
* chore(deps): bump @sentry/node from 7.104.0 to 7.105.0

Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 7.104.0 to 7.105.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.105.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.104.0...7.105.0)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 21:59:59 +00:00
dependabot[bot] 6d9adcae45
chore(deps): bump winston from 3.11.0 to 3.12.0 (#14657)
* chore(deps): bump winston from 3.11.0 to 3.12.0

Bumps [winston](https://github.com/winstonjs/winston) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/v3.11.0...v3.12.0)

---
updated-dependencies:
- dependency-name: winston
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 21:58:41 +00:00
dependabot[bot] 17452fa23e
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 7.1.0 to 7.1.1 (#14656)
* chore(deps-dev): bump @typescript-eslint/eslint-plugin

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 05:57:38 +08:00
dependabot[bot] 897d4f9720
chore(deps-dev): bump @types/react from 18.2.61 to 18.2.62 in /website (#14660)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.61 to 18.2.62.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 21:23:13 +00:00
Tony 9ae2cbf61b
fix(route): 0818tuan (#14654) 2024-03-05 03:47:12 +08:00
Tony 9e74f84af5
docs: update output format (#14653) 2024-03-05 03:32:25 +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 7e47d387e4
chore: remove unused dependency 2024-03-04 23:19:22 +08:00
github-actions[bot] 52274a077b style: auto format 2024-03-04 15:09:23 +00: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
Vincent Jarvis ae7758191c
docs: Update InstanceList.tsx (#14650)
update friesport's rsshub url.
2024-03-04 22:38:22 +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 ddc0fe4372
docs: add sponsors graph 2024-03-04 04:37:20 +08:00
DIYgod bb127727a1
docs: readme add twitter 2024-03-04 04:27:10 +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
github-actions[bot] 7054e42012 style: auto format 2024-03-03 19:32:11 +00: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 6bfa36f801
docs: js to ts 2024-03-04 02:01:32 +08:00
DIYgod fddea2fdf8
feat: update script 2024-03-04 01:52:36 +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