diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..b9f5efee1af05f0af468ec3105b69cc95e978788 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +logs/*.log + diff --git a/Joomla/AdvancedShippingByRules.tmpl b/Joomla/AdvancedShippingByRules.tmpl index 3549ebe749e2f0c849a5c40b9b2fecb2e7139a60..14591512b3d8a9159fb4479bb81059fc46212562 100644 --- a/Joomla/AdvancedShippingByRules.tmpl +++ b/Joomla/AdvancedShippingByRules.tmpl @@ -8,7 +8,7 @@ <type>plugin</type> <folder>vmshipment</folder> <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> - <version>5.7</version> + <version>6.1.5</version> <infourl title="Advanced Shiping by Rules for VirtueMart">http://open-tools.net/documentation/shipping-by-rules-plugins-for-virtuemart.html#changelog</infourl> <downloads> <downloadurl type="full" format="zip">http://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=12&order_number=${order_number}&order_pass=${order_pass}</downloadurl> diff --git a/Joomla/AutoParentCategories.tmpl b/Joomla/AutoParentCategories.tmpl index 568e8baca18a2c78d91b7749f959db8a8d433339..a1eced07db69f7d14d2608b11a7c9800c336aae5 100644 --- a/Joomla/AutoParentCategories.tmpl +++ b/Joomla/AutoParentCategories.tmpl @@ -8,7 +8,7 @@ <type>plugin</type> <folder>system</folder> <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> - <version>1.3.1</version> + <version>1.3.2</version> <infourl title="Auto Parent Categories for VirtueMart">http://open-tools.net/virtuemart/auto-parent-categories.html#changelog</infourl> <downloads> <downloadurl type="full" format="zip">http://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=11</downloadurl> diff --git a/Joomla/BuyerAssignGroups.tmpl b/Joomla/BuyerAssignGroups.tmpl index 4bbcc815721159f553455f66a635b520fb4c6470..d7b7db1a7066fe621e579c203befa68d7a276368 100644 --- a/Joomla/BuyerAssignGroups.tmpl +++ b/Joomla/BuyerAssignGroups.tmpl @@ -9,7 +9,7 @@ <type>plugin</type> <folder>vmcustom</folder> <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> - <version>1.6</version> + <version>1.6.2</version> <infourl title="Add Buyers to Joomla Groups for VirtueMart">http://open-tools.net/virtuemart/add-buyers-to-joomla-groups.html#changelog</infourl> <downloads> <downloadurl type="full" format="zip">http://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=50&order_number=${order_number}&order_pass=${order_pass}</downloadurl> diff --git a/Joomla/DownloadsForSale.tmpl b/Joomla/DownloadsForSale.tmpl index c7656a85ae386a6495a6d5015c66e88d0e90ec20..0b04854a7a5d9f75ab4ad776681861bf65ce0f7d 100644 --- a/Joomla/DownloadsForSale.tmpl +++ b/Joomla/DownloadsForSale.tmpl @@ -8,7 +8,7 @@ <type>plugin</type> <folder>vmcustom</folder> <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> - <version>1.8</version> + <version>1.8.2</version> <infourl title="Downloads for Sale for VirtueMart">http://open-tools.net/documentation/downloads-for-sale-plugin-for-virtuemart.html#changelog</infourl> <downloads> <downloadurl type="full" format="zip">http://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=9&order_number=${order_number}&order_pass=${order_pass}</downloadurl> diff --git a/Joomla/EURecap.tmpl b/Joomla/EURecap.tmpl index d9f734bafea75837cccf9a08795b18e6f2302e09..d645e95389d442a966ae8565019bee27584079e6 100644 --- a/Joomla/EURecap.tmpl +++ b/Joomla/EURecap.tmpl @@ -8,7 +8,7 @@ <type>plugin</type> <folder>vmextended</folder> <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> - <version>0.4</version> + <version>0.6</version> <infourl title="EU Sales Reports for VirtueMart">http://open-tools.net/virtuemart/vm-eu-sales-reports.html#changelog</infourl> <downloads> <downloadurl type="full" format="zip">http://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=142</downloadurl> diff --git a/Joomla/Ordernumber.tmpl b/Joomla/Ordernumber.tmpl index 7453ff8ffbb497a52539bc5f4ab7709c673045a2..6301663619eef8261f4c18adeb7972bf0dbdeb69 100644 --- a/Joomla/Ordernumber.tmpl +++ b/Joomla/Ordernumber.tmpl @@ -8,7 +8,7 @@ <type>plugin</type> <folder>vmshopper</folder> <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> - <version>3.7</version> + <version>4.0.3</version> <infourl title="Advanced Ordernumbers for VirtueMart">http://open-tools.net/documentation/ordernumber-plugin-for-virtuemart.html#versions</infourl> <downloads> <downloadurl type="full" format="zip">http://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=13</downloadurl> diff --git a/Joomla/ShippingByRules.tmpl b/Joomla/ShippingByRules.tmpl index b8a776f217b66ed3fe20437638b0391173a24d7c..35c1b804108e51c72a0a1757dd1f437a7013ff69 100644 --- a/Joomla/ShippingByRules.tmpl +++ b/Joomla/ShippingByRules.tmpl @@ -8,7 +8,7 @@ <type>plugin</type> <folder>vmshipment</folder> <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> - <version>5.7</version> + <version>6.1.5</version> <infourl title="Shiping by Rules for VirtueMart">http://open-tools.net/documentation/shipping-by-rules-plugins-for-virtuemart.html#changelog</infourl> <downloads> <downloadurl type="full" format="zip">http://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=10</downloadurl> diff --git a/Joomla/TaxReport.tmpl b/Joomla/TaxReport.tmpl index b95804d60aa9fb69b5525158ac25a3a37b64eb1e..779d04f64d21592944a467828a71223ab1c14a24 100644 --- a/Joomla/TaxReport.tmpl +++ b/Joomla/TaxReport.tmpl @@ -8,7 +8,7 @@ <type>plugin</type> <folder>vmextended</folder> <client>0</client><!-- Plugins use client_id=0 (FrontEnd), default would be 1 --> - <version>0.1</version> + <version>0.2</version> <infourl title="Advanced Ordernumbers for VirtueMart">http://open-tools.net/documentation/TODO</infourl> <downloads> <downloadurl type="full" format="zip">http://open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=TODO</downloadurl> diff --git a/WooCommerce/AdvancedOrdernumbers.tmpl b/WooCommerce/AdvancedOrdernumbers.tmpl index 2c568b3db362f875814c6a9566042c02a6945f5f..bd7edbbee196a57bc0e2dd5a740626326ad39b74 100644 --- a/WooCommerce/AdvancedOrdernumbers.tmpl +++ b/WooCommerce/AdvancedOrdernumbers.tmpl @@ -3,13 +3,23 @@ "slug": "woocommerce-advanced-ordernumbers", "homepage" : "http://open-tools.net/woocommerce/advanced-ordernumbers-for-woocommerce.html", "download_url": "http://www.open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=149&order_number=${order_number}&order_pass=${order_pass}", - "version": "1.2.1", - "upgrade_notice" : "Automatic upgrades", + "version": "1.3.6", + "upgrade_notice" : "1.3.6: Fix for old orders, fix JS for update credentials", "author": "Open Tools", "author_homepage" : "http://www.open-tools.net/", "sections": { "description": "The most flexible and complete solution for WooCommerce to customize your order and invoice numbers!", - "changelog" : "See <a href='http://open-tools.net/documentation/advanced-order-numbers-for-woocommerce.html#changelog'>the ChangeLog at open-tools.net</a>." + "changelog" : "See <a href='http://open-tools.net/documentation/advanced-order-numbers-for-woocommerce.html#changelog'>the ChangeLog at open-tools.net</a>. + <br> + <br> + <ul> + <li>1.3.6: Fix for old orders, fix JS for update credentials</li> + <li>1.3.5: New date-releated variables added</li> + <li>1.3.4: Fix php 5.3, fix timezone issues</li> + <li>1.3.3: Fix order tracking</li> + <li>1.3.2: Fix for pdf invoices and packaging slips plugin</li> + <li>1.3: Support for multi-vendor plugins (WC Product Vendors, WC Vendors and YITH WC Multi Vendor)</li> + </ul>" } } diff --git a/WooCommerce/AdvancedShippingByRules.tmpl b/WooCommerce/AdvancedShippingByRules.tmpl index 6b0a29f0764d2397d14ad559821fae88eb17fe4a..346d4760627b3e8b95da5b47f91fef81a82801ef 100644 --- a/WooCommerce/AdvancedShippingByRules.tmpl +++ b/WooCommerce/AdvancedShippingByRules.tmpl @@ -3,15 +3,14 @@ "slug": "woocommerce-advanced-shipping-by-rules", "homepage" : "http://www.open-tools.net/woocommerce/advanced-shipping-by-rules-for-woocommerce.html", "download_url": "http://www.open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=157&order_number=${order_number}&order_pass=${order_pass}", - "version": "1.0", - "upgrade_notice" : "Here's why you should upgrade...", + "version": "1.2.3", + "upgrade_notice" : "V1.2.3: Fix several PHP errors, update credentials input, etc.; V1.2.2: Fix warning about function signature mismatch<br>V1.2.1: Fix for warning with empty lines<br>V1.2: Support for multi-vendor plugins<br>V1.1.2: Fix for UK postcodes<br>V1.1.1: Fix for PHP 5.3; fix evaluate_for_XXX functions<br>", "author": "Open Tools", "author_homepage" : "http://www.open-tools.net/", "sections": { "description": "", - "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'." + "installation" : "Simply click Update to install the new version. ", + "changelog" : "<ul><li>V1.1.2: Fix for UK postcodes</li><li>V1.1.1: Fix for PHP 5.3, fix evaluate_for_XXX functions</li></ul>" } } diff --git a/WooCommerce/ShippingByRules.tmpl b/WooCommerce/ShippingByRules.tmpl deleted file mode 100644 index ac14deced5763c8d6c1ff558adf6a1b451c1b892..0000000000000000000000000000000000000000 --- a/WooCommerce/ShippingByRules.tmpl +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "WooCommerce Shipping by Rules", - "slug": "woocommerce-shipping-by-rules", - "homepage" : "http://www.open-tools.net/woocommerce/shipping-by-rules-for-woocommerce.html", - "download_url": "http://www.open-tools.net/index.php?option=com_virtuemart&view=plugin&name=downloads_for_sale&customfield_id=176", - "version": "1.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'." - } -} diff --git a/index.php b/index.php index ddeba276763879c0cc92d1d17bf0a6f7e578084c..339dfff5caafa6167069c32687a4dd258b0a581d 100755 --- a/index.php +++ b/index.php @@ -22,11 +22,13 @@ $order_number = get_query_arg('order_number'); $order_pass = get_query_arg('order_pass'); // Log all update queries -file_put_contents( - __DIR__.'/logs/access_'.date("Y-m-d").'.log', - date("c") . ", " . $_SERVER['REMOTE_ADDR'] . ", $package/$extension, $order_number, $order_pass\n", - FILE_APPEND -); +if ($_SERVER['REMOTE_ADDR'] != '5.9.51.179') { + file_put_contents( + __DIR__.'/logs/access_'.date("Y-m-d").'.log', + date("c") . ", " . $_SERVER['REMOTE_ADDR'] . ", $package/$extension, $order_number, $order_pass\n", + FILE_APPEND + ); +} $tmplfile = __DIR__ . '/' . $package . '/' . $extension . '.tmpl'; if (file_exists($tmplfile)) {