Commit graph

471 commits

Author SHA1 Message Date
KMY
527ded889d Merge remote-tracking branch 'parent/main' into kb-upstream-20231018 2023-10-18 11:13:56 +09:00
KMY(雪あすか)
9972dfae61 Revert "Merge"
This reverts commit 84eae6fac9.
2023-10-18 11:11:01 +09:00
KMY
84eae6fac9 Merge 2023-10-18 11:09:56 +09:00
Victor Lee
c4bddc9855
Add spec for poll model (#23399)
Co-authored-by: Nick Schonning <nschonni@gmail.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-10-17 14:56:24 +02:00
KMY
6451b853e7 Change: #82 フレンド申請時、自分のサーバーのInbox URLを伝える 2023-10-13 18:37:43 +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
acb29e5b11 Test: 参照コンテキスト取得 2023-10-08 19:14:41 +09:00
KMY
87afb5295a Revert "#66 検索時のフォロー中アカウント一覧作成処理を改善"
This reverts commit 22d1f52597.
2023-10-07 21:33:52 +09:00
KMY
22d1f52597 #66 検索時のフォロー中アカウント一覧作成処理を改善 2023-10-07 18:47:32 +09:00
KMY
583f5fe906 他のテストも修正 2023-10-07 15:31:35 +09:00
KMY
7cd6252841 Fix: Accountのテストがたまに落ちる問題(Mastodon本家の問題?) 2023-10-07 14:09:02 +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(雪あすか)
235bef36d0
Add: 検索許可「ローカルとフォロワー」 (#60) 2023-10-05 16:37:27 +09: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
9e91c1e653 Merge remote-tracking branch 'parent/main' into kb_development 2023-10-03 20:42:23 +09:00
Claire
ceb365c419
Fix boosts of local users being filtered in account timelines (#27204) 2023-10-03 12:21:42 +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
2f21aa5193 #15 Add misskey fork indexable support 2023-09-25 19:39:05 +09:00
KMY
a9b22883dc #13 Turn searchability private if account is silenced 2023-09-24 21:42:16 +09:00
KMY
258a29ffde Add unlisted-public tag/circle/list tests 2023-09-14 18:39:13 +09:00
KMY
af44c20d50 Add circle/mutuals test 2023-09-11 17:08:12 +09:00
KMY
979292d950 Merge remote-tracking branch 'parent/main' into kb_migration 2023-09-10 16:17:34 +09:00
Claire
1f99d86287
Fix blocked domain appears from account feed (#26823)
Co-authored-by: Jeong Arm <kjwonmail@gmail.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-09-06 21:04:48 +02:00
KMY
93faae7b63 Merge remote-tracking branch 'parent/main' into kb_migration 2023-09-04 21:21:04 +09:00
Christian Schmidt
ea31929776
Fix invalid Content-Type header for WebP images (#26773) 2023-09-04 09:46:33 +02:00
KMY
32cfd20257 Merge remote-tracking branch 'parent/main' into kb_migration 2023-09-03 10:55:46 +09:00
Claire
16681e0f20
Add admin notifications for new Mastodon versions (#26582) 2023-09-01 17:47:07 +02: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
adfa3524fc Merge remote-tracking branch 'parent/main' into kb_migration 2023-08-24 09:58:54 +09:00
Nick Schonning
b970ed6098
Update rubocop and rubocop-rspec (#26329) 2023-08-22 09:31:40 +02:00
KMY
083b5d32ae Add limited post tests 2023-08-22 11:44:12 +09:00
KMY
18583e5275 Add custom filter tests of kmyblue original params 2023-08-11 10:16:56 +09:00
KMY
1fb5269501 Merge remote-tracking branch 'parent/main' into kb_migration 2023-08-09 08:53:40 +09:00
KMY
7c9ea215a6 Update account_status_filter_spec for public_unlisted/login visibilities 2023-08-09 08:46:42 +09:00
KMY
114bd48c4b Add searchability account/status.compute_searchability test 2023-08-08 18:28:58 +09:00
KMY
8915cb4c2b Add searchability post/receive test 2023-08-08 14:03:48 +09:00
KMY
daa0f170c6 Add public_unlisted/login visibilities to public_feed_spec 2023-08-08 12:34:27 +09:00
Matt Jankowski
c363978782
Spec media attachment speedups (#25416) 2023-08-07 17:58:12 +02:00
S.H
696e4a10d6
独自機能の追加などで他の部分への影響が分かるようにCI周りの修正 (#1)
* Fix EmojiFormatter failure

* Add notification_emails.warning setting default value

* Fix list spec failure and add antennas for spec response

* Fix domain block spec failure to add kb custom response

* Fix SearchQueryTransformer spec failure

* Fix Account#matches_display_name spec failure

* Fix UpdateStatusService changes mentions spec failure

* Fix RuboCop Lint

* Ignore brakeman warning

* Fix CI failure for ignore brakeman warning

* Fix migration failure

* Fix README

* Fix migration CI failure

* Fix some spec failure

* Format code for RuboCop lint failure

* Fix ESlint failure

* Fix haml-lint failure
2023-08-07 21:38:15 +09:00
Christian Schmidt
f2257069b2
Fix AVIF attachments (#26264) 2023-08-01 19:34:11 +02:00
Matt Jankowski
6f1fa1364f
Fix RSpec/EmptyExampleGroup cop (#24735) 2023-07-28 23:15:33 +02:00
Claire
1e3b19230a
Add stricter protocol fields validation for accounts (#25937) 2023-07-20 18:23:48 +02:00
Matt Jankowski
c75df62ccc
Fix RSpec/SubjectDeclaration cop (#25312) 2023-07-12 09:49:33 +02:00
Claire
dc8f1fbd97
Merge pull request from GHSA-9928-3cp5-93fm
* Fix attachments getting processed despite failing content-type validation

* Add a restrictive ImageMagick security policy tailored for Mastodon

* Fix misdetection of MP3 files with large cover art

* Reject unprocessable audio/video files instead of keeping them unchanged
2023-07-06 15:05:05 +02:00
Matt Jankowski
05f9e39b32
Fix RSpec/VerifiedDoubles cop (#25469) 2023-06-22 14:55:22 +02:00
Claire
dd07393e75
Fix user settings not getting validated (#25508) 2023-06-19 14:06:06 +01:00