Commit graph

447 commits

Author SHA1 Message Date
KMY
7684b5de6f Merge remote-tracking branch 'parent/main' into upstream-20240218 2024-02-20 09:25:49 +09:00
Matt Jankowski
245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants (#29260) 2024-02-19 11:09:43 +00:00
KMY
a1f88f6001 Merge remote-tracking branch 'parent/main' into upstream-20240218 2024-02-18 14:39:40 +09:00
KMY(雪あすか)
dfc9f35d71
Add: #586 保留中のリモートアカウントからのフォローが飛んできた場合に記録する (#590)
* Add: #586 保留中のリモートアカウントからのフォローが飛んできた場合に記録する

* 本家に戻す処理を修正

* Fix test

* Fix worker link

* Fix test

* リモートアカウント拒否時に既存のリクエストを削除
2024-02-18 10:48:48 +09:00
KMY(雪あすか)
1b3c0e3fb7
Fix: #588 リモート保留中ユーザーに関して、サスペンドから戻す操作を削除 (#589)
* Fix: #588 リモート保留中ユーザーに関して、サスペンドから戻す操作を削除

* 条件を書く場所を変更

* 各アカウントの画面を調整
2024-02-18 08:37:22 +09:00
KMY(雪あすか)
0f680a21b4
Add: ホワイトリスト運用時、承認待ちリモートアカウントの概念ならびに操作画面 (#584)
* Add: ホワイトリスト運用時、承認待ちリモートアカウントの概念ならびに操作画面

* Fix test

* Fix test
2024-02-17 21:07:37 +09:00
Wolfgang Fournès
cfadb87077
Update enum syntax to use the new Rails 7.0 style (#29217) 2024-02-16 14:54:23 +00:00
KMY
54f5113b46 Merge remote-tracking branch 'parent/main' into upstream-20240124 2024-01-24 08:38:14 +09:00
Matt Jankowski
18004bf227
Add Account.matches_uri_prefix scope and use in activitypub/followers_synchronizations controller (#28820) 2024-01-22 13:55:37 +00:00
KMY
a4cc73438e Merge remote-tracking branch 'parent/main' into upstream-20240122 2024-01-22 10:07:33 +09:00
Matt Jankowski
1480573c83
Add Account.auditable scope, fix N+1 in admin/action_logs#index (#28812) 2024-01-19 01:39:30 +00:00
Matt Jankowski
d0b3bc23d7
Remove unused matches_domain scopes on Account, DomainAllow, DomainBlock (#28803) 2024-01-18 16:11:04 +00:00
KMY
673e09d645 Merge remote-tracking branch 'parent/main' into upstream-20240115 2024-01-15 11:08:37 +09:00
Matt Jankowski
a90c134850
Move followable by logic to suggestion class (#28710) 2024-01-12 13:09:33 +00:00
KMY
e65fb9fb51 Merge remote-tracking branch 'parent/main' into upstream-20240112 2024-01-12 14:48:17 +09:00
Matt Jankowski
cd4b4d4734
Replace unused by_recent_sign_in scope (#28616) 2024-01-08 15:31:13 +00:00
Matt Jankowski
9322396e58
Use normalizes to prepare Account#username value (#28646) 2024-01-08 13:48:31 +00:00
KMY
a6b57e3890 Merge remote-tracking branch 'parent/main' into upstream-20231221 2023-12-21 08:37:12 +09:00
Matt Jankowski
1820bad646
Fix Performance/StringIdentifierArgument cop (#28399) 2023-12-18 10:26:09 +00:00
KMY
94c2396a34 Merge remote-tracking branch 'parent/main' into upstream-20231204 2023-12-04 12:04:52 +09:00
Matt Jankowski
440b80b2e7
Model concerns organization into module namespaces (#28149) 2023-12-01 11:00:41 +00:00
Claire
963354978a
Add Account#unavailable? and Account#permanently_unavailable? aliases (#28053) 2023-11-30 15:43:26 +00: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(雪あすか)
3caa413e23
Refactor: #160 アカウントのother_settings関連部分を別ファイルに切り出し (#176)
* Bump version to 8.0

* Add: 他のサーバーに公開する情報に、制限設定などを追加

* Fix: `quote_of_id`のインデックス

* Fix: #172 他のサーバーからの相乗り絵文字削除が反映されない

* Test: #166 リモートから自分の絵文字を受け取った時、ライセンスが上書きされないことを確認するテスト

* Refactor: #160 アカウントの`other_settings`関連部分を別ファイルに切り出し
2023-10-26 10:06:47 +09:00
KMY(雪あすか)
eb52b72152
Fix: 他のサーバー同士のスタンプでemoji_reaction_policyが適用される問題 (#165)
* Fix: 他のサーバー同士のスタンプで`emoji_reaction_policy`が適用される問題

* こっちに変更

* #161 テストを追加

* テスト修正
2023-10-22 09:46:19 +09:00
KMY
3ccf0d02c6 Merge remote-tracking branch 'parent/main' into kb_development 2023-10-07 09:19:36 +09:00
Claire
340c390849
Fix crash when filtering for “dormant” relationships (#27306) 2023-10-06 12:58:16 +02:00
KMY
e82444634a Merge remote-tracking branch 'parent/main' into kb_development 2023-10-04 14:17:41 +09:00
Matt Jankowski
c676bc91e9
Dont match mention in url query string (#25656)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-10-03 17:01:45 +02: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
78ddcb10c3 Merge remote-tracking branch 'parent/main' into kb_development 2023-09-27 21:33:12 +09:00
KMY
04418d5b01 Change followees_only to following_only 2023-09-13 12:59:07 +09:00
KMY
1bac691642 Remove block_and_hide to block 2023-09-13 09:00:13 +09:00
KMY
2be77df3aa Add enable_emoji_reaction setting 2023-09-13 08:57:47 +09:00
KMY
58137b227c Connect emoji_reaction block settings and show settings 2023-09-12 17:24:38 +09:00
KMY
18a0908878 Remove enable_block_emoji_reaction_settings 2023-09-12 16:58:45 +09:00
KMY
673e607e94 Add emoji_reaction_policy setting 2023-09-12 16:20:29 +09:00
KMY
defd790889 Allow blocking emoji reaction settings always from federation 2023-09-12 14:45:36 +09:00
KMY
979292d950 Merge remote-tracking branch 'parent/main' into kb_migration 2023-09-10 16:17:34 +09:00
Claire
81caafbe84
Fix performances of profile directory (#26842) 2023-09-07 18:55:25 +02:00
Claire
355e3fb529
Simplify Account.by_recent_status and Account.by_recent_sign_in scopes (#26840) 2023-09-07 15:38:11 +02:00
KMY
bd87415996 Add link_preview setting 2023-09-03 10:27:24 +09:00
KMY
e5df772adb Remove unusing settings from other_settings 2023-09-01 17:44:48 +09:00
KMY
3cf08a8f4b Add translatable_private setting 2023-09-01 17:30:08 +09:00
KMY
fbb82b740b Merge remote-tracking branch 'parent/main' into kb_migration 2023-08-25 12:19:55 +09:00
jsgoldstein
30c191aaa0
Add new public status index (#26344)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-24 16:40:04 +02:00
KMY
e656ab15a1 Merge remote-tracking branch 'parent/main' into kb_migration 2023-08-22 13:03:50 +09:00
Claire
9ed0c91a37
Add auto-refresh of accounts we get new messages/edits of (#26510) 2023-08-21 16:09:26 +02:00
KMY
de4aadb0a1 Merge remote-tracking branch 'parent/main' into kb_migration 2023-08-17 22:37:22 +09:00
Claire
cc4560d95b
Change “privacy and reach” settings so that unchecking boxes always increase privacy and checking them always increase reach (#26508) 2023-08-17 09:13:26 +02:00