From adfaa2b1404e5a66cde66a563951fc24577e01f4 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 25 Dec 2023 00:30:05 -0700 Subject: [PATCH 1/2] Update AP ProfileTransformer, add published attribute --- app/Transformer/ActivityPub/ProfileTransformer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Transformer/ActivityPub/ProfileTransformer.php b/app/Transformer/ActivityPub/ProfileTransformer.php index cdd4eb82..45d22cd1 100644 --- a/app/Transformer/ActivityPub/ProfileTransformer.php +++ b/app/Transformer/ActivityPub/ProfileTransformer.php @@ -40,6 +40,7 @@ class ProfileTransformer extends Fractal\TransformerAbstract 'url' => $profile->url(), 'manuallyApprovesFollowers' => (bool) $profile->is_private, 'indexable' => (bool) $profile->indexable, + 'published' => $profile->created_at->format('Y-m-d') . 'T00:00:00Z', 'publicKey' => [ 'id' => $profile->permalink().'#main-key', 'owner' => $profile->permalink(), From f66b9fe74e1bfc7842ab9d0fac21c05847bbf188 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 25 Dec 2023 00:31:05 -0700 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ab35fec..10b13f26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,6 +83,7 @@ - Update ApiV1Controller, set last_active_at ([b6419545](https://github.com/pixelfed/pixelfed/commit/b6419545)) - Update AdminShadowFilter, fix deleted profile bug ([a492a95a](https://github.com/pixelfed/pixelfed/commit/a492a95a)) - Update FollowerService, add $silent param to remove method to more efficently purge relationships ([1664a5bc](https://github.com/pixelfed/pixelfed/commit/1664a5bc)) +- Update AP ProfileTransformer, add published attribute ([adfaa2b1](https://github.com/pixelfed/pixelfed/commit/adfaa2b1)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.11.9 (2023-08-21)](https://github.com/pixelfed/pixelfed/compare/v0.11.8...v0.11.9)