]> cat aescling's git repositories - mastodon.git/commit
Fix edits with no actual changes being allowed (#17843)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 25 Mar 2022 23:38:44 +0000 (00:38 +0100)
committerGitHub <noreply@github.com>
Fri, 25 Mar 2022 23:38:44 +0000 (00:38 +0100)
commit71f2b95106b2e75d3efb40040b29c216c2d99ee6
tree4a84b1bc4238cacde0eb05acbfce81b682643ddb
parente3a220306181f9aeda41940bfb11e4350d113e77
Fix edits with no actual changes being allowed (#17843)

* Fix edits with no actual changes being allowed locally

* Fix edits with no actual changes being allowed through ActivityPub

* Fix false positive changes caused by description processing in model

* Fix not recording poll expiration update

* Fix test

* Revert changes to ProcessStatusUpdateService

* Various fixes and improvements

* Fix code style issues

* Various changes and improvements

* Add guard clause
app/lib/activitypub/parser/media_attachment_parser.rb
app/models/concerns/status_snapshot_concern.rb [new file with mode: 0644]
app/models/media_attachment.rb
app/models/status.rb
app/services/activitypub/process_status_update_service.rb
app/services/update_status_service.rb
spec/models/media_attachment_spec.rb
spec/services/activitypub/process_status_update_service_spec.rb
spec/services/update_status_service_spec.rb