Commit Graph

3526 Commits

Author SHA1 Message Date
syuilo ea9a95cd98 delete unused component 2023-05-10 17:53:49 +09:00
syuilo ed634b4b3d refactor(frontend): use css module 2023-05-10 17:53:01 +09:00
syuilo f9f115b66d refactor(frontend): use css module 2023-05-10 17:49:30 +09:00
syuilo 37c119e1f5 refactor 2023-05-10 17:45:13 +09:00
syuilo adf66154d2 fix test 2023-05-10 15:59:34 +09:00
syuilo 9557579b67 fix(backend): テスト時は一部のサービスを停止 2023-05-10 15:30:36 +09:00
syuilo 341c42ebb9 enhance(backend): graceful shutdown for job queue and refactor 2023-05-10 15:05:08 +09:00
syuilo 0729678398 fix(frontend): ブラーエフェクトを有効にしている状態で高負荷になる問題を修正 2023-05-10 12:24:50 +09:00
syuilo 7ae1d6511a add X-Robots-Tag: noai 2023-05-10 10:57:27 +09:00
syuilo 0c4c4e7202 念のためnoimageaiもつける 2023-05-10 10:54:56 +09:00
syuilo 6a25015a78 enhance(backend): publicReactionsをデフォルトtrueに 2023-05-10 10:53:01 +09:00
syuilo ae5a72a2df feat: 投稿したコンテンツのAIによる学習を軽減するオプションを追加
Resolve #10819
2023-05-10 10:52:41 +09:00
syuilo baa45859c1 refactor(frontend): use css modules 2023-05-09 18:47:06 +09:00
tamaina 6894e42674 fix(client): MkUserInfoのフォローボタンが変な位置にある問題を修正 2023-05-09 06:33:50 +00:00
syuilo 22d6c7fe8a fix(backend): 13.11を経験しない状態で13.12にアップデートした場合ユーザープロフィール関連の画像が消失する問題を修正
Fix #10811
2023-05-09 15:28:44 +09:00
syuilo b2f6c67aa9 fix(backend): リモートサーバーの情報が更新できない問題を修正
Fix #10787
2023-05-09 14:57:42 +09:00
syuilo 1c0ec222b4 enhance(frontend): プロフィール画面におけるモデレーションノートの表示を調整
Resolve #10807
2023-05-09 14:28:27 +09:00
syuilo 80619260c1 fix(frontend): ユーザー選択ダイアログが表示されない問題を修正
Fix #10809
2023-05-09 13:57:43 +09:00
syuilo aa28ddf762 fix(frontend): fix e2e 2023-05-09 08:33:57 +09:00
syuilo 5c54e12099 fix(test): ジョブキューをテストが終わったら停止するように
Fix #10802 ?
2023-05-09 08:32:25 +09:00
syuilo b16d7cc6c4 chore(frontend): より柔軟な文言に変更 2023-05-09 08:09:16 +09:00
syuilo 8f36a80775 fix e2e test 2023-05-09 08:01:54 +09:00
syuilo a6e7c196ee Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-05-09 07:49:58 +09:00
syuilo a531b8aeee refactor for e2e 2023-05-09 07:49:53 +09:00
Acid Chicken (硫酸鶏) 34e958c3a7
test: Storybook is broken 2023-05-08 23:40:21 +09:00
syuilo 2a92e3c1c9 fix of f8ed6b1a5 2023-05-08 18:52:08 +09:00
syuilo f8ed6b1a54 refactor 2023-05-08 18:30:40 +09:00
syuilo 8709487cd5 fix(frontend): チャンネルが新規作成できなかったのを修正 2023-05-08 18:30:29 +09:00
syuilo 41e9aa6f9b fix(frontend): センシティブ設定された画像を開くとき一瞬レイアウトが崩れる問題を修正
Fix #10801
2023-05-08 18:23:35 +09:00
Acid Chicken (硫酸鶏) 1a96425768
chore: 猫耳の先端って本来少し丸まっているものなのではないだろうか (#10800)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-08 17:51:52 +09:00
syuilo 6fd63c1fb6 tweak of #10799 2023-05-08 17:49:19 +09:00
syuilo b271d02660 tweak of #10799 2023-05-08 17:38:19 +09:00
syuilo 85a4c8dbb1
feat(frontend): アカウント初期設定ウィザード (#10799)
* wip

* 🎨

* 🎨

* wip

* wip

* 🎨

* Update CHANGELOG.md

* wip

* Update MkUserSetupDialog.vue

* add stories

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

* update stories

* Update MkUserSetupDialog.Follow.stories.impl.ts

* test: load mock user account

* ✌️

* ✌️

* test: reset on each render

* test: use id to identify

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-05-08 17:29:19 +09:00
syuilo d5e92c3822 refactor(frontend): use css modules 2023-05-08 10:32:08 +09:00
syuilo 151586ab60 refactor 2023-05-08 08:52:01 +09:00
syuilo 5c80d9093b fix(frontend): fix MkInput style 2023-05-08 08:13:41 +09:00
syuilo b565df6882 fix(backend): fix channels/owned
Fix #10791
2023-05-08 07:59:06 +09:00
tamaina b8b91b39f4 enhance(client): 🎨 gallery/:id/edit 2023-05-07 18:36:48 +00:00
tamaina 44ba2fd7cb fix(client): Fix #10746
NSFWメディアの上に表示された「もっと見る」ボタンが押しづらい問題を修正
2023-05-07 12:37:11 +00:00
tamaina f94f3dae8b Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-05-07 12:01:47 +00:00
tamaina 4dfe2c15b0 fix(backend): Fix #10786 2023-05-07 12:01:39 +00:00
syuilo 7d1dde0f04 chore(frontend): クライアントの全般設定を整理 2023-05-07 20:59:29 +09:00
syuilo 63a0b7353a chore(frontend): クライアントの全般設定を整理 2023-05-07 20:56:46 +09:00
syuilo f82810cf1b chore(frontend): クライアントの全般設定を整理 2023-05-07 20:48:46 +09:00
syuilo 853f9dca31
🎨 2023-05-07 20:33:13 +09:00
Acid Chicken (硫酸鶏) d526cd70fd
fix: use max-width instead of width 2023-05-07 19:21:55 +09:00
Acid Chicken (硫酸鶏) 9016573736
chore: min-scale for MkAcct 2023-05-07 19:08:43 +09:00
syuilo 448a933f77 enhance(frontend): モデレーターはノートに添付された画像上から直接NSFW設定できるように 2023-05-07 18:18:32 +09:00
syuilo 8310d929dc enhance(frontend): 閲覧注意設定された画像は表示した状態でもそれが閲覧注意だと分かる表示をするように 2023-05-07 17:57:55 +09:00
syuilo 8957a89024 update test 2023-05-07 17:38:06 +09:00
syuilo 95a2de8d54 fix(backend): 凍結されたユーザーが一部APIのレスポンスに含まれる問題を修正 2023-05-07 17:36:13 +09:00
syuilo 50985b2ffd fix test 2023-05-07 16:42:19 +09:00
syuilo 61c12290fd fix test 2023-05-07 16:41:37 +09:00
syuilo 8a9cc0e711 fix text 2023-05-07 12:53:41 +09:00
syuilo 95e7e003fd fix test 2023-05-07 12:04:16 +09:00
syuilo 29a84230b0 enhance(backend): SearchService.searchNoteでhost指定対応 2023-05-07 11:59:06 +09:00
syuilo 6ad9a9677a fix test 2023-05-07 11:31:32 +09:00
syuilo 84beecd27f fix lint 2023-05-07 11:27:41 +09:00
syuilo 119f02540d 🎨 2023-05-07 10:07:26 +09:00
syuilo 3401ab0128 🎨 2023-05-07 10:04:14 +09:00
かっこかり 39becdb576
miauthでは寄付popupを表示しない (#10779) 2023-05-06 22:13:11 +09:00
syuilo 484dfb6a01 enhance(frontend): update aiscript to 0.13.2 2023-05-06 12:58:59 +09:00
syuilo 1a4b4348a9 fix(backend): sort notes
Fix #10776
2023-05-06 12:49:49 +09:00
syuilo 0735ca0853 fix test 2023-05-06 12:41:33 +09:00
syuilo 732d714c96 fix(dev): fix vite config
Fix #10773
2023-05-06 10:25:15 +09:00
syuilo 0a59407a3c fix type 2023-05-06 10:24:14 +09:00
syuilo e36f9599d2 🎨 2023-05-06 09:53:09 +09:00
syuilo 10ff379b4c enhance(backend/frontend): モデレーションノートをユーザーのプロフィールページからも閲覧および編集できるように 2023-05-06 09:51:06 +09:00
syuilo bd1c2abffc clean up 2023-05-06 09:39:14 +09:00
syuilo c7d4264ecf refactor 2023-05-06 09:34:21 +09:00
Chocolate Pie 39748ea0c3
feat: アンテナのエクスポート・インポート (#10754)
* feat: アンテナのエクスポートに対応 (misskey-dev/misskey#10690)

* feat: アンテナのインポートに対応 (misskey-dev/misskey#10690)

* fix: タイポを修正

* feat: ユーザーリストをサポート

* fix: バグを直した

* fix: バグを直した

* fix: 適当に決めた変数名を変更

* fix

* fix: 変数の変更、リファクタリング
2023-05-06 08:17:55 +09:00
syuilo 5dfbce7571 feat: チャンネルの削除
Resolve #7171
Resolve #9935
2023-05-06 08:15:17 +09:00
かっこかり 3a105024c7
enhance: プロフィール設定「追加情報」の並び替え・削除に対応 (#10766)
* (enhance) profile fields dnd

* Update CHANGELOG.md

* Fix typo

* fix lint

* fix styles

* fix lint

* (change) style

* (fix) label

* (fix) typo

* (fix) LINT ISSUES

* (change) style

* remove unnecessary style declaration

* (fix) breakpoint
2023-05-06 07:06:12 +09:00
Caipira ae21b75687
fix(backend): Use SSL option for Meilisearch (#10772) 2023-05-06 04:02:34 +09:00
Acid Chicken (硫酸鶏) 4a72941eda
perf: use slacc on check-word-mute (#10721)
* perf: use slacc on check-word-mute when all of specified words are single word

* perf: use slacc as possible

* build: avoid tarball

* chore: update slacc

* build: update package name
2023-05-05 19:49:34 +09:00
nenohi 2d84e04240
ロールにNSFWを強制的につけるオプションを追加 (#10731)
* ロールにNSFWを強制的につけるオプションを追加

* すでにあるファイルにNSFWが付与できない

* NSFWを付与しようとするとエラーに

* add test

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

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* spacingで怒られたので

* ロール作成時のプロパティ削除

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-05 14:18:06 +09:00
syuilo 6db37d4fcb fix(backend): ノートの検索インデックス条件を調整 2023-05-05 12:24:29 +09:00
syuilo b45bc3fd5d feat(frontend): in channel search 2023-05-05 10:05:33 +09:00
syuilo 5c08f2b93b
feat: Introduce Meilisearch (#10755)
* wip

* wip

* Update SearchService.ts

* Update SearchService.ts

* wip

* wip

* Update SearchService.ts

* Update CHANGELOG.md

* wip

* Update SearchService.ts

* Update docker-compose.yml.example
2023-05-05 08:52:14 +09:00
たーびん 8dab46470e
fix #10666 チャンネル検索ですべてのチャンネルの取得/表示ができるようにする (#10667)
* Update CHANGELOG.md

* fix : able to search all channels

* add chennel/search test

* update Changelog

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: atsuchan <83960488+atsu1125@users.noreply.github.com>
Co-authored-by: Masaya Suzuki <15100604+massongit@users.noreply.github.com>
Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
Co-authored-by: xianon <xianon@hotmail.co.jp>
Co-authored-by: kabo2468 <28654659+kabo2468@users.noreply.github.com>
Co-authored-by: YS <47836716+yszkst@users.noreply.github.com>
Co-authored-by: Khsmty <me@khsmty.com>
Co-authored-by: Soni L <EnderMoneyMod@gmail.com>
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: daima3629 <52790780+daima3629@users.noreply.github.com>
Co-authored-by: Windymelt <1113940+windymelt@users.noreply.github.com>
Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>
2023-05-05 08:48:14 +09:00
syuilo 8c70bbe74d 🎨 2023-05-05 08:47:02 +09:00
syuilo 9ee002285d 🎨 2023-05-05 08:37:20 +09:00
syuilo febb9f388c enhance(frontend): make MkCondensedLine experimental 2023-05-05 08:34:05 +09:00
Acid Chicken (硫酸鶏) 2cfed3395e
feat: condense acct (#10753)
* feat: condense acct

* fix: watch parent element size

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-05 08:16:55 +09:00
syuilo 53498991bb Update about-misskey.vue 2023-05-05 08:05:33 +09:00
syuilo ae80dc9b1e Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-05-05 08:05:11 +09:00
syuilo 2c606028b3 :art 2023-05-05 08:05:04 +09:00
かっこかり 1f9f63df7c
「このファイルからノートを作成」ボタンを追加 (#10758)
* (add) note this file button

* Update CHANGELOG.md
2023-05-04 19:58:17 +09:00
syuilo dbc24ce587 Update about-misskey.vue 2023-05-03 16:38:52 +09:00
tamaina 58c3fc6cd2 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-05-02 16:21:25 +00:00
tamaina 363eb73fb3 fix 2023-05-02 16:21:18 +00:00
okayurisotto 43593603f1
fix(backend): `fields`の誤った定義を修正 (#10737) 2023-05-02 21:14:22 +09:00
syuilo bcd123371b update deps 2023-05-02 20:52:36 +09:00
tamaina f3e43a0fc6 refactor 2023-05-02 10:26:18 +00:00
tamaina b3ec47c3f4 初期ユーザー登録時にはpreservedUsernamesを無視する
Fix #10738
2023-05-02 10:18:57 +00:00
syuilo 379c5a8091 enhance(frontend): use MkColorInput 2023-05-02 12:32:21 +09:00
syuilo 8dc5edde76 fix(backend): フォローリクエストの通知が残る問題を修正
Fix #10611
2023-05-02 12:14:06 +09:00
tsukimizake cbd183a7a9
fix: return null from Mk:dialog (#10676) 2023-05-02 09:56:20 +09:00
syuilo d535ec21a2 feat: チャンネルに色を設定できるように 2023-05-02 09:36:40 +09:00
syuilo 0cbdbf24f1 Create MkColorInput.vue 2023-05-02 09:23:30 +09:00
syuilo 4495969d7f Update MkInput.vue 2023-05-02 09:22:37 +09:00
syuilo f5e9886c70 Update MkInput.vue 2023-05-02 09:17:10 +09:00
syuilo 1631e62739 refactor(frontend): use css modules 2023-05-02 09:07:57 +09:00
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
tamaina 6ea057f8f8 fix type in CustomEmojiService 2023-04-12 12:09:28 +00:00
hutchisr b7d056fb22
Use unique identifier for each follow request (#10600)
Co-authored-by: anemone <anemoneya@icloud.com>
2023-04-12 20:22:50 +09:00
syuilo e3aeab8122 fix type 2023-04-12 17:02:54 +09:00
syuilo 72031e49fc Update CustomEmojiService.ts 2023-04-12 16:10:17 +09:00
syuilo d06d1e8682 fix(backend): カスタム絵文字でリアクションできないことがある問題を修正 2023-04-12 16:07:58 +09:00
Nanashia 5c3a4a8224
test(backend): Add tests for users (#10546)
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-12 13:20:16 +09:00
kakkokari-gtyih 49749b46c4
feat(server): Misskey Webでユーザーフレンドリーなエラーページを出す (#10590)
* (add) user-friendly error page

* Update CHANGELOG.md

* (add) cache-control header

* Add ClientLoggerService

* Log params and query

* remove error stack on client

* fix pug

* 文面を調整

* :art]

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-12 12:52:14 +09:00
syuilo 5d56799070 feat: role timeline
Resolve #10581
2023-04-12 11:40:08 +09:00
tamaina 81d2c5a4a7
enhance: カスタム絵文字関連の変更 (#9794)
* PackedNoteなどのemojisはプロキシしていないURLを返すように

* MFMでx3/x4もしくはscale.x/yが2.5以上に指定されていた場合にはオリジナル品質の絵文字を使用する

* update CHANGELOG.md

* fix changelog

* ??

* wip

* fix

* merge

* Update packages/frontend/src/scripts/media-proxy.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* merge

* calc scale

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-12 10:58:56 +09:00
tamaina 0db88a5a3b
refactor: サウンド関連の設定をpizzaxに移行 (#8105)
* enhane: unison-reloadに指定したパスに移動できるように

* null

* null

* feat: ログインするアカウントのIDをクエリ文字列で指定する機能

* null

* await?

* rename

* rename

* Update read.ts

* merge

* get-note-summary

* fix

* swパッケージに

* add missing packages

* fix getNoteSummary

* add webpack-cli

* ✌️

* remove plugins

* sw-inject分離したがテストしてない

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix

* ✌️

* clean up config

* typesを戻した

* backend/src/web/index.ts

* notification-badges

* add scripts

* change create-notification.ts

* Update packages/client/src/components/notification.vue

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

* disconnect

* oops

* Failed to load the script unexpectedly回避
sw.jsとlib.tsを分離してみた

* truncate notification

* Update packages/client/src/ui/_common_/common.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* clean up

* clean up

* refactor

* キャッシュ対策

* Truncate push notification message

* fix

* wip

* clean up

* migration

* migration

* comment

* move soundConfigStore

* ✌️

* clean up

* クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正

* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* merge

* fix

* remove reversi setting

* Service Workerのビルドにesbuildを使うようにする

* return createEmptyNotification()

* fix

* fix

* i18n.ts

* update

* ✌️

* remove ts-loader

* fix

* fix

* enhance: Service Workerを常に登録するように

* pollEnded

* pollEnded

* URLをsw.jsに戻す

* clean up

* clean up

* update sounds.vue

* update

* fix type

* ✌️

* ;v;

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-12 10:39:57 +09:00
syuilo 77f91d67b4 perf(backend): ノート作成時のアンテナ追加パフォーマンスを改善 2023-04-12 10:07:14 +09:00
Namekuji da83322200
feat: queueing bulk follow/unfollow and block/unblock (#10544)
* wrap follow/unfollow and block/unblock as job queue

* create import job to follow in each iteration

* make relationship jobs concurrent

* replace to job queue if called repeatedly

* use addBulk to import

* omit stream when importing

* fix job caller

* use ThinUser instead of User to reduce redis memory consumption

* createImportFollowingToDbJobの呼び出し方を変える, 型補強

* Force ThinUser

* オブジェクト操作のみのメソッド名はgenerate...Data

* Force ThinUser in generateRelationshipJobData

* silent bulk unfollow at admin api endpoint

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-12 09:13:58 +09:00
okayurisotto 5002effd65
Refactor sw (#10579)
* refactor(sw): remove dead code

* refactor(sw): remove dead code

* refactor(sw): remove dead code

* refactor(sw): remove dead code

* refactor(sw): remove dead code

* refactor(sw): remove dead code

* refactor(sw): 冗長な部分を変更

* refactor(sw): 使われていない煩雑な機能を削除

* refactor(sw): remove dead code

* refactor(sw): URL文字列の作成に`URL`を使うように

* refactor(sw): 型アサーションの削除とそれに伴い露呈したエラーへの対処

* refactor(sw): `append` -> `set` in `URLSearchParams`

* refactor(sw): `any`の削除とそれに伴い露呈したエラーへの対処

* refactor(sw): 型アサーションの削除とそれに伴い露呈したエラーへの対処

対処と言っても`throw`するだけ。いままでもこの状況ではエラーが投げられていたはずなので、この対処により新たな問題が起きることはないはず。

* refactor(sw): i18n loading

* refactor(sw): 型推論がうまくできる書き方に変更

`codes`が`(string | undefined)[]`から`string[]`になった

* refactor(sw): クエリ文字列の作成に`URLSearchParams`を使うように

* refactor(sw): `findClient`

* refactor(sw): `openClient`における`any`や`as`の書き換え

* refactor(sw): `openPost`における`any`の書き換え

* refactor(sw): `let` -> `const`

* refactor(sw): `any` -> `unknown`

* cleanup(sw): import

* cleanup(sw)

* cleanup(sw): `?.`

* cleanup(sw/.eslintrc.js)

* refactor(sw): `@typescript-eslint/explicit-function-return-type`

* refactor(sw): `@typescript-eslint/no-unused-vars`

* refactor(sw): どうしようもないところに`eslint-disable-next-line`を

* refactor(sw): `import/no-default-export`

* update operations.ts

* throw new Error

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-12 01:07:24 +09:00
tamaina 35613fd642 fix(client): noPaging: true with gallery/featured 2023-04-11 06:49:19 +00:00
syuilo de0577bc38 enhance(frontend): tweak post form style 2023-04-11 14:57:06 +09:00
syuilo 43eee54f2d enhance(backend): APIパラメータサイズ上限を128kbから1mbに緩和 2023-04-11 14:28:40 +09:00
syuilo 59ca0d21a1 enhance(backend): APIパラメータサイズ上限を32kbから128kbに緩和
Fix #10574
2023-04-11 14:27:09 +09:00
syuilo c10d591bd0 perf(backend): cache swSubscriptions 2023-04-11 14:20:16 +09:00
tamaina 3a90bcc03c
sw: なんかもうめっちゃ変えた (#10570)
* sw: なんかいろいろ

* remove debug code

* never renotify

* update changelog.md
2023-04-11 14:11:39 +09:00
たーびん f6dc100748
fix #10554 チャンネルの検索用ページとAPIの追加 (#10555)
* add channel search

* move  channel search to channel list page

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: atsuchan <83960488+atsu1125@users.noreply.github.com>
Co-authored-by: Masaya Suzuki <15100604+massongit@users.noreply.github.com>
Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
Co-authored-by: xianon <xianon@hotmail.co.jp>
Co-authored-by: kabo2468 <28654659+kabo2468@users.noreply.github.com>
Co-authored-by: YS <47836716+yszkst@users.noreply.github.com>
Co-authored-by: Khsmty <me@khsmty.com>
Co-authored-by: Soni L <EnderMoneyMod@gmail.com>
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: daima3629 <52790780+daima3629@users.noreply.github.com>
Co-authored-by: Windymelt <1113940+windymelt@users.noreply.github.com>
2023-04-11 07:42:27 +09:00
Chimorium 0702f9775a
カスタム絵文字のキャッシュ時に"{}"が入ってしまう問題を修正 (#10573) 2023-04-11 07:39:46 +09:00
tamaina 83bcdb8ede fix(client): Consider safe-area-inset-bottom on global widgets area
Fix #9052
2023-04-10 17:21:28 +00:00
tamaina 567c66567e fix(client): 🎨 fix MkEmojiPicker safe-area-inset-bottom
Fix https://github.com/misskey-dev/misskey/pull/10534
2023-04-10 16:46:58 +00:00
tamaina da64273b43 chore(sw): use PascalCase 2023-04-10 12:10:06 +00:00
okayurisotto 6a23ffcce5
swのesbuildの更新とビルドスクリプトの更新 (#10549)
* cleanup(sw/build.js)

* fix(sw/build.js): `define`に真偽値を渡していた問題を修正

`define`では文字列を渡さなければならないので、`JSON.stringify`をするようにした。

* fix(sw/build.js): `string`が期待される`define`において`undefined`になる場合がある問題を修正

* update(sw): esbuild 0.17.15

* fixup! update(sw): esbuild 0.17.15

* fixup! fix(sw/build.js): `string`が期待される`define`において`undefined`になる場合がある問題を修正

コメントの文言を調整
2023-04-10 19:43:15 +09:00
syuilo 511dab0618 fix(frontend): webhook, 連携アプリ一覧でコンテンツが重複して表示される問題を修正
Fix #10564
2023-04-10 18:56:38 +09:00
syuilo 48e2523081 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-10 10:24:08 +09:00
e0431aed28
fix issue #10195 設定のバックアップ の「削除」の文字がない (#10559)
Co-authored-by: 藤 <nyaguri0417@gmail.com>
2023-04-10 10:23:56 +09:00
syuilo 29c9a7d71a enhance(frontend): 常に広告を見られるオプションを追加 2023-04-10 10:22:25 +09:00
syuilo b5724d06b4 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-10 10:03:56 +09:00
syuilo 70a06e30d5 fix(backend): アンテナのノート、チャンネルのノート、通知が正常に作成できないことがある問題を修正
Fix #10482
2023-04-10 10:03:53 +09:00
YS 3ec060f0dc
MkContainer.vue i18n をtemplateから見えるように (#10560) 2023-04-10 08:31:06 +09:00
syuilo 39cf80e19f fix(backend): イベント用redis分離が上手く動かない問題を修正 2023-04-09 17:09:27 +09:00
syuilo b56f4b27ee fix(backend): ストリーミングのLTLチャンネルでサーバー側にエラーログが出るのを修正 2023-04-09 17:01:03 +09:00
Acid Chicken (硫酸鶏) 2b19e1f732
test: add `/@:acct` stories (#10517)
* test: add `/@:acct` stories

* test: add mocks
2023-04-09 04:16:56 +00:00
syuilo 59d0d507d5 fix(backend): 連合しているインスタンスについて予期せず配送が全て停止されることがある問題を修正
Fix #10499
2023-04-09 10:19:57 +09:00
syuilo 1057da1556 add note 2023-04-09 09:53:02 +09:00
tamaina 9feb6b0f5b
fix(server): リアクションできない問題をとりあえず修正 (#10529)
* fix(server): リアクションできない問題をとりあえず修正
Fix #10502

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

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-09 09:52:19 +09:00
syuilo 269d1e72cb fix(frontend): ユーザープレビューが表示されない問題を修正
Fix #10540
2023-04-09 09:44:00 +09:00
syuilo cb3a84adb4 チャンネルを新規作成できない問題を修正 2023-04-09 08:22:49 +09:00
syuilo 004ace396d さがすのローカルユーザー(ピンどめ)が無限に生成される問題を修正 2023-04-09 08:12:50 +09:00
syuilo ad4006738b チャンネルのお気に入りが無限に読み込まれる問題を修正 2023-04-09 08:09:25 +09:00
taichan f794f3ad0a
fix(client): リスト、クリップが無限ロードされる現象の解決 (#10538)
* fix my-list infinite items loading

* update CHANGELOG.md

* fix my-clip infinite items loading
2023-04-09 08:03:29 +09:00
syuilo b7ed3ddfdd fix(backend): 通知読み込みでエラーが発生する場合がある問題を修正 2023-04-09 08:02:52 +09:00
futchitwo 038365bf2d
fix: redis から取得できないチャンネル投稿はDBから取得 (#10539) 2023-04-09 07:56:27 +09:00
tamaina d76220cc80
fix(server): IdService.parseを全てのidタイプに対応させるように (#10533)
* wip fix-id

* ✌️

* fix import
2023-04-09 04:41:06 +09:00
Takeshi Kishi e58b357918
fix(client): PWA時の絵文字ピッカーの位置をホームバーに重ならないように調整 (#10534)
* fix emoji picker padding

emoji picker bottoms are hidden by iPhone Home Bar.
To fix this, add safe-area padding

* update CHANGELOG
2023-04-09 01:37:45 +09:00
syuilo 2321214c98 disable account migration 2023-04-08 20:51:36 +09:00
syuilo c5ccd826c8 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-08 20:03:35 +09:00
syuilo ad9f72291f use for of 2023-04-08 20:03:32 +09:00
tamaina 1c158dc510 fix(client): Fix antenna list infinite items loading
https://github.com/misskey-dev/misskey/pull/10506#issuecomment-1500859975
2023-04-08 10:37:35 +00:00
atsuchan 5cd93834d1
enhance(client): 広告・お知らせが新規登録時に増殖しないように (#10412) 2023-04-08 17:42:08 +09:00
okayurisotto 6892e9fbb7
fix(frontend): URLに他のクエリがあるときにもZen UIが適用されるように (#10477) 2023-04-08 17:41:23 +09:00
syuilo cc57fc041a Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-08 17:39:48 +09:00
syuilo 90df0d87ae disable flaky test 2023-04-08 17:39:44 +09:00
Acid Chicken (硫酸鶏) 95f670e3ec
test: use M PLUS Rounded 1c on Storybook (#10520)
* test: use M PLUS Rounded 1c on Storybook

* test: fix hostname
2023-04-08 17:18:00 +09:00
omi 66342337ef
chore: local test が redis version 起因で落ちる (#10519) 2023-04-08 17:06:42 +09:00
Namekuji e23cf77f86
fetch person again (#10514) 2023-04-08 16:13:50 +09:00
syuilo 7636536973 tweak locale 2023-04-08 16:06:08 +09:00
syuilo 975e79fa3b fix type 2023-04-08 15:59:41 +09:00
syuilo eefa06622b Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-08 15:53:39 +09:00
syuilo 9114c8cb8e feat(backend): support replication of postgresql
Resolve #10205
2023-04-08 15:53:36 +09:00
syuilo 132feea1fa :art 2023-04-08 15:49:29 +09:00
Acid Chicken (硫酸鶏) 33e9428510
chore: disable sampling for cat ears (#10513)
* chore: sample 3px for cat ears

* fix: typo

* chore: disable avatar plot for cat ears
2023-04-08 06:22:39 +00:00
syuilo 65584f21bb Update misskey-js.api.md 2023-04-08 14:39:54 +09:00
syuilo b697f948df Update misskey-js.api.md 2023-04-08 14:32:52 +09:00
syuilo 551b00302b use css module 2023-04-08 14:32:21 +09:00
syuilo 05aa0fa11a 🎨 2023-04-08 14:31:09 +09:00
syuilo 008e3fb37e Create 1680931179228-account-move.js 2023-04-08 14:20:40 +09:00
syuilo 68e8892f61 chore: use for instead of forEach 2023-04-08 14:18:28 +09:00
Namekuji 25ebb73756
feat: account migration (#10507)
* add Move activity

* add endpoint to move from local to remote

* follow move activity coming to inbox

* fix move endpoint

* add known-as endpoint to create account alias

* add migration page

* add route to migration page

* add move and known-as endpoints

* fix dependnecies error

* fix new endpoints

* fix move activity id

* fix refollow

* add movedToUri and alsoKnownAs to api

* fix moveToUri indicator

* fix missing context

* add chengelog

* rename MkMoved to MkAccountMoved

* add missing semicolon

* fix targetUri

* fix followings query

* remove redundant null check
2023-04-08 14:16:26 +09:00
syuilo fa67fb42b1 enhance(backend): Redisにチャンネル投稿がない場合はDBから持ってくるように
Fix #10473
2023-04-08 13:12:49 +09:00
syuilo 40b3041608 tweak MkWindow.vue 2023-04-08 13:01:28 +09:00
syuilo e3b8e8746e lint fixes 2023-04-08 12:57:05 +09:00
syuilo 33bce49ee8 lint fix 2023-04-08 12:56:21 +09:00
remi 44a4faebc0
feat: add minimize/Fold button for windows (#10508)
* add window minimizing!

* Fix window being able to go offscreen

* Revert en-US.yml changes

---------

Co-authored-by: mothmoon <remilia@remilia.se>
2023-04-08 12:55:05 +09:00
Acid Chicken (硫酸鶏) abda3b6c8c
ci(#10336): use TurboSnap (#10494)
* ci(#10336): use TurboSnap

* build: fix version

* ci(#10336): update build dir

* chore(#10336): fire changes

* chore: stabilize icon width on `PageHeader`

* chore: fire changes

* ci: invalid ignore

* ci: trace logs

* chore: debug

* revert: debug

This reverts commit 2329165e252640504ef17e97389e0460ada83e70.

* chore: do not reuse build dir

* build: scripts

* ci: tweak

* revert: re-revert debug

This reverts commit 596ef05d9eabe11c0ec3125fa4a87071d59b9b2f.

* chore: detect changes manually

* fix: syntax

* ci: do not use only-changed

* ci: fix command

* revert: re-re-revert debug

This reverts commit b027170d7504277006ce9abac386df8c38d55fd2.

* ci: use build dir

* revert: re-re-re-revert debug

This reverts commit 529ab126ed63ec10eeeaaee3e9ef581b75e739c9.

* ci: fix path

* revert: re-re-re-re-revert debug

This reverts commit 0b0c0b9ea48d37d617b777e9f602ccf8a2400381.

* ci: fix typo

* ci: only show story files

* revert: re-re-re-re-re-revert debug

This reverts commit 9f5b88df3225f23efd72bb099cfebe359af7acdb.

* ci: skip when no stories found

* ci: use skip

* revert: re-re-re-re-re-re-revert debug

This reverts commit 0df4bdc30bbf425c8682594d500a6d986517e721.

* ci: fix micromatch version

* revert: re-re-re-re-re-re-re-revert debug

This reverts commit 63063b02bbcb37e85b93afe3f919b185425ddcf0.

* revert: re-re-re-re-re-re-re-re-revert debug

This reverts commit 01d9669e2a2c758c478bad5379fe19768e2096bc.

* chore: pin tabler icon width globally

* ci: notify when Chromatic skips

* ci: fix endpoint

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-07 20:34:23 +09:00
syuilo 191ed3c814 fix(test): disable remote user tests
#10495
2023-04-07 20:09:22 +09:00
syuilo 7da2ca1862 Revert "test"
This reverts commit cb39db100a.
2023-04-07 20:05:15 +09:00
syuilo cb39db100a test 2023-04-07 19:45:08 +09:00
syuilo ed4a100e96 fix(backend): restore date properly of federated instance cache 2023-04-07 18:55:11 +09:00
syuilo 1377ea4178 perf(backend): improve cache of federated instances 2023-04-07 18:48:45 +09:00
syuilo 6e1ae7b242 enhance(backend): tweak cache of role
#10439
2023-04-07 18:15:47 +09:00
syuilo 930724f9de Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-07 18:12:27 +09:00
syuilo 3bbeec70ec perf(backend): improve cache of instance of user 2023-04-07 18:12:24 +09:00
okayurisotto 69828e8dac
fix(sw): プッシュ通知の操作でZen UIなクライアントが開かれてしまう場合がある問題を修正 (#10497) (#10498) 2023-04-07 15:48:49 +09:00
syuilo 1e3fb5531b typo 2023-04-07 11:33:15 +09:00
syuilo 239d3f2dbf feat(backend): ジョブキュー用Redisを別サーバーに分離できるように 2023-04-07 11:27:01 +09:00
syuilo ff6d9d2860 feat(backend): イベント用Redisを別サーバーに分離できるように 2023-04-07 11:20:14 +09:00
syuilo f4588f3907 perf(backend): reduce db query 2023-04-07 10:07:41 +09:00
syuilo a561b83070 fix deps 2023-04-06 20:29:17 +09:00
syuilo 88f22da052 update deps 2023-04-06 20:22:26 +09:00
syuilo f8cdab6d02 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-06 19:48:28 +09:00
syuilo 521eb95dbc perf(backend): cache avatar and banner url to db 2023-04-06 19:48:24 +09:00
syuilo c29f21ac56
perf(backend): prevent emit needless db queries 2023-04-06 19:45:12 +09:00
syuilo de9d136a3f perf(backend): reduce db query 2023-04-06 18:27:42 +09:00
syuilo a0d5e2469d Update about-misskey.vue 2023-04-06 18:08:35 +09:00
syuilo b38811af7c fix(backend): fix pack of notification behaviour 2023-04-06 15:09:21 +09:00
syuilo a574d0fbcb
fix 2023-04-06 11:36:20 +09:00
syuilo 73203a3d72 perf(backend): cache local custom emojis 2023-04-06 11:14:43 +09:00
syuilo bd142b8fe5 refactor 2023-04-06 10:12:30 +09:00
syuilo 384a3bed09 perf(backend): reduce db query 2023-04-06 10:09:44 +09:00
totegamma 9629929977
fix misskey-dev/misskey-#10417 (#10418) 2023-04-06 08:37:18 +09:00
Ryu jongheon e76d3e72db
refactor(fronted): setup syntax to menubar of Classic UI (#10474) 2023-04-06 08:35:14 +09:00
syuilo 19349b930a 🎨 2023-04-06 08:23:00 +09:00
Acid Chicken (硫酸鶏) 3b3f683f8c
feat(#8149): respect nsfw settings on gallery list (#10481)
* feat(#8149): respect nsfw settings on gallery list

* ci(#10336): use pull_request

* test(#8149): add interaction tests

* test(#10336): use `waitFor`

* chore: transition
2023-04-06 08:19:49 +09:00
tamaina 2650a7a5b8
fix: 通知インジケータが光りっぱなしになる問題を修正 (#10483)
* fix(misskey-js): ストリームがstringで送信される場合があるのを修正

* pnpm run api

* force read notification

* fix competition
2023-04-06 06:11:59 +09:00
Acid Chicken (硫酸鶏) 41aafdea00
test(#10336): stabilize `MkError` stories 2023-04-06 03:10:45 +09:00
syuilo 0bb882c9d4 🎨 2023-04-05 15:45:44 +09:00
xtexChooser 62efe2b4d5
fix: webhook delivery content-type (#9823) (#10458)
* fix: webhook delivery content-type (#9823)

* style: indent

* Update packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts

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

* style: trailing comma

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-04-05 14:49:58 +09:00
tamaina 6798effbab
enhance(client): 投稿フォームをちょっといい感じに (#10442)
* .formラッパーを削除

* fix type of MkPostFormAttaches

* 🚀

* 🎨

* 🎨

* 🎨

* 🎨

* specifiedの時は連合なしをdisabledに

* ✌️

* set select default

* gap: 2px (max-width: 500px) / 4px

* wip

* ✌️

* 🎨

* fix maxTextLength

* 今後表示しない

* 🎨

* cache channel

* 🎨

* 連合なしにする

* use i18n.ts.neverShow

* ✌️

* refactor

* fix indent

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-05 14:30:03 +09:00
syuilo d739aeee32 fix(frontend): add missing import 2023-04-05 14:29:18 +09:00
syuilo a093c373c4 fix 2023-04-05 13:57:22 +09:00
syuilo 288cce4a22 fix 2023-04-05 13:50:05 +09:00
syuilo 28647de196 enhance(backend): improve userkeypair cache 2023-04-05 12:10:40 +09:00
syuilo cf6a302f8f add note 2023-04-05 12:08:18 +09:00
syuilo 1c3d9a5df0 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-05 10:21:13 +09:00
syuilo f44504097c enhance(backend): improve cache 2023-04-05 10:21:10 +09:00
syuilo 625fed8838 enhance(backend): チャンネルの既読管理を削除
- 現状上手く機能していない
- パフォーマンス上の理由
- 実装するにしてももっと効率的な方法がある
2023-04-05 07:52:49 +09:00
Acid Chicken (硫酸鶏) 7bd0001e76
Merge branch 'develop' into fix/visibility-widening 2023-04-05 00:41:49 +09:00
syuilo ecaf152b4a enhance(backend): improve cache 2023-04-04 17:32:09 +09:00
syuilo 7f3afac0a2 refactor(backend): rename Cache -> MemoryCache 2023-04-04 15:56:47 +09:00
Acid Chicken (硫酸鶏) d6e04da20b
style(#10336): update comment-out codes 2023-04-04 15:03:45 +09:00
Acid Chicken (硫酸鶏) 55652a7a18
build(#10336): bump storybook to v7 2023-04-04 15:01:55 +09:00
syuilo 6954a6300c Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-04 14:07:04 +09:00
syuilo 30d6992684 perf(backend): 通知をRedisに保存するように
Resolve #10168
2023-04-04 14:06:57 +09:00
tamaina c25d89ef9c fix(client): fix prop type in MkOmit 2023-04-04 01:45:01 +00:00
Acid Chicken (硫酸鶏) 38d0b62167
build(#10336): Storybook & Chromatic & msw (#10365)
* build(#10336): init

* fix(#10336): invalid name conversion

* build(#10336): load locales and vite config

* refactor(#10336): remove unused imports

* build(#10336): separate definitions and generated codes

* refactor(#10336): remove hatches

* refactor(#10336): module semantics

* refactor(#10336): remove unused common preferences

* fix: typo

* build(#10336): mock assets

* build(#10336): impl `SatisfiesExpression`

* build(#10336): control themes

* refactor(#10336): semantics

* build(#10336): make .storybook as an individual TypeScript project

* style(#10336): use single quote

* build(#10336): avoid intrinsic component names

* chore: suppress linter

* style: typing

* build(#10336): update dependencies

* docs: note about Storybook

* build(#10336): sync

* build(#10336): full reload server on change

* chore: use defaultStore instead

* build(#10336): show popups on Story

* refactor(#10336): remove redundant div

* docs: fix

* build(#10336): interactions

* build(#10336): add an interaction test for `<MkA/>`

* build(#10336): bump storybook

* docs(#10336): mention to pre-build misskey-js

* build(#10336): write stories for `MkAcct`

* build(#10336): write stories for `MkAd`

* build(#10336): fix missing type definition

* build(#10336): use `toHaveTextContent`

* build(#10336): write some stories

* build(#10336): hide internal args

* build(#10336): generate `components/global` stories only

* build(#10336): write stories for `MkMisskeyFlavoredMarkdown`

* fix: conflict errors

* build(#10336): subcomponents on sidebar

* refactor: restore `SatisfiesExpression`

* docs(#10336): note development status

* build(#10336): use chokidar-cli

* docs(#10336): note chokidar-cli mode

* chore(#10336): untrack generated stories files

* fix: pointer handling

* build(#10336): finalize

* chore: add static option to `MkLoading`

* refactor(#10336): bind to local args

* fix: missing case

* revert: restore `SatisfiesExpression`

This reverts commit f246699f38.

* build(#10336): make storybook buildable

* build(#10336): staticify assets

* build(#10336): staticified directory structure

* build(#10336): normalize path for Windows

* ci(#10336): create actions

* build(#10336): ignore tsc errors

* build(#10336): ignore tsc errors

* build(#10336): missing dependencies

* build(#10336): missing dependencies

* build(#10336): use fast-glob

* fix: invalid lockfile

* ci(#10336): increase heap size

* build(#10336): use unpkg for storybook tabler icons

* build(#10336): use unpkg for storybook twemojis

* build(#10336): disable `ProfilePageCat`

* build(#10336): blur `MkA` before interaction ends

* ci(#10336): stabilize

* ci(#10336): fetch-depth

* build(#10336): isChromatic

* ci(#10336): notify on changes

* ci(#10336): fix typo

* ci(#10336): missing working directory

* ci(#10336): skip build

* ci(#10336): fix path

* build(#10336): fails on Windows

* build(#10336): available on Windows

* ci(#10336): disable animation on chromatic

* ci(#10336): add static option to `PageHeader.tabs`

* chore: void

* ci(#10336): change parameters

* docs(#10336): update CONTRIBUTING

* docs(#10336): note about meta overriding and etc.

* ci(#10336): use Chromatic for checks

* ci(#10336): use `pull_request` instead of `pull_request_target` for now

* ci(#10336): use `exitOnceUploaded`

* ci(#10336): reuse built storybook

* ci(#10336): back to `pull_request_target`

* chore: unused dependencies

* style(#10336): reduce prettier indents

* style: note about `TSSatisfiesExpression`
2023-04-04 09:38:34 +09:00
syuilo 8a0201fe9c add notes 2023-04-03 20:14:19 +09:00
A.Yamamoto ce1fb06ce8
Merge branch 'develop' into fix/visibility-widening 2023-04-03 15:08:54 +09:00
Acid Chicken (硫酸鶏) 8a9847b06a
Merge branch 'develop' into acid-chicken-patch-1 2023-04-03 13:01:15 +09:00
syuilo da6b30c5dd Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-03 12:47:46 +09:00
nexryai 92ddebb3fd
オブジェクトストレージの設定画面を分かりやすくする (#10456)
* enhance: Improved object storage configuration page

* Update ja-JP.yml

* Update CHANGELOG
2023-04-03 12:47:30 +09:00
syuilo b53d6c7f8c perf(backend): store notes of an antenna to redis instead of postgresql
Resolve #10169
2023-04-03 12:11:16 +09:00
syuilo c032dd1214 fix(frontend): tweak MkPagination behaviouyr 2023-04-03 11:50:17 +09:00
syuilo 4f9f625e65 perf(backend): cache timeline of a channel to redis 2023-04-03 11:49:58 +09:00
A.Yamamoto a46bfc7c14
レビュー対応
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-04-03 11:24:19 +09:00
na2na-p 3877b366b3
除外範囲考慮するように 2023-04-03 10:16:43 +09:00
tamaina a0c3dede8e enhance(server): 動画サムネイルの縦の長さを最大422pxにする
Related to #10149
Related to #10450
2023-04-02 15:49:07 +00:00
syuilo bc5e457a63 Delete vue.d.ts 2023-04-01 14:04:40 +09:00
syuilo 9224b6635f refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
syuilo f16a7cbcf2 refactor(frontend): remove $i 2023-04-01 13:52:07 +09:00
syuilo 7a8a756789 refactor(frontend): remove $instance 2023-04-01 13:46:04 +09:00
syuilo c823cbe63b refactor(frontend): remove $store 2023-04-01 13:42:40 +09:00
Acid Chicken (硫酸鶏) 14977ed2b7
fix: the avatar in the title bar is clipped 2023-03-31 07:47:03 +00:00
Acid Chicken (硫酸鶏) 13a406b6cf
Merge branch 'develop' into acid-chicken-patch-1 2023-03-31 16:41:55 +09:00
syuilo a9f0bea60c Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-31 16:41:29 +09:00
syuilo 152247bfda refactor: remove autobind-decorator dep 2023-03-31 16:41:27 +09:00
tamaina 6a4d56c81c fix(client): set overflow: clip to page header title container
#10413
2023-03-31 07:38:28 +00:00
syuilo 9bc5d52e41 feat: チャンネルにノートをピン留めできるように
Resolve #7740
2023-03-31 15:01:56 +09:00
syuilo f0a70a70c3 refactor 2023-03-31 14:14:30 +09:00
syuilo 3cb0cc7989 feat: チャンネルをお気に入りに登録できるように
Resolve #10097
2023-03-31 11:30:27 +09:00
syuilo 5d94062581 lint fix 2023-03-31 09:20:52 +09:00
syuilo a23b25bff7 tweak misskey-js eslintrc 2023-03-31 09:18:58 +09:00
tamaina 26068a3a8f use workspace:*, use pnpm@8.1.0 2023-03-30 13:01:00 +00:00
tamaina 0398787520 fix misskey-js/tsconfig.json (add dom lib) 2023-03-30 12:52:51 +00:00
tamaina dccf03ffc2 Fix misskey-js/tsconfig.json
Fix #10441
2023-03-30 12:51:24 +00:00
syuilo 6d78162323 tweak misskey-js config 2023-03-30 14:00:51 +09:00
syuilo d7fbef0a55 specify .js 2023-03-30 13:49:56 +09:00
syuilo ea6f9f1e7d tweak misskey-js config 2023-03-30 13:46:25 +09:00
syuilo ffbe896f28 enhance(client): ノートのリアクションを大きく表示するオプションを追加 2023-03-30 12:49:23 +09:00
syuilo e9769c937b misskey-jsのビルド設定を修正 2023-03-30 12:30:59 +09:00
syuilo e03d5a86a4 lint fix 2023-03-30 12:16:03 +09:00
syuilo bb2b33f2c9 update deps 2023-03-30 12:03:04 +09:00
syuilo 0fa9f945cf Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-30 11:48:35 +09:00
Acid Chicken (硫酸鶏) 5c80ad8fe9
Merge branch 'develop' into acid-chicken-patch-1 2023-03-30 11:03:51 +09:00
Kagami Sascha Rosylight cee1d5e2d0
chore: integrate misskey-js as a workspace item (git subtree) (#10409)
* Additional changes for the merge

* api-misskey-js
2023-03-30 09:33:19 +09:00
Acid Chicken (硫酸鶏) 49d4c538fe
fix: typo 2023-03-29 23:37:43 +09:00
syuilo c1d9e23171 enhance(client): 検索ページでURLを入力した際に照会したときと同等の挙動をするように 2023-03-29 17:22:34 +09:00
Acid Chicken (硫酸鶏) 4d3f0be419
chore: respect the animation preference 2023-03-27 05:16:39 +00:00
Acid Chicken (硫酸鶏) 07cfab0489
fix: add tight state to cat ears for workarounds 2023-03-26 09:36:46 +00:00
Acid Chicken (硫酸鶏) 453574644c
fix: add workaround for cat ears on iOS Safari 2023-03-26 09:25:51 +00:00
YS 31cc188bbd
regionが空文字列のときはundefinedとする (#10410) 2023-03-25 18:45:14 +09:00
Kagami Sascha Rosylight 772e05e835 Revert "Subtree merged in packages/misskey-js"
This reverts commit 3b524f32bf, reversing
changes made to 5be54451a8.
2023-03-25 08:20:41 +01:00
Kagami Sascha Rosylight abdb43c440 Revert "Additional changes for the merge"
This reverts commit efb5e1d1cc.
2023-03-25 08:20:34 +01:00
Kagami Sascha Rosylight efb5e1d1cc Additional changes for the merge 2023-03-25 08:13:30 +01:00
Kagami Sascha Rosylight 3b524f32bf Subtree merged in packages/misskey-js 2023-03-25 08:09:24 +01:00
syuilo da2483f7fe fix test 2023-03-24 19:09:02 +09:00
syuilo 31f3f5f0f0 enhance(backend): リモートサーバーのチャート生成を無効にするオプションを追加 2023-03-24 19:08:08 +09:00
syuilo 09a846a45c enhance(backend): use ❤️ for reaction fallback 2023-03-24 18:55:31 +09:00
syuilo 4edc7d8956 enhance of f01e6ef6bf 2023-03-24 18:48:42 +09:00
syuilo 6a29b182ee perf(backend): ドライブのチャートはローカルユーザーのみ生成するように 2023-03-24 18:37:08 +09:00
syuilo 46f99755db refactor 2023-03-24 18:29:39 +09:00
syuilo 05cba6d357 fix: add missing import 2023-03-24 17:03:03 +09:00
syuilo cabed6098d perf(frontend): cache user lists 2023-03-24 16:58:57 +09:00
syuilo 5f52b13325 enhance(frontend): クリップボタンをノートアクションに追加できるように 2023-03-24 16:54:37 +09:00
syuilo e438091113 refactor(backend): rename cache class 2023-03-24 16:43:42 +09:00
syuilo 4a17906530 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-24 16:01:38 +09:00
syuilo ab26a8016d fix(server): 空のアンテナが作成できるのを修正 2023-03-24 16:01:35 +09:00
kakkokari-gtyih 972963913b
i18n: Webhook 設定画面に翻訳を追加 (#10379)
* Webhook 設定画面に翻訳を追加

* fix: typo

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-24 15:44:26 +09:00
syuilo f01e6ef6bf enhance(backend): リモートユーザーのチャート生成を無効にするオプションを追加 2023-03-24 15:43:36 +09:00
Acid Chicken (硫酸鶏) 7f9a41b05c
fix: redesign cat ears (#10039)
* fix: viewing disgusting objects when user is a cat with having transparent avatar

* chore: mask cat ears when useBlurEffect is enabled

* fix: typo

* style: add comment

* chore: shrink mask

* chore: blur mask

* refactor: minify

* chore: use SVG to determine ear color

* style: comment

* refactor: use `<component>`

* refactor: separate cat definitions

* refactor: use singleton SVG definitions

* perf: use CSS instead of SVG

* refactor: unused definer

* refactor: not used anymore

* refactor: minify

* refactor: minify

* fix: import
2023-03-23 18:06:26 +09:00
syuilo 41d1b1b8c9 enhance: コンディショナルロールの条件に「投稿数が~以下」「投稿数が~以上」を追加
Resolve #10395
2023-03-23 17:18:38 +09:00
syuilo 48a97d25e5 fix(client): センシティブワードの一覧にピン留めユーザーのIDが表示される問題を修正
Fix #10398
2023-03-23 17:07:46 +09:00
YS 658901a47f
bump aws-sdk to v3 for s3 (#10363)
* indent

* aws-sdk v3移行
2023-03-23 13:48:14 +09:00
syuilo 050787238b fix(backend): 絵文字を編集すると保存できないことがある問題を修正
Fix #10384
2023-03-22 18:45:55 +09:00
syuilo c6fc9af77a fix(client): ドライブファイルのメニューが正常に動作しない問題を修正
Fix #10387
2023-03-22 18:29:17 +09:00
syuilo 24a3a0bbff fix(client): An error occurs when you press the Play button of Misskey Play
Fix #10381
2023-03-22 16:26:11 +09:00
syuilo 78a3d78a7f fix drive-cleaner 2023-03-22 09:09:43 +09:00
syuilo 9a40a4e315
Update packages/backend/test/utils.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-03-22 08:59:50 +09:00
CyberRex 7331de0bce
feat: queue force promote (#10370)
* feat: queue force promote

* Update CHANGELOG.md

* small fix
2023-03-22 08:58:23 +09:00
syuilo dac4fbcb1e tweak settings/navbar.vue 2023-03-20 20:35:49 +09:00
Ekke 21b10603fe
feat(frontend): ナビゲーションバーのカスタマイズをドラッグ&ドロップで行えるようにする (#10356)
* feat(frontend): ナビゲーションバーのカスタマイズをドラッグ&ドロップで行えるようにする

* eslintのエラーを修正

* ハンドルをつかんでドラッグするように変更

* eslintのエラーを修正

* デザインの軽微な変更

* 修正

* Update CHANGELOG.md

* Update CHANGELOG.md

* ドラッグハンドルを3本線から2本線に

---------

Co-authored-by: root <root@Adam-Windows>
2023-03-20 20:21:54 +09:00
syuilo 54630edb0f enhance: 使われてないアンテナは自動停止されるように
Resolve #9373
2023-03-20 20:12:38 +09:00
choco eb5781465b
fix(users/show): ユーザーが見つからなかった場合に404ステータスコードを返す (#10344)
* fix(users/show): ユーザーが見つからなかった場合に404ステータスコードを返す

* test(users/show): ステータスコードの期待値を修正
2023-03-20 14:26:11 +09:00
nenohi e152047912
絵文字の名前に@や:が使用できる (#9964)
* fix(#9918)名前の一致でもエラーとするように

* 判定を逆に

* )の位置間違えてる

* カテゴリ分けとかしたときにエラーになる

* エラー消し

* こういうこと・・・?
2023-03-20 14:24:18 +09:00
syuilo 3d6aaa7aaa tweak drive-cleaner 2023-03-20 13:20:21 +09:00
syuilo 32c60c774c fix indentation 2023-03-20 13:00:21 +09:00
CyberRex 1d6f43aa30
feat: drive cleaner (#10366)
* feat: drive-cleaner

* Update CHANGELOG.md
2023-03-20 12:58:06 +09:00
kakkokari-gtyih 866aded6bc
fix: PC版設定ページでスマホ用UIが表示されるのを防ぐリダイレクトを追加 (#10326)
* (Fix misskey-dev#10324)設定画面:PC版UIへのリダイレクトをルート遷移時にも実行

* Update changelog

* (fix) missing semicolon

* (fix) strict equals
2023-03-19 20:28:19 +09:00
Kagami Sascha Rosylight e542a030e4
fix(backend/URLPreviewService): エラーでHTTP 422を出すように (#10339)
* fix(backend/URLPreviewService): エラーでHTTP 402を出すように

* fix import
2023-03-19 20:27:17 +09:00
Nanashia 2e051c5871
test(backend): Add tests for clips (#10358) 2023-03-19 20:26:38 +09:00
kakkokari-gtyih 459d3053d3
fix: 非ログイン時に「Misskeyについて」ページから投稿フォームが出ないようにする (#10345)
* (fix misskey-dev#9486) 非ログイン時の I ❤ Misskey のふるまい

* 「キャンセル」ボタンにより適切な翻訳をあてる

* Update CHANGELOG.md

* もともと用意されていたサインイン確認関数に置き換え

* Update CHANGELOG.md

* 独自ダイアログでなくなった以上、async指定は要らないので解除

* ボタンをそもそも非表示にする
2023-03-19 17:05:31 +09:00
Kagami Sascha Rosylight c091d9e6d5
feat(frontend/MkUrlPreview): oEmbedのサポート (#10306)
* feat(frontend/MkUrlPreview): oEmbedのサポート

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* playerとoEmbedの統合

* Update CHANGELOG.md

* loading=lazyはここでは不要

* border: 0

* プレビュー直後にautoplayできる機能の復旧

* add test

* refactor test

* explain about cache

* expandPreviewはもう使わない

* summaly v4

* update summaly

* scrolling=no to fix pixiv

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-19 16:59:31 +09:00
syuilo 4d73080da1 perf(backend): improve performance of timeline apis 2023-03-19 16:52:38 +09:00
atsuchan 793dacef19
Fix: foreignkey on reports (#9753) 2023-03-19 15:46:24 +09:00
syuilo 7699b49d33 enhance(client): add ads page 2023-03-18 14:30:16 +09:00
Nanashia 8571c692ba
test(backend): Add tests for web resources (#10341) 2023-03-18 09:01:10 +09:00
syuilo e5ad37e6d0 update aiscript 2023-03-17 20:41:25 +09:00
syuilo ed51209172 絵文字のライセンスを表示できるように 2023-03-17 20:24:47 +09:00
syuilo ac0e0122f6 refactor 2023-03-17 15:09:43 +09:00
syuilo b644567735 feat: clip favorite
Resolve #10337
2023-03-16 17:24:49 +09:00
syuilo 8ae9d2eaa8 enhance: カスタム絵文字にライセンス情報を付与できるように
Resolve #10091
2023-03-16 15:08:48 +09:00
syuilo a9bc22e4e6 Update NotificationService.ts 2023-03-16 14:36:21 +09:00
syuilo 89e2c302dd refactor(backend): integrate CreateNotificationService to NotificationService 2023-03-16 14:24:11 +09:00
syuilo 0944c1cd6f update tabler-icons 2023-03-16 14:14:14 +09:00
syuilo 925cc06aea enhance(client): tweak search page 2023-03-16 11:56:20 +09:00
syuilo 6da6c4dd45 enhance(client): update AiScript to 0.13.0 2023-03-15 18:26:59 +09:00
syuilo f9cdcc9bc6 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-15 18:09:03 +09:00
syuilo 63068fc0c2 fix(server): prevent creation of empty antennas 2023-03-15 18:09:00 +09:00
kakkokari-gtyih 7ff467e8e0
feat(client): Navbar の設定項目に「プロフィール」を追加 (#10332)
* feat: navbar項目 自プロフィールを追加 (misskey-dev#10330)

* change CHANGELOG.md
2023-03-15 18:01:56 +09:00
syuilo a8bd3e8e53 Update AggregateRetentionProcessorService.ts 2023-03-15 17:45:59 +09:00
syuilo 58fc17e3b6 fix: tweak retention rate aggregation 2023-03-15 17:43:13 +09:00
タービン 42833cd921
Fix #10261 (#10323) 2023-03-15 10:44:24 +09:00
CyberRex c05c504c86
Deliverキューに宛先がSharedInboxかどうかのフラグを追加 ( #10298 関係 ) (#10317)
* enhance(backend): 配送先が410 Goneで応答してきた場合配送停止するように

* Update CHANGELOG.md

* Deliverキューのデータに宛先がSharedInboxかどうかのフラグを追加

* Fix lint

* Mapを使用するように

* Fix typo
2023-03-14 19:11:31 +09:00
YS 3cb669a852
fix: クエリキャッシュ無効化時の絵文字操作エラーを解消 (#10320)
* disabledCache: trueのときにqueryResultCacheへアクセスしないように

* append changelog
2023-03-14 09:37:14 +09:00
Cj-bc 850addc619
user schemaにあるany型を厳格にした (#10319)
使用されている箇所から、これらのプロパティの型はstring型に限定出来そうということが分かった。
又、OpenAPIv3の仕様上はanyは使えないため修正した。

related: https://github.com/misskey-dev/misskey/issues/10308

* Update CHANGELOG
2023-03-13 23:13:51 +09:00
syuilo 7887ccc993 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-13 20:04:38 +09:00
Kisaragi 191233143f
refactor(frontend): 引数の型を強くし、関数内部のas anyを除去 (#10315) 2023-03-13 20:04:14 +09:00
syuilo 1a62ca52a0 chore(client): tweak admin/roles page 2023-03-13 20:02:53 +09:00
syuilo 5d1ccb9bdc enhance: make configurable to whether notes search available by role
Resolve #10318
2023-03-13 17:52:24 +09:00
syuilo 7f16b50e73 feat: sensitive word 2023-03-13 17:37:22 +09:00
CyberRex b18df999cd
enhance(backend): 配送先が410 Goneで応答してきた場合配送停止するように (#10298)
* enhance(backend): 配送先が410 Goneで応答してきた場合配送停止するように

* Update CHANGELOG.md
2023-03-13 09:46:53 +09:00
Kagami Sascha Rosylight 0d2bee787d
fix(frontend/XHome): fall back to user.uri if user.url does not exist (#10313)
* fix(frontend/XHome): fall back to user.uri if user.url does not exist

* Update CHANGELOG.md
2023-03-13 09:46:33 +09:00
YS 44213812b8
空文字列のobjectStorageEndtpoinをnullと同様に扱う (#10312) 2023-03-13 09:45:21 +09:00
syuilo 7e9d3d9b2f Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-12 20:57:04 +09:00
syuilo a43398ce1d refactor(test): rename variable for INestApplicationContext 2023-03-12 20:57:01 +09:00
tamaina dff0bee748
fix: Do not use avif (#10301)
* fix: Do not use avif

* fix

* fix
2023-03-12 17:31:52 +09:00
syuilo ba98abc97b Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-12 16:45:11 +09:00
atsuchan 4215a11d9a
パスワードリセットがおささってしまわないようにする (#10304)
Add dialog to Password reset
2023-03-12 16:44:41 +09:00
syuilo 8ac5c35f09 enhance(client): 設定から自分のロールを確認できるように 2023-03-12 16:39:16 +09:00
syuilo 7c2d8d73ce enhance: ロールの並び順を設定可能に 2023-03-12 16:38:08 +09:00
Kagami Sascha Rosylight 57cac0aa23
fix(backend/ApRendererService): allow announces with visibility: followers (#10291)
* fix(backend/ApRendererService): allow announces with visibility: followers

* Update CHANGELOG.md

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-12 12:11:37 +09:00
atsuchan 31488da40c
タイムラインを正常に無効化できるように (#10299)
* タイムラインを正常に無効化できるように

Timeline can be disabled successfully

* Tune: disabled timeline to update disabled state immediately

カラムの判定の場所をこっちにしないとリアルタイムで更新が反映されないので変更(タイムラインを正常に無効化できるように)

* modify disabled timeline icon to ti-circle-minus

無効化されたタイムラインのアイコンをTabler iconのti-circle-minusに修正

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

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-03-12 10:20:33 +09:00
Kagami Sascha Rosylight 1ea4469bec
fix(frontend/MkSignup): prevent uncaught errors from interrupted signup (#10265)
* fix(frontend/MkSignup): prevent uncaught errors from interrupted signup

* nullable sitekey

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-11 14:32:13 +09:00
Nanashia 4e7e377987
add backend 2fa test (#10289) 2023-03-11 14:13:39 +09:00
tamaina 88e3d3e8cb
enhance(server): 画像圧縮周り(主にサムネイルの仕様)の変更 (#10287)
* DriveService, is-mime-image

* static, previewをavifに, アニメーション画像でもthumbnailを生成

* fallback

* animated: true

* fix

* avatarはwebp

* revert ?? file.url

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-11 14:11:40 +09:00
(Fairy)Phy 488754437d
fix(frontend): Safariでプラグインが複数ある場合に正常に読み込まれない問題を修正 (#10290)
* Safariでプラグインが複数ある場合に正常に読み込まれない問題を修正

* Update packages/frontend/src/init.ts

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>

* Update packages/frontend/src/init.ts

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2023-03-11 13:40:22 +09:00
Kagami Sascha Rosylight 4094ab58aa
fix(backend/DriveService): gracely skip when getting NoSuchKey error from S3 (#10292)
* fix(backend/DriveService): gracely skip when getting NoSuchKey error from S3

* Update CHANGELOG.md

* import type
2023-03-11 13:35:51 +09:00
Kisaragi 0ac1fc846b
refactor(backend): 必要ないas anyを消去 (#10293) 2023-03-11 08:51:37 +09:00
syuilo 65b1524f92 enhance(client): 付箋ウィジェットの高さを設定可能に 2023-03-10 19:51:35 +09:00
nenohi e13202a452
Issue:#9828対応 (#9916) 2023-03-10 19:30:21 +09:00
syuilo 787404638a fix(client): プロフィールで設定した情報が削除できない
Fix #10279
2023-03-10 18:48:57 +09:00
syuilo c12e3c46ff Update about-misskey.vue 2023-03-10 18:05:35 +09:00
syuilo 99f3f0917f tweak postgresql entities
Fix #10266
2023-03-10 14:53:56 +09:00
syuilo 258bd3c905 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-10 14:22:42 +09:00
syuilo 5de8930058 refactor: rename schema to json-schema 2023-03-10 14:22:37 +09:00
YS b7c26dc29d
絵文字ピッカーのすべての絵文字でマウスホバー時にtitle表示されるように (#9765)
* 絵文字ピッカーの絵文字アイコン選択のコンポーネント化とすべてでtitle表示

* コンポーネント化を取り消し、イベントとデータ属性で行う

* fix typo

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-10 14:15:49 +09:00
syuilo 66aef2e716 🎨 2023-03-10 14:07:34 +09:00
syuilo c0bad443ff update deps 2023-03-10 14:00:14 +09:00
Kisaragi a81ebc5966
chore(backend): fix typo in warning message (#10284) 2023-03-10 13:21:23 +09:00
Kagami Sascha Rosylight 3f53cbd8f6
fix(backend/DriveService): convert WebP/AVIF to WebP (#10239)
* fix(backend/DriveService): convert transparent WebP/AVIF to PNG

* webpにする

その希望が複数ありましたので

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

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

* update test

* webpはwebpublicにできる

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-10 09:37:22 +09:00
Kagami Sascha Rosylight e0b7633a7a
enhance(backend): restore OpenAPI endpoints (#10281)
* enhance(backend): restore OpenAPI endpoints

* Update CHANGELOG.md

* version

* set max-age

* update redoc

* follow redoc documentation

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-10 02:37:44 +09:00
Launchpad caf646fcb0
fix(client): Solve the problem of not automatically jumping to /admin/overview when accessing the /admin page for the second time (#10264)
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-10 02:22:47 +09:00
tamaina 89393aaf95
Merge pull request #10248 from saschanaz/alt-pre-line
fix(frontend/MkMediaList): altメッセージのnewlineを認識
2023-03-10 00:17:06 +09:00
Kagami Sascha Rosylight ef773520e6
fix(frontend/widget): federation widgetのdata-cyも移動
fcb6e0adb9 の後テストが落ちている
2023-03-09 15:09:49 +01:00
tamaina dc49a24f07
Merge pull request #9970 from saschanaz/mkusername-empty
fix(backend/ApPersonService): normalize empty value of `name` into an absent value
2023-03-09 22:36:26 +09:00
syuilo fcb6e0adb9 chore(test): data属性がclassになっているのを修正 2023-03-09 19:59:11 +09:00
Acid Chicken (硫酸鶏) 93ea9c2033
chore(frontend): add debugger for #6864 (#10270) 2023-03-09 14:35:38 +09:00
tamaina c75afad64a
enhance: アカウント削除時のクライアントの挙動をいい感じにするなど (#10002)
* refreshAccounts
Resolve #9322

* アカウント管理画面でリストを更新するように

* Update packages/frontend/src/account.ts

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

* ✌️

* クライアント起動時は現在ログインしているアカウントのみリフレッシュする

* clean up

* なんかめっちゃ変えた

* refactor

* refactor

* fix lint

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-03-09 14:27:16 +09:00
RyotaK a4ca127ebd
fix: 登録メール送信時に重複確認を行う (#10231)
* fix: 登録メール送信時に重複確認を行う

* try-catchを使う必要はない

* Remove spaces
2023-03-09 12:57:34 +09:00
Kagami Sascha Rosylight 4835f0fb43
fix(frontend): GIFバナーの復活など (#10247)
* Restore GIF banner

* Add ALT banner, detect APNG too

* Add vitest

* Add CI for vitest

* Upload coverage?

* frontend
2023-03-09 12:48:39 +09:00
syuilo 6607b39235 fix(client): ロールで広告を無効にするとadmin/adsでプレビューがでてこない
Fix #10272
2023-03-09 12:28:40 +09:00
Ebise Lutica 9d1a874ddc
フォローリクエストのUI改善 (#10275)
* フォローリクエストのUI改善

* Update CHANGELOG.md
2023-03-09 12:17:34 +09:00
mmorita aad70a97db
fix: チャンネルの編集権限をチャンネル所有者とモデレーターに限定する (#10268)
* チャンネルの編集権限をチャンネルオーナーとモデレーターに限定する

* PR 指摘点対応(共有ボタンを全員に表示、$i の nullable 対応、fix a typo)

* everyOne -> share
2023-03-09 07:58:53 +09:00
tamaina 97a43bc30f fix(server): videoThumbnailGeneratorが適用されない問題を修正 2023-03-08 19:57:52 +00:00
RyotaK 116dd097bd
fix: 登録フォームにおける競合状態を修正 (#10267)
* fix: 登録フォームにおける競合状態を修正

* エラーを修正
2023-03-08 16:32:13 +09:00
syuilo dd6569a1bb
feat: Reaction acceptance (#10256)
* wip

* wip

* デフォルト設定
2023-03-08 08:56:47 +09:00
syuilo 4c2f7c64cc
feat: Per-user renote mute (#10249)
* feat: per-user renote muting

From FoundKey/c414f24a2c https://akkoma.dev/FoundKeyGang/FoundKey

* Update ja-JP.yml

* Delete renote-muting.ts

* rename

* fix ids

* lint

* fix

* Update CHANGELOG.md

* リノートをミュートしたユーザー一覧を見れるように

* 🎨

* add test

* fix test

---------

Co-authored-by: Hélène <pleroma-dev@helene.moe>
2023-03-08 08:56:09 +09:00
syuilo 6fe13f1a63 lint fix 2023-03-07 20:17:19 +09:00
danominium 4f0bb70118
fix(backend): ブロックホストがない場合はINクエリを生成しない。 (#10258)
空のINクエリはシンタックスエラーとなるため。
2023-03-07 20:09:20 +09:00
syuilo b20703c185 tweak of 0554dd8375 2023-03-07 19:48:51 +09:00
syuilo 0554dd8375 enhance(client): DM作成時にメンションも含むように 2023-03-07 17:12:46 +09:00
syuilo 1ef6bec133 Update about-misskey.vue 2023-03-07 16:54:19 +09:00
RyotaK 6feead5185
fix: 登録時のフォームにおいて送信できる条件を修正 (#10238)
* fix: 登録時のフォームにおいて送信できる条件を修正

* テストを追加
2023-03-07 16:07:13 +09:00
syuilo 60c1af674f chore(client): tweak default sound setting 2023-03-07 09:51:37 +09:00
syuilo 3ecb863372 enhance(client): improve mute-block page 2023-03-07 09:37:02 +09:00
syuilo 2b884ba338 enhance(server): tweak notes/featured api 2023-03-07 08:41:10 +09:00
Kagami Sascha Rosylight d90a98a8a7 fix(frontend/MkMediaList): altメッセージのnewlineを認識 2023-03-06 22:02:51 +01:00
Kagami Sascha Rosylight 5651353c27
Merge branch 'develop' into mkusername-empty 2023-03-06 07:51:17 +01:00
syuilo 31f9ea31b9 [ci skip] chore(client): showNoteActionsOnlyHover変更時にリロードダイアログを出すように 2023-03-06 11:53:04 +09:00
syuilo 5ccbeda86a Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-06 02:14:56 +00:00
syuilo f20abb4ee5 fix(client): みつけるのロール一覧でコンディショナルロールが含まれるのを修正 2023-03-06 02:12:35 +00:00
tamaina 87d0f56dc7 fix correctFilename extが.から始まる場合も考慮する 2023-03-06 01:17:13 +00:00
arrow2nd 8c9c89a137
fix(frontend): ユーザーページのバッジ表示を適切に折り返すように (#10222)
* fix(frontend): ユーザーページのバッジ表示を適切に折り返すように

* Update CHANGELOG.md
2023-03-05 21:59:41 +09:00
syuilo 353b1cc682 [ci skip] 🎨 2023-03-05 20:52:26 +09:00
syuilo 9f73c23b38 [ci skip] fix(client): fix post button of channel 2023-03-05 20:48:46 +09:00
syuilo 4480fa1efe refactor(client): use css module 2023-03-05 20:28:39 +09:00
syuilo f8ab34734c enhance(client): tweak MkFolder component 2023-03-05 20:28:27 +09:00
syuilo aa01ba7cce enhance(client): tweak brain diver detection 2023-03-05 20:00:37 +09:00
syuilo 7b8e1e6913 enhance(client): tweak signup form 2023-03-05 14:05:28 +09:00
syuilo 85d93133d3 Update about-misskey.vue 2023-03-05 11:34:46 +09:00
syuilo ae7d17d121 fix of b9a3b2c165 2023-03-05 11:11:36 +09:00
syuilo b9a3b2c165 enhance(server): make identicon same between local and remote
Resolve #10200
2023-03-05 11:09:55 +09:00
syuilo ba2630c615 tweak of 8e5e6f90cb 2023-03-05 10:59:44 +09:00
syuilo 8e5e6f90cb fix(client): PWAでlangがnullになる現象の応急処置
#10202
2023-03-05 10:57:54 +09:00
syuilo f6c6ffaf64 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-05 10:48:07 +09:00
syuilo 5c88c17d15 fix(client): ロールの権限で「一般ユーザー」のロールがいきなり設定できない問題を修正
Fix #10203
2023-03-05 10:48:04 +09:00
tamaina c36e7d1a07
enhance(server): メディアプロキシでico,bmpを読めるように (#10186)
* enhance(server): downloadUrlでContent-Dispositionからファイル名を取得
Resolve #10036
Resolve #4750

* untitled

* オブジェクトストレージのContent-Dispositionのファイル名の拡張子をContent-Typeに添ったものにする

* ✌️

* tiff

* fix filename

* add test

* /files/でもContent-Disposition

* enhance(server): メディアプロキシでico,bmpを読めるように
Fix #10120

* comment

* fix test

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-04 19:23:11 +09:00
nexryai 72b315491b
Fix: If mail delivery is disabled on the server, make the settings page indicate this (#10191)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-04 19:19:55 +09:00
syuilo 1711ae7156 🎨 2023-03-04 17:36:11 +09:00
syuilo 3f507241ca chore(client): tweak default value of numberOfPageCache 2023-03-04 17:19:18 +09:00
tamaina 2d551a8598
enhance(server): downloadUrlでContent-Dispositionからファイル名を取得 (#10150)
* enhance(server): downloadUrlでContent-Dispositionからファイル名を取得
Resolve #10036
Resolve #4750

* untitled

* オブジェクトストレージのContent-Dispositionのファイル名の拡張子をContent-Typeに添ったものにする

* ✌️

* tiff

* fix filename

* add test

* /files/でもContent-Disposition

* comment

* fix test
2023-03-04 16:51:07 +09:00
rinsuki 49f0837729
fix(server): DriveFile related N+1 query when call note packMany (again) (#10190)
* Revert "Revert "fix(server): DriveFile related N+1 query when call note packMany (#10133)""

This reverts commit a7c82eeabc.

* packManyByIdsMap: 存在チェックをしてなかったものは null を入れるように

* Note.packMany で reply とか renote がもうあったらそのファイルも引く

* テストを書く

* fix test

* fix test

* fix test

* fix test
2023-03-04 16:48:50 +09:00
syuilo e4fc9ea816 enhance(client): improve channel ui 2023-03-04 10:50:21 +09:00
syuilo b303d65450 fix(client): Viteで This assignment will throw because "role" is a constantというエラーが出る
Fix #10187
2023-03-04 10:36:48 +09:00
syuilo dcd4d80869 enhance(client): improve channel ui 2023-03-04 10:34:54 +09:00
syuilo aee7ed992b enhance(client): add share button to clip and channel page
Resolve #10183
2023-03-04 10:17:45 +09:00
syuilo ad7ecbaf37 通知部分は残す
Co-Authored-By: rinsuki <428rinsuki+contact.github@gmail.com>
2023-03-03 20:43:31 +09:00
syuilo a7c82eeabc Revert "fix(server): DriveFile related N+1 query when call note packMany (#10133)"
This reverts commit 452a48e7f4.
2023-03-03 20:26:44 +09:00
syuilo 5d46c1c9bb (CSS完全に)理解した 2023-03-03 14:55:56 +09:00
syuilo af24011eec clean up 2023-03-03 12:31:41 +09:00
syuilo 87c6d0cbee 🎨 2023-03-03 12:29:34 +09:00
syuilo 3066a133ac fix(client): prevent null reference error 2023-03-03 11:43:53 +09:00
Kagami Sascha Rosylight 61215e50ff
test(backend): APIテストの復活 (#10163)
* Revert 1c5291f818

* APIテストの復活

* apiテストの移行

* moduleNameMapper修正

* simpleGetでthrowしないように

status確認しているので要らない

* longer timeout

* ローカルでは問題ないのになんで

* case sensitive

* Run Nest instance within the current process

* Skip some setIntervals

* wait for 5 seconds

* kill them all!!

* logHeapUsage: true

* detectOpenHandlesがじゃましているらしい

* maxWorkers=1?

* restore drive api tests

* workerIdleMemoryLimit: 500MB

* 1024MiB

* Wait what
2023-03-03 11:13:12 +09:00
kabo2468 53987fadd7
fix(server): チャンネルでミュートが正しく機能していないのを修正 (#10166)
* fix(server): チャンネルでミュートが正しく機能していないのを修正

* Update CHANGELOG.md
2023-03-03 10:30:21 +09:00
rinsuki 452a48e7f4
fix(server): DriveFile related N+1 query when call note packMany (#10133)
* fix(server): DriveFile related N+1 query when call note packMany

* Update packages/backend/src/misc/is-not-null.ts

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

* ignore lint

* 途中でやめたやつが混入していた

* fix: 順番通りである必要がある場所で順番通りになっていなかった

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-03-03 10:06:59 +09:00
syuilo 5248395fc5 update sounds 2023-03-03 09:41:33 +09:00
syuilo cf8a7f93d5 🎨 2023-03-03 08:48:52 +09:00
syuilo 187a698d54 🎨 2023-03-02 20:47:24 +09:00
syuilo ebd7b27075 clean up 2023-03-02 18:40:55 +09:00
syuilo dad915e522 enhance(client): provide sticktyFooter 2023-03-02 18:40:43 +09:00
Kagami Sascha Rosylight 896400a6c9
refactor(frontend): add explicit `Promise<void>` return types in `os.ts` (#10156) 2023-03-02 15:05:05 +09:00
syuilo fdf7605074 refactor(client): use css modules 2023-03-02 14:38:45 +09:00
syuilo ea1cff499a update sounds 2023-03-02 08:36:15 +09:00
syuilo b392564165 Update about-misskey.vue 2023-03-02 08:36:06 +09:00
syuilo 39e41d7424 🎨 2023-03-01 17:30:23 +09:00
syuilo 47b1b09b21 enhance(client): add new sounds 2023-03-01 17:22:17 +09:00
Kagami Sascha Rosylight 6d82371449
fix(frontend): read KeyboardEvent.key instead of which/code (#10083) 2023-03-01 15:24:09 +09:00
KokiSakano 830fabef12
refactor: plugin.tsの型を修正する (#10027)
* refactor:plugin内のすべての関数にreturn typeを設定

* fix:pluginContextsから取得できない場合は早期リターンする

* fix:valueがstring以外の時は早期リターンする

* fix:valueが取得できる時以外は早期リターンする

* fix:pluginに型をつける

* fix:絞り込みをassertStringに変更

* fix:修正漏れ

* fix:valToJsからvalueを取得するように変更
2023-03-01 15:19:20 +09:00
Khsmty c34e7e6e08
enhance(client): Renote した時の表示をリップルエフェクトと toast に (#10116)
* enhance(client): Renote した時の表示を toast に

* fix: lint エラー

* enhance(client): Renote した時の表示をリップルエフェクトに

* toast も追加

* rippleeffect のタイミング変更

* toast の位置を header に被らないように
2023-03-01 14:55:57 +09:00
syuilo 78d66d3806 🎨 2023-03-01 14:54:02 +09:00
syuilo 44f041587c 🎨 2023-03-01 14:46:53 +09:00
syuilo d0bbeeee52 🎨 2023-03-01 14:22:53 +09:00
syuilo 9e5278d276 fix of #10145 2023-03-01 12:02:37 +09:00
syuilo 064a6bf065 🎨 2023-03-01 10:56:51 +09:00
syuilo 1c5291f818
feat: 時限ロール (#10145)
* feat: 時限ロール

* クライアントから期限を確認できるように

* リファクタとか

* fix test

* fix test

* fix test

* clean up
2023-03-01 10:20:03 +09:00
syuilo 7c3a390763 enhance(client): ノートの操作部をホバー時のみ表示するオプション 2023-02-28 20:53:32 +09:00
syuilo 83a67606a9 enhance(server): make antenna handle cw
Resolve #10140
2023-02-28 20:20:23 +09:00
tamaina c1e69e7a53
enhance(client): emojisはIndexedDBに保存する (#10121)
* enhance(client): emojisはIndexedDBに保存する

* lastEmojisFetchedAt
2023-02-28 20:10:52 +09:00
tamaina ffe3386e5b
fix(sw): プッシュ通知でカスタム絵文字リアクションを表示できるように (#10122)
* fix(sw): プッシュ通知でカスタム絵文字リアクションを表示できるように
Fix #10117
/emoji/*.webpにbadgeモードを

* ?

* ✌️

* fix
2023-02-28 19:55:31 +09:00
牛蒡 c63447e194
enhance: Play の「ソースを表示」にシンタックスハイライトを当てる (#10107)
* シンタックスハイライトを当てる

* fix
2023-02-28 17:38:43 +09:00
tamaina 17d0bde50e
fix(client): photoswipe(画像の拡大表示)がなんか変 (#10138)
* fix(client): photoswipe(画像の拡大表示)がなんか変
Fix  #10037

* important

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-28 17:26:42 +09:00
tamaina 12932d2831
fix: 外部メディアプロキシ使用時にアバタークロップができない問題を修正 (#10142)
* wip

* fix

* Update packages/frontend/src/scripts/media-proxy.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-28 17:14:23 +09:00
syuilo 746770ac3b fix Serialized type 2023-02-28 16:46:25 +09:00
syuilo ab7a8a2dae enhance(client): 招待コードが必要なことが分かりやすいように 2023-02-28 16:05:05 +09:00
syuilo b60c985203 fix(server): メールアドレス更新時にバリデーションが正しく行われていないのを修正 2023-02-28 15:31:48 +09:00
syuilo 785c67ea8d 🎨 2023-02-28 15:27:54 +09:00
Kagami Sascha Rosylight 647a018362
fix(backend): return HTTP 404 for any unknown api endpoint paths (#10130)
* fix(backend): return HTTP 400 for any invalid api endpoint paths

* 404
2023-02-27 18:01:43 +09:00
syuilo d8dcce807b fix(client): モバイル環境でポップアップが表示されない
Fix #10110
2023-02-26 20:51:06 +09:00
tamaina cf950224de Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-26 11:10:29 +00:00
tamaina 02d7ffd305 fix(server): 単純にrenoteできないのを修正 2023-02-26 11:10:24 +00:00
syuilo 9f8c9dd881
Update packages/backend/check_connect.js
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-02-26 20:07:52 +09:00
syuilo d019c1c440
Update packages/backend/check_connect.js
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-02-26 20:07:45 +09:00
syuilo a78a839841 refactor 2023-02-26 18:57:24 +09:00
xianon 67ca7ee4ec
ホームタイムラインの読み込みでクエリタイムアウトになるのを修正する (#10106) 2023-02-26 18:54:52 +09:00
syuilo 76f3bdcdf9 update deps 2023-02-26 18:51:45 +09:00
syuilo cc149e2f46 fix(server): エラーのスタックトレースは返さないように
Fix #10064
2023-02-26 17:12:15 +09:00
daima3629 1bdde6bd5c
[Fix] fixed an typo in error message (#10102) 2023-02-26 14:14:57 +09:00
syuilo 2acdd933c0 enhance(client): メニューの「もっと」からインスタンス情報を見れるように 2023-02-26 12:50:34 +09:00
Khsmty 72888b4814
enhance(client): photoswipe 表示時に戻る操作をしても前の画面に戻らないように (#10098)
* enhance(client): photoswipe 表示時に戻る操作をしても前の画面に戻らないように

* add: changelog

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-26 12:25:27 +09:00
syuilo 60342ed3fa enhance(client): improve user menu ux 2023-02-26 11:57:37 +09:00
syuilo 52d86275b6 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-26 11:32:07 +09:00
tamaina 18dbcfa0b0
test(server): add validation test of api:notes/create (#10090)
* fix(server): notes/createのバリデーションが効いていない
Fix #10079

Co-Authored-By: mei23 <m@m544.net>

* anyOf内にバリデーションを書いても最初の一つしかチェックされない

* ✌️

* wip

* wip

* ✌️

* RequiredProp

* Revert "RequiredProp"

This reverts commit 74693900119a590263106fa3adefd008d69ce80c.

* add api:notes/create

* fix lint

* text

* ✌️

* improve readability

---------

Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-26 11:28:05 +09:00
syuilo 991945ea26 Update about-misskey.vue 2023-02-26 11:24:09 +09:00
Soni L dbd9d11d67
Simplify search.vue (remove dead code) (#10088)
* Simplify search.vue

This is already handled by the code above it, no need to handle it twice

* Remove unused imports
2023-02-26 11:14:07 +09:00
Kagami Sascha Rosylight b468330ed9
Merge branch 'develop' into mkusername-empty 2023-02-25 20:04:48 +01:00
Kagami Sascha Rosylight 209d8b4f39
refactor(frontend): fix eslint error (#10084) 2023-02-25 18:27:15 +09:00
syuilo ea04778649 feat: in-channel featured note
Resolve #9938
2023-02-25 18:26:35 +09:00
syuilo 24553eb69a 🎨 2023-02-25 18:03:16 +09:00
syuilo 86eab355c6 🎨 2023-02-25 17:49:54 +09:00
syuilo e7a1046b87 enhance(client): tweak contextmenu position calculation 2023-02-25 13:44:37 +09:00
syuilo a683278fb8 enhance(client): renoteした際の表示を改善
Resolve #10078
2023-02-25 09:44:35 +09:00
syuilo 5bea4feac8 enhance(client): ノートメニューからユーザーメニューを開けるように
Resolve #10019
2023-02-25 09:18:36 +09:00
Khsmty 64be363adc
feat: 2つの検索画面の統合 (#9949) (#10038)
* feat: 検索画面の UI を統一

* fix: エラーの修正

* add: changelog

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-25 09:01:21 +09:00
syuilo 68e53f1526 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-25 08:58:55 +09:00
syuilo dd3a65b52b 🎨 2023-02-25 08:58:51 +09:00