diff --git a/administrator/components/com_admin/sql/updates/mysql/3.3.6-2014-09-30.sql b/administrator/components/com_admin/sql/updates/mysql/3.3.6-2014-09-30.sql new file mode 100644 index 0000000000000..73b7c1ba0ed3f --- /dev/null +++ b/administrator/components/com_admin/sql/updates/mysql/3.3.6-2014-09-30.sql @@ -0,0 +1,5 @@ +INSERT INTO `#__update_sites` (`name`, `type`, `location`, `enabled`) VALUES +('Joomla! Update Component Update Site', 'extension', 'http://update.joomla.org/core/extensions/com_joomlaupdate.xml', 1); + +INSERT INTO `#__update_sites_extensions` (`update_site_id`, `extension_id`) VALUES +((SELECT `update_site_id` FROM `#__update_sites` WHERE `name` = 'Joomla! Update Component Update Site'), (SELECT `extension_id` FROM `#__extensions` WHERE `name` = 'com_joomlaupdate')); diff --git a/administrator/components/com_admin/sql/updates/postgresql/3.3.6-2014-09-30.sql b/administrator/components/com_admin/sql/updates/postgresql/3.3.6-2014-09-30.sql new file mode 100644 index 0000000000000..fae9c20d45522 --- /dev/null +++ b/administrator/components/com_admin/sql/updates/postgresql/3.3.6-2014-09-30.sql @@ -0,0 +1,5 @@ +INSERT INTO "#__update_sites" ("name", "type", "location", "enabled") VALUES +('Joomla! Update Component Update Site', 'extension', 'http://update.joomla.org/core/extensions/com_joomlaupdate.xml', 1); + +INSERT INTO "#__update_sites_extensions" ("update_site_id", "extension_id") VALUES +((SELECT "update_site_id" FROM "#__update_sites" WHERE "name" = 'Joomla! Update Component Update Site'), (SELECT "extension_id" FROM "#__extensions" WHERE "name" = 'com_joomlaupdate')); diff --git a/administrator/components/com_admin/sql/updates/sqlazure/3.3.6-2014-09-30.sql b/administrator/components/com_admin/sql/updates/sqlazure/3.3.6-2014-09-30.sql new file mode 100644 index 0000000000000..309ade5b7c50a --- /dev/null +++ b/administrator/components/com_admin/sql/updates/sqlazure/3.3.6-2014-09-30.sql @@ -0,0 +1,5 @@ +INSERT INTO [#__update_sites] ([name], [type], [location], [enabled]) +SELECT 'Joomla! Update Component Update Site', 'extension', 'http://update.joomla.org/core/extensions/com_joomlaupdate.xml', 1; + +INSERT INTO [#__update_sites_extensions] ([update_site_id], [extension_id]) +SELECT (SELECT [update_site_id] FROM [#__update_sites] WHERE [name] = 'Joomla! Update Component Update Site'), (SELECT [extension_id] FROM [#__extensions] WHERE [name] = 'com_joomlaupdate'); diff --git a/administrator/components/com_joomlaupdate/joomlaupdate.xml b/administrator/components/com_joomlaupdate/joomlaupdate.xml index 003bb1d792616..919cfe5e170fc 100644 --- a/administrator/components/com_joomlaupdate/joomlaupdate.xml +++ b/administrator/components/com_joomlaupdate/joomlaupdate.xml @@ -26,5 +26,8 @@ language/en-GB.com_joomlaupdate.sys.ini + + http://update.joomla.org/core/extensions/com_joomlaupdate.xml + diff --git a/build.xml b/build.xml index 328bb8774b759..ad0d33e2b0289 100644 --- a/build.xml +++ b/build.xml @@ -130,6 +130,21 @@ + + + + + + + + + + + + + + + diff --git a/build/.gitignore b/build/.gitignore index 79eabdf894a09..f9970ebc8abd3 100644 --- a/build/.gitignore +++ b/build/.gitignore @@ -6,3 +6,4 @@ # Ignore the folder the build script creates for packages /tmp +/com_joomlaupdate-pkg diff --git a/installation/sql/mysql/joomla.sql b/installation/sql/mysql/joomla.sql index 54a9028d719aa..bec63fe540893 100644 --- a/installation/sql/mysql/joomla.sql +++ b/installation/sql/mysql/joomla.sql @@ -1795,7 +1795,8 @@ CREATE TABLE IF NOT EXISTS `#__update_sites` ( INSERT INTO `#__update_sites` (`update_site_id`, `name`, `type`, `location`, `enabled`, `last_check_timestamp`) VALUES (1, 'Joomla! Core', 'collection', 'http://update.joomla.org/core/list.xml', 1, 0), (2, 'Joomla! Extension Directory', 'collection', 'http://update.joomla.org/jed/list.xml', 1, 0), -(3, 'Accredited Joomla! Translations', 'collection', 'http://update.joomla.org/language/translationlist_3.xml', 1, 0); +(3, 'Accredited Joomla! Translations', 'collection', 'http://update.joomla.org/language/translationlist_3.xml', 1, 0), +(4, 'Joomla! Update Component Update Site', 'extension', 'http://update.joomla.org/core/extensions/com_joomlaupdate.xml', 1, 0); -- -------------------------------------------------------- @@ -1816,7 +1817,8 @@ CREATE TABLE IF NOT EXISTS `#__update_sites_extensions` ( INSERT INTO `#__update_sites_extensions` (`update_site_id`, `extension_id`) VALUES (1, 700), (2, 700), -(3, 600); +(3, 600), +(4, 28); -- -------------------------------------------------------- diff --git a/installation/sql/postgresql/joomla.sql b/installation/sql/postgresql/joomla.sql index 58625edadf719..8923cd347c1ac 100644 --- a/installation/sql/postgresql/joomla.sql +++ b/installation/sql/postgresql/joomla.sql @@ -1716,7 +1716,8 @@ COMMENT ON TABLE "#__update_sites" IS 'Update Sites'; INSERT INTO "#__update_sites" ("update_site_id", "name", "type", "location", "enabled", "last_check_timestamp") VALUES (1, 'Joomla! Core', 'collection', 'http://update.joomla.org/core/list.xml', 1, 0), (2, 'Joomla! Extension Directory', 'collection', 'http://update.joomla.org/jed/list.xml', 1, 0), -(3, 'Accredited Joomla! Translations', 'collection', 'http://update.joomla.org/language/translationlist_3.xml', 1, 0); +(3, 'Accredited Joomla! Translations', 'collection', 'http://update.joomla.org/language/translationlist_3.xml', 1, 0), +(4, 'Joomla! Update Component Update Site', 'extension', 'http://update.joomla.org/core/extensions/com_joomlaupdate.xml', 1, 0); -- -- Table: #__update_sites_extensions @@ -1735,7 +1736,8 @@ COMMENT ON TABLE "#__update_sites_extensions" IS 'Links extensions to update sit INSERT INTO "#__update_sites_extensions" ("update_site_id", "extension_id") VALUES (1, 700), (2, 700), -(3, 600); +(3, 600), +(4, 28); -- -- Table: #__usergroups diff --git a/installation/sql/sqlazure/joomla.sql b/installation/sql/sqlazure/joomla.sql index f74b6ec506a35..7189fcbe7574c 100644 --- a/installation/sql/sqlazure/joomla.sql +++ b/installation/sql/sqlazure/joomla.sql @@ -2753,7 +2753,9 @@ SELECT 1, 'Joomla! Core', 'collection', 'http://update.joomla.org/core/list.xml' UNION ALL SELECT 2, 'Joomla! Extension Directory', 'collection', 'http://update.joomla.org/jed/list.xml', 1, 0 UNION ALL -SELECT 3, 'Accredited Joomla! Translations', 'collection', 'http://update.joomla.org/language/translationlist_3.xml', 1, 0; +SELECT 3, 'Accredited Joomla! Translations', 'collection', 'http://update.joomla.org/language/translationlist_3.xml', 1, 0 +UNION ALL +SELECT 4, 'Joomla! Update Component Update Site', 'extension', 'http://update.joomla.org/core/extensions/com_joomlaupdate.xml', 1, 0; SET IDENTITY_INSERT [#__update_sites] OFF; @@ -2775,7 +2777,9 @@ SELECT 1, 700 UNION ALL SELECT 2, 700 UNION ALL -SELECT 3, 600; +SELECT 3, 600 +UNION ALL +SELECT 4, 28; /****** Object: Table [#__updates] ******/ SET QUOTED_IDENTIFIER ON;