CHANGELOG v1.6.0 Stable A = Added new file M = Modified existing file ************************************************************************ * Important Notes (2) ************************************************************************ 1. If you would like to take advantage of the automatic package suspension introduced in this version then you need to visit the following location: Admin -> Settings -> Storefronts & Products -> Billing & Invoice Settings -> Enter the days past due to "Suspend the Package:" 2. If you would like to take advantage of the invoice reminders system introduced in this version then you need to visit the following location: Admin -> Settings -> Storefronts & Products -> Billing & Invoice Settings -> Enter the day intervals past due to "Send Invoice Reminders:" ************************************************************************ * New Features (5) ************************************************************************ 1. Automatically unsuspend assets on successful payment. ------------------------------------------------------------------------ M /trunk/admin/modules/cron_jobs/suspend_packages_with_unpaid_invoices.php M /trunk/admin/modules/invoices/lib/classes/invoices.php M /trunk/admin/modules/packages/lib/classes/packages.php M /trunk/admin/templates/modules/settings/billing_invoice.php M /trunk/admin/modules/orders/lib/classes/orders.php 2. Added support for automatic package suspension after x days of the invoice being due. ------------------------------------------------------------------------ A /trunk/admin/modules/cron_jobs/suspend_packages_with_unpaid_invoices.php M /trunk/admin/modules/dashboard/index.php M /trunk/admin/modules/dashboard/lib/classes/dashboard.php M /trunk/admin/modules/invoices/lib/classes/invoices.php M /trunk/admin/modules/settings/lib/classes/general_setup.php M /trunk/admin/templates/modules/settings/billing_invoice.php M /trunk/admin/modules/orders/lib/classes/orders.php 3. Added a new API to change the license status. ------------------------------------------------------------------------ M /trunk/admin/modules/orders/lib/classes/orders.php M /trunk/api/configuration.php A /trunk/api/modules/license/change_license_status.php M /trunk/order/index.php 4. We now have mass mail & drip mail support. ------------------------------------------------------------------------ M /trunk/admin/index.php M /trunk/admin/modules/common/lib/classes/email_handler.php M /trunk/admin/modules/common/lib/classes/modules.php A /trunk/admin/modules/cron_jobs/send_mass_mail.php M /trunk/admin/modules/cron_jobs/spbas_announcement_grabber.php M /trunk/admin/modules/cron_jobs/sphps_blog_rss_grabber.php A /trunk/admin/modules/email/campaign_edit.php A /trunk/admin/modules/email/campaign_editor.php A /trunk/admin/modules/email/lib/classes/mass_mail.php A /trunk/admin/modules/email/lib/extend.php A /trunk/admin/modules/email/list_edit.php A /trunk/admin/modules/email/list_editor.php M /trunk/admin/modules/license_methods/PHPAudit/license_instances.php M /trunk/admin/modules/license_methods/PHPAudit/validate.php M /trunk/admin/templates/conf_source_template.php M /trunk/admin/templates/modules/cron/cron_editor.php M /trunk/admin/templates/modules/developer/menu_editor.php A /trunk/admin/templates/modules/email/campaign_edit.php A /trunk/admin/templates/modules/email/campaign_editor.php M /trunk/admin/templates/modules/email/javascript/module.js A /trunk/admin/templates/modules/email/list_edit.php A /trunk/admin/templates/modules/email/list_editor.php M /trunk/api/configuration.php A /trunk/api/modules/customer_areas/opt_out.php A /trunk/api/modules/customer_areas/view_email.php M /trunk/api/modules/license/register_free_version.php A /trunk/customers/compiler/opt_out.php A /trunk/customers/compiler/view_email.php M /trunk/customers/index.php M /trunk/customers/templates/default/css/layout.css A /trunk/customers/templates/default/opt_out.php A /trunk/customers/templates/default/view_email.php M /trunk/install/m3_configuration.example.php M /trunk/m3_configuration.php 5. Added the ability for customers on a certain price sheet to suspended or unsuspend their own licenses. ------------------------------------------------------------------------ M /trunk/admin/modules/customer_areas/lib/classes/customer_area.php M /trunk/admin/modules/price_sheets/lib/classes/price_sheets.php M /trunk/admin/modules/price_sheets/price_sheet_edit.php M /trunk/admin/templates/modules/price_sheets/price_sheet_edit.php M /trunk/api/configuration.php M /trunk/api/modules/customer_areas/my_package_details.php A /trunk/api/modules/customer_areas/suspend_license.php M /trunk/customers/compiler/my_package_details.php M /trunk/customers/templates/default/my_package_details.php ************************************************************************ * Improvements (12) ************************************************************************ 1. Added the ability to add only a customer instead of a customer and user. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/customer_editor.php M /trunk/admin/templates/modules/customers/customer_editor.php 2. Added extra validation for the license reissue API. ------------------------------------------------------------------------ M /trunk/api/modules/customer_areas/reissue_license.php 3. Added a switch to the customer area to create a customer account in addition to the user account when using the Register tab. ------------------------------------------------------------------------ M /trunk/admin/modules/customer_areas/customer_area_edit.php M /trunk/admin/modules/customer_areas/lib/classes/customer_area.php M /trunk/admin/modules/customers/customer_editor.php M /trunk/admin/modules/customers/lib/classes/dashboard.php M /trunk/admin/templates/modules/customer_areas/customer_area_edit.php M /trunk/api/modules/customer_areas/register.php M /trunk/customers/compiler/dashboard.php M /trunk/customers/compiler/login.php M /trunk/customers/compiler/register.php M /trunk/customers/index.php M /trunk/customers/templates/default/register.php 4. Made the customer name clickable at the invoice search view. ------------------------------------------------------------------------ M /trunk/admin/modules/search/index.php 5. Added a note to the customer area editor public downloads section to let the admin know about download options. ------------------------------------------------------------------------ M /trunk/admin/templates/modules/customer_areas/customer_area_edit.php 6. Currency editor, removed requirement of hundreds separator. Not all currencies have one. ------------------------------------------------------------------------ M /trunk/admin/modules/3rd_party/edit.php M /trunk/admin/modules/currency/currency_editor.php 7. Renamed successfully_updated() to redirect(). ------------------------------------------------------------------------ M /trunk/admin/modules/3rd_party/edit.php M /trunk/admin/modules/3rd_party/editor.php M /trunk/admin/modules/admin/admin_edit.php M /trunk/admin/modules/admin/admin_editor.php M /trunk/admin/modules/agreements/agreement_edit.php M /trunk/admin/modules/agreements/agreement_editor.php M /trunk/admin/modules/cms/page_edit.php M /trunk/admin/modules/cms/page_editor.php M /trunk/admin/modules/cms/site_edit.php M /trunk/admin/modules/cms/site_editor.php M /trunk/admin/modules/common/lib/functions.php M /trunk/admin/modules/cron/cron_editor.php M /trunk/admin/modules/currency/currency_editor.php M /trunk/admin/modules/customer_areas/customer_area_edit.php M /trunk/admin/modules/customer_areas/customer_area_editor.php M /trunk/admin/modules/customers/customer_edit.php M /trunk/admin/modules/customers/customer_editor.php M /trunk/admin/modules/developer/lang_editor.php M /trunk/admin/modules/developer/menu_editor.php M /trunk/admin/modules/download_control/control_edit.php M /trunk/admin/modules/download_control/control_editor.php M /trunk/admin/modules/email/campaign_edit.php M /trunk/admin/modules/email/campaign_editor.php M /trunk/admin/modules/email/list_edit.php M /trunk/admin/modules/email/list_editor.php M /trunk/admin/modules/email/logs.php M /trunk/admin/modules/email/settings.php M /trunk/admin/modules/email/settings_edit.php M /trunk/admin/modules/email/template_edit.php M /trunk/admin/modules/email/templates.php M /trunk/admin/modules/invoices/invoice_edit.php M /trunk/admin/modules/invoices/invoice_editor.php M /trunk/admin/modules/kb/article_edit.php M /trunk/admin/modules/kb/article_editor.php M /trunk/admin/modules/kb/attachment_edit.php M /trunk/admin/modules/kb/attachment_editor.php M /trunk/admin/modules/kb/category_edit.php M /trunk/admin/modules/kb/category_editor.php M /trunk/admin/modules/kb/glossary_edit.php M /trunk/admin/modules/kb/glossary_editor.php M /trunk/admin/modules/kb/profile_edit.php M /trunk/admin/modules/kb/profile_editor.php M /trunk/admin/modules/license/license_edit.php M /trunk/admin/modules/license/license_editor.php M /trunk/admin/modules/license/logs.php M /trunk/admin/modules/license_methods/Iono/license_edit_type.php M /trunk/admin/modules/license_methods/Iono/license_instances.php M /trunk/admin/modules/license_methods/PHPAudit/add_type.php M /trunk/admin/modules/license_methods/PHPAudit/edit_type.php M /trunk/admin/modules/license_methods/PHPAudit/license_edit_type.php M /trunk/admin/modules/license_methods/PHPAudit/license_instances.php M /trunk/admin/modules/license_methods/method_edit.php M /trunk/admin/modules/license_methods/method_editor.php M /trunk/admin/modules/license_servers/server_edit.php M /trunk/admin/modules/license_servers/server_editor.php M /trunk/admin/modules/media/downloads.php M /trunk/admin/modules/media/set_editor.php M /trunk/admin/modules/media/sets.php M /trunk/admin/modules/order_forms/order_form_edit.php M /trunk/admin/modules/order_forms/order_form_editor.php M /trunk/admin/modules/orders/order_edit.php M /trunk/admin/modules/orders/order_editor.php M /trunk/admin/modules/pay_gateways/pay_gateway_edit.php M /trunk/admin/modules/pay_gateways/pay_gateway_editor.php M /trunk/admin/modules/price_sheets/price_sheet_edit.php M /trunk/admin/modules/price_sheets/price_sheet_editor.php M /trunk/admin/modules/products/product_edit.php M /trunk/admin/modules/products/product_editor.php M /trunk/admin/modules/promotions/edit.php M /trunk/admin/modules/promotions/editor.php M /trunk/admin/modules/settings/billing_invoice.php M /trunk/admin/modules/settings/regions.php M /trunk/admin/modules/settings/system.php M /trunk/admin/modules/support_package/package_edit.php M /trunk/admin/modules/support_package/package_editor.php M /trunk/admin/modules/taxes/tax_edit.php M /trunk/admin/modules/taxes/tax_editor.php 8. I have many things in my products list which say "copyright removal" or "script installation", as each script has a different price for each of these, I have to create one for each script. And I cannot really tell which ones for what as they all have the same name ------------------------------------------------------------------------ M /trunk/admin/modules/products/product_editor.php 9. Refactored the *storefront*/includes/classes/api.php to work standalone. It works with any api::query in *storefront*/compiler/. ------------------------------------------------------------------------ M /trunk/admin/templates/modules/customers/customer_editor.php M /trunk/cms/compiler/down_for_maintenance.php M /trunk/cms/compiler/index.php M /trunk/cms/compiler/private.php M /trunk/cms/includes/classes/api.php M /trunk/customers/compiler/announcements.php M /trunk/customers/compiler/dashboard.php M /trunk/customers/compiler/download.php M /trunk/customers/compiler/downloads.php M /trunk/customers/compiler/index.php M /trunk/customers/compiler/invoice.php M /trunk/customers/compiler/login.php M /trunk/customers/compiler/messages.php M /trunk/customers/compiler/my_account.php M /trunk/customers/compiler/my_invoices.php M /trunk/customers/compiler/my_package_details.php M /trunk/customers/compiler/my_packages.php M /trunk/customers/compiler/opt_out.php M /trunk/customers/compiler/public_announcements.php M /trunk/customers/compiler/register.php M /trunk/customers/compiler/view_email.php M /trunk/customers/includes/classes/api.php M /trunk/kb/compiler/article.php M /trunk/kb/compiler/bookmarks.php M /trunk/kb/compiler/down_for_maintenance.php M /trunk/kb/compiler/glossary.php M /trunk/kb/compiler/index.php M /trunk/kb/compiler/listings.php M /trunk/kb/compiler/print_page.php M /trunk/kb/compiler/private.php M /trunk/kb/compiler/search.php M /trunk/kb/includes/classes/api.php M /trunk/m3_configuration.php M /trunk/order/compiler/cart.php M /trunk/order/compiler/change_currency.php M /trunk/order/compiler/checkout.php M /trunk/order/compiler/down_for_maintenance.php M /trunk/order/compiler/order_complete.php M /trunk/order/compiler/order_process.php M /trunk/order/compiler/payment.php M /trunk/order/compiler/payments.php M /trunk/order/compiler/private.php M /trunk/order/compiler/process_ideal_gateway_response.php M /trunk/order/compiler/product.php M /trunk/order/compiler/view_cart.php M /trunk/order/includes/classes/api.php 10. Added switch to pick up on Windows machines in order not to remove backslashes in the path. ------------------------------------------------------------------------ M /trunk/admin/modules/common/lib/functions.php 11. Change the currency redirect to go to the edit page after adding a new currency. ------------------------------------------------------------------------ M /trunk/admin/modules/currency/currency_editor.php 12. Set the admin min-width to 1000px. ------------------------------------------------------------------------ M /trunk/admin/templates/custom/default/css/layout.css ************************************************************************ * Bug Fixes (24) ************************************************************************ 1. Fixed issue with "Primary User: Stan Stan" for the license reissue e-mail. ------------------------------------------------------------------------ M /trunk/admin/modules/license_methods/PHPAudit/validate.php 2. Added clearstatcache() to fix issues with is_dir() and is_writable() on Windows IIS machines. Also, added check for Windows at Admin -> Media -> Downloads -> Add New. ------------------------------------------------------------------------ M /trunk/admin/modules/common/lib/functions.php M /trunk/admin/modules/media/downloads.php M /trunk/admin/modules/settings/system.php 3. Fixed cancel return bug with the iDEAL pay gateway. ------------------------------------------------------------------------ M /trunk/admin/modules/pay_gateways/iDEAL/functions.php M /trunk/admin/modules/pay_gateways/iDEAL/return.php 4. Fixed bug with assets_issued bit that caused 2x assets to be issued under certain conditions. ------------------------------------------------------------------------ M /trunk/admin/modules/packages/lib/classes/packages.php 5. Fixed bug with 0 price_sheet_id at the order payment view. ------------------------------------------------------------------------ M /trunk/admin/modules/order_forms/lib/classes/order_forms.php M /trunk/api/modules/order_forms/payment.php 6. Changed the form handler trigger for adding a new currency. ------------------------------------------------------------------------ M /trunk/admin/modules/currency/currency_editor.php M /trunk/admin/templates/modules/currency/currency_editor.php 7. Fixed mysql error when a customer has no users assigned. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/lib/classes/customers.php 8. Removed gateway notes for 2Checkout. ------------------------------------------------------------------------ M /trunk/admin/templates/modules/pay_gateways/2Checkout/gateway_notes.php 9. Removed dated column email_ok from m3_users. ------------------------------------------------------------------------ M /trunk/admin/modules/email/campaign_edit.php M /trunk/admin/modules/import/templates/iono_v2.6.1.php M /trunk/admin/modules/import/templates/phpaudit_v2.php M /trunk/admin/modules/users/lib/classes/users.php M /trunk/order/index.php 10. Setting a user to disabled now disables customer area login. ------------------------------------------------------------------------ M /trunk/api/modules/customer_areas/login.php 11. Added support for conf file downloads for non-standard paths by editing the admin path in the admin section of m3_configuration.php to define the variable $conf[default_admin_path]. ------------------------------------------------------------------------ M /trunk/admin/modules/customer_areas/lib/classes/customer_area.php M /trunk/admin/modules/cms/lib/classes/site.php M /trunk/admin/modules/kb/lib/classes/profile.php M /trunk/admin/modules/order_forms/lib/classes/order_forms.php 12. Added missing key to valid_task for the currency change option. ------------------------------------------------------------------------ M /trunk/admin/templates/conf_source_template.php M /trunk/install/m3_configuration.example.php M /trunk/order/templates/default/javascript/application.js 13. Fixed the seemingly random disappearance of the currency changer. ------------------------------------------------------------------------ M /trunk/admin/modules/order_forms/lib/classes/order_forms.php M /trunk/api/modules/order_forms/cart.php M /trunk/api/modules/order_forms/checkout.php M /trunk/api/modules/order_forms/payment.php M /trunk/api/modules/order_forms/view_cart.php M /trunk/order/compiler/change_currency.php M /trunk/order/compiler/checkout.php M /trunk/order/compiler/view_cart.php M /trunk/order/templates/default/checkout.php M /trunk/order/templates/default/javascript/application.js 14. The licensing info modal for unlimited customers shows 0 and last cron run Never shows no translation found. ------------------------------------------------------------------------ M /trunk/admin/templates/custom/default/header.php 15. The customer assets tab does not reopen download control section on delete. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/customer_edit.php 16. Some of the pay gateway notes were not properly formatted. ------------------------------------------------------------------------ M /trunk/admin/templates/modules/pay_gateways/iDEAL/gateway_notes.php 17. Admin customer view, products tab, add price tier - make it error out, looses tab focus. ------------------------------------------------------------------------ M /trunk/admin/templates/modules/products/product_edit.php 18. Fixed problem fetching news for the admin dashboard. ------------------------------------------------------------------------ M /trunk/admin/modules/cron_jobs/spbas_announcement_grabber.php M /trunk/admin/modules/cron_jobs/sphps_blog_rss_grabber.php 19. When merging 2 customers, delete the old customer account automatically. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/lib/classes/customers.php 20. Deleting an invoice after search loses the search terms. ------------------------------------------------------------------------ M /trunk/admin/modules/invoices/invoice_editor.php 21. Fixed slashes issues ------------------------------------------------------------------------ M /trunk/admin/templates/custom/default/header.php M /trunk/admin/templates/modules/developer/lang_editor.php M /trunk/admin/modules/customers/customer_edit.php M /trunk/admin/templates/modules/customers/customer_edit.php M /trunk/admin/modules/customer_areas/customer_area_edit.php M /trunk/admin/templates/modules/customer_areas/customer_area_edit.php M /trunk/admin/modules/license/license_editor.php M /trunk/admin/templates/modules/license/license_edit.php M /trunk/admin/modules/invoices/invoice_edit.php M /trunk/admin/modules/invoices/invoice_editor.php M /trunk/admin/modules/orders/order_edit.php M /trunk/admin/modules/orders/order_editor.php M /trunk/admin/modules/common/lib/classes/email_handler.php 22. Viewing an e-mail log would loose the paging. Now when you are say page 8 of the e-mail logs, click view and then cancel you are returned to page 8. ------------------------------------------------------------------------ M /trunk/admin/modules/email/logs.php 23. Fixed the completed orders total quick stat at the customer view. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/customer_edit.php M /trunk/admin/modules/orders/lib/classes/orders.php 24. Added lightbox support back to the distribution. ------------------------------------------------------------------------ M /trunk/admin/templates/custom/default/header.php ************************************************************************ * CSS Changes & Template Changes (6) ************************************************************************ 1. customers/templates/default/my_package_details.php starting on line 177 change this: to this: ------------------------------------------------------------------------ 2. api/configuration.php on line 74 change this: 'reissue_license', to this: 'reissue_license', 'suspend_license', // <-- v1.6 'view_email', // <-- v1.6 'opt_out', // <-- v1.6 ------------------------------------------------------------------------ 3. m3_configuration.php customers section change this: // A list of valid tasks. $conf['valid_tasks']=array( 'index', 'public_announcements', 'login', 'register', 'dashboard', 'my_account', 'my_invoices', 'messages', 'my_packages', 'my_package_details', 'announcements', 'invoice', 'downloads', 'download', 'download_secure' ); to this: // A list of valid tasks. $conf['valid_tasks']=array( 'index', 'public_announcements', 'login', 'register', 'dashboard', 'my_account', 'my_invoices', 'messages', 'my_packages', 'my_package_details', 'announcements', 'invoice', 'downloads', 'download', 'download_secure', 'view_email', // <-- v1.6 'opt_out' // <-- v1.6 ); ------------------------------------------------------------------------ 4. Add this to the very bottom of customers/templates/default/css/layout.css: #spbas h1 { font: bold 14px verdana, arial, helvetica, serif; margin: 0 0 14px 0; } ------------------------------------------------------------------------ 5. In api/configuration.php change this: // license 'get_local_key', 'license_expire_date', to this: // license 'get_local_key', 'license_expire_date', 'change_license_status', ------------------------------------------------------------------------ 6. In orders/templates/default/checkout.php on line 4 change this: