Add ability to set a default post expiry (#321)
authorfloatingghost <hannah@coffee-and-dreams.uk>
Mon, 28 Nov 2022 13:34:54 +0000 (13:34 +0000)
committerfloatingghost <hannah@coffee-and-dreams.uk>
Mon, 28 Nov 2022 13:34:54 +0000 (13:34 +0000)
commit0cfd5b4e89b02688342345755577e58eece3db0f
tree0ab64677fc9f7f495aef609234b9e8d99b56a9e8
parent2d019e14e386fdd3391bb6d0bf36348dad78b075
Add ability to set a default post expiry (#321)

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/321
13 files changed:
CHANGELOG.md
lib/pleroma/user.ex
lib/pleroma/web/api_spec/operations/account_operation.ex
lib/pleroma/web/api_spec/schemas/account.ex
lib/pleroma/web/mastodon_api/controllers/account_controller.ex
lib/pleroma/web/mastodon_api/controllers/status_controller.ex
lib/pleroma/web/mastodon_api/views/account_view.ex
lib/pleroma/web/mastodon_api/views/status_view.ex
priv/repo/migrations/20220905011454_generate_unset_user_keys.exs
priv/repo/migrations/20221128103145_add_per_user_post_expiry.exs [new file with mode: 0644]
test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
test/pleroma/web/mastodon_api/update_credentials_test.exs
test/pleroma/web/mastodon_api/views/account_view_test.exs