summaryrefslogtreecommitdiff
path: root/packages/frontend/src/widgets/server-metric (follow)
Commit message (Collapse)AuthorAgeFilesLines
* enhance(frontend): ウィジェットの設定項目の多言語対応 (#17032)かっこかり2025-12-301-0/+2
| | | | | | | | | | | | | | | | | * enhance(frontend): ウィジェットの設定項目の多言語対応 * Update Changelog * refactor: move options locale key to root for optimizing artifacts for locale inlining * fix * fix * ✌️ --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* refactor(frontend): Formまわりの型強化 (#16260)かっこかり2025-07-065-10/+10
| | | | | | | | | | | | | | | | | * refactor(frontend): Formまわりの型強化 * fix * avoid non-null assertion and add null check for safety * refactor * avoid non-null assertion and add null check for safety * Update clip.vue --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* refactor(frontend): ID生成処理を統一syuilo2025-06-032-2/+3
|
* enhance(frontend): IDにUUIDを使うのをやめる (#16138)syuilo2025-06-031-5/+5
| | | | | * wip * Update flash-edit.vue
* Merge commit from forkJulia2025-04-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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): scripts -> utilitysyuilo2025-03-091-2/+2
|
* refactor(frontend): verbatimModuleSyntaxを有効化 (#15323)かっこかり2025-02-051-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* fix(frontend): server metrics look strange after reload (#14467)zyoshoka2024-08-302-2/+2
|
* (re) update SPDX-FileCopyrightTexttamaina2024-02-137-7/+7
| | | | Fix #13290
* Revert "update SPDX-FileCopyrightText"tamaina2024-02-137-7/+7
| | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
* update SPDX-FileCopyrightTextsyuilo2024-02-127-7/+7
|
* refactor(frontend): `widgets/server-metric`内の型エラーを除去 (#12937)zyoshoka2024-01-075-20/+19
|
* refactor(frontend): ↵おさむのひと2024-01-041-2/+2
| | | | | | | | | | | | | os.tsに引き込んだscripts/api.tsの再exportをやめる (#12694) * refactor(frontend): os.tsに引き込んだscripts/api.tsの再exportをやめる * fix * fix * renate to "misskeyApi" * rename file
* refactor(frontend): Reactivityで型を明示するように (#12791)zyoshoka2023-12-266-14/+20
| | | | | | | * refactor(frontend): Reactivityで型を明示するように * fix: プロパティの参照が誤っているのを修正 * fix: 初期化の値を空配列に書き換えていた部分をnullに置き換え
* refactor(frontend): import宣言周りのエラーを修正 (#12773)zyoshoka2023-12-241-1/+1
|
* refactor(frontend): 非推奨となったReactivity ↵zyoshoka2023-12-076-78/+78
| | | | | | | | | | | | | | | | | | | | | | | | | 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-194-7/+7
|
* chore: ↵Shun Sakai2023-07-277-0/+35
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#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: 可読性のため一部で`Array.prototype.at`を使うように ↵okayurisotto2023-07-142-8/+8
| | | | | | | (#11274) * refactor: `Array.prototype.at`を使うように * fixup! refactor: `Array.prototype.at`を使うように
* refactor: `substr` -> `substring` (#11273)okayurisotto2023-07-142-2/+2
|
* perf(backend): make some features optionablesyuilo2023-07-021-1/+1
| | | | | Resolve #11064 Resolve #11065
* fix(client): サーバーメトリクスが90度傾いている (#11012)NoriDev2023-06-171-0/+1
|
* lintsyuilo2023-05-291-1/+1
|
* refactorsyuilo2023-05-241-13/+14
|
* refactor(frontend): boot分割したり副作用減らしたりとかsyuilo2023-05-151-2/+2
| | | | #10838
* chore(test): data属性がclassになっているのを修正syuilo2023-03-091-1/+1
|
* refactor: remove all unused imports (#9951)Kagami Sascha Rosylight2023-02-161-2/+2
| | | Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* fix(client): use tabler icons (#9915)taiy2023-02-141-1/+1
|
* Fix widget tests (#9591)Masaya Suzuki2023-01-151-1/+1
|
* refactor(client): use css modulessyuilo2023-01-151-2/+3
|
* Revert "perf?(client): remove needless scoped annotation for style"syuilo2022-12-276-6/+6
| | | | This reverts commit ada04c1932dd694af1775e562fdcfa2c506454de.
* perf?(client): remove needless scoped annotation for stylesyuilo2022-12-276-6/+6
|
* rename: client -> frontendsyuilo2022-12-277-0/+641