Commit Graph

2835 Commits

Author SHA1 Message Date
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