summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkLink.vue (follow)
Commit message (Collapse)AuthorAgeFilesLines
* split url into webUrl and localUrl (like mastodon)Freya Murphy2 days1-2/+2
|
* refactorsyuilo2025-08-261-1/+3
|
* refactorsyuilo2025-08-251-1/+1
|
* refactorsyuilo2025-08-251-3/+3
|
* enhance(frontend): ↵かっこかり2025-05-201-1/+1
| | | | | | | | | | | URLプレビューをユーザーサイドで無効化できるように (#16064) * enhance(frontend): URLプレビューをユーザーサイドで無効化できるように * fix lint * Update Changelog * fix: 設定項目をデータセーバーに移動
* refactor(frontend): use* 関数の格納場所のフォルダ名を ↵かっこかり2025-05-101-1/+1
| | | | | | | | | composables に変更 (#16004) * refactor(frontend): use* 関数の格納場所を正式名称(composables)に変更 * migrate * move useLoading
* Merge commit from forkJulia2025-04-291-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* refactor(frontend): organize use functionssyuilo2025-03-131-1/+1
|
* refactor(frontend): scripts -> utilitysyuilo2025-03-091-1/+1
|
* refactor(frontend): verbatimModuleSyntaxを有効化 (#15323)かっこかり2025-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * revert unnecessary changes * wip * refactor(frontend): enforce verbatimModuleSyntax * fix * refactor(frontend-shared): enforce verbatimModuleSyntax * wip * refactor(frontend-embed): enforce verbatimModuleSyntax * enforce consistent-type-imports * fix lint config * attemt to fix ci * fix lint * fix * fix * fix
* refactor(frontend): frontend-embed/src/to-be-sharedを共通化 (#14536)かっこかり2024-09-101-1/+1
| | | | | | | | | | | | | | | * refactor(frontend): shouldCollapsedを共通化 * refactor(frontend): config.js, worker-multi-dispatch.js, intl-const.jsを共通化 * fix(frontend-shared): fix type error * refactor(frontend): is-link.jsと、同一の振る舞いをする記述を共通化 * fix * fix lint * lint fixes
* refactor(frontend): refactor popup api and make sure call dispose callbacksyuilo2024-07-041-2/+4
| | | | Close #14122
* refactor(frontend): provide linkNavigationBehaviorsyuilo2024-05-061-2/+2
|
* open links in abuse comment in new window (#13381)anatawa122024-04-271-0/+3
| | | | | | | | | | | | | * 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.
* fix: URLプレビューの動作改善+動作設定を可能にする (#13579)おさむのひと2024-03-211-7/+10
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* fix: URL preview popup for local URL appears in the upper left corner (#13555)anatawa122024-03-121-2/+2
|
* (re) update SPDX-FileCopyrightTexttamaina2024-02-131-1/+1
| | | | Fix #13290
* Revert "update SPDX-FileCopyrightText"tamaina2024-02-131-1/+1
| | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
* update SPDX-FileCopyrightTextsyuilo2024-02-121-1/+1
|
* refactor(frontend): Reactivityで型を明示するように (#12791)zyoshoka2023-12-261-1/+1
| | | | | | | * refactor(frontend): Reactivityで型を明示するように * fix: プロパティの参照が誤っているのを修正 * fix: 初期化の値を空配列に書き換えていた部分をnullに置き換え
* enhance(frontend): ↵まっちゃとーにゅ2023-12-081-1/+1
| | | | window.openやaタグにnoopenerオプションをつける (MisskeyIO#283)
* refactor(frontend): 非推奨となったReactivity ↵zyoshoka2023-12-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Transformを使わないように (#12539) * refactor(frontend): 非推奨となったReactivity Transformを使わないように * refactor: 不要な括弧を除去 * fix: 不要なアノテーションを除去 * fix: Refの配列をrefしている部分の対応 * refactor: 不要な括弧を除去 * fix: lint * refactor: Ref、ShallowRef、ComputedRefの変数の宣言をletからconstに置換 * fix: type error * chore: drop reactivity transform from eslint configuration * refactor: remove unnecessary import * fix: 対応漏れ
* refactor(frontend): use ESMsyuilo2023-09-191-3/+3
|
* chore: ↵Shun Sakai2023-07-271-0/+5
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#11348) * chore: Add the SPDX information to each file Add copyright and licensing information as defined in version 3.0 of the REUSE Specification. * tweak format --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: `substr` -> `substring` (#11273)okayurisotto2023-07-141-1/+1
|
* refactor(client): use css modulessyuilo2023-01-101-10/+6
|
* Revert "perf?(client): remove needless scoped annotation for style"syuilo2022-12-271-1/+1
| | | | This reverts commit ada04c1932dd694af1775e562fdcfa2c506454de.
* perf?(client): remove needless scoped annotation for stylesyuilo2022-12-271-1/+1
|
* rename: client -> frontendsyuilo2022-12-271-0/+47