Commit graph

66 commits

Author SHA1 Message Date
Claire
94d9a1930e Fix processing of mentions for post edits with an existing corresponding silent mention (#33227) 2025-01-16 22:47:47 +09:00
Claire
2472c85096 Fix processing incoming post edits with mentions to unresolvable accounts (#33129) 2024-12-04 08:42:56 +09:00
KMY
1c1f76697b Merge remote-tracking branch 'parent/main' into upstream-20241101 2024-11-01 08:04:03 +09:00
Jonny Saunders
9074c1fac9
Use likes and shares totalItems on status creations and updates (#32620) 2024-10-28 04:55:18 +00:00
KMY
d021659cb7 Merge remote-tracking branch 'parent/main' into upstream-20241009 2024-10-09 12:32:11 +09:00
Matt Jankowski
258dce1256
Add OpenSSL::SSL::SSLError to http connection errors wrapper (#32307) 2024-10-08 14:59:51 +00:00
Matt Jankowski
e8ec6667bd
Extract wrapper constant for HTTP::* error classes (#32285) 2024-10-08 13:53:35 +00:00
KMY
13ad383039 Merge remote-tracking branch 'parent/main' into upstream-20240531 2024-05-31 08:27:09 +09:00
Matt Jankowski
c61e356475
Add Status::MEDIA_ATTACHMENTS_LIMIT configuration constant (#30433) 2024-05-27 09:49:44 +00:00
KMY(雪あすか)
95ab1f729c
Change: #647 NGワードの入力フォーム (#663)
* Change: #647 NGワードの入力フォーム

* Wip: 画面改造

* テストコード、画面

* Fix: 複数の問題
2024-03-26 08:44:16 +09:00
KMY(雪あすか)
bc07ebef3d
Change: #556 ドメインブロック「フォローされていない相手からのリプライを拒否」に、参照を含める (#625) 2024-03-01 12:00:52 +09:00
KMY(雪あすか)
9dd11117db
Add: #605 リモート投稿に適用するセンシティブワード設定 (#612) 2024-02-27 10:14:42 +09:00
KMY(雪あすか)
7d96d5828e
Add: #600 NGルール (#602)
* Wip

* Wip

* Wip: History

* Wip: テストコード作成

* Fix test

* Wip

* Wip

* Wip

* Fix test

* Wip

* Wip

* Wip

* Wip

* なんとか完成、これから動作確認

* spell miss

* Change ng rule timings

* Fix test

* Wip

* Fix test

* Wip

* Fix form

* 表示まわりの改善
2024-02-26 17:45:41 +09:00
KMY(雪あすか)
e5ab4a3eb2
Add: #568 ハッシュタグ・メンション上限を超えた投稿もNGワード履歴に記録 (#579) 2024-02-17 12:16:41 +09:00
KMY(雪あすか)
a6b5e64e15
Add: #577 メンション数上限設定を、メンションされた全てのローカルアカウントが相手をフォローしている場合、そうでない場合で分けられるように (#578) 2024-02-17 11:05:29 +09:00
KMY(雪あすか)
7411941885
Add: メンション数上限 (#565)
* Add: メンション数上限

* Fix test
2024-02-17 09:50:06 +09:00
KMY(雪あすか)
76b5d4f2c6
Change: #538 NGワード「フォローしていないアカウントへのメンションで利用できないキーワード」を、参照投稿にも適用する (#544)
* Change: #538 NGワード「フォローしていないアカウントへのメンションで利用できないキーワード」を、参照投稿にも適用する

* Update create.rb

* Update create.rb

* Update create.rb

* Fix test
2024-02-16 18:19:14 +09:00
KMY(雪あすか)
7421c89431
Add: #545 NGワード指定で実際に除外された投稿のログ (#561) 2024-02-16 17:52:59 +09:00
KMY(雪あすか)
64a149b338
Fix: 投稿編集時にハッシュタグ拒否のドメインブロックが動作しない問題 (#519) 2024-02-05 09:07:51 +09:00
KMY
0199608b87 Merge remote-tracking branch 'parent/main' into upstream-20231206 2023-12-06 12:49:55 +09:00
Jonathan de Jong
d0a5ebf914
Fix error when encountering malformed Tag objects from Kbin (#28235) 2023-12-05 13:59:15 +00:00
KMY
0704829a9b Merge remote-tracking branch 'parent/main' into upstream-20231116 2023-11-14 09:14:19 +09:00
Eugen Rochko
0d14fcebae
Change link previews to keep original URL from the status (#27312) 2023-11-13 09:58:28 +00:00
KMY
b992e673c7 Merge branch 'kb_development' into upstream-20231021 2023-10-22 14:42:08 +09:00
KMY(雪あすか)
4f37ede886
Fix: #162 編集/他のサーバーからの編集で、フォローしていない相手からのメンションに関するNGワードに対応 (#163)
* Fix: #162 フォローしていないアカウントへのメンションのNGワードが編集で有効にならない問題

* Fix: 他のサーバーから来た編集についても適用
2023-10-22 09:40:20 +09:00
KMY(雪あすか)
5497e2ae5d
Add: カスタム絵文字のエイリアス名を連合 (#135)
* Add: カスタム絵文字のエイリアス名を連合

* Fix test
2023-10-22 09:09:01 +09:00
KMY
f9eaaec4e7 Merge remote-tracking branch 'parent/main' into upstream-20231021 2023-10-21 10:32:06 +09:00
Matt Jankowski
bcd0171e5e
Fix Lint/UselessAssignment cop (#27472) 2023-10-19 16:55:06 +02:00
KMY
22d03b06da カスタム絵文字のライセンス変更を他の場所でも保存 2023-10-07 12:25:29 +09:00
KMY
c4568be616 他サーバーからきた投稿の参照を同期的に取得 2023-10-02 13:15:14 +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
f2047e5b5a Fix test 2023-09-27 18:20:48 +09:00
KMY
a8419d83ba Merge remote-tracking branch 'parent/main' into kb_migration 2023-09-16 13:45:45 +09:00
Claire
6273416292
Fix post edits not being forwarded as expected (#26936) 2023-09-15 19:54:32 +02:00
KMY
a39b8cb90e Refactor status reference flag 2023-09-15 12:27:06 +09:00
KMY
71c451a569 Cache status reference mark when posting 2023-09-15 12:21:41 +09:00
KMY
b3d8d9a44b Fix variable name 2023-07-25 15:23:15 +09:00
KMY
6b8c81b4c0 Fix error in update activity 2023-07-25 15:22:32 +09:00
KMY
03dabcad9c Add post_hash_tags_max setting 2023-07-24 12:45:34 +09:00
KMY
c553275381 Add ng words for post/update 2023-07-24 10:38:36 +09:00
KMY
f22d5be2a3 Fix calling fetch_references_service 2023-07-11 18:52:00 +09:00
KMY
cadfbbab96 Add references activitypub support 2023-07-11 18:31:28 +09:00
KMY
629594ffc3 Add custom_emoji sensitive,license from account name or updated status 2023-05-23 08:40:19 +09:00
KMY
32f0e619f0 Merge commit 'f877aa9d70' into kb_migration 2023-05-07 14:50:12 +09:00
Matt Jankowski
f1c1dd0118
Rename with_lock to with_redis_lock to avoid confusion with ActiveRecord's method (#24741) 2023-05-02 18:16:07 +02:00
KMY
1502668ee5 Support 5 or more media_attachments from activitypub 2023-04-07 20:26:52 +09:00
Nick Schonning
e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier (#23697) 2023-02-18 12:37:47 +01:00
Nick Schonning
ed570050c6
Autofix Rails/EagerEvaluationLogMessage (#23429)
* Autofix Rails/EagerEvaluationLogMessage

* Update spec for debug block syntax
2023-02-07 03:44:36 +01:00
Claire
2644a28cb3
Change remote media files to be downloaded outside of transactions (#21796) 2022-12-15 18:09:48 +01:00
Claire
c8849d6cee
Fix unbounded recursion in account discovery (#22025)
* Fix trying to fetch posts from other users when fetching featured posts

* Rate-limit discovery of new subdomains

* Put a limit on recursively discovering new accounts
2022-12-07 00:15:24 +01:00