aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorbrad2014 <brad2014@users.noreply.github.com>2019-07-17 16:47:15 -0700
committerbrad2014 <brad2014@users.noreply.github.com>2019-07-31 12:55:50 -0700
commit8d8bcea1d8cb7328e898654874348a64afc773e4 (patch)
treef2f17e83fe5da329476ce4a41548c2f7b26d108c /config
parent1a2923996059aadbcd69000a85d51304ec9a9f8e (diff)
downloadnextcloud-server-8d8bcea1d8cb7328e898654874348a64afc773e4.tar.gz
nextcloud-server-8d8bcea1d8cb7328e898654874348a64afc773e4.zip
Move dav.invitation_link_recipients from getSystemValue to getAppValue
Per @georgehrke change request for PR #12392, instead of setting dav.invitation_link_recipients in the system config.php file, we set it in the database table oc_appconfig. Furthermore, the value of the config variable is always a string: 'yes' to include links in imip mail, 'no' to exclude them, or a comma-separated list of email addresses and/or domains for which they should be included. If not specified in oc_appconfig, the default is 'yes'. Signed-off-by: brad2014 <brad2014@users.noreply.github.com>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index d5f4bb5f437..9c3cc470995 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1697,33 +1697,6 @@ $CONFIG = array(
),
/**
-* The caldav server sends invitation emails to invitees, attaching the ICS
-* file for the invitation. It also may include, in the body of the e-mail,
-* invitation accept/reject web links referencing URL's that point to the nextcloud server.
-*
-* Although any recipient can read and reply to the ICS file via the iMip protocol,
-* we must only present the web links to recipients who can access the nextcloud
-* web server via their internet/intranet.
-*
-* When your nextcloud server is restricted behind a firewall, accessible
-* only via an internal network or via vpn, you can set "dav.invitation_link_recipients"
-* to the email address or email domain, or array of addresses or domains,
-* of recipients who can access the server. Only those recipients will get web links. External
-* users can accept/reject invitations by emailing back ICS files containing appropriate
-* messages, using the iMip protocol. Many mail clients support this functionality.
-*
-* To suppress iMip web links entirely, set dav.invitation_link_recipients to false.
-* To deliver iMip web links always, set dav.invitation_link_recipients to true.
-*
-* Examples:
-* 'dav.invitation_link_recipients' => 'internal.example.com',
-* 'dav.invitation_link_recipients' => array( 'internal.example.com', 'pat@roadwarrior.example.com' ),
-* 'dav.invitation_link_recipients' => false,
-*
-*/
-'dav.invitation_link_recipients' => true, // always include accept/reject server links in iMip emails
-
-/**
* By default there is on public pages a link shown that allows users to
* learn about the "simple sign up" - see https://nextcloud.com/signup/
*