From 2caddb41ebb8af4c45910995c50e45cd518a4767 Mon Sep 17 00:00:00 2001 From: Git Repository Date: Sat, 6 May 2017 05:18:50 -0700 Subject: [PATCH 1/4] #1161 Move the config line for mail_domain to always reset the PRIMARY_HOST (#1163) --- CHANGELOG.md | 4 +++- setup/owncloud.sh | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44cd1b3f..0c97f5dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ Mail: ownCloud (now Nextcloud): * ownCloud is replaced with Nextcloud 10.0.5. +* Fixed an error in Owncloud/Nextcloud setup not updating domain when changing hostname. Control Panel/Management: @@ -19,6 +20,7 @@ Control Panel/Management: * Fix an error in the control panel related to IPv6 addresses. * TLS certificates for internationalized domain names can now be provisioned from Let's Encrypt automatically. + v0.22 (April 2, 2017) --------------------- @@ -160,7 +162,7 @@ v0.18 (May 15, 2016) ownCloud: -* Updated to ownCloud to 8.2.3 +* Updated to ownCloud to 8.2.3 Mail: diff --git a/setup/owncloud.sh b/setup/owncloud.sh index e270fab8..16fd4b9a 100755 --- a/setup/owncloud.sh +++ b/setup/owncloud.sh @@ -221,7 +221,6 @@ if [ ! -f $STORAGE_ROOT/owncloud/owncloud.db ]; then 'mail_smtpname' => '', 'mail_smtppassword' => '', 'mail_from_address' => 'owncloud', - 'mail_domain' => '$PRIMARY_HOSTNAME', ); ?> EOF @@ -262,6 +261,8 @@ fi # * We need to set the timezone to the system timezone to allow fail2ban to ban # users within the proper timeframe # * We need to set the logdateformat to something that will work correctly with fail2ban +# * mail_domain' needs to be set every time we run the setup. Making sure we are setting +# the correct domain name if the domain is being change from the previous setup. # Use PHP to read the settings file, modify it, and write out the new settings array. TIMEZONE=$(cat /etc/timezone) CONFIG_TEMP=$(/bin/mktemp) @@ -278,6 +279,8 @@ include("$STORAGE_ROOT/owncloud/config.php"); \$CONFIG['logtimezone'] = '$TIMEZONE'; \$CONFIG['logdateformat'] = 'Y-m-d H:i:s'; +\$CONFIG['mail_domain'] => '$PRIMARY_HOSTNAME', + echo " Date: Mon, 8 May 2017 13:23:12 +0200 Subject: [PATCH 2/4] Add changelog for custom dns CAA records (#1173) --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c97f5dd..525298a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,9 @@ Control Panel/Management: * Fix an error in the control panel related to IPv6 addresses. * TLS certificates for internationalized domain names can now be provisioned from Let's Encrypt automatically. +DNS: + +* Add support for custom CAA records. v0.22 (April 2, 2017) --------------------- From 1d9f9ea61769c14fd933724ad5670337d214a1f3 Mon Sep 17 00:00:00 2001 From: Michael Kroes Date: Mon, 8 May 2017 13:23:59 +0200 Subject: [PATCH 3/4] Fix two typos in setup/owncloud.sh regarding the setting of the hostname (#1172) --- setup/owncloud.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/owncloud.sh b/setup/owncloud.sh index 16fd4b9a..aba505a1 100755 --- a/setup/owncloud.sh +++ b/setup/owncloud.sh @@ -279,7 +279,7 @@ include("$STORAGE_ROOT/owncloud/config.php"); \$CONFIG['logtimezone'] = '$TIMEZONE'; \$CONFIG['logdateformat'] = 'Y-m-d H:i:s'; -\$CONFIG['mail_domain'] => '$PRIMARY_HOSTNAME', +\$CONFIG['mail_domain'] = '$PRIMARY_HOSTNAME'; echo " Date: Mon, 8 May 2017 04:25:16 -0700 Subject: [PATCH 4/4] download jQuery and Bootstrap during setup and serve locally so that we don't rely on a CDN which is blocked in some parts of the world (#1167) (#1171) --- CHANGELOG.md | 1 + management/templates/index.html | 12 ++++++------ setup/management.sh | 26 ++++++++++++++++++++++++++ 3 files changed, 33 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 525298a3..519d712c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ Control Panel/Management: * Fix an error in the control panel showing rsync backup status. * Fix an error in the control panel related to IPv6 addresses. * TLS certificates for internationalized domain names can now be provisioned from Let's Encrypt automatically. +* Download management web assets (jQuery/Bootstrap) to the static web root directory. DNS: diff --git a/management/templates/index.html b/management/templates/index.html index 6dc4f07d..15531c7d 100644 --- a/management/templates/index.html +++ b/management/templates/index.html @@ -9,7 +9,7 @@ - + - + @@ -191,8 +191,8 @@ - - + +