pleroma/lib/pleroma
Tusooa Zhu 069554e925
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.
2022-07-07 15:11:29 -04:00
..
activity Fix incorrectly cached content after editing 2022-06-09 11:39:51 -04:00
bbs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
captcha Copyright bump for 2022 2022-02-25 23:11:42 -07:00
chat Copyright bump for 2022 2022-02-25 23:11:42 -07:00
config Better way of getting keys 2022-07-01 12:15:02 +02:00
conversation Copyright bump for 2022 2022-02-25 23:11:42 -07:00
docs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
ecto_type EctoType: Add MIME validator 2022-03-17 22:37:26 +01:00
emails Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' 2022-03-20 18:14:37 +00:00
emoji Copyright bump for 2022 2022-02-25 23:11:42 -07:00
gopher Copyright bump for 2022 2022-02-25 23:11:42 -07:00
gun Copyright bump for 2022 2022-02-25 23:11:42 -07:00
helpers Copyright bump for 2022 2022-02-25 23:11:42 -07:00
http hackney adapter helper & reverse proxy client: enable TLSv1.3 2022-05-31 00:51:45 +02:00
instances Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mfa Copyright bump for 2022 2022-02-25 23:11:42 -07:00
migration_helper Copyright bump for 2022 2022-02-25 23:11:42 -07:00
migrators Copyright bump for 2022 2022-02-25 23:11:42 -07:00
object Guard against outdated Updates 2022-07-07 15:11:29 -04:00
password Copyright bump for 2022 2022-02-25 23:11:42 -07:00
reverse_proxy hackney adapter helper & reverse proxy client: enable TLSv1.3 2022-05-31 00:51:45 +02:00
telemetry Copyright bump for 2022 2022-02-25 23:11:42 -07:00
tesla/middleware Copyright bump for 2022 2022-02-25 23:11:42 -07:00
tests Copyright bump for 2022 2022-02-25 23:11:42 -07:00
upload Descriptions from exif data with only whitespeces are considered empty 2022-07-01 13:47:23 +02:00
uploaders Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user Copyright bump for 2022 2022-02-25 23:11:42 -07:00
web Fix cannot get full history on object fetch 2022-07-06 01:19:53 -04:00
workers Copyright bump for 2022 2022-02-25 23:11:42 -07:00
activity.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
announcement.ex Use utc_datetime in db schema 2022-03-18 11:17:22 -04:00
announcement_read_relationship.ex Implement announcement read relationships 2022-03-08 13:09:49 -05:00
application.ex Fix incorrectly cached content after editing 2022-06-09 11:39:51 -04:00
application_requirements.ex Rename the Exiftool module 2022-07-01 12:15:02 +02:00
bookmark.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
caching.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
captcha.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
chat.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
clippy.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
config.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
config_db.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
constants.ex Merge branch 'develop' into 'from/upstream-develop/tusooa/edits' 2022-07-03 22:24:57 +00:00
conversation.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
counter_cache.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
data_migration.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
delivery.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
ecto_enums.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
emoji-test.txt Add unicode 14 support 2022-02-21 12:28:33 -06:00
emoji.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
filter.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
following_relationship.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
formatter.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
frontend.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
gun.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
hashtag.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
healthcheck.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
html.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
http.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
instances.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
job_queue_monitor.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
jwt.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
keys.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
list.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
logging.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
maintenance.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
maps.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
marker.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mfa.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
moderation_log.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
notification.ex Lint 2022-06-05 16:35:01 -04:00
object.ex Unify the logic of updating objects 2022-06-25 00:32:22 -04:00
object_tombstone.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
otp_version.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
pagination.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
password_reset_token.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
registration.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
release_tasks.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
repo.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
report_note.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
reverse_proxy.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
scheduled_activity.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
signature.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
stats.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
thread_mute.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
upload.ex Merge branch 'develop' into 'from/upstream-develop/tusooa/edits' 2022-07-03 22:24:57 +00:00
user.ex Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' 2022-03-20 18:14:37 +00:00
user_invite_token.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_note.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_relationship.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
utils.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
web.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00
xml_builder.ex Copyright bump for 2022 2022-02-25 23:11:42 -07:00