From 665a0d061460394b4b42ce09b5f00b82112f491e Mon Sep 17 00:00:00 2001 From: Tomas Bures Date: Sun, 12 Apr 2020 16:52:19 +0200 Subject: [PATCH] Initial draft of installation scripts for CentOS 8 Fixed bug in cancelling scheduled send - If campaign was scheduled to be sent, a checkbox was still shown on the campaign status page. This gave wrong impression that by unchecking the checkbox, the scheduling is cancelled. Checkbox is removed now and the "Pause" button has be renamed to "Cancel scheduling" Added default role for campaign admin that administer multiple namespaces. --- client/src/campaigns/Status.js | 6 ++-- server/config/default.yaml | 4 +++ server/models/campaigns.js | 2 +- setup/functions | 55 +++++++++++++++++++++++++++++++++- setup/install-centos8-https.sh | 11 +++++++ setup/install-centos8-local.sh | 11 +++++++ 6 files changed, 85 insertions(+), 4 deletions(-) create mode 100644 setup/install-centos8-https.sh create mode 100644 setup/install-centos8-local.sh diff --git a/client/src/campaigns/Status.js b/client/src/campaigns/Status.js index 3126d062..cd8c256c 100644 --- a/client/src/campaigns/Status.js +++ b/client/src/campaigns/Status.js @@ -419,7 +419,9 @@ class SendControls extends Component { content = (
- + {entity.status !== CampaignStatus.SCHEDULED && + + } {this.getFormValue('sendLater') &&
@@ -440,7 +442,7 @@ class SendControls extends Component { :