Commit Graph

145 Commits

Author SHA1 Message Date
syuilo ff9a65e8fa
feat: passkey support (#11804)
https://github.com/MisskeyIO/misskey/pull/149
2023-09-08 14:05:03 +09:00
anatawa12 46b0eb46b3
feat(frontend): Report renote abuse (#11466)
* chore: add way to show renote in window / tab

* feat: report abuse for renote

* docs: Renote自体を通報できるように

* revert: make renote time link

* chore: add copy renote menu

* chore: remove copy/report renote from note menu

* fix: abuse menu without actual selection shown

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-05 17:25:08 +09:00
syuilo 1f7a81aae7
update deps (#11764)
* update deps

* node16

* wip

* wip

* wip

* Update test-utils.ts

* wip

* Update tsconfig.json

* wip

* Update package.json

* wip

* Update following.vue

* Update followers.vue

* Update index.vue

* Update share.vue

* Update MkUserPopup.vue

* Update MkPostForm.vue

* wip

* Update MkTokenGenerateWindow.vue

* Update MkPagination.vue

* refactor

* update deps

* update deps

* Update sw.ts

* wip

* wip

* wip

* Update FetchInstanceMetadataService.ts

* Update FetchInstanceMetadataService.ts

* update node

* update deps

* 🎨
2023-09-04 13:33:38 +09:00
syuilo 724ed47e5f enhance(frontend): AiScriptからMisskeyサーバーAPIを呼び出す際の制限を撤廃
Resolve #7123
2023-09-01 13:21:47 +09:00
syuilo 8038049068 enhance(frontend/aiscript): 現在の設定言語を取得できるように
Resolvve #11750
2023-08-21 11:53:06 +09:00
Hexirp bf6158ca71
fix(frontend): "メッセージを送信" の初期テキストを修正する (#11721)
* fix(frontend): "メッセージを送信" の初期テキストを

あるサーバー A にいるとする。他のサーバー B のユーザー X へ
「メッセージを送信」しようとしたとする。その時に出てくる投稿
フォームには X へのメンションが最初から入っている。

しかし、そのメンションには B の情報が入っておらず、 A の
同名ユーザー X へのメンションとなってしまっている。

See https://github.com/misskey-dev/misskey/issues/11716

* Update CHANGELOG.md
2023-08-20 17:54:11 +09:00
Kagami Sascha Rosylight ab58b651f7
fix(frontend/scroll): no callback for disconnected elements (#11714)
* fix(frontend/scroll): no callback for disconnected elements

* Update CHANGELOG.md
2023-08-13 21:22:57 +09:00
syuilo bbef2a953e enhance(frontend): tweak user moderation page 2023-08-13 21:02:25 +09:00
tamaina e6f3dd81ba
fix(frontend): MkPopupMenuがドロワーで子メニューの出現と同時にpopupをresolveさせるのをやめさせる (#11441)
* fix(frontend): MkPopupMenuがドロワーで子メニューの出現と同時にpopupをresolveさせるのをやめさせる

* fix

* noCache

* ✌️

* fix

* ????

* a

* a

* ✌️

* fix emoji picker

* ?????

* close

* 1

* fix2

* ✌️

* fix

* ✌️

* ✌️

* ✌️

* preferClick

* ✌️

* fix lint

* a

* rm nocache
2023-08-09 09:08:47 +09:00
tamaina 8a72a05958
enhance(frontend): ユーザーメニューでスイッチでユーザーリストに追加・削除できるように (#11439)
* メニューのトグルをいい感じにする

* user list toggle!

* add changelog

* fix

* stop
2023-08-01 15:32:03 +09:00
Shun Sakai c2370a1be6
chore: 著作権とライセンスについての情報を各ファイルに追加する (#11348)
* chore: Add the SPDX information to each file

Add copyright and licensing information as defined in version 3.0 of
the REUSE Specification.

* tweak format

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-27 14:31:52 +09:00
setaria 78b502bcab
URL取得変数を関数に変更 #11392 (#11393) 2023-07-27 09:00:22 +09:00
tamaina fe13755be8
refactor: Array.from(iterable).map(mapfn)をArray.from(iterable | { length: number }, mapfn)に (#11337)
* refactor: Array.from(iterable).map(mapfn)をArray.from(iterable, mapfn)に

* Update packages/frontend/src/components/MkTagCloud.vue

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

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-07-25 10:46:52 +00:00
Acid Chicken (硫酸鶏) 40c5699d93
fix: typo 2023-07-21 10:56:48 +00:00
Acid Chicken (硫酸鶏) a87dd5ddec
fix: response to experimental rIC support on Safari removed due to Google Login bug? 2023-07-21 10:53:37 +00:00
kabo2468 a8cd8ed99e
enhance: 自動でたたまれる機能が返信先や引用RNにも適用されるように (#10989)
* 返信、引用RNでMFMがあったら自動で隠すように

* Update CHANGELOG.md

* Update MkSubNoteContent.vue

* refactor: avoid `Boolean`

* docs: update CHANGELOG.md

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-07-21 09:58:57 +00:00
syuilo 269cd560c7 enhance(frontend): フォロー/フォロワー非公開時の表示を改善
Close #10934
Resolve #10887
2023-07-18 19:50:23 +09:00
yutaro 866e3f0432
fix-6096 (#11281) 2023-07-15 10:00:03 +09:00
okayurisotto 2b6dbd4fcb
refactor: 可読性のため一部で`Array.prototype.at`を使うように (#11274)
* refactor: `Array.prototype.at`を使うように

* fixup! refactor: `Array.prototype.at`を使うように
2023-07-14 10:45:01 +09:00
okayurisotto c0dbc3b53f
refactor: `substr` -> `substring` (#11273) 2023-07-14 07:59:54 +09:00
setaria c13fd42015
現在閲覧中のURLを取得するプロパティを追加 (#11234)
* 現在閲覧中のURLを取得するプロパティを追加 #11232

* commit the uncommitted remainder

---------

Co-authored-by: setaria <v.setaria@gmail.com>
2023-07-13 19:52:18 +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
anatawa12 1a096c557e
refactor: fix lint failure (#11214) 2023-07-09 15:46:17 +02:00
yupix 9dd53527ca
feat: プロフィールURLをコピー ボタンを追加 close #11190 (#11205) 2023-07-09 17:20:50 +09:00
yupix 3796da6836
feat: フォルダーやファイルでもIDをコピーできるように (#11189)
* feat: フォルダーやファイルでもIDをコピーできるように close #11188

* docs: update CHANGELOG.md
2023-07-08 18:45:41 +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
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
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
Ryoh827 bc61f37faa
refactor(frontend): fix enum types in scripts/form (#11138) 2023-07-06 20:23:54 +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
tamaina aa92df4e50 chore(frontend): add comment 2023-07-04 11:21:44 +00:00
syuilo 0cb3c7481c fix typo: schema -> scheme 2023-06-05 10:55:18 +09:00
syuilo 2c0b10b0ee refactor 2023-06-01 16:28:24 +09:00
syuilo a3a47b8d35 🎨 2023-05-30 14:34:55 +09:00
syuilo dc031b1d07 perf(frontend): emojilistのサイズ削減 2023-05-30 11:18:40 +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
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
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 23f106a0c1 refactor(frontend): boot分割したり副作用減らしたりとか
#10838
2023-05-15 19:08:46 +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 f15f60d5b9
feat: 開発者モードを追加 2023-05-14 01:30:46 +00:00
syuilo 151586ab60 refactor 2023-05-08 08:52:01 +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
かっこかり 1f9f63df7c
「このファイルからノートを作成」ボタンを追加 (#10758)
* (add) note this file button

* Update CHANGELOG.md
2023-05-04 19:58:17 +09:00
tsukimizake cbd183a7a9
fix: return null from Mk:dialog (#10676) 2023-05-02 09:56:20 +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
かっこかり 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
tinaxd 5ddffa728a
fix: ドライブアップロードで413が返ってきたときにエラーメッセージを表示 (#10680) 2023-04-22 17:18:57 +09:00
syuilo 40debf20d8 add new achievement 2023-04-20 19:40:02 +09:00