From c8605d6b3d9e06d7b2bb49f0bcb5ab5ea87704b1 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 23 Jun 2020 22:53:23 +0200 Subject: [PATCH] Enable upload backgrounds by default --- config.yml.sample | 4 ++-- docs/content/doc/setup/config.md | 6 +++--- pkg/config/config.go | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config.yml.sample b/config.yml.sample index 93b2afe5444..293939ccae2 100644 --- a/config.yml.sample +++ b/config.yml.sample @@ -185,11 +185,11 @@ avatar: backgrounds: # Whether to enable backgrounds for lists at all. - enabled: false + enabled: true providers: upload: # Whethere to enable uploaded list backgrounds - enabled: false + enabled: true unsplash: # Whether to enable setting backgrounds from unsplash as list backgrounds enabled: false diff --git a/docs/content/doc/setup/config.md b/docs/content/doc/setup/config.md index 9f11f8c9e98..8132798f01f 100644 --- a/docs/content/doc/setup/config.md +++ b/docs/content/doc/setup/config.md @@ -228,11 +228,11 @@ avatar: backgrounds: # Whether to enable backgrounds for lists at all. - enabled: false + enabled: true providers: - upload: + upload: # Whethere to enable uploaded list backgrounds - enabled: false + enabled: true unsplash: # Whether to enable setting backgrounds from unsplash as list backgrounds enabled: false diff --git a/pkg/config/config.go b/pkg/config/config.go index 9776cfc129d..6df774412fe 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -253,8 +253,8 @@ func InitDefaultConfig() { AvatarProvider.setDefault("gravatar") AvatarGravaterExpiration.setDefault(3600) // List Backgrounds - BackgroundsEnabled.setDefault(false) - BackgroundsUploadEnabled.setDefault(false) + BackgroundsEnabled.setDefault(true) + BackgroundsUploadEnabled.setDefault(true) BackgroundsUnsplashEnabled.setDefault(false) }