glitchier-soc/app/serializers/rest
Claire 686eaacbc8 Merge branch 'main' into glitch-soc/merge-upstream
Conflicts:
- `app/lib/activitypub/activity/create.rb`:
  Upstream refactored how `Create` activities are handled and how values are
  extracted from `Create`d objects. This conflicted with how glitch-soc
  supported the `directMessage` flag to explicitly distinguish between
  limited and direct messages.
  Ported glitch-soc's changes to latest upstream changes.
- `app/services/fan_out_on_write_service.rb`:
  Upstream largely refactored that file and changed some of the logic.
  This conflicted with glitch-soc's handling of the direct timeline and
  the options to allow replies and boosts in public feeds.
  Ported those glitch-soc changes on top of latest upstream changes.
- `app/services/process_mentions_service.rb`:
  Upstream refactored to move mention-related ActivityPub deliveries to
  `ActivityPub::DeliveryWorker`, while glitch-soc contained an extra check
  to not send local-only toots to remote mentioned users.
  Took upstream's version, as the check is not needed anymore, since it is
  performed at the `ActivityPub::DeliveryWorker` call site already.
- `app/workers/feed_insert_worker.rb`:
  Upstream added support for `update` toot events, while glitch-soc had
  support for an extra timeline support, `direct`.
  Ported upstream changes and extended them to the `direct` timeline.

Additional changes:
- `app/lib/activitypub/parser/status_parser.rb`:
  Added code to handle the `directMessage` flag and take it into account
  to compute visibility.
- `app/lib/feed_manager.rb`:
  Extended upstream's support of `update` toot events to glitch-soc's
  `direct` timeline.
2022-01-19 23:52:48 +01:00
..
admin Add notifications for statuses deleted by moderators () 2022-01-17 09:41:33 +01:00
keys Add E2EE API () 2020-06-02 19:24:53 +02:00
trends Add trending links () 2021-11-25 13:07:38 +01:00
account_serializer.rb Merge branch 'main' into glitch-soc/merge-upstream 2021-05-09 10:41:28 +02:00
announcement_serializer.rb Add support for links to statuses in announcements to be opened in web UI () 2020-03-08 16:10:48 +01:00
application_serializer.rb Add vapid_key to the application entity in the REST API () 2019-02-16 05:27:05 +01:00
context_serializer.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl () 2017-07-07 04:02:06 +02:00
conversation_serializer.rb Add unread indicator to conversations () 2018-10-19 01:47:29 +02:00
credential_account_serializer.rb Change silences to always require approval on follow () 2019-09-27 21:13:51 +02:00
custom_emoji_serializer.rb Add categories for custom emojis () 2019-06-28 15:54:10 +02:00
encrypted_message_serializer.rb Fix wrong route helper in encrypted messages controller () 2020-06-03 20:32:15 +02:00
featured_tag_serializer.rb Use existing FeaturedTag serializer and delete AccountFeaturedTag serializer () 2020-12-23 16:43:38 +01:00
filter_serializer.rb Fix filter ID not being a string in REST API () 2018-11-19 10:37:57 +01:00
instance_serializer.rb Merge branch 'main' into glitch-soc/merge-upstream 2021-07-11 21:41:23 +02:00
list_serializer.rb Add configuration option to filter replies in lists () 2020-09-01 13:31:28 +02:00
marker_serializer.rb Add timeline read markers API () 2019-09-06 13:55:51 +02:00
media_attachment_serializer.rb Stop setting a shortcode to newly-created media attachments () 2021-09-13 18:59:37 +02:00
mute_serializer.rb Define a serializer for /api/v1/mutes/details 2017-09-13 21:47:30 -05:00
muted_account_serializer.rb Add duration parameter to muting. () 2020-10-13 01:01:14 +02:00
notification_serializer.rb Add option to be notified when a followed user posts () 2020-09-18 17:26:45 +02:00
poll_serializer.rb Add voters count support () 2019-09-29 22:58:01 +02:00
preferences_serializer.rb Add a preferences API so apps can share basic behaviours () 2019-03-15 02:39:20 +01:00
preview_card_serializer.rb Add blurhash to preview cards () 2020-06-05 23:10:41 +02:00
reaction_serializer.rb Add announcements () 2020-01-23 22:00:13 +01:00
relationship_serializer.rb Add option to be notified when a followed user posts () 2020-09-18 17:26:45 +02:00
report_serializer.rb Change IDs to strings rather than numbers in API JSON output () 2017-09-20 14:53:48 +02:00
rule_serializer.rb Add server rules () 2021-02-21 19:50:12 +01:00
scheduled_status_serializer.rb Fix wrong param name in scheduled statuses and return params in API () 2019-01-06 12:03:27 +01:00
search_serializer.rb Remove deprecated GET /api/v1/search API () 2019-09-13 16:11:13 +02:00
status_edit_serializer.rb Add support for editing for published statuses () 2022-01-19 22:37:27 +01:00
status_serializer.rb Merge branch 'main' into glitch-soc/merge-upstream 2022-01-19 23:52:48 +01:00
status_source_serializer.rb Add support for editing for published statuses () 2022-01-19 22:37:27 +01:00
suggestion_serializer.rb Add cold-start follow recommendations () 2021-04-12 12:37:14 +02:00
tag_serializer.rb Track trending tags () 2018-05-27 21:45:30 +02:00
web_push_subscription_serializer.rb Fix alerts booleans not being typecast correctly in push subscription () 2019-07-21 18:10:07 +02:00