Commit graph

2923 commits

Author SHA1 Message Date
syuilo e48926b01d Update about-misskey.vue 2023-05-02 08:13:30 +09:00
syuilo 25580e8afc 🎨 2023-05-01 17:09:07 +09:00
syuilo 5b7482d8f4 Update about-misskey.vue 2023-05-01 10:02:57 +09:00
tamaina 5f4d20ac1d ThisIsExperimentalFeature → thisIsExperimentalFeature 2023-04-30 12:11:43 +00:00
nexryai 7de59a80a2
fix(backend): サーバーメトリクスのメモリ使用率が不正確になることがある不具合の修正 (#10728)
* FIX: サーバーメトリクスのメモリ使用率が不正確になることがある不具合の修正

* Update CHANGELOG
2023-04-30 06:47:00 +09:00
Namekuji d28866f71a
enhance: account migration (#10592)
* copy block and mute then create follow and unfollow jobs

* copy block and mute and update lists when detecting an account has moved

* no need to care promise orders

* refactor updating actor and target

* automatically accept if a locked account had accepted an old account

* fix exception format

* prevent the old account from calling some endpoints

* do not unfollow when moving

* adjust following and follower counts

* check movedToUri when receiving a follow request

* skip if no need to adjust

* Revert "disable account migration"

This reverts commit 2321214c98.

* fix translation specifier

* fix checking alsoKnownAs and uri

* fix updating account

* fix refollowing locked account

* decrease followersCount if followed by the old account

* adjust following and followers counts when unfollowing

* fix copying mutings

* prohibit moved account from moving again

* fix move service

* allow app creation after moving

* fix lint

* remove unnecessary field

* fix cache update

* add e2e test

* add e2e test of accepting the new account automatically

* force follow if any error happens

* remove unnecessary joins

* use Array.map instead of for const of

* ユーザーリストの移行は追加のみを行う

* nanka iroiro

* fix misskey-js?

* ✌️

* 移行を行ったアカウントからのフォローリクエストの自動許可を調整

* newUriを外に出す

* newUriを外に出す2

* clean up

* fix newUri

* prevent moving if the destination account has already moved

* set alsoKnownAs via /i/update

* fix database initialization

* add return type

* prohibit updating alsoKnownAs after moving

* skip to add to alsoKnownAs if toUrl is known

* skip adding to the list if it already has

* use Acct.parse instead

* rename error code

* 🎨

* 制限を5から10に緩和

* movedTo(Uri), alsoKnownAsはユーザーidを返すように

* test api res

* fix

* 元アカウントはミュートし続ける

* 🎨

* unfollow

* fix

* getUserUriをUserEntityServiceに

* ?

* job!

* 🎨

* instance => server

* accountMovedShort, forbiddenBecauseYouAreMigrated

* accountMovedShort

* fix test

* import, pin禁止

* 実績を凍結する

* clean up

* ✌️

* change message

* ブロック, フォロー, ミュート, リストのインポートファイルの制限を32MiBに

* Revert "ブロック, フォロー, ミュート, リストのインポートファイルの制限を32MiBに"

This reverts commit 3bd7be35d8aa455cb01ae58f8172a71a50485db1.

* validateAlsoKnownAs

* 移行後2時間以内はインポート可能なファイルサイズを拡大

* clean up

* どうせactorをupdatePersonで更新するならupdatePersonしか移行処理を発行しないことにする

* handle error?

* リモートからの移行処理の条件を是正

* log, port

* fix

* fix

* enhance(dev): non-production環境でhttpサーバー間でもユーザー、ノートの連合が可能なように

* refactor (use checkHttps)

* MISSKEY_WEBFINGER_USE_HTTP

* Environment Variable readme

* NEVER USE IN PRODUCTION

* fix punyHost

* fix indent

* fix

* experimental

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-30 00:09:29 +09:00
Chocolate Pie 149ddebf16
fix(frontend): ロールのタイトルのバグを解決、Reactivity Transformで型エラーを出さないように (#10729)
* fix: #10569を解決

* fix: ロールが存在しない場合、タイトルにエラーメッセージを表示させる

* fix: Reactivity Transformで型エラーを出さないように

* feat: i18n対応

* feat: タブでエラー表示

* fix: エラーメッセージを分ける

* fix: 使う変数の間違えを修正

* productionビルドできない問題を修正

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-29 23:36:28 +09:00
tamaina 351bee325b perf(backend): Use ThinUser in admin/federation/remove-all-following 2023-04-29 14:35:48 +00:00
Namekuji 0ab50f87a2
fix #10651 (#10684) 2023-04-29 23:27:14 +09:00
tamaina 09764b909b
enhance(dev): non-production環境でhttpサーバー間でもユーザー、ノートの連合が可能なように (#10717)
* enhance(dev): non-production環境でhttpサーバー間でもユーザー、ノートの連合が可能なように

* refactor (use checkHttps)

* MISSKEY_WEBFINGER_USE_HTTP

* Environment Variable readme

* NEVER USE IN PRODUCTION

* fix punyHost
2023-04-29 23:26:47 +09:00
tamaina 87657d0acf wip 2023-04-29 14:01:25 +00:00
Acid Chicken (硫酸鶏) 9d5911d4e4
feat: make MkImgWithBlurhash transitionable (#10500)
* feat: make `MkImgWithBlurhash` animatable

* refactor: split out transition styles

* fix: bug

* test: waitFor image loads

* style: remove unused await

* fix

* fix type error

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-29 22:57:46 +09:00
okayurisotto e2d9c0efe2
fix(backend): alsoKnownAsの誤った定義を修正 (#10725) 2023-04-29 19:24:33 +09:00
syuilo 0ad7869249 feat: preserved usernames
Resolve #10704
2023-04-29 17:03:14 +09:00
syuilo e8177ee311 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-29 16:40:58 +09:00
かっこかり 8fbca63cec
feat(client): Renoteした人の一覧を表示するダイアログを追加 (#10647)
* (add) renote user dialog

* (change) noteMenu order

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* (change) menu text

* Update CHANGELOG.md

* (change) dialog title text

* (fix) grammar mistakes in CHANGELOG.md

* (change) i18n keys

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-04-29 15:48:06 +09:00
たーびん 5124db57d2
fix email test (#10719) 2023-04-27 19:43:00 +09:00
futchitwo 52a1d96218
fix(play preset): Set failback for notes without text or user.name in Timeline preset (#10718) 2023-04-26 14:10:04 +09:00
Yuriha a986203b38
[fix] .wav .flac ファイルを再生可能にする (#10686)
* .wav .flac ファイルを再生可能にする
file-typeにより判定されたMIME TypeをHTML5 Audio/Video要素に認識されるものに書き換える

* fix typecheck error

* frontend側の FILE_TYPE_BROWSERSAFEも更新

* Update packages/backend/src/core/FileInfoService.ts

* ✌️

* 後方互換を確保

* add tests

* update changelog.md

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-26 02:17:58 +09:00
tamaina 2aa75f5489 fix 2023-04-25 06:29:27 +00:00
tamaina b9b9cd0c78
enhance(server): 環境変数MISSKEY_CONFIG_YMLでdefault.ymlを任意のymlに変更可能に (#10712)
* enhance(server): MISSKEY_CONFIG_YMLでconfigを設定可能に

* update changelog
2023-04-25 15:18:03 +09:00
syuilo b2a28ad9d4 Update about-misskey.vue 2023-04-23 16:24:34 +09:00
Acid Chicken (硫酸鶏) f3206d094d
build: set default theme for Storybook 2023-04-23 12:47:43 +09:00
syuilo 59dc9516d0 refactor(frontend): use composition aoi 2023-04-23 08:13:12 +09:00
syuilo 62af89d433 🎨 2023-04-22 20:22:09 +09:00
syuilo b57ee4dd96 fix of 34492f3c9a 2023-04-22 20:12:41 +09:00
syuilo 8876ae09ed .js 2023-04-22 20:05:36 +09:00
syuilo 34492f3c9a enhance(backend): tweak cache of federated instance
#10631
2023-04-22 19:59:08 +09:00
syuilo 918a96da24 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-22 17:24:22 +09:00
syuilo e461fb169e refactor(frontend): refactor MkNumberDiff.vue 2023-04-22 17:24:19 +09:00
tinaxd 5ddffa728a
fix: ドライブアップロードで413が返ってきたときにエラーメッセージを表示 (#10680) 2023-04-22 17:18:57 +09:00
syuilo eb0e2ceef7 🎨 2023-04-22 17:11:13 +09:00
syuilo 2718d86171 🎨 2023-04-22 16:04:03 +09:00
syuilo d437e148db 🎨 2023-04-22 12:50:40 +09:00
syuilo eacdc0136f 🎨 2023-04-22 12:19:49 +09:00
syuilo 5a7a1d0be9 🎨 2023-04-22 10:50:54 +09:00
syuilo 9145302b3a fix(frontend): fix wrong icon name 2023-04-22 08:00:37 +09:00
syuilo ca49ac28b8 chore: remove unused files 2023-04-22 07:53:46 +09:00
syuilo 7b721c2124 Update about-misskey.vue 2023-04-22 07:51:15 +09:00
syuilo 87ff004c73 🎨 2023-04-21 09:34:36 +09:00
syuilo 18df1c7a52 Revert "🎨"
This reverts commit af738d9ca9.
2023-04-21 09:29:32 +09:00
syuilo 1dac961784 enhance(frontend): INVALID_PARAMおよびROLE_PERMISSION_DENIEDエラーを分かりやすく表示するように 2023-04-21 09:17:44 +09:00
syuilo 8b833c88ad vite動かなかったため戻した 2023-04-21 09:17:14 +09:00
syuilo 4054f9cccf update deps 2023-04-21 09:02:49 +09:00
tamaina 5cae078e5e fix(backend): make isExplorable optional for backward compatibility
https://github.com/misskey-dev/misskey/pull/10677#issuecomment-1516394630
2023-04-20 16:09:54 +00:00
nenohi 8dc60cd327
Role timeline setting (#10677)
* ロールタイムライン設定

* isRoleTimeline to isExplorable

* ポリシーではないので削除

* 型からも

* wip

* 足りてなかった説

* wip

* listはpublicを表示

* 前回の記載修正( #10671 )

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-20 20:02:50 +09:00
syuilo af738d9ca9 🎨 2023-04-20 20:01:54 +09:00
syuilo 40debf20d8 add new achievement 2023-04-20 19:40:02 +09:00
syuilo 3af99d075e enhance(frontend): サーバー情報ページでサーバールールを見れるように 2023-04-20 17:23:35 +09:00
syuilo 795cb1ecf4 🎨 2023-04-20 15:39:59 +09:00
syuilo 206baa13e6 enhance(frontend): tweak retention rate heatmap rendering 2023-04-20 10:41:09 +09:00
syuilo 7cc797062d tweak MkSignupDialog.rules.vue 2023-04-20 10:11:48 +09:00
syuilo 67d218fe2b tweak MkSignupDialog.rules.vue 2023-04-20 09:52:08 +09:00
tamaina dc8a3f210b fix(server): 1:1ではない画像のリアクション通知バッジが左や上に寄ってしまっていたのを中央に来るように修正 2023-04-19 14:30:48 +00:00
syuilo e1f9ab77f8
feat: Server rules (#10660)
* enhance(frontend): サーバールールのデザイン調整

* enhance(frontend): i18n

* enhance(frontend): 利用規約URLの設定を「モデレーション」ページへ移動

* enhance(frontend): サーバールールのデザイン調整

* Update CHANGELOG.md

* 不要な差分を削除

* fix(frontend): lint

* ui tweak

* test: add stories

* tweak

* test: bind args

* test: add interaction tests

* fix bug

* Update packages/frontend/src/pages/admin/server-rules.vue

Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>

* Update misskey-js.api.md

* chore: windowを明示

* 🎨

* refactor

* 🎨

* 🎨

* fix e2e test

* 🎨

* 🎨

* fix icon

* fix e2e

---------

Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-04-19 21:24:31 +09:00
syuilo 8c9cb9ee15 update deps 2023-04-19 12:52:14 +09:00
syuilo 3a61af326e Update about-misskey.vue 2023-04-19 11:24:46 +09:00
nenohi 65ff2c2498
カスタム絵文字のライセンスを一括でできるように (#10671)
* setlicensebulk追加

* 5時に誤字った!w

* 並び順の変更(set,add,removeの順

* add changelog
2023-04-19 08:25:24 +09:00
SASAGAWA Kiyoshi b26807b59b
fix: text color of follow button (#10672) 2023-04-19 08:24:37 +09:00
tamaina 471b836a44 fix(sw): 通知全削除時にread_notification通知が消えないように
通知欄に現れたり消えたりするとうざい
2023-04-18 06:01:18 +00:00
tsukimizake aa289c9cb0
use channels/my-favorites on deck/channel-column/setChannel (#10662) 2023-04-18 13:29:45 +09:00
syuilo 614f12386e feat(frontend): 通知の表示をカスタマイズできるように 2023-04-17 13:12:58 +09:00
Acid Chicken (硫酸鶏) d2d17847dc
ci: fix story impl files were ignored 2023-04-16 11:00:07 +00:00
syuilo fa60f54bc5 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-16 18:49:32 +09:00
Nanashia 0ddc79bb91
fix(backend): アバターとバナーがリセットできない (#10643)
* fix(backend): avatar and banner couldn't be reset

* Update CHANGELOG.md
2023-04-16 15:23:49 +09:00
syuilo 9ad250bbb8 enhance(frontend): improve MkPostForm behaviour 2023-04-16 07:59:23 +09:00
tamaina 15761a0fa8
enhance(client): 1枚だけのメディアリストの画像のアスペクト比を画像に応じて縦長にする (#10452)
* ✌️

* fix

* ✌️

* 422px上限

* 334

* min-height: 130px

* 64px

* fix

* wip

* ✌️

* fix

* max-height: none

* MkImgWithBlurHashでratioを計算する

* wip

* fix

* fix?

* Revert "fix?"

This reverts commit e39d832dd1498ae58a2372b6dc527585ae165bac.

* Revert "fix"

This reverts commit 15be36ba55a411c5aac69037f693e1d922451f15.

* Revert "wip"

This reverts commit af7d86f69dd89e138d98f1285976b502f382e6c6.

* fix

* Revert "Revert "wip""

This reverts commit bb0036ae22ea2bca896ee9bb500bae624e81049b.

* Revert "Revert "fix""

This reverts commit c1d94a45c575cc843e061a0c55df1106bf033035.

* Revert "Revert "fix?""

This reverts commit 9cb4fbfd96db9adaf92cf3ec1f6f15b1b257d7b3.

* fix

* use clamp

* readable

* add 1:1, 3:4

* moveComment

* 3:4 → 2:3

* fix

* default

* fallback

* Revert "fallback"

This reverts commit 741717dd4903ed89b6536d8ea1ca061aacfa7dcb.

* Fix?(server): Content-Dispositionのパースでエラーが発生した場合にもダウンロードが完了するように
#10626
2023-04-15 21:35:19 +09:00
tamaina 38fdc73d01 Fix?(server): Content-Dispositionのパースでエラーが発生した場合にもダウンロードが完了するように
#10626
2023-04-15 11:19:00 +00:00
かっこかり bcbf06ac8c
feat(client): データセーバーモードの追加 (#10478)
* change nsfw settings

* Update CHANGELOG.md

* (fix) eliminate warning message when manually hide

* Apply suggestions from code review

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* (change) translation key

* revert nsfw settings (partial)

* (add) data saver setting

* Integrate MkMediaBlurhash and MkImgWithBlurhash

* Update CHANGELOG.md

* 🎨

* リモートのファイルでsizeが0の場合は表示しない, refを作らない

* fix

* かっこ

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-15 15:29:57 +09:00
syuilo 69adbdef15 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-14 19:35:16 +09:00
syuilo da0c295114 Update about-misskey.vue 2023-04-14 19:35:11 +09:00
Kisaragi 83d0f819be
refactor(backend): validateNoteの引数の型を強くし、anyを除去 (#10325)
* refactor(backend): validateNoteの引数の型を推論する

* fix(backend): アサーションの内容から推論してエラーの内容を期待されるであろう式へと変更する

* refactor

Co-authored-by: Acid-Chicken <root@acid-chicken.com>

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: Acid-Chicken <root@acid-chicken.com>
2023-04-14 16:27:55 +09:00
Acid Chicken (硫酸鶏) c47a0f78ff
fix(client): cat ears are clipped in MkReactionsViewer (#10445)
* fix: cat ears are clipped in MkReactionsViewer

* fix: missing padding

* fix border

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-14 16:00:41 +09:00
nenohi 9469b26eb2
カスタム絵文字の検索を絵文字ピッカー使用できるように (#10335)
* fix( #10013)

* add changelog

* also in about.emojis.vue

* fix changelog

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-14 14:49:41 +09:00
tamaina 168fe0e376
fix(server): Force the extention of exported file (#10630)
* fix(server): Force the extention of exported file

* update changelog.md
2023-04-14 14:35:38 +09:00
tamaina 14f30afd3c fix check_connect.js 2023-04-14 05:14:00 +00:00
syuilo a67439981b fix types 2023-04-14 13:50:05 +09:00
syuilo 5f67ca434d update ioredis 5.x 2023-04-14 10:09:03 +09:00
Nanashia 21dfce2cbb
test(backend): catching up with #10516 (#10624) 2023-04-14 01:10:36 +09:00
Acid Chicken (硫酸鶏) 47c7b4b9cc
fix(#10609): remove isChromatic on real build (#10613)
* perf: remove isChromatic on real build

* revert: Revert #10475 in MkTime

This reverts commit 7d11cf8ec9.

* @rollup/plugin-replace as dependencies

* fix pnpm-lock,yaml

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-13 23:23:11 +09:00
tamaina 55c10d0d88 fix(client): fix narrow style of MkPostForm 2023-04-13 11:27:21 +00:00
tamaina 93dcd1c98e fix DriveService.ts 2023-04-13 11:27:05 +00:00
CGsama 2423fb8d38
fix: proper expire remote user drivefile over limits at adding time (#9426)
* delete remote user drivefile over limits at adding

* refactor

* delete → expire

* speed up by batch find

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-13 18:48:38 +09:00
KokiSakano 463446795d
refactor: init.ts周りのeslintエラーと型の修正 (#10157)
* refactor/miLocalStorageのメソッドに戻り値追加

* refactor/miLocalStorageのキーとしてdebugがconfig.tsに存在するので追加

* fix/JSON.parseにnullは入らないのでnullの時は分岐させてnullにする

* refactor/修正したファイルの型調整+記法の統一

* fix/型のためにlangがnullの時はhtmlの言語の設定をしない

* refactor/catchで何もしないと警告が出るので修正

* refactor/細かい点の修正

* refactor/変数の二重定義になっていた二重定義になっていたので修正

* refactor/importの整理(通常のimportは最初に処理されるので影響はない想定)

* fix/vueファイルに型を与えてインポート時の型エラーを防ぐ

* refactor/開発環境のみで利用するので,eslintの設定を変更する

* fix/vueの定義を最小限にする

* fallback language to 'en-US'

* remove accounts migration

* fix:vueの型定義ファイルを消す

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-13 18:47:49 +09:00
happo31 dffefdad95
fix: #9998 MkNote.vue, MkNoteDetailed.vue で、特定のMFMによってフッターのボタンが押せなくなる (#9999)
* fix(client): add `overflow: clip;`

* fix(client): add `overflow: clip;`

* Revert "fix(client): add `overflow: clip;`"

This reverts commit c43226afde4741d61088192cbbab09fe97e1f2fb.

Revert "fix(client): add `overflow: clip;`"

This reverts commit c7225151056ff15b953aae806e7a07fa13fab746.

* feat(client): add z-index to .footer
2023-04-13 15:43:10 +09:00
syuilo e014c91899 enhance(frontend): ユーザーメニューからユーザーメモを編集できるように 2023-04-13 13:50:17 +09:00
syuilo 5cac1515fd fix(backend): user.memoはdetailがtrueな時だけに 2023-04-13 13:34:54 +09:00
syuilo 97abfd48ce refactor(backend): tweak repository name 2023-04-13 13:31:54 +09:00
Ebise Lutica 605f149235
feat: 自分用メモ機能 (#10516)
* 自分用メモを作成する機能

* 不要なCSSを削除

* メモ: デザイン調整

* デザイン崩れを修正

* fix: メモ機能のe2eテストで見つかった不具合を修正

* デザイン調整

* fix(frontend): 自分用メモtextareaにline-heightが適用されない問題を修正
2023-04-13 13:17:32 +09:00
tamaina 7d11cf8ec9 Revert #10475 in MkTime 2023-04-13 03:38:43 +00:00
Acid Chicken (硫酸鶏) 9bb6c536c0
test(#10336): add components/Mk[A-B].* stories (#10475)
* chore(#10336): register snippets

* test(#10336): add `components/Mk[A-B].*` stories

* build: desynced lockfile

* ci(#10336): preload assets

* ci(#10336): use pull_request

* build: update lockfile

* fix: reactivity transform

* chore: track upstream changes

* refactor: avoid temporary previous tapping declarations

* revert: avoid temporary previous tapping declarations

This reverts commit e649b1b1e6771bee674f2dfb044e0efd72d0be5d.

* test: flaky snapshots

* style: import
2023-04-13 12:20:39 +09:00
syuilo 2a7ba37996 [ci skip] improve readability 2023-04-13 09:09:29 +09:00
syuilo 3f57119aea [ci skip] remove outdated comment 2023-04-13 09:02:41 +09:00
syuilo dcbaca4260 fix(backend): チャンネルのピン留めされたノートの順番が正しくない問題を修正
Fix #10541
2023-04-13 08:52:30 +09:00
syuilo 6839441ac6 🎨 2023-04-13 08:46:10 +09:00
syuilo 62b6c4d09b Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-13 08:43:15 +09:00
syuilo 1a7e5fb865 Update about-misskey.vue 2023-04-13 08:43:06 +09:00
futchitwo 04511ac141
fix(server): アンテナとロールTLのuntil/sinceプロパティが動くように (#10605)
* fix(server): アンテナとロールTLのuntil/sinceプロパティが動くように

* fix
2023-04-13 08:33:36 +09:00
tamaina 4c0ef07f6f fix 2023-04-12 12:34:34 +00:00
tamaina 3ff5a5ae29 fix type in CustomEmojiService 2 2023-04-12 12:32:27 +00:00