Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download ubercart-8.x-4.0-alpha3.tar.gztar.gz 611.97 KB
MD5: 2d45a56c29fd815de23101f6e59bdb70
SHA-1: d750809bdd342295e9f79b7fae2c48bf43d6c270
SHA-256: c4cf445f5812d28bde4663f46475281d2ebfe2dae94b1fa2063f12e084675b1b
Download ubercart-8.x-4.0-alpha3.zipzip 1.04 MB
MD5: d8f2e0f16bfece51355565f2999bf3e1
SHA-1: 43d2710c153ed0c4d3ec26c549e09e158386b1bb
SHA-256: 22491459f5e52552dea674e6a7c6382805a091e3babf7a8b9f83970cf1abd46d

Release notes

Third alpha release. Major changes in this release include:

  • PayPal Payments Standard can be successfully used to complete checkout.
  • Packaging and shipping has had a complete overhaul; uc_shipping is now uc_fulfillment.
  • File downloads and role assignment have had significant improvements.
  • Order panes have been converted to plugins.

Changes since 8.x-4.0-alpha2:

  • Revert "Add ShipmentInterface and corresponding getter/setter methods on Shipment. Change code to use these getter/setter methods."
  • Revert "Fix code that handles routes containing shipment_id to use the new ParamConverter that loads the Shipment object."
  • Revert "Convert packing slip templates to Twig."
  • Revert "Add currency code to the uc_shipments schema (can't store a cost without knowing the units...). Add phone and e-mail to both the origin and destination addresses stored in the uc_shipments table."
  • Revert "Improve address handling in uc_fulfillment."
  • Revert "Fix tracking order pane: Remove SQL and use Shipment API instead. Port item_list build array to D8."
  • Revert "Fix packing slip rendering so it doesn't white screen. Still ugly ..."
  • Revert "More uc_fulfillment tests, now that making a shipment is working."
  • Fix typo in UbercartTestBase::createOrder
  • Move variable_get shim out of uc_credit and into uc_authorizenet and uc_cybersource. Those two modules haven't been ported to D8 yet.
  • More uc_fulfillment tests, now that making a shipment is working.
  • Fix packing slip rendering so it doesn't white screen. Still ugly ...
  • Fix tracking order pane: Remove SQL and use Shipment API instead. Port item_list build array to D8.
  • Improve address handling in uc_fulfillment.
  • Add currency code to the uc_shipments schema (can't store a cost without knowing the units...). Add phone and e-mail to both the origin and destination addresses stored in the uc_shipments table.
  • Convert packing slip templates to Twig.
  • Fix shipment delete function.
  • New function on Shipment that loads the shipments for an order, so we don't have to use SQL in the rest of the code base.
  • Fix code that handles routes containing shipment_id to use the new ParamConverter that loads the Shipment object.
  • Add ShipmentInterface and corresponding getter/setter methods on Shipment. Change code to use these getter/setter methods.
  • #2664092 by TR, longwave: Addresses
  • #2625276: Use order currency for PayPal WPP and EC.
  • #2625276: Fix PayPal IPN handling.
  • Merge branch '8.x-4.x' of git.drupal.org:project/ubercart into 8.x-4.x
  • Use order currency for 2Checkout.
  • Remove unused variable.
  • Add ParamConverter classes to automatically upcast shipment_id to a Shipment object and package_id to a Package object in routes.
  • #2625276: Simplify PayPal WPS styling.
  • #2625276: Simplify PayPal cancellation routes.
  • #2625276: Use order currency for PayPal WPS.
  • #2662980: Inject session service into CheckoutForm.
  • #2662980: Inject session service into CheckoutController.
  • #2662980: Convert $_SESSION['cart_order'] to the session service
  • #2662980: Convert $_SESSION['uc_cart_last_url'] to the session service
  • #2662980: Convert $_SESSION['uc_checkout'] to the session service
  • Fix minor issues in 2Checkout plugin.
  • Convert 2Checkout to use OffsitePaymentMethodPluginInterface.
  • Add an offsite payment method plugin interface, and convert PayPal WPS to use it.
  • Partial test of the Shipment portion of uc_fulfillment, right up to the point where it hasn't been fully ported yet. More tests to come when that is finished.
  • #2622936 by TR: Removed all uc_fulfillment_package_xxx and uc_fulfillment_shipment_xxx crud functions from .module and moved them into two classes, Package and Shipment. For now these are just normal classes, but I made them have the same method signatures (create, load, save, delete) as Entities because the goal is to next turn these into entities.
  • Turn uc_fulfillment on by removing the not_ported_yet dependency. This is necessary because I didn't realize that committing test cases would force these cases to be run with the branch tests, even though the module itself couldn't be enabled.
  • Rename Packages order pane to Tracking order pane, because it shows only tracking numbers.
  • #2622936 by TR: Tests of the fulfillment process.
  • #2622936 by TR: Tests of the packaging UI.
  • #2625276: Continue porting PayPal Website Payments Standard to D8
  • Config schema for shipping quote method plugins.
  • Payment method plugin configuration schema.
  • Fix escaped HTML in addresses and comments on the checkout review page.
  • Commit 9fcfb05 by TR introduced an error in the schema. This corrects it.
  • Clean up ShipmentEditForm. Some code cleanup, replace textfield elements with number elements when appropriate, remove explicit HTML strings and use render elements instead, replace date form elements with datetime form elements.
  • Change uc_shipments schema, as country and zone are no longer numeric codes.
  • Code cleanup in ShipmentController, mostly to replace explicit HTML strings with render array elements.
  • Fix parameters in ShipmentEditForm.
  • Fix PackageEditForm, remove obsolete theme function.
  • Use fulfillment method plugins in ShipmentController.
  • Make correct isShippable determination in hook_uc_order_actions().
  • Fix some routes in uc_fulfillment.
  • Move uc_fulfillment_address_form into a Form class.
  • Code cleanup.
  • Package and Shipment controllers needed a lot of work to actually display data.
  • Fix Package/Shipment delete confirm forms.
  • Fix NewShipmentForm to use FulfillmentMethod plugins.
  • Add a default fulfillment method plugin for manual shipping. Add .yml configuration so it is installed automatically. Add configuration schema for fulfillment methods.
  • Add fulfillment method config to store config page.
  • Improve help for quote/payment/fulfillment method list builder page.
  • Ensure new package creation shows up in Packages tab on the order. Likewise for new shipment creation in the Shipments tab.
  • Correct package and shipment parameters in routes.
  • FulfillmentMethod changes. Added "no_ui" annotation like PaymentMethod. Added "locked" configuration settings. Added getPackageType() method to the entity to return what used to be the 'type' key in hook_uc_shipping_method().
  • Fix route access controller in uc_fulfillment. Clean up routing.
  • Fix order actions in uc_fulfillment.
  • Fix escaped HTML on order payments form.
  • Order logs in the log tab should be sorted so the most recent is at the top.
  • #2622936 by TR: Major overhaul of new package and new shipment forms in uc_fulfillment.
  • #2622936 by TR: Rewrite uc_shipping for D8, added local tasks and actions.
  • #2659278 by TR: Convert fulfillment order pane into plugin. Fix bug in conversion.
  • #2622936 by TR: Rewrite uc_shipping for D8, part 2
  • #2622936 by TR: Rewrite uc_shipping for D8, part 1
  • #2659278 by TR: Convert fulfillment order pane into plugin
  • #2658704 by TR: Convert fulfillment methods into plugins
  • #2655558 by TR: OrderDeleteForm no longer works due to core API changes.
  • Move Ajax callbacks out of uc_quote.module and into the Quotes order pane plugin.
  • Order and Cart actions moved to config/optional, since neither module depends on Action.
  • Fix escaped markup in Admin and Order comments panes.
  • Use correct Ajax callback instead of old, removed procedural function.
  • #2658728 by heykarthikwithu: Remove unused imports in the code base
  • Minor cleanup in payment.
  • #2658654 by TR: Rename uc_shipping to uc_fulfillment
  • #2647740 by TR, longwave: Payment methods / Shipping quote methods need a way to display images in their title
  • eval not supported in strict mode.
  • Follow-up to issue #2651298 by longwave: CSS not applied to credit details pane
  • Followup to issue #2573299: Clean up line items order pane theming.
  • #2647498 by longwave, TR: Remove uc_order_load()
  • #2655586 by TR: Fix Order edit JS, part 3
  • More responsive classes on some columns to make the order view page look better on a mobile device.
  • #2655586 by TR: Fix Order edit JS, part 2
  • Limit the width of uc_quantity and uc_price fields in CSS, since specifying width on the form element doesn't work for number elements.
  • JS dependencies get declared in .libraries.yml, shouldn't be #attached. Minor renaming of cart libraries for consistency.
  • ShipTo and BillTo panes need their own actions, can't just inherit from AddressPaneBase. Use a CSS id which we can attach a Drupal.behavior to instead of the inline JavaScript.
  • Add responsive classes on some columns to make the order view page look better on a mobile device.
  • t() => $this->t() in plugins.
  • Replace Only local images are allowed. tags with #theme => image.
  • Followup to issue #2573299: Move product-related code into product pane plugin.
  • #2655586 by TR: Fix Order edit JS, part 1
  • Revert "Followup to issue #2573299: Move product-related code into product pane plugin."
  • Fix value passed to drupalSettings for uc_order JS.
  • Fix css syntax: padding-left/padding-right should be inherit, auto is an invalid option.
  • #2573299 by longwave: Convert order panes to plugins
  • Fix hook name in checkout pane manager.
  • Improve entity.uc_quote_method.collection menu description.
  • Clean up FileCheckout test.
  • Use email form element instead of textfield on OrderCreateForm.
  • Added schema for all uc_order actions. Added config files for non-configurable actions.
  • Actions updated to current D8 API: Added missing access() method, interfaces, and use statements.
  • Fix a link in PayPal WPP Controller.
  • #2651298 by TR: CSS not applied to payment details pane
  • JavaScript work: Make them pass eslint, add documentation comments, 'use strict'.
  • Update views config files by re-saving them on a clean site. This adds new parameters. Also added some missing descriptions.
  • Correct logger call in TestGateway.
  • No need to log in the adminUser twice in a row.
  • Add first tests for uc_file file downloads.
  • Move uc_file_refresh() call so that uploads made by methods like FTP will be recognized.
  • Fix hook_uc_order_product_can_ship() implementations and documentation.
  • Fix route in catalog module.
  • Fix route in OrderDeleteForm.
  • Add csrf token to file downloads, fix download links.
  • #2653372 by TR: Routing error when using uc_paypal standard
  • Don't need to inject module handler.
  • Add configuration settings form for test_gateway.
  • #2650746 by TR: Move test_gateway plugin into uc_credit
  • Minor code cleanup in uc_file.
  • Fix display of files attached to products on file admin form.
  • Fix uc_file upload and delete actions.
  • Set 'error' or 'warning' on drupal_set_message() output in uc_file when needed.
  • Remove drupal_write_record() in uc_file, replace with db_merge().
  • Fix filename autocomplete in uc_file, remove procedural code.
  • Split up uc_payment CSS to put the rules into the individual payment modules that use them.
  • Prevent PHP warning and hide add product feature select/button when there are no available features.
  • Role end_time must always be a timestamp.
  • Fix title of cc expire input.
  • #1482536 by TR: Improve design of CVV popup
  • Move credit card CSS rules out of uc_payment.css and into uc_credit.css.
  • #2651288 by TR: Payment methods not sorted by weight in Checkout and Order panes
  • #2647476 by TR: Convert uc_select_day/month/year into form elements
  • Code cleanup in uc_credit.
  • Remove uc_file.admin.inc, nothing left.
  • Cleanup on uc_file.
  • Remove uc_file_admin_files_form_show form, replaced by ShowForm.
  • Remove uc_file_admin_files_form_action form, replaced by ActionForm.
  • Form providing administrative actions, used by FileController.
  • Controller for administration of files.
  • Move uc_file_user_form to UserForm.
  • Remove class - code has been put in FileActionForm.
  • Minor cleanup uc_file/uc_role.
  • Fix escaped HTML on /node/%/edit/features
  • Product feature callbacks -> Forms.
  • hook_help()
  • Move uc_file download functions into Controller.
  • Move product feature settings forms into classes.
  • I broke the CartCheckoutTest with commit 3db2137 (Fix escaped HTML showing on order complete page.) because I didn't realize the test was checking the raw $build array as opposed to the HTML output. My fix to the escaped HTML changed the structure of the $build array, hence this change to the test is needed.
  • Fix escaped HTML showing on order complete page.
  • Fix fatal error when catalog block appears on a page.
  • Fix invoice() function so invoice print tab displays and works. Fix uc_order_invoice_page template.
  • Fix escaped HTML and sanitization problems in product reports.
  • Fix up uc_tax_report functioning and change date inputs to datetime.
  • Make uc_report CSV export work.
  • #2647810: Theme hook uc_order not found
Created by: longwave
Created on: 8 Feb 2016 at 22:10 UTC
Last updated: 4 Mar 2016 at 23:03 UTC
Bug fixes

Other releases