Commit graph

30711 commits

Author SHA1 Message Date
かっこかり
cf35208777
fix(frontend-test): Update url-preview.test.ts 2025-02-11 12:49:22 +09:00
かっこかり
d1eddf0d88
fix(frontend): 埋め込みiframeから外部ページに移動できない問題を修正 (#15453)
* fix(frontend): 埋め込みiframeから外部ページに移動できない問題を修正

* Update Changelog
2025-02-11 03:33:15 +00:00
かっこかり
d5ad953c9e
Update CHANGELOG.md (入れる場所が違うのを修正) 2025-02-11 11:23:39 +09:00
lqvp
e339293673
feat: アクセストークン発行時に通知するように (#15422)
* feat: アクセストークン発行時に通知するように (misskey-dev/misskey#13353)

* fix: 不要な翻訳を削除/インデントを揃えるように

* chore(backend): 不要なawaitを削除

* chore: changelogへ追加
2025-02-11 01:15:33 +00:00
おさむのひと
a1ca68aadd
fix(frontend): コンディショナルロールを手動で割り当てできる導線を削除 (#15436)
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-02-11 01:10:05 +00:00
Hazelnoot
5276d6024d merge: Cleanup and bulk fixes to Mastodon API (resolves #495, #509, #707, #714, #721, #804, #811, #865, and partially #492) (!879)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/879

Closes #495, #509, #707, #714, #721, #804, #811, #865, and #492

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-02-10 16:28:32 +00:00
Hazelnoot
2f84d151f5 merge: Allow user-initiated object lookups (/ap/show endpoint) to follow cross-domain redirects (resolves #820) (!878)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/878

Closes #820

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-10 16:22:20 +00:00
Marie
1da9245ca5 merge: hide note preview if it's already quoted - fixes #888 (!894)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/894

Closes #888

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-10 16:20:21 +00:00
Marie
c1d609bf00 merge: make the listen address configurable - fixes #927 (!892)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/892

Closes #927

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-10 16:19:05 +00:00
Marie
816ce293fb merge: search-by-tags returns "home" notes - fixes #933 (!891)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/891

Closes #933

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-10 16:18:06 +00:00
Marie
58ad9b13ab merge: add missing translations for admin perms - fixes #918 (!893)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/893

Closes #918

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-10 16:18:05 +00:00
Marie
61e5eadffa merge: prevent a ReferenceError (!895)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/895

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-10 16:18:00 +00:00
dakkar
b7f06f2877 prevent a ReferenceError
before, we got:

> ReferenceError: can't access lexical declaration 'followRequestDone'
> before initialization

(of course in non-dev mode, `followRequestDone` had a different name)
2025-02-10 11:59:38 +00:00
dakkar
f66e534f26 fix the defaults 2025-02-10 11:54:47 +00:00
dakkar
c6eb1ffde3 hide note preview if it's already quoted - fixes #888
I do not particularly _love_ this solution, but it is simple and
effective

I can't find another reliable way to determine if a link goes to a
local note of the given id, apart from fetching the link
2025-02-10 11:42:10 +00:00
dakkar
43d4835c2f add missing translations for admin perms - fixes #918 2025-02-10 10:48:37 +00:00
Marie
670b1171fb merge: Add ability to generate vapid keys on frontend (!888)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/888

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-02-10 10:47:42 +00:00
dakkar
427d09e643 make the listen address configurable - fixes #927
sadly `fastify.listen` doesn't support passing more than 1 address
2025-02-10 10:40:06 +00:00
dakkar
7b507485b5 search-by-tags returns "home" notes - fixes #933
featured / trending tags count both "home" and "public" notes, so this
should do the same
2025-02-10 10:16:27 +00:00
おさむのひと
420365c17f
enhance(frontend): 開発者モードでメニューからファイルIDをコピー出来るようにする (#15444) 2025-02-10 08:20:38 +00:00
dakkar
9feab58a46 add some missing translations
these will get replaced by whatever upstream's crowdin produces, at
some point in the future
2025-02-09 12:15:42 +00:00
dakkar
4567f243a9 allow overriding logging via env 2025-02-09 12:15:42 +00:00
dakkar
ae862f79fb merge: pin corepack version (!885)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/885

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-02-09 11:26:51 +00:00
zyoshoka
dc608aada0
fix(backend): correct admin/meta response schema (#15434) 2025-02-09 07:17:48 +00:00
Hazelnoot
3cd7cc5900 remove unstable "detector" tests from megalodon 2025-02-09 00:48:44 -05:00
Hazelnoot
7a8abbba6a regenerate misskey-js 2025-02-08 13:19:29 -05:00
Hazelnoot
1126c09669 make convertAttachment match file->attachment schema 2025-02-08 13:17:50 -05:00
Hazelnoot
daf715578e fix mastodon media attachment conversion (resolves #495) 2025-02-08 13:17:50 -05:00
Hazelnoot
1e43162ba7 improve mastodon note conversion and use access checks in more places (resolves #509) 2025-02-08 13:17:50 -05:00
Hazelnoot
3550ce27d5 hide restricted edit history from mastodon api (resolves #811) 2025-02-08 13:17:50 -05:00
Hazelnoot
bd95e8a555 fix relationship data for Mastodon API (resolves #714) 2025-02-08 13:17:50 -05:00
Hazelnoot
5a1d1394d4 add memo and isInstanceMuted to UserRelation API entity 2025-02-08 13:17:47 -05:00
Hazelnoot
02e90e23b7 fix build target for megalodon 2025-02-08 13:17:34 -05:00
Hazelnoot
bbfba495df remove un-needed relationshipModel static data 2025-02-08 13:17:34 -05:00
Hazelnoot
c38f04fe38 fix empty masto-api responses for several endpoints (resolves #721 and #707) 2025-02-08 13:17:34 -05:00
Hazelnoot
16f483d273 cleanup Mastodon API (resolves #804 and #865, partially resolves #492)
* Fix TS errors and warnings
* Fix ESLint errors and warnings
* Fix property typos in various places
* Fix property data conversion
* Add missing entity properties
* Normalize logging and reduce spam
* Check for missing request parameters
* Allow mastodon API to work with local debugging
* Safer error handling
* Fix quote-post detection
2025-02-08 13:17:34 -05:00
Hazelnoot
2c2fb8a692 export logger Data types for reference elsewhere 2025-02-08 13:17:34 -05:00
Hazelnoot
5347bbf154 export megalodon generator in a way that doesn't break TypeScript 2025-02-08 13:17:34 -05:00
Hazelnoot
7e1b4b259a Merge branch 'develop' into merge/2024-02-03
# Conflicts:
#	packages/backend/src/server/ActivityPubServerService.ts
#	pnpm-lock.yaml
2025-02-08 13:16:37 -05:00
Hazelnoot
50a3e55be4 merge: Rework rate limit factors and add caching (resolves #884) (!884)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/884

Closes #884

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-08 15:05:01 +00:00
Esurio/1673beta
231c2c2e54
fix(backend): following/invalidateでフォロワーを解除しようとしているユーザーの情報を返すように (#15430) 2025-02-08 12:51:30 +00:00
taichan
2f8d02024a
feat(frontend): 画像を投稿前にプレビュー可能に (#15341)
* feat(client): 画像をプレビュー可能に

* Update Changelog

* SPDX

* 消えてたのFix

* Add storybook for MkImgPreviewDialog

* backgroundのスタイル変更

Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>

* Add MkImgPreviewDialog to storybook generator

* Update packages/frontend/.storybook/generate.tsx

---------

Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
2025-02-08 08:33:09 +00:00
かっこかり
4b98b446be
enhance(frontend): クライアントエラー画面の多言語対応 (#15411)
* enhance(frontend): クライアントエラー画面のマルチリンガル対応

* Update Changelog

* update message
2025-02-08 08:31:28 +00:00
Esurio/1673beta
026ec40b3b
fix(dev): devcontainerのcorepackのバージョンを指定するように (#15415) 2025-02-08 08:29:51 +00:00
zyoshoka
54fc232a23
fix(backend): use unique operationId in the OpenAPI schema (#15420)
* fix(backend): use unique `operationId` in the OpenAPI schema

* fix: read with UTF-8 encoding
2025-02-08 08:29:24 +00:00
おさむのひと
a3cc865e11
fix(ci): oktetoの導線を削除 (#15427) 2025-02-08 08:28:05 +00:00
zyoshoka
d7b443d1f0
chore: update .swcrc schema link (#15428) 2025-02-08 17:21:32 +09:00
Marie
571861c836 merge: docker: add more packages (!890)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/890

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-02-07 23:47:54 +00:00
Marie
0a6ecec26c add pixman, pango, cairo and libpng to runner 2025-02-07 23:23:16 +00:00
Marie
bfe1cde5ec chore: adjust add command 2025-02-07 22:59:05 +00:00