summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-03-16 14:25:55 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-03-16 14:25:55 +0300
commitf0651730bdf018b713e21ce718719c7781398362 (patch)
tree836e0fbcbb49f0ae78635a268e30013c0e94aea7 /config
parent98ed0d1c4bd2db354154cc4a1d1e6530eb68f499 (diff)
parentc2527b8c63a4e35b121981efe2c39cc54c77648d (diff)
downloadpleroma-f0651730bdf018b713e21ce718719c7781398362.tar.gz
pleroma-f0651730bdf018b713e21ce718719c7781398362.zip
Merge branch 'develop' into gun
Diffstat (limited to 'config')
-rw-r--r--config/benchmark.exs2
-rw-r--r--config/config.exs4
-rw-r--r--config/description.exs51
-rw-r--r--config/test.exs2
4 files changed, 2 insertions, 57 deletions
diff --git a/config/benchmark.exs b/config/benchmark.exs
index 84c6782a2..ff59395cf 100644
--- a/config/benchmark.exs
+++ b/config/benchmark.exs
@@ -61,8 +61,6 @@ config :web_push_encryption, :vapid_details,
config :web_push_encryption, :http_client, Pleroma.Web.WebPushHttpClientMock
-config :pleroma_job_queue, disabled: true
-
config :pleroma, Pleroma.ScheduledActivity,
daily_user_limit: 2,
total_user_limit: 3,
diff --git a/config/config.exs b/config/config.exs
index f0dab24b5..3ec1868b2 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -482,10 +482,6 @@ config :pleroma, :workers,
federator_outgoing: 5
]
-config :pleroma, :fetch_initial_posts,
- enabled: false,
- pages: 5
-
config :auto_linker,
opts: [
extra: true,
diff --git a/config/description.exs b/config/description.exs
index 531d73145..ee10515a7 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -1781,25 +1781,6 @@ config :pleroma, :config_description, [
]
},
%{
- group: :pleroma_job_queue,
- key: :queues,
- type: :group,
- description: "[Deprecated] Replaced with `Oban`/`:queues` (keeping the same format)"
- },
- %{
- group: :pleroma,
- key: Pleroma.Web.Federator.RetryQueue,
- type: :group,
- description: "[Deprecated] See `Oban` and `:workers` sections for configuration notes",
- children: [
- %{
- key: :max_retries,
- type: :integer,
- description: "[Deprecated] Replaced as `Oban`/`:queues`/`:outgoing_federation` value"
- }
- ]
- },
- %{
group: :pleroma,
key: Oban,
type: :group,
@@ -2008,25 +1989,6 @@ config :pleroma, :config_description, [
]
},
%{
- group: :pleroma,
- key: :fetch_initial_posts,
- type: :group,
- description: "Fetching initial posts settings",
- children: [
- %{
- key: :enabled,
- type: :boolean,
- description: "Fetch posts when a new user is federated with"
- },
- %{
- key: :pages,
- type: :integer,
- description: "The amount of pages to fetch",
- suggestions: [5]
- }
- ]
- },
- %{
group: :auto_linker,
key: :opts,
type: :group,
@@ -2597,19 +2559,6 @@ config :pleroma, :config_description, [
]
},
%{
- group: :tesla,
- type: :group,
- description: "Tesla settings",
- children: [
- %{
- key: :adapter,
- type: :module,
- description: "Tesla adapter",
- suggestions: [Tesla.Adapter.Hackney, Tesla.Adapter.Gun]
- }
- ]
- },
- %{
group: :pleroma,
key: :chat,
type: :group,
diff --git a/config/test.exs b/config/test.exs
index bce9dd4aa..040e67e4a 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -94,6 +94,8 @@ config :pleroma, Pleroma.Gun, Pleroma.GunMock
config :pleroma, Pleroma.Emails.NewUsersDigestEmail, enabled: true
+config :pleroma, Pleroma.Plugs.RemoteIp, enabled: false
+
if File.exists?("./config/test.secret.exs") do
import_config "test.secret.exs"
else