Skip to content
Snippets Groups Projects
Commit eb2dcb84 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

First version of the update server, works in Joomla; plugin templates not yet tested

parent 66c2a625
No related branches found
No related tags found
No related merge requests found
Showing
with 384 additions and 41 deletions
<?xml version="1.0" encoding="utf-8"?>
<updates>
<update>
<name>Subscribe Buyers to AcyMailing for VirtueMart</name>
<description>Virtuemart plugin to automatically subscribe buyers to certain AcyMailing Lists, and to allow subscription to notifications on the product page.</description>
<element>acymailing_subscribe_buyer</element>
<type>plugin</type>
<folder>vmcustom</folder>
<client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 -->
<version>1.4.2</version>
<infourl title="Subscribe Buyers to AcyMailing for VirtueMart">https://open-tools.net/virtuemart/acy-subscribe-buyers.html#versions</infourl>
<downloads>
<downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=34</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Open Tools</maintainer>
<maintainerurl>http://open-tools.net</maintainerurl>
<targetplatform name="joomla" version=".*" />
</update>
</updates>
<?xml version="1.0" encoding="utf-8"?>
<updates>
<update>
<name>Advanced Shipping by Rules for Virtuemart</name>
<description>Describe shipping costs with general rules including mathematical expressions. Very complex shipping cost structures (depending on the amount, postal code, weight, number of products and/or articles and coupon code) can be easily implemented.</description>
<element>rules_shipping_advanced</element>
<type>plugin</type>
<folder>vmshipment</folder>
<client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 -->
<version>5.7</version>
<infourl title="Advanced Shiping by Rules for VirtueMart">https://open-tools.net/documentation/shipping-by-rules-plugins-for-virtuemart.html#changelog</infourl>
<downloads>
<downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=12&amp;order_number=${order_number}&amp;order_pass=${order_pass}</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Open Tools</maintainer>
<maintainerurl>http://open-tools.net</maintainerurl>
<targetplatform name="joomla" version=".*" />
</update>
</updates>
<?xml version="1.0" encoding="utf-8"?>
<updates>
<update>
<name>Auto Parent Categories for Virtuemart</name>
<description>Virtuemart 2 plugin to automatically add products also to its parent categories, or remove them from all but the lowest categories. For child products, it can also assign them to the parent product's categories, or remove all categories.</description>
<element>vmAutoParentCategories</element>
<type>plugin</type>
<folder>system</folder>
<client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 -->
<version>1.3</version>
<infourl title="Auto Parent Categories for VirtueMart">https://open-tools.net/virtuemart/auto-parent-categories.html#changelog</infourl>
<downloads>
<downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=11</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Open Tools</maintainer>
<maintainerurl>http://open-tools.net</maintainerurl>
<targetplatform name="joomla" version=".*" />
</update>
</updates>
<?xml version="1.0" encoding="utf-8"?>
<updates>
<update>
<name>Add Buyers to Joomla Groups for VirtueMart</name>
<description>Virtuemart plugin to automatically add buyers to or remove buyers from Joomla user groups or VirtueMart Shopper groups.
</description>
<element>buyer_assign_group</element>
<type>plugin</type>
<folder>vmcustom</folder>
<client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 -->
<version>1.6</version>
<infourl title="Add Buyers to Joomla Groups for VirtueMart">https://open-tools.net/virtuemart/add-buyers-to-joomla-groups.html#changelog</infourl>
<downloads>
<downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=50&amp;order_number=${order_number}&amp;order_pass=${order_pass}</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Open Tools</maintainer>
<maintainerurl>http://open-tools.net</maintainerurl>
<targetplatform name="joomla" version=".*" />
</update>
</updates>
<?xml version="1.0" encoding="utf-8"?>
<updates>
<update>
<name>Downloads for Sale for VirtueMart</name>
<description>Downloadable products (both free and paid downloads) and downloads linked with purchased products for VirtueMart 2 and 3.</description>
<element>downloads_for_sale</element>
<type>plugin</type>
<folder>vmcustom</folder>
<client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 -->
<version>1.8</version>
<infourl title="Downloads for Sale for VirtueMart">https://open-tools.net/documentation/downloads-for-sale-plugin-for-virtuemart.html#changelog</infourl>
<downloads>
<downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=9&amp;order_number=${order_number}&amp;order_pass=${order_pass}</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Open Tools</maintainer>
<maintainerurl>http://open-tools.net</maintainerurl>
<targetplatform name="joomla" version=".*" />
</update>
</updates>
<?xml version="1.0" encoding="utf-8"?>
<updates>
<update>
<name>EU Sales Reports for VirtueMart</name>
<description>Generate and export EU sales reports (EU Recapitulative Statements) for your VirtueMart sales.</description>
<element>eurecap</element>
<type>plugin</type>
<folder>vmextended</folder>
<client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 -->
<version>0.3</version>
<infourl title="EU Sales Reports for VirtueMart">https://open-tools.net/virtuemart/vm-eu-sales-reports.html#changelog</infourl>
<downloads>
<downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=142</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Open Tools</maintainer>
<maintainerurl>http://open-tools.net</maintainerurl>
<targetplatform name="joomla" version=".*" />
</update>
</updates>
<?xml version="1.0" encoding="utf-8"?>
<updates>
<update>
<name>Name the Price for Virtuemart</name>
<description>Allow the user name their own price of a product or add a user-defined amount to the price of a product.</description>
<element>nametheprice</element>
<type>plugin</type>
<folder>vmcustom</folder>
<client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 -->
<version>1.4</version>
<infourl title="Name the Price for Virtuemart">https://open-tools.net/virtuemart/name-the-price.html#changelog</infourl>
<downloads>
<downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=44</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Open Tools</maintainer>
<maintainerurl>http://open-tools.net</maintainerurl>
<targetplatform name="joomla" version=".*" />
</update>
</updates>
<update> <?xml version="1.0" encoding="utf-8"?>
<name>Advanced Ordernumbers for Virtuemart</name>
<description>The most flexible and complete solution for your VirtueMart webshop to customize your order, invoice and customer numbers and the order passwords! For VirtueMart 2.x and 3.x. The running counters of the orders and invoices can be configured to use separate counters for different time periods, countries or even customers.</description> <updates>
<element>ordernumber</element> <update>
<type>plugin</type> <name>Advanced Ordernumbers for Virtuemart</name>
<folder>vmshopper</folder> <description>The most flexible and complete solution for your VirtueMart webshop to customize your order, invoice and customer numbers and the order passwords! For VirtueMart 2.x and 3.x. The running counters of the orders and invoices can be configured to use separate counters for different time periods, countries or even customers.</description>
<version>3.6</version> <element>ordernumber</element>
<infourl title="Advanced Ordernumbers for VirtueMart">http://open-tools.net/documentation/ordernumber-plugin-for-virtuemart.html#versions</infourl> <type>plugin</type>
<downloads> <folder>vmshopper</folder>
<downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=13&amp;order_number=${order_number}&amp;order_pass=${order_pass}</downloadurl> <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 -->
</downloads> <version>3.7</version>
<tags> <infourl title="Advanced Ordernumbers for VirtueMart">http://open-tools.net/documentation/ordernumber-plugin-for-virtuemart.html#versions</infourl>
<tag>stable</tag> <downloads>
</tags> <downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=13&amp;order_number=${order_number}&amp;order_pass=${order_pass}</downloadurl>
<maintainer>Open Tools</maintainer> </downloads>
<maintainerurl>http://open-tools.net</maintainerurl> <tags>
<section>Testing</section> <tag>stable</tag>
<targetplatform name="joomla" version=".*"/> </tags>
</update> <maintainer>Open Tools</maintainer>
\ No newline at end of file <maintainerurl>http://open-tools.net</maintainerurl>
<targetplatform name="joomla" version=".*" />
</update>
</updates>
<?xml version="1.0" encoding="utf-8"?>
<updates>
<update>
<name>Shipping by Rules for Virtuemart</name>
<description>Virtuemart plugin to specify shipping costs with bounds of the order properties. Very complex shipping cost structures (depending on the amount, weight, number of products and/or articles and postal code of the order) can be easily implemented.</description>
<element>rules_shipping</element>
<type>plugin</type>
<folder>vmshipment</folder>
<client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 -->
<version>5.7</version>
<infourl title="Shiping by Rules for VirtueMart">https://open-tools.net/documentation/shipping-by-rules-plugins-for-virtuemart.html#changelog</infourl>
<downloads>
<downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=10</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Open Tools</maintainer>
<maintainerurl>http://open-tools.net</maintainerurl>
<targetplatform name="joomla" version=".*" />
</update>
</updates>
<?xml version="1.0" encoding="utf-8"?>
<updates>
<update>
<name>Tax Report for Virtuemart</name>
<description></description>
<element>taxreport</element>
<type>plugin</type>
<folder>vmextended</folder>
<client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 -->
<version>0.1</version>
<infourl title="Advanced Ordernumbers for VirtueMart">http://open-tools.net/documentation/TODO</infourl>
<downloads>
<downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=TODO</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Open Tools</maintainer>
<maintainerurl>http://open-tools.net</maintainerurl>
<targetplatform name="joomla" version=".*" />
</update>
</updates>
<updates>
<update>
<name>XXXX</name>
<description>XXXX</description>
<element>XXXX</element>
<type>plugin</type>
<folder>XXXXX</folder>
<client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 -->
<version>0.0</version>
<infourl title="XXXX for VirtueMart">http://open-tools.net/documentation/XXXX.html#versions</infourl>
<downloads>
<downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=XXXX&amp;order_number=${order_number}&amp;order_pass=${order_pass}</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Open Tools</maintainer>
<maintainerurl>http://open-tools.net</maintainerurl>
<targetplatform name="joomla" version=".*" />
</update>
</updates>
<update>
<name>XXXX</name>
<description>XXXX</description>
<element>XXXX</element>
<type>plugin</type>
<folder>vmshopper</folder>
<version>0.0.1</version>
<infourl title="Joomla!">http://www.open-tools.net/</infourl>
<downloads>
<downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=13&amp;order_number=VM-13-0080&amp;order_pass=p_ff278</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Open Tools</maintainer>
<maintainerurl>http://open-tools.net</maintainerurl>
<section>Testing</section>
<targetplatform name="joomla" version=".*"/>
</update>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<updates>
<update>
<name>VM Customers to Joomla Groups Admin Panel</name>
<description>Manually assign Virtuemart product customers to Joomla usergroups in the Joomla Backend.</description>
<element>mod_vmassign_groups</element>
<type>module</type>
<version>1.1.0</version>
<infourl title="VM Customers to Joomla Groups Admin Panel">https://open-tools.net/virtuemart/customers-to-joomla-groups-admin-panel.html#changelog</infourl>
<downloads>
<downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=62</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Open Tools</maintainer>
<maintainerurl>http://open-tools.net</maintainerurl>
<targetplatform name="joomla" version=".*" />
</update>
</updates>
<?xml version="1.0" encoding="utf-8"?>
<updates>
<update>
<name>Version Compatibility Display for Virtuemart</name>
<description>Display software version compatibility (png/icons or text) for VirtueMart products.</description>
<element>versioncompat</element>
<type>plugin</type>
<folder>vmshopper</folder>
<client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 -->
<version>0.2</version>
<infourl title="Version Compatibility Display for VirtueMart">http://open-tools.net/TODO</infourl>
<downloads>
<downloadurl type="full" format="zip">https://open-tools.net/index.php?option=com_virtuemart&amp;view=plugin&amp;name=downloads_for_sale&amp;customfield_id=XXXX</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Open Tools</maintainer>
<maintainerurl>http://open-tools.net</maintainerurl>
<targetplatform name="joomla" version=".*" />
</update>
</updates>
{
"name": "XXXX",
"slug": "xxxx",
"homepage" : "http://www.open-tools.net/woocommerce/",
"download_url": "https://www.open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=13&order_number=${order_number}&amp;order_pass=${order_pass}",
"version": "0.0",
"upgrade_notice" : "Here's why you should upgrade...",
"author": "Open Tools",
"author_homepage" : "http://www.open-tools.net/",
"sections": {
"description": "Plugin description here, basic HTML allowed"
"installation" : "(Recommended) Installation instructions.",
"changelog" : "(Recommended) Changelog. <p>This section will be opened by default when the user clicks 'View version XYZ details'.</p>",
"custom_section" : "This is a custom section labeled 'Custom Section'."
}
}
{
"name": "XXXX",
"slug": "xxxx",
"homepage" : "http://www.open-tools.net/woocommerce/",
"download_url": "https://www.open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=13&order_number=${order_number}&amp;order_pass=${order_pass}",
"version": "0.0",
"upgrade_notice" : "Here's why you should upgrade...",
"author": "Open Tools",
"author_homepage" : "http://www.open-tools.net/",
"sections": {
"description": "Plugin description here, basic HTML allowed"
"installation" : "(Recommended) Installation instructions.",
"changelog" : "(Recommended) Changelog. <p>This section will be opened by default when the user clicks 'View version XYZ details'.</p>",
"custom_section" : "This is a custom section labeled 'Custom Section'."
}
}
{
"name": "XXXX",
"slug": "xxxx",
"homepage" : "http://www.open-tools.net/woocommerce/",
"download_url": "https://www.open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=13&order_number=${order_number}&amp;order_pass=${order_pass}",
"version": "0.0",
"upgrade_notice" : "Here's why you should upgrade...",
"author": "Open Tools",
"author_homepage" : "http://www.open-tools.net/",
"sections": {
"description": "Plugin description here, basic HTML allowed"
"installation" : "(Recommended) Installation instructions.",
"changelog" : "(Recommended) Changelog. <p>This section will be opened by default when the user clicks 'View version XYZ details'.</p>",
"custom_section" : "This is a custom section labeled 'Custom Section'."
}
}
{
"name": "XXXX",
"slug": "xxxx",
"homepage" : "http://www.open-tools.net/woocommerce/",
"download_url": "https://www.open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=13&order_number=${order_number}&amp;order_pass=${order_pass}",
"version": "0.0",
"upgrade_notice" : "Here's why you should upgrade...",
"author": "Open Tools",
"author_homepage" : "http://www.open-tools.net/",
"sections": {
"description": "Plugin description here, basic HTML allowed"
"installation" : "(Recommended) Installation instructions.",
"changelog" : "(Recommended) Changelog. <p>This section will be opened by default when the user clicks 'View version XYZ details'.</p>",
"custom_section" : "This is a custom section labeled 'Custom Section'."
}
}
{
"name": "XXXX",
"slug": "xxxx",
"homepage" : "http://www.open-tools.net/woocommerce/",
"download_url": "https://www.open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=13&order_number=${order_number}&amp;order_pass=${order_pass}",
"version": "0.0",
"upgrade_notice" : "Here's why you should upgrade...",
"author": "Open Tools",
"author_homepage" : "http://www.open-tools.net/",
"sections": {
"description": "Plugin description here, basic HTML allowed"
"installation" : "(Recommended) Installation instructions.",
"changelog" : "(Recommended) Changelog. <p>This section will be opened by default when the user clicks 'View version XYZ details'.</p>",
"custom_section" : "This is a custom section labeled 'Custom Section'."
}
}
index.php 100644 → 100755
...@@ -21,10 +21,10 @@ $extension = get_query_arg('extension'); ...@@ -21,10 +21,10 @@ $extension = get_query_arg('extension');
$order_number = get_query_arg('order_number'); $order_number = get_query_arg('order_number');
$order_pass = get_query_arg('order_pass'); $order_pass = get_query_arg('order_pass');
$tmplfile = __DIR__ . '/' . $package . '/' . $extension . '.tmpl' $tmplfile = __DIR__ . '/' . $package . '/' . $extension . '.tmpl';
if (file_exists($tmplfile)) { if (file_exists($tmplfile)) {
$updatefile = file_get_contents($tmplfile); $updatefile = file_get_contents($tmplfile);
$updatefile = str_replace($updatefile, '${order_number}', $order_number); $updatefile = str_replace('${order_number}', $order_number, $updatefile);
$updatefile = str_replace($updatefile, '${order_pass}', $order_pass); $updatefile = str_replace('${order_pass}', $order_pass, $updatefile);
echo $updatefile; echo $updatefile;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment