あわわわとーにゅ
695bbf02ca
Merge commit from fork
...
(cherry picked from commit d10fdfe9738b17a9d81037c031b40a2cc4cb8038)
* 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: Julia <julia@insertdomain.name>
Co-authored-by: dakkar <dakkar@thenautilus.net>
2025-05-01 21:29:39 +09:00
あわわわとーにゅ
b3f73d7312
update deps (MisskeyIO#833)
2024-12-19 05:35:13 +09:00
あわわわとーにゅ
fcfd004c38
feat(analytics): Google Analytics・同意モード・一部機能のトラッキング実装 (MisskeyIO#784)
2024-11-06 01:28:14 +09:00
あわわわとーにゅ
ea6b9f40d2
fix(frontend/customemoji): リアクション以外の部分ではフォールバック画像にならないように (MisskeyIO#769)
2024-10-21 09:34:14 +09:00
まっちゃてぃー。
65f0138bd7
enhance(frontend): 絵文字のフォールバック先を文字じゃなくて画像に (MisskeyIO#757)
2024-10-19 23:57:29 +09:00
まっちゃとーにゅ
0f70bf57f3
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-05-23 03:43:16 +09:00
zyoshoka
def7b8c55e
fix(frontend): fix Chromatic test fails ( #13826 )
...
* fix: attempt to fix Chromatic test fails
* chore: add comment
2024-05-18 12:42:26 +09:00
まっちゃとーにゅ
f2743a09e2
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-05-09 00:21:37 +09:00
syuilo
fc77ad9355
refactor(frontend): provide linkNavigationBehavior
2024-05-06 20:37:04 +09:00
まっちゃとーにゅ
1a243d8ae8
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-05-04 12:34:38 +09:00
zyoshoka
9c057e6854
fix(frontend): fix Storybook type errors ( #13779 )
...
* fix(frontend): fix Storybook type errors
* fix: `hasReduce` doesn't work in args
2024-05-01 16:39:16 +09:00
まっちゃとーにゅ
fd696a9621
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-04-29 04:41:23 +09:00
syuilo
e2ff5f58b2
lint
2024-04-28 10:54:20 +09:00
anatawa12
8e8ee2ac73
open links in abuse comment in new window ( #13381 )
...
* feat: changing MkA behavior from MkMFM
* chore: open links in abuse comment in new window
* docs(changelog): 通報のコメント内のリンクをクリックした際、ウィンドウで開くように
* chore: use inject instead of prop drilling
* Revert "chore: use inject instead of prop drilling"
This reverts commit b4dd14eacf59c8079676aa6ab019fece67496d79.
2024-04-27 21:24:39 +09:00
zyoshoka
959cc8ff37
refactor(general): use Date.now()
instead of creating a new Date
instance ( #13671 )
2024-04-07 21:14:13 +09:00
まっちゃとーにゅ
92280818ae
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-03-22 07:58:43 +09:00
まっちゃとーにゅ
01ec286f3f
enhance(frontend): 外部サイトへのリンクは移動の前に警告を表示するように (MisskeyIO#558)
2024-03-22 07:43:59 +09:00
おさむのひと
831c74a25b
fix: URLプレビューの動作改善+動作設定を可能にする ( #13579 )
...
* wip
* support new version
* URLプレビュー無効化時、フロント側も非表示にしてリクエストをしないようにする
* fix lint
* fix lint
* tweak preview request error handles
* fix: CHANGELOG.md
* fix
* fix
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-03-21 18:46:42 +09:00
まっちゃとーにゅ
acab2bfc72
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-03-15 13:09:16 +09:00
zyoshoka
29f6ba6310
chore: add missing SPDX ID and workflow check ( #13570 )
...
* chore: add workflow which checks if SPDX ID exists
* chore: add missing SPDX ID in some files
* chore: change trigger condition
* chore: trigger on push
* lint
2024-03-13 22:37:18 +09:00
anatawa12
6d9c234cb6
fix: URL preview popup for local URL appears in the upper left corner ( #13555 )
2024-03-12 13:50:24 +09:00
かっこかり
c680e35aa0
enhance(frontend): 広告が同一ドメインの場合はRouterで遷移するように ( #13510 )
...
* enhance(frontend): 広告が同一ドメインの場合はRouterで遷移するように
* Update Changelog
* Update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-03-07 16:36:06 +09:00
まっちゃとーにゅ
9e63703d59
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-03-05 15:49:33 +09:00
tamaina
2744cbd310
fix(frontend): MkCustomEmojiでフォールバックをテキストか画像か選べるように
...
fix of #13487
2024-03-02 07:05:17 +00:00
おさむのひと
32690f576f
fix(frontend): ピン留め or 履歴に表示されるカスタム絵文字がサーバから削除されるとリアクションが出来なくなる ( #13486 )
...
* fix(frontend): ピン留めに登録されているカスタム絵文字がサーバから削除されるとリアクションが出来なくなる
* fix CHANGELOG.md
* fix Unicode Emojis
* fix Unicode Emojis
* fix
2024-03-02 13:28:10 +09:00
tamaina
114d3319e8
chore(client): 絵文字の画像読み込みに失敗した際はテキストではなくダミー画像を表示 ( #13487 )
2024-03-02 13:26:21 +09:00
まっちゃとーにゅ
d18e3e9b93
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-02-27 04:08:00 +09:00
zyoshoka
0a0af6887a
test(frontend): Chromaticテストが落ちるのを修正 ( #13448 )
...
* test(frontend): Chromaticテストが落ちるのを修正
* fix: テストケースを修正
* refactor: comment
2024-02-25 18:06:40 +09:00
まっちゃとーにゅ
e4ee9580e3
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-02-25 03:36:45 +09:00
かっこかり
30fe072606
fix(test): Chromaticが落ちているのを一部修正? ( #13435 )
...
* fix(test): Chromaticが落ちているのを修正?
* いらん変更をけす
* 未来過ぎた
2024-02-23 14:13:46 +09:00
まっちゃとーにゅ
50caa3fd5c
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-02-22 06:50:23 +09:00
taiy
860e8bb5d8
fix(frontend/pageMetadata): ページタイトルが更新されない問題 ( #13289 )
...
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-16 16:17:09 +09:00
Acid Chicken (硫酸鶏)
b8800b8b95
build: upgrade Storybook to 8 beta ( #13297 )
...
* chore: upgrade Storybook to 8
* ci: restore Storybook workflow
* build: createRequire
* ci: TurboSnap life extension
2024-02-14 18:48:25 +09:00
tamaina
c1514ce91d
(re) update SPDX-FileCopyrightText
...
Fix #13290
2024-02-13 15:59:27 +00:00
tamaina
311c2172d7
Revert "update SPDX-FileCopyrightText"
...
This reverts commit 9b5aeb76d8
.
2024-02-13 15:50:11 +00:00
まっちゃとーにゅ
e756272c02
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-02-13 02:27:48 +09:00
syuilo
9b5aeb76d8
update SPDX-FileCopyrightText
2024-02-12 11:37:45 +09:00
まっちゃとーにゅ
eda03537ca
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-02-09 03:17:42 +09:00
zyoshoka
5299d17060
test(frontend): migrate MSW in Storybook to v2 ( #13195 )
2024-02-08 13:28:49 +09:00
まっちゃとーにゅ
86405fc0bd
fix code quality issues
2024-02-07 00:36:30 +09:00
まっちゃとーにゅ
52cee46ef6
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-02-06 23:53:35 +09:00
かっこかり
edb39a089d
enhance(frontend): KeepAliveのページキャッシュを削除できるように ( #13180 )
...
* enhance(frontend): 内部のページキャッシュを削除できるように
* Update Changelog
2024-02-06 16:26:03 +09:00
まっちゃとーにゅ
a409eb14d6
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-02-02 21:42:58 +09:00
かっこかり
c38f5ee528
fix(frontend): アバターデコレーションのアニメーションが止まらない ( #13139 )
...
* fix(frontend): アバターデコレーションのアニメーションが止まらない
* Update Changelog
* i -> index
* key
* revert lint fixes
2024-02-02 15:19:23 +09:00
まっちゃとーにゅ
b6f6c3ea18
fix code quality issues
2024-01-31 06:19:16 +09:00
まっちゃとーにゅ
9ffa56aa1b
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-01-31 05:11:03 +09:00
syuilo
8aea3603a6
refactor(frontend): global/router -> router
2024-01-30 21:07:34 +09:00
yukineko
a6a91fec3a
refactor: frontendのcomponentsの型エラーを改善 ( #12926 )
...
* add: safeFloatParserを追加
* fix: 欠けていた型を追加
* refactor: pageBlockTypesをjson-schemaに移植
* refactor: components/global内の型エラーが出ている箇所を修正
* lint: fix null check style
* refactor: fix type error
* refactor: fix some type errors
* fix: 翻訳が抜けていた箇所を修正
* refactor: getJsonSchemaで正しいスキーマが返されるように修正
* fix: MkChartの型エラーとbytesオプションが機能していない問題を修正
* fix(misskey-js): `drive`->`folderUpdated`のpayloadの型が間違っていたのを修正
* refactor: fix some type errors
* change: Captcha読み込み中の文言をLoadingに変更
* refactor(backend/misskey-js): MainEventの型を改善
* refactor: chartjs-plugin-gradientが二重でpluginに登録されていたのを修正
* update: misskey-js.api.md
* refactor: fix some type errors
* fix: backendのtypecheckが落ちていたのを修正
* update: misskey-js.api.md
* add: json-schemaのnoteにpollの型定義を追加
* refactor: noteのjson-schemaの型を改善
* refactor: MkPoll
* refactor: fix some type errors
* change: UserLiteにisLockedを持たせるように
* fix: notificationスキーマにroleが含まれていないのを修正
* Revert "change: UserLiteにisLockedを持たせるように"
This reverts commit 1bb0c8e7a9b19a4e9f21bf7381712b98f27672a5.
* fix: フォロー通知から鍵垢へのフォローを行うと処理中のまま止まってしまう問題を修正
* refactor: noteスキーマのvisibilityにenumを追加
* change: deepCloneのCloneableTypeにundefinedを追加
* refactor: fix some type errors
* refactor: `allowEmpty: false`を使用していた箇所を`minLength: 1`に置き換え
* enhance: API 'retension' のresponseの型を追加
* fix: Chart関連のtooltipが正しい位置に表示されない問題を修正
* refactor: fix some type errors
* fix: 型情報が不足していたのを修正
* enhance: announcementスキーマにenumを追加
* enhance: ロールポリシーの型定義をRoleServiceからjson-schemaに移植
* refactor: policiesを`ref: RolePolicies`に統一
* fix: API `meta` のレスポンスの型にpoliciesが含まれていないのを修正
* refactor: fix some type errors
* fix: backendのlintが落ちているのを修正
* fix: MkFoldableSectionの開閉時のanimationが適用されていない問題を修正
* fix: backendのtypecheckが落ちているのを修正
* update: run build-misskey-js-with-types
* fix: MkDialogのmount時に文字数制限の判定が行われない問題を修正
* update: CHANGELOG.md
* refactor: MkUserSelectDialogの型を改善
* fix: deepCloneでundefinedはcloneしないように (#9207 )
* change: frontendのcloneをbackend側にも反映
* update: CHANGELOG.md
* fix: RoleServiceからPackを通して型RolePoliciesに依存させないように
* Update packages/frontend/src/scripts/get-note-summary.ts
* revert RoleService.ts changes
* change: optional chaining -> non-null assertion
* remove: unused import
* fix: propsで渡されたuserがUserLiteの場合に意図しない動作になってしまうのを修正
* change: fix null check style
* refactor: fix type error
* change: fix null check style
* Update packages/frontend/src/components/MkDrive.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: css moduleでglobalを使わないように
* refactor: roleのiconUrlは必ず存在するものとして扱うように
* enhance: MenuButtonのactiveにcomputedを受け付けられるように
* Update packages/frontend/src/components/MkNotePreview.vue
* Update MkWindow.vue
* refactor: notification.noteは必ず存在するものとして扱うように
* Update packages/frontend/src/components/MkNotification.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix: MkSignupDialogでdoneのemit時にresを含んでいなかったのを修正
* Update packages/frontend/src/scripts/clone.ts
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: 不要な返り値の型を削除
* refactor: 不要なnullチェックを削除
* update: misskey-js-autogen
* update: clone.ts
* refactor
* Update MkNotification.vue
* Update MkNotification.vue
* ✌️
* Update MkNotification.vue
* Update MkNotification.vue
* Update MkNotification.vue
* Update MkNotifications.vue
* Update MkUserSetupDialog.Profile.vue
* Update MkUserCardMini.vue
* ✌️
* Update MkMenu.vue
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-01-30 19:53:53 +09:00
まっちゃとーにゅ
8aa76868b3
Merge remote-tracking branch 'misskey-dev/develop' into io
2024-01-23 04:11:38 +09:00
syuilo
3ff229af6f
enhance(frontend): リファクタリングなど
2024-01-21 20:26:52 +09:00