diff --git a/.config/example.yml b/.config/example.yml index 503471d93..8534d3e1e 100644 --- a/.config/example.yml +++ b/.config/example.yml @@ -62,6 +62,9 @@ db: user: example-misskey-user pass: example-misskey-pass + # Whether disable Caching queries + #disableCache: true + # Extra Connection options #extra: # ssl: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fdc8cdf8..ee64b1d55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,79 @@ npm i -g ts-node npm run migrate ``` +11.23.1 (2019/06/25) +-------------------- +### 🐛Fixes +* クライアントの設定がリセットされることがある問題を修正 + +11.23.0 (2019/06/23) +-------------------- +### ✨Improvements +* ホーム/デッキのカスタマイズ情報を複数のデバイスで同期できるように +* ホーム/デッキのカスタマイズ情報の複数プリセット切り替え +* サーバー情報にRedisのバージョンを追加 +* ServiceWorker有効化 +* MisskeyPagesでリストの要素数を取得する関数を追加 +* URLプレビューでハッシュだけ違うプレビューカードは表示しないように +* URLプレビューをユーザーロケールで出し分けるように +* リモートの凍結されたアカウントからのアクティビティはすべて無視するように + +### 🐛Fixes +* フォロー解除してもフォローボタンがフォロー中のままになる問題を修正 + +11.22.0 (2019/06/18) +-------------------- +### ✨Improvements +* 管理画面でデータベースの各テーブルのレコード数やサイズを確認できるように +* サーバー情報にPostgreSQLのバージョンを追加 + +### 🐛Fixes +* リモートファイルのダウンロードに失敗することがある問題を修正 +* アンケートの期間を日時指定で選択すると日時がUTCになってしまう問題を修正 +* MFMのパースを修正 + +11.21.0 (2019/06/16) +-------------------- +### ✨Improvements +* Unicode 12.0 の絵文字に対応 +* 閉鎖しているホストにはAP deliverしないように +* image以外はproxyしないように + +### 🐛Fixes +* サムネイル生成でエラーになるとファイルのアップロードに失敗する問題を修正 +* オートコンプリートにアニメーション停止が効かない問題を修正 + +11.20.4 (2019/06/13) +-------------------- +### 🐛Fixes +* 検索結果がループする問題を修正 +* 設定でPostgreSQLのクエリー結果のキャッシュを無効できるように +* 「投稿内の動きのあるテキストを無効にする」だけ反応しない問題を修正 +* 特定の操作のデータベースのパフォーマンス調整 + +11.20.3 (2019/06/10) +-------------------- +### 🐛Fixes +* 絵文字サジェストが動作しなくなっていた問題を修正 + +11.20.2 (2019/06/10) +-------------------- +### 🐛Fixes +* Redisにパスワードを設定している場合接続できない問題を修正 +* i18n +* など + +11.20.1 (2019/06/07) +-------------------- +### 🐛Fixes +* リモートファイルのキャッシュをすべて削除するときの動作を修正 +* ストリームのハッシュタグチャンネルが死んでいる問題を修正 +* Pagesから他の同一インスタンス内のPagesのページへのリンクができない問題を修正 +* /api/notes/create 公開範囲private を渡すとタイムアウトする問題を修正 +* パスワードの確認が完了しなくてもユーザー登録できる問題を修正 +* 依存関係の更新 +* i18n + 11.20.0 (2019/05/27) -------------------- ### ✨Improvements @@ -515,10 +588,9 @@ mongodb: 3. migration ブランチに切り替え 4. `npm i` 5. `npm run build` -6. `npm run init` -7. `npm run migrate` -8. master ブランチに戻す -9. enjoy +6. `npm run migrate` +7. master ブランチに戻す +8. enjoy 10.100.0 ---------- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 179cf5304..894122b04 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -219,8 +219,6 @@ const user = await Users.findOne(userId).then(ensure); ``` ### Migration作成方法 -コードの変更をした後、`ormconfig.json`(`npm run ormconfig`で生成)を用意し、 - ``` npm i -g ts-node ts-node ./node_modules/typeorm/cli.js migration:generate -n 変更の名前 diff --git a/README.md b/README.md index 8d7ca4b54..a2d90a3e1 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,6 @@ Please see the [Contribution Guide](./CONTRIBUTING.md). - @@ -135,7 +134,6 @@ Please see the [Contribution Guide](./CONTRIBUTING.md). - @@ -179,7 +177,7 @@ Please see the [Contribution Guide](./CONTRIBUTING.md).
見当かなみ YuzuRyo61gutfuckllc mydarkstar Peter G. nemu
見当かなみ YuzuRyo61gutfuckllc mydarkstar Peter G. nemuTakashi Shibuya
-**Last updated:** Tue, 04 Jun 2019 04:21:06 UTC +**Last updated:** Tue, 11 Jun 2019 01:46:06 UTC :four_leaf_clover: Copyright diff --git a/locales/cs-CZ.yml b/locales/cs-CZ.yml index 5fb689e7b..ff7b730c2 100644 --- a/locales/cs-CZ.yml +++ b/locales/cs-CZ.yml @@ -93,6 +93,25 @@ common: empty-timeline-info: follow-users-to-make-your-timeline: "Poznámky sledujících se zobrazí ve vaší časové ose" explore: "Najít uživatele" + post-form: + attach-location-information: "Přidat informace o lokaci" + hide-contents: "Schovat obsah" + reply-placeholder: "Odpovědět na tento příspěvek" + quote-placeholder: "Citovat tento příspěvek" + submit: "Odeslat" + reply: "Odpovědět" + renote: "Renotovat" + attach-media-from-local: "Uplodovat soubor z vašeho zařízení" + insert-a-kao: "v('ω')v" + create-poll: "Vytvořit anketu" + text-remain: "zbývá ještě {} znaků" + recent-tags: "Nejnovější" + visibility: "Viditelnost" + geolocation-alert: "Vaše zařízení nedalo k dispozici lokaci" + error: "Chyba" + enter-username: "Zadejte své uživatelské jméno" + add-visible-user: "Přidat uživatele" + username-prompt: "Zadejte své uživatelské jméno" weekday-short: sunday: "Ne" monday: "Po" @@ -251,7 +270,7 @@ common: my-token-regenerated: "Váš token byl regenerován, proto budete odhlášen/a." hide-password: "Skrýt heslo" show-password: "Zobrazit heslo" - enter-username: "Zadejte uživatelské jméno" + enter-username: "Zadejte své uživatelské jméno" do-not-use-in-production: "Tohle je vývojářský build. Nepoužívejte v produkci." user-suspended: "Tomuto uživateli byl pozastaven účet." is-remote-user: "Informace o tomto uživateli nemusí být kompletní." @@ -308,7 +327,10 @@ auth/views/form.vue: accept: "Povolit přístup" auth/views/index.vue: loading: "Načítám..." + denied-paragraph: "Tato aplikace nebude mít přístup k Vašemu účtu." already-authorized: "Tato aplikace byla již autorizována." + callback-url: "Zpátky do aplikace." + please-go-back: "Prosím vraťte se zpátky do aplikace." error: "Taková relace neexistuje." sign-in: "Prosím přihlaste se." common/views/pages/explore.vue: @@ -358,23 +380,30 @@ common/views/components/games/reversi/reversi.room.vue: waiting-for-both: "Připravuji" cancel: "Zrušit" ready: "Připraveno" + cancel-ready: "Pokračovat v přípravě" common/views/components/connect-failed.vue: title: "Nelze se připojit k serveru" description: "Nastal problém s Vaším připojením k internetu, nebo server není dostupný nebo zrovna probíhá údržba. Prosím {zkuste to znova} za pár minut." thanks: "Děkujeme že jste použili Misskey." common/views/components/connect-failed.troubleshooter.vue: + title: "Poradce při potížích" network: "Síťové připojení" checking-network: "Prověřit síťové připojení" internet: "Připojení k internetu" checking-internet: "Ověřuji připojení k internetu." server: "Připojení k serveru" + checking-server: "Spojuji se se serverem" no-network-desc: "Ujistěte se že jste připojeni k Internetu." no-internet: "Nejste připojeni k internetu" no-internet-desc: "Jste připojen k síti, ale zdá se že stále chybí připojení k Internetu. Prosím zkontrolujte Vaše připojení k Internetu." no-server: "Nelze se připojit k serveru Misskey" + success: "Úspěšně se podařilo spojit s Misskey serverem" + flush: "Vyčistit mezipaměť" common/views/components/media-banner.vue: + sensitive: "Choulostivý obsah" click-to-show: "Klikněte pro zobrazení" common/views/components/theme.vue: + theme: "Vzhled" light-theme: "Motiv pro použití ve světlém vzhledu" dark-theme: "Motiv pro použití v tmavém vzhledu" light-themes: "Světlý vzhled" @@ -385,6 +414,7 @@ common/views/components/theme.vue: installed: "\"{}\" byl nainstalován" create-a-theme: "Vytvořit motiv" save-created-theme: "Uložit motiv" + primary-color: "Základní barva" text-color: "Barva textu" base-theme: "Základní vzhled" base-theme-light: "Světlý" @@ -392,8 +422,10 @@ common/views/components/theme.vue: find-more-theme: "Najít další vzhledy" theme-name: "Jméno vzhledu" preview-created-theme: "Náhled" + invalid-theme: "Vzhled není validní" already-installed: "Tento vzhled je již nainstalován." saved: "Uloženo" + manage-themes: "Správa vzhledů" builtin-themes: "Standardní vzhledy" my-themes: "Moje vzhledy" installed-themes: "Nainstalované vzhledy" @@ -404,6 +436,7 @@ common/views/components/theme.vue: desc: "Popis" export: "Exportovat" import: "Importovat" + import-by-code: "nebo zkopírujte kód" theme-name-required: "Jméno vzhledu je povinné" common/views/components/cw-button.vue: hide: "Skrýt" @@ -476,10 +509,13 @@ common/views/components/poll-editor.vue: remove: "Odstranit tuto možnost" add: "+ Přidat možnost" destroy: "Zahodit dotazník" + multiple: "Více odpovědí je povoleno" expiration: "Termín" infinite: "Nekonečne" at: "Výběr data a času" + no-more: "Více už přidat nemůžete" deadline-date: "Termín ukončení" + deadline-time: "Doba trvání" interval: "Trvání" second: "Sekunda" minute: "Minuta" @@ -487,6 +523,7 @@ common/views/components/poll-editor.vue: day: "Ne" common/views/components/reaction-picker.vue: choose-reaction: "Vyberte svoji reakci" + input-reaction-placeholder: "nebo vložte Emoji" common/views/components/emoji-picker.vue: custom-emoji: "Emoji" people: "Lidé" @@ -500,6 +537,7 @@ common/views/components/emoji-picker.vue: common/views/components/signin.vue: username: "Přezdívka" password: "Heslo" + token: "Token" signing-in: "Přihlašování..." or: "Nebo" signin-with-twitter: "Přihlásit se pomocí účtu Twitter" @@ -527,6 +565,7 @@ common/views/components/signup.vue: password-matched: "OK" password-not-matched: "Neshodují se" recaptcha: "Potvrzení" + tos: "Podmínky užívání" create: "Vytvořit účet" some-error: "Pokus o vytvoření účtu selhal. Prosím zkuste to znovu." common/views/components/special-message.vue: @@ -565,6 +604,7 @@ common/views/components/visibility-chooser.vue: home: "Domů" specified-desc: "Poslat pouze zmíněným uživatelům" local-public: "Veřejná (pouze místní)" + local-public-desc: "Nepublikovat na vzdálených serverech" local-home: "Domovská (pouze místní)" local-followers: "Pro sledující (pouze místní)" common/views/components/trends.vue: @@ -574,6 +614,8 @@ common/views/components/language-settings.vue: title: "Zobrazit jazyky" pick-language: "Zvolte jazyk" recommended: "Doporučené" + auto: "Automaticky" + specify-language: "Vyberte jazyk" info: "Pro aktivování změn musíte znovu načíst stránky." common/views/components/profile-editor.vue: title: "Profil" @@ -600,6 +642,7 @@ common/views/components/profile-editor.vue: email-not-verified: "Váš email není potvrzen. Prosím zkontrolujte si svou schránku." export: "Exportovat" import: "Importovat" + export-and-import: "Import / Export" export-targets: following-list: "Seznam sledujících" mute-list: "Seznam ztlumených uživatelů" @@ -618,15 +661,32 @@ common/views/components/user-list-editor.vue: deleted: "Smazáno" add-user: "Přidat uživatele" common/views/components/user-group-editor.vue: + users: "Členové" + rename: "Přejmenovat skupinu" + delete: "Odstranit skupinu" + transfer: "Přesunout skupinu" + transfer-are-you-sure: "Jste si jistí že chcete přidat @$2 do skupiny: $1?" + transferred: "Skupina přesunuta" + remove-user: "Odebrat uživatele z této skupiny" + delete-are-you-sure: "Jste si jistí že chcete smazat skupinu \"$1\"?" deleted: "Smazáno" invite: "Pozvat" + invited: "Pozvánka byla úspěšně odeslána" common/views/components/user-lists.vue: user-lists: "Seznamy" + create-list: "Vytvořit seznam" list-name: "Název seznamu" common/views/components/user-groups.vue: + user-groups: "Skupiny" + create-group: "Vytvořit skupinu" + group-name: "Název skupiny" + owned-groups: "Moje skupiny" invites: "Pozvat" + reject-invite: "Odmítnout" common/views/widgets/broadcast.vue: fetching: "Načítám" + no-broadcasts: "Žádná nová oznámení" + have-a-nice-day: "Přejeme Vám příjemný den!" next: "Další" common/views/widgets/calendar.vue: year: "Rok {}" @@ -653,6 +713,12 @@ common/views/widgets/slideshow.vue: no-image: "V této složce nebyly nalezeny žádné fotky." common/views/pages/not-found.vue: page-not-found: "Stránka nenalezena" +common/views/pages/follow.vue: + following: "Sledování" + follow: "Sledovat" +common/views/pages/follow-requests.vue: + accept: "Přijmout" + reject: "Odmítnout" desktop: banner: "Baner" avatar-crop-title: "Vyberte část, která se zobrazí jako avatar" @@ -755,27 +821,11 @@ desktop/views/components/notes.vue: error: "Načítání selhalo." retry: "Opakovat" desktop/views/components/post-form.vue: - add-visible-user: "+Přidat uživatele" - attach-location-information: "Přidat informace o lokaci" - hide-contents: "Schovat obsah" - reply-placeholder: "Odpovědět na tento příspěvěk" - quote-placeholder: "Citovat tento příspěvek" - submit: "Příspěvek" - reply: "Odpovědět" - renote: "Renotovat" posted: "Odesláno!" replied: "Odpověděno!" reposted: "Renotováno!" note-failed: "Nepodařilo se přidat příspěvek" renote-failed: "Renotování neuspělo" - insert-a-kao: "v('ω')v" - create-poll: "Vytvořit anketu" - text-remain: "{0} znaků zbývá" - recent-tags: "Nejnovější" - visibility: "Viditelnost" - geolocation-alert: "Vaše zařízení nepodporuje lokační službu" - error: "Chyba" - enter-username: "Zadejte své uživatelské jméno..." desktop/views/components/post-form-window.vue: note: "Nový příspěvek" reply: "Odpovědět" @@ -794,6 +844,7 @@ desktop/views/components/renote-form-window.vue: desktop/views/components/settings.2fa.vue: detail: "Více…" url: "https://www.google.cz/landing/2step/" + token: "Token" common/views/components/media-image.vue: click-to-show: "Klikněte pro zobrazení" common/views/components/api-settings.vue: @@ -850,6 +901,7 @@ desktop/views/components/ui.header.vue: desktop/views/components/ui.header.account.vue: profile: "Váš profil" lists: "Seznamy" + groups: "Skupiny" admin: "Administrace" desktop/views/components/ui.header.nav.vue: game: "Hry" @@ -884,6 +936,11 @@ admin/views/dashboard.vue: instances: "Instance" this-instance: "Tato instance" federated: "Z fedivesmíru" +admin/views/logs.vue: + logs: "Logy" + levels: + info: "Informace" + error: "Chyba" admin/views/abuse.vue: details: "Popis" remove-report: "Odstranit" @@ -1026,6 +1083,7 @@ admin/views/federation.vue: host: "Hostitel" notes: "Poznámky" users: "Uživatelé" + following: "Sledování" caught-at: "Vytvořeno" status: "Status" latest-request-received-at: "Poslední požadavek přijat" @@ -1045,6 +1103,7 @@ admin/views/federation.vue: hour: "za hodinu" day: "za den" blocked-hosts: "Blokován" + save: "Uložit" desktop/views/pages/welcome.vue: about: "O Misskey" timeline: "Časová osa" @@ -1083,6 +1142,8 @@ desktop/views/pages/user/user.photos.vue: no-photos: "Žádné obrázky" desktop/views/pages/user/user.header.vue: posts: "Poznámky" + following: "Sledovaní" + followers: "Sledující" month: "Po" day: "Ne" desktop/views/widgets/notifications.vue: @@ -1111,6 +1172,7 @@ mobile/views/components/drive.file-detail.vue: mobile/views/components/media-video.vue: click-to-show: "Klikněte pro zobrazení" common/views/components/follow-button.vue: + following: "Sledování" follow-processing: "Zpracovávám" mobile/views/components/note.vue: private: "Tento příspěvek je soukromý" @@ -1130,15 +1192,6 @@ mobile/views/components/note-sub.vue: admin: "admin" bot: "bot" cat: "kočka" -mobile/views/components/post-form.vue: - add-visible-user: "Přidat uživatele" - submit: "Příspěvek" - reply: "Odpovědět" - renote: "Renotovat" - reply-placeholder: "Odpovědět na tento příspěvěk" - geolocation-alert: "Vaše zařízení nepodporuje lokační službu" - error: "Chyba" - username-prompt: "Zadejte uživatelské jméno" mobile/views/components/sub-note-content.vue: private: "Tento příspěvek je soukromý" deleted: "Tento příspěvek byl odstraněn" @@ -1151,6 +1204,7 @@ mobile/views/components/ui.nav.vue: notifications: "Oznámení" search: "Vyhledávání" user-lists: "Seznamy" + user-groups: "Skupiny" widgets: "Widgety" game: "Hry" admin: "Administrace" @@ -1244,5 +1298,7 @@ pages: arg2: "Seznamy" _pick: arg1: "Seznamy" + _listLen: + arg1: "Seznamy" types: array: "Seznamy" diff --git a/locales/da-DK.yml b/locales/da-DK.yml index 0a9f29969..3b667258f 100644 --- a/locales/da-DK.yml +++ b/locales/da-DK.yml @@ -95,6 +95,14 @@ common: empty-timeline-info: follow-users-to-make-your-timeline: "Følgende brugere vil få vist deres poster på tidslinjen." explore: "Find brugere" + post-form: + submit: "Post" + reply: "Svar" + renote: "Gen-postering" + error: "Fejl" + enter-username: "Angiv brugernavn" + add-visible-user: "Tilføj en bruger" + username-prompt: "Angiv brugernavn" weekday-short: sunday: "Søn" monday: "Man" @@ -918,34 +926,12 @@ desktop/views/components/notes.vue: desktop/views/components/notifications.vue: empty: "Der er ingen notifikationer!" desktop/views/components/post-form.vue: - add-visible-user: "+Tilføj bruger" - attach-location-information: "Vedhæft oplysninger om placering" - hide-contents: "Skjul indhold" - reply-placeholder: "Svar på denne post" - quote-placeholder: "Citer denne post" - submit: "Post" - reply: "Svar" - renote: "Gen-postering" posted: "Afsendt!" replied: "Besvaret!" reposted: "Gen-posteret!" note-failed: "Fejl under afsendelse" reply-failed: "Fejl under besvarelse" renote-failed: "Fejl under gen-postering" - posting: "Afsender" - attach-media-from-local: "Vedhæft medie fra din enhed" - attach-media-from-drive: "Vedhæft medie fra dit drev" - insert-a-kao: "v('ω')v" - create-poll: "Opret en afstemning" - text-remain: "Der mangler {} tegn" - recent-tags: "Seneste" - local-only-message: "Denne post vil kun blive offentliggjort lokalt" - click-to-tagging: "Klik for at tagge" - visibility: "Synlighed" - geolocation-alert: "Din enhed giver ikke mulighed for at benytte placeringstjenester" - error: "Fejl" - enter-username: "Angiv brugernavn" - annotations: "Kommentarer til posten (frivillige)" desktop/views/components/post-form-window.vue: note: "Ny post" reply: "Svar" @@ -1106,6 +1092,13 @@ admin/views/dashboard.vue: admin/views/queue.vue: title: "Kø" remove-all-jobs: "Ryd alle job køer" + queue: "Kø" + state: "Sorter efter" +admin/views/logs.vue: + logs: "Logs" + levels: + info: "Information" + error: "Fejl" admin/views/abuse.vue: title: "Misbrug" target: "Mål" @@ -1402,6 +1395,7 @@ admin/views/federation.vue: day: "pr. dag" blocked-hosts: "Bloker" blocked-hosts-info: "Beskrivelse af værterne du vil blokere, adskilt af linjeskift." + save: "Gem" desktop/views/pages/welcome.vue: about: "Mere info..." timeline: "Tidslinje" @@ -1533,17 +1527,6 @@ mobile/views/components/note-sub.vue: cat: "cat" mobile/views/components/notifications.vue: empty: "Der er ingen notifikationer!" -mobile/views/components/post-form.vue: - add-visible-user: "Tilføj en bruger" - submit: "Post" - reply: "Svar" - renote: "Gen-postering" - quote-placeholder: "Citer denne post... (valgfrit)" - reply-placeholder: "Svar på denne post" - cw-placeholder: "Kommentar til indholdet (valgfrit)" - geolocation-alert: "Din enhed giver ikke mulighed for at benytte placeringstjenester" - error: "Fejl" - username-prompt: "Angiv brugernavn" mobile/views/components/sub-note-content.vue: private: "Posten er privat" deleted: "Posten er blevet fjernet" @@ -1778,8 +1761,7 @@ pages: _divide: arg1: "A" arg2: "B" - remind: "÷ Tomo" - _remind: + _mod: arg1: "A" arg2: "B" eq: "A og B er ens" @@ -1862,6 +1844,8 @@ pages: _pick: arg1: "Lister" arg2: "Position" + _listLen: + arg1: "Lister" number: "Tal" stringToNumber: "Tekst til tal" _stringToNumber: diff --git a/locales/de-DE.yml b/locales/de-DE.yml index 1d5a99f16..2541e1ca6 100644 --- a/locales/de-DE.yml +++ b/locales/de-DE.yml @@ -95,6 +95,11 @@ common: empty-timeline-info: follow-users-to-make-your-timeline: "Beiträge von Benutzern, denen du folgst, werden in der Zeitleiste angezeigt." explore: "Benutzer finden" + post-form: + reply: "Antworten" + renote: "Anmerkung" + enter-username: "Bitte gib einen Benutzernamen ein" + username-prompt: "Bitte gib einen Benutzernamen ein" weekday-short: sunday: "So" monday: "Mo" @@ -684,7 +689,7 @@ desktop/views/components/note-detail.vue: add-reaction: "Reaktion hinzufügen" desktop/views/components/note.vue: reply: "Antworten" - renote: "Anmerken" + renote: "Anmerkung" detail: "Details" private: "Dieser Beitrag ist privat" deleted: "Dieser Beitrag wurde entfernt" @@ -694,27 +699,12 @@ desktop/views/components/notes.vue: desktop/views/components/notifications.vue: empty: "Keine Benachrichtigungen" desktop/views/components/post-form.vue: - add-visible-user: "+Nutzer hinzufügen" - hide-contents: "Inhalt verstecken" - reply-placeholder: "Antworte auf diese Anmerkung..." - quote-placeholder: "Zitiere diese Anmerkung..." - submit: "Abschicken" - reply: "Antworten" - renote: "Anmerken" posted: "Gepostet!" replied: "Geantwortet!" reposted: "Weitergesagt!" note-failed: "Anmerkung fehlgeschlagen" reply-failed: "Antwort fehlgeschlagen" renote-failed: "Anmerkung fehlgeschlagen" - posting: "Posting" - attach-media-from-local: "Medien von deinem PC hinzufügen" - attach-media-from-drive: "Medien von deinem Speicher hinzufügen" - create-poll: "Eine Abstimmung erstellen" - text-remain: "{} Zeichen verbleibend" - visibility: "Sichtbarkeit" - error: "Fehler" - enter-username: "Bitte gib einen Benutzernamen ein..." desktop/views/components/post-form-window.vue: note: "Neuer Beitrag" reply: "Antworten" @@ -807,6 +797,7 @@ admin/views/announcements.vue: saved: "Gespeichert" admin/views/federation.vue: status: "Status" + save: "Speichern" desktop/views/pages/note.vue: prev: "Vorheriger Kommentar" next: "Nächster Kommentar" @@ -851,10 +842,6 @@ mobile/views/components/note-detail.vue: location: "Ort" mobile/views/components/notifications.vue: empty: "Keine Benachrichtigungen" -mobile/views/components/post-form.vue: - reply: "Antworten" - renote: "Anmerken" - reply-placeholder: "Antworte auf diese Anmerkung..." mobile/views/components/sub-note-content.vue: private: "Dieser Beitrag ist privat" deleted: "Dieser Beitrag wurde entfernt" @@ -942,5 +929,7 @@ pages: arg2: "Listen" _pick: arg1: "Listen" + _listLen: + arg1: "Listen" types: array: "Listen" diff --git a/locales/en-US.yml b/locales/en-US.yml index c36550b8c..fd8e96588 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -95,6 +95,33 @@ common: empty-timeline-info: follow-users-to-make-your-timeline: "Following users will show their posts in your timeline." explore: "Find users" + post-form: + attach-location-information: "Attach location information" + hide-contents: "Hide contents" + reply-placeholder: "Reply to this post..." + quote-placeholder: "Quote this Post..." + option-quote-placeholder: "Quote this post... (optional)" + quote-attached: "Quoted" + quote-question: "Do you want to append a quote?" + submit: "Post" + reply: "Reply" + renote: "Renote" + posting: "Posting" + attach-media-from-local: "Attach media from your device" + attach-media-from-drive: "Attach media from your Drive" + insert-a-kao: "v('ω')v" + create-poll: "Create a poll" + text-remain: "{} characters remaining" + recent-tags: "Recent" + local-only-message: "This post will only be published locally" + click-to-tagging: "Click to tagging" + visibility: "Visibility" + geolocation-alert: "Your device does not provide location services" + error: "Error" + enter-username: "Please enter username" + add-visible-user: "Add a user" + cw-placeholder: "Comments for the post (optional)" + username-prompt: "Please enter username" weekday-short: sunday: "S" monday: "M" @@ -243,6 +270,9 @@ common: disable-via-mobile: "Don't mark the post as 'from mobile'" load-raw-images: "Show attached images in original quality" load-remote-media: "Show media from a remote server" + sync: "Sync" + home-profile: "Home profile" + deck-profile: "Deck profile" search: "Search" delete: "Delete" loading: "Loading" @@ -253,7 +283,7 @@ common: my-token-regenerated: "Your token has been regenerated, so you will be signed out." hide-password: "Hide Password" show-password: "Show Password" - enter-username: "Enter user name" + enter-username: "Please enter username" do-not-use-in-production: "This is a development build. Do not use in production." user-suspended: "This user has been suspended." is-remote-user: "The information about this user may not be entirely complete." @@ -319,7 +349,7 @@ auth/views/index.vue: error: "Session does not exist." sign-in: "Please sign in." common/views/pages/explore.vue: - pinned-users: "Higlighted users" + pinned-users: "Pinned users" popular-users: "Popular users" recently-updated-users: "Recently active users" recently-registered-users: "Users who joined recently" @@ -708,7 +738,9 @@ common/views/components/user-group-editor.vue: delete: "Delete group" transfer: "transfer group" transfer-are-you-sure: "Are you sure you want to add @$2 to the group $1?" + transferred: "Group transferred" remove-user: "Remove a user from this group" + delete-are-you-sure: "Are you sure to delete group \"$1\"?" deleted: "Deleted" invite: "Invite" invited: "The invitation was successfully sent" @@ -717,7 +749,7 @@ common/views/components/user-lists.vue: create-list: "Create a list" list-name: "List name" common/views/components/user-groups.vue: - user-groups: "Group" + user-groups: "Groups" create-group: "Create a group" group-name: "Group name" owned-groups: "My groups" @@ -920,34 +952,12 @@ desktop/views/components/notes.vue: desktop/views/components/notifications.vue: empty: "No notifications!" desktop/views/components/post-form.vue: - add-visible-user: "+Add a user" - attach-location-information: "Attach location information" - hide-contents: "Hide contents" - reply-placeholder: "Reply to this post..." - quote-placeholder: "Quote this Post..." - submit: "Post" - reply: "Reply" - renote: "Renote" posted: "Posted!" replied: "Replied!" reposted: "Renoted!" note-failed: "Failed to post" reply-failed: "Failed to reply" renote-failed: "Failed to Renote" - posting: "Posting" - attach-media-from-local: "Attach media from your device" - attach-media-from-drive: "Attach media from your Drive" - insert-a-kao: "v('ω')v" - create-poll: "Create a poll" - text-remain: "{} characters remaining" - recent-tags: "Recent" - local-only-message: "This post will only be published locally" - click-to-tagging: "Click to tagging" - visibility: "Visibility" - geolocation-alert: "Your device does not provide location services." - error: "Error" - enter-username: "Please enter a username..." - annotations: "Annotations for the post (optional)" desktop/views/components/post-form-window.vue: note: "New Post" reply: "Reply" @@ -1061,7 +1071,7 @@ desktop/views/components/ui.header.vue: desktop/views/components/ui.header.account.vue: profile: "Your profile" lists: "Lists" - groups: "Group" + groups: "Groups" follow-requests: "Follow requests" admin: "Admin" desktop/views/components/ui.header.nav.vue: @@ -1096,7 +1106,10 @@ admin/views/index.vue: abuse: "Abuse" queue: "Job Queue" logs: "Logs" + db: "Database" back-to-misskey: "Back to Misskey" +admin/views/db.vue: + tables: "Tables" admin/views/dashboard.vue: dashboard: "Dashboard" accounts: "Accounts" @@ -1108,6 +1121,32 @@ admin/views/dashboard.vue: admin/views/queue.vue: title: "Queue" remove-all-jobs: "Clear all queued jobs" + jobs: "Jobs" + queue: "Queue" + domains: + deliver: "Delivers" + inbox: "Received" + db: "Database" + objectStorage: "Object Storage" + state: "Sort" + states: + active: "Running" + delayed: "Scheduled" + waiting: "Queued" + result-is-truncated: "Result is truncated" + other-queues: "Other queues" +admin/views/logs.vue: + logs: "Logs" + domain: "Domain" + level: "Level" + levels: + all: "All" + info: "Information" + success: "Success" + warning: "Warning" + error: "Error" + debug: "Debug" + delete-all: "Remove All" admin/views/abuse.vue: title: "Abuse" target: "Target" @@ -1132,13 +1171,21 @@ admin/views/instance.vue: maintainer-name: "Administrator name" maintainer-email: "Contact Administrator" advanced-config: "Other settings" + note-and-tl: "Notes and timelines" drive-config: "Drive settings" + use-object-storage: "Use Object Storage" object-storage-base-url: "URL" + object-storage-bucket: "Bucket Name" + object-storage-prefix: "Prefix" object-storage-endpoint: "Endpoint" + object-storage-region: "Region" object-storage-port: "Port" object-storage-access-key: "Access Key" object-storage-secret-key: "Secret Key" object-storage-use-ssl: "Use SSL" + object-storage-s3-info: "If you are going to use Amazon S3 as Object Storage, Please refer {0} to configure 'Endpoint' and 'Region'." + object-storage-s3-info-here: "here" + object-storage-gcs-info: "If you are going to use Google Cloud Storage as Object Storage, Set the 'Endpoint' as storage.googleapis.com, and keep the 'Region' is blank." cache-remote-files: "Cache remote files" cache-remote-files-desc: "Without this parameter, all remote files are linked to their host server directly. This will be an effective solution to save your server storage, however make remote files invisible to users who set direct-link disabled, since no thumbnail will be generated, increase traffic. It is recommended that this parameter set enabled." local-drive-capacity-mb: "Volume of Drive per user" @@ -1146,9 +1193,14 @@ admin/views/instance.vue: mb: "In megabytes" recaptcha-config: "the reCAPTCHA settings" recaptcha-info: "reCAPTCHA token is required. Please get it on https://www.google.com/recaptcha/intro/" + recaptcha-info2: "v3 is not supported. Please use v2." enable-recaptcha: "enable reCAPTCHA" + recaptcha-site-key: "Site key" recaptcha-secret-key: "Secret Key" recaptcha-preview: "Preview" + hidden-tags: "Hidden hashtags" + hidden-tags-info: "List up the hashtags delimited by line breaks that you want exclude from statistics." + external-service-integration-config: "Connect an external service" twitter-integration-config: "Settings of connecting to Twitter" twitter-integration-info: "The callback URL is set on {url}." enable-twitter-integration: "Enable connection to Twitter" @@ -1179,7 +1231,8 @@ admin/views/instance.vue: invite: "Invite" save: "Save" saved: "Saved" - pinned-users: "Higlighted user" + pinned-users: "Pinned user" + pinned-users-info: "List up the users delimited by line breaks that you want to show as 'Pinned Users'." email-config: "Email server settings" email-config-info: "Used to confirm email and password reset etc." enable-email: "Enable email delivery" @@ -1245,6 +1298,9 @@ admin/views/drive.vue: unmark-as-sensitive: "Unmark as 'sensitive'" marked-as-sensitive: "Set a sensitive content notice" unmarked-as-sensitive: "Remove the sensitive content notice" + clean-remote-files: "Clear the remote files cache" + clean-remote-files-are-you-sure: "Are you sure you want to remove all cached files from remote?" + clean-up: "Clean up" admin/views/users.vue: operation: "Operations" username-or-userid: "Username or user ID" @@ -1390,6 +1446,8 @@ admin/views/federation.vue: hour: "Hourly" day: "Daily" blocked-hosts: "Blocking" + blocked-hosts-info: "List up the hosts delimited by line breaks that you want to block." + save: "Save" desktop/views/pages/welcome.vue: about: "More details..." timeline: "Timeline" @@ -1521,17 +1579,6 @@ mobile/views/components/note-sub.vue: cat: "cat" mobile/views/components/notifications.vue: empty: "No notifications" -mobile/views/components/post-form.vue: - add-visible-user: "Add a user" - submit: "Post" - reply: "Reply" - renote: "Renote" - quote-placeholder: "Quote this post... (optional)" - reply-placeholder: "Reply to this note..." - cw-placeholder: "Comments for the post (optional)" - geolocation-alert: "Your device does not provide location services." - error: "Error" - username-prompt: "Enter user name" mobile/views/components/sub-note-content.vue: private: "This post is private" deleted: "This post has been deleted" @@ -1546,7 +1593,7 @@ mobile/views/components/ui.nav.vue: follow-requests: "Follow requests" search: "Search" user-lists: "Lists" - user-groups: "Group" + user-groups: "Groups" widgets: "Widgets" game: "Games" admin: "Admin" @@ -1695,6 +1742,10 @@ pages: inspector: "Inspector" content: "Page block" variables: "Variables" + variables-info: "You can make your page more dynamic by using variables. If you write down { variable name } in the text, you can embed the value of the variable there. For example, if the source text is Hello { thing } world! and the value of variable 'thing' is ai , that text becomes to Hello ai world!." + variables-info2: "Because the evaluation(=calculating) of variables are performed from top to bottom, the variable cannot refer another variable which exists on later line. For example, when defining three variables A, B and C, variable C can refer the variable A and B in its expression, but variable A cannot refer the variable B or C in its expression." + variables-info3: "If you want to get some input from the user, place a 'User Input' block on the page and set the variable name as which you want to store that input in 'variable name' (variables are created automatically). You can use that variable to perform actions in response to user's input." + variables-info4: "Function allows make your processing logic as group in a reusable way. To create a function, create a variable of type 'Function'. A function can have a slot (Argument) whose value is available as a variable in the function. There are also functions that take functions as arguments in the AiScript standard (called the higher-order function.). In addition to the predefined functions, you can also set them in the slots of such higher-order functions on the fly." more-details: "Description" title: "Title" url: "Page URL" @@ -1792,6 +1843,7 @@ pages: strReverse: "Flip text" _strReverse: arg1: "Text" + join: "Text Concatenation" _join: arg1: "Lists" arg2: "Separator" @@ -1811,7 +1863,8 @@ pages: _divide: arg1: "A" arg2: "B" - _remind: + mod: "÷ Remaindering" + _mod: arg1: "A" arg2: "B" eq: "A and B are equal" @@ -1874,21 +1927,28 @@ pages: dailyRandomPick: "Choose at random from the list (Daily for each user)" _dailyRandomPick: arg1: "Lists" + seedRandom: "Random (Seed)" _seedRandom: arg1: "Seed" arg2: "Probability" + seedRannum: "Random number (Seed)" _seedRannum: arg1: "Seed" arg2: "Minimum" arg3: "Maximum" + seedRandomPick: "Randomly selected from list (Seed)" _seedRandomPick: arg1: "Seed" arg2: "Lists" + DRPWPM: "Randomly selected from weighted list (Daily updated per user)" _DRPWPM: arg1: "List of text" + pick: "Select from list" _pick: arg1: "Lists" arg2: "Position" + _listLen: + arg1: "Lists" number: "Number" stringToNumber: "Text to number" _stringToNumber: @@ -1903,8 +1963,13 @@ pages: fn: "Function" _fn: slots: "Slots" + slots-info: "Please delimit each slot with a line break" arg1: "Output" for: "Repeat" + _for: + arg1: "Count" + arg2: "Action" + typeError: "Slot {slot} accepts \"{expect}\" type, but It actually contains \"{actual}\" type!" thereIsEmptySlot: "Slot {slot} is empty!" types: string: "Text" diff --git a/locales/es-ES.yml b/locales/es-ES.yml index 1938d10e8..174b69110 100644 --- a/locales/es-ES.yml +++ b/locales/es-ES.yml @@ -80,6 +80,11 @@ common: "read:notifications": "Ver notificaciones" "read:reactions": "Ver reacciones" "write:votes": "Vota" + post-form: + reply: "Responder" + renote: "Volver a publicar" + enter-username: "Ingresar nombre de usuario" + username-prompt: "Ingresar nombre de usuario" weekday-short: sunday: "domingo" monday: "lunes" @@ -202,6 +207,7 @@ common: my-token-regenerated: "Tu token se ha regenerado vas a ser desconectado." hide-password: "Ocultar contraseña" show-password: "Mostrar contraseña" + enter-username: "Ingresar nombre de usuario" do-not-use-in-production: "Esto está en desarrollo, no usarlo para producción." user-suspended: "Este usuario ha sido suspendido" is-remote-user: "La información sobre este usuario puede no estar completa" @@ -766,7 +772,7 @@ desktop/views/components/note-detail.vue: add-reaction: "Agregar una reacción" desktop/views/components/note.vue: reply: "Responder" - renote: "Republicar" + renote: "Volver a publicar" add-reaction: "Reacción" detail: "Detalles" private: "Esta publicación es privada" @@ -777,32 +783,12 @@ desktop/views/components/notes.vue: desktop/views/components/notifications.vue: empty: "No hay notificaciones" desktop/views/components/post-form.vue: - add-visible-user: "+Agregar usuario" - attach-location-information: "Agregar localización" - hide-contents: "Esconder contenidos" - reply-placeholder: "Responder a esta nota..." - quote-placeholder: "Citar esta nota..." - submit: "Publicar" - reply: "Responder" - renote: "Republicar" posted: "¡Publicado!" replied: "¡Respondido!" reposted: "¡Republicado!" note-failed: "Error al publicar nota" reply-failed: "Error al responder" renote-failed: "Error al republicar" - posting: "Publicando" - attach-media-from-local: "Agregar medios de tu dispositivo" - attach-media-from-drive: "Adjunta multimedia desde tu Disco" - create-poll: "Crea una encuesta" - text-remain: "quedan {} caracteres" - recent-tags: "Reciente" - click-to-tagging: "Click para etiquetar" - visibility: "Visibilidad" - geolocation-alert: "Tu dispositivo no tiene soporte de geolocalización." - error: "Error" - enter-username: "Por favor escribe un nombre de usuario..." - annotations: "Anotaciones a la publicación (opcional)" desktop/views/components/post-form-window.vue: note: "Nota nueva" reply: "Responder" @@ -921,6 +907,9 @@ admin/views/dashboard.vue: admin/views/queue.vue: title: "Cola" remove-all-jobs: "Limpiar todos los trabajos pendientes" + queue: "Cola" +admin/views/logs.vue: + logs: "Registros" admin/views/abuse.vue: title: "Abuso" target: "Destinatario" @@ -1000,6 +989,7 @@ admin/views/federation.vue: hour: "Por hora" day: "Por día" blocked-hosts: "Bloquear" + save: "Guardar" desktop/views/pages/selectdrive.vue: cancel: "Cancelar" desktop/views/pages/user-list.users.vue: @@ -1052,11 +1042,6 @@ mobile/views/components/note-detail.vue: location: "Localización" mobile/views/components/notifications.vue: empty: "No hay notificaciones" -mobile/views/components/post-form.vue: - reply: "Responder" - renote: "Republicar" - reply-placeholder: "Responder a esta nota..." - geolocation-alert: "Tu dispositivo no tiene soporte de geolocalización." mobile/views/components/sub-note-content.vue: private: "Esta publicación es privada" deleted: "Esta publicación ha sido removida" @@ -1124,5 +1109,7 @@ pages: arg2: "Listas" _pick: arg1: "Listas" + _listLen: + arg1: "Listas" types: array: "Listas" diff --git a/locales/fr-FR.yml b/locales/fr-FR.yml index 934f8ba4c..fe593c24f 100644 --- a/locales/fr-FR.yml +++ b/locales/fr-FR.yml @@ -12,7 +12,7 @@ common: rich-contents: "Notes" rich-contents-desc: "Partagez vos idées, les événements et les sujets qui vous tiennent à cœur ainsi que tout autre chose que vous souhaitez partager avec les autres. Si vous le désirez, vous pouvez décorer vos messages en utilisant une syntaxe différente ou en y joignant des sondages et des fichiers, tels que les photos ou les vidéos que vous aimez." reaction: "Réactions" - reaction-desc: "Une manière simple d'exprimer vos émotions. Misskey peut attacher diverses réactions aux publications des autres utilisateurs. Si vous essayez les réactions sur Misskey, vous ne pourrez plus retourner sur une autre plateforme de réseaux sociaux n'offrant que des « J'aime »." + reaction-desc: "Une manière simple d'exprimer vos émotions. Misskey peut attacher diverses réactions aux publications des autres utilisateur·rice·s. Si vous essayez les réactions sur Misskey, vous ne pourrez plus retourner sur une autre plateforme de réseaux sociaux n'offrant que des « J'aime »." ui: "Interface" ui-desc: "Aucune interface graphique ne peut plaire à tout le monde. Par conséquent, Misskey possède une interface utilisateur hautement personnalisable selon vos goûts. Vous pouvez rendre votre page d'accueil originale en modifiant la mise en page de votre fil et en déplaçant les widgets que vous pouvez facilement ajuster pour vous approprier cet espace." drive: "Drive" @@ -78,8 +78,10 @@ common: "write:drive": "Écrire sur le Drive" "read:favorites": "Afficher les favoris" "write:favorites": "Écrire des favoris" + "read:following": "Voir les informations de l'abonné" "read:messaging": "Lire les conversations" "write:messaging": "Utiliser la messagerie" + "read:mutes": "Voir les comptes masqués" "write:notes": "Créer ou supprimer des publications" "read:notifications": "Afficher les notifications" "write:notifications": "Gérer vos notifications" @@ -87,8 +89,34 @@ common: "write:reactions": "Gérer vos réactions" "write:votes": "Vote" empty-timeline-info: - follow-users-to-make-your-timeline: "Les utilisateurs suivants afficheront leurs publications sur votre fil." - explore: "Trouver des utilisateurs" + follow-users-to-make-your-timeline: "Les utilisateur·rice·s suivant·e·s afficheront leurs publications sur votre fil." + explore: "Trouver des utilisateur·rice·s" + post-form: + attach-location-information: "Joindre des informations de localisation" + hide-contents: "Masquer les contenus" + reply-placeholder: "Répondre à cette note …" + quote-placeholder: "Citer cette note …" + option-quote-placeholder: "Citer ce billet ... (Facultatif)" + quote-attached: "Cité" + submit: "Publication" + reply: "Répondre" + renote: "Republier" + posting: "Publication …" + attach-media-from-local: "Joindre un média depuis votre appareil" + attach-media-from-drive: "Joindre un média depuis votre Drive" + insert-a-kao: "v('ω')v" + create-poll: "Créer un sondage" + text-remain: "{} caractères restants" + recent-tags: "Récent" + local-only-message: "Ce message sera publié uniquement sur le fil local" + click-to-tagging: "Cliquer pour taguer" + visibility: "Visibilité" + geolocation-alert: "Votre appareil ne prend pas en charge les services de localisation" + error: "Erreur" + enter-username: "Saisir un nom d'utilisateur" + add-visible-user: "Ajouter un utilisateur" + cw-placeholder: "Commenter le contenu (optionnel)" + username-prompt: "Saisir un nom d'utilisateur" weekday-short: sunday: "D" monday: "L" @@ -120,13 +148,13 @@ common: public: "Public" home: "Principal" home-desc: "Publier sur le fil principal uniquement" - followers: "Abonnés" - followers-desc: "Publier à vos abonnés uniquement" + followers: "Abonné·e·s" + followers-desc: "Publier à vos abonné·e·s uniquement" specified: "Direct" - specified-desc: "Publier uniquement aux utilisateurs mentionnés" + specified-desc: "Publier uniquement aux utilisateur·rice·s mentionné·e·s" local-public: "Local (Public)" local-home: "Accueil (local uniquement)" - local-followers: "Local (Abonnés)" + local-followers: "Abonné·e·s (Local uniquement)" note-placeholders: a: "Que faites-vous maintenant ?" b: "Quoi de neuf ?" @@ -156,6 +184,7 @@ common: web-search-engine: "Moteur de recherche Web" web-search-engine-desc: "Exemple : https://www.google.com/?#q={{query}}" keep-cw: "Maintenir l'avertissement de contenu" + keep-cw-desc: "Lorsque vous répondez à un message, le même avertissement de contenu est reprit par défaut dans la réponse, le même que celui qui a été défini dans le message original." i-like-sushi: "Je préfère les sushis plutôt que le pudding" show-reversi-board-labels: "Afficher les étiquettes des lignes et colonnes dans Reversi" use-avatar-reversi-stones: "Utiliser l’avatar comme pion dans Reversi" @@ -198,9 +227,11 @@ common: delete-wallpaper: "Supprimer le fond d'écran" post-form-on-timeline: "Afficher le champs de saisie en haut du fil" show-clock-on-header: "Afficher l'horloge sur le coté supérieur droit" + show-reply-target: "Afficher les réponses" timeline: "Fil d’actualité" show-my-renotes: "Afficher mes republications dans le fil" show-renoted-my-notes: "Afficher les partages de mes propres notes sur le fil" + show-local-renotes: "Afficher les partages locaux sur les fils" remain-deleted-note: "Continuer à afficher les notes supprimées" sound: "Son" enable-sounds: "Activer les sons" @@ -234,6 +265,7 @@ common: disable-via-mobile: "Enlever la mention publié via 'mobile'" load-raw-images: "Afficher les photos jointes dans leur qualité originale" load-remote-media: "Afficher les médias depuis le serveur distant" + sync: "Synchroniser" search: "Recherche" delete: "Supprimer" loading: "Chargement en cours …" @@ -283,7 +315,7 @@ common: version: "Version" broadcast: "Diffusion" notifications: "Notifications" - users: "Utilisateurs recommandés" + users: "Utilisateur·rice·s recommandé·e·s" polls: "Sondages" post-form: "Champs de publication" server: "Infos sur le serveur" @@ -310,13 +342,14 @@ auth/views/index.vue: error: "La session n’existe pas." sign-in: "Veuillez vous connecter" common/views/pages/explore.vue: - popular-users: "Utilisateurs populaires" - recently-updated-users: "Utilisateurs actifs récemment" + pinned-users: "Utilisateur·rice·s épinglé·e·s" + popular-users: "Utilisateur·rice·s populaires" + recently-updated-users: "Utilisateur·rice·s actif·ve·s récemment" recently-registered-users: "Les nouveaux inscrits" popular-tags: "Mots-clés populaires" federated: "Du Fédiverse" explore: "Explorer {host}" - users-info: "Actuellement, {users} utilisateurs se sont inscrit ici" + users-info: "Actuellement, {users} utilisateur·rice·s se sont inscrit ici" common/views/components/url-preview.vue: enable-player: "Activer la lecture" disable-player: "Fermer le lecteur" @@ -441,6 +474,7 @@ common/views/components/messaging.vue: user: "Utilisateur·rice·s" group: "Groupe" start-with-user: "Initier une discussion avec un·e utilisateur·rice" + start-with-group: "Démarrer un groupe et converser" select-group: "Sélectionner un groupe" common/views/components/messaging-room.vue: not-talked-user: "Vous n'avez pas encore discuté avec cet·te utilisateur·rice" @@ -532,6 +566,7 @@ common/views/components/poll-editor.vue: day: "D" common/views/components/reaction-picker.vue: choose-reaction: "Choisissez votre réaction" + input-reaction-placeholder: "ou insérez un émoji" common/views/components/emoji-picker.vue: custom-emoji: "Émoji personnalisé" people: "Personnes" @@ -573,6 +608,7 @@ common/views/components/signup.vue: password-matched: "OK" password-not-matched: "Les mots de passe ne correspondent pas." recaptcha: "Vérifier" + agree-to: "Accepter {0}." tos: "Conditions d'utilisation" create: "Créer un compte" some-error: "La création du compte a échoué. Veuillez réessayer." @@ -618,13 +654,13 @@ common/views/components/visibility-chooser.vue: followers: "Abonné·e·s" followers-desc: "Publier à vos abonné·e·s uniquement" specified: "Direct" - specified-desc: "Publier uniquement aux utilisateurs mentionnés" + specified-desc: "Publier uniquement aux utilisateur·rice·s mentionné·e·s" local-public: "Local (Public)" local-public-desc: "Ne pas publier pour les distants" local-home: "Accueil (local uniquement)" - local-followers: "Local (Abonnés)" + local-followers: "Abonné·e·s (Local uniquement)" common/views/components/trends.vue: - count: "{} utilisateurs mentionnés" + count: "{} utilisateur·rice·s mentionné·e·s" empty: "Aucune tendance" common/views/components/language-settings.vue: title: "Langue " @@ -683,8 +719,13 @@ common/views/components/user-list-editor.vue: deleted: "Supprimé" add-user: "Ajouter un utilisateur" common/views/components/user-group-editor.vue: + users: "Membres" rename: "Renommer le groupe" delete: "Supprimer le groupe" + transfer: "Transférer de groupe" + transferred: "Groupe transféré" + remove-user: "Enlever un utilisateur de ce groupe" + delete-are-you-sure: "Désirez-vous vraiment supprimer le groupe $1 ?" deleted: "Supprimé" invite: "Inviter" invited: "Invitation envoyée avec succès" @@ -858,7 +899,7 @@ desktop/views/components/media-video.vue: sensitive: "Le contenu est NSFW" click-to-show: "Cliquer pour afficher" desktop/views/components/followers-window.vue: - followers: "{} abonné·e·s" + followers: "Abonné·e·s de {}" desktop/views/components/followers.vue: empty: "Il semble que vous n’avez pas encore d’abonné·e·s." desktop/views/components/following-window.vue: @@ -895,34 +936,12 @@ desktop/views/components/notes.vue: desktop/views/components/notifications.vue: empty: "Aucune de notification !" desktop/views/components/post-form.vue: - add-visible-user: "+Ajouter un·e utilisateur·rice" - attach-location-information: "Attacher des informations de localisation" - hide-contents: "Masquer les contenus" - reply-placeholder: "Répondre à cette note …" - quote-placeholder: "Citer cette note …" - submit: "Publier" - reply: "Répondre" - renote: "Republier" posted: "Publié !" replied: "Répondu !" reposted: "Reposté !" note-failed: "La note à échoué" reply-failed: "La réponse a échoué" renote-failed: "Échec lors de la republication" - posting: "Publication …" - attach-media-from-local: "Joindre un média depuis votre appareil" - attach-media-from-drive: "Joindre un média depuis votre Drive" - insert-a-kao: "v('ω')v" - create-poll: "Créer un sondage" - text-remain: "{} caractères restants" - recent-tags: "Récent" - local-only-message: "Ce message sera publié uniquement sur le fil local" - click-to-tagging: "Cliquer pour taguer" - visibility: "Visibilité" - geolocation-alert: "Votre appareil ne prend pas en charge les services de localisation" - error: "Erreur" - enter-username: "Saisir un nom d'utilisateur …" - annotations: "Commenter le contenu (optionnel)" desktop/views/components/post-form-window.vue: note: "Nouvelle note" reply: "Répondre" @@ -1071,7 +1090,10 @@ admin/views/index.vue: abuse: "Abus" queue: "File d’attente" logs: "Journaux" + db: "Base de données" back-to-misskey: "Retour vers Misskey" +admin/views/db.vue: + tables: "Tables" admin/views/dashboard.vue: dashboard: "Tableau de bord" accounts: "Comptes" @@ -1083,6 +1105,30 @@ admin/views/dashboard.vue: admin/views/queue.vue: title: "File d'attente" remove-all-jobs: "Enlever toutes les tâches en attente" + jobs: "Tâches" + queue: "File d'attente" + domains: + deliver: "Délivrées" + inbox: "Reçues" + db: "Base de données" + state: "État" + states: + active: "en cours" + delayed: "Programmé" + waiting: "En file d'attente" + other-queues: "Autres files d’attente" +admin/views/logs.vue: + logs: "Journaux" + domain: "Domaine" + level: "Niveau" + levels: + all: "Tous" + info: "Informations" + success: "Succès" + warning: "Avertissement" + error: "Erreur" + debug: "Débogage" + delete-all: "Effacer tout" admin/views/abuse.vue: title: "Abus" target: "Cible" @@ -1106,9 +1152,12 @@ admin/views/instance.vue: maintainer-name: "Nom de l’administrateur" maintainer-email: "Contact administratif" advanced-config: "Autres réglages" + note-and-tl: "Notes et fils" drive-config: "Paramètres du lecteur" object-storage-base-url: "URL" + object-storage-prefix: "Préfixe" object-storage-endpoint: "Point de terminaison" + object-storage-region: "Région" object-storage-port: "Port" object-storage-access-key: "Clé d'accès" object-storage-secret-key: "Clé secrète" @@ -1120,10 +1169,13 @@ admin/views/instance.vue: mb: "en mégaoctets" recaptcha-config: "Paramètres de reCAPTCHA" recaptcha-info: "Si activé, un jeton reCAPTCHA est requis. Vous pouvez en obtenir un sur https://www.google.com/recaptcha/intro/" + recaptcha-info2: "v3 n'est pas supportée. Veuillez utiliser v2." enable-recaptcha: "Activation de reCAPTCHA" + recaptcha-site-key: "Clé du site" recaptcha-secret-key: "Clé secrète" recaptcha-preview: "Prévisualisation" hidden-tags: "Tags cachés" + external-service-integration-config: "Services connectés" twitter-integration-config: "Paramètres de connexion à Twitter" twitter-integration-info: "L'URL de callback est {url}." enable-twitter-integration: "Activer la connexion à Twitter" @@ -1148,9 +1200,12 @@ admin/views/instance.vue: disable-local-timeline: "Désactiver le fil local" disable-global-timeline: "Désactiver le fil global" disabling-timelines-info: "Même si vous désactivez ces fils, l'administrateur et les modérateurs peuvent continuer à les utiliser." + enable-emoji-reaction: "Activer les pictogrammes dans les réactions" + use-star-for-reaction-fallback: "Utiliser une étoile si une réaction est inconnue" invite: "Inviter" save: "Sauvegarder" saved: "Enregistré" + pinned-users: "Utilisateur·rice épinglé·e" email-config: "Paramètres du serveur de messagerie" email-config-info: "Utilisé pour confirmer votre adresse de courrier électronique et la réinitialisation de votre mot de passe." enable-email: "Activation de la distribution du courrier" @@ -1174,7 +1229,7 @@ admin/views/charts.vue: per-hour: "par heure" federation: "Fédération" notes: "Publications" - users: "Utilisateurs" + users: "Utilisateur·rice·s" drive: "Lecteur" network: "Réseau" charts: @@ -1184,8 +1239,8 @@ admin/views/charts.vue: local-notes: "Nombre des publications : augmentation/diminution (Local)" remote-notes: "Nombre de publications : augmentation/diminution (distants)" notes-total: "Total des notes" - users: "Nombre d’utilisateurs : augmentation/diminution" - users-total: "Nombre total des utilisateurs" + users: "Nombre d’utilisateur·rice·s : augmentation/diminution" + users-total: "Nombre total des utilisateur·rice·s" active-users: "Utilisateur·rice·s actif·ve·s" drive: "Capacité utilisée comme stockage : augmentation/diminution" drive-total: "Utilisation totale du lecteur" @@ -1216,6 +1271,8 @@ admin/views/drive.vue: unmark-as-sensitive: "Ne pas marquer comme sensible" marked-as-sensitive: "Marqué comme sensible" unmarked-as-sensitive: "Marqué comme non sensible" + clean-remote-files: "Nettoyer le cache des fichiers distants" + clean-up: "Nettoyage" admin/views/users.vue: operation: "Actions" username-or-userid: "Nom d’utilisateur·rice ou ID utilisateur" @@ -1235,6 +1292,7 @@ admin/views/users.vue: unmake-silence: "Enlever la sourdine" update-remote-user: "Mettre à jour les informations de l’utilisateur·rice distant·e" remote-user-updated: "Les informations de l’utilisateur·rice distant·e ont étés mis à jour" + delete-all-files: "Supprimer tous les fichiers" users: title: "Utilisateur·rice·s" sort: @@ -1309,6 +1367,7 @@ admin/views/federation.vue: latest-request-sent-at: "Dernière requête envoyée" latest-request-received-at: "Dernière requête reçue" remove-all-following-info: "Se désabonner de tous les comptes de {host}. Exécutez cette commande si l'instance n'existe plus." + delete-all-files: "Supprimer tous les fichiers" block: "Bloquer" marked-as-closed: "Marquées comme fermées" lookup: "Recherche" @@ -1321,7 +1380,7 @@ admin/views/federation.vue: lastCommunicatedAtAsc: "La date et l'heure des interactions plus anciennes" lastCommunicatedAtDesc: "La date et l'heure des nouvelles interactions" notesDesc: "Description des notes" - usersAsc: "Peu d'abonnés" + usersAsc: "Peu d'abonné·e·s" followingAsc: "Les moins suivies" followingDesc: "Ayant le plus d'abonné·e·s" followersAsc: "Ayant le moins d'abonné·e·s" @@ -1336,7 +1395,7 @@ admin/views/federation.vue: charts: "Graphs" chart-srcs: requests: "Requêtes" - users: "Nombre d’utilisateurs·trices : augmentation/diminution" + users: "Nombre d’utilisateur·trice·s : augmentation/diminution" users-total: "Nombre total des utilisateur·rice·s" notes: "Augmentation/diminution du nombre des notes" notes-total: "Nombre total des notes" @@ -1348,6 +1407,7 @@ admin/views/federation.vue: hour: "Par heure" day: "Par jour" blocked-hosts: "En cours blocage" + save: "Enregistrer" desktop/views/pages/welcome.vue: about: "à propos" timeline: "Fil d’actualité" @@ -1377,7 +1437,7 @@ desktop/views/pages/user-list.users.vue: desktop/views/pages/user/user.followers-you-know.vue: title: "Abonné·e·s que vous connaissez" loading: "Chargement en cours" - no-users: "Aucun abonné connu" + no-users: "Aucun·e abonné·e connu·e" desktop/views/pages/user/user.friends.vue: title: "Mentions fréquentes" loading: "Chargement en cours" @@ -1430,8 +1490,10 @@ mobile/views/components/drive.vue: nothing-in-drive: "Rien" folder-is-empty: "Ce dossier est vide" folder-name: "Nom du dossier" + here-is-root: "Actuellement, vous êtes dans la racine et non pas dans un dossier." url-prompt: "URL du fichier que vous souhaitez téléverser" uploading: "Envoi demandé. Le téléversement pourrait prendre un certain temps avant de s'achever." + folder-name-cannot-empty: "Le nom du dossier ne peut être laissé vide." mobile/views/components/drive-file-chooser.vue: select-file: "Choisissez un fichier" mobile/views/components/drive-folder-chooser.vue: @@ -1476,17 +1538,6 @@ mobile/views/components/note-sub.vue: cat: "chat" mobile/views/components/notifications.vue: empty: "Aucune de notification !" -mobile/views/components/post-form.vue: - add-visible-user: "Ajouter un·e utilisateur·rice" - submit: "Publier" - reply: "Répondre" - renote: "Republier" - quote-placeholder: "Citer ce billet ... (Facultatif)" - reply-placeholder: "Répondre à cette note" - cw-placeholder: "Commenter le contenu (optionnel)" - geolocation-alert: "Votre appareil ne prend pas en charge les services de localisation" - error: "Erreur" - username-prompt: "Saisir un nom d'utilisateur" mobile/views/components/sub-note-content.vue: private: "cette publication est privée" deleted: "cette publication a été supprimée" @@ -1589,7 +1640,7 @@ deck: remove: "Supprimer la colonne" add-column: "Ajouter une colonne" rename: "Renommer" - stack-left: "Vers la gauche" + stack-left: "Empiler à gauche" pop-right: "Vers la droite" disabled-timeline: title: "Le fil été désactivé" @@ -1601,7 +1652,7 @@ deck/deck.user-column.vue: follows-you: "Vous suit" posts: "Notes" following: "Suit" - followers: "Abonnés" + followers: "Abonné·e·s" images: "Images" activity: "Activité" timeline: "Fil d’actualité" @@ -1617,23 +1668,34 @@ dev/views/apps.vue: app-missing: "Aucune application" dev/views/new-app.vue: new-app: "Nouvelle application" + new-app-info: "Vous pouvez aussi créer une application avec l'API. (app/create)" create-app: "Création d’une application" app-name: "Nom de l’application" + app-name-placeholder: "p. ex. Misskey pour iOS" app-name-desc: "Le nom de votre application" app-overview: "Description courte de l’application" + app-overview-placeholder: "p. ex. Misskey pour iOS" + app-overview-desc: "Brève description introductive à votre application." callback-url: "L’Url de callback (facultatif)" + callback-url-placeholder: "p. ex. https://votre.app.example.com/callback.php" callback-url-desc: "Vous pouvez définir l’URL de redirection lorsque l’utilisateur s’est authentifié via formulaire d’authentification." authority: "Autorisations " authority-desc: "Sont accessibles via l’API, uniquement les fonctionnalités demandées ici." authority-warning: "Vous pouvez le changer même après avoir créé l'application, mais si vous attribuez une nouvelle permission, toutes les clés utilisateur associées seront dès lors invalides." pages: + new-page: "Créer une page" + edit-page: "Modifier une page" + read-page: "Voir la source" page-created: "Page a été créée !" + page-updated: "A mis à jour la page" are-you-sure-delete: "Confirmez-vous la suppression de cette page ?" page-deleted: "La page a bien été supprimée." edit-this-page: "Éditer cette page" view-source: "Afficher la source" view-page: "Afficher la page" like: "Bien" + liked-pages: "Pages favorites" + my-pages: "Mes pages" inspector: "Inspecteur" content: "Bloc de page" variables: "Variables" @@ -1645,6 +1707,8 @@ pages: font: "Police de caractères" fontSerif: "Serif" fontSansSerif: "Sans Serif" + set-eye-catching-image: "Définir une image attirante" + remove-eye-catching-image: "Supprimer une image attirante" choose-block: "Ajouter un bloc" select-type: "Choisir un type" enter-variable-name: "Veuillez choisir un nom de variable" @@ -1707,9 +1771,11 @@ pages: random: "Aléatoire" value: "Valeur" fn: "Fonction" + text: "Actions texte" list: "Listes" blocks: text: "Texte" + textList: "Liste de texte" strLen: "Longueur du texte" _strLen: arg1: "Texte" @@ -1742,7 +1808,7 @@ pages: _divide: arg1: "A" arg2: "B" - _remind: + _mod: arg1: "A" arg2: "B" eq: "A et B sont équivalents" @@ -1753,21 +1819,27 @@ pages: _notEq: arg1: "A" arg2: "B" + and: "A et B" _and: arg1: "A" arg2: "B" + or: "A ou B" _or: arg1: "A" arg2: "B" + lt: "A est plus petit que B" _lt: arg1: "A" arg2: "B" + gt: "A est supérieur à B" _gt: arg1: "A" arg2: "B" + ltEq: "A est plus petit ou égal à B" _ltEq: arg1: "A" arg2: "B" + gtEq: "A est supérieur ou égal à B" _gtEq: arg1: "A" arg2: "B" @@ -1779,6 +1851,13 @@ pages: _not: arg1: "négation" random: "Aléatoire" + _random: + arg1: "Probabilité" + rannum: "Nombre aléatoire" + _rannum: + arg1: "Minimum" + arg2: "Maximum" + randomPick: "Choisir aléatoirement depuis la liste" _randomPick: arg1: "Listes" _dailyRandom: @@ -1801,6 +1880,8 @@ pages: _pick: arg1: "Listes" arg2: "Position" + _listLen: + arg1: "Listes" number: "Numérique" stringToNumber: "Chaîne en chiffres" _stringToNumber: @@ -1816,10 +1897,14 @@ pages: slots: "Emplacement" arg1: "Sortie" for: "Répéter" + _for: + arg1: "Compter" + arg2: "Action" thereIsEmptySlot: "Slot {slot} est vide !" types: string: "Texte" number: "Numérique" + boolean: "Marqueur" array: "Listes" stringArray: "Liste de texte" emptySlot: "Slot vide" diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 52f1e2901..88673e804 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -282,6 +282,9 @@ common: disable-via-mobile: "「モバイルからの投稿」フラグを付けない" load-raw-images: "添付された画像を高画質で表示する" load-remote-media: "リモートサーバーのメディアを表示する" + sync: "同期" + home-profile: "ホームのプロファイル" + deck-profile: "デッキのプロファイル" search: "検索" delete: "削除" @@ -1226,8 +1229,12 @@ admin/views/index.vue: abuse: "スパム報告" queue: "ジョブキュー" logs: "ログ" + db: "データベース" back-to-misskey: "Misskeyに戻る" +admin/views/db.vue: + tables: "テーブル" + admin/views/dashboard.vue: dashboard: "ダッシュボード" accounts: "アカウント" @@ -2060,8 +2067,8 @@ pages: _divide: arg1: "A" arg2: "B" - remind: "÷ 割った余り" - _remind: + mod: "÷ 割った余り" + _mod: arg1: "A" arg2: "B" eq: "AとBが同じ" @@ -2144,6 +2151,9 @@ pages: _pick: arg1: "リスト" arg2: "位置" + listLen: "リストの長さを取得" + _listLen: + arg1: "リスト" number: "数値" stringToNumber: "テキストを数値に" _stringToNumber: diff --git a/locales/ja-KS.yml b/locales/ja-KS.yml index 8c322fe52..85ad415d7 100644 --- a/locales/ja-KS.yml +++ b/locales/ja-KS.yml @@ -62,6 +62,14 @@ common: favorites: "お気に入り" permissions: "write:votes": "投票するで" + post-form: + submit: "投稿" + reply: "返す" + renote: "Renote" + error: "エラー" + enter-username: "ユーザー名を入力してや" + add-visible-user: "ユーザー増やす" + username-prompt: "ユーザー名を入力してや" weekday-short: sunday: "日" monday: "月" @@ -670,33 +678,12 @@ desktop/views/components/notes.vue: desktop/views/components/notifications.vue: empty: "あらへん!" desktop/views/components/post-form.vue: - add-visible-user: "+ユーザー増やす" - attach-location-information: "いる場所くっつけるで" - hide-contents: "内容を隠す" - reply-placeholder: "この投稿への返信..." - quote-placeholder: "この投稿を引用..." - submit: "投稿" - reply: "返信" - renote: "Renote" posted: "投稿したで!" replied: "返信したで!" reposted: "Renoteしたで!" note-failed: "投稿に失敗したで" reply-failed: "返信に失敗したで" renote-failed: "Renoteでけへん" - posting: "投稿中" - attach-media-from-local: "PCからメディア持ってくる" - attach-media-from-drive: "ドライブからメディア持ってくる" - create-poll: "アンケートを作成" - text-remain: "残り{}文字" - recent-tags: "最近のタグ" - local-only-message: "この投稿はローカルだけ公開されるで" - click-to-tagging: "クリックでタグ付け" - visibility: "公開範囲" - geolocation-alert: "あんさんのつことる端末は位置情報に対応しとらんみたいやわ、知らんけど。" - error: "エラー" - enter-username: "ユーザー名を入力してや" - annotations: "もっと教えてな(別にええけど)" desktop/views/components/post-form-window.vue: note: "新規投稿" reply: "返す" @@ -845,6 +832,10 @@ admin/views/dashboard.vue: instances: "インスタンス" this-instance: "ワイのインスタンス" federated: "連合" +admin/views/logs.vue: + levels: + info: "情報" + error: "エラー" admin/views/abuse.vue: details: "もっと" remove-report: "削除" @@ -991,6 +982,7 @@ admin/views/federation.vue: hour: "1時間ごと" day: "1日ごと" blocked-hosts: "ブロック" + save: "保存" desktop/views/pages/welcome.vue: about: "もうちょい……" timeline: "タイムライン" @@ -1114,17 +1106,6 @@ mobile/views/components/note-sub.vue: cat: "cat" mobile/views/components/notifications.vue: empty: "あらへん!" -mobile/views/components/post-form.vue: - add-visible-user: "ユーザー増やす" - submit: "投稿" - reply: "返す" - renote: "Renote" - quote-placeholder: "この投稿を持ってくる(オプション)" - reply-placeholder: "この投稿への返信..." - cw-placeholder: "内容への注釈 (オプション)" - geolocation-alert: "あんさんのつことる端末は位置情報に対応しとらんみたいやわ、知らんけど。" - error: "エラー" - username-prompt: "ユーザー名を入力してや" mobile/views/components/sub-note-content.vue: private: "この投稿は見せられへんわ" deleted: "この投稿なんか無くなってもうたわ" @@ -1273,5 +1254,7 @@ pages: arg2: "リスト" _pick: arg1: "リスト" + _listLen: + arg1: "リスト" types: array: "リスト" diff --git a/locales/ko-KR.yml b/locales/ko-KR.yml index 47e16d5d4..5272973ec 100644 --- a/locales/ko-KR.yml +++ b/locales/ko-KR.yml @@ -4,7 +4,7 @@ meta: common: misskey: "연합우주의 ⭐" about-title: "연합우주의 ⭐." - about: "Misskey를 찾아주셔서 감사합니다. Misskey는 지구에서 태어난 분산 마이크로 블로그 SNS 입니다. Fediverse(다양한 SNS로 구성되는 우주)에 존재하는 다른 SNS와 상호 연결되어 있습니다. 잠시 도시의 번잡함에서 벗어나 새로운 인터넷에 다이브 해 보지 않겠습니까." + about: "Misskey를 발견해주셔서 감사합니다! Misskey는 지구에서 태어난 분산 마이크로 블로그 SNS 입니다. Fediverse (다양한 SNS가 함께하는 우주) 속에 존재하고 있어서, 다른 SNS와 서로 연결되어 있습니다. 번잡한 도시에서 벗어나 새로운 인터넷에 빠져보지 않으시겠어요?" intro: title: "Misskey란?" about: "Misskey는 오픈소스 분산형 마이크로블로그 SNS입니다. 다양하고 폭넓게 커스터마이징할 수 있는 UI, 글에 대한 리액션, 파일을 관리할 수 있는 드라이브 등의 선진적인 기능을 갖추고 있습니다. 더하여 Fediverse라고 부르는 네트워크에 연결할 수 있어 다른 SNS와도 주고받을 수 있습니다. 예를 들자면, 당신이 무언가를 게시하면, 해당 게시물은 Misskey 뿐만 아니라 다른 SNS에도 전해집니다. 살짝 어떤 행성에서 다른 행성으로 전파를 발신하고 있는 모습을 상상해주세요." @@ -95,6 +95,33 @@ common: empty-timeline-info: follow-users-to-make-your-timeline: "사용자를 팔로우하면 글이 타임라인에 표시됩니다." explore: "사용자 탐색" + post-form: + attach-location-information: "위치 정보를 첨부합니다" + hide-contents: "내용 숨기기" + reply-placeholder: "이 글에 답글..." + quote-placeholder: "이 글을 인용..." + option-quote-placeholder: "이 글을 인용... (옵션)" + quote-attached: "인용함" + quote-question: "인용해서 작성하시겠습니까?" + submit: "글쓰기" + reply: "답글 달기" + renote: "리노트" + posting: "게시중" + attach-media-from-local: "PC에서 미디어 첨부" + attach-media-from-drive: "드라이브에서 미디어 첨부" + insert-a-kao: "v('ω')v" + create-poll: "투표 만들기" + text-remain: "{}문자 남음" + recent-tags: "최근" + local-only-message: "이 글은 로컬에만 공개되어 있습니다" + click-to-tagging: "클릭하여 태그 넣기" + visibility: "공개 범위" + geolocation-alert: "사용 중이신 장치에서는 위치 정보를 사용할 수 없습니다" + error: "오류" + enter-username: "사용자명을 입력해주세요" + add-visible-user: "사용자 추가" + cw-placeholder: "내용에 대한 주석 (옵션)" + username-prompt: "사용자명을 입력해주세요" weekday-short: sunday: "일" monday: "월" @@ -243,6 +270,9 @@ common: disable-via-mobile: "작성하는 글에 \"모바일에서 작성함\" 을 붙이지 않음" load-raw-images: "첨부 이미지를 고품질로 표시" load-remote-media: "원격 서버의 미디어를 표시" + sync: "동기화" + home-profile: "홈 프로필" + deck-profile: "덱 프로필" search: "검색" delete: "삭제" loading: "로드 중" @@ -253,13 +283,13 @@ common: my-token-regenerated: "당신의 토큰이 업데이트되었으므로 로그아웃합니다." hide-password: "비밀번호 숨기기" show-password: "비밀번호 표시" - enter-username: "사용자명을 입력하여 주십시오" + enter-username: "사용자명을 입력해주세요" do-not-use-in-production: "이것은 개발 빌드입니다. 프로덕션 환경에서 사용하지 마십시오." user-suspended: "이 사용자는 정지된 상태입니다." is-remote-user: "이 사용자 정보는 정확하지 않을 수 있습니다." is-remote-post: "이 글 정보는 복사본입니다." view-on-remote: "정확한 정보 보기" - renoted-by: "{user}이(가) 리노트" + renoted-by: "{user}님이 리노트" no-notes: "글이 없습니다" turn-on-darkmode: "어둠에 삼켜져라" turn-off-darkmode: "빛이 있으라" @@ -922,34 +952,12 @@ desktop/views/components/notes.vue: desktop/views/components/notifications.vue: empty: "비었습니다!" desktop/views/components/post-form.vue: - add-visible-user: "+사용자 추가" - attach-location-information: "위치정보를 첨부하기" - hide-contents: "내용 숨기기" - reply-placeholder: "이 글에 답글..." - quote-placeholder: "이 글을 인용..." - submit: "글쓰기" - reply: "답글 달기" - renote: "리노트" posted: "게시하였습니다!" replied: "답글을 달았습니다!" reposted: "리노트 하였습니다!" note-failed: "게시에 실패하였습니다" reply-failed: "답글을 달지 못했습니다" renote-failed: "리노트에 실패하였습니다" - posting: "게시중" - attach-media-from-local: "PC에서 미디어 첨부" - attach-media-from-drive: "드라이브에서 미디어 첨부" - insert-a-kao: "v('ω')v" - create-poll: "투표 만들기" - text-remain: "{}문자 남음" - recent-tags: "최근" - local-only-message: "이 글은 로컬에만 공개되어 있습니다" - click-to-tagging: "클릭하여 태그 넣기" - visibility: "공개설정" - geolocation-alert: "사용하시는 장치가 위치정보 기능에 대응하지 않습니다" - error: "오류" - enter-username: "사용자명을 입력해주세요" - annotations: "내용 주석 (선택적)" desktop/views/components/post-form-window.vue: note: "새 글" reply: "답글 달기" @@ -1098,7 +1106,10 @@ admin/views/index.vue: abuse: "스팸 신고" queue: "작업 대기열" logs: "로그" + db: "데이터베이스" back-to-misskey: "Misskey로 돌아가기" +admin/views/db.vue: + tables: "테이블" admin/views/dashboard.vue: dashboard: "대시보드" accounts: "계정" @@ -1110,6 +1121,32 @@ admin/views/dashboard.vue: admin/views/queue.vue: title: "큐" remove-all-jobs: "모든 작업 제거" + jobs: "작업" + queue: "큐" + domains: + deliver: "전송" + inbox: "수신" + db: "데이터베이스" + objectStorage: "오브젝트 스토리지" + state: "상태" + states: + active: "처리중" + delayed: "지연됨" + waiting: "대기열에 있음" + result-is-truncated: "결과는 생략되었습니다" + other-queues: "기타 큐" +admin/views/logs.vue: + logs: "로그" + domain: "도메인" + level: "수준" + levels: + all: "전체" + info: "정보" + success: "성공" + warning: "경고" + error: "오류" + debug: "디버그" + delete-all: "모두 삭제" admin/views/abuse.vue: title: "스팸 신고" target: "대상" @@ -1261,6 +1298,9 @@ admin/views/drive.vue: unmark-as-sensitive: "열람주의 해제" marked-as-sensitive: "열람주의로 설정하였습니다" unmarked-as-sensitive: "열람주의를 제거하였습니다" + clean-remote-files: "리모트 파일 캐시를 삭제" + clean-remote-files-are-you-sure: "정말 모든 리모트 파일의 캐시를 삭제하시겠습니까?" + clean-up: "청소" admin/views/users.vue: operation: "작업" username-or-userid: "사용자명 혹은 사용자 ID" @@ -1407,6 +1447,7 @@ admin/views/federation.vue: day: "1일마다" blocked-hosts: "차단" blocked-hosts-info: "차단할 호스트를 줄바꿈으로 구분하여 기술합니다." + save: "저장" desktop/views/pages/welcome.vue: about: "자세히..." timeline: "타임라인" @@ -1538,17 +1579,6 @@ mobile/views/components/note-sub.vue: cat: "cat" mobile/views/components/notifications.vue: empty: "없습니다!" -mobile/views/components/post-form.vue: - add-visible-user: "사용자 추가" - submit: "글쓰기" - reply: "답글 달기" - renote: "리노트" - quote-placeholder: "이 글을 인용... (선택적)" - reply-placeholder: "이 글에 답글..." - cw-placeholder: "내용 주석 (선택적)" - geolocation-alert: "사용하시는 장치가 위치정보 기능에 대응하지 않습니다" - error: "오류" - username-prompt: "사용자명을 입력하여 주십시오" mobile/views/components/sub-note-content.vue: private: "이 글은 비공개입니다" deleted: "이 글은 삭제되었습니다" @@ -1833,8 +1863,8 @@ pages: _divide: arg1: "A" arg2: "B" - remind: "÷ 나눈 나머지" - _remind: + mod: "÷ 나눈 나머지" + _mod: arg1: "A" arg2: "B" eq: "A와 B가 동일" @@ -1917,6 +1947,8 @@ pages: _pick: arg1: "리스트" arg2: "위치" + _listLen: + arg1: "리스트" number: "수치" stringToNumber: "텍스트를 수치로" _stringToNumber: diff --git a/locales/nl-NL.yml b/locales/nl-NL.yml index fd7a27eb9..355b3cb68 100644 --- a/locales/nl-NL.yml +++ b/locales/nl-NL.yml @@ -25,6 +25,10 @@ common: favorites: "Deze notitie toevoegen aan favorieten" permissions: "write:votes": "Stemmen" + post-form: + submit: "Bericht" + reply: "Beantwoorden" + add-visible-user: "Gebruiker toevoegen" weekday-short: sunday: "Z" monday: "M" @@ -325,21 +329,12 @@ desktop/views/components/notes.vue: desktop/views/components/notifications.vue: empty: "Geen meldingen" desktop/views/components/post-form.vue: - reply-placeholder: "Deze notitie beantwoorden..." - quote-placeholder: "Deze notitie citeren..." - submit: "Bericht" - reply: "Beantwoorden" posted: "Geplaatst!" replied: "Beantwoord!" reposted: "Hergeplaatst!" note-failed: "Noteren mislukt" reply-failed: "Beantwoorden mislukt" renote-failed: "Renote mislukt" - posting: "Bezig met plaatsen" - attach-media-from-local: "Media bijvoegen van je computer" - attach-media-from-drive: "Media bijvoegen uit je Drive" - create-poll: "Peiling creëren" - text-remain: "{} resterende tekens" desktop/views/components/post-form-window.vue: note: "Nieuwe notitie" reply: "Beantwoorden" @@ -538,11 +533,6 @@ mobile/views/components/note-detail.vue: location: "Locatie" mobile/views/components/notifications.vue: empty: "Geen meldingen" -mobile/views/components/post-form.vue: - add-visible-user: "Gebruiker toevoegen" - submit: "Plaatsen" - reply: "Antwoord" - reply-placeholder: "Deze notitie beantwoorden..." mobile/views/components/sub-note-content.vue: private: "(dit bericht is privé)" media-count: "{} media" @@ -633,5 +623,7 @@ pages: arg2: "Lijsten" _pick: arg1: "Lijsten" + _listLen: + arg1: "Lijsten" types: array: "Lijsten" diff --git a/locales/no-NO.yml b/locales/no-NO.yml index 7206c771d..296c0ccca 100644 --- a/locales/no-NO.yml +++ b/locales/no-NO.yml @@ -39,6 +39,10 @@ common: favorites: "Merket som favoritt" permissions: "write:votes": "Stem" + post-form: + submit: "Innlegg" + reply: "Svar" + error: "Feil" weekday-short: sunday: "S" monday: "M" @@ -261,13 +265,6 @@ desktop/views/components/note.vue: detail: "Detaljer" desktop/views/components/notes.vue: retry: "Prøv på nytt" -desktop/views/components/post-form.vue: - submit: "Send" - reply: "Svar" - posting: "Publiserer" - recent-tags: "Nylig" - visibility: "Synlighet" - error: "Feil" desktop/views/components/post-form-window.vue: note: "Nytt innlegg" reply: "Svar" @@ -328,6 +325,10 @@ admin/views/index.vue: admin/views/dashboard.vue: notes: "Innlegg" drive: "Disk" +admin/views/logs.vue: + levels: + info: "Informasjon" + error: "Feil" admin/views/abuse.vue: details: "Detaljer" remove-report: "Slett" @@ -366,6 +367,7 @@ admin/views/federation.vue: status: "Status" states: all: "Alle" + save: "Lagre" desktop/views/pages/welcome.vue: announcements: "Kunngjøringer" info: "Informasjon" @@ -437,10 +439,6 @@ mobile/views/components/note-sub.vue: admin: "admin" bot: "bot" cat: "katt" -mobile/views/components/post-form.vue: - submit: "Send" - reply: "Svar" - error: "Feil" mobile/views/components/ui.header.vue: adjective: "Mr." mobile/views/components/ui.nav.vue: @@ -505,5 +503,7 @@ pages: arg2: "Lister" _pick: arg1: "Lister" + _listLen: + arg1: "Lister" types: array: "Lister" diff --git a/locales/pl-PL.yml b/locales/pl-PL.yml index 08a5cfeb4..e7a34c4ac 100644 --- a/locales/pl-PL.yml +++ b/locales/pl-PL.yml @@ -68,6 +68,24 @@ common: "write:votes": "Zagłosuj" empty-timeline-info: explore: "Poznaj" + post-form: + hide-contents: "Ukryj zawartość" + reply-placeholder: "Odpowiedź na ten wpis…" + quote-placeholder: "Zacytuj ten wpis…" + submit: "Wpis" + reply: "Odpowiedz" + renote: "Udostępnij" + posting: "Wysyłanie" + attach-media-from-local: "Załącz zawartość multimedialną z komputera" + attach-media-from-drive: "Załącz zawartość multimedialną z dysku" + create-poll: "Utwórz ankietę" + text-remain: "pozostałe znaki: {}" + recent-tags: "Ostatnie" + visibility: "Widoczność" + error: "Błąd" + enter-username: "Wprowadź nazwę użytkownika" + add-visible-user: "Dodaj użytkownika" + username-prompt: "Wprowadź nazwę użytkownika" weekday-short: sunday: "N" monday: "Pn" @@ -218,6 +236,9 @@ auth/views/index.vue: please-go-back: "Wróć do aplikacji." error: "Sesja nie istnieje." sign-in: "Proszę zalogować się." +common/views/pages/explore.vue: + popular-users: "Popularni użytkownicy" + popular-tags: "Popularne tagi" common/views/components/games/reversi/reversi.vue: matching: waiting-for: "Oczekiwanie na {}" @@ -701,33 +722,12 @@ desktop/views/components/notes.vue: desktop/views/components/notifications.vue: empty: "Brak powiadomień" desktop/views/components/post-form.vue: - add-visible-user: "+Dodaj użytkownika" - attach-location-information: "Załącz informacje o lokalizacji" - hide-contents: "Ukryj zawartość" - reply-placeholder: "Odpowiedz na ten wpis…" - quote-placeholder: "Zacytuj ten wpis…" - submit: "Wyślij" - reply: "Odpowiedz" - renote: "Udostępnienie" posted: "Opublikowano!" replied: "Odpowiedziano!" reposted: "Udostępniono!" note-failed: "Nie udało się wysłać" reply-failed: "Nie udało się odpowiedzieć" renote-failed: "Nie udało się udostępnić" - posting: "Wysyłanie" - attach-media-from-local: "Załącz zawartość multimedialną z komputera" - attach-media-from-drive: "Załącz zawartość multimedialną z dysku" - insert-a-kao: "v('ω')v" - create-poll: "Utwórz ankietę" - text-remain: "pozostałe znaki: {}" - recent-tags: "Ostatnie" - click-to-tagging: "Naciśnij aby oznaczyć" - visibility: "Widoczność" - geolocation-alert: "Twoje urządzenie nie obsługuje geolokalizacji." - error: "Bład" - enter-username: "Wprowadź nazwę użytkownika…" - annotations: "Treść ostrzeżenia (opcjonalnie)" desktop/views/components/post-form-window.vue: note: "Nowy wpis" reply: "Odpowiedz" @@ -862,6 +862,10 @@ admin/views/dashboard.vue: notes: "Wpisy" drive: "Dysk" instances: "Instancja" +admin/views/logs.vue: + levels: + info: "Informacje" + error: "Błąd" admin/views/abuse.vue: details: "Szczegóły" remove-report: "Usuń" @@ -950,6 +954,7 @@ admin/views/federation.vue: chart-srcs: requests: "Żądania" blocked-hosts: "Zablokuj" + save: "Zapisz" desktop/views/pages/welcome.vue: about: "O Misskey" timeline: "Oś czasu" @@ -1072,17 +1077,6 @@ mobile/views/components/note-sub.vue: cat: "kot" mobile/views/components/notifications.vue: empty: "Brak powiadomień" -mobile/views/components/post-form.vue: - add-visible-user: "Dodaj użytkownika" - submit: "Wyślij" - reply: "Odpowiedz" - renote: "Udostępnij" - quote-placeholder: "Zacytuj ten wpis… (nieobowiązkowe)" - reply-placeholder: "Odpowiedź na ten wpis…" - cw-placeholder: "Treść ostrzeżenia (opcjonalnie)" - geolocation-alert: "Twoje urządzenie nie obsługuje geolokalizacji." - error: "Błąd" - username-prompt: "Wprowadź nazwę użytkownika" mobile/views/components/sub-note-content.vue: private: "ten wpis jest prywatny" deleted: "ten wpis został usunięty" @@ -1225,5 +1219,7 @@ pages: arg2: "Listy" _pick: arg1: "Listy" + _listLen: + arg1: "Listy" types: array: "Listy" diff --git a/locales/pt-PT.yml b/locales/pt-PT.yml index f2fd2a540..6409d5b02 100644 --- a/locales/pt-PT.yml +++ b/locales/pt-PT.yml @@ -45,6 +45,9 @@ common: trash: "Lixo" timeline: "Linha do tempo" followers: "Seguidores" + post-form: + enter-username: "Digite o nome de usuário." + username-prompt: "Digite o nome de usuário." weekday-short: sunday: "Dom" monday: "Seg" @@ -89,6 +92,7 @@ common: update-available-title: "Atualização disponível" update-available: "Uma nova versão de Misskey está disponível ({newer}). A versão atual é {current}. Recarregue a página para atualizar." my-token-regenerated: "Seu token foi recriado, portanto você foi deslogado." + enter-username: "Digite o nome de usuário." reversi: drawn: "Empatado" my-turn: "Seu turno" diff --git a/locales/ru-RU.yml b/locales/ru-RU.yml index 002e3bfab..01450b956 100644 --- a/locales/ru-RU.yml +++ b/locales/ru-RU.yml @@ -26,6 +26,13 @@ common: do-not-copy-paste: "Пожалуйста, не вводите и не вставляйте сюда код. Аккаунту может угрожать опасность." load-more: "Загрузить больше" enter-password: "Пожалуйста, введите ваш пароль" + 2fa: "Двухфакторная аутентификация" + customize-home: "Настройка домашней страницы" + dark-mode: "Тёмная тема" + signin: "Войти" + signup: "Регистрация" + signout: "Выйти" + reload-to-apply-the-setting: "Вам необходимо перезагрузить страницу, чтобы применить настройки. Вы хотите перезагрузить сейчас?" customization-tips: title: "Советы по настройке" gotit: "Понятно!" @@ -51,7 +58,14 @@ common: month-and-day: "{day}.{month}" trash: "Мусорное ведро" drive: "Drive" + pages: "Страницы" messaging: "Чат" + timeline: "Лента" + followers: "Подписчики" + favorites: "Избранное" + post-form: + reply: "Ответить" + create-poll: "Создать опрос" weekday-short: sunday: "Вс" monday: "Пн" diff --git a/locales/zh-CN.yml b/locales/zh-CN.yml index ec62f21b2..6ff353f20 100644 --- a/locales/zh-CN.yml +++ b/locales/zh-CN.yml @@ -95,6 +95,33 @@ common: empty-timeline-info: follow-users-to-make-your-timeline: "关注其他用户时,帖子将显示在时间线中。" explore: "查找用户" + post-form: + attach-location-information: "添加位置信息" + hide-contents: "隐藏内容" + reply-placeholder: "回复此贴..." + quote-placeholder: "引用此帖…" + option-quote-placeholder: "引用此帖…(可选)" + quote-attached: "已引用" + quote-question: "是否将其作为引用附上?" + submit: "帖子" + reply: "回复" + renote: "转推" + posting: "发送中" + attach-media-from-local: "从PC中添加媒体文件" + attach-media-from-drive: "从网盘中添加媒体文件" + insert-a-kao: "v('ω')v" + create-poll: "创建一个投票" + text-remain: "还剩{}个字符" + recent-tags: "最近" + local-only-message: "这篇文章只会在本地发布" + click-to-tagging: "点击添加标签" + visibility: "可见性" + geolocation-alert: "您的设备不支持定位服务" + error: "错误" + enter-username: "输入用户名" + add-visible-user: "添加用户" + cw-placeholder: "评论帖子(可选)" + username-prompt: "输入用户名" weekday-short: sunday: "日" monday: "一" @@ -243,6 +270,9 @@ common: disable-via-mobile: "不要将帖子标记为“来自手机”" load-raw-images: "以原始质量显示附加图像" load-remote-media: "显示来自远程服务器的媒体" + sync: "同步" + home-profile: "定制首页数据" + deck-profile: "定制Deck数据" search: "搜索" delete: "删除" loading: "正在加载中" @@ -253,7 +283,7 @@ common: my-token-regenerated: "您的 Token 已被重置, 您将自动登出。" hide-password: "隐藏密码" show-password: "显示密码" - enter-username: "请输入用户名" + enter-username: "输入用户名" do-not-use-in-production: "这是一个开发者测试版. 请勿在生产环境中使用." user-suspended: "该用户已被冻结。" is-remote-user: "此用户信息可能不准确。" @@ -550,6 +580,7 @@ common/views/components/poll-editor.vue: day: "日" common/views/components/reaction-picker.vue: choose-reaction: "选择回应" + input-reaction-placeholder: "表情符号输入" common/views/components/emoji-picker.vue: custom-emoji: "自定义表情符号" people: "人" @@ -831,7 +862,7 @@ desktop/views/components/crop-window.vue: cancel: "取消" ok: "确定" desktop/views/components/drive-window.vue: - used: "使用中" + used: "已使用" desktop/views/components/drive.file.vue: avatar: "头像" banner: "背景" @@ -921,34 +952,12 @@ desktop/views/components/notes.vue: desktop/views/components/notifications.vue: empty: "没有通知哦!" desktop/views/components/post-form.vue: - add-visible-user: "+添加用户" - attach-location-information: "添加位置信息" - hide-contents: "隐藏内容" - reply-placeholder: "回复这个帖子" - quote-placeholder: "引用这个帖子…" - submit: "投稿" - reply: "回复" - renote: "转推" posted: "已发送投稿!" replied: "已回复!" reposted: "已转推!" note-failed: "发帖失败" reply-failed: "回复失败" renote-failed: "转推失败" - posting: "发送中" - attach-media-from-local: "从设备中添加媒体文件" - attach-media-from-drive: "从网盘中添加媒体文件" - insert-a-kao: "v('ω')v" - create-poll: "创建一个投票" - text-remain: "还剩{}字" - recent-tags: "最近" - local-only-message: "这篇文章只会在本地发表" - click-to-tagging: "点击添加标签" - visibility: "可见性" - geolocation-alert: "您的设备不提供位置服务" - error: "错误" - enter-username: "请填写一个用户名" - annotations: "注释帖子(可选)" desktop/views/components/post-form-window.vue: note: "新建帖子" reply: "回复" @@ -1010,7 +1019,7 @@ desktop/views/components/settings.apps.vue: no-apps: "没有已连接的应用程序" common/views/components/drive-settings.vue: max: "容量" - in-use: "正在使用" + in-use: "已使用" stats: "统计" common/views/components/mute-and-block.vue: mute-and-block: "屏蔽/拉黑" @@ -1097,7 +1106,10 @@ admin/views/index.vue: abuse: "举报垃圾信息" queue: "作业队列" logs: "登录" + db: "数据库" back-to-misskey: "返回 Misskey" +admin/views/db.vue: + tables: "表格" admin/views/dashboard.vue: dashboard: "Dashboard" accounts: "账户" @@ -1109,6 +1121,32 @@ admin/views/dashboard.vue: admin/views/queue.vue: title: "队列" remove-all-jobs: "清除所有作业" + jobs: "任务" + queue: "队列" + domains: + deliver: "交付" + inbox: "收件箱" + db: "数据库" + objectStorage: "对象存储" + state: "状态" + states: + active: "处理中" + delayed: "已预订" + waiting: "队列等待中" + result-is-truncated: "结果已省略" + other-queues: "其他队列" +admin/views/logs.vue: + logs: "登录" + domain: "域" + level: "级别" + levels: + all: "所有" + info: "信息" + success: "成功" + warning: "警告" + error: "错误" + debug: "调试" + delete-all: "全部删除" admin/views/abuse.vue: title: "举报垃圾信息" target: "目标" @@ -1260,6 +1298,9 @@ admin/views/drive.vue: unmark-as-sensitive: "取消标记为“敏感”" marked-as-sensitive: "标记为“敏感”" unmarked-as-sensitive: "取消标记为“敏感”" + clean-remote-files: "删除远程文件缓存" + clean-remote-files-are-you-sure: "确定要删除所有远程文件缓存吗?" + clean-up: "清除缓存" admin/views/users.vue: operation: "操作" username-or-userid: "用户名或用户ID" @@ -1406,6 +1447,7 @@ admin/views/federation.vue: day: "每天" blocked-hosts: "拉黑" blocked-hosts-info: "描述您要阻止的主机,以换行符分隔。" + save: "保存" desktop/views/pages/welcome.vue: about: "更多信息..." timeline: "时间线" @@ -1482,7 +1524,7 @@ desktop/views/widgets/users.vue: refresh: "更多" no-one: "不是!" mobile/views/components/drive.vue: - used: "使用中" + used: "已使用" folder-count: "文件夹" count-separator: "," file-count: "文件" @@ -1537,17 +1579,6 @@ mobile/views/components/note-sub.vue: cat: "cat" mobile/views/components/notifications.vue: empty: "没有通知哦!" -mobile/views/components/post-form.vue: - add-visible-user: "添加用户" - submit: "帖子" - reply: "回复" - renote: "转推" - quote-placeholder: "引用这个帖子t... (可选)" - reply-placeholder: "回复这个帖子" - cw-placeholder: "评论帖子(可选)" - geolocation-alert: "您的设备不提供位置服务" - error: "错误" - username-prompt: "请输入用户名" mobile/views/components/sub-note-content.vue: private: "私密帖子" deleted: "帖子已删除" @@ -1832,8 +1863,8 @@ pages: _divide: arg1: "A" arg2: "B" - remind: "÷ 取模" - _remind: + mod: "÷ 取模" + _mod: arg1: "A" arg2: "B" eq: "A和B相等" @@ -1916,6 +1947,9 @@ pages: _pick: arg1: "列表" arg2: "位置" + listLen: "获取列表长度" + _listLen: + arg1: "列表" number: "数值" stringToNumber: "文本到数字" _stringToNumber: diff --git a/migration/1000000000000-Init.ts b/migration/1000000000000-Init.ts new file mode 100644 index 000000000..ce54d8a7e --- /dev/null +++ b/migration/1000000000000-Init.ts @@ -0,0 +1,485 @@ +import {MigrationInterface, QueryRunner} from "typeorm"; + +export class Init1000000000000 implements MigrationInterface { + + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.query(`CREATE TYPE "log_level_enum" AS ENUM('error', 'warning', 'info', 'success', 'debug')`); + await queryRunner.query(`CREATE TABLE "log" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "domain" character varying(64) array NOT NULL DEFAULT '{}'::varchar[], "level" "log_level_enum" NOT NULL, "worker" character varying(8) NOT NULL, "machine" character varying(128) NOT NULL, "message" character varying(1024) NOT NULL, "data" jsonb NOT NULL DEFAULT '{}', CONSTRAINT "PK_350604cbdf991d5930d9e618fbd" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_8e4eb51a35d81b64dda28eed0a" ON "log" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_8cb40cfc8f3c28261e6f887b03" ON "log" ("domain") `); + await queryRunner.query(`CREATE INDEX "IDX_584b536b49e53ac81beb39a177" ON "log" ("level") `); + await queryRunner.query(`CREATE TABLE "drive_folder" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "name" character varying(128) NOT NULL, "userId" character varying(32), "parentId" character varying(32), CONSTRAINT "PK_7a0c089191f5ebdc214e0af808a" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_02878d441ceae15ce060b73daf" ON "drive_folder" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_f4fc06e49c0171c85f1c48060d" ON "drive_folder" ("userId") `); + await queryRunner.query(`CREATE INDEX "IDX_00ceffb0cdc238b3233294f08f" ON "drive_folder" ("parentId") `); + await queryRunner.query(`CREATE TABLE "drive_file" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32), "userHost" character varying(128), "md5" character varying(32) NOT NULL, "name" character varying(256) NOT NULL, "type" character varying(128) NOT NULL, "size" integer NOT NULL, "comment" character varying(512), "properties" jsonb NOT NULL DEFAULT '{}', "storedInternal" boolean NOT NULL, "url" character varying(512) NOT NULL, "thumbnailUrl" character varying(512), "webpublicUrl" character varying(512), "accessKey" character varying(256), "thumbnailAccessKey" character varying(256), "webpublicAccessKey" character varying(256), "uri" character varying(512), "src" character varying(512), "folderId" character varying(32), "isSensitive" boolean NOT NULL DEFAULT false, "isLink" boolean NOT NULL DEFAULT false, CONSTRAINT "PK_43ddaaaf18c9e68029b7cbb032e" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_c8dfad3b72196dd1d6b5db168a" ON "drive_file" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_860fa6f6c7df5bb887249fba22" ON "drive_file" ("userId") `); + await queryRunner.query(`CREATE INDEX "IDX_92779627994ac79277f070c91e" ON "drive_file" ("userHost") `); + await queryRunner.query(`CREATE INDEX "IDX_37bb9a1b4585f8a3beb24c62d6" ON "drive_file" ("md5") `); + await queryRunner.query(`CREATE INDEX "IDX_a40b8df8c989d7db937ea27cf6" ON "drive_file" ("type") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_d85a184c2540d2deba33daf642" ON "drive_file" ("accessKey") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_e74022ce9a074b3866f70e0d27" ON "drive_file" ("thumbnailAccessKey") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_c55b2b7c284d9fef98026fc88e" ON "drive_file" ("webpublicAccessKey") `); + await queryRunner.query(`CREATE INDEX "IDX_e5848eac4940934e23dbc17581" ON "drive_file" ("uri") `); + await queryRunner.query(`CREATE INDEX "IDX_bb90d1956dafc4068c28aa7560" ON "drive_file" ("folderId") `); + await queryRunner.query(`CREATE TABLE "user" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "updatedAt" TIMESTAMP WITH TIME ZONE, "lastFetchedAt" TIMESTAMP WITH TIME ZONE, "username" character varying(128) NOT NULL, "usernameLower" character varying(128) NOT NULL, "name" character varying(128), "followersCount" integer NOT NULL DEFAULT 0, "followingCount" integer NOT NULL DEFAULT 0, "notesCount" integer NOT NULL DEFAULT 0, "avatarId" character varying(32), "bannerId" character varying(32), "tags" character varying(128) array NOT NULL DEFAULT '{}'::varchar[], "avatarUrl" character varying(512), "bannerUrl" character varying(512), "avatarColor" character varying(32), "bannerColor" character varying(32), "isSuspended" boolean NOT NULL DEFAULT false, "isSilenced" boolean NOT NULL DEFAULT false, "isLocked" boolean NOT NULL DEFAULT false, "isBot" boolean NOT NULL DEFAULT false, "isCat" boolean NOT NULL DEFAULT false, "isAdmin" boolean NOT NULL DEFAULT false, "isModerator" boolean NOT NULL DEFAULT false, "isVerified" boolean NOT NULL DEFAULT false, "emojis" character varying(128) array NOT NULL DEFAULT '{}'::varchar[], "host" character varying(128), "inbox" character varying(512), "sharedInbox" character varying(512), "featured" character varying(512), "uri" character varying(512), "token" character(16), CONSTRAINT "UQ_a854e557b1b14814750c7c7b0c9" UNIQUE ("token"), CONSTRAINT "REL_58f5c71eaab331645112cf8cfa" UNIQUE ("avatarId"), CONSTRAINT "REL_afc64b53f8db3707ceb34eb28e" UNIQUE ("bannerId"), CONSTRAINT "PK_cace4a159ff9f2512dd42373760" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_e11e649824a45d8ed01d597fd9" ON "user" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_80ca6e6ef65fb9ef34ea8c90f4" ON "user" ("updatedAt") `); + await queryRunner.query(`CREATE INDEX "IDX_a27b942a0d6dcff90e3ee9b5e8" ON "user" ("usernameLower") `); + await queryRunner.query(`CREATE INDEX "IDX_fa99d777623947a5b05f394cae" ON "user" ("tags") `); + await queryRunner.query(`CREATE INDEX "IDX_3252a5df8d5bbd16b281f7799e" ON "user" ("host") `); + await queryRunner.query(`CREATE INDEX "IDX_be623adaa4c566baf5d29ce0c8" ON "user" ("uri") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_a854e557b1b14814750c7c7b0c" ON "user" ("token") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_5deb01ae162d1d70b80d064c27" ON "user" ("usernameLower", "host") `); + await queryRunner.query(`CREATE TABLE "app" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32), "secret" character varying(64) NOT NULL, "name" character varying(128) NOT NULL, "description" character varying(512) NOT NULL, "permission" character varying(64) array NOT NULL, "callbackUrl" character varying(512), CONSTRAINT "PK_9478629fc093d229df09e560aea" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_048a757923ed8b157e9895da53" ON "app" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_3f5b0899ef90527a3462d7c2cb" ON "app" ("userId") `); + await queryRunner.query(`CREATE INDEX "IDX_f49922d511d666848f250663c4" ON "app" ("secret") `); + await queryRunner.query(`CREATE TABLE "access_token" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "token" character varying(128) NOT NULL, "hash" character varying(128) NOT NULL, "userId" character varying(32) NOT NULL, "appId" character varying(32) NOT NULL, CONSTRAINT "PK_f20f028607b2603deabd8182d12" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_70ba8f6af34bc924fc9e12adb8" ON "access_token" ("token") `); + await queryRunner.query(`CREATE INDEX "IDX_64c327441248bae40f7d92f34f" ON "access_token" ("hash") `); + await queryRunner.query(`CREATE INDEX "IDX_9949557d0e1b2c19e5344c171e" ON "access_token" ("userId") `); + await queryRunner.query(`CREATE TYPE "note_visibility_enum" AS ENUM('public', 'home', 'followers', 'specified')`); + await queryRunner.query(`CREATE TABLE "note" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "replyId" character varying(32), "renoteId" character varying(32), "text" text, "name" character varying(256), "cw" character varying(512), "appId" character varying(32), "userId" character varying(32) NOT NULL, "viaMobile" boolean NOT NULL DEFAULT false, "localOnly" boolean NOT NULL DEFAULT false, "renoteCount" smallint NOT NULL DEFAULT 0, "repliesCount" smallint NOT NULL DEFAULT 0, "reactions" jsonb NOT NULL DEFAULT '{}', "visibility" "note_visibility_enum" NOT NULL, "uri" character varying(512), "score" integer NOT NULL DEFAULT 0, "fileIds" character varying(32) array NOT NULL DEFAULT '{}'::varchar[], "attachedFileTypes" character varying(256) array NOT NULL DEFAULT '{}'::varchar[], "visibleUserIds" character varying(32) array NOT NULL DEFAULT '{}'::varchar[], "mentions" character varying(32) array NOT NULL DEFAULT '{}'::varchar[], "mentionedRemoteUsers" text NOT NULL DEFAULT '[]', "emojis" character varying(128) array NOT NULL DEFAULT '{}'::varchar[], "tags" character varying(128) array NOT NULL DEFAULT '{}'::varchar[], "hasPoll" boolean NOT NULL DEFAULT false, "geo" jsonb DEFAULT null, "userHost" character varying(128), "replyUserId" character varying(32), "replyUserHost" character varying(128), "renoteUserId" character varying(32), "renoteUserHost" character varying(128), CONSTRAINT "PK_96d0c172a4fba276b1bbed43058" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_e7c0567f5261063592f022e9b5" ON "note" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_17cb3553c700a4985dff5a30ff" ON "note" ("replyId") `); + await queryRunner.query(`CREATE INDEX "IDX_52ccc804d7c69037d558bac4c9" ON "note" ("renoteId") `); + await queryRunner.query(`CREATE INDEX "IDX_5b87d9d19127bd5d92026017a7" ON "note" ("userId") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_153536c67d05e9adb24e99fc2b" ON "note" ("uri") `); + await queryRunner.query(`CREATE INDEX "IDX_51c063b6a133a9cb87145450f5" ON "note" ("fileIds") `); + await queryRunner.query(`CREATE INDEX "IDX_25dfc71b0369b003a4cd434d0b" ON "note" ("attachedFileTypes") `); + await queryRunner.query(`CREATE INDEX "IDX_796a8c03959361f97dc2be1d5c" ON "note" ("visibleUserIds") `); + await queryRunner.query(`CREATE INDEX "IDX_54ebcb6d27222913b908d56fd8" ON "note" ("mentions") `); + await queryRunner.query(`CREATE INDEX "IDX_88937d94d7443d9a99a76fa5c0" ON "note" ("tags") `); + await queryRunner.query(`CREATE INDEX "IDX_7125a826ab192eb27e11d358a5" ON "note" ("userHost") `); + await queryRunner.query(`CREATE TABLE "poll_vote" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32) NOT NULL, "noteId" character varying(32) NOT NULL, "choice" integer NOT NULL, CONSTRAINT "PK_fd002d371201c472490ba89c6a0" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_0fb627e1c2f753262a74f0562d" ON "poll_vote" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_66d2bd2ee31d14bcc23069a89f" ON "poll_vote" ("userId") `); + await queryRunner.query(`CREATE INDEX "IDX_aecfbd5ef60374918e63ee95fa" ON "poll_vote" ("noteId") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_50bd7164c5b78f1f4a42c4d21f" ON "poll_vote" ("userId", "noteId", "choice") `); + await queryRunner.query(`CREATE TABLE "note_reaction" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32) NOT NULL, "noteId" character varying(32) NOT NULL, "reaction" character varying(128) NOT NULL, CONSTRAINT "PK_767ec729b108799b587a3fcc9cf" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_01f4581f114e0ebd2bbb876f0b" ON "note_reaction" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_13761f64257f40c5636d0ff95e" ON "note_reaction" ("userId") `); + await queryRunner.query(`CREATE INDEX "IDX_45145e4953780f3cd5656f0ea6" ON "note_reaction" ("noteId") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_ad0c221b25672daf2df320a817" ON "note_reaction" ("userId", "noteId") `); + await queryRunner.query(`CREATE TABLE "note_watching" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32) NOT NULL, "noteId" character varying(32) NOT NULL, "noteUserId" character varying(32) NOT NULL, CONSTRAINT "PK_49286fdb23725945a74aa27d757" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_318cdf42a9cfc11f479bd802bb" ON "note_watching" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_b0134ec406e8d09a540f818288" ON "note_watching" ("userId") `); + await queryRunner.query(`CREATE INDEX "IDX_03e7028ab8388a3f5e3ce2a861" ON "note_watching" ("noteId") `); + await queryRunner.query(`CREATE INDEX "IDX_44499765eec6b5489d72c4253b" ON "note_watching" ("noteUserId") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_a42c93c69989ce1d09959df4cf" ON "note_watching" ("userId", "noteId") `); + await queryRunner.query(`CREATE TABLE "note_unread" ("id" character varying(32) NOT NULL, "userId" character varying(32) NOT NULL, "noteId" character varying(32) NOT NULL, "noteUserId" character varying(32) NOT NULL, "isSpecified" boolean NOT NULL, CONSTRAINT "PK_1904eda61a784f57e6e51fa9c1f" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_56b0166d34ddae49d8ef7610bb" ON "note_unread" ("userId") `); + await queryRunner.query(`CREATE INDEX "IDX_e637cba4dc4410218c4251260e" ON "note_unread" ("noteId") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_d908433a4953cc13216cd9c274" ON "note_unread" ("userId", "noteId") `); + await queryRunner.query(`CREATE TABLE "notification" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "notifieeId" character varying(32) NOT NULL, "notifierId" character varying(32) NOT NULL, "type" character varying(32) NOT NULL, "isRead" boolean NOT NULL DEFAULT false, "noteId" character varying(32), "reaction" character varying(128), "choice" integer, CONSTRAINT "PK_705b6c7cdf9b2c2ff7ac7872cb7" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_b11a5e627c41d4dc3170f1d370" ON "notification" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_3c601b70a1066d2c8b517094cb" ON "notification" ("notifieeId") `); + await queryRunner.query(`CREATE TABLE "meta" ("id" character varying(32) NOT NULL, "name" character varying(128), "description" character varying(1024), "maintainerName" character varying(128), "maintainerEmail" character varying(128), "announcements" jsonb NOT NULL DEFAULT '[]', "disableRegistration" boolean NOT NULL DEFAULT false, "disableLocalTimeline" boolean NOT NULL DEFAULT false, "disableGlobalTimeline" boolean NOT NULL DEFAULT false, "enableEmojiReaction" boolean NOT NULL DEFAULT true, "useStarForReactionFallback" boolean NOT NULL DEFAULT false, "langs" character varying(64) array NOT NULL DEFAULT '{}'::varchar[], "hiddenTags" character varying(256) array NOT NULL DEFAULT '{}'::varchar[], "blockedHosts" character varying(256) array NOT NULL DEFAULT '{}'::varchar[], "mascotImageUrl" character varying(512) DEFAULT '/assets/ai.png', "bannerUrl" character varying(512), "errorImageUrl" character varying(512) DEFAULT 'https://xn--931a.moe/aiart/yubitun.png', "iconUrl" character varying(512), "cacheRemoteFiles" boolean NOT NULL DEFAULT true, "proxyAccount" character varying(128), "enableRecaptcha" boolean NOT NULL DEFAULT false, "recaptchaSiteKey" character varying(64), "recaptchaSecretKey" character varying(64), "localDriveCapacityMb" integer NOT NULL DEFAULT 1024, "remoteDriveCapacityMb" integer NOT NULL DEFAULT 32, "maxNoteTextLength" integer NOT NULL DEFAULT 500, "summalyProxy" character varying(128), "enableEmail" boolean NOT NULL DEFAULT false, "email" character varying(128), "smtpSecure" boolean NOT NULL DEFAULT false, "smtpHost" character varying(128), "smtpPort" integer, "smtpUser" character varying(128), "smtpPass" character varying(128), "enableServiceWorker" boolean NOT NULL DEFAULT false, "swPublicKey" character varying(128), "swPrivateKey" character varying(128), "enableTwitterIntegration" boolean NOT NULL DEFAULT false, "twitterConsumerKey" character varying(128), "twitterConsumerSecret" character varying(128), "enableGithubIntegration" boolean NOT NULL DEFAULT false, "githubClientId" character varying(128), "githubClientSecret" character varying(128), "enableDiscordIntegration" boolean NOT NULL DEFAULT false, "discordClientId" character varying(128), "discordClientSecret" character varying(128), CONSTRAINT "PK_c4c17a6c2bd7651338b60fc590b" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TABLE "following" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "followeeId" character varying(32) NOT NULL, "followerId" character varying(32) NOT NULL, "followerHost" character varying(128), "followerInbox" character varying(512), "followerSharedInbox" character varying(512), "followeeHost" character varying(128), "followeeInbox" character varying(512), "followeeSharedInbox" character varying(512), CONSTRAINT "PK_c76c6e044bdf76ecf8bfb82a645" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_582f8fab771a9040a12961f3e7" ON "following" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_24e0042143a18157b234df186c" ON "following" ("followeeId") `); + await queryRunner.query(`CREATE INDEX "IDX_6516c5a6f3c015b4eed39978be" ON "following" ("followerId") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_307be5f1d1252e0388662acb96" ON "following" ("followerId", "followeeId") `); + await queryRunner.query(`CREATE TABLE "instance" ("id" character varying(32) NOT NULL, "caughtAt" TIMESTAMP WITH TIME ZONE NOT NULL, "host" character varying(128) NOT NULL, "system" character varying(64), "usersCount" integer NOT NULL DEFAULT 0, "notesCount" integer NOT NULL DEFAULT 0, "followingCount" integer NOT NULL DEFAULT 0, "followersCount" integer NOT NULL DEFAULT 0, "driveUsage" integer NOT NULL DEFAULT 0, "driveFiles" integer NOT NULL DEFAULT 0, "latestRequestSentAt" TIMESTAMP WITH TIME ZONE, "latestStatus" integer, "latestRequestReceivedAt" TIMESTAMP WITH TIME ZONE, "lastCommunicatedAt" TIMESTAMP WITH TIME ZONE NOT NULL, "isNotResponding" boolean NOT NULL DEFAULT false, "isMarkedAsClosed" boolean NOT NULL DEFAULT false, CONSTRAINT "PK_eaf60e4a0c399c9935413e06474" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_2cd3b2a6b4cf0b910b260afe08" ON "instance" ("caughtAt") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_8d5afc98982185799b160e10eb" ON "instance" ("host") `); + await queryRunner.query(`CREATE TABLE "muting" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "muteeId" character varying(32) NOT NULL, "muterId" character varying(32) NOT NULL, CONSTRAINT "PK_2e92d06c8b5c602eeb27ca9ba48" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_f86d57fbca33c7a4e6897490cc" ON "muting" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_ec96b4fed9dae517e0dbbe0675" ON "muting" ("muteeId") `); + await queryRunner.query(`CREATE INDEX "IDX_93060675b4a79a577f31d260c6" ON "muting" ("muterId") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_1eb9d9824a630321a29fd3b290" ON "muting" ("muterId", "muteeId") `); + await queryRunner.query(`CREATE TABLE "sw_subscription" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32) NOT NULL, "endpoint" character varying(512) NOT NULL, "auth" character varying(256) NOT NULL, "publickey" character varying(128) NOT NULL, CONSTRAINT "PK_e8f763631530051b95eb6279b91" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_97754ca6f2baff9b4abb7f853d" ON "sw_subscription" ("userId") `); + await queryRunner.query(`CREATE TABLE "blocking" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "blockeeId" character varying(32) NOT NULL, "blockerId" character varying(32) NOT NULL, CONSTRAINT "PK_e5d9a541cc1965ee7e048ea09dd" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_b9a354f7941c1e779f3b33aea6" ON "blocking" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_2cd4a2743a99671308f5417759" ON "blocking" ("blockeeId") `); + await queryRunner.query(`CREATE INDEX "IDX_0627125f1a8a42c9a1929edb55" ON "blocking" ("blockerId") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_98a1bc5cb30dfd159de056549f" ON "blocking" ("blockerId", "blockeeId") `); + await queryRunner.query(`CREATE TABLE "user_list" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32) NOT NULL, "name" character varying(128) NOT NULL, CONSTRAINT "PK_87bab75775fd9b1ff822b656402" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_b7fcefbdd1c18dce86687531f9" ON "user_list" ("userId") `); + await queryRunner.query(`CREATE TABLE "user_list_joining" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32) NOT NULL, "userListId" character varying(32) NOT NULL, CONSTRAINT "PK_11abb3768da1c5f8de101c9df45" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_d844bfc6f3f523a05189076efa" ON "user_list_joining" ("userId") `); + await queryRunner.query(`CREATE INDEX "IDX_605472305f26818cc93d1baaa7" ON "user_list_joining" ("userListId") `); + await queryRunner.query(`CREATE TABLE "hashtag" ("id" character varying(32) NOT NULL, "name" character varying(128) NOT NULL, "mentionedUserIds" character varying(32) array NOT NULL, "mentionedUsersCount" integer NOT NULL DEFAULT 0, "mentionedLocalUserIds" character varying(32) array NOT NULL, "mentionedLocalUsersCount" integer NOT NULL DEFAULT 0, "mentionedRemoteUserIds" character varying(32) array NOT NULL, "mentionedRemoteUsersCount" integer NOT NULL DEFAULT 0, "attachedUserIds" character varying(32) array NOT NULL, "attachedUsersCount" integer NOT NULL DEFAULT 0, "attachedLocalUserIds" character varying(32) array NOT NULL, "attachedLocalUsersCount" integer NOT NULL DEFAULT 0, "attachedRemoteUserIds" character varying(32) array NOT NULL, "attachedRemoteUsersCount" integer NOT NULL DEFAULT 0, CONSTRAINT "PK_cb36eb8af8412bfa978f1165d78" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_347fec870eafea7b26c8a73bac" ON "hashtag" ("name") `); + await queryRunner.query(`CREATE INDEX "IDX_2710a55f826ee236ea1a62698f" ON "hashtag" ("mentionedUsersCount") `); + await queryRunner.query(`CREATE INDEX "IDX_0e206cec573f1edff4a3062923" ON "hashtag" ("mentionedLocalUsersCount") `); + await queryRunner.query(`CREATE INDEX "IDX_4c02d38a976c3ae132228c6fce" ON "hashtag" ("mentionedRemoteUsersCount") `); + await queryRunner.query(`CREATE INDEX "IDX_d57f9030cd3af7f63ffb1c267c" ON "hashtag" ("attachedUsersCount") `); + await queryRunner.query(`CREATE INDEX "IDX_0c44bf4f680964145f2a68a341" ON "hashtag" ("attachedLocalUsersCount") `); + await queryRunner.query(`CREATE INDEX "IDX_0b03cbcd7e6a7ce068efa8ecc2" ON "hashtag" ("attachedRemoteUsersCount") `); + await queryRunner.query(`CREATE TABLE "note_favorite" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32) NOT NULL, "noteId" character varying(32) NOT NULL, CONSTRAINT "PK_af0da35a60b9fa4463a62082b36" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_47f4b1892f5d6ba8efb3057d81" ON "note_favorite" ("userId") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_0f4fb9ad355f3effff221ef245" ON "note_favorite" ("userId", "noteId") `); + await queryRunner.query(`CREATE TABLE "abuse_user_report" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32) NOT NULL, "reporterId" character varying(32) NOT NULL, "comment" character varying(512) NOT NULL, CONSTRAINT "PK_87873f5f5cc5c321a1306b2d18c" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_db2098070b2b5a523c58181f74" ON "abuse_user_report" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_d049123c413e68ca52abe73420" ON "abuse_user_report" ("userId") `); + await queryRunner.query(`CREATE INDEX "IDX_04cc96756f89d0b7f9473e8cdf" ON "abuse_user_report" ("reporterId") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_5cd442c3b2e74fdd99dae20243" ON "abuse_user_report" ("userId", "reporterId") `); + await queryRunner.query(`CREATE TABLE "registration_ticket" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "code" character varying(64) NOT NULL, CONSTRAINT "PK_f11696b6fafcf3662d4292734f8" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_0ff69e8dfa9fe31bb4a4660f59" ON "registration_ticket" ("code") `); + await queryRunner.query(`CREATE TABLE "messaging_message" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32) NOT NULL, "recipientId" character varying(32) NOT NULL, "text" character varying(4096), "isRead" boolean NOT NULL DEFAULT false, "fileId" character varying(32), CONSTRAINT "PK_db398fd79dc95d0eb8c30456eaa" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_e21cd3646e52ef9c94aaf17c2e" ON "messaging_message" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_5377c307783fce2b6d352e1203" ON "messaging_message" ("userId") `); + await queryRunner.query(`CREATE INDEX "IDX_cac14a4e3944454a5ce7daa514" ON "messaging_message" ("recipientId") `); + await queryRunner.query(`CREATE TABLE "signin" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32) NOT NULL, "ip" character varying(128) NOT NULL, "headers" jsonb NOT NULL, "success" boolean NOT NULL, CONSTRAINT "PK_9e96ddc025712616fc492b3b588" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_2c308dbdc50d94dc625670055f" ON "signin" ("userId") `); + await queryRunner.query(`CREATE TABLE "auth_session" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "token" character varying(128) NOT NULL, "userId" character varying(32), "appId" character varying(32) NOT NULL, CONSTRAINT "PK_19354ed146424a728c1112a8cbf" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_62cb09e1129f6ec024ef66e183" ON "auth_session" ("token") `); + await queryRunner.query(`CREATE TABLE "follow_request" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "followeeId" character varying(32) NOT NULL, "followerId" character varying(32) NOT NULL, "requestId" character varying(128), "followerHost" character varying(128), "followerInbox" character varying(512), "followerSharedInbox" character varying(512), "followeeHost" character varying(128), "followeeInbox" character varying(512), "followeeSharedInbox" character varying(512), CONSTRAINT "PK_53a9aa3725f7a3deb150b39dbfc" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_12c01c0d1a79f77d9f6c15fadd" ON "follow_request" ("followeeId") `); + await queryRunner.query(`CREATE INDEX "IDX_a7fd92dd6dc519e6fb435dd108" ON "follow_request" ("followerId") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_d54a512b822fac7ed52800f6b4" ON "follow_request" ("followerId", "followeeId") `); + await queryRunner.query(`CREATE TABLE "emoji" ("id" character varying(32) NOT NULL, "updatedAt" TIMESTAMP WITH TIME ZONE, "name" character varying(128) NOT NULL, "host" character varying(128), "url" character varying(512) NOT NULL, "uri" character varying(512), "type" character varying(64), "aliases" character varying(128) array NOT NULL DEFAULT '{}'::varchar[], CONSTRAINT "PK_df74ce05e24999ee01ea0bc50a3" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_b37dafc86e9af007e3295c2781" ON "emoji" ("name") `); + await queryRunner.query(`CREATE INDEX "IDX_5900e907bb46516ddf2871327c" ON "emoji" ("host") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_4f4d35e1256c84ae3d1f0eab10" ON "emoji" ("name", "host") `); + await queryRunner.query(`CREATE TABLE "reversi_game" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "startedAt" TIMESTAMP WITH TIME ZONE, "user1Id" character varying(32) NOT NULL, "user2Id" character varying(32) NOT NULL, "user1Accepted" boolean NOT NULL DEFAULT false, "user2Accepted" boolean NOT NULL DEFAULT false, "black" integer, "isStarted" boolean NOT NULL DEFAULT false, "isEnded" boolean NOT NULL DEFAULT false, "winnerId" character varying(32), "surrendered" character varying(32), "logs" jsonb NOT NULL DEFAULT '[]', "map" character varying(64) array NOT NULL, "bw" character varying(32) NOT NULL, "isLlotheo" boolean NOT NULL DEFAULT false, "canPutEverywhere" boolean NOT NULL DEFAULT false, "loopedBoard" boolean NOT NULL DEFAULT false, "form1" jsonb DEFAULT null, "form2" jsonb DEFAULT null, "crc32" character varying(32), CONSTRAINT "PK_76b30eeba71b1193ad7c5311c3f" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_b46ec40746efceac604142be1c" ON "reversi_game" ("createdAt") `); + await queryRunner.query(`CREATE TABLE "reversi_matching" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "parentId" character varying(32) NOT NULL, "childId" character varying(32) NOT NULL, CONSTRAINT "PK_880bd0afbab232f21c8b9d146cf" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_b604d92d6c7aec38627f6eaf16" ON "reversi_matching" ("createdAt") `); + await queryRunner.query(`CREATE INDEX "IDX_3b25402709dd9882048c2bbade" ON "reversi_matching" ("parentId") `); + await queryRunner.query(`CREATE INDEX "IDX_e247b23a3c9b45f89ec1299d06" ON "reversi_matching" ("childId") `); + await queryRunner.query(`CREATE TABLE "user_note_pining" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32) NOT NULL, "noteId" character varying(32) NOT NULL, CONSTRAINT "PK_a6a2dad4ae000abce2ea9d9b103" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE INDEX "IDX_bfbc6f79ba4007b4ce5097f08d" ON "user_note_pining" ("userId") `); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_410cd649884b501c02d6e72738" ON "user_note_pining" ("userId", "noteId") `); + await queryRunner.query(`CREATE TYPE "poll_notevisibility_enum" AS ENUM('public', 'home', 'followers', 'specified')`); + await queryRunner.query(`CREATE TABLE "poll" ("noteId" character varying(32) NOT NULL, "expiresAt" TIMESTAMP WITH TIME ZONE, "multiple" boolean NOT NULL, "choices" character varying(128) array NOT NULL DEFAULT '{}'::varchar[], "votes" integer array NOT NULL, "noteVisibility" "poll_notevisibility_enum" NOT NULL, "userId" character varying(32) NOT NULL, "userHost" character varying(128), CONSTRAINT "REL_da851e06d0dfe2ef397d8b1bf1" UNIQUE ("noteId"), CONSTRAINT "PK_da851e06d0dfe2ef397d8b1bf1b" PRIMARY KEY ("noteId"))`); + await queryRunner.query(`CREATE INDEX "IDX_0610ebcfcfb4a18441a9bcdab2" ON "poll" ("userId") `); + await queryRunner.query(`CREATE INDEX "IDX_7fa20a12319c7f6dc3aed98c0a" ON "poll" ("userHost") `); + await queryRunner.query(`CREATE TABLE "user_keypair" ("userId" character varying(32) NOT NULL, "publicKey" character varying(4096) NOT NULL, "privateKey" character varying(4096) NOT NULL, CONSTRAINT "REL_f4853eb41ab722fe05f81cedeb" UNIQUE ("userId"), CONSTRAINT "PK_f4853eb41ab722fe05f81cedeb6" PRIMARY KEY ("userId"))`); + await queryRunner.query(`CREATE TABLE "user_publickey" ("userId" character varying(32) NOT NULL, "keyId" character varying(256) NOT NULL, "keyPem" character varying(4096) NOT NULL, CONSTRAINT "REL_10c146e4b39b443ede016f6736" UNIQUE ("userId"), CONSTRAINT "PK_10c146e4b39b443ede016f6736d" PRIMARY KEY ("userId"))`); + await queryRunner.query(`CREATE UNIQUE INDEX "IDX_171e64971c780ebd23fae140bb" ON "user_publickey" ("keyId") `); + await queryRunner.query(`CREATE TABLE "user_profile" ("userId" character varying(32) NOT NULL, "location" character varying(128), "birthday" character(10), "description" character varying(1024), "fields" jsonb NOT NULL DEFAULT '[]', "url" character varying(512), "email" character varying(128), "emailVerifyCode" character varying(128), "emailVerified" boolean NOT NULL DEFAULT false, "twoFactorTempSecret" character varying(128), "twoFactorSecret" character varying(128), "twoFactorEnabled" boolean NOT NULL DEFAULT false, "password" character varying(128), "clientData" jsonb NOT NULL DEFAULT '{}', "autoWatch" boolean NOT NULL DEFAULT false, "autoAcceptFollowed" boolean NOT NULL DEFAULT false, "alwaysMarkNsfw" boolean NOT NULL DEFAULT false, "carefulBot" boolean NOT NULL DEFAULT false, "twitter" boolean NOT NULL DEFAULT false, "twitterAccessToken" character varying(64) DEFAULT null, "twitterAccessTokenSecret" character varying(64) DEFAULT null, "twitterUserId" character varying(64) DEFAULT null, "twitterScreenName" character varying(64) DEFAULT null, "github" boolean NOT NULL DEFAULT false, "githubAccessToken" character varying(64) DEFAULT null, "githubId" integer DEFAULT null, "githubLogin" character varying(64) DEFAULT null, "discord" boolean NOT NULL DEFAULT false, "discordAccessToken" character varying(64) DEFAULT null, "discordRefreshToken" character varying(64) DEFAULT null, "discordExpiresDate" integer DEFAULT null, "discordId" character varying(64) DEFAULT null, "discordUsername" character varying(64) DEFAULT null, "discordDiscriminator" character varying(64) DEFAULT null, "userHost" character varying(128), CONSTRAINT "REL_51cb79b5555effaf7d69ba1cff" UNIQUE ("userId"), CONSTRAINT "PK_51cb79b5555effaf7d69ba1cff9" PRIMARY KEY ("userId"))`); + await queryRunner.query(`CREATE INDEX "IDX_dce530b98e454793dac5ec2f5a" ON "user_profile" ("userHost") `); + await queryRunner.query(`CREATE TYPE "__chart__active_users_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__active_users" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__active_users_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___local_count" bigint NOT NULL, "___remote_count" bigint NOT NULL, CONSTRAINT "PK_317237a9f733b970604a11e314f" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TYPE "__chart__drive_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__drive" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__drive_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___local_totalCount" bigint NOT NULL, "___local_totalSize" bigint NOT NULL, "___local_incCount" bigint NOT NULL, "___local_incSize" bigint NOT NULL, "___local_decCount" bigint NOT NULL, "___local_decSize" bigint NOT NULL, "___remote_totalCount" bigint NOT NULL, "___remote_totalSize" bigint NOT NULL, "___remote_incCount" bigint NOT NULL, "___remote_incSize" bigint NOT NULL, "___remote_decCount" bigint NOT NULL, "___remote_decSize" bigint NOT NULL, CONSTRAINT "PK_f96bc548a765cd4b3b354221ce7" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TYPE "__chart__federation_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__federation" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__federation_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___instance_total" bigint NOT NULL, "___instance_inc" bigint NOT NULL, "___instance_dec" bigint NOT NULL, CONSTRAINT "PK_b39dcd31a0fe1a7757e348e85fd" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TYPE "__chart__hashtag_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__hashtag" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__hashtag_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___local_count" bigint NOT NULL, "___remote_count" bigint NOT NULL, CONSTRAINT "PK_c32f1ea2b44a5d2f7881e37f8f9" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TYPE "__chart__instance_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__instance" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__instance_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___requests_failed" bigint NOT NULL, "___requests_succeeded" bigint NOT NULL, "___requests_received" bigint NOT NULL, "___notes_total" bigint NOT NULL, "___notes_inc" bigint NOT NULL, "___notes_dec" bigint NOT NULL, "___notes_diffs_normal" bigint NOT NULL, "___notes_diffs_reply" bigint NOT NULL, "___notes_diffs_renote" bigint NOT NULL, "___users_total" bigint NOT NULL, "___users_inc" bigint NOT NULL, "___users_dec" bigint NOT NULL, "___following_total" bigint NOT NULL, "___following_inc" bigint NOT NULL, "___following_dec" bigint NOT NULL, "___followers_total" bigint NOT NULL, "___followers_inc" bigint NOT NULL, "___followers_dec" bigint NOT NULL, "___drive_totalFiles" bigint NOT NULL, "___drive_totalUsage" bigint NOT NULL, "___drive_incFiles" bigint NOT NULL, "___drive_incUsage" bigint NOT NULL, "___drive_decFiles" bigint NOT NULL, "___drive_decUsage" bigint NOT NULL, CONSTRAINT "PK_1267c67c7c2d47b4903975f2c00" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TYPE "__chart__network_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__network" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__network_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___incomingRequests" bigint NOT NULL, "___outgoingRequests" bigint NOT NULL, "___totalTime" bigint NOT NULL, "___incomingBytes" bigint NOT NULL, "___outgoingBytes" bigint NOT NULL, CONSTRAINT "PK_bc4290c2e27fad14ef0c1ca93f3" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TYPE "__chart__notes_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__notes" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__notes_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___local_total" bigint NOT NULL, "___local_inc" bigint NOT NULL, "___local_dec" bigint NOT NULL, "___local_diffs_normal" bigint NOT NULL, "___local_diffs_reply" bigint NOT NULL, "___local_diffs_renote" bigint NOT NULL, "___remote_total" bigint NOT NULL, "___remote_inc" bigint NOT NULL, "___remote_dec" bigint NOT NULL, "___remote_diffs_normal" bigint NOT NULL, "___remote_diffs_reply" bigint NOT NULL, "___remote_diffs_renote" bigint NOT NULL, CONSTRAINT "PK_0aec823fa85c7f901bdb3863b14" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TYPE "__chart__per_user_drive_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__per_user_drive" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__per_user_drive_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___totalCount" bigint NOT NULL, "___totalSize" bigint NOT NULL, "___incCount" bigint NOT NULL, "___incSize" bigint NOT NULL, "___decCount" bigint NOT NULL, "___decSize" bigint NOT NULL, CONSTRAINT "PK_d0ef23d24d666e1a44a0cd3d208" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TYPE "__chart__per_user_following_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__per_user_following" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__per_user_following_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___local_followings_total" bigint NOT NULL, "___local_followings_inc" bigint NOT NULL, "___local_followings_dec" bigint NOT NULL, "___local_followers_total" bigint NOT NULL, "___local_followers_inc" bigint NOT NULL, "___local_followers_dec" bigint NOT NULL, "___remote_followings_total" bigint NOT NULL, "___remote_followings_inc" bigint NOT NULL, "___remote_followings_dec" bigint NOT NULL, "___remote_followers_total" bigint NOT NULL, "___remote_followers_inc" bigint NOT NULL, "___remote_followers_dec" bigint NOT NULL, CONSTRAINT "PK_85bb1b540363a29c2fec83bd907" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TYPE "__chart__per_user_notes_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__per_user_notes" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__per_user_notes_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___total" bigint NOT NULL, "___inc" bigint NOT NULL, "___dec" bigint NOT NULL, "___diffs_normal" bigint NOT NULL, "___diffs_reply" bigint NOT NULL, "___diffs_renote" bigint NOT NULL, CONSTRAINT "PK_334acf6e915af2f29edc11b8e50" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TYPE "__chart__per_user_reaction_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__per_user_reaction" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__per_user_reaction_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___local_count" bigint NOT NULL, "___remote_count" bigint NOT NULL, CONSTRAINT "PK_984f54dae441e65b633e8d27a7f" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TYPE "__chart__test_grouped_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__test_grouped" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__test_grouped_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___foo_total" bigint NOT NULL, "___foo_inc" bigint NOT NULL, "___foo_dec" bigint NOT NULL, CONSTRAINT "PK_f4a2b175d308695af30d4293272" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TYPE "__chart__test_unique_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__test_unique" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__test_unique_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___foo" bigint NOT NULL, CONSTRAINT "PK_409bac9c97cc612d8500012319d" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TYPE "__chart__test_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__test" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__test_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___foo_total" bigint NOT NULL, "___foo_inc" bigint NOT NULL, "___foo_dec" bigint NOT NULL, CONSTRAINT "PK_b4bc31dffbd1b785276a3ecfc1e" PRIMARY KEY ("id"))`); + await queryRunner.query(`CREATE TYPE "__chart__users_span_enum" AS ENUM('hour', 'day')`); + await queryRunner.query(`CREATE TABLE "__chart__users" ("id" SERIAL NOT NULL, "date" integer NOT NULL, "group" character varying(128), "span" "__chart__users_span_enum" NOT NULL, "unique" jsonb NOT NULL DEFAULT '{}', "___local_total" bigint NOT NULL, "___local_inc" bigint NOT NULL, "___local_dec" bigint NOT NULL, "___remote_total" bigint NOT NULL, "___remote_inc" bigint NOT NULL, "___remote_dec" bigint NOT NULL, CONSTRAINT "PK_4dfcf2c78d03524b9eb2c99d328" PRIMARY KEY ("id"))`); + await queryRunner.query(`ALTER TABLE "drive_folder" ADD CONSTRAINT "FK_f4fc06e49c0171c85f1c48060d2" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "drive_folder" ADD CONSTRAINT "FK_00ceffb0cdc238b3233294f08f2" FOREIGN KEY ("parentId") REFERENCES "drive_folder"("id") ON DELETE SET NULL ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "drive_file" ADD CONSTRAINT "FK_860fa6f6c7df5bb887249fba22e" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE SET NULL ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "drive_file" ADD CONSTRAINT "FK_bb90d1956dafc4068c28aa7560a" FOREIGN KEY ("folderId") REFERENCES "drive_folder"("id") ON DELETE SET NULL ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "user" ADD CONSTRAINT "FK_58f5c71eaab331645112cf8cfa5" FOREIGN KEY ("avatarId") REFERENCES "drive_file"("id") ON DELETE SET NULL ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "user" ADD CONSTRAINT "FK_afc64b53f8db3707ceb34eb28e2" FOREIGN KEY ("bannerId") REFERENCES "drive_file"("id") ON DELETE SET NULL ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "app" ADD CONSTRAINT "FK_3f5b0899ef90527a3462d7c2cb3" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE SET NULL ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "access_token" ADD CONSTRAINT "FK_9949557d0e1b2c19e5344c171e9" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "access_token" ADD CONSTRAINT "FK_a3ff16c90cc87a82a0b5959e560" FOREIGN KEY ("appId") REFERENCES "app"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "note" ADD CONSTRAINT "FK_17cb3553c700a4985dff5a30ff5" FOREIGN KEY ("replyId") REFERENCES "note"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "note" ADD CONSTRAINT "FK_52ccc804d7c69037d558bac4c96" FOREIGN KEY ("renoteId") REFERENCES "note"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "note" ADD CONSTRAINT "FK_ec5c201576192ba8904c345c5cc" FOREIGN KEY ("appId") REFERENCES "app"("id") ON DELETE SET NULL ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "note" ADD CONSTRAINT "FK_5b87d9d19127bd5d92026017a7b" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "poll_vote" ADD CONSTRAINT "FK_66d2bd2ee31d14bcc23069a89f8" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "poll_vote" ADD CONSTRAINT "FK_aecfbd5ef60374918e63ee95fa7" FOREIGN KEY ("noteId") REFERENCES "note"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "note_reaction" ADD CONSTRAINT "FK_13761f64257f40c5636d0ff95ee" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "note_reaction" ADD CONSTRAINT "FK_45145e4953780f3cd5656f0ea6a" FOREIGN KEY ("noteId") REFERENCES "note"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "note_watching" ADD CONSTRAINT "FK_b0134ec406e8d09a540f8182888" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "note_watching" ADD CONSTRAINT "FK_03e7028ab8388a3f5e3ce2a8619" FOREIGN KEY ("noteId") REFERENCES "note"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "note_unread" ADD CONSTRAINT "FK_56b0166d34ddae49d8ef7610bb9" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "note_unread" ADD CONSTRAINT "FK_e637cba4dc4410218c4251260e4" FOREIGN KEY ("noteId") REFERENCES "note"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "notification" ADD CONSTRAINT "FK_3c601b70a1066d2c8b517094cb9" FOREIGN KEY ("notifieeId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "notification" ADD CONSTRAINT "FK_3b4e96eec8d36a8bbb9d02aa710" FOREIGN KEY ("notifierId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "notification" ADD CONSTRAINT "FK_769cb6b73a1efe22ddf733ac453" FOREIGN KEY ("noteId") REFERENCES "note"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "following" ADD CONSTRAINT "FK_24e0042143a18157b234df186c3" FOREIGN KEY ("followeeId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "following" ADD CONSTRAINT "FK_6516c5a6f3c015b4eed39978be5" FOREIGN KEY ("followerId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "muting" ADD CONSTRAINT "FK_ec96b4fed9dae517e0dbbe0675c" FOREIGN KEY ("muteeId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "muting" ADD CONSTRAINT "FK_93060675b4a79a577f31d260c67" FOREIGN KEY ("muterId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "sw_subscription" ADD CONSTRAINT "FK_97754ca6f2baff9b4abb7f853dd" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "blocking" ADD CONSTRAINT "FK_2cd4a2743a99671308f5417759e" FOREIGN KEY ("blockeeId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "blocking" ADD CONSTRAINT "FK_0627125f1a8a42c9a1929edb552" FOREIGN KEY ("blockerId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "user_list" ADD CONSTRAINT "FK_b7fcefbdd1c18dce86687531f99" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "user_list_joining" ADD CONSTRAINT "FK_d844bfc6f3f523a05189076efaa" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "user_list_joining" ADD CONSTRAINT "FK_605472305f26818cc93d1baaa74" FOREIGN KEY ("userListId") REFERENCES "user_list"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "note_favorite" ADD CONSTRAINT "FK_47f4b1892f5d6ba8efb3057d81a" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "note_favorite" ADD CONSTRAINT "FK_0e00498f180193423c992bc4370" FOREIGN KEY ("noteId") REFERENCES "note"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "abuse_user_report" ADD CONSTRAINT "FK_d049123c413e68ca52abe734203" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "abuse_user_report" ADD CONSTRAINT "FK_04cc96756f89d0b7f9473e8cdf3" FOREIGN KEY ("reporterId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "messaging_message" ADD CONSTRAINT "FK_5377c307783fce2b6d352e1203b" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "messaging_message" ADD CONSTRAINT "FK_cac14a4e3944454a5ce7daa5142" FOREIGN KEY ("recipientId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "messaging_message" ADD CONSTRAINT "FK_535def119223ac05ad3fa9ef64b" FOREIGN KEY ("fileId") REFERENCES "drive_file"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "signin" ADD CONSTRAINT "FK_2c308dbdc50d94dc625670055f7" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "auth_session" ADD CONSTRAINT "FK_c072b729d71697f959bde66ade0" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "auth_session" ADD CONSTRAINT "FK_dbe037d4bddd17b03a1dc778dee" FOREIGN KEY ("appId") REFERENCES "app"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "follow_request" ADD CONSTRAINT "FK_12c01c0d1a79f77d9f6c15fadd2" FOREIGN KEY ("followeeId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "follow_request" ADD CONSTRAINT "FK_a7fd92dd6dc519e6fb435dd108f" FOREIGN KEY ("followerId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "reversi_game" ADD CONSTRAINT "FK_f7467510c60a45ce5aca6292743" FOREIGN KEY ("user1Id") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "reversi_game" ADD CONSTRAINT "FK_6649a4e8c5d5cf32fb03b5da9f6" FOREIGN KEY ("user2Id") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "reversi_matching" ADD CONSTRAINT "FK_3b25402709dd9882048c2bbade0" FOREIGN KEY ("parentId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "reversi_matching" ADD CONSTRAINT "FK_e247b23a3c9b45f89ec1299d066" FOREIGN KEY ("childId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "user_note_pining" ADD CONSTRAINT "FK_bfbc6f79ba4007b4ce5097f08d6" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "user_note_pining" ADD CONSTRAINT "FK_68881008f7c3588ad7ecae471cf" FOREIGN KEY ("noteId") REFERENCES "note"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "poll" ADD CONSTRAINT "FK_da851e06d0dfe2ef397d8b1bf1b" FOREIGN KEY ("noteId") REFERENCES "note"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "user_keypair" ADD CONSTRAINT "FK_f4853eb41ab722fe05f81cedeb6" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "user_publickey" ADD CONSTRAINT "FK_10c146e4b39b443ede016f6736d" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + await queryRunner.query(`ALTER TABLE "user_profile" ADD CONSTRAINT "FK_51cb79b5555effaf7d69ba1cff9" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.query(`ALTER TABLE "user_profile" DROP CONSTRAINT "FK_51cb79b5555effaf7d69ba1cff9"`); + await queryRunner.query(`ALTER TABLE "user_publickey" DROP CONSTRAINT "FK_10c146e4b39b443ede016f6736d"`); + await queryRunner.query(`ALTER TABLE "user_keypair" DROP CONSTRAINT "FK_f4853eb41ab722fe05f81cedeb6"`); + await queryRunner.query(`ALTER TABLE "poll" DROP CONSTRAINT "FK_da851e06d0dfe2ef397d8b1bf1b"`); + await queryRunner.query(`ALTER TABLE "user_note_pining" DROP CONSTRAINT "FK_68881008f7c3588ad7ecae471cf"`); + await queryRunner.query(`ALTER TABLE "user_note_pining" DROP CONSTRAINT "FK_bfbc6f79ba4007b4ce5097f08d6"`); + await queryRunner.query(`ALTER TABLE "reversi_matching" DROP CONSTRAINT "FK_e247b23a3c9b45f89ec1299d066"`); + await queryRunner.query(`ALTER TABLE "reversi_matching" DROP CONSTRAINT "FK_3b25402709dd9882048c2bbade0"`); + await queryRunner.query(`ALTER TABLE "reversi_game" DROP CONSTRAINT "FK_6649a4e8c5d5cf32fb03b5da9f6"`); + await queryRunner.query(`ALTER TABLE "reversi_game" DROP CONSTRAINT "FK_f7467510c60a45ce5aca6292743"`); + await queryRunner.query(`ALTER TABLE "follow_request" DROP CONSTRAINT "FK_a7fd92dd6dc519e6fb435dd108f"`); + await queryRunner.query(`ALTER TABLE "follow_request" DROP CONSTRAINT "FK_12c01c0d1a79f77d9f6c15fadd2"`); + await queryRunner.query(`ALTER TABLE "auth_session" DROP CONSTRAINT "FK_dbe037d4bddd17b03a1dc778dee"`); + await queryRunner.query(`ALTER TABLE "auth_session" DROP CONSTRAINT "FK_c072b729d71697f959bde66ade0"`); + await queryRunner.query(`ALTER TABLE "signin" DROP CONSTRAINT "FK_2c308dbdc50d94dc625670055f7"`); + await queryRunner.query(`ALTER TABLE "messaging_message" DROP CONSTRAINT "FK_535def119223ac05ad3fa9ef64b"`); + await queryRunner.query(`ALTER TABLE "messaging_message" DROP CONSTRAINT "FK_cac14a4e3944454a5ce7daa5142"`); + await queryRunner.query(`ALTER TABLE "messaging_message" DROP CONSTRAINT "FK_5377c307783fce2b6d352e1203b"`); + await queryRunner.query(`ALTER TABLE "abuse_user_report" DROP CONSTRAINT "FK_04cc96756f89d0b7f9473e8cdf3"`); + await queryRunner.query(`ALTER TABLE "abuse_user_report" DROP CONSTRAINT "FK_d049123c413e68ca52abe734203"`); + await queryRunner.query(`ALTER TABLE "note_favorite" DROP CONSTRAINT "FK_0e00498f180193423c992bc4370"`); + await queryRunner.query(`ALTER TABLE "note_favorite" DROP CONSTRAINT "FK_47f4b1892f5d6ba8efb3057d81a"`); + await queryRunner.query(`ALTER TABLE "user_list_joining" DROP CONSTRAINT "FK_605472305f26818cc93d1baaa74"`); + await queryRunner.query(`ALTER TABLE "user_list_joining" DROP CONSTRAINT "FK_d844bfc6f3f523a05189076efaa"`); + await queryRunner.query(`ALTER TABLE "user_list" DROP CONSTRAINT "FK_b7fcefbdd1c18dce86687531f99"`); + await queryRunner.query(`ALTER TABLE "blocking" DROP CONSTRAINT "FK_0627125f1a8a42c9a1929edb552"`); + await queryRunner.query(`ALTER TABLE "blocking" DROP CONSTRAINT "FK_2cd4a2743a99671308f5417759e"`); + await queryRunner.query(`ALTER TABLE "sw_subscription" DROP CONSTRAINT "FK_97754ca6f2baff9b4abb7f853dd"`); + await queryRunner.query(`ALTER TABLE "muting" DROP CONSTRAINT "FK_93060675b4a79a577f31d260c67"`); + await queryRunner.query(`ALTER TABLE "muting" DROP CONSTRAINT "FK_ec96b4fed9dae517e0dbbe0675c"`); + await queryRunner.query(`ALTER TABLE "following" DROP CONSTRAINT "FK_6516c5a6f3c015b4eed39978be5"`); + await queryRunner.query(`ALTER TABLE "following" DROP CONSTRAINT "FK_24e0042143a18157b234df186c3"`); + await queryRunner.query(`ALTER TABLE "notification" DROP CONSTRAINT "FK_769cb6b73a1efe22ddf733ac453"`); + await queryRunner.query(`ALTER TABLE "notification" DROP CONSTRAINT "FK_3b4e96eec8d36a8bbb9d02aa710"`); + await queryRunner.query(`ALTER TABLE "notification" DROP CONSTRAINT "FK_3c601b70a1066d2c8b517094cb9"`); + await queryRunner.query(`ALTER TABLE "note_unread" DROP CONSTRAINT "FK_e637cba4dc4410218c4251260e4"`); + await queryRunner.query(`ALTER TABLE "note_unread" DROP CONSTRAINT "FK_56b0166d34ddae49d8ef7610bb9"`); + await queryRunner.query(`ALTER TABLE "note_watching" DROP CONSTRAINT "FK_03e7028ab8388a3f5e3ce2a8619"`); + await queryRunner.query(`ALTER TABLE "note_watching" DROP CONSTRAINT "FK_b0134ec406e8d09a540f8182888"`); + await queryRunner.query(`ALTER TABLE "note_reaction" DROP CONSTRAINT "FK_45145e4953780f3cd5656f0ea6a"`); + await queryRunner.query(`ALTER TABLE "note_reaction" DROP CONSTRAINT "FK_13761f64257f40c5636d0ff95ee"`); + await queryRunner.query(`ALTER TABLE "poll_vote" DROP CONSTRAINT "FK_aecfbd5ef60374918e63ee95fa7"`); + await queryRunner.query(`ALTER TABLE "poll_vote" DROP CONSTRAINT "FK_66d2bd2ee31d14bcc23069a89f8"`); + await queryRunner.query(`ALTER TABLE "note" DROP CONSTRAINT "FK_5b87d9d19127bd5d92026017a7b"`); + await queryRunner.query(`ALTER TABLE "note" DROP CONSTRAINT "FK_ec5c201576192ba8904c345c5cc"`); + await queryRunner.query(`ALTER TABLE "note" DROP CONSTRAINT "FK_52ccc804d7c69037d558bac4c96"`); + await queryRunner.query(`ALTER TABLE "note" DROP CONSTRAINT "FK_17cb3553c700a4985dff5a30ff5"`); + await queryRunner.query(`ALTER TABLE "access_token" DROP CONSTRAINT "FK_a3ff16c90cc87a82a0b5959e560"`); + await queryRunner.query(`ALTER TABLE "access_token" DROP CONSTRAINT "FK_9949557d0e1b2c19e5344c171e9"`); + await queryRunner.query(`ALTER TABLE "app" DROP CONSTRAINT "FK_3f5b0899ef90527a3462d7c2cb3"`); + await queryRunner.query(`ALTER TABLE "user" DROP CONSTRAINT "FK_afc64b53f8db3707ceb34eb28e2"`); + await queryRunner.query(`ALTER TABLE "user" DROP CONSTRAINT "FK_58f5c71eaab331645112cf8cfa5"`); + await queryRunner.query(`ALTER TABLE "drive_file" DROP CONSTRAINT "FK_bb90d1956dafc4068c28aa7560a"`); + await queryRunner.query(`ALTER TABLE "drive_file" DROP CONSTRAINT "FK_860fa6f6c7df5bb887249fba22e"`); + await queryRunner.query(`ALTER TABLE "drive_folder" DROP CONSTRAINT "FK_00ceffb0cdc238b3233294f08f2"`); + await queryRunner.query(`ALTER TABLE "drive_folder" DROP CONSTRAINT "FK_f4fc06e49c0171c85f1c48060d2"`); + await queryRunner.query(`DROP TABLE "__chart__users"`); + await queryRunner.query(`DROP TYPE "__chart__users_span_enum"`); + await queryRunner.query(`DROP TABLE "__chart__test"`); + await queryRunner.query(`DROP TYPE "__chart__test_span_enum"`); + await queryRunner.query(`DROP TABLE "__chart__test_unique"`); + await queryRunner.query(`DROP TYPE "__chart__test_unique_span_enum"`); + await queryRunner.query(`DROP TABLE "__chart__test_grouped"`); + await queryRunner.query(`DROP TYPE "__chart__test_grouped_span_enum"`); + await queryRunner.query(`DROP TABLE "__chart__per_user_reaction"`); + await queryRunner.query(`DROP TYPE "__chart__per_user_reaction_span_enum"`); + await queryRunner.query(`DROP TABLE "__chart__per_user_notes"`); + await queryRunner.query(`DROP TYPE "__chart__per_user_notes_span_enum"`); + await queryRunner.query(`DROP TABLE "__chart__per_user_following"`); + await queryRunner.query(`DROP TYPE "__chart__per_user_following_span_enum"`); + await queryRunner.query(`DROP TABLE "__chart__per_user_drive"`); + await queryRunner.query(`DROP TYPE "__chart__per_user_drive_span_enum"`); + await queryRunner.query(`DROP TABLE "__chart__notes"`); + await queryRunner.query(`DROP TYPE "__chart__notes_span_enum"`); + await queryRunner.query(`DROP TABLE "__chart__network"`); + await queryRunner.query(`DROP TYPE "__chart__network_span_enum"`); + await queryRunner.query(`DROP TABLE "__chart__instance"`); + await queryRunner.query(`DROP TYPE "__chart__instance_span_enum"`); + await queryRunner.query(`DROP TABLE "__chart__hashtag"`); + await queryRunner.query(`DROP TYPE "__chart__hashtag_span_enum"`); + await queryRunner.query(`DROP TABLE "__chart__federation"`); + await queryRunner.query(`DROP TYPE "__chart__federation_span_enum"`); + await queryRunner.query(`DROP TABLE "__chart__drive"`); + await queryRunner.query(`DROP TYPE "__chart__drive_span_enum"`); + await queryRunner.query(`DROP TABLE "__chart__active_users"`); + await queryRunner.query(`DROP TYPE "__chart__active_users_span_enum"`); + await queryRunner.query(`DROP INDEX "IDX_dce530b98e454793dac5ec2f5a"`); + await queryRunner.query(`DROP TABLE "user_profile"`); + await queryRunner.query(`DROP INDEX "IDX_171e64971c780ebd23fae140bb"`); + await queryRunner.query(`DROP TABLE "user_publickey"`); + await queryRunner.query(`DROP TABLE "user_keypair"`); + await queryRunner.query(`DROP INDEX "IDX_7fa20a12319c7f6dc3aed98c0a"`); + await queryRunner.query(`DROP INDEX "IDX_0610ebcfcfb4a18441a9bcdab2"`); + await queryRunner.query(`DROP TABLE "poll"`); + await queryRunner.query(`DROP TYPE "poll_notevisibility_enum"`); + await queryRunner.query(`DROP INDEX "IDX_410cd649884b501c02d6e72738"`); + await queryRunner.query(`DROP INDEX "IDX_bfbc6f79ba4007b4ce5097f08d"`); + await queryRunner.query(`DROP TABLE "user_note_pining"`); + await queryRunner.query(`DROP INDEX "IDX_e247b23a3c9b45f89ec1299d06"`); + await queryRunner.query(`DROP INDEX "IDX_3b25402709dd9882048c2bbade"`); + await queryRunner.query(`DROP INDEX "IDX_b604d92d6c7aec38627f6eaf16"`); + await queryRunner.query(`DROP TABLE "reversi_matching"`); + await queryRunner.query(`DROP INDEX "IDX_b46ec40746efceac604142be1c"`); + await queryRunner.query(`DROP TABLE "reversi_game"`); + await queryRunner.query(`DROP INDEX "IDX_4f4d35e1256c84ae3d1f0eab10"`); + await queryRunner.query(`DROP INDEX "IDX_5900e907bb46516ddf2871327c"`); + await queryRunner.query(`DROP INDEX "IDX_b37dafc86e9af007e3295c2781"`); + await queryRunner.query(`DROP TABLE "emoji"`); + await queryRunner.query(`DROP INDEX "IDX_d54a512b822fac7ed52800f6b4"`); + await queryRunner.query(`DROP INDEX "IDX_a7fd92dd6dc519e6fb435dd108"`); + await queryRunner.query(`DROP INDEX "IDX_12c01c0d1a79f77d9f6c15fadd"`); + await queryRunner.query(`DROP TABLE "follow_request"`); + await queryRunner.query(`DROP INDEX "IDX_62cb09e1129f6ec024ef66e183"`); + await queryRunner.query(`DROP TABLE "auth_session"`); + await queryRunner.query(`DROP INDEX "IDX_2c308dbdc50d94dc625670055f"`); + await queryRunner.query(`DROP TABLE "signin"`); + await queryRunner.query(`DROP INDEX "IDX_cac14a4e3944454a5ce7daa514"`); + await queryRunner.query(`DROP INDEX "IDX_5377c307783fce2b6d352e1203"`); + await queryRunner.query(`DROP INDEX "IDX_e21cd3646e52ef9c94aaf17c2e"`); + await queryRunner.query(`DROP TABLE "messaging_message"`); + await queryRunner.query(`DROP INDEX "IDX_0ff69e8dfa9fe31bb4a4660f59"`); + await queryRunner.query(`DROP TABLE "registration_ticket"`); + await queryRunner.query(`DROP INDEX "IDX_5cd442c3b2e74fdd99dae20243"`); + await queryRunner.query(`DROP INDEX "IDX_04cc96756f89d0b7f9473e8cdf"`); + await queryRunner.query(`DROP INDEX "IDX_d049123c413e68ca52abe73420"`); + await queryRunner.query(`DROP INDEX "IDX_db2098070b2b5a523c58181f74"`); + await queryRunner.query(`DROP TABLE "abuse_user_report"`); + await queryRunner.query(`DROP INDEX "IDX_0f4fb9ad355f3effff221ef245"`); + await queryRunner.query(`DROP INDEX "IDX_47f4b1892f5d6ba8efb3057d81"`); + await queryRunner.query(`DROP TABLE "note_favorite"`); + await queryRunner.query(`DROP INDEX "IDX_0b03cbcd7e6a7ce068efa8ecc2"`); + await queryRunner.query(`DROP INDEX "IDX_0c44bf4f680964145f2a68a341"`); + await queryRunner.query(`DROP INDEX "IDX_d57f9030cd3af7f63ffb1c267c"`); + await queryRunner.query(`DROP INDEX "IDX_4c02d38a976c3ae132228c6fce"`); + await queryRunner.query(`DROP INDEX "IDX_0e206cec573f1edff4a3062923"`); + await queryRunner.query(`DROP INDEX "IDX_2710a55f826ee236ea1a62698f"`); + await queryRunner.query(`DROP INDEX "IDX_347fec870eafea7b26c8a73bac"`); + await queryRunner.query(`DROP TABLE "hashtag"`); + await queryRunner.query(`DROP INDEX "IDX_605472305f26818cc93d1baaa7"`); + await queryRunner.query(`DROP INDEX "IDX_d844bfc6f3f523a05189076efa"`); + await queryRunner.query(`DROP TABLE "user_list_joining"`); + await queryRunner.query(`DROP INDEX "IDX_b7fcefbdd1c18dce86687531f9"`); + await queryRunner.query(`DROP TABLE "user_list"`); + await queryRunner.query(`DROP INDEX "IDX_98a1bc5cb30dfd159de056549f"`); + await queryRunner.query(`DROP INDEX "IDX_0627125f1a8a42c9a1929edb55"`); + await queryRunner.query(`DROP INDEX "IDX_2cd4a2743a99671308f5417759"`); + await queryRunner.query(`DROP INDEX "IDX_b9a354f7941c1e779f3b33aea6"`); + await queryRunner.query(`DROP TABLE "blocking"`); + await queryRunner.query(`DROP INDEX "IDX_97754ca6f2baff9b4abb7f853d"`); + await queryRunner.query(`DROP TABLE "sw_subscription"`); + await queryRunner.query(`DROP INDEX "IDX_1eb9d9824a630321a29fd3b290"`); + await queryRunner.query(`DROP INDEX "IDX_93060675b4a79a577f31d260c6"`); + await queryRunner.query(`DROP INDEX "IDX_ec96b4fed9dae517e0dbbe0675"`); + await queryRunner.query(`DROP INDEX "IDX_f86d57fbca33c7a4e6897490cc"`); + await queryRunner.query(`DROP TABLE "muting"`); + await queryRunner.query(`DROP INDEX "IDX_8d5afc98982185799b160e10eb"`); + await queryRunner.query(`DROP INDEX "IDX_2cd3b2a6b4cf0b910b260afe08"`); + await queryRunner.query(`DROP TABLE "instance"`); + await queryRunner.query(`DROP INDEX "IDX_307be5f1d1252e0388662acb96"`); + await queryRunner.query(`DROP INDEX "IDX_6516c5a6f3c015b4eed39978be"`); + await queryRunner.query(`DROP INDEX "IDX_24e0042143a18157b234df186c"`); + await queryRunner.query(`DROP INDEX "IDX_582f8fab771a9040a12961f3e7"`); + await queryRunner.query(`DROP TABLE "following"`); + await queryRunner.query(`DROP TABLE "meta"`); + await queryRunner.query(`DROP INDEX "IDX_3c601b70a1066d2c8b517094cb"`); + await queryRunner.query(`DROP INDEX "IDX_b11a5e627c41d4dc3170f1d370"`); + await queryRunner.query(`DROP TABLE "notification"`); + await queryRunner.query(`DROP INDEX "IDX_d908433a4953cc13216cd9c274"`); + await queryRunner.query(`DROP INDEX "IDX_e637cba4dc4410218c4251260e"`); + await queryRunner.query(`DROP INDEX "IDX_56b0166d34ddae49d8ef7610bb"`); + await queryRunner.query(`DROP TABLE "note_unread"`); + await queryRunner.query(`DROP INDEX "IDX_a42c93c69989ce1d09959df4cf"`); + await queryRunner.query(`DROP INDEX "IDX_44499765eec6b5489d72c4253b"`); + await queryRunner.query(`DROP INDEX "IDX_03e7028ab8388a3f5e3ce2a861"`); + await queryRunner.query(`DROP INDEX "IDX_b0134ec406e8d09a540f818288"`); + await queryRunner.query(`DROP INDEX "IDX_318cdf42a9cfc11f479bd802bb"`); + await queryRunner.query(`DROP TABLE "note_watching"`); + await queryRunner.query(`DROP INDEX "IDX_ad0c221b25672daf2df320a817"`); + await queryRunner.query(`DROP INDEX "IDX_45145e4953780f3cd5656f0ea6"`); + await queryRunner.query(`DROP INDEX "IDX_13761f64257f40c5636d0ff95e"`); + await queryRunner.query(`DROP INDEX "IDX_01f4581f114e0ebd2bbb876f0b"`); + await queryRunner.query(`DROP TABLE "note_reaction"`); + await queryRunner.query(`DROP INDEX "IDX_50bd7164c5b78f1f4a42c4d21f"`); + await queryRunner.query(`DROP INDEX "IDX_aecfbd5ef60374918e63ee95fa"`); + await queryRunner.query(`DROP INDEX "IDX_66d2bd2ee31d14bcc23069a89f"`); + await queryRunner.query(`DROP INDEX "IDX_0fb627e1c2f753262a74f0562d"`); + await queryRunner.query(`DROP TABLE "poll_vote"`); + await queryRunner.query(`DROP INDEX "IDX_7125a826ab192eb27e11d358a5"`); + await queryRunner.query(`DROP INDEX "IDX_88937d94d7443d9a99a76fa5c0"`); + await queryRunner.query(`DROP INDEX "IDX_54ebcb6d27222913b908d56fd8"`); + await queryRunner.query(`DROP INDEX "IDX_796a8c03959361f97dc2be1d5c"`); + await queryRunner.query(`DROP INDEX "IDX_25dfc71b0369b003a4cd434d0b"`); + await queryRunner.query(`DROP INDEX "IDX_51c063b6a133a9cb87145450f5"`); + await queryRunner.query(`DROP INDEX "IDX_153536c67d05e9adb24e99fc2b"`); + await queryRunner.query(`DROP INDEX "IDX_5b87d9d19127bd5d92026017a7"`); + await queryRunner.query(`DROP INDEX "IDX_52ccc804d7c69037d558bac4c9"`); + await queryRunner.query(`DROP INDEX "IDX_17cb3553c700a4985dff5a30ff"`); + await queryRunner.query(`DROP INDEX "IDX_e7c0567f5261063592f022e9b5"`); + await queryRunner.query(`DROP TABLE "note"`); + await queryRunner.query(`DROP TYPE "note_visibility_enum"`); + await queryRunner.query(`DROP INDEX "IDX_9949557d0e1b2c19e5344c171e"`); + await queryRunner.query(`DROP INDEX "IDX_64c327441248bae40f7d92f34f"`); + await queryRunner.query(`DROP INDEX "IDX_70ba8f6af34bc924fc9e12adb8"`); + await queryRunner.query(`DROP TABLE "access_token"`); + await queryRunner.query(`DROP INDEX "IDX_f49922d511d666848f250663c4"`); + await queryRunner.query(`DROP INDEX "IDX_3f5b0899ef90527a3462d7c2cb"`); + await queryRunner.query(`DROP INDEX "IDX_048a757923ed8b157e9895da53"`); + await queryRunner.query(`DROP TABLE "app"`); + await queryRunner.query(`DROP INDEX "IDX_5deb01ae162d1d70b80d064c27"`); + await queryRunner.query(`DROP INDEX "IDX_a854e557b1b14814750c7c7b0c"`); + await queryRunner.query(`DROP INDEX "IDX_be623adaa4c566baf5d29ce0c8"`); + await queryRunner.query(`DROP INDEX "IDX_3252a5df8d5bbd16b281f7799e"`); + await queryRunner.query(`DROP INDEX "IDX_fa99d777623947a5b05f394cae"`); + await queryRunner.query(`DROP INDEX "IDX_a27b942a0d6dcff90e3ee9b5e8"`); + await queryRunner.query(`DROP INDEX "IDX_80ca6e6ef65fb9ef34ea8c90f4"`); + await queryRunner.query(`DROP INDEX "IDX_e11e649824a45d8ed01d597fd9"`); + await queryRunner.query(`DROP TABLE "user"`); + await queryRunner.query(`DROP INDEX "IDX_bb90d1956dafc4068c28aa7560"`); + await queryRunner.query(`DROP INDEX "IDX_e5848eac4940934e23dbc17581"`); + await queryRunner.query(`DROP INDEX "IDX_c55b2b7c284d9fef98026fc88e"`); + await queryRunner.query(`DROP INDEX "IDX_e74022ce9a074b3866f70e0d27"`); + await queryRunner.query(`DROP INDEX "IDX_d85a184c2540d2deba33daf642"`); + await queryRunner.query(`DROP INDEX "IDX_a40b8df8c989d7db937ea27cf6"`); + await queryRunner.query(`DROP INDEX "IDX_37bb9a1b4585f8a3beb24c62d6"`); + await queryRunner.query(`DROP INDEX "IDX_92779627994ac79277f070c91e"`); + await queryRunner.query(`DROP INDEX "IDX_860fa6f6c7df5bb887249fba22"`); + await queryRunner.query(`DROP INDEX "IDX_c8dfad3b72196dd1d6b5db168a"`); + await queryRunner.query(`DROP TABLE "drive_file"`); + await queryRunner.query(`DROP INDEX "IDX_00ceffb0cdc238b3233294f08f"`); + await queryRunner.query(`DROP INDEX "IDX_f4fc06e49c0171c85f1c48060d"`); + await queryRunner.query(`DROP INDEX "IDX_02878d441ceae15ce060b73daf"`); + await queryRunner.query(`DROP TABLE "drive_folder"`); + await queryRunner.query(`DROP INDEX "IDX_584b536b49e53ac81beb39a177"`); + await queryRunner.query(`DROP INDEX "IDX_8cb40cfc8f3c28261e6f887b03"`); + await queryRunner.query(`DROP INDEX "IDX_8e4eb51a35d81b64dda28eed0a"`); + await queryRunner.query(`DROP TABLE "log"`); + await queryRunner.query(`DROP TYPE "log_level_enum"`); + } + +} diff --git a/migration/1561873850023-ChartIndexes.ts b/migration/1561873850023-ChartIndexes.ts new file mode 100644 index 000000000..b870ad3b7 --- /dev/null +++ b/migration/1561873850023-ChartIndexes.ts @@ -0,0 +1,201 @@ +import {MigrationInterface, QueryRunner} from "typeorm"; + +export class ChartIndexes1561873850023 implements MigrationInterface { + + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.query(`CREATE INDEX "IDX_0ad37b7ef50f4ddc84363d7ccc" ON "__chart__active_users" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_15e91a03aeeac9dbccdf43fc06" ON "__chart__active_users" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_00ed5f86db1f7efafb1978bf21" ON "__chart__active_users" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_20f57cc8f142c131340ee16742" ON "__chart__active_users" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_9a3ed15a30ab7e3a37702e6e08" ON "__chart__active_users" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_c26e2c1cbb6e911e0554b27416" ON "__chart__active_users" ("span", "date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_13565815f618a1ff53886c5b28" ON "__chart__drive" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_3fa0d0f17ca72e3dc80999a032" ON "__chart__drive" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_7a170f67425e62a8fabb76c872" ON "__chart__drive" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_6e1df243476e20cbf86572ecc0" ON "__chart__drive" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_3313d7288855ec105b5bbf6c21" ON "__chart__drive" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_06690fc959f1c9fdaf21928222" ON "__chart__drive" ("span", "date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_36cb699c49580d4e6c2e6159f9" ON "__chart__federation" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_e447064455928cf627590ef527" ON "__chart__federation" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_76e87c7bfc5d925fcbba405d84" ON "__chart__federation" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_2d416e6af791a82e338c79d480" ON "__chart__federation" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_dd907becf76104e4b656659e6b" ON "__chart__federation" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_e9cd07672b37d8966cf3709283" ON "__chart__federation" ("span", "date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_07747a1038c05f532a718fe1de" ON "__chart__hashtag" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_fcc181fb8283009c61cc4083ef" ON "__chart__hashtag" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_99a7d2faaef84a6f728d714ad6" ON "__chart__hashtag" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_49975586f50ed7b800fdd88fbd" ON "__chart__hashtag" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_25a97c02003338124b2b75fdbc" ON "__chart__hashtag" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_6d6f156ceefc6bc5f273a0e370" ON "__chart__hashtag" ("span", "date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_6b8f34a1a64b06014b6fb66824" ON "__chart__instance" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_c12f0af4a66cdd30c2287ce8aa" ON "__chart__instance" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_da8a46ba84ca1d8bb5a29bfb63" ON "__chart__instance" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_d0a4f79af5a97b08f37b547197" ON "__chart__instance" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_39ee857ab2f23493037c6b6631" ON "__chart__instance" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_f5448d9633cff74208d850aabe" ON "__chart__instance" ("span", "date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_a1efd3e0048a5f2793a47360dc" ON "__chart__network" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_f8dd01baeded2ffa833e0a610a" ON "__chart__network" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_7b5da130992ec9df96712d4290" ON "__chart__network" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_08fac0eb3b11f04c200c0b40dd" ON "__chart__network" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_0a905b992fecd2b5c3fb98759e" ON "__chart__network" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_9ff6944f01acb756fdc92d7563" ON "__chart__network" ("span", "date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_42eb716a37d381cdf566192b2b" ON "__chart__notes" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_e69096589f11e3baa98ddd64d0" ON "__chart__notes" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_7036f2957151588b813185c794" ON "__chart__notes" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_0c9a159c5082cbeef3ca6706b5" ON "__chart__notes" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_f09d543e3acb16c5976bdb31fa" ON "__chart__notes" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_924fc196c80ca24bae01dd37e4" ON "__chart__notes" ("span", "date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_5f86db6492274e07c1a3cdf286" ON "__chart__per_user_drive" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_328f259961e60c4fa0bfcf55ca" ON "__chart__per_user_drive" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_e496ca8096d28f6b9b509264dc" ON "__chart__per_user_drive" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_42ea9381f0fda8dfe0fa1c8b53" ON "__chart__per_user_drive" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_30bf67687f483ace115c5ca642" ON "__chart__per_user_drive" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_f2aeafde2ae6fbad38e857631b" ON "__chart__per_user_drive" ("span", "date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_7af07790712aa3438ff6773f3b" ON "__chart__per_user_following" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_f92dd6d03f8d994f29987f6214" ON "__chart__per_user_following" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_4b3593098b6edc9c5afe36b18b" ON "__chart__per_user_following" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_57b5458d0d3d6d1e7f13d4e57f" ON "__chart__per_user_following" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_b77d4dd9562c3a899d9a286fcd" ON "__chart__per_user_following" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_4db3b84c7be0d3464714f3e0b1" ON "__chart__per_user_following" ("span", "date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_84234bd1abb873f07329681c83" ON "__chart__per_user_notes" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_8d2cbbc8114d90d19b44d626b6" ON "__chart__per_user_notes" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_55bf20f366979f2436de99206b" ON "__chart__per_user_notes" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_046feeb12e9ef5f783f409866a" ON "__chart__per_user_notes" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_5048e9daccbbbc6d567bb142d3" ON "__chart__per_user_notes" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_f68a5ab958f9f5fa17a32ac23b" ON "__chart__per_user_notes" ("span", "date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_f7bf4c62059764c2c2bb40fdab" ON "__chart__per_user_reaction" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_65633a106bce43fc7c5c30a5c7" ON "__chart__per_user_reaction" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_8cf3156fd7a6b15c43459c6e3b" ON "__chart__per_user_reaction" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_edeb73c09c3143a81bcb34d569" ON "__chart__per_user_reaction" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_229a41ad465f9205f1f5703291" ON "__chart__per_user_reaction" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_e316f01a6d24eb31db27f88262" ON "__chart__per_user_reaction" ("span", "date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_0c641990ecf47d2545df4edb75" ON "__chart__test_grouped" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_2be7ec6cebddc14dc11e206686" ON "__chart__test_grouped" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_234dff3c0b56a6150b95431ab9" ON "__chart__test_grouped" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_a5133470f4825902e170328ca5" ON "__chart__test_grouped" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_b14489029e4b3aaf4bba5fb524" ON "__chart__test_grouped" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_84e661abb7bd1e51b690d4b017" ON "__chart__test_grouped" ("span", "date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_437bab3c6061d90f6bb65fd2cc" ON "__chart__test_unique" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_5c73bf61da4f6e6f15bae88ed1" ON "__chart__test_unique" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_bbfa573a8181018851ed0b6357" ON "__chart__test_unique" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_d70c86baedc68326be11f9c0ce" ON "__chart__test_unique" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_a0cd75442dd10d0643a17c4a49" ON "__chart__test_unique" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_66e1e1ecd2f29e57778af35b59" ON "__chart__test_unique" ("span", "date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_b070a906db04b44c67c6c2144d" ON "__chart__test" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_92255988735563f0fe4aba1f05" ON "__chart__test" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_d41cce6aee1a50bfc062038f9b" ON "__chart__test" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_c5870993e25c3d5771f91f5003" ON "__chart__test" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_a319e5dbf47e8a17497623beae" ON "__chart__test" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_f170de677ea75ad4533de2723e" ON "__chart__test" ("span", "date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_845254b3eaf708ae8a6cac3026" ON "__chart__users" ("date") `); + await queryRunner.query(`CREATE INDEX "IDX_7c184198ecf66a8d3ecb253ab3" ON "__chart__users" ("span") `); + await queryRunner.query(`CREATE INDEX "IDX_ed9b95919c672a13008e9487ee" ON "__chart__users" ("group") `); + await queryRunner.query(`CREATE INDEX "IDX_f091abb24193d50c653c6b77fc" ON "__chart__users" ("span", "date") `); + await queryRunner.query(`CREATE INDEX "IDX_337e9599f278bd7537fe30876f" ON "__chart__users" ("date", "group") `); + await queryRunner.query(`CREATE INDEX "IDX_a770a57c70e668cc61590c9161" ON "__chart__users" ("span", "date", "group") `); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.query(`DROP INDEX "IDX_a770a57c70e668cc61590c9161"`); + await queryRunner.query(`DROP INDEX "IDX_337e9599f278bd7537fe30876f"`); + await queryRunner.query(`DROP INDEX "IDX_f091abb24193d50c653c6b77fc"`); + await queryRunner.query(`DROP INDEX "IDX_ed9b95919c672a13008e9487ee"`); + await queryRunner.query(`DROP INDEX "IDX_7c184198ecf66a8d3ecb253ab3"`); + await queryRunner.query(`DROP INDEX "IDX_845254b3eaf708ae8a6cac3026"`); + await queryRunner.query(`DROP INDEX "IDX_f170de677ea75ad4533de2723e"`); + await queryRunner.query(`DROP INDEX "IDX_a319e5dbf47e8a17497623beae"`); + await queryRunner.query(`DROP INDEX "IDX_c5870993e25c3d5771f91f5003"`); + await queryRunner.query(`DROP INDEX "IDX_d41cce6aee1a50bfc062038f9b"`); + await queryRunner.query(`DROP INDEX "IDX_92255988735563f0fe4aba1f05"`); + await queryRunner.query(`DROP INDEX "IDX_b070a906db04b44c67c6c2144d"`); + await queryRunner.query(`DROP INDEX "IDX_66e1e1ecd2f29e57778af35b59"`); + await queryRunner.query(`DROP INDEX "IDX_a0cd75442dd10d0643a17c4a49"`); + await queryRunner.query(`DROP INDEX "IDX_d70c86baedc68326be11f9c0ce"`); + await queryRunner.query(`DROP INDEX "IDX_bbfa573a8181018851ed0b6357"`); + await queryRunner.query(`DROP INDEX "IDX_5c73bf61da4f6e6f15bae88ed1"`); + await queryRunner.query(`DROP INDEX "IDX_437bab3c6061d90f6bb65fd2cc"`); + await queryRunner.query(`DROP INDEX "IDX_84e661abb7bd1e51b690d4b017"`); + await queryRunner.query(`DROP INDEX "IDX_b14489029e4b3aaf4bba5fb524"`); + await queryRunner.query(`DROP INDEX "IDX_a5133470f4825902e170328ca5"`); + await queryRunner.query(`DROP INDEX "IDX_234dff3c0b56a6150b95431ab9"`); + await queryRunner.query(`DROP INDEX "IDX_2be7ec6cebddc14dc11e206686"`); + await queryRunner.query(`DROP INDEX "IDX_0c641990ecf47d2545df4edb75"`); + await queryRunner.query(`DROP INDEX "IDX_e316f01a6d24eb31db27f88262"`); + await queryRunner.query(`DROP INDEX "IDX_229a41ad465f9205f1f5703291"`); + await queryRunner.query(`DROP INDEX "IDX_edeb73c09c3143a81bcb34d569"`); + await queryRunner.query(`DROP INDEX "IDX_8cf3156fd7a6b15c43459c6e3b"`); + await queryRunner.query(`DROP INDEX "IDX_65633a106bce43fc7c5c30a5c7"`); + await queryRunner.query(`DROP INDEX "IDX_f7bf4c62059764c2c2bb40fdab"`); + await queryRunner.query(`DROP INDEX "IDX_f68a5ab958f9f5fa17a32ac23b"`); + await queryRunner.query(`DROP INDEX "IDX_5048e9daccbbbc6d567bb142d3"`); + await queryRunner.query(`DROP INDEX "IDX_046feeb12e9ef5f783f409866a"`); + await queryRunner.query(`DROP INDEX "IDX_55bf20f366979f2436de99206b"`); + await queryRunner.query(`DROP INDEX "IDX_8d2cbbc8114d90d19b44d626b6"`); + await queryRunner.query(`DROP INDEX "IDX_84234bd1abb873f07329681c83"`); + await queryRunner.query(`DROP INDEX "IDX_4db3b84c7be0d3464714f3e0b1"`); + await queryRunner.query(`DROP INDEX "IDX_b77d4dd9562c3a899d9a286fcd"`); + await queryRunner.query(`DROP INDEX "IDX_57b5458d0d3d6d1e7f13d4e57f"`); + await queryRunner.query(`DROP INDEX "IDX_4b3593098b6edc9c5afe36b18b"`); + await queryRunner.query(`DROP INDEX "IDX_f92dd6d03f8d994f29987f6214"`); + await queryRunner.query(`DROP INDEX "IDX_7af07790712aa3438ff6773f3b"`); + await queryRunner.query(`DROP INDEX "IDX_f2aeafde2ae6fbad38e857631b"`); + await queryRunner.query(`DROP INDEX "IDX_30bf67687f483ace115c5ca642"`); + await queryRunner.query(`DROP INDEX "IDX_42ea9381f0fda8dfe0fa1c8b53"`); + await queryRunner.query(`DROP INDEX "IDX_e496ca8096d28f6b9b509264dc"`); + await queryRunner.query(`DROP INDEX "IDX_328f259961e60c4fa0bfcf55ca"`); + await queryRunner.query(`DROP INDEX "IDX_5f86db6492274e07c1a3cdf286"`); + await queryRunner.query(`DROP INDEX "IDX_924fc196c80ca24bae01dd37e4"`); + await queryRunner.query(`DROP INDEX "IDX_f09d543e3acb16c5976bdb31fa"`); + await queryRunner.query(`DROP INDEX "IDX_0c9a159c5082cbeef3ca6706b5"`); + await queryRunner.query(`DROP INDEX "IDX_7036f2957151588b813185c794"`); + await queryRunner.query(`DROP INDEX "IDX_e69096589f11e3baa98ddd64d0"`); + await queryRunner.query(`DROP INDEX "IDX_42eb716a37d381cdf566192b2b"`); + await queryRunner.query(`DROP INDEX "IDX_9ff6944f01acb756fdc92d7563"`); + await queryRunner.query(`DROP INDEX "IDX_0a905b992fecd2b5c3fb98759e"`); + await queryRunner.query(`DROP INDEX "IDX_08fac0eb3b11f04c200c0b40dd"`); + await queryRunner.query(`DROP INDEX "IDX_7b5da130992ec9df96712d4290"`); + await queryRunner.query(`DROP INDEX "IDX_f8dd01baeded2ffa833e0a610a"`); + await queryRunner.query(`DROP INDEX "IDX_a1efd3e0048a5f2793a47360dc"`); + await queryRunner.query(`DROP INDEX "IDX_f5448d9633cff74208d850aabe"`); + await queryRunner.query(`DROP INDEX "IDX_39ee857ab2f23493037c6b6631"`); + await queryRunner.query(`DROP INDEX "IDX_d0a4f79af5a97b08f37b547197"`); + await queryRunner.query(`DROP INDEX "IDX_da8a46ba84ca1d8bb5a29bfb63"`); + await queryRunner.query(`DROP INDEX "IDX_c12f0af4a66cdd30c2287ce8aa"`); + await queryRunner.query(`DROP INDEX "IDX_6b8f34a1a64b06014b6fb66824"`); + await queryRunner.query(`DROP INDEX "IDX_6d6f156ceefc6bc5f273a0e370"`); + await queryRunner.query(`DROP INDEX "IDX_25a97c02003338124b2b75fdbc"`); + await queryRunner.query(`DROP INDEX "IDX_49975586f50ed7b800fdd88fbd"`); + await queryRunner.query(`DROP INDEX "IDX_99a7d2faaef84a6f728d714ad6"`); + await queryRunner.query(`DROP INDEX "IDX_fcc181fb8283009c61cc4083ef"`); + await queryRunner.query(`DROP INDEX "IDX_07747a1038c05f532a718fe1de"`); + await queryRunner.query(`DROP INDEX "IDX_e9cd07672b37d8966cf3709283"`); + await queryRunner.query(`DROP INDEX "IDX_dd907becf76104e4b656659e6b"`); + await queryRunner.query(`DROP INDEX "IDX_2d416e6af791a82e338c79d480"`); + await queryRunner.query(`DROP INDEX "IDX_76e87c7bfc5d925fcbba405d84"`); + await queryRunner.query(`DROP INDEX "IDX_e447064455928cf627590ef527"`); + await queryRunner.query(`DROP INDEX "IDX_36cb699c49580d4e6c2e6159f9"`); + await queryRunner.query(`DROP INDEX "IDX_06690fc959f1c9fdaf21928222"`); + await queryRunner.query(`DROP INDEX "IDX_3313d7288855ec105b5bbf6c21"`); + await queryRunner.query(`DROP INDEX "IDX_6e1df243476e20cbf86572ecc0"`); + await queryRunner.query(`DROP INDEX "IDX_7a170f67425e62a8fabb76c872"`); + await queryRunner.query(`DROP INDEX "IDX_3fa0d0f17ca72e3dc80999a032"`); + await queryRunner.query(`DROP INDEX "IDX_13565815f618a1ff53886c5b28"`); + await queryRunner.query(`DROP INDEX "IDX_c26e2c1cbb6e911e0554b27416"`); + await queryRunner.query(`DROP INDEX "IDX_9a3ed15a30ab7e3a37702e6e08"`); + await queryRunner.query(`DROP INDEX "IDX_20f57cc8f142c131340ee16742"`); + await queryRunner.query(`DROP INDEX "IDX_00ed5f86db1f7efafb1978bf21"`); + await queryRunner.query(`DROP INDEX "IDX_15e91a03aeeac9dbccdf43fc06"`); + await queryRunner.query(`DROP INDEX "IDX_0ad37b7ef50f4ddc84363d7ccc"`); + await queryRunner.query(`DROP INDEX "IDX_90148bbc2bf0854428786bfc15"`); + await queryRunner.query(`DROP INDEX "IDX_88937d94d7443d9a99a76fa5c0"`); + await queryRunner.query(`DROP INDEX "IDX_54ebcb6d27222913b908d56fd8"`); + await queryRunner.query(`DROP INDEX "IDX_796a8c03959361f97dc2be1d5c"`); + await queryRunner.query(`DROP INDEX "IDX_25dfc71b0369b003a4cd434d0b"`); + await queryRunner.query(`DROP INDEX "IDX_51c063b6a133a9cb87145450f5"`); + await queryRunner.query(`DROP INDEX "IDX_fa99d777623947a5b05f394cae"`); + await queryRunner.query(`DROP INDEX "IDX_315c779174fe8247ab324f036e"`); + await queryRunner.query(`DROP INDEX "IDX_c5d46cbfda48b1c33ed852e21b"`); + await queryRunner.query(`DROP INDEX "IDX_8cb40cfc8f3c28261e6f887b03"`); + } + +} diff --git a/src/ormconfig.ts b/ormconfig.js similarity index 58% rename from src/ormconfig.ts rename to ormconfig.js index 6b7297b2c..8a0196947 100644 --- a/src/ormconfig.ts +++ b/ormconfig.js @@ -1,7 +1,7 @@ -import * as fs from 'fs'; -import config from './config'; +const config = require('./built/config').default; +const entities = require('./built/db/postgre').entities; -const json = { +module.exports = { type: 'postgres', host: config.db.host, port: config.db.port, @@ -9,11 +9,9 @@ const json = { password: config.db.pass, database: config.db.db, extra: config.db.extra, - entities: ['src/models/entities/*.ts'], + entities: entities, migrations: ['migration/*.ts'], cli: { migrationsDir: 'migration' } }; - -fs.writeFileSync('ormconfig.json', JSON.stringify(json)); diff --git a/package.json b/package.json index 3e7dde6c1..3e21a9da5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "misskey", "author": "syuilo ", - "version": "11.20.0", + "version": "11.23.1", "codename": "daybreak", "repository": { "type": "git", @@ -11,9 +11,9 @@ "private": true, "scripts": { "start": "node ./index.js", - "init": "node ./built/init.js", + "init": "npm run migrate", "ormconfig": "node ./built/ormconfig.js", - "migrate": "npm run ormconfig && ts-node ./node_modules/typeorm/cli.js migration:run", + "migrate": "ts-node ./node_modules/typeorm/cli.js migration:run", "migrateandstart": "npm run migrate && npm run start", "build": "webpack && gulp build", "webpack": "webpack", @@ -99,13 +99,13 @@ "@types/websocket": "0.0.40", "@types/ws": "6.0.1", "animejs": "3.0.1", - "apexcharts": "3.6.12", + "apexcharts": "3.8.0", "autobind-decorator": "2.4.0", "autosize": "4.0.2", "autwh": "0.1.0", "bcryptjs": "2.4.3", "bootstrap-vue": "2.0.0-rc.13", - "bull": "3.9.1", + "bull": "3.10.0", "cafy": "15.1.1", "chai": "4.2.0", "chalk": "2.4.2", @@ -143,12 +143,12 @@ "http-signature": "1.2.0", "insert-text-at-cursor": "0.2.0", "is-root": "2.1.0", - "is-svg": "4.1.0", + "is-svg": "4.2.0", "js-yaml": "3.13.1", - "jsdom": "15.1.0", + "jsdom": "15.1.1", "json5": "2.1.0", "json5-loader": "2.0.0", - "katex": "0.10.1", + "katex": "0.10.2", "koa": "2.7.0", "koa-bodyparser": "4.2.1", "koa-compress": "3.0.0", @@ -165,14 +165,14 @@ "loader-utils": "1.2.3", "lolex": "3.1.0", "lookup-dns-cache": "2.1.0", - "minio": "7.0.8", + "minio": "7.0.10", "mocha": "6.1.4", "moji": "0.5.1", "moment": "2.24.0", - "ms": "2.1.1", + "ms": "2.1.2", "nested-property": "0.0.7", - "node-fetch": "2.5.0", - "nodemailer": "6.1.1", + "node-fetch": "2.6.0", + "nodemailer": "6.2.1", "nprogress": "0.2.0", "object-assign-deep": "0.4.0", "os-utils": "0.0.14", @@ -214,10 +214,10 @@ "style-loader": "0.23.1", "stylus": "0.54.5", "stylus-loader": "3.0.2", - "summaly": "2.2.0", - "systeminformation": "4.1.6", + "summaly": "2.3.0", + "systeminformation": "4.11.1", "syuilo-password-strength": "0.0.1", - "terser-webpack-plugin": "1.2.4", + "terser-webpack-plugin": "1.3.0", "textarea-caret": "3.1.0", "tinycolor2": "1.4.1", "tmp": "0.1.0", @@ -226,7 +226,7 @@ "tslint": "5.15.0", "tslint-sonarts": "1.9.0", "typeorm": "0.2.16-rc.1", - "typescript": "3.3.3333", + "typescript": "3.5.2", "typescript-eslint-parser": "22.0.0", "uglify-es": "3.3.9", "ulid": "2.3.0", @@ -255,8 +255,8 @@ "vuex": "3.1.1", "vuex-persistedstate": "2.5.4", "web-push": "3.3.5", - "webpack": "4.32.2", - "webpack-cli": "3.3.2", + "webpack": "4.34.0", + "webpack-cli": "3.3.4", "websocket": "1.0.28", "ws": "7.0.0", "xev": "2.0.1" diff --git a/src/client/app/admin/views/dashboard.vue b/src/client/app/admin/views/dashboard.vue index 639ec190e..15bd853c1 100644 --- a/src/client/app/admin/views/dashboard.vue +++ b/src/client/app/admin/views/dashboard.vue @@ -124,7 +124,7 @@ export default Vue.extend({ this.connection = this.$root.stream.useSharedConnection('serverStats'); this.updateStats(); - this.clock = setInterval(this.updateStats, 1000); + this.clock = setInterval(this.updateStats, 3000); this.$root.getMeta().then(meta => { this.meta = meta; diff --git a/src/client/app/admin/views/db.vue b/src/client/app/admin/views/db.vue new file mode 100644 index 000000000..7818546e7 --- /dev/null +++ b/src/client/app/admin/views/db.vue @@ -0,0 +1,39 @@ + + + diff --git a/src/client/app/admin/views/index.vue b/src/client/app/admin/views/index.vue index 43e47038f..8a13fe1bf 100644 --- a/src/client/app/admin/views/index.vue +++ b/src/client/app/admin/views/index.vue @@ -22,6 +22,7 @@
  • {{ $t('instance') }}
  • {{ $t('queue') }}
  • {{ $t('logs') }}
  • +
  • {{ $t('db') }}
  • {{ $t('moderators') }}
  • {{ $t('users') }}
  • {{ $t('@.drive') }}
  • @@ -43,6 +44,7 @@
    +
    @@ -59,19 +61,20 @@ import Vue from 'vue'; import i18n from '../../i18n'; import { version } from '../../config'; -import XDashboard from "./dashboard.vue"; -import XInstance from "./instance.vue"; -import XQueue from "./queue.vue"; -import XLogs from "./logs.vue"; -import XModerators from "./moderators.vue"; -import XEmoji from "./emoji.vue"; -import XAnnouncements from "./announcements.vue"; -import XUsers from "./users.vue"; -import XDrive from "./drive.vue"; -import XAbuse from "./abuse.vue"; -import XFederation from "./federation.vue"; +import XDashboard from './dashboard.vue'; +import XInstance from './instance.vue'; +import XQueue from './queue.vue'; +import XLogs from './logs.vue'; +import XDb from './db.vue'; +import XModerators from './moderators.vue'; +import XEmoji from './emoji.vue'; +import XAnnouncements from './announcements.vue'; +import XUsers from './users.vue'; +import XDrive from './drive.vue'; +import XAbuse from './abuse.vue'; +import XFederation from './federation.vue'; -import { faHeadset, faArrowLeft, faGlobe, faExclamationCircle, faTasks, faStream } from '@fortawesome/free-solid-svg-icons'; +import { faHeadset, faArrowLeft, faGlobe, faExclamationCircle, faTasks, faStream, faDatabase } from '@fortawesome/free-solid-svg-icons'; import { faGrin } from '@fortawesome/free-regular-svg-icons'; // Detect the user agent @@ -85,6 +88,7 @@ export default Vue.extend({ XInstance, XQueue, XLogs, + XDb, XModerators, XEmoji, XAnnouncements, @@ -108,7 +112,8 @@ export default Vue.extend({ faGlobe, faExclamationCircle, faTasks, - faStream + faStream, + faDatabase, }; }, methods: { diff --git a/src/client/app/auth/views/form.vue b/src/client/app/auth/views/form.vue index b640a4056..064dbf388 100644 --- a/src/client/app/auth/views/form.vue +++ b/src/client/app/auth/views/form.vue @@ -1,7 +1,7 @@