distraction.party/lib/pleroma/web/mastodon_api
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
..
views Expose expires_at datetime in mastoAPI only for the activity actor 2019-07-24 14:47:22 +02:00
mastodon_api.ex Feature/1072 muting notifications 2019-07-14 13:29:31 +00:00
mastodon_api_controller.ex Hide blocked users from interactions 2019-07-22 02:42:29 +00:00
search_controller.ex Extend Pleroma.Pagination to support offset-based pagination, use async/await to execute status and account search in parallel 2019-07-11 13:55:31 +00:00
subscription_controller.ex Wrap error messages into gettext helpers 2019-07-10 18:10:09 +07:00
websocket_handler.ex MastoAPI Streaming: Keep compatibility with access_token 2019-07-07 08:49:29 +02:00