Commit Graph

3520 Commits

Author SHA1 Message Date
syuilo 12456b22c5 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-07-13 16:16:13 +09:00
okayurisotto e35a370af0
refactor(backend): `core/activitypub` (#11247)
* eslint: `explicit-function-return-type`

* eslint: `no-unnecessary-condition`

* eslint: `eslint-disable-next-line`

* eslint: `no-unused-vars`

* eslint: `comma-dangle`

* eslint: `import/order`

* cleanup: unnecessary non-null assertion

* cleanup: `IActivity`に`actor`は常に存在するようなので

* cleanup: unnecessary `as`

* cleanup: unnecessary `Promise.resolve`

* cleanup

* refactor: `String.prototype.match()`である必要がない部分をよりシンプルな書き方に変更

* refactor: よりよい型定義

* refactor: よりよい型定義

- `LdSignature`の`normalize`メソッドでの使われ方から、
	- `data`引数の型定義を`any`から`JsonLdDocument`へ修正
	- `getLoader`メソッドの返り値の型定義の一部を`any`から`RemoteDocument`へ修正
		- `contextUrl`が不正な値(`null`)となっていたことが判明したため`undefined`へ修正
		- `document`の型と合わせるために`CONTEXTS`の型定義の一部を`unknown`から`JsonLd`へ修正
			- とりあえず`satisfies`を使用
		- `document`の型と合わせるために`fetchDocument`メソッドの返り値の型定義の一部を`unknown`から`JsonLd`へ修正
			- どうしようもなく`as`を使用

* refactor: 型ガードを使うことでnon-null assertionをやめた

* refactor: non-null assertionをやめた

`.filter()`で行っている型ガードなどの文脈から、より適しているだろうと思われる書き方に変更した。

* refactor: 型ガードを使うことで`as`をやめた

* refactor: `as`をやめた

* refactor: よりよい型定義

- `id`は`null`とのunionになっていたが、`null`を渡している場面はなかった
	- またおそらくこのメソッドは`IOrderedCollection`を返すため、そちらに合わせて`null`とのunionをやめた
		- `IOrderedCollection`とはまだ型に相違がある
- `totalItems`をコメントや使われ方を元に`number`へ推論

* refactor: `for-of` -> `Array.prototype.map`

* refactor: `delete`演算子を使わない形に
2023-07-13 12:48:34 +09:00
Kagami Sascha Rosylight b6a432fd7b
fix(storybook): solve test failures (#11262)
* fix(locales, storybook): use default import

* fix(storybook): solve test failures

* Update MkAd.stories.impl.ts
2023-07-13 08:41:55 +09:00
Kagami Sascha Rosylight cd9affd568
fix(locales, storybook): use default import (#11259) 2023-07-12 22:27:51 +02:00
Lui b97694b083
fix: typo in custom emojis manager (#11250) 2023-07-12 16:31:48 +09:00
anatawa12 9845ccec5b
オフライン時の画面にリロードボタンを追加 (#11242)
* feat: オフライン時の画面にリロードボタンを追加

リロードのためのボタンがないとPWAでインターネットが復帰しても何もできなくなるため。

* docs(changelog): add オフライン時の画面にリロードボタンを追加
2023-07-11 18:24:10 +09:00
okayurisotto cf3e39178b
refactor(backend): 存在確認の`findOneBy`を`exist`に置き換え (#11224)
* refactor(backend): 存在確認の`findOneBy`を`exist`に置き換え

* cleanup
2023-07-11 14:58:58 +09:00
tamaina 48d3341462 chore(frontend): Remove experimental flag from migration feature 2023-07-11 05:56:56 +00:00
nomad 791ae608a5
fix(backend): fix fetchInstanceMetadata error (#11236) 2023-07-11 14:40:56 +09:00
yupix f4d1fcaf67
feat: ユーザーをcontextmenuからアンテナに追加できるようになど (#11206)
* feat: ユーザーをcontextmenuからアンテナに追加できるように close #11115

* MkAvatars.vue変更

* nanka iroiro

* fix MkAvatars

* ix

* fix

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-07-10 15:55:10 +09:00
Sayamame-beans 239ea39d6f
feat: フォローやお気に入り登録をしていないチャンネルを開く時は概要ページを開くように (#11218)
* feat: フォローやお気に入り登録をしていないチャンネルを開く時は概要ページを開くように

* Update CHANGELOG.md

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-07-10 13:30:41 +09:00
akanevrc 63e21a4ee3
fix(frontend): 画面ビューワをタップした場合、マウスクリックと同様に画像ビューワを閉じるように (#11211)
* fix: change tapAction of photoswipe to 'close'

* doc: update CHANGELOG.md

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-07-10 13:26:05 +09:00
anatawa12 1a096c557e
refactor: fix lint failure (#11214) 2023-07-09 15:46:17 +02:00
eni 53b1684c39
fix(frontend): use system-ui for system font (#11177)
* fix(frontend): correct system font stack

This was originally set to Hiragino Maru Gothic Pro, which is the same as the current default font.

* just use system-ui

per code review https://github.com/misskey-dev/misskey/pull/11177#discussion_r1257260039

---------

Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
2023-07-09 14:24:05 +02:00
yupix 9dd53527ca
feat: プロフィールURLをコピー ボタンを追加 close #11190 (#11205) 2023-07-09 17:20:50 +09:00
Kagami Sascha Rosylight 59046d583d
refactor(locales, sw): use es module (#11204)
* refactor(locales): use es module

* fix sw build

* fix gulp

* try fixing storybook

* Revert "try fixing storybook"

This reverts commit 5f2a4eee016776381a7d80407e28d129c252228f.

* try fixing storybook 2

* Update main.ts

* Update build.js

* Update main.ts

* Update changes.ts

* fix sw lint

* Update build.js
2023-07-09 17:19:07 +09:00
syuilo 6ba9805536 Update about-misskey.vue 2023-07-09 09:47:20 +09:00
Kagami Sascha Rosylight 5059d4d7e1
refactor(backend): skip fetching notes when the data is same-origin (#11200)
* refactor(backend): skip fetching notes when the data is same-origin

* Update CHANGELOG.md

* sentFrom
2023-07-09 08:59:44 +09:00
Kagami Sascha Rosylight 74a05ec739
fix(frontend): fix storybook build (#11203) 2023-07-09 07:06:13 +09:00
Caipira 60366a4558
fix(backend): Remove Meilisearch index when notes are deleted (#10988)
* fix(backend): Include feature to delete Meilisearch index notes

* Update variable name
`cascadingNotesFilter` -> `federatedLocalCascadingNotes`

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-08 21:31:38 +09:00
tamaina 7ec07d5fd2
perf(backend): Reduce memory usage of MemoryKVCache (#11076)
* perf(backend): Reduce memory usage of MemoryKVCache

* fix
2023-07-08 21:18:16 +09:00
SASAGAWA Kiyoshi 246d167c81
fix: add suuport Japanese message of errors. (#11159)
* fix: add suuport Japanese message of errors.

* fix: change catching function.

* lint

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-08 21:10:52 +09:00
Yuriha d2764944cf
Add unit test for FetchInstanceMetadataService (#11173) 2023-07-08 19:34:19 +09:00
syuilo ac6d6fdeb8 enhance(frontend): 引用対象を「もっと見る」で展開した場合、「閉じる」で畳めるように
Resolve #11185
2023-07-08 19:01:47 +09:00
syuilo 6a015341ef fix(frontend): 長い文章を投稿する際、プレビューが画面からはみ出る問題を修正
Fix #11186
2023-07-08 18:55:02 +09:00
yupix 3796da6836
feat: フォルダーやファイルでもIDをコピーできるように (#11189)
* feat: フォルダーやファイルでもIDをコピーできるように close #11188

* docs: update CHANGELOG.md
2023-07-08 18:45:41 +09:00
yupix 36d5deeb61
fix: フォルダーのページネーションが機能しない (#11187)
* fix: フォルダーのページネーションが機能しない close #11180

* Update MkDrive.vue

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-08 17:48:10 +09:00
nomad e40a0b98e4
fix(frontend): search user with trailing space (#11184)
* fix(frontend): search user with trailing space

* fix(backend): search user with trailing space

* Update search.ts

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-08 17:41:52 +09:00
syuilo 081a14d6f3 perf(backend): use limit() instead of take() 2023-07-08 16:53:07 +09:00
syuilo 15683370f0 fix(frontend): ページ遷移でスクロール位置が保持されない問題を修正
Fix #11068
2023-07-08 15:30:36 +09:00
syuilo 644023316e refactor: use esm 2023-07-08 13:03:31 +09:00
syuilo c2d7008cff tweak localization
Resolve #11119
2023-07-08 12:53:51 +09:00
Chocolate Pie bd843863d0
fix: 非ログイン時にクレデンシャルが必要なページに行くとエラーが出る問題を修正 (#10973)
* 非ログイン時にクレデンシャルが必要なページに行くとエラーが出る問題を修正 (misskey-dev/misskey#10922)

* Update CHANGELOG.md

* fix

* Update CHANGELOG.md

* Update CHANGELOG.md
2023-07-08 08:58:35 +09:00
CyberRex 8ec96ad1e0
fix(backend): ジョブキュー再試行時のタイミングずれによるエラーを抑制 (#11035)
* fix(backend): ジョブキュー再試行時のタイミングずれによるエラーを抑制

* fix lint
2023-07-08 08:57:23 +09:00
okayurisotto 4f876c9e8d
refactor(backend): `core/activitypub/models` (#11067)
* cleanup(`ApImageService.ts`)

* refactor(`ApImageService.ts`)

* cleanup(`check-https.ts`)

* cleanup(`ApMentionService.ts`)

* refactor(`ApMentionService.ts`)

* cleanup(`ApNoteService.ts`): unneeded `eslint-disable-next-line`

* cleanup(`ApNoteService.ts`)

* WIP(`ApImageService.ts`): `image.url`を`getApHrefNullable()`に通すかどうか悩んでいる

* refactor(`ApNoteService.ts`): function return type

* cleanup(`ApNoteService.ts`): deadcode

* refactor(`ApNoteService.ts`): `eslint-disable-next-line`

* refactor(`ApNoteService.ts`): non-null assertion

これまでは`getApId()`の方でエラーがスローされていた。

* cleanup(`ApNoteService.ts`): unneeded await

* refactor(`ApNoteService.ts`): note.attachment

- `toArray()`を使うように
- よくわからない条件式を整理
- `as`をなくすために`promiseLimit()`でジェネリクスを使うように

* cleanup(`ApNoteService.ts`)

* refactor(`ApNoteService.ts`): よりよい型定義

`res`が`null`でないことは確認されているようだったので`null`とのunionはなくした

* refactor(`ApNoteService.ts`): 不要な条件を削除

* cleanup(`ApNoteService.ts`)

* cleanup(`ApNoteService.ts`): 重要でない`as`を削除

* refactor(`ApNoteService.ts`): `eslint-disable-next-line`

* cleanup(`ApNoteService.ts`): deadcode

* cleanup(`ApNoteService.ts`): unneeded non-null assertion

* refactor(`ApNoteService.ts`): 不要な条件を削除

* WIP(`ApNoteService.ts`): `as`をなくす

エラーメッセージを考える

* cleanup(`ApNoteService.ts`): 不要な`as`を削除

* cleanup(`ApPersonService.ts`): `no-unused-vars`

* cleanup(`ApPersonService.ts`): deadcode

* refactor(`ApPersonService.ts`): function return type

* cleanup(`ApPersonService.ts`): deadcode

* cleanup(`ApPersonService.ts`): deadcode

* WIP(`ApPersonService.ts`): `as`を調整

`null`でないか確認する処理が続いていたので型アサーションは`null`とのunionにした。
より本質的な改善の余地があるように感じるのでひとまずWIPとしてコミット。

* refactor(`ApPersonService.ts`): `eslint-disable-next-line`

* WIP(`ApPersonService.ts`): `as any`をなくした

エラーをスローするようにせざるを得なかったのでエラーメッセージを考える必要がある。

* WIP(`ApNoteService.ts`): non-null assertion

non-nullアサーションを減らすために事前に存在確認をするようにした。
エラーをスローするようにしたのでメッセージを考えなければならない。

* refactor(`ApNoteService.ts`): non-null assertion -> optional chaining

* refactor(`ApPersonService.ts`): `eslint-disable-next-line`

* refactor(`ApPersonService.ts`): `eslint-disable-next-line`

* refactor(`ApPersonService.ts`): function return type

* refactor(`ApPersonService.ts`): type guardによるnon-null assertionの削除

* WIP(`ApPersonService.ts`): `analyzeAttachments`

- Field型を事前に定義しておくように

- `attachments`が`IObject`だった場合、返り値が`{ fields: [] }`になるようだが構わないのか?
- `toArray()`を通すべきでは?

* Revert "WIP(`ApImageService.ts`): `image.url`を`getApHrefNullable()`に通すかどうか悩んでいる"

This reverts commit aeefb843a8a688f8a356794e8981c58f8a2733af.

* cleanup(`ApImageService.ts`): `import`

* refactor(`ApImageService.ts`): 冗長だった部分を短く

* cleanup(`ApMentionService.ts`): `import`

* refactor(`ApImageService.ts`): `JSON.stringify()`でのindentationを追加

* cleanup(`ApNoteService.ts`): `import`

* cleanup(`ApNoteService.ts`)

* cleanup(`ApNoteService.ts`)

* cleanup(`ApNoteService.ts`)

* cleanup(`ApNoteService.ts`): `any`に対するnon-null assertion

* refactor(`ApNoteService.ts`): 添付ファイル

* cleanup(`ApPersonService.ts`): `import`

* refactor(`ApPersonService.ts`): より実情に即した`as`に

* cleanup(`ApPersonService.ts`)

* refactor(`ApPersonService.ts`): 冗長だった部分を修正

* cleanup(`ApPersonService.ts`): deadcode

* cleanup(`ApPersonService.ts`)

* cleanup(`ApQuestionService.ts`): `import`

* refactor(`ApQuestionService.ts`): `eslint-disable-next-line`

* refactor(`ApQuestionService.ts`): `eslint-disable-next-line`

* cleanup(`ApQuestionService.ts`)

* refactor(`ApQuestionService.ts`): non-null assertionを消した

* cleanup(`ApQuestionService.ts`)

* WIP(`ApQuestionService.ts`): non-null assertionを消す

エラーメッセージを考える必要がある。

* refactor(`ApQuestionService.ts`): `any`を消す

* refactor(`ApQuestionService.ts`): function return type

* WIP(`ApPersonService.ts`): 可読性の低い三項演算子を削除しつつnon-null assertionを回避

エラーメッセージを考える必要がある。

* cleanup(`ApPersonService.ts`): 不必要な三項演算子を削除

* cleanup(`ApPersonService.ts`): 不要な`as`

* cleanup(`ApPersonService.ts`)

* refactor(`ApPersonService.ts`)

* refactor(`ApPersonService.ts`): 可読性の低い三項演算子を削除

元の実装が悪いと判断し`null`かどうかの確認をより厳密に行うようにした。

* cleanup(`ApPersonService.ts`)

* cleanup(`ApPersonService.ts`)

* refactor(`ApPersonService.ts`): 返り値を`void`に統一

この返り値を参照しているコードは見当たらなかった。
また、普通に意味がない値であるように見受けられた。

* fixup! refactor(`ApPersonService.ts`): 返り値を`void`に統一

* refactor(`ApNoteService.ts`)

* refactor(`ApPersonService.ts`)

* cleanup(`ApPersonService.ts`)

* cleanup(`ApPersonService.ts`)

* refactor(`ApPersonService.ts`): 返り値の`void`統一と条件式の調整

この返り値を参照しているコードは見当たらなかった。
また、普通に意味がない値であるように見受けられた。

* cleanup(`ApQuestionService.ts`)

* refactor(`ApQuestionService.ts`)

* refactor(`ApQuestionService.ts`)

* refactor(`tag.ts`): function return type

* fixup! enhance: account migration (#10592)

* fixup! WIP(`ApPersonService.ts`): 可読性の低い三項演算子を削除しつつnon-null assertionを回避

* fixup! cleanup(`ApPersonService.ts`): 不要な`as`

* refactor: エラーメッセージを見繕った

* Revert "cleanup(`ApImageService.ts`): `import`"

This reverts commit 1454d04c377eaf46013b0f3c3ce664a4034fd53a.

* Revert "cleanup(`ApMentionService.ts`): `import`"

This reverts commit 244f6720c134a3434e33c1caf6e3e0c2c87b58f5.

* Revert "cleanup(`ApNoteService.ts`): `import`"

This reverts commit d8f0d769733c4cb0629821b04e557a0ae6f5ff5b.

* Revert "cleanup(`ApPersonService.ts`): `import`"

This reverts commit 5190ef954caf376da46c707f52e02208d53caafd.

# Conflicts:
#	packages/backend/src/core/activitypub/models/ApPersonService.ts

* Revert "cleanup(`ApQuestionService.ts`): `import`"

This reverts commit 778585e2882477fec5f11fabf398b4b89cf26da2.

* processRemoteMoveはそのままにしてほしい

* Revert "fixup! refactor(`ApPersonService.ts`): 返り値を`void`に統一"

This reverts commit 083cd678abcd64325b9628895366c03b893e42ca.

* Revert "refactor(`ApPersonService.ts`): 返り値を`void`に統一"

This reverts commit bfa0fcd6f01a6e519ea0c68017358f9980d2ed96.

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-07-08 08:57:13 +09:00
nenohi 3c6175d959
広告の曜日を設定できるように (#10095)
* 曜日選択できるように

* ラベル選択でもチェックが変更されるように

* adを参照しないといけないかも

* smallint -> integer

* 異物混入だったので取りだし

* タイムゾーン指定(Date2つ使うのなんか違和感

* 未テスト

* これにすると出てこないかも

* UIチョット変更

* UI変更 fix bug

* 畳むように修正

* dayofweek->dayOfWeek

* マイグレ時にnot null,default設定してるのでnullable:falseでよさそう

* コメントの記載

* Update packages/backend/src/server/api/endpoints/meta.ts

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

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-07-08 08:56:11 +09:00
syuilo 1f181536ae use engines 2023-07-08 08:52:51 +09:00
syuilo 383d6a2485 nodeの推奨(デフォルト)バージョンと最小バージョンを分離 2023-07-08 08:50:02 +09:00
syuilo 588465566b 🎨 2023-07-08 08:46:42 +09:00
tamaina b318789354 fix(backend): deliverManyにcontentのnullチェックを追加
https://github.com/MisskeyIO/misskey/pull/99
2023-07-07 23:15:04 +00:00
tamaina 0b8e0fa91b fix 2023-07-07 22:55:53 +00:00
popkirby 8daca59ca6
perf(backend): use mutex for nsfw model loading (#11109)
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-07-08 07:27:26 +09:00
okayurisotto d84796588c
cleanup: trim trailing whitespace (#11136)
* cleanup: trim trailing whitespace

* update(`.editorconfig`)

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-08 07:08:16 +09:00
Yuriha 4c879b3a33
perf(backend): Improve performance of FetchInstanceMetadata (#11128)
* Perf: Avoid retries to acquire lock in fetchInstanceMetadata

* Fix

* Add Changelog

* Fix typo

* Fix lint

* 記法をMisskey式にする

* ????

* refactor
https://github.com/misskey-dev/misskey/pull/11128#pullrequestreview-1518059366

* refactor

* getいらない?

* fix

* fix

* Update CHANGELOG.md

* clean up

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-07-07 23:28:27 +09:00
syuilo eacc90debc fix(client): ZenUIでポップアップの表示位置がおかしい問題を修正 2023-07-07 20:18:06 +09:00
anatawa12 2606167f0d
chore: collapse renote of my note (#11166)
* chore(frontend): 自分のnoteのrenoteも省略するように

Co-authored-by: madorama <madorama999@gmail.com>

* docs(changelog): add 見たことのあるRenoteを省略して表示をオンのときに自分のnoteのrenoteを省略するように

---------

Co-authored-by: madorama <madorama999@gmail.com>
2023-07-07 20:05:11 +09:00
Narazaka bc4d27410c
feat: webp convert @frontend (#11150)
* webp convert @frontend

* 0.85 → 0.90

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-07-07 13:44:31 +09:00
syuilo d5c4e77c44 update deps 2023-07-07 10:53:06 +09:00
Ryoh827 bc61f37faa
refactor(frontend): fix enum types in scripts/form (#11138) 2023-07-06 20:23:54 +09:00
syuilo c065b97140 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-07-06 16:18:09 +09:00
syuilo 0137af892a chore(frontend): tweak photoswipe animation
Resolve #11117
2023-07-06 16:18:06 +09:00
tamaina 06bf5c1ff1 fix(frontend): In MkPagination, init() also initializes items
ユーザーページのノートタブで小タブを変更すると前のタイムラインが残る問題を修正
2023-07-06 06:43:05 +00:00
syuilo 9e955d20c4 🎨 2023-07-06 15:07:51 +09:00
syuilo 165c53a547 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-07-06 15:04:42 +09:00
syuilo 3597da5c49 Update about-misskey.vue 2023-07-06 15:04:39 +09:00
okayurisotto 4a7da723b3
refactor(backend): ノート削除時の`findCascadingNotes`の処理を整理 (#11131)
* refactor(backend): ノート削除時の`findCascadingNotes`の処理を整理

* cleanup: unneeded async await

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

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-06 11:25:46 +09:00
EdamAme d2f8ed95aa
エスケープせずにDescriptionを出力、Update info-card.pug (#11108)
HTMLのタグがエスケープされ、
misskey-hub.netのサーバー一覧で、iframeで読み込む際にタグがそのまま出力される状況が発生していた。
pugにおける仕様に則り、!=に変更、エスケープを行わないように。
2023-07-06 09:42:57 +09:00
Ikko Eltociear Ashimine 6b2c92cb68
chore(backend): fix typo in MkImgWithBlurhash.vue (#11125)
occured -> occurred
2023-07-06 09:19:10 +09:00
anatawa12 dc8763215a
feat(frontend): 画像を動画と同様に簡単に隠せるように (#11127)
* feat: hide image easily

* docs(changelog): add 画像を動画と同様に簡単に隠せるように
2023-07-06 08:49:07 +09:00
okayurisotto 9959f5bd04
refactor(`ApDbResolverService.ts`): URLを扱う複雑な正規表現をURLインターフェイスで置き換え (#11123)
* refactor(`ApDbResolverService.ts`): URLを扱う複雑な正規表現をURLインターフェイスで置き換え

* fixup! refactor(`ApDbResolverService.ts`): URLを扱う複雑な正規表現をURLインターフェイスで置き換え
2023-07-06 08:47:47 +09:00
Kagami Sascha Rosylight ac4245dce1
feat(frontend): allow cropping images on drive (#11092)
* feat(frontend): allow cropping images on drive

* nanka iroiro

* folder

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-07-05 13:54:40 +09:00
anatawa12 1ab9f096c3
feat(frontend): deck UIのカラムからアンテナ、リストの編集画面を開けるように (#11104)
* feat: add edit antenna button onto deck column

* feat: add edit list button onto deck column

* docs(changelog): add deck UIのカラムのメニューからアンテナとリストの編集画面を開けるようになりました
2023-07-05 13:04:27 +09:00
Umisyo(Souta Kusunoki) 8f94b36732
refactor: ApDeliverManagerService.tsの型とJSDocを適切に置き換え (#11096)
* refactor: ApDeliverManagerService.ts のanyを適切な型に置き換え

Signed-off-by: Umisyo <kusunokisouta@gmail.com>

* fix: quote to single quote

Signed-off-by: Umisyo <kusunokisouta@gmail.com>

* refactor: JSDocを実態に合わせて修正

Signed-off-by: Umisyo <kusunokisouta@gmail.com>

* fix: activityのnullを許容するよう変更

Signed-off-by: Umisyo <kusunokisouta@gmail.com>

---------

Signed-off-by: Umisyo <kusunokisouta@gmail.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-07-05 12:17:52 +09:00
tamaina 22227fa641
perf(backend): Use addBulk to add deliver queues (#11114) 2023-07-05 12:15:48 +09:00
tamaina 92d9946f59
enhance(frontend): Better Timeline(MkPagination) Experience (#11066)
* enhance(frontend): Better MkPagination Appearance

* fix

* fix

* 新規投稿が空でも先頭に戻ったらunshiftItemsする

* use Map

* refactor, 型エラー潰し

* refactor
2023-07-05 00:59:37 +09:00
tamaina 526fa8bf3f
perf(frontend): use setInterval instead of setTimeout chain in MkTime (#10981)
* perf(frontend): use setInterval instead of setTimeout chain in MkTime

* fix

* props.origin

* props.origin 2

* fix

* add comment

* setIntervalを再設定する

* refactor
2023-07-04 22:48:39 +09:00
tamaina aa92df4e50 chore(frontend): add comment 2023-07-04 11:21:44 +00:00
riku6460 61e7eb8ff1
perf(backend): JSON.parse の呼び出しを削減する (#11091)
* perf(backend): JSON.parse の呼び出しを削減する

Co-authored-by: Hidekazu Kobayashi <kobahide789@gmail.com>

* Update CHANGELOG.md

---------

Co-authored-by: Hidekazu Kobayashi <kobahide789@gmail.com>
2023-07-04 07:49:13 +09:00
syuilo 84d3a06637 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-07-03 14:35:10 +09:00
syuilo 60cddf87d8 Update MkRetentionLineChart.vue 2023-07-03 14:35:07 +09:00
mappi 6157616b37
fix(frontend): sparkle内にリンクを入れるとクリック不能になる問題の修正 (#11075)
* wip

* Fix 11021
2023-07-03 11:27:56 +09:00
syuilo af3258dc79 perf(backend): make some features optionable
Resolve #11064
Resolve #11065
2023-07-02 16:02:32 +09:00
tamaina 734c41aba5
perf(frontend): MkImgWithBlurhashでblurhash描画に使うcanvasは再利用するようにする (#10966)
* blurhashを描画するためのcanvasは再利用する

* Revert "perf(frontend): WebGL contextの数を減らす"

This reverts commit aeb8955ca2.

* MkAvatarは平均色だけにする

* clean up

* fix
2023-07-02 13:46:49 +09:00
syuilo a1327fa9e1 perf(backend): allow get for some endpoints 2023-07-02 08:28:26 +09:00
Kagami Sascha Rosylight 1b1f82a2e2
feat(backend): accept OAuth bearer token (#11052)
* feat(backend): accept OAuth bearer token

* refactor

* Update packages/backend/src/server/api/ApiCallService.ts

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

* Update packages/backend/src/server/api/ApiCallService.ts

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

* fix

* kind: permission for account moved error

* also for suspended error

* Update packages/backend/src/server/api/StreamingApiServerService.ts

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

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-06-28 13:37:13 +09:00
Kagami Sascha Rosylight d48172e9d1
refactor(backend/test): add `interface UserToken` (#11050) 2023-06-27 08:07:20 +09:00
Yuriha 58a898dfe0
Fix offscreencanvas undefined (#11017)
* Suppress ReferenceError on some environments (i.e. older iOS)

* fix

* fix

* lint

* adopt suggestion by acid-chicken
2023-06-26 10:45:14 +09:00
Kagami Sascha Rosylight d23ad8b511
fix(backend): APIエラーのHTTP status code変更 (#11047) 2023-06-26 10:09:12 +09:00
syuilo 8099bc24e1
refactor(backend): use node16 for moduleResolution (#10938)
* refactor(backend): use node16 for moduleResolution

* update deps

* Update tsconfig.json

* ✌️

* revive KEYWORD

* restore strict-event-emitter-types dependency

* restore ms dependency

* cancel redundant import reorder

* fix

* Delete ms.ts

* remove rndstr

---------

Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
2023-06-25 21:13:15 +09:00
Kagami Sascha Rosylight ef354e94f2
refactor(backend): replace rndstr with secureRndstr (#11044)
* refactor(backend): replace rndstr with secureRndstr

* Update pnpm-lock.yaml

* .js
2023-06-25 11:04:33 +09:00
Kagami Sascha Rosylight 7bb8c71543
chore(backend, misskey-js): add type for signup (#11043)
* chore(backend, misskey-js): add type for signup

* rerun
2023-06-25 08:34:18 +09:00
Kagami Sascha Rosylight a2c0573f84
refactor(backend): replace private-ip with ipaddr.js (#11041)
* refactor(backend): replace private-ip with ipaddr.js

* restore ip-cidr
2023-06-25 06:35:09 +09:00
Kagami Sascha Rosylight 5d922e3084 chore(frontend): use @vitest/coverage-v8 2023-06-24 15:20:15 +02:00
Kagami Sascha Rosylight f0b5860b9c
chore(misskey-js): fix invalid version string format 2023-06-24 14:20:28 +02:00
syuilo fd4c43786a chore(dev): use buraha via npm 2023-06-24 18:22:53 +09:00
syuilo 60cc7f62e6 update deps 2023-06-24 13:11:53 +09:00
syuilo dc27ba6f03 enhance(frontend): improve ux of deck scroll
Resolve #11007
2023-06-24 12:58:26 +09:00
syuilo 3fe1c862f6 update misskey-js version 2023-06-24 12:46:30 +09:00
Yuriha 33a2c0b59e
Make role tag clickable on user pages (#11019) 2023-06-24 07:51:44 +09:00
Caipira e8c5117b2d
fix(backend): Resolve missing parseObjectId in IdService (#11039) 2023-06-23 16:30:47 +09:00
Balazs Nadasdi e2261b63e9
fix: clear queue endpoint error with redis script (#11037)
Error message:
```
ReplyError: ERR value is not an integer or out of range script: 720d973b3877f92b4fb3285ced83c97cdd204979, on @user_script:209.
```

The whole error can be tracked back to one of the arguments, which is
`Infinity` in the codebase, but it has to be a number.

The documentation in bullmq says `0` is unlimited[^1], and bullmq tries to
parse the argument with `tonumber` which returns with `-9223372036854775808` if
the argument is `"Infinity"` which is out of bound.

```
127.0.0.1:6379> eval 'return tonumber(ARGV[3])' '2' 'slippy.xyz:queue:inbox:inbox:delayed' 'slippy.xyz:queue:inbox:inbox:events' 'slippy.xyz:queue:inbox:inbox:' '1687183763944' Infinity 'delayed'
(integer) -9223372036854775808
127.0.0.1:6379>
```

[^1]: https://github.com/taskforcesh/bullmq/blob/master/src/commands/cleanJobsInSet-2.lua#L10

Signed-off-by: Efertone <efertone@pm.me>
2023-06-22 15:56:40 +09:00
NoriDev 8c7bcdf998
fix(client): サーバーメトリクスが90度傾いている (#11012) 2023-06-17 13:54:54 +09:00
syuilo f5dfb64a52 ユーザー統計表示機能を削除
Resolve #10998
2023-06-13 14:13:33 +09:00
syuilo fa7fd9ce25 fix image of MkError.vue 2023-06-11 15:38:06 +09:00
syuilo 94c09f1441 🎨 2023-06-11 09:53:07 +09:00
syuilo 46222d0258 tweak of f3a16bcd6 2023-06-10 17:41:52 +09:00
nenohi f3a16bcd6d
ロールのユーザーリストを非公開にできるように (#10987)
* ロールのユーザーリストを非公開にできるように

* Changelog update
2023-06-10 17:26:48 +09:00
syuilo f69627939b Update misskey-js.api.md 2023-06-10 13:45:30 +09:00
syuilo e8420ad90b fix(backend): キャッシュが溜まり続けないように
Related #10984
2023-06-10 13:45:11 +09:00
syuilo 6182a1cb2c enhance(backend): WebSocketのPing/Pongをプロトコル制御フレームの物で判別する
Resolve #10969
2023-06-09 17:07:57 +09:00
syuilo 308ab8f177 chore 2023-06-09 16:11:28 +09:00
syuilo dd733ec1d0 enhance(frontend): サーバーのテーマ設定を別ページに分離 2023-06-09 15:53:40 +09:00
atsuchan 0465e74521
Fix: enhance: タイムラインにフォロイーの行った他人へのリプライを含めるかどうかの設定をアカウントに保存するのをやめるように (#10982) 2023-06-09 14:08:35 +09:00
Ebise Lutica 34a32a8334
エラー画像URLを設定可能に (#10959)
* エラー画像URLを設定可能に

* Update CHANGELOG.md

* 設定したエラーアイコンをprefetchするようにbase.pugを変更

* 不足していたデータを追加

* enhance(frontend): デザイン調整
2023-06-09 14:00:53 +09:00
syuilo 3941c73db0 tweak of 6032c2be1 2023-06-09 12:55:27 +09:00
syuilo 703f3a8e37 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-06-09 12:51:19 +09:00
syuilo 6032c2be1c fix(frontend): Scrolling Issue in Safari for Top and Bottom Bars
fix #10977
2023-06-09 12:51:16 +09:00
syuilo 13870c63b0 add note 2023-06-09 12:47:36 +09:00
Outvi V 95b2148bfe
fix: correctly check the sensitivity flag (#10976) 2023-06-09 10:13:46 +09:00
syuilo 8ccf954065 Update misskey-js.api.md 2023-06-06 09:37:36 +09:00
syuilo 29856a9129 tweak of 981e6f996 2023-06-06 09:16:38 +09:00
syuilo aeb8955ca2 perf(frontend): WebGL contextの数を減らす
#10960
2023-06-06 09:09:23 +09:00
syuilo 981e6f996e fix(frontend): タブがアクティブな間はstreamが切断されないように
Fix #10952
2023-06-06 09:04:57 +09:00
CaffeeLake 8263cc0094
Fix: #10955 TypeError: JSON5.parse is not a function (#10956)
* Fix: JSON5.parse is not a function

* update changelog

* update chglog

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-06-05 21:44:28 +09:00
Yuriha 2d5bb40ad0
Condensedlines reflow once (#10944)
* perf: Update MkCondensedLine styles after reading all dimensions

* perf: reduce reflow in MkCondensedLine

* lint

* Update packages/frontend/src/components/global/MkCondensedLine.vue

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

* Update packages/frontend/src/components/global/MkCondensedLine.vue

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

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-06-05 18:06:33 +09:00
tamaina 565c502bbf fix(backend): pageのピン留めを解除することができない問題を修正
Fix #10950
2023-06-05 09:04:30 +00:00
tamaina 9e716fd813 fix(frontend): MkUserPopupが省略されないのを修正
Fix #10870
2023-06-05 08:58:00 +00:00
syuilo 0cb3c7481c fix typo: schema -> scheme 2023-06-05 10:55:18 +09:00
syuilo 1177528c25 fix backend e2e 2023-06-04 14:03:46 +09:00
mappi a7abf941c0
fix:vue-plyr廃止追加対応(Audio要素のコンテキストメニューをブラウザデフォルトに) (#10940)
* wip

* add comment

* fix quotes
2023-06-02 16:31:25 +09:00
syuilo 5230ec883e fix(backend): 7日経過して無効化されたアンテナを再度有効化する方法がない問題を修正
Fix #10476
2023-06-02 15:18:34 +09:00
syuilo 482b00df77 🎨 2023-06-02 14:13:36 +09:00
syuilo 91d790bbb6 update deps 2023-06-02 11:34:38 +09:00
syuilo 40295ae57d fix style
Fix #10870
2023-06-02 11:03:59 +09:00
syuilo 9eaca966a4 perf(backend): terminate stalled websocket connections
Resolve #10885
2023-06-02 09:13:41 +09:00
Acid Chicken (硫酸鶏) 8bdf0dd135
test: ignore `MkImgWithBlurhash` to avoid unstable snapshots 2023-06-01 23:27:58 +09:00
tamaina eedc8049db fix(frontend): make scrollbar-color track transparent
Fix #9414
2023-06-01 12:03:07 +00:00
syuilo 23f272cc7d [ci skip] update patrons 2023-06-01 19:55:33 +09:00
syuilo 15450b18e8 [ci skip] make enableCondensedLineForAcct false by default
for performance
2023-06-01 19:50:51 +09:00
syuilo 50aeaf7498 [ci skip] 🎨 2023-06-01 19:45:06 +09:00
syuilo 861bfa06a8 🎨 2023-06-01 18:07:30 +09:00
Acid Chicken (硫酸鶏) 3b30ee3130
test: fix vitest 2023-06-01 08:50:26 +00:00
syuilo f6830885d7 tweak of cd8274888 2023-06-01 17:34:56 +09:00
Acid Chicken (硫酸鶏) 337dd97b49
perf(#10923): CSS Modules のクラス名をインライン化する (#10930)
* perf(#10923): unwind css module class name

* perf(#10923): support multiple components

* refactor: clean up

* refactor(#10923): avoid `useCssModule()`

* fix(#10923): allow direct literal class name

* fix(#10923): avoid computed class name

* fix(#10923): allow literal keys

* fix(#10923): typo

* fix(#10923): invalid class names

* chore: test

* revert: test

This reverts commit 5c7ef366eceebe8ba260efa4d5d675f6c1775c45.

* fix(#10923): hidden tale

* perf(#10923): also unwind scoped css contained components

* perf(#10923): `normalizeClass` AOT compilation

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-06-01 17:19:46 +09:00
syuilo cd82748889 enhance(frontend): 追加の絵文字用辞書をダウンロードできるように
Resolve #10921
2023-06-01 17:10:53 +09:00
syuilo 2c0b10b0ee refactor 2023-06-01 16:28:24 +09:00
syuilo 6c09361ec6 🎨 2023-06-01 13:50:13 +09:00
SASAGAWA Kiyoshi 3089a86c8e
fix: テーマにプロパティ 'fgOnWhite' を追加してフォローボタンのスタイルを調整 (#10931)
* fix: add theme property 'fgOnWhite' and fix styles of follow button.

* fix: add theme property 'fgOnWhite' and fix styles of follow button.
2023-06-01 13:29:44 +09:00
syuilo ec2f05d4f7 fix(backend): i/notificationsのsinceIdが機能しない問題を修正
Fix #10902
2023-06-01 13:28:43 +09:00
syuilo a4de927df8 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-06-01 09:20:39 +09:00
syuilo a2c77a0944 Update style.scss 2023-06-01 09:20:37 +09:00
syuilo d8a564c6a0 🎨 2023-06-01 08:54:37 +09:00
syuilo ff94b64c91
🎨 2023-06-01 07:51:02 +09:00
tamaina 1cc616b86c fix(frontend): disconnect ResizeObserver 2023-05-31 16:04:01 +00:00
syuilo 6addf9002c tweak ui 2023-05-31 18:03:43 +09:00
mappi 6dd219b6c7
fix: Firefoxにおける絵文字ピッカーのTabキーフォーカス問題の修正 (#10926)
* fix 10744

* fix 10744

* Update CHANGELOG.md

* add comment
2023-05-31 14:03:54 +09:00
syuilo 9521519cb8 reafactor 2023-05-31 13:41:38 +09:00
syuilo e11f82c300 refactor 2023-05-31 13:27:59 +09:00
kabo2468 aba0755880
enhance(client): MFMのx2, scale, positionが含まれていたらノートをたたむようにした (#10165)
* enhance(client): MFMのx2, scale, positionが含まれていたらノートをたたむようにした

* Update CHANGELOG.md

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-05-31 12:57:40 +09:00
syuilo 821bb1c476 perf(frontend): サーバーにカスタム絵文字の種類が多い場合のパフォーマンスの改善
Resolve #10925
2023-05-31 12:42:24 +09:00
syuilo 14da0a65f7 tweak ui 2023-05-31 12:24:00 +09:00
tamaina f8f3304164 fix(frontend/MkNoteDetailed): fix css module 2023-05-30 16:24:45 +00:00
syuilo d7efdd7123 perf(frontend): minify file names
Resolve #10924
2023-05-30 18:55:22 +09:00
syuilo f2d9e3105d fix(frontend): Pagesのコンテンツが表示されない・作成や編集ができない問題を修正
Fix #10908
2023-05-30 17:37:38 +09:00
syuilo a6cd97ca9a fix(backend): 「アクセストークンの管理」画面でアプリの情報が表示されない問題を修正
Fix #10920
2023-05-30 17:27:47 +09:00
syuilo a4a171781b
clean up 2023-05-30 15:23:21 +09:00
syuilo 8e8e3dbe4e refactor 2023-05-30 15:18:08 +09:00
syuilo de71845b35 🎨 2023-05-30 14:38:13 +09:00
syuilo a3a47b8d35 🎨 2023-05-30 14:34:55 +09:00
syuilo f091007882 refactor 2023-05-30 12:16:39 +09:00
syuilo 8f14b42e81 perf: インスタンスデフォルトテーマを予めjson5 -> jsonに変換しておくことでjson5を初期バンドルに含めずに済むように 2023-05-30 11:51:29 +09:00
syuilo 8b33a70fc4 vue-plyrやめるなど
- 問題点が多い
- バンドルサイズ削減
2023-05-30 11:32:29 +09:00
syuilo dc031b1d07 perf(frontend): emojilistのサイズ削減 2023-05-30 11:18:40 +09:00
syuilo 0a2ac58b82 refactor 2023-05-30 10:20:06 +09:00
syuilo 101e8d7adb refactor 2023-05-29 20:05:46 +09:00
syuilo 19b96ff650 refactor 2023-05-29 19:56:17 +09:00
syuilo bd66a3f148 🎨 2023-05-29 19:37:03 +09:00
syuilo 7f235275c9 🎨 2023-05-29 19:35:11 +09:00
syuilo 3097bb6c7d refactor 2023-05-29 18:22:15 +09:00
syuilo 115167e6da update deps 2023-05-29 17:52:55 +09:00
syuilo a1200ad886 lint 2023-05-29 17:24:46 +09:00
syuilo 25d1b66ca4 refactor 2023-05-29 17:22:09 +09:00
syuilo c5f9b1c224 lint 2023-05-29 17:13:45 +09:00
syuilo 8c66fad96b lint 2023-05-29 17:13:12 +09:00
syuilo f930eaee02
perf(backend): use websockets/ws instead of theturtle32/WebSocket-Node (#10884)
* perf(backend): use websockets/ws instead of theturtle32/WebSocket-Node

Resolve #10883

* refactor

* Update StreamingApiServerService.ts

* Update StreamingApiServerService.ts

* ✌️

* Update StreamingApiServerService.ts

* fix main stream init

* fix timing 2

* setIntervalの重複を避ける(気休め)

* add comment

* ✌️

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-05-29 13:32:19 +09:00
syuilo b35b9bc27f Update QueueProcessorService.ts 2023-05-29 13:30:57 +09:00
syuilo 4790ddfad6 refactor of QueueProcessorService 2023-05-29 13:30:26 +09:00
syuilo b6f21b6edb refactor 2023-05-29 13:21:26 +09:00
syuilo fd7b77c542
enhance(backend): migrate bull to bullmq (#10910)
* wip

* wip

* Update QueueService.ts

* wip

* refactor

* ✌️

* fix

* Update QueueStatsService.ts

* refactor

* Update ApNoteService.ts

* Update mock-resolver.ts

* refactor

* Update mock-resolver.ts
2023-05-29 11:54:49 +09:00
tamaina a80003cde5
fix(frontend): Zen UIで、デッキ設定で直接/以外を表示したときデッキに戻るボタンを表示 (#10909)
* fix(frontend): デッキ設定で直接/以外を表示したときのZen UIでデッキに戻るボタン

* fix style

* ?zenが指定されていた場合はボタンを表示しない
2023-05-28 20:58:39 +09:00
syuilo fb54c58a66 🎨 2023-05-27 12:09:19 +09:00
syuilo 3a924f3dc6 refactor 2023-05-27 11:44:04 +09:00
syuilo 11d22c7b73 refactor 2023-05-27 11:38:08 +09:00
syuilo a879607479 refactor 2023-05-27 11:35:26 +09:00
Chocolate Pie 98aef974df
enhance: ハッシュタグのノート一覧ページから、そのハッシュタグで投稿するボタンを追加、お知らせの画像URLを空にできない問題を修正 (#10878)
* fix: お知らせの画像URLを空にできない問題を修正 (misskey-dev/misskey#10657)

* ハッシュタグのノート一覧ページからノートできるように(misskey-dev/misskey#10854)

* fix: 色々直した

* location.reloadを使わないように

* CHANGELOGを編集

* tweak

* Update tag.vue

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-26 14:47:31 +09:00
NoriDev cf46816687
feat: アカウント初期設定ウィザードに戻るボタンと、後で進むボタンを追加 (#10893)
* enhance(frontend): アカウント初期設定ウィザードに戻るボタンを追加

* enhance(frontend): アカウント初期設定ウィザードにあとでボタンを追加

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-26 14:40:44 +09:00
tamaina eee1e74174 shareページに"Misskeyへ"ボタンを設置
Resolve #10898
2023-05-26 05:18:01 +00:00
tamaina 8050f89d7e Revert "fix(client): /shareをsubBootPathsから外す"
This reverts commit 406e5d297b.
2023-05-26 05:06:52 +00:00
tamaina 406e5d297b fix(client): /shareをsubBootPathsから外す
Resolve #10898
2023-05-26 04:34:34 +00:00
syuilo 10634b3615 refactor 2023-05-26 13:32:42 +09:00
syuilo fd03e2e1a7 🎨 2023-05-26 13:30:26 +09:00
syuilo 6cc86272f3 🎨 2023-05-26 13:24:31 +09:00
syuilo 06b1250d47 🎨 2023-05-26 11:31:39 +09:00
syuilo 31a7350a10 🎨 2023-05-26 10:48:49 +09:00
tamaina 4129ac157a package.jsonの並び替えを修正 2023-05-25 14:50:14 +00:00
syuilo 30cb791e93 enhance(frontend): フォロー/フォロー解除したときに自動でTLをリロードするのをやめるように
- 不便に感じる場合が多いように思う
- 将来的にTLがpush型になったら無意味になる
2023-05-25 08:17:09 +09:00
syuilo 1c57983bfd refactor 2023-05-24 17:50:15 +09:00
syuilo bdf08c8a54 refactor 2023-05-24 17:33:31 +09:00
syuilo 0513ff8b4e refactor 2023-05-24 17:29:58 +09:00
Acid Chicken (硫酸鶏) 62fe3bfb54
refactor(#7598): add i18n dynamic typings (#10882)
* refactor: add i18n dynamic typings

* chore: tweak
2023-05-24 17:12:38 +09:00
syuilo 38a1d6693a 🎨 2023-05-24 14:43:53 +09:00
syuilo d2eec3a9e4 refactor 2023-05-24 14:34:46 +09:00
syuilo 1de774fa3d update deps 2023-05-24 10:16:42 +09:00
syuilo ed902658a9 refactor 2023-05-24 09:59:30 +09:00
Caipira acdcd7c623
enhance(frontend): improve signup complete ui (#10876)
* enhance(frontend): improve signup complete ui

* relocation

* tweak

* Update _boot_.ts

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-24 09:43:38 +09:00
syuilo 38e6f3f776 🎨 2023-05-20 12:32:51 +09:00
Acid Chicken (硫酸鶏) 915ed39715
feat: support summary_large_image (#10862)
* feat: use summary_large_image

* chore: add video

* chore: ignore sensitive image on note
2023-05-20 10:35:23 +09:00
Acid Chicken (硫酸鶏) 81fd94e635
chore: update slacc (#10867)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-20 10:34:31 +09:00
syuilo 05507a4bea enhance(frontend): Deck UIを使用している場合、`/`以外にアクセスした際にZen UIで表示するように
Resolve #10871
2023-05-20 10:31:53 +09:00
syuilo d177f97928 refactor 2023-05-20 10:12:18 +09:00
syuilo 30cb03a40d Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-05-20 10:05:39 +09:00
syuilo c685989e67 refactor 2023-05-20 10:05:35 +09:00
Acid Chicken (硫酸鶏) ee3f408c7d
feat: impl IdlingRenderScheduler (#10547)
* feat: impl IdleRender

* test: pin time on Chromatic

* test: pin time on Chromatic

* fix: typo

* style: rename

* style: rename

* chore: back to setTimeout

* style: linebreak

* refactor: remove unused budget option

* refactor: use raw unix time

* fix: conflict error

* fix: floor

* fix: subtract

* Revert "fix: subtract"

This reverts commit 2ef4afaafc69d2fb8329b04c1b124dfa97b7e863.

* Revert "fix: floor"

This reverts commit bef8ecdf45c6afc52138921d16e2caca78cfd38d.

* Revert "refactor: use raw unix time"

This reverts commit 5199e13cb2829f3036101f95445cca3cb9c83703.
2023-05-20 03:38:07 +09:00
Nanashia 15db0b8812
test(backend): Add tests for antennas (#10868) 2023-05-19 20:53:20 +09:00
syuilo 1b78c6a309 refactor 2023-05-19 20:52:15 +09:00
syuilo c713af8e23 refactor 2023-05-19 18:16:26 +09:00
nenohi bd6666173a
fix:ロールタイムライン無効に関する修正 (#10843)
* 修正

* note visibility change

* public投稿のみ

* update changelog

* RN非表示機能がうごかないところだった
2023-05-19 17:12:22 +09:00
syuilo acd5e0b8f6 update deps 2023-05-19 16:34:56 +09:00
syuilo be2142bb13 refactor 2023-05-19 16:30:39 +09:00
syuilo 4a703d7cf6 refactor 2023-05-19 16:25:48 +09:00
syuilo 95470a40a7 refactor 2023-05-19 16:20:53 +09:00
syuilo 56d4658b36 refactor(frontend): use css module 2023-05-19 14:08:51 +09:00
syuilo f68008b002 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-05-19 13:58:33 +09:00
syuilo 6a5ef5b6f2 refactor 2023-05-19 13:58:09 +09:00
syuilo 95b9284e79 🎨 2023-05-19 13:35:46 +09:00
まっぴー 8317772436
fix:Firefoxでサインアップする時、メールアドレスがユーザー名として認識される#10523 (#10869)
* fix:Firefoxでサインアップする時、メールアドレスがユーザー名として認識される

* Update CHANGELOG.md

edit CHANGELOG.md
2023-05-19 11:35:46 +09:00
Chocolate Pie dddbc1c894
feat: 公開リスト (#10842)
* feat: まず公開できるように (misskey-dev/misskey#10447)

* feat: 公開したリストのページを作成 (misskey-dev/misskey#10447)

* feat: いいねできるように

* feat: インポートに対応

* wip

* wip

* CHANGELOGを編集

* add note

* refactor

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-19 10:06:12 +09:00
tamaina 59255e11b8
perf: MkImgWithBlurhashとMkMediaImageを最適化 (#10782)
* #10781

* fix tsconfig

* fetch image??

* Revert "fetch image??"

This reverts commit 0925c28d5a4f328264c39d5591dc736795541683.

* wip

* Revert "wip"

This reverts commit be97c6cb88318bcea441edeeecb69b6d6ed0dd8f.

* loading="eager"

* loading="eager" 2

* error

* wip

* wip

* wip

* wip

* clean up

* fix

* 生成するworkerを1つにする?

* clean up

* use buraha

* wip

* smaller width, height

* update buraha

* clean up

* fix

* Update MkMediaImage.vue

* Update MkImgWithBlurhash.vue

* Revert "fix(frontend): センシティブ設定された画像を開くとき一瞬レイアウトが崩れる問題を修正"

This reverts commit 41e9aa6f9b.

* Update MkMediaList.vue

* Update MkMediaList.vue

* Update MkMediaList.vue

* Update CHANGELOG.md

* wait for decode

* fix

* ?

* (test) remove container-type: inline-size;

* Revert "(test) remove container-type: inline-size;"

This reverts commit 9448e64228428175a3d624c04df1bfad0f59cb69.

* container-name

* Revert "container-name"

This reverts commit 94385d32213a00a06a59fbd2296d6ef1b5f91785.

* width: 100%;

* improve performance

* refactor

* wip

* WIP

* wip

* Revert "wip"

This reverts commit 36e3b75cab8114e423544b79a8e2df353880f43b.

* Revert "WIP"

This reverts commit 05b729ef9189aea052ba411ac10f30a46cc668c8.

* Revert "wip"

This reverts commit 0801e7936116c58154d7cecfea955dd15fa61a77.

* #10860

* wip

* no worker

* Revert "no worker"

This reverts commit a9c49e4fb49976958a7594393343d52be0e082d7.

* ✌️

* workerNumber固定は不要

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-19 09:44:06 +09:00
syuilo 3804c6e7ad feat: センシティブなカスタム絵文字のリアクションを受け入れない設定を追加 2023-05-19 09:43:38 +09:00
syuilo 527a13b77d enhance(frontend): リアクションの取り消し/変更時に確認ダイアログを出すように 2023-05-19 09:15:24 +09:00
syuilo a3423bad60 tweak 2023-05-19 09:14:54 +09:00
syuilo 231506772a tweak of 7ce569424 2023-05-18 20:17:32 +09:00
syuilo db1098a180 feat(backend): カスタム絵文字ごとに連合するかどうか設定できるように 2023-05-18 18:48:35 +09:00
syuilo 7ce569424a feat: カスタム絵文字ごとにそれをリアクションとして使えるロールを設定できるように 2023-05-18 18:45:49 +09:00
syuilo 9b5b3a4d1b perf(backend): pre-compile regexp 2023-05-18 18:18:25 +09:00
tamaina dd60f1a533 fix(frontend/MkUrlPreview): summalyがエラーになった際の挙動を修正 2023-05-17 20:00:28 +00:00
Acid Chicken (硫酸鶏) 45263f4cd0
ci: stop MkGalleryPostPreview snapshot 2023-05-17 07:51:45 +00:00
syuilo e707aadbcc update deps 2023-05-17 14:11:32 +09:00
syuilo 7b012967d9 refactor(frontend): MFMコンポーネントのリファクタ & パフォーマンスを改善 2023-05-17 11:50:37 +09:00
syuilo e126083e10 fix(frontend): コンポーネントのpropを非lowerCamelCaseで渡すと機能しない 2023-05-17 11:42:50 +09:00
syuilo cbca48846c fix streamin error 2023-05-17 11:10:31 +09:00
syuilo ca2ed0a59b 🎨 2023-05-17 11:08:46 +09:00
syuilo 5d22e113b2 🎨 2023-05-17 10:52:22 +09:00
syuilo ed3c137543 Revert "refactor: define _IS_CHROMATIC_"
This reverts commit a35f0d43e4.
2023-05-16 19:37:15 +09:00
syuilo a35f0d43e4 refactor: define _IS_CHROMATIC_ 2023-05-16 19:24:10 +09:00
syuilo 153eed7d71 fix(frontend/test): MkAnimBgで毎回Chromaticの差分が生成されないように 2023-05-16 18:41:34 +09:00
nenohi 0d8e1c5421
channel favoriteの位置修正 (#10855) 2023-05-16 12:28:59 +09:00
syuilo d10d5a8d53 enhance: タイムラインにフォロイーの行った他人へのリプライを含めるかどうかの設定をアカウントに保存するのをやめるように
Resolve #10646
2023-05-16 12:16:37 +09:00
syuilo 23f106a0c1 refactor(frontend): boot分割したり副作用減らしたりとか
#10838
2023-05-15 19:08:46 +09:00
syuilo a7ee4aabcb chore(frontend): 設定画面を整理 2023-05-15 16:40:19 +09:00
syuilo d867fc00b6 clean up 2023-05-15 16:25:44 +09:00
syuilo 60f504bbe2 fix(frontend): ツールチップが永久にDOMに残ることがある問題を修正
#10805
2023-05-15 14:29:35 +09:00
syuilo f4e6d73a8a refactor 2023-05-15 13:57:36 +09:00
syuilo c066013c57 fix #10850 ? 2023-05-15 11:03:18 +09:00
syuilo 86f952e659 fix #10850 ? 2023-05-14 20:32:08 +09:00
syuilo 93629fb29d upgrade aiscript to 0.13.3 2023-05-14 20:08:32 +09:00
syuilo 9ff088a830 ✌️ 2023-05-14 17:55:39 +09:00
syuilo 55190e6b8b Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-05-14 13:23:28 +09:00
syuilo 38391010af Revert "make __VUE_OPTIONS_API__ false"
This reverts commit 636428c72e.
2023-05-14 13:23:25 +09:00
syuilo 3d94dec7a9
Merge pull request #10847 from yupix/feat/client-dev-mode
feat: 開発者モードを追加
2023-05-14 13:02:48 +09:00
syuilo 636428c72e make __VUE_OPTIONS_API__ false 2023-05-14 12:24:21 +09:00
syuilo 0717afc312 refactor(frontend): use composition api 2023-05-14 12:23:39 +09:00
syuilo 3d4a90b08a refactor(frontend): use composition api 2023-05-14 11:43:56 +09:00
yupix 7cc555fd28
Merge branch 'misskey-dev:develop' into feat/client-dev-mode 2023-05-14 10:56:40 +09:00
syuilo 238d0fa667 refactor 2023-05-14 10:50:21 +09:00
yupix 30ff4592cc
Merge branch 'misskey-dev:develop' into feat/client-dev-mode 2023-05-14 10:38:52 +09:00
syuilo a979fb9207 change(frontend): 動的ページのコンポーネントを削除 2023-05-14 10:31:48 +09:00
yupix f15f60d5b9
feat: 開発者モードを追加 2023-05-14 01:30:46 +00:00
syuilo 8c97c54cfa refactor(frontend): use css modules 2023-05-14 10:21:56 +09:00
syuilo 89a3195dfd 🎨 2023-05-14 09:54:35 +09:00
syuilo 1eaf287b9c 🎨 2023-05-14 09:44:57 +09:00
syuilo 9166a58c5f 🎨 2023-05-13 20:50:21 +09:00
syuilo eef368abd0 Update about-misskey.vue 2023-05-13 20:50:16 +09:00
syuilo f983e44d9e fix(frontend): fix retention rate heatmap rendering 2023-05-12 12:15:54 +09:00
syuilo 5be6438bbc update deps 2023-05-12 12:10:56 +09:00
syuilo d2e6b17a26 fix(frontend): Pageにおいて画像ブロックに画像を設定できない問題を修正
Fix #10837
2023-05-12 11:47:12 +09:00
syuilo d1c2e4aaa0 refactor 2023-05-12 11:46:13 +09:00
syuilo 6f1994c665 update deps 2023-05-12 11:41:53 +09:00
syuilo 055dc6bb66 enhance(frontend): add retention line chart 2023-05-12 10:29:27 +09:00
syuilo f06339b970 🎨 2023-05-12 08:26:06 +09:00
syuilo 3370419b0a 🎨 2023-05-12 08:20:36 +09:00
Acid Chicken (硫酸鶏) cbb779f60c
ci: skip non-Japanese locale on TurboSnap 2023-05-11 22:06:13 +09:00
syuilo 8ddae83c40
fix MkUserSetupDialog.Privacy.vue 2023-05-11 21:24:27 +09:00
syuilo 1cc106b8de fix(backend): ひとつのMeilisearchサーバーを複数のMisskeyサーバーで使えない問題を修正 2023-05-11 21:09:29 +09:00
syuilo 2b26a2f5e4 enhance(frontend): アカウント初期設定ウィザードにプライバシー設定を追加 2023-05-11 20:54:47 +09:00
syuilo e18feb4183 Update about-misskey.vue 2023-05-11 18:22:38 +09:00
syuilo 9e464eaa63 fix(frontend): fix retention chart rendering 2023-05-11 18:20:48 +09:00
syuilo 8b352e4e56 feat(frontend): ユーザー指定ノート検索 2023-05-11 18:10:34 +09:00
syuilo 26d85c8bed enhance(backend): ノートのハッシュタグもMeilisearchに突っ込むように
今後ハッシュタグ検索とか実装するときのため
2023-05-11 16:33:39 +09:00
syuilo df924d18f1 fix(frontend): チャンネル内の検索ボックスが挙動不審な問題を修正
Fix #10793
2023-05-11 16:29:34 +09:00
syuilo 177359689e fix(frontend): カラーバーがリプライには表示されないのを修正 2023-05-11 16:26:35 +09:00
syuilo b380dc53e1 fix typo 2023-05-11 16:22:46 +09:00
syuilo 8c30ca50a8 fix(frontend): より明確な説明にしたのとtypo修正 2023-05-11 16:20:03 +09:00
nenohi c15b75e477
センシティブワードを正規表現、CWにも適用するように (#10688)
* cwにセンシティブが効いてない

* CWが無いときにTextを見るように

* 比較演算子間違えた

* とりあえずチェック

* 正規表現対応

* /test/giにも対応

* matchでしなくてもいいのでは感

* レビュー修正

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

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

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

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

* 修正

* wipかも

* wordsでスペース区切りのものできたかも

* なんか動いたかも

* test作成

* 文言の修正

* 修正

* note参照

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-05-10 18:02:41 +09:00
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