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
Namekuji
7f43e76a89
fix cache update
2023-04-15 09:25:05 -04:00
Namekuji
3ccf1d5307
remove unnecessary field
2023-04-15 08:54:14 -04:00
Namekuji
741fefbe58
fix lint
2023-04-15 07:28:33 -04:00
Namekuji
e900a8787e
allow app creation after moving
2023-04-15 07:28:33 -04:00
Namekuji
8d6f50c4c3
fix move service
2023-04-15 07:28:33 -04:00
Namekuji
21677aa30d
prohibit moved account from moving again
2023-04-15 07:28:33 -04:00
Namekuji
71e9b2298e
fix copying mutings
2023-04-15 07:28:33 -04:00
Namekuji
6a2752ef73
adjust following and followers counts when unfollowing
2023-04-15 07:28:33 -04:00
Namekuji
83d70f3300
decrease followersCount if followed by the old account
2023-04-15 07:28:33 -04:00
Namekuji
2f5d9b86ef
fix refollowing locked account
2023-04-15 07:28:33 -04:00
Namekuji
17c80e82e0
fix updating account
2023-04-15 07:28:33 -04:00
Namekuji
0e088cb2e4
fix checking alsoKnownAs and uri
2023-04-15 07:28:33 -04:00
Namekuji
69a1dadcbb
Revert "disable account migration"
...
This reverts commit 2321214c98
.
2023-04-15 07:28:33 -04:00
Namekuji
aaf098f697
skip if no need to adjust
2023-04-15 07:28:33 -04:00
Namekuji
942d5b6672
check movedToUri when receiving a follow request
2023-04-15 07:28:33 -04:00
Namekuji
fc327f0567
adjust following and follower counts
2023-04-15 07:28:33 -04:00
Namekuji
75d02a51a6
do not unfollow when moving
2023-04-15 07:28:33 -04:00
Namekuji
5e845f1ad5
prevent the old account from calling some endpoints
2023-04-15 07:28:33 -04:00
Namekuji
91a59da055
fix exception format
2023-04-15 07:28:33 -04:00
Namekuji
71a2fbd232
automatically accept if a locked account had accepted an old account
2023-04-15 07:28:33 -04:00
Namekuji
75c2c105fb
refactor updating actor and target
2023-04-15 07:28:33 -04:00
Namekuji
0474efc008
no need to care promise orders
2023-04-15 07:28:33 -04:00
Namekuji
91fcad0c85
copy block and mute and update lists when detecting an account has moved
2023-04-15 07:28:33 -04:00
Namekuji
8c031e9f42
copy block and mute then create follow and unfollow jobs
2023-04-15 07:28:33 -04:00
tamaina
38fdc73d01
Fix?(server): Content-Dispositionのパースでエラーが発生した場合にもダウンロードが完了するように
...
#10626
2023-04-15 11:19:00 +00: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
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
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
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
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
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
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
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
syuilo
70a06e30d5
fix(backend): アンテナのノート、チャンネルのノート、通知が正常に作成できないことがある問題を修正
...
Fix #10482
2023-04-10 10:03:53 +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
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
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
syuilo
2321214c98
disable account migration
2023-04-08 20:51:36 +09:00
syuilo
ad9f72291f
use for of
2023-04-08 20:03:32 +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
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
975e79fa3b
fix type
2023-04-08 15:59:41 +09:00
syuilo
9114c8cb8e
feat(backend): support replication of postgresql
...
Resolve #10205
2023-04-08 15:53:36 +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
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
3bbeec70ec
perf(backend): improve cache of instance of user
2023-04-07 18:12:24 +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
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
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