]> cat aescling's git repositories - mastodon.git/commit
Fix spurious edits and require incoming edits to be explicitly marked as such (#17918)
authorClaire <claire.github-309c@sitedethib.com>
Wed, 6 Apr 2022 19:01:02 +0000 (21:01 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Apr 2022 19:01:02 +0000 (21:01 +0200)
commit8f91e304a5adb98b657a5c096359d0423a5d7e84
tree86332766fc6501b0a80f0ae451603f71f0686e26
parent454ef42aab48e73613c4588faaacfb5941bd3e6a
Fix spurious edits and require incoming edits to be explicitly marked as such (#17918)

* Change post text edit to not be considered significant if it's identical after reformatting

* We don't need to clear previous change information anymore

* Require status edits to be explicit, except for poll tallies

* Fix tests

* Add some tests

* Add poll-related tests

* Add HTML-formatting related tests
app/services/activitypub/process_status_update_service.rb
spec/services/activitypub/fetch_remote_status_service_spec.rb
spec/services/activitypub/process_status_update_service_spec.rb