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
get_create_by_ap_id_with_object() seems to fetch the old object.
Why this happens needs further investigation.
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.
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.
Make NoEmptyPolicy work with Update
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
ff7fbf70c0
add changelog entry
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
6d7cad98f8
update streamer tests
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
c311a5e507
Use actor_types() to determine whether the Update is for user
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
83746b001e
floatingghost deleted branch editing 2022-09-06 19:24:03 +00:00
floatingghost referenced this pull request from a commit 2022-09-06 19:24:04 +00:00
rat referenced this pull request from a commit 2024-02-25 20:33:29 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AkkomaGang/akkoma!202
No description provided.