Skip to navigation

Changelog

Release 0.9.11.1

  • remove debug code
  • fix misplaced lib/plugins folder in release packages

Release 0.9.11

  • wrap up apidocs in zip after creation
  • add Plugin::getDependencies() [not yet used]
  • googleAnalytics: remove deprecated urchin code
  • remove deprecated zm_get_email_contents() function
  • remove deprecated REGISTERED/GUEST/ANONYMOUS consts from ZMZenCartAccountSacsHandler
  • remove deprecated getUseFunction()/setUseFunction() in ZMConfigValue
  • add info property to ZMPaymentType
  • change admin url schekda to default
  • autoLogin: add options to accept url parameter token
  • add HEAD support to ZMController
  • add ZMPaymentTypes to eventually replace the dodgy ZMPayments
  • ZMShoppingCart: change getPaymentMethodId to getPaymentTypeId; templates affected: checkout_payment.php
  • fix regression in payment JS validation: checkout_payment.php
  • display payment details in order history: account_history_info.php
  • use new ZMPaymentTypes service; deprecate ZMPayments
  • add ZMPaymentType::getInfo() to display additional info; templates: checkout_confirmation.php, checkout_payment.php, checkout.html.php, checkout.text.php
  • changed name/signature of cart method to get payment validation JS; template: checkout_payment.php
  • change ZMShoppingCart::getOrderFormContent(), add $request parameter; template: checkout_confirmation.php
  • change ZMShoppingCart::getOrderFormURL() to getOrderFormUrl() and add $request parameter; template: checkout_confirmation.php
  • add price class to all price <p> elements in sideboxes
  • sidebox: manufacturers: set size to 1
  • changed apps/xxx/config/defaults.yaml to config.yaml
  • load url and sacs mappings earlier to allow custom code to properly modify default mappings
  • add new event APP_INIT_DONE that is fired after the initial load of core/mvc/app code and app configs
  • make ZMPdoDatabase the default for both storefront and admin
  • plugins: allow multi install/uninstall/upgrade
  • improve validation.js
  • change name of JS form validation function to zmFormValidation.validate(form) templates: demo/login.php (Ajax login)
  • change validation.js to be a proper js file, so no <script> wrapper in the .js file any more
  • add socket option to database config array
  • simplify ZMFormData (get rid of field restrictions) and remove FormData
  • add support for custom columns in customers_info (ZMAccounts)
  • make plugin menu item registration work properly
  • add method to create a new menu group (for plugins that add more than one page)
  • admin: add default success mapper that just redirects to the same page
  • keep track of last visited page;
  • redirect back to last page visited when logging off
  • redirect back to last page visited when logging in, unless there is already a sticky URL
  • fix a bug in ZMShippingProviders and make using it the default
  • allow settings in theme.yaml
  • change ZMWidget::render($request) to ZMWidget::render($request,$view)
  • preserver sort for for ZMProducts::getNewProducts()
  • remove setting 'isEnableThemeDefaults' and always fallback on default theme
  • add locale specifc folders (example: locale/en_NZ, locale/en) to list of folders used to resolve resources
  • change setting 'defaultThemeId' to 'apps.store.themes.default'
  • admin: add manage themes page, incl. support for variation (new SQL patch)
  • ZMThemes: remove setActiveThemeId(); this means the theme builder won't automatically switch to a new theme, but that should be ok with the new theme management page
  • remove obsolete methods from ZMTemplateManager/ZMToolboxUtils that moved to ZMViewUtils
  • fix bug b:#3083634; change getThemes() to getAvailableThemes()
  • hoverbox3: change signature of hover3_product_image_link(), add $view as first parameter
  • flag ZMTheme::themeUrl() deprecated
  • wordpress: simplify code, get rid of annoying undeclared property warning when rewriting urls, make things a bit faster, fix comments url, use view to resolve view templates
  • allow toolbox tools to access the view (if available)
  • deprecate Runtime::getTheme/setTheme
  • add foundation for block handling
  • implement sideboxes as blocks, setup sidebox block provider, update test theme to use the new block (manager) code
  • add ZMWysiwygFormWidget that acts as placeholder for the currently configured wysiwyg editor
  • settings: allow vanilla input on wysiwyg widgets
  • properly resolve plugin resources from apps/xxx apps
  • tinyMCE: add support for multiple instances per page
  • xinha: add support for multiple instances per page
  • templates: shipping: display providers with errors, display icon if available
  • change ZMShoppingCart:;getSelectedShippingMethod() to return a ZMShippingMethod instance; templates: checkout_confirmation.php
  • checkout_confirmation.php: display shipping provider + method
  • drop ZMPlugin::LP_PLUGIN, add ZMPlugin::LP_LIB; LP_LIB will (obviously) load the plugin itself and will try to recursively load all code from a lib folder inside the plugin dir
  • pageCache: convert settings to plugin options, change event name that is fired after the contents of a cache hit has been returned
  • add method property to ZMController; this allows to configure an alternative process method name, overiding the request method based mapping; if set, SACS mappings on method level will be evaluated, the sacs mapping key is: [requestId]#[method name]
  • drop plugin group folders and move all plugins up one level
  • plugins: methodController: new example plugin illustrating some aspects of url mappings and view/controller logic
  • add sfYaml to phase out spyc
  • add new widget() method to make using widgets easier
  • add ZMSavant::find() method to allow to find (and filter using regexp) all available templates/resources within a given path
  • add ZMTaxClass and code to find one (ZMTaxRates::getTaxClassForId())
  • update admin jquery to 1.4.3 and 1.8.6, respectively
  • simplify zmIndex.ph - eventually this is going to be merged into a separate installer
  • remove obsolete ZMAdminView
  • simplify email content generation; use new ZMEmails service; remove obsolete ZMEmailView
  • move ZMObject::singleton() method into ZMRuntime and make public
  • change Plugin to treat use default dynamic property behaviour for properties set/get that are not offical plugin options
  • drop unused context related code
  • make the setting 'zenmagick.core.beans.definitions.NAME' work as mapping for beans for all beans (incl. singletons)
  • fix guest checkout address checks
  • enable support for checkout_payment (no POST processing as that is currently in checkout_confirmation...)
  • templates: change ZMShoppingCart::getComment() to getComments(); affected: checkout_shipping, checkout_payment, checkout_confirmation
  • remove obsolete 'action=process' parameters from forms; affected: login, create_account, checkout_shipping, password_forgotten, tell_a_friend, product_reviews_write, account_password, account_notification, account_newsletter
  • changed ZMShoppingCart methods getPaymentType and getPaymentTypeId to getSelectedPaymentType and getSelectedPaymentTypeId, respectively; affects checkout_confirmation, checkout_payment; plugins: subscriptions, paymentSurcharge
  • also pull payment errors from GET urls (payment_error/error)
  • add support for product status to search criteria
  • update meta tags too when calling ZMProducts::updateProduct
  • make languageId optional for ZMProduct::getmetaTagDetails()
  • change parameter order and make languageId mandatory for ZMProducts::getProductIdsForCategoryId()
  • make languageId mandatory for ZMProducts::getProductsForManufacturerId(), getProductForModel() [templates: review.php, product_info.php, account_notifications.php, manufacturers_info.php (box)]
  • make languageId mandatory for ZMProducts::updateViewCount()
  • change coupon restriction class (category/product) to require a languageId parameter as the languageId is not available at that level; templates: coupon_help.php, discount_coupon_info.php
  • change url mapping syntax slightly to avoid the 'funny' null map key
  • make sfYaml the default yaml parser and drop spyc
  • update all themes to using the new block code for banner display
  • add CSS for #sb_banner_box_all
  • add format property to ZMBlockWidget to allow simple formating of individual blocks without having to use nested blocks (still recommended for complex formatting, though)
  • convert all themes to using the new block code for sidebox rendering
  • added ZMManufacturers::getManufactuerForName()
  • add basic email preview for all current emails
  • add fixes to make product notification emails use ZM standard vars rather the raw zencart context variables (old code will still work, though) NOTE: the currentAccount object used is not a fully populated instance and only first and last name should be used
  • add proper create/update/delete category methods in ZMCategories
  • rename ZMCategory::getChildIds() to getDecendantIds()
  • remove leftover product comparison code
  • convert date and datetime format from/to database to DateTime instance
  • deprecate UI_DATE_FORMAT and UI_DATE_FORMAT_SAMPLE; added support for magic keys in i10n.yaml to handle all that
  • use new getFormat method to lookup date format and sample fields; templates: account.php, create_account.php, account_edit.php, advanced_search.php
  • rename l10n.yaml to locale.yaml in all themes
  • merge pomo and yaml based locale.yaml file formats; now the only difference is that for pomo the actual language mappins are in po files, for yaml all is in a single file
  • change ZMCheckoutConfirmationController to provide $orderFormUrl and $orderFormContent to avoid issues when no payment type required (mostly when a coupon or gv covers the order total); templates: checkout_confirmation.php
  • unitTests: add option to hide error/exception messages
  • fix order confirmation email templates when no payment is available
  • simplify init overrides for admin
  • add support for downloads to checkout_success and account_history_info
  • removed admin/includes/init_includes/overrides/init_languages.php
  • make ZMForwardView and ZMRedirectView expect a requestId rather template
  • make ZMRuntime::getPluginBasePath() return an array rather than a single path; this means 'zenmagick.core.plugins.baseDir' can now be a comma separated list of locations
  • change input type="submit" in password_forgotten.php to button type="submit" in the default theme; also update site.css to make things look the same; button text is wrapped in a span so it can easily be addressed via CSS
  • add ZMBigDecimal class (and test cases) to fix rounding issues
  • themes: add Modern to build scripts
  • allow to set resultList pagination to 0 to get all results

Show all releases