Add an API endpoint to install a new frontend
authorEgor Kislitsyn <egor@kislitsyn.com>
Tue, 27 Oct 2020 15:20:04 +0000 (19:20 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Tue, 27 Oct 2020 15:20:21 +0000 (19:20 +0400)
commit03e306785b2013fe6fd47b59d4e578c6ed586b08
treef85a46a671dcd98325e51cb89875eb70c5b9197b
parent2f7401806bbe5427bbcaa7cdce35130320ae3bb4
Add an API endpoint to install a new frontend
config/config.exs
lib/mix/tasks/pleroma/frontend.ex
lib/pleroma/frontend.ex [new file with mode: 0644]
lib/pleroma/web/admin_api/controllers/frontend_controller.ex [new file with mode: 0644]
lib/pleroma/web/admin_api/views/frontend_view.ex [new file with mode: 0644]
lib/pleroma/web/api_spec/operations/admin/frontend_operation.ex [new file with mode: 0644]
lib/pleroma/web/router.ex
lib/pleroma/workers/frontend_installer_worker.ex [new file with mode: 0644]
test/pleroma/frontend_test.exs [new file with mode: 0644]
test/pleroma/web/admin_api/controllers/frontend_controller_test.exs [new file with mode: 0644]