forked from mirror/misskey
commit
c93ead7474
4
.github/workflows/api-misskey-js.yml
vendored
4
.github/workflows/api-misskey-js.yml
vendored
@ -9,6 +9,10 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- packages/misskey-js/**
|
- packages/misskey-js/**
|
||||||
- .github/workflows/api-misskey-js.yml
|
- .github/workflows/api-misskey-js.yml
|
||||||
|
|
||||||
|
env:
|
||||||
|
COREPACK_DEFAULT_TO_LATEST: 0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
report:
|
report:
|
||||||
|
|
||||||
|
4
.github/workflows/get-api-diff.yml
vendored
4
.github/workflows/get-api-diff.yml
vendored
@ -9,6 +9,10 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- packages/backend/**
|
- packages/backend/**
|
||||||
- .github/workflows/get-api-diff.yml
|
- .github/workflows/get-api-diff.yml
|
||||||
|
|
||||||
|
env:
|
||||||
|
COREPACK_DEFAULT_TO_LATEST: 0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
get-from-misskey:
|
get-from-misskey:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -28,6 +28,10 @@ on:
|
|||||||
- packages/misskey-reversi/**
|
- packages/misskey-reversi/**
|
||||||
- packages/shared/eslint.config.js
|
- packages/shared/eslint.config.js
|
||||||
- .github/workflows/lint.yml
|
- .github/workflows/lint.yml
|
||||||
|
|
||||||
|
env:
|
||||||
|
COREPACK_DEFAULT_TO_LATEST: 0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pnpm_install:
|
pnpm_install:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
4
.github/workflows/locale.yml
vendored
4
.github/workflows/locale.yml
vendored
@ -9,6 +9,10 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- locales/**
|
- locales/**
|
||||||
- .github/workflows/locale.yml
|
- .github/workflows/locale.yml
|
||||||
|
|
||||||
|
env:
|
||||||
|
COREPACK_DEFAULT_TO_LATEST: 0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
locale_verify:
|
locale_verify:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
3
.github/workflows/on-release-created.yml
vendored
3
.github/workflows/on-release-created.yml
vendored
@ -6,6 +6,9 @@ on:
|
|||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
env:
|
||||||
|
COREPACK_DEFAULT_TO_LATEST: 0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-misskey-js:
|
publish-misskey-js:
|
||||||
name: Publish misskey-js
|
name: Publish misskey-js
|
||||||
|
3
.github/workflows/storybook.yml
vendored
3
.github/workflows/storybook.yml
vendored
@ -13,6 +13,9 @@ on:
|
|||||||
# This is a waste of chromatic build quota, so we don't run storybook CI on pull requests targets master.
|
# This is a waste of chromatic build quota, so we don't run storybook CI on pull requests targets master.
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
env:
|
||||||
|
COREPACK_DEFAULT_TO_LATEST: 0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
# chromatic is not likely to be available for fork repositories, so we disable for fork repositories.
|
# chromatic is not likely to be available for fork repositories, so we disable for fork repositories.
|
||||||
|
4
.github/workflows/test-backend.yml
vendored
4
.github/workflows/test-backend.yml
vendored
@ -18,6 +18,10 @@ on:
|
|||||||
- packages/misskey-js/**
|
- packages/misskey-js/**
|
||||||
- .github/workflows/test-backend.yml
|
- .github/workflows/test-backend.yml
|
||||||
- .github/misskey/test.yml
|
- .github/misskey/test.yml
|
||||||
|
|
||||||
|
env:
|
||||||
|
COREPACK_DEFAULT_TO_LATEST: 0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
unit:
|
unit:
|
||||||
name: Unit tests (backend)
|
name: Unit tests (backend)
|
||||||
|
3
.github/workflows/test-federation.yml
vendored
3
.github/workflows/test-federation.yml
vendored
@ -15,6 +15,9 @@ on:
|
|||||||
- packages/misskey-js/**
|
- packages/misskey-js/**
|
||||||
- .github/workflows/test-federation.yml
|
- .github/workflows/test-federation.yml
|
||||||
|
|
||||||
|
env:
|
||||||
|
COREPACK_DEFAULT_TO_LATEST: 0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Federation test
|
name: Federation test
|
||||||
|
4
.github/workflows/test-frontend.yml
vendored
4
.github/workflows/test-frontend.yml
vendored
@ -22,6 +22,10 @@ on:
|
|||||||
- packages/backend/**
|
- packages/backend/**
|
||||||
- .github/workflows/test-frontend.yml
|
- .github/workflows/test-frontend.yml
|
||||||
- .github/misskey/test.yml
|
- .github/misskey/test.yml
|
||||||
|
|
||||||
|
env:
|
||||||
|
COREPACK_DEFAULT_TO_LATEST: 0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
vitest:
|
vitest:
|
||||||
name: Unit tests (frontend)
|
name: Unit tests (frontend)
|
||||||
|
4
.github/workflows/test-misskey-js.yml
vendored
4
.github/workflows/test-misskey-js.yml
vendored
@ -14,6 +14,10 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- packages/misskey-js/**
|
- packages/misskey-js/**
|
||||||
- .github/workflows/test-misskey-js.yml
|
- .github/workflows/test-misskey-js.yml
|
||||||
|
|
||||||
|
env:
|
||||||
|
COREPACK_DEFAULT_TO_LATEST: 0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Unit tests (misskey.js)
|
name: Unit tests (misskey.js)
|
||||||
|
1
.github/workflows/test-production.yml
vendored
1
.github/workflows/test-production.yml
vendored
@ -9,6 +9,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
|
COREPACK_DEFAULT_TO_LATEST: 0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
production:
|
production:
|
||||||
|
4
.github/workflows/validate-api-json.yml
vendored
4
.github/workflows/validate-api-json.yml
vendored
@ -12,6 +12,10 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- packages/backend/**
|
- packages/backend/**
|
||||||
- .github/workflows/validate-api-json.yml
|
- .github/workflows/validate-api-json.yml
|
||||||
|
|
||||||
|
env:
|
||||||
|
COREPACK_DEFAULT_TO_LATEST: 0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validate-api-json:
|
validate-api-json:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
21
CHANGELOG.md
21
CHANGELOG.md
@ -1,3 +1,24 @@
|
|||||||
|
## 2025.2.0
|
||||||
|
|
||||||
|
### General
|
||||||
|
- Fix: Docker のビルドに失敗する問題を修正
|
||||||
|
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/883)
|
||||||
|
|
||||||
|
### Client
|
||||||
|
- Fix: パスキーでパスワードレスログインが出来ない問題を修正
|
||||||
|
- Fix: 一部環境でセンシティブなファイルを含むノートの非表示が効かない問題
|
||||||
|
- Fix: データセーバー有効時にもユーザーページの「ファイル」タブで画像が読み込まれてしまう問題を修正
|
||||||
|
- Fix: MFMの `sparkle` エフェクトが正しく表示されない問題を修正
|
||||||
|
- Fix: ページのURLにスラッシュが含まれている場合にページが正しく表示されない問題を修正
|
||||||
|
- Fix: デッキのプロファイルが新規作成できない問題を修正
|
||||||
|
- Fix: セキュリティに関する修正
|
||||||
|
- ローカライゼーションの更新
|
||||||
|
- Playが実装されたため、ページ機能の「ソースを見る」は削除されました
|
||||||
|
|
||||||
|
### Server
|
||||||
|
- Enhance: ページのURLに使用可能な文字を限定するように
|
||||||
|
- Fix: 個別お知らせページのmetaタグ出力の条件が間違っていたのを修正
|
||||||
|
|
||||||
## 2025.1.0
|
## 2025.1.0
|
||||||
|
|
||||||
### Note
|
### Note
|
||||||
|
@ -6,6 +6,8 @@ ARG NODE_VERSION=22.11.0-bookworm
|
|||||||
|
|
||||||
FROM --platform=$BUILDPLATFORM node:${NODE_VERSION} AS native-builder
|
FROM --platform=$BUILDPLATFORM node:${NODE_VERSION} AS native-builder
|
||||||
|
|
||||||
|
ENV COREPACK_DEFAULT_TO_LATEST=0
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||||
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
||||||
rm -f /etc/apt/apt.conf.d/docker-clean \
|
rm -f /etc/apt/apt.conf.d/docker-clean \
|
||||||
@ -44,6 +46,8 @@ RUN rm -rf .git/
|
|||||||
|
|
||||||
FROM --platform=$TARGETPLATFORM node:${NODE_VERSION} AS target-builder
|
FROM --platform=$TARGETPLATFORM node:${NODE_VERSION} AS target-builder
|
||||||
|
|
||||||
|
ENV COREPACK_DEFAULT_TO_LATEST=0
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -yqq --no-install-recommends \
|
&& apt-get install -yqq --no-install-recommends \
|
||||||
build-essential
|
build-essential
|
||||||
@ -68,6 +72,7 @@ FROM --platform=$TARGETPLATFORM node:${NODE_VERSION}-slim AS runner
|
|||||||
|
|
||||||
ARG UID="991"
|
ARG UID="991"
|
||||||
ARG GID="991"
|
ARG GID="991"
|
||||||
|
ENV COREPACK_DEFAULT_TO_LATEST=0
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
|
@ -7,6 +7,11 @@ bug report to the GitHub repository.
|
|||||||
|
|
||||||
Thanks for helping make Misskey safe for everyone.
|
Thanks for helping make Misskey safe for everyone.
|
||||||
|
|
||||||
|
> [!note]
|
||||||
|
> CNA [requires](https://www.cve.org/ResourcesSupport/AllResources/CNARules#section_5-2_Description) that CVEs include a description in English for inclusion in the CVE Catalog.
|
||||||
|
>
|
||||||
|
> When creating a security advisory, all content must be written in English (it is acceptable to include a non-English description along with the English one).
|
||||||
|
|
||||||
## When create a patch
|
## When create a patch
|
||||||
|
|
||||||
If you can also create a patch to fix the vulnerability, please create a PR on the private fork.
|
If you can also create a patch to fix the vulnerability, please create a PR on the private fork.
|
||||||
|
@ -1460,9 +1460,6 @@ _pages:
|
|||||||
newPage: "أنشئ صفحة جديدة"
|
newPage: "أنشئ صفحة جديدة"
|
||||||
editPage: "عدّل الصفحة"
|
editPage: "عدّل الصفحة"
|
||||||
readPage: "نُشّط عرض المصدر"
|
readPage: "نُشّط عرض المصدر"
|
||||||
created: "نجح إنشاء الصفحة"
|
|
||||||
updated: "نجح تعديل الصفحة"
|
|
||||||
deleted: "نجح حذف الصفحة"
|
|
||||||
pageSetting: "إعدادات الصفحة"
|
pageSetting: "إعدادات الصفحة"
|
||||||
nameAlreadyExists: "رابط الصفحة موجود مسبقًا"
|
nameAlreadyExists: "رابط الصفحة موجود مسبقًا"
|
||||||
invalidNameTitle: "رابط الصفحة ليس صالحًا"
|
invalidNameTitle: "رابط الصفحة ليس صالحًا"
|
||||||
|
@ -1237,9 +1237,6 @@ _pages:
|
|||||||
newPage: "নতুন পৃষ্ঠা বানান"
|
newPage: "নতুন পৃষ্ঠা বানান"
|
||||||
editPage: "পৃষ্ঠাটি সম্পাদনা করুন"
|
editPage: "পৃষ্ঠাটি সম্পাদনা করুন"
|
||||||
readPage: "উৎস দেখছেন"
|
readPage: "উৎস দেখছেন"
|
||||||
created: "পৃষ্ঠা তৈরি করা হয়েছে"
|
|
||||||
updated: "পৃষ্ঠা সম্পাদনা করা হয়েছে"
|
|
||||||
deleted: "পৃষ্ঠা মুছে ফেলা হয়েছে"
|
|
||||||
pageSetting: "পৃষ্ঠার সেটিংস"
|
pageSetting: "পৃষ্ঠার সেটিংস"
|
||||||
nameAlreadyExists: "পৃষ্ঠার URLটি ইতিমধ্যেই ব্যাবহার করা হয়েছে"
|
nameAlreadyExists: "পৃষ্ঠার URLটি ইতিমধ্যেই ব্যাবহার করা হয়েছে"
|
||||||
invalidNameTitle: "পৃষ্ঠার URL অবৈধ"
|
invalidNameTitle: "পৃষ্ঠার URL অবৈধ"
|
||||||
|
@ -2365,9 +2365,6 @@ _pages:
|
|||||||
newPage: "pa"
|
newPage: "pa"
|
||||||
editPage: "Editar la pàgina"
|
editPage: "Editar la pàgina"
|
||||||
readPage: "Veure el codi font d'aquesta pàgina"
|
readPage: "Veure el codi font d'aquesta pàgina"
|
||||||
created: "La pàgina ha sigut creada correctament"
|
|
||||||
updated: "La pàgina s'ha editat correctament"
|
|
||||||
deleted: "La pàgina s'ha esborrat sense problemes"
|
|
||||||
pageSetting: "Configuració de la pàgina"
|
pageSetting: "Configuració de la pàgina"
|
||||||
nameAlreadyExists: "L'adreça URL de la pàgina ja existeix"
|
nameAlreadyExists: "L'adreça URL de la pàgina ja existeix"
|
||||||
invalidNameTitle: "L'adreça URL de la pàgina no és vàlida"
|
invalidNameTitle: "L'adreça URL de la pàgina no és vàlida"
|
||||||
|
@ -1883,9 +1883,6 @@ _pages:
|
|||||||
newPage: "Vytvořit novou stránku"
|
newPage: "Vytvořit novou stránku"
|
||||||
editPage: "Upravit stránku"
|
editPage: "Upravit stránku"
|
||||||
readPage: "Prohlížení zdroje této stránky"
|
readPage: "Prohlížení zdroje této stránky"
|
||||||
created: "Stránka byla úspěšně vytvořena"
|
|
||||||
updated: "Stránka byla úspěšně aktualizována"
|
|
||||||
deleted: "Stránka byla úspěšně smazána"
|
|
||||||
pageSetting: "Nastavení stránky"
|
pageSetting: "Nastavení stránky"
|
||||||
nameAlreadyExists: "Zadaná adresa URL stránky již existuje"
|
nameAlreadyExists: "Zadaná adresa URL stránky již existuje"
|
||||||
invalidNameTitle: "Zadaná adresa URL stránky je neplatná"
|
invalidNameTitle: "Zadaná adresa URL stránky je neplatná"
|
||||||
|
@ -5,6 +5,7 @@ introMisskey: "Willkommen! Misskey ist eine dezentralisierte Open-Source Microbl
|
|||||||
poweredByMisskeyDescription: "{name} ist einer der durch die Open-Source-Plattform <b>Misskey</b> betriebenen Dienste."
|
poweredByMisskeyDescription: "{name} ist einer der durch die Open-Source-Plattform <b>Misskey</b> betriebenen Dienste."
|
||||||
monthAndDay: "{day}.{month}."
|
monthAndDay: "{day}.{month}."
|
||||||
search: "Suchen"
|
search: "Suchen"
|
||||||
|
reset: "Zurücksetzen"
|
||||||
notifications: "Benachrichtigungen"
|
notifications: "Benachrichtigungen"
|
||||||
username: "Benutzername"
|
username: "Benutzername"
|
||||||
password: "Passwort"
|
password: "Passwort"
|
||||||
@ -48,6 +49,7 @@ pin: "An dein Profil anheften"
|
|||||||
unpin: "Von deinem Profil lösen"
|
unpin: "Von deinem Profil lösen"
|
||||||
copyContent: "Inhalt kopieren"
|
copyContent: "Inhalt kopieren"
|
||||||
copyLink: "Link kopieren"
|
copyLink: "Link kopieren"
|
||||||
|
copyRemoteLink: "Renote-Link kopieren"
|
||||||
copyLinkRenote: "Renote-Link kopieren"
|
copyLinkRenote: "Renote-Link kopieren"
|
||||||
delete: "Löschen"
|
delete: "Löschen"
|
||||||
deleteAndEdit: "Löschen und Bearbeiten"
|
deleteAndEdit: "Löschen und Bearbeiten"
|
||||||
@ -517,6 +519,7 @@ emojiStyle: "Emoji-Stil"
|
|||||||
native: "Nativ"
|
native: "Nativ"
|
||||||
menuStyle: "Menü Stil"
|
menuStyle: "Menü Stil"
|
||||||
style: "Stil"
|
style: "Stil"
|
||||||
|
drawer: "App-Übersicht"
|
||||||
popup: "Pop-up"
|
popup: "Pop-up"
|
||||||
showNoteActionsOnlyHover: "Notizmenü nur bei Mouseover anzeigen"
|
showNoteActionsOnlyHover: "Notizmenü nur bei Mouseover anzeigen"
|
||||||
showReactionsCount: "Zeige die Anzahl der Reaktionen auf Notizen an"
|
showReactionsCount: "Zeige die Anzahl der Reaktionen auf Notizen an"
|
||||||
@ -691,6 +694,7 @@ regexpError: "Fehler in einem regulären Ausdruck"
|
|||||||
regexpErrorDescription: "Im regulären Ausdruck deiner in Zeile {line} von {tab}en Wortstummschaltungen ist ein Fehler aufgetreten:"
|
regexpErrorDescription: "Im regulären Ausdruck deiner in Zeile {line} von {tab}en Wortstummschaltungen ist ein Fehler aufgetreten:"
|
||||||
instanceMute: "Instanzstummschaltungen"
|
instanceMute: "Instanzstummschaltungen"
|
||||||
userSaysSomething: "{name} hat etwas gesagt"
|
userSaysSomething: "{name} hat etwas gesagt"
|
||||||
|
userSaysSomethingAbout: "{name} sagt etwas über '{word}'"
|
||||||
makeActive: "Aktivieren"
|
makeActive: "Aktivieren"
|
||||||
display: "Anzeigeart"
|
display: "Anzeigeart"
|
||||||
copy: "Kopieren"
|
copy: "Kopieren"
|
||||||
@ -859,6 +863,7 @@ administration: "Verwaltung"
|
|||||||
accounts: "Benutzerkonten"
|
accounts: "Benutzerkonten"
|
||||||
switch: "Wechseln"
|
switch: "Wechseln"
|
||||||
noMaintainerInformationWarning: "Betreiberinformationen sind nicht konfiguriert."
|
noMaintainerInformationWarning: "Betreiberinformationen sind nicht konfiguriert."
|
||||||
|
noInquiryUrlWarning: "Keine gültige URL."
|
||||||
noBotProtectionWarning: "Schutz vor Bots ist nicht konfiguriert."
|
noBotProtectionWarning: "Schutz vor Bots ist nicht konfiguriert."
|
||||||
configure: "Konfigurieren"
|
configure: "Konfigurieren"
|
||||||
postToGallery: "Neuen Galeriebeitrag erstellen"
|
postToGallery: "Neuen Galeriebeitrag erstellen"
|
||||||
@ -1091,6 +1096,7 @@ retryAllQueuesConfirmTitle: "Wirklich erneut versuchen?"
|
|||||||
retryAllQueuesConfirmText: "Dies wird zu einer temporären Erhöhung der Serverlast führen."
|
retryAllQueuesConfirmText: "Dies wird zu einer temporären Erhöhung der Serverlast führen."
|
||||||
enableChartsForRemoteUser: "Diagramme für Nutzer fremder Instanzen erstellen"
|
enableChartsForRemoteUser: "Diagramme für Nutzer fremder Instanzen erstellen"
|
||||||
enableChartsForFederatedInstances: "Diagramme für fremde Instanzen erstellen"
|
enableChartsForFederatedInstances: "Diagramme für fremde Instanzen erstellen"
|
||||||
|
enableStatsForFederatedInstances: "Abruf von Informationen über förderierte Server"
|
||||||
showClipButtonInNoteFooter: "\"Clip\" zum Notizmenu hinzufügen"
|
showClipButtonInNoteFooter: "\"Clip\" zum Notizmenu hinzufügen"
|
||||||
reactionsDisplaySize: "Reaktionsanzeigegröße"
|
reactionsDisplaySize: "Reaktionsanzeigegröße"
|
||||||
limitWidthOfReaction: "Begrenze die Breite der Reaktion und zeige sie verkleinert an"
|
limitWidthOfReaction: "Begrenze die Breite der Reaktion und zeige sie verkleinert an"
|
||||||
@ -1139,6 +1145,8 @@ preventAiLearningDescription: "Fordert Crawler auf, gepostetes Text- oder Bildma
|
|||||||
options: "Optionen"
|
options: "Optionen"
|
||||||
specifyUser: "Spezifischer Benutzer"
|
specifyUser: "Spezifischer Benutzer"
|
||||||
lookupConfirm: "Zustimmen?"
|
lookupConfirm: "Zustimmen?"
|
||||||
|
openTagPageConfirm: "Hashtag Seite wirklich öffnen?"
|
||||||
|
specifyHost: "Host"
|
||||||
failedToPreviewUrl: "Vorschau nicht anzeigbar"
|
failedToPreviewUrl: "Vorschau nicht anzeigbar"
|
||||||
update: "Aktualisieren"
|
update: "Aktualisieren"
|
||||||
rolesThatCanBeUsedThisEmojiAsReaction: "Rollen, die dieses Emoji als Reaktion verwenden können"
|
rolesThatCanBeUsedThisEmojiAsReaction: "Rollen, die dieses Emoji als Reaktion verwenden können"
|
||||||
@ -1197,6 +1205,7 @@ showRenotes: "Renotes anzeigen"
|
|||||||
edited: "Bearbeitet"
|
edited: "Bearbeitet"
|
||||||
notificationRecieveConfig: "Benachrichtigungseinstellungen"
|
notificationRecieveConfig: "Benachrichtigungseinstellungen"
|
||||||
mutualFollow: "Gegenseitig gefolgt"
|
mutualFollow: "Gegenseitig gefolgt"
|
||||||
|
followingOrFollower: "Follow oder Follower"
|
||||||
fileAttachedOnly: "Nur Notizen mit Dateien"
|
fileAttachedOnly: "Nur Notizen mit Dateien"
|
||||||
showRepliesToOthersInTimeline: "Antworten in Chronik anzeigen"
|
showRepliesToOthersInTimeline: "Antworten in Chronik anzeigen"
|
||||||
hideRepliesToOthersInTimeline: "Antworten nicht in Chronik anzeigen"
|
hideRepliesToOthersInTimeline: "Antworten nicht in Chronik anzeigen"
|
||||||
@ -2268,9 +2277,6 @@ _pages:
|
|||||||
newPage: "Seite erstellen"
|
newPage: "Seite erstellen"
|
||||||
editPage: "Seite bearbeiten"
|
editPage: "Seite bearbeiten"
|
||||||
readPage: "Quelltextansicht"
|
readPage: "Quelltextansicht"
|
||||||
created: "Seite erfolgreich erstellt"
|
|
||||||
updated: "Seite erfolgreich aktualisiert"
|
|
||||||
deleted: "Seite erfolgreich gelöscht"
|
|
||||||
pageSetting: "Seiteneinstellungen"
|
pageSetting: "Seiteneinstellungen"
|
||||||
nameAlreadyExists: "Die angegebene Seiten-URL existiert bereits"
|
nameAlreadyExists: "Die angegebene Seiten-URL existiert bereits"
|
||||||
invalidNameTitle: "Die angegebene Seiten-URL ist ungültig"
|
invalidNameTitle: "Die angegebene Seiten-URL ist ungültig"
|
||||||
|
@ -2365,9 +2365,6 @@ _pages:
|
|||||||
newPage: "Create a new Page"
|
newPage: "Create a new Page"
|
||||||
editPage: "Edit this Page"
|
editPage: "Edit this Page"
|
||||||
readPage: "Viewing this Page's source"
|
readPage: "Viewing this Page's source"
|
||||||
created: "Page successfully created"
|
|
||||||
updated: "Page successfully edited"
|
|
||||||
deleted: "Page successfully deleted"
|
|
||||||
pageSetting: "Page settings"
|
pageSetting: "Page settings"
|
||||||
nameAlreadyExists: "The specified Page URL already exists"
|
nameAlreadyExists: "The specified Page URL already exists"
|
||||||
invalidNameTitle: "The specified Page URL is invalid"
|
invalidNameTitle: "The specified Page URL is invalid"
|
||||||
@ -2745,6 +2742,7 @@ _customEmojisManager:
|
|||||||
deleteSelectionRanges: "Delete rows in the selection"
|
deleteSelectionRanges: "Delete rows in the selection"
|
||||||
searchSettings: "Search settings"
|
searchSettings: "Search settings"
|
||||||
searchSettingCaption: "Set detailed search criteria."
|
searchSettingCaption: "Set detailed search criteria."
|
||||||
|
searchLimit: ""
|
||||||
sortOrder: "Sort order"
|
sortOrder: "Sort order"
|
||||||
registrationLogs: "Registration log"
|
registrationLogs: "Registration log"
|
||||||
registrationLogsCaption: "Logs will be displayed when updating or deleting Emojis. They will disappear after updating or deleting them, moving to a new page, or reloading."
|
registrationLogsCaption: "Logs will be displayed when updating or deleting Emojis. They will disappear after updating or deleting them, moving to a new page, or reloading."
|
||||||
@ -2769,8 +2767,12 @@ _customEmojisManager:
|
|||||||
markAsDeleteTargetRanges: "Mark rows in the selection as a target to delete"
|
markAsDeleteTargetRanges: "Mark rows in the selection as a target to delete"
|
||||||
alertUpdateEmojisNothingDescription: "There are no updated Emojis."
|
alertUpdateEmojisNothingDescription: "There are no updated Emojis."
|
||||||
alertDeleteEmojisNothingDescription: "There are no Emojis to be deleted."
|
alertDeleteEmojisNothingDescription: "There are no Emojis to be deleted."
|
||||||
|
confirmMovePage: ""
|
||||||
|
confirmChangeView: ""
|
||||||
confirmUpdateEmojisDescription: "Update {count} Emoji(s). Are you sure to continue?"
|
confirmUpdateEmojisDescription: "Update {count} Emoji(s). Are you sure to continue?"
|
||||||
confirmDeleteEmojisDescription: "Delete checked {count} Emoji(s). Are you sure to continue?"
|
confirmDeleteEmojisDescription: "Delete checked {count} Emoji(s). Are you sure to continue?"
|
||||||
|
confirmResetDescription: ""
|
||||||
|
confirmMovePageDesciption: "Changes have been made to the Emojis on this page.\nIf you leave the page without saving, all changes made on this page will be discarded."
|
||||||
dialogSelectRoleTitle: "Search by roll set in Emojis"
|
dialogSelectRoleTitle: "Search by roll set in Emojis"
|
||||||
_register:
|
_register:
|
||||||
uploadSettingTitle: "Upload settings"
|
uploadSettingTitle: "Upload settings"
|
||||||
|
@ -5,6 +5,7 @@ introMisskey: "¡Bienvenido/a! Misskey es un servicio de microblogging descentra
|
|||||||
poweredByMisskeyDescription: "{name} es uno de los servicios (también llamado instancia) que usa la plataforma de código abierto <b>Misskey</b>"
|
poweredByMisskeyDescription: "{name} es uno de los servicios (también llamado instancia) que usa la plataforma de código abierto <b>Misskey</b>"
|
||||||
monthAndDay: "{day}/{month}"
|
monthAndDay: "{day}/{month}"
|
||||||
search: "Buscar"
|
search: "Buscar"
|
||||||
|
reset: "Reiniciar"
|
||||||
notifications: "Notificaciones"
|
notifications: "Notificaciones"
|
||||||
username: "Nombre de usuario"
|
username: "Nombre de usuario"
|
||||||
password: "Contraseña"
|
password: "Contraseña"
|
||||||
@ -518,6 +519,7 @@ emojiStyle: "Estilo de emoji"
|
|||||||
native: "Nativo"
|
native: "Nativo"
|
||||||
menuStyle: "Diseño del menú"
|
menuStyle: "Diseño del menú"
|
||||||
style: "Diseño"
|
style: "Diseño"
|
||||||
|
drawer: "Cajón de Aplicaciones"
|
||||||
popup: "Ventana emergente"
|
popup: "Ventana emergente"
|
||||||
showNoteActionsOnlyHover: "Mostrar acciones de la nota sólo al pasar el cursor"
|
showNoteActionsOnlyHover: "Mostrar acciones de la nota sólo al pasar el cursor"
|
||||||
showReactionsCount: "Mostrar el número de reacciones en las notas"
|
showReactionsCount: "Mostrar el número de reacciones en las notas"
|
||||||
@ -683,7 +685,10 @@ smtpSecure: "Usar SSL/TLS implícito en la conexión SMTP"
|
|||||||
smtpSecureInfo: "Apagar cuando se use STARTTLS"
|
smtpSecureInfo: "Apagar cuando se use STARTTLS"
|
||||||
testEmail: "Prueba de envío"
|
testEmail: "Prueba de envío"
|
||||||
wordMute: "Silenciar palabras"
|
wordMute: "Silenciar palabras"
|
||||||
|
wordMuteDescription: "Minimiza las notas que contienen la palabra o frase especificada. Las notas minimizadas pueden visualizarse haciendo clic sobre ellas."
|
||||||
hardWordMute: "Filtro de palabra fuerte"
|
hardWordMute: "Filtro de palabra fuerte"
|
||||||
|
showMutedWord: "Mostrar palabras silenciadas."
|
||||||
|
hardWordMuteDescription: "Oculta las notas que contienen la palabra o frase especificada. A diferencia de Silenciar palabra, la nota quedará completamente oculta a la vista."
|
||||||
regexpError: "Error de la expresión regular"
|
regexpError: "Error de la expresión regular"
|
||||||
regexpErrorDescription: "Ocurrió un error en la expresión regular en la linea {line} de las palabras muteadas {tab}"
|
regexpErrorDescription: "Ocurrió un error en la expresión regular en la linea {line} de las palabras muteadas {tab}"
|
||||||
instanceMute: "Instancias silenciadas"
|
instanceMute: "Instancias silenciadas"
|
||||||
@ -1134,6 +1139,7 @@ preventAiLearningDescription: "Pedirle a las arañas (crawlers) no usar los text
|
|||||||
options: "Opción"
|
options: "Opción"
|
||||||
specifyUser: "Especificar usuario"
|
specifyUser: "Especificar usuario"
|
||||||
lookupConfirm: "¿Quiere informarse?"
|
lookupConfirm: "¿Quiere informarse?"
|
||||||
|
specifyHost: "Especificar Host"
|
||||||
failedToPreviewUrl: "No se pudo generar la vista previa"
|
failedToPreviewUrl: "No se pudo generar la vista previa"
|
||||||
update: "Actualizar"
|
update: "Actualizar"
|
||||||
rolesThatCanBeUsedThisEmojiAsReaction: "Roles que pueden usar este emoji como reacción"
|
rolesThatCanBeUsedThisEmojiAsReaction: "Roles que pueden usar este emoji como reacción"
|
||||||
@ -2288,9 +2294,6 @@ _pages:
|
|||||||
newPage: "Crear página"
|
newPage: "Crear página"
|
||||||
editPage: "Editar página"
|
editPage: "Editar página"
|
||||||
readPage: "Viendo la fuente"
|
readPage: "Viendo la fuente"
|
||||||
created: "La página fue creada"
|
|
||||||
updated: "La página fue actualizada"
|
|
||||||
deleted: "La página borrada"
|
|
||||||
pageSetting: "Configurar página"
|
pageSetting: "Configurar página"
|
||||||
nameAlreadyExists: "La URL de la página especificada ya existe"
|
nameAlreadyExists: "La URL de la página especificada ya existe"
|
||||||
invalidNameTitle: "URL inválida"
|
invalidNameTitle: "URL inválida"
|
||||||
|
@ -2118,9 +2118,6 @@ _pages:
|
|||||||
newPage: "Créer une page"
|
newPage: "Créer une page"
|
||||||
editPage: "Modifier une page"
|
editPage: "Modifier une page"
|
||||||
readPage: "Affichage de la source en cours"
|
readPage: "Affichage de la source en cours"
|
||||||
created: "La page a été créée !"
|
|
||||||
updated: "La page a été mise à jour !"
|
|
||||||
deleted: "La page a été supprimée"
|
|
||||||
pageSetting: "Paramètres de la Page"
|
pageSetting: "Paramètres de la Page"
|
||||||
nameAlreadyExists: "L'URL de page spécifiée existe déjà"
|
nameAlreadyExists: "L'URL de page spécifiée existe déjà"
|
||||||
invalidNameTitle: "L'URL de page spécifiée n’est pas valide"
|
invalidNameTitle: "L'URL de page spécifiée n’est pas valide"
|
||||||
|
@ -2285,9 +2285,6 @@ _pages:
|
|||||||
newPage: "Buat halaman baru"
|
newPage: "Buat halaman baru"
|
||||||
editPage: "Sunting halaman"
|
editPage: "Sunting halaman"
|
||||||
readPage: "Lihat sumber kode aktif"
|
readPage: "Lihat sumber kode aktif"
|
||||||
created: "Halaman berhasil dibuat"
|
|
||||||
updated: "Halaman berhasil diperbaharui!"
|
|
||||||
deleted: "Halaman telah dihapus"
|
|
||||||
pageSetting: "Pengaturan Halaman"
|
pageSetting: "Pengaturan Halaman"
|
||||||
nameAlreadyExists: "URL Halaman yang ditentukan sudah ada"
|
nameAlreadyExists: "URL Halaman yang ditentukan sudah ada"
|
||||||
invalidNameTitle: "URL Halaman yang ditentukan tidak valid"
|
invalidNameTitle: "URL Halaman yang ditentukan tidak valid"
|
||||||
|
14
locales/index.d.ts
vendored
14
locales/index.d.ts
vendored
@ -4195,7 +4195,7 @@ export interface Locale extends ILocale {
|
|||||||
*/
|
*/
|
||||||
"invalidParamError": string;
|
"invalidParamError": string;
|
||||||
/**
|
/**
|
||||||
* リクエストパラメータに問題があります。通常これはバグですが、入力した文字数が多すぎる等の可能性もあります。
|
* リクエストパラメータに問題があります。通常これはバグですが、入力した文字数が多すぎる・許可されていない文字を入力している等の可能性もあります。
|
||||||
*/
|
*/
|
||||||
"invalidParamErrorDescription": string;
|
"invalidParamErrorDescription": string;
|
||||||
/**
|
/**
|
||||||
@ -9180,18 +9180,6 @@ export interface Locale extends ILocale {
|
|||||||
* ソースを表示中
|
* ソースを表示中
|
||||||
*/
|
*/
|
||||||
"readPage": string;
|
"readPage": string;
|
||||||
/**
|
|
||||||
* ページを作成しました
|
|
||||||
*/
|
|
||||||
"created": string;
|
|
||||||
/**
|
|
||||||
* ページを更新しました
|
|
||||||
*/
|
|
||||||
"updated": string;
|
|
||||||
/**
|
|
||||||
* ページを削除しました
|
|
||||||
*/
|
|
||||||
"deleted": string;
|
|
||||||
/**
|
/**
|
||||||
* ページ設定
|
* ページ設定
|
||||||
*/
|
*/
|
||||||
|
@ -107,7 +107,7 @@ makeFollowManuallyApprove: "Approva i follower manualmente"
|
|||||||
defaultNoteVisibility: "Privacy predefinita delle note"
|
defaultNoteVisibility: "Privacy predefinita delle note"
|
||||||
follow: "Segui"
|
follow: "Segui"
|
||||||
followRequest: "Richiesta di follow"
|
followRequest: "Richiesta di follow"
|
||||||
followRequests: "Richieste di follow"
|
followRequests: "Relazioni"
|
||||||
unfollow: "Togli Following"
|
unfollow: "Togli Following"
|
||||||
followRequestPending: "Richiesta in approvazione"
|
followRequestPending: "Richiesta in approvazione"
|
||||||
enterEmoji: "Inserisci emoji"
|
enterEmoji: "Inserisci emoji"
|
||||||
@ -537,7 +537,7 @@ regenerate: "Generare di nuovo"
|
|||||||
fontSize: "Dimensione carattere"
|
fontSize: "Dimensione carattere"
|
||||||
mediaListWithOneImageAppearance: "Altezza dell'elenco media con una sola immagine "
|
mediaListWithOneImageAppearance: "Altezza dell'elenco media con una sola immagine "
|
||||||
limitTo: "Limita a {x}"
|
limitTo: "Limita a {x}"
|
||||||
noFollowRequests: "Non hai alcuna richiesta di follow"
|
noFollowRequests: "Non ci sono richieste di relazione"
|
||||||
openImageInNewTab: "Apri le immagini in un nuovo tab"
|
openImageInNewTab: "Apri le immagini in un nuovo tab"
|
||||||
dashboard: "Pannello di controllo"
|
dashboard: "Pannello di controllo"
|
||||||
local: "Locale"
|
local: "Locale"
|
||||||
@ -1933,7 +1933,7 @@ _serverDisconnectedBehavior:
|
|||||||
quiet: "Visualizza avviso in modo discreto"
|
quiet: "Visualizza avviso in modo discreto"
|
||||||
_channel:
|
_channel:
|
||||||
create: "Nuovo canale"
|
create: "Nuovo canale"
|
||||||
edit: "Gerisci canale"
|
edit: "Modifica il canale"
|
||||||
setBanner: "Scegli intestazione"
|
setBanner: "Scegli intestazione"
|
||||||
removeBanner: "Rimuovi intestazione"
|
removeBanner: "Rimuovi intestazione"
|
||||||
featured: "Popolari nel canale"
|
featured: "Popolari nel canale"
|
||||||
@ -1961,7 +1961,7 @@ _instanceMute:
|
|||||||
_theme:
|
_theme:
|
||||||
explore: "Esplora temi"
|
explore: "Esplora temi"
|
||||||
install: "Installa un tema"
|
install: "Installa un tema"
|
||||||
manage: "Gestione temi"
|
manage: "Gestione dei temi"
|
||||||
code: "Codice tema"
|
code: "Codice tema"
|
||||||
description: "Descrizione"
|
description: "Descrizione"
|
||||||
installed: "{name} è installato"
|
installed: "{name} è installato"
|
||||||
@ -2108,12 +2108,12 @@ _permissions:
|
|||||||
"read:messaging": "Visualizzare la chat"
|
"read:messaging": "Visualizzare la chat"
|
||||||
"write:messaging": "Gestire la chat"
|
"write:messaging": "Gestire la chat"
|
||||||
"read:mutes": "Vedi i profili silenziati"
|
"read:mutes": "Vedi i profili silenziati"
|
||||||
"write:mutes": "Gestisci i profili silenziati"
|
"write:mutes": "Gestione dei profili silenziati"
|
||||||
"write:notes": "Creare / Eliminare note"
|
"write:notes": "Creare / Eliminare note"
|
||||||
"read:notifications": "Visualizzare notifiche"
|
"read:notifications": "Visualizzare notifiche"
|
||||||
"write:notifications": "Gestire notifiche"
|
"write:notifications": "Gestione delle notifiche"
|
||||||
"read:reactions": "Vedi reazioni"
|
"read:reactions": "Vedi reazioni"
|
||||||
"write:reactions": "Gerisci reazioni"
|
"write:reactions": "Gestione delle reazioni"
|
||||||
"write:votes": "Votare"
|
"write:votes": "Votare"
|
||||||
"read:pages": "Visualizzare pagine"
|
"read:pages": "Visualizzare pagine"
|
||||||
"write:pages": "Gestire pagine"
|
"write:pages": "Gestire pagine"
|
||||||
@ -2122,7 +2122,7 @@ _permissions:
|
|||||||
"read:user-groups": "Vedere i gruppi di utenti"
|
"read:user-groups": "Vedere i gruppi di utenti"
|
||||||
"write:user-groups": "Gestire i gruppi di utenti"
|
"write:user-groups": "Gestire i gruppi di utenti"
|
||||||
"read:channels": "Visualizza canali"
|
"read:channels": "Visualizza canali"
|
||||||
"write:channels": "Gerisci canali"
|
"write:channels": "Gestione dei canali"
|
||||||
"read:gallery": "Visualizza la galleria."
|
"read:gallery": "Visualizza la galleria."
|
||||||
"write:gallery": "Gestione della galleria"
|
"write:gallery": "Gestione della galleria"
|
||||||
"read:gallery-likes": "Visualizza i contenuti della galleria."
|
"read:gallery-likes": "Visualizza i contenuti della galleria."
|
||||||
@ -2365,9 +2365,6 @@ _pages:
|
|||||||
newPage: "Crea pagina"
|
newPage: "Crea pagina"
|
||||||
editPage: "Modifica pagina"
|
editPage: "Modifica pagina"
|
||||||
readPage: "Visualizzando fonte "
|
readPage: "Visualizzando fonte "
|
||||||
created: "Pagina creata!"
|
|
||||||
updated: "Pagina aggiornata con successo!"
|
|
||||||
deleted: "Pagina eliminata"
|
|
||||||
pageSetting: "Impostazioni pagina"
|
pageSetting: "Impostazioni pagina"
|
||||||
nameAlreadyExists: "Esiste già una pagina con lo stesso URL."
|
nameAlreadyExists: "Esiste già una pagina con lo stesso URL."
|
||||||
invalidNameTitle: "L'URL di pagina definito non è valido"
|
invalidNameTitle: "L'URL di pagina definito non è valido"
|
||||||
|
@ -1044,7 +1044,7 @@ youCannotCreateAnymore: "これ以上作成することはできません。"
|
|||||||
cannotPerformTemporary: "一時的に利用できません"
|
cannotPerformTemporary: "一時的に利用できません"
|
||||||
cannotPerformTemporaryDescription: "操作回数が制限を超過するため一時的に利用できません。しばらく時間を置いてから再度お試しください。"
|
cannotPerformTemporaryDescription: "操作回数が制限を超過するため一時的に利用できません。しばらく時間を置いてから再度お試しください。"
|
||||||
invalidParamError: "パラメータエラー"
|
invalidParamError: "パラメータエラー"
|
||||||
invalidParamErrorDescription: "リクエストパラメータに問題があります。通常これはバグですが、入力した文字数が多すぎる等の可能性もあります。"
|
invalidParamErrorDescription: "リクエストパラメータに問題があります。通常これはバグですが、入力した文字数が多すぎる・許可されていない文字を入力している等の可能性もあります。"
|
||||||
permissionDeniedError: "操作が拒否されました"
|
permissionDeniedError: "操作が拒否されました"
|
||||||
permissionDeniedErrorDescription: "このアカウントにはこの操作を行うための権限がありません。"
|
permissionDeniedErrorDescription: "このアカウントにはこの操作を行うための権限がありません。"
|
||||||
preset: "プリセット"
|
preset: "プリセット"
|
||||||
@ -2422,9 +2422,6 @@ _pages:
|
|||||||
newPage: "ページの作成"
|
newPage: "ページの作成"
|
||||||
editPage: "ページの編集"
|
editPage: "ページの編集"
|
||||||
readPage: "ソースを表示中"
|
readPage: "ソースを表示中"
|
||||||
created: "ページを作成しました"
|
|
||||||
updated: "ページを更新しました"
|
|
||||||
deleted: "ページを削除しました"
|
|
||||||
pageSetting: "ページ設定"
|
pageSetting: "ページ設定"
|
||||||
nameAlreadyExists: "指定されたページURLは既に存在しています"
|
nameAlreadyExists: "指定されたページURLは既に存在しています"
|
||||||
invalidNameTitle: "不正なページURLです"
|
invalidNameTitle: "不正なページURLです"
|
||||||
|
@ -2357,9 +2357,6 @@ _pages:
|
|||||||
newPage: "ページを作る"
|
newPage: "ページを作る"
|
||||||
editPage: "ページの編集"
|
editPage: "ページの編集"
|
||||||
readPage: "ソースを表示中"
|
readPage: "ソースを表示中"
|
||||||
created: "ページを作成したで"
|
|
||||||
updated: "ページを更新したで"
|
|
||||||
deleted: "ページを削除したで"
|
|
||||||
pageSetting: "ページ設定"
|
pageSetting: "ページ設定"
|
||||||
nameAlreadyExists: "指定されたページURLはもうあるみたいや"
|
nameAlreadyExists: "指定されたページURLはもうあるみたいや"
|
||||||
invalidNameTitle: "正しくないページURLみたいやで"
|
invalidNameTitle: "正しくないページURLみたいやで"
|
||||||
|
@ -1283,7 +1283,7 @@ confirmWhenRevealingSensitiveMedia: "민감한 미디어를 열 때 두 번 확
|
|||||||
sensitiveMediaRevealConfirm: "민감한 미디어입니다. 표시할까요?"
|
sensitiveMediaRevealConfirm: "민감한 미디어입니다. 표시할까요?"
|
||||||
createdLists: "만든 리스트"
|
createdLists: "만든 리스트"
|
||||||
createdAntennas: "만든 안테나"
|
createdAntennas: "만든 안테나"
|
||||||
fromX: "{x}부터"
|
fromX: "{x}에서"
|
||||||
genEmbedCode: "임베디드 코드 만들기"
|
genEmbedCode: "임베디드 코드 만들기"
|
||||||
noteOfThisUser: "이 유저의 노트 목록"
|
noteOfThisUser: "이 유저의 노트 목록"
|
||||||
clipNoteLimitExceeded: "더 이상 이 클립에 노트를 추가 할 수 없습니다."
|
clipNoteLimitExceeded: "더 이상 이 클립에 노트를 추가 할 수 없습니다."
|
||||||
@ -2365,9 +2365,6 @@ _pages:
|
|||||||
newPage: "페이지 만들기"
|
newPage: "페이지 만들기"
|
||||||
editPage: "페이지 수정"
|
editPage: "페이지 수정"
|
||||||
readPage: "소스 표시 중"
|
readPage: "소스 표시 중"
|
||||||
created: "페이지를 만들었습니다"
|
|
||||||
updated: "페이지를 수정했습니다"
|
|
||||||
deleted: "페이지가 삭제되었습니다"
|
|
||||||
pageSetting: "페이지 설정"
|
pageSetting: "페이지 설정"
|
||||||
nameAlreadyExists: "지정한 페이지 URL이 이미 존재합니다"
|
nameAlreadyExists: "지정한 페이지 URL이 이미 존재합니다"
|
||||||
invalidNameTitle: "유효하지 않은 페이지 URL입니다"
|
invalidNameTitle: "유효하지 않은 페이지 URL입니다"
|
||||||
|
@ -1459,9 +1459,6 @@ _pages:
|
|||||||
newPage: "Utwórz stronę"
|
newPage: "Utwórz stronę"
|
||||||
editPage: "Edytuj tę stronę"
|
editPage: "Edytuj tę stronę"
|
||||||
readPage: "Aktywowano widok źródła"
|
readPage: "Aktywowano widok źródła"
|
||||||
created: "Pomyślnie utworzono stronę!"
|
|
||||||
updated: "Pomyślnie zaktualizowano stronę!"
|
|
||||||
deleted: "Strona została usunięta"
|
|
||||||
pageSetting: "Ustawienia strony"
|
pageSetting: "Ustawienia strony"
|
||||||
nameAlreadyExists: "Określony adres URL strony już istnieje"
|
nameAlreadyExists: "Określony adres URL strony już istnieje"
|
||||||
invalidNameTitle: "Podany adres URL strony jest nieprawidłowy"
|
invalidNameTitle: "Podany adres URL strony jest nieprawidłowy"
|
||||||
|
@ -2357,9 +2357,6 @@ _pages:
|
|||||||
newPage: "Criar uma Página"
|
newPage: "Criar uma Página"
|
||||||
editPage: "Editar essa Página"
|
editPage: "Editar essa Página"
|
||||||
readPage: "Ver a fonte dessa Página"
|
readPage: "Ver a fonte dessa Página"
|
||||||
created: "Página criada com sucesso"
|
|
||||||
updated: "Página atualizada com sucesso"
|
|
||||||
deleted: "Página excluída com sucesso"
|
|
||||||
pageSetting: "Configurações da página"
|
pageSetting: "Configurações da página"
|
||||||
nameAlreadyExists: "O URL de Página especificado já existe"
|
nameAlreadyExists: "O URL de Página especificado já existe"
|
||||||
invalidNameTitle: "O URL de Página especificado é inválido"
|
invalidNameTitle: "O URL de Página especificado é inválido"
|
||||||
|
@ -1976,9 +1976,6 @@ _pages:
|
|||||||
newPage: "Создать страницу"
|
newPage: "Создать страницу"
|
||||||
editPage: "Править страницу"
|
editPage: "Править страницу"
|
||||||
readPage: "Читать страницу"
|
readPage: "Читать страницу"
|
||||||
created: "Страница успешно создана."
|
|
||||||
updated: "Страница успешно обновлена."
|
|
||||||
deleted: "Страница успешно удалена."
|
|
||||||
pageSetting: "Настройки страницы"
|
pageSetting: "Настройки страницы"
|
||||||
nameAlreadyExists: "Указанный адрес страницы уже существует."
|
nameAlreadyExists: "Указанный адрес страницы уже существует."
|
||||||
invalidNameTitle: "Указанный адрес страницы недопустим."
|
invalidNameTitle: "Указанный адрес страницы недопустим."
|
||||||
|
@ -1332,9 +1332,6 @@ _pages:
|
|||||||
newPage: "Vytvoriť novú stránku"
|
newPage: "Vytvoriť novú stránku"
|
||||||
editPage: "Upraviť túto stránku"
|
editPage: "Upraviť túto stránku"
|
||||||
readPage: "Zobrazenie zdroja aktívne"
|
readPage: "Zobrazenie zdroja aktívne"
|
||||||
created: "Stránka úspešne vytvorená"
|
|
||||||
updated: "Stránka úspešne upravená"
|
|
||||||
deleted: "Stránka úspešne odstránená"
|
|
||||||
pageSetting: "Nastavenia stránky"
|
pageSetting: "Nastavenia stránky"
|
||||||
nameAlreadyExists: "Zadaná URL stránku už existuje"
|
nameAlreadyExists: "Zadaná URL stránku už existuje"
|
||||||
invalidNameTitle: "Zadaná URL stránku je nesprávna"
|
invalidNameTitle: "Zadaná URL stránku je nesprávna"
|
||||||
|
@ -2331,9 +2331,6 @@ _pages:
|
|||||||
newPage: "สร้างหน้าเพจใหม่"
|
newPage: "สร้างหน้าเพจใหม่"
|
||||||
editPage: "แก้ไขหน้าเพจ"
|
editPage: "แก้ไขหน้าเพจ"
|
||||||
readPage: "กำลังดูแหล่งที่มาของเพจนี้"
|
readPage: "กำลังดูแหล่งที่มาของเพจนี้"
|
||||||
created: "สร้างหน้าเพจสำเร็จเรียบร้อยแล้ว"
|
|
||||||
updated: "แก้ไขหน้าเพจสำเร็จเรียบร้อยแล้ว"
|
|
||||||
deleted: "ลบหน้าเพจสำเร็จเรียบร้อยแล้ว"
|
|
||||||
pageSetting: "การตั้งค่าหน้าเพจ"
|
pageSetting: "การตั้งค่าหน้าเพจ"
|
||||||
nameAlreadyExists: "URL ของหน้าที่ระบุนั้นมีอยู่แล้ว"
|
nameAlreadyExists: "URL ของหน้าที่ระบุนั้นมีอยู่แล้ว"
|
||||||
invalidNameTitle: "URL ของหน้าที่ระบุนั้นไม่ถูกต้อง"
|
invalidNameTitle: "URL ของหน้าที่ระบุนั้นไม่ถูกต้อง"
|
||||||
|
@ -1513,9 +1513,6 @@ _pages:
|
|||||||
newPage: "Створити сторінку"
|
newPage: "Створити сторінку"
|
||||||
editPage: "Редагувати сторінку"
|
editPage: "Редагувати сторінку"
|
||||||
readPage: "Перегляд вихідного коду"
|
readPage: "Перегляд вихідного коду"
|
||||||
created: "Сторінка успішно створена."
|
|
||||||
updated: "Сторінка успішно оновлена."
|
|
||||||
deleted: "Сторінку видалено"
|
|
||||||
pageSetting: "Налаштування сторінки"
|
pageSetting: "Налаштування сторінки"
|
||||||
nameAlreadyExists: "Вказана адреса сторінки вже існує."
|
nameAlreadyExists: "Вказана адреса сторінки вже існує."
|
||||||
invalidNameTitle: "Вказана адреса сторінки неприпустима."
|
invalidNameTitle: "Вказана адреса сторінки неприпустима."
|
||||||
|
@ -1004,9 +1004,6 @@ _play:
|
|||||||
_pages:
|
_pages:
|
||||||
newPage: "Yangi Sahifa yaratish"
|
newPage: "Yangi Sahifa yaratish"
|
||||||
editPage: "Ushbu Sahifani tahrirlash"
|
editPage: "Ushbu Sahifani tahrirlash"
|
||||||
created: "Sahifa muvaffaqiyatli yaratildi"
|
|
||||||
updated: "Sahifa muvaffaqiyatli tahrirlandi"
|
|
||||||
deleted: "Sahifa muvaffaqiyatli o'chirildi"
|
|
||||||
pageSetting: "Sahifa sozlamalari"
|
pageSetting: "Sahifa sozlamalari"
|
||||||
nameAlreadyExists: "Ko'rsatilgan Sahifa URL'i allaqachon mavjud"
|
nameAlreadyExists: "Ko'rsatilgan Sahifa URL'i allaqachon mavjud"
|
||||||
invalidNameTitle: "Ko'rsatilgan Sahifa URL'i yaroqsiz"
|
invalidNameTitle: "Ko'rsatilgan Sahifa URL'i yaroqsiz"
|
||||||
|
@ -1802,9 +1802,6 @@ _pages:
|
|||||||
newPage: "Tạo Trang mới"
|
newPage: "Tạo Trang mới"
|
||||||
editPage: "Sửa Trang này"
|
editPage: "Sửa Trang này"
|
||||||
readPage: "Xem mã nguồn Trang này"
|
readPage: "Xem mã nguồn Trang này"
|
||||||
created: "Trang đã được tạo thành công"
|
|
||||||
updated: "Trang đã được cập nhật thành công"
|
|
||||||
deleted: "Trang đã được xóa thành công"
|
|
||||||
pageSetting: "Cài đặt trang"
|
pageSetting: "Cài đặt trang"
|
||||||
nameAlreadyExists: "URL Trang đã tồn tại"
|
nameAlreadyExists: "URL Trang đã tồn tại"
|
||||||
invalidNameTitle: "URL Trang không hợp lệ"
|
invalidNameTitle: "URL Trang không hợp lệ"
|
||||||
|
@ -49,7 +49,7 @@ pin: "置顶"
|
|||||||
unpin: "取消置顶"
|
unpin: "取消置顶"
|
||||||
copyContent: "复制内容"
|
copyContent: "复制内容"
|
||||||
copyLink: "复制链接"
|
copyLink: "复制链接"
|
||||||
copyRemoteLink: "复制远程连接"
|
copyRemoteLink: "复制远程链接"
|
||||||
copyLinkRenote: "复制转帖链接"
|
copyLinkRenote: "复制转帖链接"
|
||||||
delete: "删除"
|
delete: "删除"
|
||||||
deleteAndEdit: "删除并编辑"
|
deleteAndEdit: "删除并编辑"
|
||||||
@ -2365,9 +2365,6 @@ _pages:
|
|||||||
newPage: "创建页面"
|
newPage: "创建页面"
|
||||||
editPage: "编辑页面"
|
editPage: "编辑页面"
|
||||||
readPage: "查看页面"
|
readPage: "查看页面"
|
||||||
created: "页面已创建"
|
|
||||||
updated: "页面已更新"
|
|
||||||
deleted: "该页面已被删除"
|
|
||||||
pageSetting: "页面设置"
|
pageSetting: "页面设置"
|
||||||
nameAlreadyExists: "该页面 URL 已存在"
|
nameAlreadyExists: "该页面 URL 已存在"
|
||||||
invalidNameTitle: "无效的页面 URL"
|
invalidNameTitle: "无效的页面 URL"
|
||||||
|
@ -2365,9 +2365,6 @@ _pages:
|
|||||||
newPage: "建立頁面"
|
newPage: "建立頁面"
|
||||||
editPage: "編輯頁面"
|
editPage: "編輯頁面"
|
||||||
readPage: "正在檢視原始碼"
|
readPage: "正在檢視原始碼"
|
||||||
created: "頁面已建立"
|
|
||||||
updated: "頁面已更新"
|
|
||||||
deleted: "頁面已被刪除"
|
|
||||||
pageSetting: "頁面設定"
|
pageSetting: "頁面設定"
|
||||||
nameAlreadyExists: "該頁面 URL 已存在"
|
nameAlreadyExists: "該頁面 URL 已存在"
|
||||||
invalidNameTitle: "無效的頁面 URL"
|
invalidNameTitle: "無效的頁面 URL"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "misskey",
|
"name": "misskey",
|
||||||
"version": "2025.1.0",
|
"version": "2025.2.0",
|
||||||
"codename": "nasubi",
|
"codename": "nasubi",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -118,3 +118,5 @@ export class MiPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const pageNameSchema = { type: 'string', pattern: /^[^\s:\/?#\[\]@!$&'()*+,;=\\%\x00-\x20]{1,256}$/.source } as const;
|
||||||
|
@ -7,7 +7,7 @@ import ms from 'ms';
|
|||||||
import { Inject, Injectable } from '@nestjs/common';
|
import { Inject, Injectable } from '@nestjs/common';
|
||||||
import type { DriveFilesRepository, PagesRepository } from '@/models/_.js';
|
import type { DriveFilesRepository, PagesRepository } from '@/models/_.js';
|
||||||
import { IdService } from '@/core/IdService.js';
|
import { IdService } from '@/core/IdService.js';
|
||||||
import { MiPage } from '@/models/Page.js';
|
import { MiPage, pageNameSchema } from '@/models/Page.js';
|
||||||
import { Endpoint } from '@/server/api/endpoint-base.js';
|
import { Endpoint } from '@/server/api/endpoint-base.js';
|
||||||
import { PageEntityService } from '@/core/entities/PageEntityService.js';
|
import { PageEntityService } from '@/core/entities/PageEntityService.js';
|
||||||
import { DI } from '@/di-symbols.js';
|
import { DI } from '@/di-symbols.js';
|
||||||
@ -51,7 +51,7 @@ export const paramDef = {
|
|||||||
type: 'object',
|
type: 'object',
|
||||||
properties: {
|
properties: {
|
||||||
title: { type: 'string' },
|
title: { type: 'string' },
|
||||||
name: { type: 'string', minLength: 1 },
|
name: { ...pageNameSchema, minLength: 1 },
|
||||||
summary: { type: 'string', nullable: true },
|
summary: { type: 'string', nullable: true },
|
||||||
content: { type: 'array', items: {
|
content: { type: 'array', items: {
|
||||||
type: 'object', additionalProperties: true,
|
type: 'object', additionalProperties: true,
|
||||||
|
@ -10,6 +10,7 @@ import type { PagesRepository, DriveFilesRepository } from '@/models/_.js';
|
|||||||
import { Endpoint } from '@/server/api/endpoint-base.js';
|
import { Endpoint } from '@/server/api/endpoint-base.js';
|
||||||
import { DI } from '@/di-symbols.js';
|
import { DI } from '@/di-symbols.js';
|
||||||
import { ApiError } from '../../error.js';
|
import { ApiError } from '../../error.js';
|
||||||
|
import { pageNameSchema } from '@/models/Page.js';
|
||||||
|
|
||||||
export const meta = {
|
export const meta = {
|
||||||
tags: ['pages'],
|
tags: ['pages'],
|
||||||
@ -31,13 +32,11 @@ export const meta = {
|
|||||||
code: 'NO_SUCH_PAGE',
|
code: 'NO_SUCH_PAGE',
|
||||||
id: '21149b9e-3616-4778-9592-c4ce89f5a864',
|
id: '21149b9e-3616-4778-9592-c4ce89f5a864',
|
||||||
},
|
},
|
||||||
|
|
||||||
accessDenied: {
|
accessDenied: {
|
||||||
message: 'Access denied.',
|
message: 'Access denied.',
|
||||||
code: 'ACCESS_DENIED',
|
code: 'ACCESS_DENIED',
|
||||||
id: '3c15cd52-3b4b-4274-967d-6456fc4f792b',
|
id: '3c15cd52-3b4b-4274-967d-6456fc4f792b',
|
||||||
},
|
},
|
||||||
|
|
||||||
noSuchFile: {
|
noSuchFile: {
|
||||||
message: 'No such file.',
|
message: 'No such file.',
|
||||||
code: 'NO_SUCH_FILE',
|
code: 'NO_SUCH_FILE',
|
||||||
@ -56,7 +55,7 @@ export const paramDef = {
|
|||||||
properties: {
|
properties: {
|
||||||
pageId: { type: 'string', format: 'misskey:id' },
|
pageId: { type: 'string', format: 'misskey:id' },
|
||||||
title: { type: 'string' },
|
title: { type: 'string' },
|
||||||
name: { type: 'string', minLength: 1 },
|
name: { ...pageNameSchema, minLength: 1 },
|
||||||
summary: { type: 'string', nullable: true },
|
summary: { type: 'string', nullable: true },
|
||||||
content: { type: 'array', items: {
|
content: { type: 'array', items: {
|
||||||
type: 'object', additionalProperties: true,
|
type: 'object', additionalProperties: true,
|
||||||
|
@ -817,6 +817,7 @@ export class ClientServerService {
|
|||||||
fastify.get<{ Params: { announcementId: string; } }>('/announcements/:announcementId', async (request, reply) => {
|
fastify.get<{ Params: { announcementId: string; } }>('/announcements/:announcementId', async (request, reply) => {
|
||||||
const announcement = await this.announcementsRepository.findOneBy({
|
const announcement = await this.announcementsRepository.findOneBy({
|
||||||
id: request.params.announcementId,
|
id: request.params.announcementId,
|
||||||
|
userId: IsNull(),
|
||||||
});
|
});
|
||||||
|
|
||||||
if (announcement) {
|
if (announcement) {
|
||||||
|
@ -17,6 +17,7 @@ services:
|
|||||||
- ./.config/docker.env
|
- ./.config/docker.env
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
|
- COREPACK_DEFAULT_TO_LATEST=0
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ../../../built
|
source: ../../../built
|
||||||
|
@ -25,6 +25,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- NODE_ENV=development
|
- NODE_ENV=development
|
||||||
- NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/rootCA.crt
|
- NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/rootCA.crt
|
||||||
|
- COREPACK_DEFAULT_TO_LATEST=0
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ../package.json
|
source: ../package.json
|
||||||
@ -85,6 +86,8 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
redis.test:
|
redis.test:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
environment:
|
||||||
|
- COREPACK_DEFAULT_TO_LATEST=0
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ../package.json
|
source: ../package.json
|
||||||
|
@ -41,6 +41,12 @@ export async function signout() {
|
|||||||
if (!$i) return;
|
if (!$i) return;
|
||||||
|
|
||||||
waiting();
|
waiting();
|
||||||
|
document.cookie.split(';').forEach((cookie) => {
|
||||||
|
const cookieName = cookie.split('=')[0].trim();
|
||||||
|
if (cookieName === 'token') {
|
||||||
|
document.cookie = `${cookieName}=; max-age=0; path=/`;
|
||||||
|
}
|
||||||
|
});
|
||||||
miLocalStorage.removeItem('account');
|
miLocalStorage.removeItem('account');
|
||||||
await removeAccount($i.id);
|
await removeAccount($i.id);
|
||||||
const accounts = await getAccounts();
|
const accounts = await getAccounts();
|
||||||
@ -101,6 +107,9 @@ export async function removeAccount(idOrToken: Account['id']) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function fetchAccount(token: string, id?: string, forceShowDialog?: boolean): Promise<Account> {
|
function fetchAccount(token: string, id?: string, forceShowDialog?: boolean): Promise<Account> {
|
||||||
|
document.cookie = "token=; path=/; max-age=0";
|
||||||
|
document.cookie = `token=${token}; path=/queue; max-age=86400; SameSite=Strict; Secure`; // bull dashboardの認証とかで使う
|
||||||
|
|
||||||
return new Promise((done, fail) => {
|
return new Promise((done, fail) => {
|
||||||
window.fetch(`${apiUrl}/i`, {
|
window.fetch(`${apiUrl}/i`, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
@ -213,7 +222,6 @@ export async function login(token: Account['token'], redirect?: string) {
|
|||||||
throw reason;
|
throw reason;
|
||||||
});
|
});
|
||||||
miLocalStorage.setItem('account', JSON.stringify(me));
|
miLocalStorage.setItem('account', JSON.stringify(me));
|
||||||
document.cookie = `token=${token}; path=/; max-age=31536000`; // bull dashboardの認証とかで使う
|
|
||||||
await addAccount(me.id, token);
|
await addAccount(me.id, token);
|
||||||
|
|
||||||
if (redirect) {
|
if (redirect) {
|
||||||
|
@ -57,7 +57,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import * as Misskey from 'misskey-js';
|
import * as Misskey from 'misskey-js';
|
||||||
import { defineProps, shallowRef } from 'vue';
|
import { shallowRef } from 'vue';
|
||||||
import MkLink from '@/components/MkLink.vue';
|
import MkLink from '@/components/MkLink.vue';
|
||||||
import { i18n } from '@/i18n.js';
|
import { i18n } from '@/i18n.js';
|
||||||
import MkModalWindow from '@/components/MkModalWindow.vue';
|
import MkModalWindow from '@/components/MkModalWindow.vue';
|
||||||
|
@ -18,7 +18,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||||||
:alt="file.name"
|
:alt="file.name"
|
||||||
:title="file.name"
|
:title="file.name"
|
||||||
:cover="fit !== 'contain'"
|
:cover="fit !== 'contain'"
|
||||||
:forceBlurHash="forceBlurhash"
|
:forceBlurhash="forceBlurhash"
|
||||||
/>
|
/>
|
||||||
<i v-else-if="is === 'image'" class="ti ti-photo" :class="$style.icon"></i>
|
<i v-else-if="is === 'image'" class="ti ti-photo" :class="$style.icon"></i>
|
||||||
<i v-else-if="is === 'video'" class="ti ti-video" :class="$style.icon"></i>
|
<i v-else-if="is === 'video'" class="ti ti-video" :class="$style.icon"></i>
|
||||||
|
@ -304,16 +304,16 @@ function checkMute(noteToCheck: Misskey.entities.Note, mutedWords: Array<string
|
|||||||
function checkMute(noteToCheck: Misskey.entities.Note, mutedWords: Array<string | string[]> | undefined | null, checkOnly: false): Array<string | string[]> | false | 'sensitiveMute';
|
function checkMute(noteToCheck: Misskey.entities.Note, mutedWords: Array<string | string[]> | undefined | null, checkOnly: false): Array<string | string[]> | false | 'sensitiveMute';
|
||||||
*/
|
*/
|
||||||
function checkMute(noteToCheck: Misskey.entities.Note, mutedWords: Array<string | string[]> | undefined | null, checkOnly = false): Array<string | string[]> | false | 'sensitiveMute' {
|
function checkMute(noteToCheck: Misskey.entities.Note, mutedWords: Array<string | string[]> | undefined | null, checkOnly = false): Array<string | string[]> | false | 'sensitiveMute' {
|
||||||
if (mutedWords == null) return false;
|
if (mutedWords != null) {
|
||||||
|
const result = checkWordMute(noteToCheck, $i, mutedWords);
|
||||||
|
if (Array.isArray(result)) return result;
|
||||||
|
|
||||||
const result = checkWordMute(noteToCheck, $i, mutedWords);
|
const replyResult = noteToCheck.reply && checkWordMute(noteToCheck.reply, $i, mutedWords);
|
||||||
if (Array.isArray(result)) return result;
|
if (Array.isArray(replyResult)) return replyResult;
|
||||||
|
|
||||||
const replyResult = noteToCheck.reply && checkWordMute(noteToCheck.reply, $i, mutedWords);
|
const renoteResult = noteToCheck.renote && checkWordMute(noteToCheck.renote, $i, mutedWords);
|
||||||
if (Array.isArray(replyResult)) return replyResult;
|
if (Array.isArray(renoteResult)) return renoteResult;
|
||||||
|
}
|
||||||
const renoteResult = noteToCheck.renote && checkWordMute(noteToCheck.renote, $i, mutedWords);
|
|
||||||
if (Array.isArray(renoteResult)) return renoteResult;
|
|
||||||
|
|
||||||
if (checkOnly) return false;
|
if (checkOnly) return false;
|
||||||
|
|
||||||
|
@ -6,7 +6,12 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||||||
<template>
|
<template>
|
||||||
<template v-for="file in note.files">
|
<template v-for="file in note.files">
|
||||||
<div
|
<div
|
||||||
v-if="(defaultStore.state.nsfw === 'force' || file.isSensitive) && defaultStore.state.nsfw !== 'ignore' && !showingFiles.has(file.id)"
|
v-if="(((
|
||||||
|
(defaultStore.state.nsfw === 'force' || file.isSensitive) &&
|
||||||
|
defaultStore.state.nsfw !== 'ignore'
|
||||||
|
) || (defaultStore.state.dataSaver.media && file.type.startsWith('image/'))) &&
|
||||||
|
!showingFiles.has(file.id)
|
||||||
|
)"
|
||||||
:class="[$style.filePreview, { [$style.square]: square }]"
|
:class="[$style.filePreview, { [$style.square]: square }]"
|
||||||
@click="showingFiles.add(file.id)"
|
@click="showingFiles.add(file.id)"
|
||||||
>
|
>
|
||||||
@ -20,7 +25,8 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||||||
/>
|
/>
|
||||||
<div :class="$style.sensitive">
|
<div :class="$style.sensitive">
|
||||||
<div>
|
<div>
|
||||||
<div><i class="ti ti-eye-exclamation"></i> {{ i18n.ts.sensitive }}</div>
|
<div v-if="file.isSensitive"><i class="ti ti-eye-exclamation"></i> {{ i18n.ts.sensitive }}{{ defaultStore.state.dataSaver.media && file.size ? ` (${bytes(file.size)})` : '' }}</div>
|
||||||
|
<div v-else><i class="ti ti-photo"></i> {{ defaultStore.state.dataSaver.media && file.size ? bytes(file.size) : i18n.ts.image }}</div>
|
||||||
<div>{{ i18n.ts.clickToShow }}</div>
|
<div>{{ i18n.ts.clickToShow }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -43,6 +49,7 @@ import { notePage } from '@/filters/note.js';
|
|||||||
import { i18n } from '@/i18n.js';
|
import { i18n } from '@/i18n.js';
|
||||||
import * as Misskey from 'misskey-js';
|
import * as Misskey from 'misskey-js';
|
||||||
import { defaultStore } from '@/store.js';
|
import { defaultStore } from '@/store.js';
|
||||||
|
import bytes from '@/filters/bytes.js';
|
||||||
|
|
||||||
import MkDriveFileThumbnail from '@/components/MkDriveFileThumbnail.vue';
|
import MkDriveFileThumbnail from '@/components/MkDriveFileThumbnail.vue';
|
||||||
|
|
||||||
@ -91,6 +98,9 @@ const showingFiles = ref<Set<string>>(new Set());
|
|||||||
display: grid;
|
display: grid;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
|
text-align: center;
|
||||||
|
padding: 8px;
|
||||||
|
box-sizing: border-box;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: rgba(0, 0, 0, 0.5);
|
background: rgba(0, 0, 0, 0.5);
|
||||||
backdrop-filter: blur(5px);
|
backdrop-filter: blur(5px);
|
||||||
|
@ -43,7 +43,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed, defineProps, ref, toRefs } from 'vue';
|
import { computed, ref, toRefs } from 'vue';
|
||||||
import * as Misskey from 'misskey-js';
|
import * as Misskey from 'misskey-js';
|
||||||
import { i18n } from '@/i18n.js';
|
import { i18n } from '@/i18n.js';
|
||||||
import MkButton from '@/components/MkButton.vue';
|
import MkButton from '@/components/MkButton.vue';
|
||||||
|
@ -140,6 +140,7 @@ function onPasskeyDone(credential: AuthenticationPublicKeyCredential): void {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
emit('login', res.signinResponse);
|
emit('login', res.signinResponse);
|
||||||
|
onLoginSucceeded(res.signinResponse);
|
||||||
}).catch(onSigninApiError);
|
}).catch(onSigninApiError);
|
||||||
} else if (userInfo.value != null) {
|
} else if (userInfo.value != null) {
|
||||||
tryLogin({
|
tryLogin({
|
||||||
|
@ -39,32 +39,18 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||||||
-->
|
-->
|
||||||
<!-- MFMで上位レイヤーに表示されるため、リンクをクリックできるようにstyleにpointer-events: none;を付与。 -->
|
<!-- MFMで上位レイヤーに表示されるため、リンクをクリックできるようにstyleにpointer-events: none;を付与。 -->
|
||||||
<svg v-for="particle in particles" :key="particle.id" :width="width" :height="height" :viewBox="`0 0 ${width} ${height}`" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: -32px; left: -32px; pointer-events: none;">
|
<svg v-for="particle in particles" :key="particle.id" :width="width" :height="height" :viewBox="`0 0 ${width} ${height}`" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: -32px; left: -32px; pointer-events: none;">
|
||||||
|
<!-- SVGのanimateTransformを使用するとChromeで描画できなくなるためCSSアニメーションを使用している (Issue 14155) -->
|
||||||
<path
|
<path
|
||||||
style="transform-origin: center; transform-box: fill-box;"
|
:style="{
|
||||||
:transform="`translate(${particle.x} ${particle.y})`"
|
'--translateX': particle.x + 'px',
|
||||||
|
'--translateY': particle.y + 'px',
|
||||||
|
'--duration': particle.dur + 'ms',
|
||||||
|
'--size': particle.size,
|
||||||
|
}"
|
||||||
|
:class="$style.particle"
|
||||||
:fill="particle.color"
|
:fill="particle.color"
|
||||||
d="M29.427,2.011C29.721,0.83 30.782,0 32,0C33.218,0 34.279,0.83 34.573,2.011L39.455,21.646C39.629,22.347 39.991,22.987 40.502,23.498C41.013,24.009 41.653,24.371 42.354,24.545L61.989,29.427C63.17,29.721 64,30.782 64,32C64,33.218 63.17,34.279 61.989,34.573L42.354,39.455C41.653,39.629 41.013,39.991 40.502,40.502C39.991,41.013 39.629,41.653 39.455,42.354L34.573,61.989C34.279,63.17 33.218,64 32,64C30.782,64 29.721,63.17 29.427,61.989L24.545,42.354C24.371,41.653 24.009,41.013 23.498,40.502C22.987,39.991 22.347,39.629 21.646,39.455L2.011,34.573C0.83,34.279 0,33.218 0,32C0,30.782 0.83,29.721 2.011,29.427L21.646,24.545C22.347,24.371 22.987,24.009 23.498,23.498C24.009,22.987 24.371,22.347 24.545,21.646L29.427,2.011Z"
|
d="M29.427,2.011C29.721,0.83 30.782,0 32,0C33.218,0 34.279,0.83 34.573,2.011L39.455,21.646C39.629,22.347 39.991,22.987 40.502,23.498C41.013,24.009 41.653,24.371 42.354,24.545L61.989,29.427C63.17,29.721 64,30.782 64,32C64,33.218 63.17,34.279 61.989,34.573L42.354,39.455C41.653,39.629 41.013,39.991 40.502,40.502C39.991,41.013 39.629,41.653 39.455,42.354L34.573,61.989C34.279,63.17 33.218,64 32,64C30.782,64 29.721,63.17 29.427,61.989L24.545,42.354C24.371,41.653 24.009,41.013 23.498,40.502C22.987,39.991 22.347,39.629 21.646,39.455L2.011,34.573C0.83,34.279 0,33.218 0,32C0,30.782 0.83,29.721 2.011,29.427L21.646,24.545C22.347,24.371 22.987,24.009 23.498,23.498C24.009,22.987 24.371,22.347 24.545,21.646L29.427,2.011Z"
|
||||||
>
|
></path>
|
||||||
<animateTransform
|
|
||||||
attributeName="transform"
|
|
||||||
attributeType="XML"
|
|
||||||
type="rotate"
|
|
||||||
from="0 0 0"
|
|
||||||
to="360 0 0"
|
|
||||||
:dur="`${particle.dur}ms`"
|
|
||||||
repeatCount="1"
|
|
||||||
additive="sum"
|
|
||||||
/>
|
|
||||||
<animateTransform
|
|
||||||
attributeName="transform"
|
|
||||||
attributeType="XML"
|
|
||||||
type="scale"
|
|
||||||
:values="`0; ${particle.size}; 0`"
|
|
||||||
:dur="`${particle.dur}ms`"
|
|
||||||
repeatCount="1"
|
|
||||||
additive="sum"
|
|
||||||
/>
|
|
||||||
</path>
|
|
||||||
</svg>
|
</svg>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
@ -130,4 +116,25 @@ onUnmounted(() => {
|
|||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.particle {
|
||||||
|
transform-origin: center;
|
||||||
|
transform-box: fill-box;
|
||||||
|
translate: var(--translateX) var(--translateY);
|
||||||
|
animation: particleAnimation var(--duration) linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes particleAnimation {
|
||||||
|
0% {
|
||||||
|
rotate: 0deg;
|
||||||
|
scale: 0;
|
||||||
|
}
|
||||||
|
50% {
|
||||||
|
scale: var(--size);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
rotate: 360deg;
|
||||||
|
scale: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -96,7 +96,7 @@ const summary = ref<string | null>(null);
|
|||||||
const name = ref(Date.now().toString());
|
const name = ref(Date.now().toString());
|
||||||
const eyeCatchingImage = ref<Misskey.entities.DriveFile | null>(null);
|
const eyeCatchingImage = ref<Misskey.entities.DriveFile | null>(null);
|
||||||
const eyeCatchingImageId = ref<string | null>(null);
|
const eyeCatchingImageId = ref<string | null>(null);
|
||||||
const font = ref('sans-serif');
|
const font = ref<'sans-serif' | 'serif'>('sans-serif');
|
||||||
const content = ref<Misskey.entities.Page['content']>([]);
|
const content = ref<Misskey.entities.Page['content']>([]);
|
||||||
const alignCenter = ref(false);
|
const alignCenter = ref(false);
|
||||||
const hideTitleWhenPinned = ref(false);
|
const hideTitleWhenPinned = ref(false);
|
||||||
@ -113,7 +113,7 @@ watch(eyeCatchingImageId, async () => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function getSaveOptions() {
|
function getSaveOptions(): Misskey.entities.PagesCreateRequest {
|
||||||
return {
|
return {
|
||||||
title: title.value.trim(),
|
title: title.value.trim(),
|
||||||
name: name.value.trim(),
|
name: name.value.trim(),
|
||||||
@ -128,80 +128,69 @@ function getSaveOptions() {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
function save() {
|
async function save() {
|
||||||
const options = getSaveOptions();
|
const options = getSaveOptions();
|
||||||
|
|
||||||
const onError = err => {
|
|
||||||
if (err.id === '3d81ceae-475f-4600-b2a8-2bc116157532') {
|
|
||||||
if (err.info.param === 'name') {
|
|
||||||
os.alert({
|
|
||||||
type: 'error',
|
|
||||||
title: i18n.ts._pages.invalidNameTitle,
|
|
||||||
text: i18n.ts._pages.invalidNameText,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
} else if (err.code === 'NAME_ALREADY_EXISTS') {
|
|
||||||
os.alert({
|
|
||||||
type: 'error',
|
|
||||||
text: i18n.ts._pages.nameAlreadyExists,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
if (pageId.value) {
|
if (pageId.value) {
|
||||||
options.pageId = pageId.value;
|
const updateOptions: Misskey.entities.PagesUpdateRequest = {
|
||||||
misskeyApi('pages/update', options)
|
pageId: pageId.value,
|
||||||
.then(page => {
|
...options,
|
||||||
currentName.value = name.value.trim();
|
};
|
||||||
os.alert({
|
|
||||||
type: 'success',
|
await os.apiWithDialog('pages/update', updateOptions, undefined, {
|
||||||
text: i18n.ts._pages.updated,
|
'2298a392-d4a1-44c5-9ebb-ac1aeaa5a9ab': {
|
||||||
});
|
title: i18n.ts.somethingHappened,
|
||||||
}).catch(onError);
|
text: i18n.ts._pages.nameAlreadyExists,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
currentName.value = name.value.trim();
|
||||||
} else {
|
} else {
|
||||||
misskeyApi('pages/create', options)
|
const created = await os.apiWithDialog('pages/create', options, undefined, {
|
||||||
.then(created => {
|
'4650348e-301c-499a-83c9-6aa988c66bc1': {
|
||||||
pageId.value = created.id;
|
title: i18n.ts.somethingHappened,
|
||||||
currentName.value = name.value.trim();
|
text: i18n.ts._pages.nameAlreadyExists,
|
||||||
os.alert({
|
},
|
||||||
type: 'success',
|
});
|
||||||
text: i18n.ts._pages.created,
|
|
||||||
});
|
pageId.value = created.id;
|
||||||
mainRouter.push(`/pages/edit/${pageId.value}`);
|
currentName.value = name.value.trim();
|
||||||
}).catch(onError);
|
mainRouter.replace(`/pages/edit/${pageId.value}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function del() {
|
async function del() {
|
||||||
os.confirm({
|
if (!pageId.value) return;
|
||||||
|
|
||||||
|
const { canceled } = await os.confirm({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
text: i18n.tsx.removeAreYouSure({ x: title.value.trim() }),
|
text: i18n.tsx.removeAreYouSure({ x: title.value.trim() }),
|
||||||
}).then(({ canceled }) => {
|
|
||||||
if (canceled) return;
|
|
||||||
misskeyApi('pages/delete', {
|
|
||||||
pageId: pageId.value,
|
|
||||||
}).then(() => {
|
|
||||||
os.alert({
|
|
||||||
type: 'success',
|
|
||||||
text: i18n.ts._pages.deleted,
|
|
||||||
});
|
|
||||||
mainRouter.push('/pages');
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (canceled) return;
|
||||||
|
|
||||||
|
await os.apiWithDialog('pages/delete', {
|
||||||
|
pageId: pageId.value,
|
||||||
|
});
|
||||||
|
|
||||||
|
mainRouter.replace('/pages');
|
||||||
}
|
}
|
||||||
|
|
||||||
function duplicate() {
|
async function duplicate() {
|
||||||
title.value = title.value + ' - copy';
|
title.value = title.value + ' - copy';
|
||||||
name.value = name.value + '-copy';
|
name.value = name.value + '-copy';
|
||||||
misskeyApi('pages/create', getSaveOptions()).then(created => {
|
|
||||||
pageId.value = created.id;
|
const created = await os.apiWithDialog('pages/create', getSaveOptions(), undefined, {
|
||||||
currentName.value = name.value.trim();
|
'4650348e-301c-499a-83c9-6aa988c66bc1': {
|
||||||
os.alert({
|
title: i18n.ts.somethingHappened,
|
||||||
type: 'success',
|
text: i18n.ts._pages.nameAlreadyExists,
|
||||||
text: i18n.ts._pages.created,
|
},
|
||||||
});
|
|
||||||
mainRouter.push(`/pages/edit/${pageId.value}`);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
pageId.value = created.id;
|
||||||
|
currentName.value = name.value.trim();
|
||||||
|
|
||||||
|
mainRouter.push(`/pages/edit/${pageId.value}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function add() {
|
async function add() {
|
||||||
@ -216,7 +205,7 @@ async function add() {
|
|||||||
content.value.push({ id, type });
|
content.value.push({ id, type });
|
||||||
}
|
}
|
||||||
|
|
||||||
function setEyeCatchingImage(img) {
|
function setEyeCatchingImage(img: Event) {
|
||||||
selectFile(img.currentTarget ?? img.target, null).then(file => {
|
selectFile(img.currentTarget ?? img.target, null).then(file => {
|
||||||
eyeCatchingImageId.value = file.id;
|
eyeCatchingImageId.value = file.id;
|
||||||
});
|
});
|
||||||
|
@ -266,7 +266,7 @@ function showMenu(ev: MouseEvent) {
|
|||||||
if ($i && $i.id === page.value.userId) {
|
if ($i && $i.id === page.value.userId) {
|
||||||
menuItems.push({
|
menuItems.push({
|
||||||
icon: 'ti ti-pencil',
|
icon: 'ti ti-pencil',
|
||||||
text: i18n.ts.editThisPage,
|
text: i18n.ts.edit,
|
||||||
action: () => router.push(`/pages/edit/${page.value.id}`),
|
action: () => router.push(`/pages/edit/${page.value.id}`),
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -285,10 +285,6 @@ function showMenu(ev: MouseEvent) {
|
|||||||
}
|
}
|
||||||
} else if ($i && $i.id !== page.value.userId) {
|
} else if ($i && $i.id !== page.value.userId) {
|
||||||
menuItems.push({
|
menuItems.push({
|
||||||
icon: 'ti ti-code',
|
|
||||||
text: i18n.ts._pages.viewSource,
|
|
||||||
action: () => router.push(`/@${props.username}/pages/${props.pageName}/view-source`),
|
|
||||||
}, {
|
|
||||||
icon: 'ti ti-exclamation-circle',
|
icon: 'ti ti-exclamation-circle',
|
||||||
text: i18n.ts.reportAbuse,
|
text: i18n.ts.reportAbuse,
|
||||||
action: reportAbuse,
|
action: reportAbuse,
|
||||||
|
@ -17,10 +17,7 @@ export const page = (loader: AsyncComponentLoader) => defineAsyncComponent({
|
|||||||
});
|
});
|
||||||
|
|
||||||
const routes: RouteDef[] = [{
|
const routes: RouteDef[] = [{
|
||||||
path: '/@:initUser/pages/:initPageName/view-source',
|
path: '/@:username/pages/:pageName(*)',
|
||||||
component: page(() => import('@/pages/page-editor/page-editor.vue')),
|
|
||||||
}, {
|
|
||||||
path: '/@:username/pages/:pageName',
|
|
||||||
component: page(() => import('@/pages/page.vue')),
|
component: page(() => import('@/pages/page.vue')),
|
||||||
}, {
|
}, {
|
||||||
path: '/@:acct/following',
|
path: '/@:acct/following',
|
||||||
|
@ -95,7 +95,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||||||
import { computed, defineAsyncComponent, ref, watch, shallowRef } from 'vue';
|
import { computed, defineAsyncComponent, ref, watch, shallowRef } from 'vue';
|
||||||
import { v4 as uuid } from 'uuid';
|
import { v4 as uuid } from 'uuid';
|
||||||
import XCommon from './_common_/common.vue';
|
import XCommon from './_common_/common.vue';
|
||||||
import { deckStore, columnTypes, addColumn as addColumnToStore, loadDeck, getProfiles, deleteProfile as deleteProfile_ } from './deck/deck-store.js';
|
import { deckStore, columnTypes, addColumn as addColumnToStore, forceSaveDeck, loadDeck, getProfiles, deleteProfile as deleteProfile_ } from './deck/deck-store.js';
|
||||||
import type { ColumnType } from './deck/deck-store.js';
|
import type { ColumnType } from './deck/deck-store.js';
|
||||||
import type { MenuItem } from '@/types/menu.js';
|
import type { MenuItem } from '@/types/menu.js';
|
||||||
import XSidebar from '@/ui/_common_/navbar.vue';
|
import XSidebar from '@/ui/_common_/navbar.vue';
|
||||||
@ -233,10 +233,15 @@ function changeProfile(ev: MouseEvent) {
|
|||||||
title: i18n.ts._deck.profile,
|
title: i18n.ts._deck.profile,
|
||||||
minLength: 1,
|
minLength: 1,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (canceled || name == null) return;
|
if (canceled || name == null) return;
|
||||||
|
|
||||||
deckStore.set('profile', name);
|
os.promiseDialog((async () => {
|
||||||
unisonReload();
|
await deckStore.set('profile', name);
|
||||||
|
await forceSaveDeck();
|
||||||
|
})(), () => {
|
||||||
|
unisonReload();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
@ -251,9 +256,18 @@ async function deleteProfile() {
|
|||||||
});
|
});
|
||||||
if (canceled) return;
|
if (canceled) return;
|
||||||
|
|
||||||
deleteProfile_(deckStore.state.profile);
|
os.promiseDialog((async () => {
|
||||||
deckStore.set('profile', 'default');
|
if (deckStore.state.profile === 'default') {
|
||||||
unisonReload();
|
await deckStore.set('columns', []);
|
||||||
|
await deckStore.set('layout', []);
|
||||||
|
await forceSaveDeck();
|
||||||
|
} else {
|
||||||
|
await deleteProfile_(deckStore.state.profile);
|
||||||
|
}
|
||||||
|
await deckStore.set('profile', 'default');
|
||||||
|
})(), () => {
|
||||||
|
unisonReload();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -112,9 +112,8 @@ export const loadDeck = async () => {
|
|||||||
deckStore.set('layout', deck.layout);
|
deckStore.set('layout', deck.layout);
|
||||||
};
|
};
|
||||||
|
|
||||||
// TODO: deckがloadされていない状態でsaveすると意図せず上書きが発生するので対策する
|
export async function forceSaveDeck() {
|
||||||
export const saveDeck = throttle(1000, () => {
|
await misskeyApi('i/registry/set', {
|
||||||
misskeyApi('i/registry/set', {
|
|
||||||
scope: ['client', 'deck', 'profiles'],
|
scope: ['client', 'deck', 'profiles'],
|
||||||
key: deckStore.state.profile,
|
key: deckStore.state.profile,
|
||||||
value: {
|
value: {
|
||||||
@ -122,6 +121,11 @@ export const saveDeck = throttle(1000, () => {
|
|||||||
layout: deckStore.reactiveState.layout.value,
|
layout: deckStore.reactiveState.layout.value,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// TODO: deckがloadされていない状態でsaveすると意図せず上書きが発生するので対策する
|
||||||
|
export const saveDeck = throttle(1000, () => {
|
||||||
|
forceSaveDeck();
|
||||||
});
|
});
|
||||||
|
|
||||||
export async function getProfiles(): Promise<string[]> {
|
export async function getProfiles(): Promise<string[]> {
|
||||||
|
@ -62,6 +62,8 @@
|
|||||||
*/
|
*/
|
||||||
"bundledPackages": [],
|
"bundledPackages": [],
|
||||||
|
|
||||||
|
"newlineKind": "lf",
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines how the TypeScript compiler engine will be invoked by API Extractor.
|
* Determines how the TypeScript compiler engine will be invoked by API Extractor.
|
||||||
*/
|
*/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"name": "misskey-js",
|
"name": "misskey-js",
|
||||||
"version": "2025.1.0",
|
"version": "2025.2.0",
|
||||||
"description": "Misskey SDK for JavaScript",
|
"description": "Misskey SDK for JavaScript",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "./built/index.js",
|
"main": "./built/index.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user