CHANGELOG v1.3.0 Stable A = Added new file M = Modified existing file ************************************************************************ * Important Notes! ************************************************************************ 1. We removed the option of "Never" from Media -> Download controls. Download controls are meant to limit access to media sets. If you don't want to limit access to a media set (customer downloads) then simply don't use download controls. This release includes multiple changes to the Digtial Goods Delivery systems. It's highly recommended you upgrade to v1.3. 2. We've added a new "UPGRADE_LOCALIZATIONS.sql" to the v1.3 Upgrade directory. Run this file through phpmyadmin or mysql directly. You can run all the queries at once. However, please run "UPGRADES.sql" one query at a time. ************************************************************************ * New Features (5) ************************************************************************ 1. Added the option to disable downloads completely or only limit downloads to media sets assigned before the download control expiration date. ------------------------------------------------------------------------ M /trunk/admin/modules/media/lib/classes/media.php M /trunk/admin/modules/media/media_editor.php M /trunk/admin/templates/default/media/media_editor.php M /trunk/api/modules/customer_areas/my_package_details.php M /trunk/customers/compiler/my_package_details.php M /trunk/customers/templates/default/my_package_details.php M /trunk/admin/modules/download_control/control_editor.php M /trunk/Upgrade/v1.3.0/UPGRADES.sql M /trunk/admin/modules/download_control/control_edit.php M /trunk/admin/modules/download_control/control_editor.php M /trunk/admin/modules/download_control/lib/classes/download_control.php M /trunk/admin/modules/import/templates/phpaudit_v2.php M /trunk/admin/templates/default/download_control/control_edit.php M /trunk/admin/templates/default/download_control/control_editor.php M /trunk/install/sql/spbas.sql 2. Added the ability to change the created date for a customer assigned media set asset. ------------------------------------------------------------------------ M /trunk/Upgrade/v1.3.0/CHANGELOG.txt M /trunk/Upgrade/v1.3.0/UPGRADES.sql M /trunk/admin/modules/customers/customer_edit.php M /trunk/admin/modules/download_control/control_edit.php M /trunk/admin/modules/download_control/control_editor.php M /trunk/admin/templates/default/customers/customer_edit.php M /trunk/install/sql/spbas.sql 3. Added the ability to purchase renewal products through the customer area, reworked the media & package display in the customer area. ------------------------------------------------------------------------ A /ioncube_testing A /ioncube_testing/ioncube A /ioncube_testing/ioncube/index.php A /ioncube_testing/x.php A /ioncube_testing/x2.php A /tags/v1.2.0/m3_configuration.bak.php A /trunk/Upgrade/v1.3.0 A /trunk/Upgrade/v1.3.0/CHANGELOG.txt A /trunk/Upgrade/v1.3.0/UPGRADES.sql M /trunk/admin/modules/customers/customer_edit.php M /trunk/admin/modules/license_methods/method_edit.php M /trunk/admin/modules/media/lib/classes/media.php M /trunk/admin/modules/order_forms/lib/classes/order_forms.php M /trunk/admin/modules/orders/lib/classes/orders.php M /trunk/admin/modules/packages/lib/classes/packages.php M /trunk/admin/modules/products/lib/classes/products.php M /trunk/admin/modules/products/product_edit.php M /trunk/admin/modules/products/product_editor.php M /trunk/admin/templates/conf_source_template.php M /trunk/admin/templates/default/products/javascript/module.js M /trunk/admin/templates/default/products/product_edit.php M /trunk/api/configuration.php A /trunk/api/modules/customer_areas/my_package_details.php M /trunk/api/modules/customer_areas/my_packages.php M /trunk/api/modules/order_forms/add_to_cart.php M /trunk/api/modules/order_forms/order_process.php M /trunk/api/modules/order_forms/payment.php A /trunk/cms/templates/SPBAS/images/content_background2.gif A /trunk/cms/templates/SPBAS/images/header.old.jpg A /trunk/cms/templates/SPBAS/images/layout_basic.psd A /trunk/customers/compiler/my_package_details.php M /trunk/customers/compiler/my_packages.php M /trunk/customers/templates/default/javascript/application.js A /trunk/customers/templates/default/my_package_details.php M /trunk/customers/templates/default/my_packages.php A /trunk/design/newsletter/11-04-2009 A /trunk/design/newsletter/11-04-2009/index.html A /trunk/design/newsletter/11-13-2009 A /trunk/design/newsletter/11-13-2009/index.html A /trunk/design/newsletter/index.php A /trunk/design/newsletter/opt_out.php M /trunk/install/sql/spbas.sql M /trunk/m3_configuration.php M /trunk/order/compiler/product.php M /trunk/order/templates/default/product.php 4. Added the ability to edit the created & expiration dates for download control and support package assets from the customer view. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/customer_edit.php M /trunk/admin/modules/customers/lib/classes/customers.php M /trunk/admin/modules/packages/lib/classes/packages.php M /trunk/admin/templates/default/customers/customer_edit.php 5. Added the ability to suspend or unsuspend all package assets from the Customers -> Packages tab. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/customer_edit.php M /trunk/admin/modules/packages/lib/classes/packages.php M /trunk/admin/templates/default/customers/customer_edit.php M /trunk/install/sql/spbas.sql ************************************************************************ * Improvements (14) ************************************************************************ 1. Added a new column for price recurring in the order system product details view. ------------------------------------------------------------------------ M /trunk/Upgrade/v1.3.0/CHANGELOG.txt M /trunk/api/modules/order_forms/product.php M /trunk/order/templates/default/product.php 2. Customers -> Customers added a created column and made it sortable. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/customer_editor.php M /trunk/admin/templates/default/customers/customer_editor.php 3. Licensing -> Licenses, Manage -> General tab added the license expire date. ------------------------------------------------------------------------ M /trunk/admin/templates/default/license/license_edit.php 4. Billing -> Agreements added Add New and Save Changes to the bottom of each editor. ------------------------------------------------------------------------ M /trunk/admin/templates/default/agreements/agreement_edit.php M /trunk/admin/templates/default/agreements/agreement_editor.php 5. Customers -> Users added a link to in the content body back to the customer record if the user is associated with a customer. ------------------------------------------------------------------------ M /trunk/admin/modules/users/user_edit.php M /trunk/admin/templates/default/users/user_edit.php 6. Added the ability to delete an e-mail from the sent log in Settings -> Setup -> E-mail Logs ------------------------------------------------------------------------ M /trunk/admin/modules/common/lib/classes/email_handler.php M /trunk/admin/modules/setup/setup_editor.php M /trunk/admin/templates/default/setup/setup_editor.php 7. Moved the Regions tab from Billing -> Taxes to Settings -> Setup ------------------------------------------------------------------------ M /trunk/admin/modules/setup/setup_editor.php M /trunk/admin/modules/taxes/tax_editor.php M /trunk/admin/templates/default/setup/javascript/module.js M /trunk/admin/templates/default/setup/setup_editor.php M /trunk/admin/templates/default/taxes/javascript/module.js M /trunk/admin/templates/default/taxes/tax_editor.php 8. Added additional check to the PHPAudit licensing templates. ------------------------------------------------------------------------ M /trunk/admin/modules/license_methods/PHPAudit/integration_code/fopen.php M /trunk/admin/modules/license_methods/PHPAudit/integration_code/fopen_local.php M /trunk/admin/modules/license_methods/PHPAudit/integration_code/local.php M /trunk/admin/modules/license_methods/PHPAudit/integration_code/remote_curl.php M /trunk/admin/modules/license_methods/PHPAudit/integration_code/remote_local_curl.php M /trunk/admin/modules/license_methods/PHPAudit/integration_code/remote_local_sockets.php M /trunk/admin/modules/license_methods/PHPAudit/integration_code/remote_sockets.php 9. Reworked public downloads to totally separate them into another database than secure downloads. ------------------------------------------------------------------------ A /trunk/admin/templates/default/customer_areas/css A /trunk/admin/templates/default/customer_areas/css/module.css M /trunk/admin/modules/customer_areas/customer_area_edit.php M /trunk/admin/modules/customer_areas/lib/classes/customer_area.php M /trunk/admin/templates/default/customer_areas/customer_area_edit.php M /trunk/admin/templates/default/customer_areas/javascript/module.js M /trunk/admin/templates/default/media/media_editor.php M /trunk/api/modules/customer_areas/download.php M /trunk/api/modules/customer_areas/downloads.php 10. Fixed category navigation and enforced download control policy for secure downloads. ------------------------------------------------------------------------ M /trunk/api/modules/customer_areas/download_secure.php M /trunk/api/modules/customer_areas/my_package_details.php M /trunk/customers/compiler/download_secure.php M /trunk/customers/compiler/my_package_details.php 11. No message displayed when you check to add or remove a product to an order form category. ------------------------------------------------------------------------ M /trunk/admin/templates/default/order_forms/javascript/module.js M /trunk/admin/templates/default/order_forms/order_form_edit.php M /trunk/order/templates/default/payment.php 12. Deleting an incomplete order from the incomplete order view would loose focus. ------------------------------------------------------------------------ M /trunk/admin/modules/orders/order_editor.php 13. Added the clickable customer name to every invoice view in admin. ------------------------------------------------------------------------ M /trunk/admin/templates/default/invoices/invoice_edit.php 14. Adding a new package sometimes looses the tab focus in the customer edit UI in admin. ------------------------------------------------------------------------ M /trunk/admin/templates/default/customers/customer_edit.php ************************************************************************ * Bug Fixes (25) ************************************************************************ 1. Fixed bug that did not log the product & sku_id when manually adding an asset. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/customer_edit.php 2. Removed debug code left in the file. ------------------------------------------------------------------------ M /trunk/order/templates/default/payment.php 3. Search included deleted orders. ------------------------------------------------------------------------ M /trunk/admin/modules/orders/lib/classes/orders.php 4. In the dashboard widgets for admin and settings, clicking manage would delete the admin account. ------------------------------------------------------------------------ M /trunk/admin/modules/dashboard/index.php M /trunk/admin/modules/license_methods/PHPAudit/functions.php M /trunk/admin/modules/settings/dashboard.php 5. Removed e-mail tab that was not in use. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/customer_edit.php M /trunk/admin/modules/pay_gateways/pay_gateway_edit.php M /trunk/admin/templates/default/pay_gateways/pay_gateway_edit.php 6. Made changes to the Iono importer to fix numerous bugs. ------------------------------------------------------------------------ M /trunk/admin/modules/import/templates/iono_v2.6.1.conf.php M /trunk/admin/modules/import/templates/iono_v2.6.1.php 7. Manually adding a new asset to a package now uses the package created date. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/customer_edit.php 8. Fixed issue with message display not showing when you assign a licensing type asset to a product. ------------------------------------------------------------------------ M /trunk/admin/templates/default/license_methods/javascript/module.js M /trunk/admin/templates/default/license_methods/method_edit.php 9. Fixed the double index.php/index.php on the Invoice Url: section of the invoice details view. ------------------------------------------------------------------------ M /trunk/admin/modules/invoices/invoice_edit.php 10. The news entry for servers that don't support SimpleXML now includes a date so it's not shown as 1969. ------------------------------------------------------------------------ M /trunk/admin/modules/cron_jobs/sphps_blog_rss_grabber.php 11. Deleting a tax rule now removes it's assignment to products too. ------------------------------------------------------------------------ M /trunk/admin/modules/taxes/lib/classes/taxes.php 12. Deleting an order form now marks it's status as Disabled. ------------------------------------------------------------------------ M /trunk/admin/modules/customer_areas/lib/classes/customer_area.php 13. E-mail configurations missing from the order form edit view. ------------------------------------------------------------------------ M /trunk/admin/modules/order_forms/order_form_edit.php 14. Fixed colspan for the order form view when there are no categories added yet. ------------------------------------------------------------------------ M /trunk/admin/templates/default/order_forms/order_form_edit.php 15. The IP address being displayed in the payment confirmation (/order/index.php?task=payment) page is the server IP [i.e internal) rather than the customer's IP] Mine shows. ------------------------------------------------------------------------ M /trunk/order/templates/default/payment.php 16. Fixed 2Co return handler. ------------------------------------------------------------------------ M /trunk/admin/modules/pay_gateways/2Checkout/return.php M /trunk/order/compiler/payments.php M /trunk/api/modules/order_forms/payments.php 17. Mmade iono licensing alway use lowercase never instead of Never. ------------------------------------------------------------------------ M /trunk/admin/modules/license_methods/Iono/validate.php 18. Viewing licenses for a package after page 2 results in errors. ------------------------------------------------------------------------ M /trunk/Upgrade/v1.3.0/CHANGELOG.txt M /trunk/Upgrade/v1.3.0/UPGRADES.sql M /trunk/admin/modules/common/lib/classes/email_handler.php A /trunk/admin/modules/cron_jobs/spbas_announcement_grabber.php M /trunk/admin/modules/dashboard/index.php M /trunk/admin/modules/dashboard/lib/classes/dashboard.php M /trunk/admin/modules/license/lib/classes/licensing.php M /trunk/admin/modules/products/lib/classes/products.php M /trunk/admin/modules/products/product_edit.php A /trunk/admin/modules/setup/lib/extend.php A /trunk/admin/templates/default/common/baby_blue/images/icons/newspaper.gif A /trunk/admin/templates/default/common/main/images/icons/newspaper.gif M /trunk/admin/templates/default/customers/customer_edit.php M /trunk/admin/templates/default/dashboard/index.php M /trunk/admin/templates/default/products/product_edit.php M /trunk/admin/templates/default/settings/dashboard.php M /trunk/api/modules/customer_areas/my_package_details.php M /trunk/api/modules/order_forms/order_complete.php M /trunk/customers/compiler/my_package_details.php M /trunk/customers/compiler/public_announcements.php M /trunk/customers/templates/SPBAS/css/custom.css M /trunk/customers/templates/SPBAS/css/layout.css M /trunk/install/sql/spbas.sql 19. For example, a product that cost 44.90 has a 99% coupon applied. The resulting price was .449, applied currency formatting to bring it to .45. ------------------------------------------------------------------------ M /trunk/api/modules/order_forms/payment.php 20. Fixed prototype.js error for IE7/8 customers in the admin area. ------------------------------------------------------------------------ M /trunk/admin/templates/default/common/baby_blue/javascript/scriptaculous/prototype.js M /trunk/admin/templates/default/common/main/javascript/scriptaculous/prototype.js 21. In the order system when errors were detected the secret question answer was replaced wtih a billing answer. ------------------------------------------------------------------------ M /trunk/Upgrade/v1.3.0/CHANGELOG.txt M /trunk/order/templates/default/checkout.php 22. Changed the button on Settings -> Setup -> E-mail to read Save Changes instead of Add New ------------------------------------------------------------------------ M /trunk/admin/templates/default/setup/setup_editor.php 23. Fixed mailer issues with contacting SolidPHP & issues with the resend from the log view. ------------------------------------------------------------------------ M /trunk/admin/modules/common/lib/classes/email_handler.php M /trunk/admin/modules/help/support.php M /trunk/admin/modules/setup/setup_editor.php 24. Added additional headers to enable downloads in IE. ------------------------------------------------------------------------ M /trunk/admin/modules/media/lib/classes/media.php M /trunk/admin/modules/kb/lib/classes/attachments.php 25. Fixed session issue with viewing paid invoices. ------------------------------------------------------------------------ M /trunk/order/compiler/cart.php M /trunk/order/compiler/payment.php M /trunk/order/compiler/view_cart.php M /trunk/api/modules/customer_areas/invoice.php M /trunk/customers/compiler/invoice.php 26. Removed dual API validation requirement for secure downloads. ------------------------------------------------------------------------ M /trunk/api/index.php M /trunk/api/modules/customer_areas/download_secure.php M /trunk/api/modules/customer_areas/my_packages.php M /trunk/customers/compiler/download_secure.php 27. Added missing javascript to the baby blue template. ------------------------------------------------------------------------ M /svn.log M /trunk/Upgrade/v1.2.0/CHANGELOG.txt M /trunk/Upgrade/v1.2.0/UPGRADES.sql M /trunk/admin/modules/common/lib/classes/modules.php M /trunk/admin/modules/license_methods/PHPAudit/functions.php M /trunk/admin/templates/default/common/baby_blue/javascript/application.js M /trunk/api/modules/customer_areas/my_packages.php M /trunk/cms/templates/SPBAS/css/custom.css M /trunk/cms/templates/SPBAS/images/background.jpg M /trunk/cms/templates/SPBAS/images/content_wrapper_background.gif M /trunk/cms/templates/SPBAS/images/footer_bottom.gif M /trunk/cms/templates/SPBAS/images/footer_middle.gif M /trunk/cms/templates/SPBAS/images/footer_top.gif M /trunk/cms/templates/SPBAS/images/header.jpg M /trunk/cms/templates/SPBAS/images/index_billing_big.gif M /trunk/cms/templates/SPBAS/images/index_customers_big.gif M /trunk/cms/templates/SPBAS/images/index_licensing_big.gif M /trunk/cms/templates/SPBAS/images/index_media_big.gif M /trunk/cms/templates/SPBAS/images/index_products_big.gif M /trunk/cms/templates/SPBAS/images/tour_billing_1_big.gif M /trunk/cms/templates/SPBAS/images/tour_billing_2_big.gif M /trunk/cms/templates/SPBAS/images/tour_billing_3_big.gif M /trunk/cms/templates/SPBAS/images/tour_billing_4_big.gif M /trunk/cms/templates/SPBAS/images/tour_customers_1_big.gif M /trunk/cms/templates/SPBAS/images/tour_customers_2_big.gif M /trunk/cms/templates/SPBAS/images/tour_dgd_1_big.gif M /trunk/cms/templates/SPBAS/images/tour_dgd_2_big.gif M /trunk/cms/templates/SPBAS/images/tour_dgd_3_big.gif M /trunk/cms/templates/SPBAS/images/tour_dgd_4_big.gif M /trunk/cms/templates/SPBAS/images/tour_licensing_1_big.gif M /trunk/cms/templates/SPBAS/images/tour_licensing_2_big.gif M /trunk/cms/templates/SPBAS/images/tour_licensing_3_big.gif M /trunk/cms/templates/SPBAS/images/tour_licensing_4_big.gif M /trunk/cms/templates/SPBAS/images/tour_products_1_big.gif M /trunk/cms/templates/SPBAS/images/tour_products_2_big.gif M /trunk/cms/templates/SPBAS/images/tour_products_3_big.gif M /trunk/cms/templates/SPBAS/images/tour_products_4_big.gif M /trunk/install/sql/spbas.sql M /trunk/m3_configuration.php M /trunk/order/compiler/cart.php 28. Added support for legacy product ID validation. ------------------------------------------------------------------------ M /trunk/admin/modules/license_methods/PHPAudit/integration_code/fopen.php M /trunk/admin/modules/license_methods/PHPAudit/integration_code/fopen_local.php M /trunk/admin/modules/license_methods/PHPAudit/integration_code/remote_curl.php M /trunk/admin/modules/license_methods/PHPAudit/integration_code/remote_local_curl.php M /trunk/admin/modules/license_methods/PHPAudit/integration_code/remote_local_sockets.php M /trunk/admin/modules/license_methods/PHPAudit/integration_code/remote_sockets.php M /trunk/admin/modules/license_methods/PHPAudit/validate.php M /trunk/admin/modules/license_methods/method_edit.php M /trunk/admin/templates/default/license_methods/PHPAudit/add_type.php M /trunk/admin/templates/default/license_methods/PHPAudit/edit_type.php 29. Added missing method taxes::update(). ------------------------------------------------------------------------ M /trunk/admin/modules/taxes/lib/classes/taxes.php 30. Pagination was missing in the product editor. ------------------------------------------------------------------------ M /trunk/admin/modules/products/product_editor.php M /trunk/admin/templates/default/products/product_editor.php 31. Fixed issue that caused orders to sit as processing when coupons were used. ------------------------------------------------------------------------ M /trunk/admin/modules/invoices/lib/classes/invoices.php M /trunk/admin/modules/orders/order_edit.php M /trunk/api/modules/order_forms/order_process.php 32. Misc. Changes ------------------------------------------------------------------------ A /trunk/Upgrade/v1.3.0/UPGRADE_LOCALIZATIONS.sql M /trunk/install/sql/spbas.sql M /tags/v1.2.0/admin/index.php M /tags/v1.2.0/admin/modules/admin/lib/classes/administrators.php M /tags/v1.2.0/admin/modules/common/lib/classes/template.php M /tags/v1.2.0/admin/modules/dashboard/index.php M /trunk/admin/templates/default/products/product_edit.php ************************************************************************ * Configuration File Additions ************************************************************************ Changed the customers section of m3_configuration.php from this: $conf['valid_tasks']=array( 'index', 'public_announcements', 'login', 'register', 'dashboard', 'my_account', 'my_invoices', 'messages', 'my_packages', 'announcements', 'invoice', 'downloads', 'download', 'download_secure' ); To this: $conf['valid_tasks']=array( 'index', 'public_announcements', 'login', 'register', 'dashboard', 'my_account', 'my_invoices', 'messages', 'my_packages', 'my_package_details', // <-- added this one 'announcements', 'invoice', 'downloads', 'download', 'download_secure' ); Changed the customers section of m3_configuration.php from this: $conf['password_protected']=array( 'dashboard', 'my_account', 'my_invoices', 'messages', 'my_packages', 'announcements', 'download_secure' ); To this: $conf['password_protected']=array( 'dashboard', 'my_account', 'my_invoices', 'messages', 'my_packages', 'my_package_details', // <-- added this one 'announcements', 'download_secure' ); Changed the customers section of api/configuration.php from this: // customer_areas 'index', 'register', 'login', 'public_announcements', 'announcements', 'dashboard', 'process_session', 'my_account', 'my_invoices', 'messages', 'my_packages', 'resend_password', 'whois_username', 'change_password', 'change_security_question', 'delete_contact', 'get_contact', 'update_contact', 'add_contact', 'add_address', 'update_address', 'delete_address', 'reissue_license', 'invoice', 'download_secure', 'download', 'downloads', To This: // customer_areas 'index', 'register', 'login', 'public_announcements', 'announcements', 'dashboard', 'process_session', 'my_account', 'my_invoices', 'messages', 'my_packages', 'my_package_details', // <-- added this one 'resend_password', 'whois_username', 'change_password', 'change_security_question', 'delete_contact', 'get_contact', 'update_contact', 'add_contact', 'add_address', 'update_address', 'delete_address', 'reissue_license', 'invoice', 'download_secure', 'download', 'downloads', ************************************************************************ * CSS Changes & Template Changes ************************************************************************ Completely changed file: customers/templates/default/my_packages.php Added file: customers/templates/default/my_packages.php Changed orders/templates/default/payment.php from this: =$_SERVER['REMOTE_ADDR']?> To this: =capture_remote();?> Changed customers/templates/default/css/layout.css from this: #spbas .announcements { border-bottom: 1px dotted #DDDDDD; padding-bottom: 12px; margin-bottom: 18px; } #spbas .announcement_title { font: normal 11px verdana, arial, helvetica, serif; padding: 0 0 6px 0; } To this: #spbas .announcements { border-bottom: 1px dotted #DDDDDD; padding-bottom: 12px; margin-bottom: 18px; width: 98%; } #spbas .announcement_title { font: bold 14px verdana, arial, helvetica, serif; padding: 0 0 6px 0; } #spbas .announcement { line-height: 18px; } Changed customres/templates/default/css/layout.css from this: #spbas div.error, #spbas div.success { border: 1px solid #eaeaea; background: #fafafa url("../../../templates/default/images/icons/exclamation.gif") no-repeat 8px 7px; font: normal 11px verdana, arial, helvetica, serif; color: #bf5f4c; padding: 8px 8px 8px 32px; line-height: 17px; } #spbas div.success { background: #fafafa url("../../../templates/default/images/icons/accept.gif") no-repeat 8px 7px; color: #4d9044; } To this: #spbas div.error, #spbas div.success, #spbas div.dlc_error, #spbas div.dlc_success { border: 1px solid #eaeaea; background: #fafafa url("../../../templates/default/images/icons/exclamation.gif") no-repeat 8px 7px; font: normal 11px verdana, arial, helvetica, serif; color: #bf5f4c; padding: 8px 8px 8px 32px; line-height: 17px; } #spbas div.success, #spbas div.dlc_success { background: #fafafa url("../../../templates/default/images/icons/accept.gif") no-repeat 8px 7px; color: #4d9044; } Added a new column to the addon table in orders/templates/default/product.php: