Commit graph

531 commits

Author SHA1 Message Date
Mar0xy 4b230d792c
merge: upstream changes 2023-10-18 19:48:03 +02:00
Mar0xy a4a1b8bb8b
add: isSilenced handling to user and timeline 2023-10-18 13:34:16 +02:00
Mar0xy c21d255604
add: Bot Trending Toggle, Hide Bot in Timeline client option 2023-10-18 07:29:16 +02:00
syuilo 6cc02fee99 enhance(backend): improve fanout tl
Resolve #11958
Resolve #12061
2023-10-18 12:26:16 +09:00
syuilo 2a88d8ee2d refactor(backend): rename service 2023-10-18 12:07:18 +09:00
woxtu 0bddd0ceae
Remove unnecessary nullish coalescing (#12058) 2023-10-18 09:54:18 +09:00
Mar0xy 6cac291d3d
fix: relays not getting accepted 2023-10-17 21:08:15 +02:00
anatawa12 5a3c6575dd
新規にフォローした人のwithRepliesをtrueにする機能を追加 (#12048)
* feat: add defaultWithReplies to MiUser

* feat: use defaultWithReplies when creating MiFollowing

* feat: update defaultWithReplies from API

* feat: return defaultWithReplies as a part of $i

* feat(frontend): configure defaultWithReplies

* docs(changelog): 新規にフォローした人のをデフォルトでTL二追加できるように

* fix: typo

* style: fix lint failure

* chore: improve UI text

* chore: make optional params of  UserFollowingService.follow() object

* chore: UserFollowingService.follow() accept withReplies

* chore: add withReplies to MiFollowRequest

* chore: process withReplies for follow request

* feat: accept withReplies on 'following/create' endpoint

* feat: store defaultWithReplies in client store

* Revert "feat: return defaultWithReplies as a part of $i"

This reverts commit f2cc4fe6

* Revert "feat: update defaultWithReplies from API"

This reverts commit 95e3cee6

* Revert "feat: add defaultWithReplies to MiUser"

This reverts commit 9f5ab14d7063532de2b049bc2ed40a15658168f5.

* feat: configuring withReplies in import-following

* feat(frontend): configure withReplies

* fix(frontend): incorrectly showRepliesToOthersInTimeline can be shown

* fix(backend): withReplies of following/create not working

* fix(frontend): importFollowing error

* fix: withReplies is not working with follow import

* fix(frontend): use v-model

* style: fix lint

---------

Co-authored-by: Sayamame-beans <61457993+sayamame-beans@users.noreply.github.com>
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2023-10-17 20:56:17 +09:00
syuilo 5686e1d2d0 refactor 2023-10-17 09:00:42 +09:00
Mar0xy 68886b9ab5
merge: upstream performance changes & instance silencing 2023-10-16 23:38:21 +02:00
まっちゃてぃー 5efd01ba70
feat: サーバーサイレンス機能を追加 (#12031)
* feat : サーバーサイレンスを追加

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update locale

* Update instance-info.vue

* update misskey-js.api.md

* lint fix

* migration fix

* 既存のものを使うように

* fix

* 色々直した

* Update packages/frontend/src/pages/admin/instance-block.vue

* Update packages/frontend/src/pages/admin/instance-block.vue

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

* Update packages/backend/src/core/entities/InstanceEntityService.ts

* Update packages/backend/src/core/entities/InstanceEntityService.ts

* Update packages/backend/src/core/entities/InstanceEntityService.ts

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

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

* fix: サイレンスされてるサーバーからの投稿は全部ホームにする

* fix: undefinedでfalseを返すようにした

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-16 20:11:27 +09:00
syuilo 3ebed5aa3e feat: local-only antenna
Resolve #11869
2023-10-16 15:06:00 +09:00
syuilo 24437a04d4 fix of 1fa1d31696 2023-10-16 12:00:56 +09:00
syuilo 1fa1d31696 perf(backend): createdAtをidから取得するように & 無駄なDateインスタンスの生成を避けるように 2023-10-16 10:45:22 +09:00
Mar0xy 67c95ea646
fix: type error 2023-10-15 23:42:47 +02:00
Mar0xy ca428977a5
merge: upstream 2023-10-15 23:36:38 +02:00
Mar0xy 85f3534b2c
fix: decrement of renotecount 2023-10-15 19:43:57 +02:00
Mar0xy 97df169ebe
fix: don't decrement past 0 2023-10-15 18:16:41 +02:00
syuilo 3f4ee98405
perf(backend): improve streaming api performance (#12033)
* wip

* Update NoteEntityService.ts

* wip

* wip

* wip

* wip
2023-10-15 10:36:22 +09:00
Mar0xy c50c3b3816
merge: lint 2023-10-15 02:18:52 +02:00
Mar0xy e123236733
chore: lint 2023-10-15 02:17:00 +02:00
Mar0xy 7e648a255f
upd: Separate quote from boost 2023-10-15 02:16:02 +02:00
Mar0xy 4359a13946
fix: Boost count not decrementing on removal 2023-10-15 02:09:38 +02:00
Mar0xy e11630bdb2
merge: Nyaize post on create, Tweak performance 2023-10-14 12:11:23 +02:00
syuilo 329830e2c3 perf(backend): tweak populateMyReaction 2023-10-14 10:05:44 +09:00
syuilo 061e389340 perf(backend): nyaizeを投稿時にやる
Resolve #12030
2023-10-14 10:04:13 +09:00
Mar0xy f8f128b347
merge: all upstream changes 2023-10-13 19:01:17 +02:00
syuilo f6ba5cfaf4
merge: timeline 1 2023-10-13 17:58:11 +02:00
Marie 203fdb82f1
upd: move poll out of details 2023-10-11 20:48:00 +02:00
syuilo 7a8d5e5840 enhance: ローカルタイムライン、ソーシャルタイムラインで返信を含むかどうか設定可能に
Resolve #12001
2023-10-11 10:15:44 +09:00
syuilo 1f0c27edf2 fix(backend): フォローしているユーザーからの自分の投稿への返信がタイムラインに含まれない問題を修正 2023-10-11 08:18:00 +09:00
syuilo 8ab3640291 fix of 0bb0c32908 2023-10-09 21:52:31 +09:00
syuilo edf847d966 fix of 0bb0c32908 2023-10-09 21:23:07 +09:00
syuilo 0bb0c32908 enhance(backend): RedisへのTLの構築をListで行うように
#11404
2023-10-09 20:31:39 +09:00
syuilo 04971ca565 perf(backend): untilDate/sinceDate指定時のクエリパフォーマンスを向上 2023-10-09 18:13:53 +09:00
syuilo 7066d61730 fix 2023-10-09 17:41:54 +09:00
syuilo 0f367da84b fix(backend): TLを途中までしかページネーションできなくなることがある問題を修正
Fix #11404
2023-10-09 16:47:46 +09:00
syuilo 3a4039e2e1 refactor 2023-10-09 15:34:03 +09:00
syuilo 4f20c87186 lint fixes 2023-10-09 13:32:41 +09:00
syuilo a2d3544a08 refactor(backend): better argument name 2023-10-09 13:22:58 +09:00
_ ca07459f5e
fix(backend): ダイレクト投稿がタイムライン上に正常に表示されない問題を修正 (#11993)
* DMをredisにpushするように

* add test

* add CHANGELOG

* Update NoteCreateService.ts

* lint

* ✌️

* 前のバージョンから発生した問題ではないため不要

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-09 12:36:25 +09:00
syuilo 5601ed0914 enhance(backend): UserListMembershipにユーザーリストの作成者IDを非正規化 2023-10-09 08:46:05 +09:00
syuilo 2859cbab91 perf(backend): WebSocket接続が多い場合のパフォーマンスを向上
https: //github.com/MisskeyIO/misskey/pull/176
Co-Authored-By: KOBA789 <kobahide789@gmail.com>
2023-10-08 08:10:28 +09:00
syuilo 7cd9a90f26 perf(backend): use HyperLogLog instead of Set to improve hashtag chart performance 2023-10-08 07:51:10 +09:00
syuilo dc435fb8ee enhance(backend): tweak hashtag trend 2023-10-07 14:05:58 +09:00
MeiMei c8d7a5ae76
連合なしアンケートのUpdateがリモートに配信されてしまうのを修正 (#11977) 2023-10-07 12:19:05 +09:00
syuilo 71edc65d0d enhance(backend): improve hashtags/trend performance 2023-10-07 12:05:17 +09:00
syuilo 3a7558f36c enhance(backend): 3日以内に投稿されたノートのみハイライト用スコア加算 2023-10-07 07:59:46 +09:00
syuilo 4a595153dc enhance(backend): 返信はハイライトに載らないように 2023-10-07 07:53:14 +09:00
Mar0xy 9a96ac02fc
fix: adding poll to note during edit breakage 2023-10-06 21:12:33 +02:00