distraction.party/lib/pleroma/web/mastodon_api/views
Mike Verdone 3cb471ec06 Expose expires_at datetime in mastoAPI only for the activity actor
In the "pleroma" section of the MastoAPI for status activities you can
see an expires_at item that states when the activity will expire, or
nothing if the activity will not expire.

The expires_at date is only visible to the person who posted the
activity. This is the conservative approach in case some attacker
decides to write a logger for expiring posts. However, in the future of
OCAP, signed requests, and all that stuff, this attack might not be that
likely. Some other pleroma dev should remove the restriction in the code
at that time, if they're satisfied with the security implications of
doing so.
2019-07-24 14:47:22 +02:00
..
account_view.ex Add pleroma.deactivated to the Account entity (Mastodon API) 2019-07-16 11:14:46 +00:00
app_view.ex Add vapid_key to the POST /api/v1/apps response 2019-03-26 23:27:37 +03:00
conversation_view.ex Add license/copyright to all project files 2019-07-10 05:13:23 +00:00
filter_view.ex Make credo happy 2019-02-09 14:59:20 +01:00
list_view.ex update copyright years to 2019 2018-12-31 15:41:47 +00:00
mastodon_view.ex update copyright years to 2019 2018-12-31 15:41:47 +00:00
notification_view.ex Add is_seen to MastoAPI notifications, extract rendering logic into separate NotificationView, add tests 2019-03-15 01:35:48 +03:00
push_subscription_view.ex [#647] tests for web push 2019-03-06 13:20:12 +00:00
report_view.ex Reports 2019-02-20 16:51:25 +00:00
scheduled_activity_view.ex Add scheduler for sending scheduled activities to the queue 2019-04-06 23:56:29 +03:00
status_view.ex Expose expires_at datetime in mastoAPI only for the activity actor 2019-07-24 14:47:22 +02:00