Skip to content

Commit

Permalink
Misc bugs and release preparation for 3.3.9 (#2291)
Browse files Browse the repository at this point in the history
* SSP: always send isAdspaceEnabled in register. fixes xibosignage/xibo#3267
* Weather: fix issue with preloading background image select2. fixes xibosignage/xibo#3280
* Release Prep for 3.3.9
  • Loading branch information
dasgarner authored Jan 8, 2024
1 parent f09bb8a commit 3095896
Show file tree
Hide file tree
Showing 52 changed files with 91 additions and 106 deletions.
4 changes: 2 additions & 2 deletions lib/Helper/Environment.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/*
* Copyright (C) 2023 Xibo Signage Ltd
* Copyright (C) 2024 Xibo Signage Ltd
*
* Xibo - Digital Signage - https://xibosignage.com
*
Expand Down Expand Up @@ -30,7 +30,7 @@
*/
class Environment
{
public static $WEBSITE_VERSION_NAME = '3.3.8';
public static $WEBSITE_VERSION_NAME = '3.3.9';
public static $XMDS_VERSION = '6';
public static $XLF_VERSION = 3;
public static $VERSION_REQUIRED = '7.2.9';
Expand Down
21 changes: 2 additions & 19 deletions lib/Widget/ForecastIo.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/*
* Copyright (c) 2022 Xibo Signage Ltd
* Copyright (C) 2024 Xibo Signage Ltd
*
* Xibo - Digital Signage - http://www.xibo.org.uk
* Xibo - Digital Signage - https://xibosignage.com
*
* This file is part of Xibo.
*
Expand Down Expand Up @@ -1032,23 +1032,6 @@ public function getBackgroundList()
return self::WEATHER_BACKGROUNDS;
}

/**
* @return \Xibo\Entity\Media[]
* @throws \Xibo\Support\Exception\NotFoundException
*/
public function getBackgroundOptions()
{
$initBackgrounds = [];

foreach (self::WEATHER_BACKGROUNDS as $background) {
if ($this->getOption($background) != $background) {
$initBackgrounds[] = $this->getOption($background);
}
}

return $this->mediaFactory->query(null, array('disableUserCheck' => 1, 'id' => $initBackgrounds, 'allModules' => 1, 'type' => 'image'));
}

/**
* @return mixed
*/
Expand Down
12 changes: 5 additions & 7 deletions lib/Xmds/Soap5.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/*
* Copyright (c) 2022 Xibo Signage Ltd
* Copyright (C) 2024 Xibo Signage Ltd
*
* Xibo - Digital Signage - http://www.xibo.org.uk
* Xibo - Digital Signage - https://xibosignage.com
*
* This file is part of Xibo.
*
Expand Down Expand Up @@ -264,11 +264,9 @@ public function RegisterDisplay($serverKey, $hardwareKey, $displayName, $clientT

// Adspace Enabled CMS?
$isAdspaceEnabled = intval($this->getConfig()->getSetting('isAdspaceEnabled', 0));
if ($isAdspaceEnabled === 1) {
$node = $return->createElement('isAdspaceEnabled', 1);
$node->setAttribute('type', 'checkbox');
$displayElement->appendChild($node);
}
$node = $return->createElement('isAdspaceEnabled', $isAdspaceEnabled);
$node->setAttribute('type', 'checkbox');
$displayElement->appendChild($node);

if (!empty($display->timeZone)) {
// Calculate local time
Expand Down
Empty file modified locale/README.md
100644 → 100755
Empty file.
Binary file modified locale/af.mo
100644 → 100755
Binary file not shown.
Binary file modified locale/ar.mo
100644 → 100755
Binary file not shown.
Binary file modified locale/bg.mo
100644 → 100755
Binary file not shown.
Binary file modified locale/ca.mo
100644 → 100755
Binary file not shown.
Binary file modified locale/cs.mo
100644 → 100755
Binary file not shown.
Binary file modified locale/da.mo
100644 → 100755
Binary file not shown.
5 changes: 3 additions & 2 deletions locale/dbtranslate.php
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php
/*
* Xibo - Digital Signage - http://www.xibo.org.uk
* Copyright (C) 2009-12 Daniel Garner
* Copyright (C) 2024 Xibo Signage Ltd
*
* Xibo - Digital Signage - https://xibosignage.com
*
* This file is part of Xibo.
*
Expand Down
Binary file modified locale/de.mo
100644 → 100755
Binary file not shown.
Loading

0 comments on commit 3095896

Please sign in to comment.