From 3f431aa7fd5bf40e19344e382128cdbaa473db80 Mon Sep 17 00:00:00 2001 From: Joe Steele Date: Fri, 13 Jun 2014 14:07:43 -0400 Subject: [PATCH 1/4] New update server URL GitHub is using new domains: https://developer.github.com/changes/2014-04-25-user-content-security/ Although the old URL is redirected, Joomla 2.5 does not follow the redirects (at least when using curl), so new updates are not discovered and the search for future updates is disabled. Current versions of J! 3.x are not affected and will follow the redirects. --- administrator/components/com_xmap/manifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administrator/components/com_xmap/manifest.xml b/administrator/components/com_xmap/manifest.xml index 9e144f5f..f8b9c497 100644 --- a/administrator/components/com_xmap/manifest.xml +++ b/administrator/components/com_xmap/manifest.xml @@ -81,6 +81,6 @@ - https://raw.github.com/guilleva/Xmap/master/xmap-update.xml + https://raw.githubusercontent.com/guilleva/Xmap/master/xmap-update.xml From 3703b6831acdcff3bb383dbb87c594a08bfc098d Mon Sep 17 00:00:00 2001 From: Joe Steele Date: Fri, 13 Jun 2014 16:06:39 -0400 Subject: [PATCH 2/4] Avoid 303 response codes when downloading updates When downloading an update, Joomla will follow redirects, but only if they return a response status of 302. The download links were returning a status of 303. This applies to both Joomla 2.5 and 3.x. --- xmap-update.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmap-update.xml b/xmap-update.xml index 4246aba6..6611b0e3 100644 --- a/xmap-update.xml +++ b/xmap-update.xml @@ -8,7 +8,7 @@ 2.3.4 http://www.jooxmap.com/downloads.html - http://www.jooxmap.com/downloads/finish/1-xmap/4-xmap-component.html + http://www.jooxmap.com/jdownloads/Xmap/com_xmap.zip stable @@ -26,7 +26,7 @@ 2.3.4 http://www.jooxmap.com/downloads.html - http://www.jooxmap.com/downloads/finish/1-xmap/4-xmap-component.html + http://www.jooxmap.com/jdownloads/Xmap/com_xmap.zip stable From c0dc0378b1f94f5c013e309253db32eb03879ae4 Mon Sep 17 00:00:00 2001 From: Joe Steele Date: Fri, 13 Jun 2014 19:22:49 -0400 Subject: [PATCH 3/4] Rename manifest This shouldn't be necessary, but Joomla gives an error when "Refresh Cache" is performed in "Extension Manager: Manage" with Xmap selected. This applies to both Joomla 2.5 and 3.x. In 2.5, an error is shown, but not in 3.x. In either case, refreshing cache causes the installed version number to be wiped out (blank). Because the installed version number gets wiped out, a check for updates will find an update, even though the update version is the same as the installed verion. --- administrator/components/com_xmap/{manifest.xml => xmap.xml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename administrator/components/com_xmap/{manifest.xml => xmap.xml} (100%) diff --git a/administrator/components/com_xmap/manifest.xml b/administrator/components/com_xmap/xmap.xml similarity index 100% rename from administrator/components/com_xmap/manifest.xml rename to administrator/components/com_xmap/xmap.xml From 5ecc07db3389d6b6d14ef4d4363be1e419f72a8c Mon Sep 17 00:00:00 2001 From: Joe Steele Date: Sat, 14 Jun 2014 00:19:04 -0400 Subject: [PATCH 4/4] Set update target to 3.x, not just 3.0 Otherwise no update will be found for Joomla 3.3. It's a regex match. --- xmap-update.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmap-update.xml b/xmap-update.xml index 6611b0e3..ab61268f 100644 --- a/xmap-update.xml +++ b/xmap-update.xml @@ -34,6 +34,6 @@ Xmap http://www.jooxmap.com
frs
- +