provide full replies collection in ActivityPub objects #904
No reviewers
Labels
No labels
approved, awaiting change
bug
cannot reproduce
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs change/feedback
needs docs
needs tests
not a bug
not our bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AkkomaGang/akkoma!904
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Oneric/akkoma:ap_replies_collection"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Until now only a limited number of self-replies were inlined as an anonymous, unordered ActivityPub collection. Notably the advertised replies might be private posts. (For reference; this restrricted inline version of the collection was added in early 2020 via pleroma#2129)
However, providing all (non-private) replies allows for better thread consistency across instances if the remote server cooperates.
The collection existing as a standalone object has two advantages for this. For one, if it was still anonymous, all replies would need to be inlined, which might be too bloated in pathological cases.
Secondly, it allows remote servers to update the thread by traversing the reply collection independent of the original post. (If the remote part knows about chronological ordering, it can in theory even efficiently resume from where it previously stopped)
NOTE:
tmpis just cherry -picked from other pending PRs so i don’t have to do annoying migration reverts/applications and dep refetches and recompiles over and over again; manging so many branches is already annoying enough as is. They should be ignored when looking at thisTODO:
uuidpath pramter ends up as a query paramter in page URIswhich supposedly (untested) doesn't happen for in/outboxes.Update: this also affected in/outboxes afterall, since they too are using string paramters. Avoided now by never including path params in the first place
Update: seems all good
Tangential remark
I suspect this fell victim to the hotfixes in the 3.15.x series; specifically d62808e4b though idk what it was supposed to fix given there won't be any
userassign if neither an oauth header nor a HTTP signature is present177d3bf93582fc8c869682fc8c8696a56f4186c3a56f4186c3ba11f499f7ba11f499f7ceb05f6bbdWIP: provide full replies collection in ActivityPub objectsto provide full replies collection in ActivityPub objectsceb05f6bbdb41a13df56