Commit Graph

27253 Commits

Author SHA1 Message Date
syuilo 5ac2116449 wip 2025-05-01 21:46:16 +09:00
syuilo 66c3666d0c wip 2025-05-01 20:48:12 +09:00
syuilo 7fe3b4f86c wip 2025-05-01 18:45:17 +09:00
syuilo 1857052b32 wip 2025-05-01 18:27:03 +09:00
syuilo a503bc04a1 Merge branch 'develop' into no-websocket 2025-05-01 18:01:02 +09:00
anatawa12 795b8366b5
Block deliver by software (#15727)
* feat(backend): suspend instance by software

* feat(frontend): suspend instance by software

* docs(chaangelog): 連合先のソフトウェア及びバージョン名により配信停止を行えるようになりました

* chore: 例で使うバージョン名を変える

* fix: broken lockfile

* fix: broken lock file

* fix broken lock file

* update changelog

* fix dependencies

* Update CHANGELOG.md

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-05-01 17:58:34 +09:00
anatawa12 2fcb50273d
Exclude suspended users note from most timelines (#15775)
* feat: exclude notes by suspended user from FTT timeline endpoint

* feat: exclude notes by suspended user from DB based timelines

* chore: fix types

* chore: fix types

* chore: fix non-reply / renote

* chore: fix non-reply / renote

* test: update test

* docs(changelog): 凍結されたユーザのノートが各種タイムラインで表示されないように

* Exclude suspended users note from featured

* fix: join user

* Update CHANGELOG.md

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-05-01 17:56:24 +09:00
syuilo 5b8249ebf6 Merge branch 'develop' into no-websocket 2025-04-30 20:51:49 +09:00
github-actions[bot] 70232d3d73 [skip ci] Update CHANGELOG.md (prepend template) 2025-04-30 09:01:49 +00:00
github-actions[bot] 979cfc1bcd Release: 2025.4.1 2025-04-30 09:01:43 +00:00
syuilo becdb48b97 Update use-note-capture.ts 2025-04-30 15:59:12 +09:00
syuilo afdd14bce1 Update use-note-capture.ts 2025-04-30 09:22:57 +09:00
github-actions[bot] 2bd4faafbc Bump version to 2025.4.1-rc.0 2025-04-30 00:15:24 +00:00
syuilo b952202c66 Update use-note-capture.ts 2025-04-30 09:13:53 +09:00
syuilo 3658e75ff3 wip 2025-04-30 08:56:41 +09:00
syuilo d309ca1244 wip 2025-04-30 07:40:53 +09:00
zyoshoka 81739b1f82
chore: follow up on fixing Chromatic CI diff strategy (#15912) 2025-04-29 21:22:01 +09:00
syuilo 7246f6529f wip 2025-04-29 21:21:11 +09:00
Julia 583df3ec63
Merge commit from fork
none of our endpoints will ever contain `..` (they might, maybe, at
some point, contain `.`, as in `something/get.html`?), so every
`Mk:api()` call to an endpoint that contains `..` can't work: let's
reject it outright

Co-authored-by: dakkar <dakkar@thenautilus.net>
2025-04-29 18:06:39 +09:00
github-actions[bot] 2cd3fbf1a3 Bump version to 2025.4.1-beta.9 2025-04-29 08:58:11 +00:00
syuilo 6b7806a3ae Merge branch 'develop' into no-websocket 2025-04-29 17:53:40 +09:00
syuilo 2acdc50997 Update MkNotifications.vue 2025-04-29 17:52:52 +09:00
syuilo 286492d5eb Update MkNotifications.vue 2025-04-29 17:51:45 +09:00
syuilo 6719342609 Update use-pagination.ts 2025-04-29 17:48:38 +09:00
syuilo f7b243e2f6 wip 2025-04-29 17:46:31 +09:00
syuilo 00b6e29a68 Update use-pagination.ts 2025-04-29 17:43:40 +09:00
syuilo 565b111d7c wip 2025-04-29 17:39:55 +09:00
かっこかり f8b0863b8e
fix(frontend): fix lint (#15906)
* fix(frontend): attempt to fix lint

* fix lint
2025-04-29 15:54:57 +09:00
syuilo 398fc10f5e Update MkTimeline.vue 2025-04-29 15:40:49 +09:00
syuilo c8cc7305b4 Update MkTimeline.vue 2025-04-29 15:35:12 +09:00
syuilo 072d34a32e Update MkTimeline.vue 2025-04-29 15:27:32 +09:00
syuilo 25a4ba935a wip 2025-04-29 15:20:34 +09:00
zyoshoka 41f09fa272
Update CHANGELOG.md 2025-04-29 13:17:01 +09:00
syuilo 6365e30931 wip 2025-04-29 12:39:07 +09:00
syuilo a2230ab658 Update MkTimeline.vue 2025-04-29 12:23:46 +09:00
syuilo f9050e9282 Update MkTimeline.vue 2025-04-29 12:18:25 +09:00
syuilo ccfd0ed0ea wip 2025-04-29 12:16:32 +09:00
syuilo 445e52214a Merge branch 'develop' into no-websocket 2025-04-29 11:20:50 +09:00
syuilo 813b57bbab fix style 2025-04-29 11:20:43 +09:00
syuilo 89e68d3a61 Merge branch 'develop' into no-websocket 2025-04-29 11:05:58 +09:00
syuilo d6ae4c980b feat(frontend): タイトルバーを表示できるように 2025-04-29 09:43:15 +09:00
github-actions[bot] 2e91cd6d45 Bump version to 2025.4.1-beta.8 2025-04-28 23:26:26 +00:00
syuilo 4408d070df
Update CHANGELOG.md 2025-04-29 08:20:48 +09:00
Julia d10fdfe973
Merge commit from fork
* SP-2025-03.1 always wrap icon&thumbnail URLs

if they're not HTTP URLs, the frontend won't be able to display them
anyway (`<img src="mailto:…">` or '<div stile="background-image:
url(nntp:…)">` aren't going to work!), so let's always run them through the
media proxy, which will fail harder (fetching a `javascript:` URL
won't do anything in the backend, might do something in the frontend)
and will always protect the client's address in cases like `gemini:`
where the browser could try to fetch

* SP-2025-03.2 use object binding for more styles

interpolating a random (remote-controlled!) string into a `style`
attribute is a bad idea; using VueJS object binding, we should get
proper quoting and therefore safe parse failures instead of CSS
injections / XSS

* SP-2025-03.3 slightly more robust "self" URL handling

parse URLs instead of treating them as strings; this is still not
perfect, but the `URL` class only handles full URLs, not relative
ones, so there's so way to ask it "give me a URL object that
represents this resource relative to this base URL"

notice that passing very weird URLs to `MkUrl` and `MkUrlPreview` will
break the frontend (in dev mode) because there's an untrapped `new
URL(…)` that may explode; production builds seem to safely ignore the
error, though

---------

Co-authored-by: dakkar <dakkar@thenautilus.net>
2025-04-29 08:15:54 +09:00
syuilo 7407d51df8
New Crowdin updates (#15897)
* New translations ja-jp.yml (Thai)

* New translations ja-jp.yml (Spanish)

* New translations ja-jp.yml (Chinese Traditional)

* New translations ja-jp.yml (English)

* New translations ja-jp.yml (Catalan)

* New translations ja-jp.yml (Vietnamese)

* New translations ja-jp.yml (German)

* New translations ja-jp.yml (Vietnamese)

* New translations ja-jp.yml (Chinese Simplified)
2025-04-29 08:15:29 +09:00
おさむのひと 7e8cc4d7c0
fix: 添付ファイルのあるリクエストを受けたときの初動を改善 (#15896)
* wip

* ロールポリシーの値も参照するように

* エンドポイントのテストを追加

* fix review

* add spdx

* fix CHANGELOG.md

* fix test

* regenerate

* add log

* Revert "add log"

This reverts commit 4b2bf59a60.

* add log

* fix

* Revert "add log"

This reverts commit c5a73d57da.
2025-04-29 08:15:09 +09:00
syuilo e5fcb5b53f enhance(frontend): disable router view transition
Fix #15723
2025-04-28 21:25:47 +09:00
syuilo 8660c5261f wip 2025-04-28 20:27:11 +09:00
syuilo 1b77f0d2b2 Update use-pagination.ts 2025-04-28 20:20:48 +09:00
zyoshoka aaa31c9d64
fix(backend): correct response schema of chat endpoints (#15904) 2025-04-28 18:58:08 +09:00