Commit graph

47 commits

Author SHA1 Message Date
KMY(雪あすか)
390692a21a
Refactor: 不要なコードを除去 (#500) 2024-01-25 10:51:21 +09:00
KMY(雪あすか)
fcd13a6474
Change: #375 投稿を編集して拡張ドメインブロックの条件にひっかかる状態になった場合、対象サーバーには投稿削除のActivityを送信する (#495)
* Change: #375 投稿を編集して拡張ドメインブロックの条件にひっかかる状態になった場合、対象サーバーには投稿削除のActivityを送信する

* Fix test

* Add test
2024-01-24 09:03:24 +09:00
KMY(雪あすか)
989efcd78e
Remove: 現在使われていないドメインブロック無視設定のデッドコード (#476)
* Remove: 現在使われていないドメインブロック無視設定のデッドコード

* Refactoring

* Fix test
2024-01-19 08:39:58 +09:00
KMY
dd805d691b Fix test 2024-01-15 12:25:24 +09:00
KMY
673e09d645 Merge remote-tracking branch 'parent/main' into upstream-20240115 2024-01-15 11:08:37 +09:00
MitarashiDango
2c05b8a60d
Fix Undo Announce activity is not sent, when not followed by the reblogged post author (#18482)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-12 15:58:28 +00:00
KMY(雪あすか)
407a53aa33
Remove: メディアを配送しない設定の削除 (#445) 2024-01-11 09:16:59 +09:00
KMY(雪あすか)
92a16218c9
Remove: #372 削除予定のドメインブロック項目をいったん削除 (#444)
* Remove: #372 削除予定のドメインブロック項目をいったん削除

* Fix test
2024-01-10 19:04:49 +09:00
KMY(雪あすか)
709e19cd1e
Add: Sharkeyをスタンプ利用可能なサーバーに追加 (#345) 2023-12-11 14:02:44 +09:00
KMY(雪あすか)
a88349af55
Add: #8 サークル投稿の転送 (#294)
* Add: `conversations`テーブルに`ancestor_status`プロパティ

* Fix test

* Fix test more

* Add: `limited_visibility`に`Reply`を追加、`context`のURI

* Add: 外部からの`context`受信処理

* Fix test

* Add: 公開範囲「返信」

* Fix test

* Fix: 返信に返信以外の公開範囲を設定できない問題

* Add: ローカル投稿時にメンション追加・他サーバーへの転送

* Fix test

* Fix test

* Test: ローカルスレッドへの返信投稿の転送

* Test: 未知のアカウントからのメンション

* Add: 編集・削除の連合に対応

* Remove: 重複テスト

* Fix: 改善

* Add: 編集削除の転送処理・返信なのにsilentなメンションでの通知

* Fix: リプライが第三者に届かない問題

* Add: `always_sign_unsafe`

* Add: Subject

* Remove space

* Fix: 他人のスレッドの送信先一覧を非表示

* Fix: おかしいコード
2023-11-30 09:29:24 +09:00
KMY(雪あすか)
0f01a71dcc
Change: サークルの送り先アカウント指定方法をaccount_username(Fedibirdと同様)に変更 (#283)
* Change: サークルの送り先アカウント指定方法を`account_username`(Fedibirdと同様)に変更

* Test: テストを追加

* Maybe Fix: Fedibirdで自分限定と認識される問題
2023-11-17 08:40:55 +09:00
KMY(雪あすか)
76f2f2ed0c
Add: #87 フォロワーのみに購読を許可する設定 (#239)
* Wip: マイグレーション、設定など一式

* Fix test

* Fix test

* Fix: マスター用の設定を他サーバーに送信しないよう修正

* DTL、外部サーバーの情報受け入れのテストを追加

* スペルミスを修正

* Web画面に設定項目追加

* 既存の`master_settings`を上書きしないよう修正
2023-11-08 17:51:36 +09:00
KMY(雪あすか)
24909f9760
Change: #185 『スタンプをつけられた人』ではなく『スタンプをつけた人』のフォロワーにスタンプを転送 (#232)
* Change: #185 『スタンプをつけられた人』ではなく『スタンプをつけた人』のフォロワーにスタンプを転送

* Fix: 絵文字削除が届かない問題

* Test: 送る方にも同じテストを追加
2023-11-04 21:27:59 +09:00
KMY(雪あすか)
d62a135806
スタンプ機能のリファクタリング、投稿の反応者へも配送 (#140) 2023-10-18 10:23:17 +09:00
KMY(雪あすか)
12d068d38d
Fix: #83 フレンドサーバーでの全投稿配送で、アカウントドメインブロックが無視される問題 (#102) 2023-10-12 20:06:33 +09:00
KMY(雪あすか)
1eb2d78b5d
Change: 単方向の承認だけでフレンドサーバーが有効になるようにする (#74)
* Test: テストを先に作成

* Fix: テスト不備

* Wip: フレンドサーバーのテストを修正

* Wip: エラーを修正

* 項目のラベリングを修正

* 新しい設定が変更できないのを修正

* Wip: 削除時の処理を修正

* フレンド自動承認設定を削除

* Fix: 申請を受けたドメインのINBOXが空になる問題

* Change: #75 フレンドでないサーバーからのローカル公開を未収載に変換 (#77)
2023-10-10 21:46:26 +09:00
KMY(雪あすか)
87e858a202
Add: フレンドサーバー (#61)
* Fix mastodon version

* テーブル作成

* Wip: フレンドサーバーフォローの承認を受信

* Wip: フレンド申請拒否を受信

* Wip: フォローリクエストを受理

* Wip: 相手からのフォロー・アンフォローを受理

* 普通のフォローとフレンドサーバーのフォローを区別するテストを追加

* ドメインブロックによるフォロー拒否

* ドメインブロックしたあと、申請中のフォロリクを取り下げる処理

* スタブに条件を追加

* Wip: 相手からのDelete信号に対応

* DB定義が消えていたので修正

* Wip: ローカル公開投稿をフレンドに送信する処理など

* Wip: 未収載+誰でもの投稿をフレンドに送る設定

* Wip: ローカル公開をそのまま送信する設定を考慮

* Fix test

* Wip: 他サーバーからのローカル公開投稿の受け入れ

* Wip: Web画面作成

* Fix test

* Wip: ローカル公開を連合TLに流す

* Wip: フレンドサーバーの削除ボタン

* Wip: メール通知や設定のテストなど

* Wip: 翻訳を作成

* Fix: 却下されたあとフォローボタンが表示されない問題

* Wip: 編集できない問題

* 有効にしていないフレンドサーバーをリストで無効表示
2023-10-09 11:51:15 +09:00
KMY(雪あすか)
44b739a39a
Add: Webでの引用表示 (#50)
* Add compacted component

* 引用表示の間にコンテナをはさみ、不要なコードを削除

* 引用APIを作成、ついでにブロック状況を引用APIに反映

* テスト修正など

* 引用をキャッシュに登録

* `quote_id`が`quote_of_id`になったのをSerializerに反映

* Fix test

* 引用をフィルターの対象に含める設定+エラー修正

* ストリーミングの存在しないプロパティ削除によるエラーを修正

* Fix lint

* 他のサーバーから来た引用付き投稿を処理

* Fix test

* フィルター設定時エラーの調整

* 画像つき投稿のスタイルを調整

* 画像つき投稿の最大高さを調整

* 引用禁止・非表示の設定を追加

* ブロック対応

* マイグレーションコード調整

* 引用設定の翻訳を作成

* Lint修正

* 参照1つの場合は引用に変換する設定を削除

* 不要になったテストを削除

* ブロック設定追加、バグ修正

* 他サーバーへ引用送信・受け入れ
2023-10-02 11:12:51 +09:00
KMY(雪あすか)
322ce1fc27
Bump version to 6.0 (#46)
* Bump version to 6.0

* Add cherrypick to banned target

* Fix translations
2023-09-28 17:56:21 +09:00
KMY
b1759f2c10 #25 Exclude public_searchability posts from restriction for misskey 2023-09-28 15:40:27 +09:00
KMY
a8f02d0245 Remove firefish as misskey fork #16 2023-09-24 12:29:52 +09:00
KMY
fc35348dfa Fix reaching 2023-08-12 18:34:01 +09:00
KMY
7d99dd9030 Fix status_reach_finder bug 2023-08-12 18:30:16 +09:00
KMY
79062bfc2f Add mutual visibility support 2023-08-12 18:22:22 +09:00
KMY
d29b71bfd9 Add instance info support 2023-08-05 09:10:55 +09:00
KMY
a080726446 Fix user setting not found error 2023-05-09 18:40:42 +09:00
KMY
9429f5b60c Make antenna able to insert home 2023-05-09 15:07:29 +09:00
KMY
b7ef24d3e8 Merge branch 'kb_development' into kb_migration 2023-05-07 14:11:18 +09:00
KMY
828fdba282 Fix distribution error 2023-05-02 18:41:37 +09:00
KMY
c320f781df Refactoring to get misskey domains when send status 2023-05-01 21:37:59 +09:00
KMY
3a1a6ba39e Merge commit '15fd712464' into kb_migration 2023-05-01 15:05:34 +09:00
KMY
9fa468a4bf Merge branch 'kb_development' into kb_migration 2023-05-01 14:02:02 +09:00
KMY
3a1c73f607 Add user config rejecting admin domain block settings 2023-05-01 12:33:26 +09:00
KMY
a4332babb5 Change delivering to misskey setting to send as private 2023-05-01 12:16:16 +09:00
KMY
5e97866438 Add checking reblog status local 2023-04-30 21:39:09 +09:00
KMY
7d3d93e9a4 Add reject public unlisted subscription configs 2023-04-30 21:36:49 +09:00
KMY
ae4da45054 Add considering reblogged status domain block 2023-04-30 19:57:05 +09:00
KMY
3ffc470a03 Fix more better sql of domainblock 2023-04-28 21:37:24 +09:00
KMY
9ad92e6a09 Addo domein block extra supports 2023-04-28 13:31:02 +09:00
KMY
ed3abf4f2a Add public_unlisted scope as status privacy 2023-03-05 13:24:31 +09:00
Jeong Arm
e8cc63105f
Don't delivery a reply to domains which are blocked by author (#22117)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 15:52:06 +01:00
Claire
c2170991c7
Fix reblogs being discarded after the reblogged status (#19731) 2022-11-04 16:31:44 +01:00
Eugen Rochko
1060666c58
Add support for editing for published statuses (#16697)
* Add support for editing for published statuses

* Fix references to stripped-out code

* Various fixes and improvements

* Further fixes and improvements

* Fix updates being potentially sent to unauthorized recipients

* Various fixes and improvements

* Fix wrong words in test

* Fix notifying accounts that were tagged but were not in the audience

* Fix mistake
2022-01-19 22:37:27 +01:00
Eugen Rochko
f4b7c6b619
Fix nil error when removing status caused by race condition (#16099) 2021-04-24 13:35:39 +02:00
Eugen Rochko
2eb17360df
Fix delete of local reply to local parent not being forwarded (#16096) 2021-04-22 14:26:11 +02:00
Eugen Rochko
ca3bc1b09f
Refactor StatusReachFinder to handle followers and relays as well (#16051) 2021-04-17 15:41:57 +02:00
Eugen Rochko
e7e099d1a0
Fix deletes not reaching every server that interacted with status (#15200)
Extract logic for determining ActivityPub inboxes to send deletes
to to its own class and explicitly include the person the status
replied to (even if not mentioned), people who favourited it, and
people who replied to it (though that one is still not recursive)
2020-11-27 15:48:31 +01:00