Post editing #202

Merged
floatingghost merged 51 commits from editing into develop 2022-09-06 19:24:03 +00:00

Rebased from #103

Rebased from #103
floatingghost added 49 commits 2022-09-06 18:39:56 +00:00
1f705b5cab Send the correct update in streamer
get_create_by_ap_id_with_object() seems to fetch the old object.
Why this happens needs further investigation.
3411bb819f Validate object data for incoming Update activities
In Create validator we do not validate the object data,
but that is because the object itself will go through the
pipeline again, which is not the case for Update. Thus,
we added validation for objects in Update activities.
9e88fbcdb1 Guard against outdated Updates
It is possible for an earlier Update to be received by us later.
For this, we now
(1) only allows Updates to poll counts if there is no updated field,
    or the updated field is the same as the last updated date or
    creation date;
(2) does not allow updating anything if the updated field
    is older than the last updated date or creation date;
(3) allows updating updatable fields otherwise (normal updates);
(4) if only the updated field is changed, it does not create
    a new history item on its own.
ci/woodpecker/push/woodpecker Pipeline is pending Details
ff7fbf70c0
Make NoEmptyPolicy work with Update
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline failed Details
6d7cad98f8
add changelog entry
floatingghost added 1 commit 2022-09-06 18:56:26 +00:00
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
c311a5e507
update streamer tests
floatingghost added 1 commit 2022-09-06 19:11:47 +00:00
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
83746b001e
Use actor_types() to determine whether the Update is for user
floatingghost merged commit 2641dcdd15 into develop 2022-09-06 19:24:03 +00:00
floatingghost deleted branch editing 2022-09-06 19:24:03 +00:00
floatingghost referenced this issue from a commit 2022-09-06 19:24:04 +00:00
rat referenced this issue from a commit 2024-02-25 20:33:29 +00:00
Sign in to join this conversation.
No description provided.