diff --git a/CHANGELOG.md b/CHANGELOG.md index 307dfc06..5b491610 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,14 @@ -# 4.1.3 - -**Bug fixes** +# 4.1.2 -* [HIGH] Update streams lack a "type" attribute for files hosted externally -* [MEDIUM] Fixed JavaScript error on manual creation of a new Item +**Other changes** -# 4.1.2 +* Removing checksums from the update stream by default to work around Joomla 3.9 bugs related to extension updates. **Bug fixes** * [HIGH] Automatic item descriptions cannot save multiple Environments +* [HIGH] Update streams lack a "type" attribute for files hosted externally +* [MEDIUM] Fixed JavaScript error on manual creation of a new Item # 4.1.1 diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 901602a2..0ea3fe1c 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -5,17 +5,17 @@ We are developing, testing and using Akeeba Release System using the latest vers * PHP 7.2 Akeeba Release System should be compatible with: -* Joomla! 3.4, 3.5, 3.6, 3.7, 3.8 -* PHP 5.4, 5.5, 5.6, 7.0, 7.1, 7.2. +* Joomla! 3.4, 3.5, 3.6, 3.7, 3.8, 3.9 +* PHP 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3. ## Changelog **Other changes** -* Joomla! 3.9 backend Components menu item compatibility - +* Removing checksums from the update stream by default to work around Joomla 3.9 bugs related to extension updates. **Bug fixes** -* Automatic Descriptions does not allow selection of multiple environments -* gh-155 Do not display unpublished Items in Latest view +* [HIGH] Automatic item descriptions cannot save multiple Environments +* [HIGH] Update streams lack a "type" attribute for files hosted externally +* [MEDIUM] Fixed JavaScript error on manual creation of a new Item diff --git a/component/backend/config.xml b/component/backend/config.xml index a90e2afc..52801f5a 100644 --- a/component/backend/config.xml +++ b/component/backend/config.xml @@ -17,6 +17,15 @@ label="COM_ARS_CONFIG_UPDATES_DESC_LABEL" description="COM_ARS_CONFIG_UPDATES_DESC_DESC" /> + + + + +
+ description="COM_ARS_CONFIG_BEGENCHANGELOG_DESC" + class="switcher btn-group" + > + description="COM_ARS_CONFIG_BECOLORISECHANGELOG_DESC" + class="switcher btn-group" + > @@ -46,63 +59,81 @@ + description="COM_ARS_CONFIG_SHOW_DOWNLOADS_DESC" + class="switcher btn-group" + > + description="COM_ARS_CONFIG_SHOW_FILESIZE_DESC" + class="switcher btn-group" + > + description="COM_ARS_CONFIG_SHOW_MD5_DESC" + class="switcher btn-group" + > + description="COM_ARS_CONFIG_SHOW_SHA1_DESC" + class="switcher btn-group" + > + description="COM_ARS_CONFIG_SHOW_SHA256_DESC" + class="switcher btn-group" + > + description="COM_ARS_CONFIG_SHOW_SHA384_DESC" + class="switcher btn-group" + > + description="COM_ARS_CONFIG_SHOW_SHA512_DESC" + class="switcher btn-group" + > + description="COM_ARS_CONFIG_SHOW_ENVIRONMENTS_DESC" + class="switcher btn-group" + > + description="COM_ARS_CONFIG_SHOW_DIRECTLINK_DESC" + class="switcher btn-group" + > @@ -137,7 +168,9 @@ + description="COM_ARS_CONFIG_BAN_FAILED_DESC" + class="switcher btn-group" + > diff --git a/component/frontend/View/Update/Xml.php b/component/frontend/View/Update/Xml.php index 432d6447..96eb4016 100644 --- a/component/frontend/View/Update/Xml.php +++ b/component/frontend/View/Update/Xml.php @@ -19,6 +19,12 @@ class Xml extends Raw public $published = false; + public $updates_name = ''; + public $updates_desc = ''; + public $category = 0; + public $envs = []; + public $showChecksums = false; + public function display($tpl = null) { $task = $this->getModel()->getState('task', 'all'); @@ -62,11 +68,12 @@ protected function onBeforeStream() { foreach ($rawenvs as $env) { - $envs[ $env->id ] = $env; + $envs[$env->id] = $env; } } - $this->envs = $envs; + $this->envs = $envs; + $this->showChecksums = $this->container->params->get('show_checksums', 0) == 1; $this->setLayout('stream'); } diff --git a/component/frontend/View/Update/tmpl/stream.php b/component/frontend/View/Update/tmpl/stream.php index de657d7b..bded8767 100644 --- a/component/frontend/View/Update/tmpl/stream.php +++ b/component/frontend/View/Update/tmpl/stream.php @@ -12,8 +12,9 @@ use Akeeba\ReleaseSystem\Site\Helper\Router; use Akeeba\ReleaseSystem\Site\Helper\Filter; -$rootURL = rtrim(JURI::base(), '/'); -$subpathURL = JURI::base(true); +$rootURL = rtrim(JURI::base(), '/'); +$subpathURL = JURI::base(true); +$showChecksums = isset($this->showChecksums) ? $this->showChecksums : false; if (!empty($subpathURL) && ($subpathURL != '/')) { @@ -205,21 +206,24 @@
Updates
- md5)): ?> - escape($item->md5) ?> - - sha1)): ?> - escape($item->sha1) ?> - - sha256)): ?> - escape($item->sha256) ?> - - sha384)): ?> - escape($item->sha384) ?> - - sha512)): ?> - escape($item->sha512) ?> - + + md5)): ?> + escape($item->md5) ?> + + sha1)): ?> + escape($item->sha1) ?> + + sha256)): ?> + escape($item->sha256) ?> + + sha384)): ?> + escape($item->sha384) ?> + + sha512)): ?> + escape($item->sha512) ?> + + client_id ?> diff --git a/translations/component/backend/en-GB/en-GB.com_ars.ini b/translations/component/backend/en-GB/en-GB.com_ars.ini index 5d6e1b4a..058ffe47 100644 --- a/translations/component/backend/en-GB/en-GB.com_ars.ini +++ b/translations/component/backend/en-GB/en-GB.com_ars.ini @@ -688,4 +688,7 @@ COM_ARS_CONFIG_BACKEND_LOAD_FEF_FRONTEND="Frontend only" COM_ARS_CONFIG_BACKEND_LOAD_FEF_BACKEND="Backend only" COM_ARS_CONFIG_BACKEND_LOAD_FEF_BOTH="Both" COM_ARS_CONFIG_BACKEND_FEF_RESET="Load CSS reset with Akeeba FEF" -COM_ARS_CONFIG_BACKEND_FEF_RESET_DESC="When enabled we will apply CSS properties reset for basic HTML elements inside the FEF container i.e. inside the component's chunk of HTML on the page. This breaks the styling of third party HTML code, such as HTML editors, loaded inside the component. Disable this if your HTML editor looks broken or you want to make template overrides using a different CSS framework, such as Bootstrap. If you don't understand what any of that means just choose 'Both' (the default option)." \ No newline at end of file +COM_ARS_CONFIG_BACKEND_FEF_RESET_DESC="When enabled we will apply CSS properties reset for basic HTML elements inside the FEF container i.e. inside the component's chunk of HTML on the page. This breaks the styling of third party HTML code, such as HTML editors, loaded inside the component. Disable this if your HTML editor looks broken or you want to make template overrides using a different CSS framework, such as Bootstrap. If you don't understand what any of that means just choose 'Both' (the default option)." + +COM_ARS_CONFIG_UPDATES_SHOW_CHECKSUMS_LABEL = "Show Checksums" +COM_ARS_CONFIG_UPDATES_SHOW_CHECKSUMS_DESC = "Show MD5, SHA-1, SHA-256, etc checksums in the update stream? Disabled by default because the implementation of checksum checking in Joomla! is buggy – if Joomla! fails to extract the ZIP file it reports checksum violations." \ No newline at end of file