Commit graph

33 commits

Author SHA1 Message Date
KMY(雪あすか)
c139f8947e
Add: _misskey_licenseの送受信 (#968) 2025-01-23 18:50:38 +09:00
KMY
3c77d4e8e4 Merge remote-tracking branch 'parent/main' into upstream-20241231 2024-12-31 11:56:36 +09:00
Matt Jankowski
0ac43700d8
Add coverage for REST::AnnualReportEventSerializer and two ActivityPub::* serializers (#33355)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-12-19 12:30:09 +00:00
KMY
910eafda63 Merge remote-tracking branch 'parent/main' into upstream-20241113 2024-11-13 08:17:38 +09:00
Matt Jankowski
870bb06994
Add coverage for misc serializers (#32781) 2024-11-07 15:37:26 +00:00
KMY
ab58aed910 Merge remote-tracking branch 'parent/main' into upstream-20241021 2024-10-21 07:07:48 +09:00
Matt Jankowski
b1c10969ac
Reduce factory creation (48 -> 8) in AP::Note serializer spec (#32492) 2024-10-15 13:10:03 +00:00
KMY
c905714459 Merge remote-tracking branch 'parent/main' into upstream-20240926 2024-09-26 08:29:41 +09:00
Matt Jankowski
5405bdd344
Remove unused E2EE messaging code (#31193) 2024-09-18 09:27:43 +00:00
KMY
91a2dc81c4 Fix: LD Signaturesで署名された投稿の検索許可(検索範囲)が改竄できる問題 2024-09-10 06:51:26 +09:00
KMY
951fe226c8 Fix test 2024-09-09 07:46:44 +09:00
KMY
f18eabfe75 Merge remote-tracking branch 'parent/main' into upstream-20240906 2024-09-06 08:42:24 +09:00
Matt Jankowski
f1003b2560
Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
KMY(雪あすか)
f29f3c5c85
Add: fep-e232引用仕様 (#725)
* Add: fep-e232引用仕様

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

* Refactoring

* Fix test
2024-01-19 08:39:58 +09:00
KMY
08f86bcb8f Merge commit '389a6cc4c0' into upstream-20231108 2023-11-08 10:41:10 +09:00
Matt Jankowski
1d51e10510
Consolidate JSON parsing in serializers specs (#27693) 2023-11-07 15:20:24 +00:00
Matt Jankowski
b06284c572
Fix RSpec/HookArgument cop (#27747) 2023-11-07 09:10:36 +00:00
KMY
3ccf0d02c6 Merge remote-tracking branch 'parent/main' into kb_development 2023-10-07 09:19:36 +09:00
Claire
3262d1f1b6
Fix incorrect serialization of regional languages in contentMap (#27207) 2023-10-06 17:46:04 +02:00
KMY(雪あすか)
235bef36d0
Add: 検索許可「ローカルとフォロワー」 (#60) 2023-10-05 16:37:27 +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
e16a885c81 Add QT attribute to send as quote 2023-09-20 12:34:11 +09:00
KMY
11300d7550 Allow private posts with references 2023-09-19 18:50:16 +09:00
KMY
818bcc0277 Fix quote is not set in noteserializer 2023-09-19 18:22:18 +09:00
KMY
fc2dab0fa9 Add test for sending unlisted post to misskey 2023-08-24 09:19:34 +09:00
Matt Jankowski
4c5aa0e470
Update rubocop-rspec to version 2.22.0, fix RSpec/IndexedLet cop (#24698) 2023-06-14 16:44:37 +02:00
Matt Jankowski
c42591356d
Fix RSpec/DescribedClass cop (#25104) 2023-06-06 13:58:33 +02:00
Matt Jankowski
56bddfbfa3
Serializers spec coverage (#24017) 2023-03-10 12:12:51 +01:00
Nick Schonning
19614ba247
Rename ActivityPub Serializer Specs (#23844) 2023-02-23 23:17:48 +01:00
Nick Schonning
4552685f6b
Autofix Rubocop RSpec/LeadingSubject (#23670) 2023-02-20 13:24:14 +09:00
ThibG
9a90ec3b3b Fix account URI in UpdatePollSerializer (#11194)
* Fix account URI in UpdatePollSerializer

Fixes #11185

* Add specs
2019-06-27 19:41:55 +02:00
ThibG
9d3c6f1849 Improved remote thread fetching (#10106)
* Fetch up to 5 replies when discovering a new remote status

This is used for resolving threads downwards. The originating
server must add a “replies” attributes with such replies for it to
be useful.

* Add some tests for ActivityPub::FetchRepliesWorker

* Add specs for ActivityPub::FetchRepliesService

* Serialize up to 5 public self-replies for ActivityPub notes

* Add specs for ActivityPub::NoteSerializer

* Move exponential backoff logic to a worker concern

* Fetch first page of paginated collections when fetching thread replies

* Add specs for paginated collections in replies

* Move Note replies serialization to a first CollectionPage

The collection isn't actually paginable yet as it has no id nor
a `next` field. This may come in another PR.

* Use pluck(:uri) instead of map(&:uri) to improve performances

* Fix fetching replies when they are in a CollectionPage
2019-02-28 15:22:21 +01:00