make user and email search optin default

This commit is contained in:
Philipp Rothmann 2022-10-24 13:30:07 +02:00
parent b1b1cc1bed
commit 3ec29424e8
2 changed files with 42 additions and 17 deletions

View File

@ -1 +1 @@
export CONFIG_YML_VERSION=v2
export CONFIG_YML_VERSION=v3

View File

@ -6,7 +6,7 @@ service:
# # The duration of the issed JWT tokens in seconds.
# # The default is 259200 seconds (3 Days).
# jwtttl: 259200
# # The duration of the "remember me" time in seconds. When the login request is made with
# # The duration of the "remember me" time in seconds. When the login request is made with
# # the long param set, the token returned will be valid for this period.
# # The default is 2592000 seconds (30 Days).
# jwtttllong: 2592000
@ -52,14 +52,14 @@ service:
# # If enabled, vikunja will send an email to everyone who is either assigned to a task or created it when a task reminder
# # is due.
# enableemailreminders: true
# # If true, will allow users to request the complete deletion of their account. When using external authentication methods
# # If true, will allow users to request the complete deletion of their account. When using external authentication methods
# # it may be required to coordinate with them in order to delete the account. This setting will not affect the cli commands
# # for user deletion.
# enableuserdeletion: true
# # The maximum size clients will be able to request for user avatars.
# # If clients request a size bigger than this, it will be changed on the fly.
# maxavatarsize: 1024
#
#
database:
# Database type to use. Supported types are mysql, postgres and sqlite.
type: "postgres"
@ -90,7 +90,7 @@ database:
# sslrootcert: ""
# # Enable SSL/TLS for mysql connections. Options: false, true, skip-verify, preferred
# tls: false
#
#
cache:
# If cache is enabled or not
enabled: true
@ -110,7 +110,7 @@ redis:
password: ''
# 0 means default database
db: 0
#
#
# cors:
# # Whether to enable or disable cors headers.
# # Note: If you want to put the frontend and the api on seperate domains or ports, you will need to enable this.
@ -121,7 +121,7 @@ redis:
# - "*"
# # How long (in seconds) the results of a preflight request can be cached.
# maxage: 0
#
#
{{ if eq (env "SMTP_ENABLED") "true" }}
mailer:
@ -170,7 +170,7 @@ log:
# events: "stdout"
# # The log level for event log messages. Possible values (case-insensitive) are ERROR, INFO, DEBUG.
# eventslevel: "DEBUG"
#
#
# ratelimit:
# # whether or not to enable the rate limit
# enabled: false
@ -184,14 +184,14 @@ log:
# # Possible values are "keyvalue", "memory" or "redis".
# # When choosing "keyvalue" this setting follows the one configured in the "keyvalue" section.
# store: keyvalue
#
#
# files:
# # The path where files are stored
# basepath: ./files # relative to the binary
# # The maximum size of a file, as a human-readable string.
# # Warning: The max size is limited 2^64-1 bytes due to the underlying datatype
# maxsize: 20MB
#
#
# migration:
# # These are the settings for the wunderlist migrator
# wunderlist:
@ -249,11 +249,11 @@ log:
# # with the code obtained from the microsoft graph api.
# # Note that the vikunja frontend expects this to be /migrate/microsoft-todo
# redirecturl: <frontend url>/migrate/microsoft-todo
#
#
# avatar:
# # When using gravatar, this is the duration in seconds until a cached gravatar user avatar expires
# gravatarexpiration: 3600
#
#
# backgrounds:
# # Whether to enable backgrounds for lists at all.
# enabled: true
@ -272,19 +272,19 @@ log:
# # It will only show in the UI if your application has been approved for Enterprise usage, therefore if
# # youre in Demo mode, you can also find the ID in the URL at the end: https://unsplash.com/oauth/applications/:application_id
# applicationid:
#
#
# # Legal urls
# # Will be shown in the frontend if configured here
# legal:
# imprinturl:
# privacyurl:
#
#
# # Key Value Storage settings
# # The Key Value Storage is used for different kinds of things like metrics and a few cache systems.
# keyvalue:
# # The type of the storage backend. Can be either "memory" or "redis". If "redis" is chosen it needs to be configured seperately.
# type: "memory"
#
#
auth:
# Local authentication will let users log in and register (if enabled) through the db.
# This is the default auth mechanism and does not require any additional configuration.
@ -302,7 +302,7 @@ auth:
{{ if eq (env "OAUTH_ENABLED") "true" }}
openid:
# Enable or disable OpenID Connect authentication
enabled: {{ env "OAUTH_ENABLED" }}
enabled: {{ env "OAUTH_ENABLED" }}
# The url to redirect clients to. Defaults to the configured frontend url. If you're using Vikunja with the official
# frontend, you don't need to change this value.
# redirecturl: <frontend url>
@ -325,4 +325,29 @@ auth:
# username:
# # If set to a non-empty value the /metrics endpoint will require this as a password via basic auth in combination with the username below.
# password:
#
#
# Provide default settings for new users. When a new user is created, these settings will automatically be set for the user. If you change them in the config file afterwards they will not be changed back for existing users.
defaultsettings:
# The avatar source for the user. Can be `gravatar`, `initials`, `upload` or `marble`. If you set this to `upload` you'll also need to specify `defaultsettings.avatar_file_id`.
# avatar_provider: initials
# The id of the file used as avatar.
# avatar_file_id: 0
# If set to true users will get task reminders via email.
# email_reminders_enabled: false
# If set to true will allow other users to find this user when searching for parts of their name.
discoverable_by_name: true
# If set to true will allow other users to find this user when searching for their exact email.
discoverable_by_email: true
# If set to true will send an email every day with all overdue tasks at a configured time.
# overdue_tasks_reminders_enabled: true
# When to send the overdue task reminder email.
# overdue_tasks_reminders_time: 9:00
# The id of the default list. Make sure users actually have access to this list when setting this value.
# default_list_id: 0
# Start of the week for the user. `0` is sunday, `1` is monday and so on.
# week_start: 0
# The language of the user interface. Must be an ISO 639-1 language code. Will default to the browser language the user uses when signing up.
# language: <unset>
# The time zone of each individual user. This will affect when users get reminders and overdue task emails.
# timezone: <time zone set at service.timezone>