diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-07-16 19:57:27 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-03-21 10:47:59 +0300 |
commit | e8107cc96a306086f509842cd7d5446c09931ba5 (patch) | |
tree | 2f5316384b365ec4f34fe8a3216b7a5c813339b7 /lib/pleroma/docs/json.ex | |
parent | 8f78361525e1123e82c51b541204fa9f0dba91d1 (diff) | |
download | pleroma-e8107cc96a306086f509842cd7d5446c09931ba5.tar.gz |
pleroma installer and config versioning
- added DynamicSupervisor, which starts Pleroma deps and restarts config dependent deps
- added pleroma installer, where user can configure database credentials
and pleroma config. Settings are saved into file and in database
- added versioning for in database config. New version is created from
changes which are passed to config update/delete endpoint. Every version
contains backup with all changes added through update. Versioning
supports rollbacks with N steps. With a rollback, all versions that
come after the version on which the rollback was made are deleted.
Diffstat (limited to 'lib/pleroma/docs/json.ex')
-rw-r--r-- | lib/pleroma/docs/json.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/docs/json.ex b/lib/pleroma/docs/json.ex index f22432ea4..42ea15549 100644 --- a/lib/pleroma/docs/json.ex +++ b/lib/pleroma/docs/json.ex @@ -5,7 +5,7 @@ defmodule Pleroma.Docs.JSON do @behaviour Pleroma.Docs.Generator @external_resource "config/description.exs" - @raw_config Pleroma.Config.Loader.read("config/description.exs") + @raw_config Pleroma.Config.Loader.read!("config/description.exs") @raw_descriptions @raw_config[:pleroma][:config_description] @term __MODULE__.Compiled |