]> cat aescling's git repositories - mastodon.git/commit
Add support for editing for published statuses (#16697)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 19 Jan 2022 21:37:27 +0000 (22:37 +0100)
committerGitHub <noreply@github.com>
Wed, 19 Jan 2022 21:37:27 +0000 (22:37 +0100)
commit1060666c583670bb3b89ed5154e61038331e30c3
tree11713b72bc62cd395dade4cb4fe7e397bf41ffec
parent2d1f082bb6bee89242ee8042dc19016179078566
Add support for editing for published statuses (#16697)

* Add support for editing for published statuses

* Fix references to stripped-out code

* Various fixes and improvements

* Further fixes and improvements

* Fix updates being potentially sent to unauthorized recipients

* Various fixes and improvements

* Fix wrong words in test

* Fix notifying accounts that were tagged but were not in the audience

* Fix mistake
56 files changed:
app/controllers/api/v1/statuses/histories_controller.rb [new file with mode: 0644]
app/controllers/api/v1/statuses/sources_controller.rb [new file with mode: 0644]
app/helpers/jsonld_helper.rb
app/javascript/mastodon/actions/importer/normalizer.js
app/javascript/mastodon/actions/statuses.js
app/javascript/mastodon/actions/streaming.js
app/javascript/mastodon/components/status.js
app/javascript/mastodon/features/status/components/detailed_status.js
app/javascript/styles/mastodon/components.scss
app/lib/activitypub/activity.rb
app/lib/activitypub/activity/announce.rb
app/lib/activitypub/activity/create.rb
app/lib/activitypub/activity/update.rb
app/lib/activitypub/parser/custom_emoji_parser.rb [new file with mode: 0644]
app/lib/activitypub/parser/media_attachment_parser.rb [new file with mode: 0644]
app/lib/activitypub/parser/poll_parser.rb [new file with mode: 0644]
app/lib/activitypub/parser/status_parser.rb [new file with mode: 0644]
app/lib/feed_manager.rb
app/lib/status_reach_finder.rb
app/models/poll.rb
app/models/status.rb
app/models/status_edit.rb [new file with mode: 0644]
app/serializers/activitypub/note_serializer.rb
app/serializers/rest/status_edit_serializer.rb [new file with mode: 0644]
app/serializers/rest/status_serializer.rb
app/serializers/rest/status_source_serializer.rb [new file with mode: 0644]
app/services/activitypub/fetch_remote_poll_service.rb
app/services/activitypub/process_poll_service.rb [deleted file]
app/services/activitypub/process_status_update_service.rb [new file with mode: 0644]
app/services/fan_out_on_write_service.rb
app/services/process_mentions_service.rb
app/services/remove_status_service.rb
app/workers/activitypub/distribution_worker.rb
app/workers/activitypub/raw_distribution_worker.rb
app/workers/activitypub/reply_distribution_worker.rb [deleted file]
app/workers/activitypub/update_distribution_worker.rb
app/workers/distribution_worker.rb
app/workers/feed_insert_worker.rb
app/workers/local_notification_worker.rb
app/workers/poll_expiration_notify_worker.rb
app/workers/push_update_worker.rb
config/routes.rb
db/migrate/20210904215403_add_edited_at_to_statuses.rb [new file with mode: 0644]
db/migrate/20210908220918_create_status_edits.rb [new file with mode: 0644]
db/schema.rb
spec/controllers/api/v1/statuses/histories_controller_spec.rb [new file with mode: 0644]
spec/controllers/api/v1/statuses/sources_controller_spec.rb [new file with mode: 0644]
spec/fabricators/preview_card_fabricator.rb [new file with mode: 0644]
spec/fabricators/status_edit_fabricator.rb [new file with mode: 0644]
spec/lib/status_reach_finder_spec.rb [new file with mode: 0644]
spec/models/status_edit_spec.rb [new file with mode: 0644]
spec/services/activitypub/fetch_remote_status_service_spec.rb
spec/services/fan_out_on_write_service_spec.rb
spec/services/process_mentions_service_spec.rb
spec/workers/activitypub/distribution_worker_spec.rb
spec/workers/feed_insert_worker_spec.rb