Commit graph

1824 commits

Author SHA1 Message Date
anatawa12 722584bf72
すべてのフォロー中の人のwithRepliesを変える機能 (#12049)
* feat: endpoint to update all following

* feat(frontend): change show replies for all

* docs(changelog): すでにフォローしたすべての人の返信をTLに追加できるように

* fix: cancel not working
2023-10-21 18:39:19 +09:00
CyberRex 12fe09c6e7
プロフィールのURL認証をrel=meで可能に (#12100) 2023-10-21 18:38:51 +09:00
syuilo 2c0a139da6
feat: Avatar decoration (#12096)
* wip

* Update ja-JP.yml

* Update profile.vue

* .js

* Update home.test.ts
2023-10-21 18:38:07 +09:00
shiosyakeyakini 6d6ddbc35e
fix(backend) api/iの未読のお知らせにcreatedAtを追加するように修正 (#12092)
Co-authored-by: sorairo <sorairo@shiosyakeyakini.info>
2023-10-21 07:53:57 +09:00
Mar0xy 33eab0d178
upd: change handling of renewkeyFailed 2023-10-20 12:54:25 +02:00
Mar0xy c76f0f1679
fix: set boolean to true if uri doesn't match activity actor 2023-10-20 12:53:14 +02:00
Mar0xy 71b7c31958
upd: refetch user keys on signature failure
Reference: https://github.com/misskey-dev/misskey/pull/12051
2023-10-20 12:50:56 +02:00
syuilo 42a3489bcb update deps 2023-10-20 15:46:12 +09:00
syuilo df957f7afe update test 2023-10-20 13:07:08 +09:00
syuilo b394328eb1 fix(backend): フォロ限へのリプのリプ元が(非公開)の表示のまま
Fix #12083
2023-10-20 11:58:09 +09:00
syuilo d962ea3889 add timeline tests 2023-10-20 08:15:31 +09:00
syuilo 683b71fc7e add timeline tests 2023-10-20 08:13:20 +09:00
syuilo 216b20d2db fix(backend): 自分のフォロワー限定ノートがWebsoketに乗ってこない
Fix #12081
2023-10-20 08:02:32 +09:00
syuilo 6ff5bfd2bc clean up 2023-10-20 07:48:31 +09:00
syuilo 4a7c6e261a fix(backend): 管理者権限のロールを持っていても一部のAPIが使用できないことがある問題を修正 2023-10-19 20:47:23 +09:00
syuilo cc256f117e update deps 2023-10-19 19:51:59 +09:00
anatawa12 991fa054a6
chore: STLのdb fallbackでwithRepliesがtrueのときにすべてのリプライを除外しないように (#12075)
MiFollowingを見るのは実装コストが高いため現状実装していない

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-19 19:34:52 +09:00
Mar0xy c3f768181a
fix: invite code not being marked as used
Fixes an issue where if approval and invite were enabled the code would stay as unused
2023-10-19 10:42:18 +02:00
Mar0xy 059401aeab
fix: system users not being set to approved on creation 2023-10-19 10:38:46 +02:00
anatawa12 93d3501c90
fix: replies are included even if withReplies = false in local timeline (#12074) 2023-10-19 17:29:09 +09:00
syuilo 431d8c7802 fix(backend): Redisがからのときにhybrid-timelineにwithReplies = trueでアクセスするとSQLのシンタックスエラーになる
Fix #12064
2023-10-19 16:22:19 +09:00
syuilo 30efd932a5 enhance: nyaizeはクライアントで表示時に行うように
Resolve #12030
2023-10-19 11:42:17 +09:00
syuilo ec45db7870 refactor and perf tweak 2023-10-19 11:19:42 +09:00
syuilo 428d39a460 chore: disable debug log of fastify 2023-10-19 11:18:17 +09:00
syuilo f9549e1f1b fix(backend): fix of 1671575d5d 2023-10-19 11:17:59 +09:00
syuilo 1671575d5d perf(backend): ノートのリアクション情報をキャッシュすることでDBへのクエリを削減 2023-10-19 09:20:19 +09:00
syuilo 4d1d25e02f perf(backend): improve my reaction population performance 2023-10-19 08:07:22 +09:00
syuilo 2dfbf97db4 refactor 2023-10-19 07:59:58 +09:00
syuilo fcc4864080 perf(backend): reduce needless populateMyReaction calls 2023-10-19 07:56:25 +09:00
Mar0xy e1f13f641e
fix: all users being marked as not approved on cards 2023-10-18 23:50:43 +02:00
Mar0xy c79abfa8d9
fix: set remote users to approved on updates 2023-10-18 21:32:28 +02:00
Mar0xy 20e0d0b2e2
upd: mark remote users as approved 2023-10-18 20:56:41 +02:00
Mar0xy cf6e720139
merge: branch develop 2023-10-18 19:56:42 +02:00
Mar0xy bb54909d8e
upd: filter fallback to db for silenced users 2023-10-18 19:51:10 +02:00
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
syuilo 5b244cc6eb update test 2023-10-18 17:20:43 +09:00
syuilo ae1e276085 fix of 6cc02fee99 2023-10-18 17:17:56 +09:00
syuilo 6b5ee43800 enhance(backend): improve fanout tl for stl 2023-10-18 15:51:50 +09:00
syuilo 6b7efb6f1d fix(backend): fix admin/get-user-ips error 2023-10-18 15:32:35 +09:00
Marie 95b2689a21
fix: default for bottrending in model 2023-10-18 07:31:08 +02:00
Mar0xy c21d255604
add: Bot Trending Toggle, Hide Bot in Timeline client option 2023-10-18 07:29:16 +02:00
Mar0xy fa5cf36602
fix: reports not sending email
Closes transfem-org/Sharkey#81
2023-10-18 06:14:12 +02:00
Marie 182bf7e7d6
Merge branch 'develop' into feature/approval 2023-10-18 05:40:32 +02:00
Mar0xy cb9bd6a004
add: mark all media from user as NSFW
Closes transfem-org/Sharkey#69
2023-10-18 05:32:47 +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
Mar0xy 288fa1143d
upd: display correct approval_required value on masto instance endpoint 2023-10-18 04:32:40 +02:00
Mar0xy cab0ec5de1
upd: add Not Approved state sorter to Users tab 2023-10-18 03:40:51 +02:00
Mar0xy 32fc540df4
upd: handle email signups properly with approval enabled 2023-10-18 03:21:06 +02:00
taichan f6e1ee1d40
users/notesでDBから参照した際にチャンネル投稿のみ取得される問題を修正 (#12056)
* fix(backend): ユーザーのノート取得でDBにfallbackした際にチャンネルノートのみになる

* Update CHANGELOG

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-18 09:55:15 +09:00
woxtu 0bddd0ceae
Remove unnecessary nullish coalescing (#12058) 2023-10-18 09:54:18 +09:00
かっこかり 53099cad5a
fix: admin/update-meta が保存できない (#12057)
* Fix: invalid param impressumUrl

* Update CHANGELOG.md
2023-10-18 09:48:49 +09:00
syuilo 145c5c8b2b update deps 2023-10-18 09:43:59 +09:00
Mar0xy 2f2d88dcfc
add: Require Approval for Signup 2023-10-18 02:41:36 +02:00
Mar0xy 5c7f517895
chore: change some misskey references to sharkey 2023-10-17 23:55:53 +02:00
Marie 715dea9414
upd: remove cutting off the description on relays 2023-10-17 22:51:05 +02:00
Mar0xy 6cac291d3d
fix: relays not getting accepted 2023-10-17 21:08:15 +02:00
Marie f73e56ca2c
fix: invalid param impressumUrl 2023-10-17 19:39:48 +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 e9db0680c4 update deps 2023-10-17 09:04: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
syuilo 9338ab461e update deps 2023-10-16 20:13:05 +09: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 1966876320 fix test 2023-10-16 17:42:33 +09:00
syuilo 3ebed5aa3e feat: local-only antenna
Resolve #11869
2023-10-16 15:06:00 +09:00
syuilo 6a321ba340 fix test 2023-10-16 14:35:44 +09:00
syuilo 34d1b463a4 fix tests 2023-10-16 12:58:17 +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
Insert5StarName 09a764a868 chore: update assets 2023-10-15 12:18:29 +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 23e0daed4e
upd: fix getting renote for logged-in user 2023-10-14 02:53:52 +02:00
Mar0xy b002848b20
upd: increase default cache max values 2023-10-14 02:19:28 +02:00
Mar0xy d14b9af93d
chore: lint 2023-10-14 02:05:03 +02:00
Mar0xy 2d31c189d8
add: sponsors 2023-10-14 01:59:09 +02:00
Mar0xy 96d99f04fb
upd: change unrenote function 2023-10-13 22:29:14 +02:00
Mar0xy b4c81eb4ef
upd: make unrenote stream its change 2023-10-13 22:15:35 +02: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
Mar0xy fe4345d191
upd: delete reactions properly in the DB
Fixes https://github.com/misskey-dev/misskey/issues/11906
2023-10-11 23:03:01 +02:00
Marie 203fdb82f1
upd: move poll out of details 2023-10-11 20:48:00 +02:00
syuilo 7b6b3ad821 update test 2023-10-11 18:25:02 +09:00
syuilo a26d9ea132 enhance(backend): LTLでフォローしているユーザーからの自分への返信が含まれるように 2023-10-11 17:29:24 +09:00
syuilo 566cb35370 update test 2023-10-11 14:30:18 +09:00
syuilo cf3624a54f fix(backend): users/notesでセンシティブチャンネルの投稿が含まれる場合がある問題を修正 2023-10-11 12:26:07 +09: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 26b7112b20 add tests 2023-10-11 08:02:29 +09:00
syuilo 854ac95511 fix(backend): センシティブ設定されたチャンネルの投稿をusers/notesで返さないように 2023-10-10 20:06:02 +09:00
syuilo 66940d6cf1 fix(backend): channels/timelineでミュートが効かない問題を修正 2023-10-10 19:07:59 +09:00
syuilo cf6e53b2ac update deps 2023-10-10 16:26:48 +09:00
かっこかり af1087aed4
Feat:「ファイルの詳細」ページを追加 (#11995)
* (add) ファイルビューア

* Update Changelog

* 既存のAPIを利用

* run api extratctor

* Change i18n

* (add) ページに関する説明を追加

* Update CHANGELOG

* (fix) design, classes
2023-10-10 10:43:43 +09:00
syuilo 9f33ce1cd0 fix of 0bb0c32908 2023-10-10 09:45:40 +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 13dbfef9f8 update deps 2023-10-09 20:55:40 +09:00
syuilo 11c9e193a4 fix(backend): Misskeyのバックエンドプロセスが終了しない
Resolve #10995
2023-10-09 20:47:49 +09:00
syuilo 0bb0c32908 enhance(backend): RedisへのTLの構築をListで行うように
#11404
2023-10-09 20:31:39 +09:00
syuilo 7473b2854f fix(backend): users/notesでsinceId指定時にデータベースにフォールバックするように修正 2023-10-09 18:14:38 +09:00
syuilo 04971ca565 perf(backend): untilDate/sinceDate指定時のクエリパフォーマンスを向上 2023-10-09 18:13:53 +09:00
syuilo 6ff98846e6 fix(backend): 「ファイル付きのみ」のTLでファイル無しの新着ノートが表示される
Fix #11939
2023-10-09 17:48:09 +09:00
syuilo 7066d61730 fix 2023-10-09 17:41:54 +09:00
syuilo 0680ea3a78 fix(backend): users/notes で途中までしかページネーションできなくなることがある問題を修正 2023-10-09 16:54:27 +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 457b4cf608 fix(backend): users/notes で 自身の visibility: followers なノートが含まれない問題を修正 2023-10-09 08:54:57 +09:00
syuilo 5601ed0914 enhance(backend): UserListMembershipにユーザーリストの作成者IDを非正規化 2023-10-09 08:46:05 +09:00
April John c4cb99a6bb
Revert: swcrc back to normal state 2023-10-08 20:54:24 +02:00
April John ef5e9de7e6
Feat: binary builds (#60)
Automatic binary
2023-10-08 20:20:14 +02:00
かっこかり 4bbfc98883
Feat: タイムライン更新中に広告を挿入 (#11989)
* Feat: タイムライン更新中に広告を挿入

* 翻訳を変更

* Run api extractor

* fix api extractor

* Update locales/ja-JP.yml

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

* confirm -> mkinfo

* MkInputにmin, maxを指定できるように

* 負の値が指定されたら何もしない

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-08 17:56:44 +09:00
syuilo 9240db35f3 perf(backend): improve hybrid-timeline performance 2023-10-08 15:22:43 +09:00
かっこかり f37a3eff79
(fix) メールアドレス認証失敗時にメッセージを表示 (#11986) 2023-10-08 13:48:12 +09:00
Srgr0 bb9f04d586
Set http header for CORS in nodeinfo page (#11988)
* add Access-Control-Allow-Origin header

* WellKnownServerService.tsに合わせる

* update changelog

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-08 13:47:45 +09:00
syuilo 8e0fb23068 fix(backend): 同じ種類のTLのストリーミングを複数接続できない問題を修正
Fix #11985
2023-10-08 13:46:02 +09:00
syuilo cd8fda50c8 fix(backend): fix of 8c684d5391 2023-10-08 08:25:37 +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
April John 447399eb07
Wrap entry into async function 2023-10-07 16:21:09 +02:00
syuilo 04c8a7077f fix of 8c684d5391 2023-10-07 20:27:35 +09:00
syuilo 986623dbdc fix(backend): fix sql error when featured notes is zero 2023-10-07 18:21:16 +09:00
syuilo 8c684d5391 enhance(backend): User TLをRedisにキャッシュされる以前まで遡れるように
#11958
2023-10-07 18:00:56 +09:00
syuilo 69de8cad7c refactor 2023-10-07 17:57:15 +09:00
syuilo fb3338029b refactor 2023-10-07 17:48:10 +09:00
syuilo dc435fb8ee enhance(backend): tweak hashtag trend 2023-10-07 14:05:58 +09:00
syuilo 0fe8c0134c enhance(backend): notes/global-timeline復活 2023-10-07 14:02:05 +09:00
かっこかり 5e8c0deab3
プライバシーポリシー・運営者情報のリンクを追加 (#11925)
* 運営者情報・プライバシーポリシーリンクを追加

* Update Changelog

* Run api extractor

* プライバシーポリシー・利用規約の同意をまとめる

* Update Changelog

* fix lint

* fix

* api extractor

* improve design

* nodeinfoにプライバシーポリシー・運営者情報を追加
2023-10-07 13:13:13 +09:00
FineArchs d6ef28d4ca
バックエンドのテストの改善 (#11978)
* Update utils.ts

* no async executer
2023-10-07 12:25:16 +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
Mar0xy 67cfa53118
upd: federate listenbrainz, fix background federation 2023-10-06 20:53:34 +02:00
Mar0xy f81d6f8e24
upd: show poll in non-detailed post if poll exists
Closes transfem-org/Sharkey#52
2023-10-06 20:36:28 +02:00