aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/object/updater.ex
AgeCommit message (Collapse)Author
2022-07-23Make EnsureRePrepended history-awareTusooa Zhu
2022-07-23Make MRF Keyword history-awareTusooa Zhu
2022-07-07Guard against outdated UpdatesTusooa Zhu
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.
2022-06-25Reuse formerRepresentations from remote if possibleTusooa Zhu
2022-06-25Unify the logic of updating objectsTusooa Zhu