Revision history for Dancer::Plugin::Interchange6 0.070 Fri Jan 2 09:52:14 2015 CET [ENHANCEMENTS] * Add before_navigation_search hook to navigation route (Peter Mottram, GH #47). * Adjust navigation route to new Product resultset listing method (Peter Mottram). * Simplify navigation and product route since uri is unique column (Peter Mottram). * Add product variant to cart without attributes/values (Peter Mottram). [DOCUMENTATION] * Adjust POD for before_navigation_display_hook (Peter Mottram). 0.061 Fri Nov 28 12:07:35 2014 CET [BUG FIXES] * Bump up prerequisite on Interchange6 (GH #41, Stefan Hornburg). 0.060 Thu Nov 27 16:59:29 2014 CET [API CHANGES] * Move hooks from Interchange6 (Peter Mottram). [ENHANCEMENTS] * Add "update" to cart route (Peter Mottram). * Redirect after cart route remove get requests (Peter Mottram). * Improve cart error handling (Peter Mottram). [BUG FIXES] * Fix usage of 'scalar' in cart route (GH #40, Jeff Boes, Peter Mottram). 0.060_03 Thu Nov 27 15:15:18 2014 CET [API CHANGES] * Adjust to Interchange6::Schema changes (Peter Mottram). * Die on cart errors instead of calling set_error method (Peter Mottram). [ENHANCEMENTS] * Add before/after_cart_product_set_quantity hooks (Peter Mottram). * Add quantity and uri to cart->add arguments in cart_route (Peter Mottram). * Support selling price in cart (Peter Mottram). * Add debug message for the case that navigation template is changed by navigation attribute (Stefan Hornburg). [DOCUMENTATION] * Extend description of before_navigation_display hook (Stefan Hornburg). [TESTS] * Use fixtures from Interchange6::Schema (Peter Mottram). * Add tests for putting variants into the cart (Peter Mottram). * Fix for routes due to total number formatting in new cart (Peter Mottram). 0.051 Fri Aug 15 11:34:47 2014 CEST [ENHANCEMENTS] * Add shop_state keyword (Stefan Hornburg). [DOCUMENTATION] * Add minimal documentation about shop_ keywords (Stefan Hornburg). [TESTS] * Move tests to using Test::Roo (Peter Mottram). * Add Travis configuration file (Stefan Hornburg, Peter Mottram). 0.040 Wed Jul 2 12:27:52 2014 CEST [API CHANGES] * Update relationships to new naming standards (Peter Mottram, GH #24). 0.031 Tue Apr 8 11:16:55 2014 CEST [ENHANCEMENTS] * Mimic usage of return_url parameter in Dancer::Plugin::Auth::Extensible. 0.030 Fri Apr 4 20:34:21 2014 CEST [ENHANCEMENTS] * Extend cart with products id and move it from Cart::DBIC to Cart (Peter Mottram, GH #21). 0.021 Wed Apr 2 09:07:12 2014 CEST [ENHANCEMENTS] * Use quantity parameter from user input for cart add action. * Add remove action to cart route. 0.020 Tue Apr 1 13:21:37 2014 CEST [ENHANCEMENTS] * Retrieve template value from navigation attributes (Stefan Hornburg (Racke), GH #19). * Save error code and error message from payment failure into payment order (Stefan Hornburg (Racke)). [TESTS] * Enable show_errors in configuration for route tests (Stefan Hornburg (Racke)). 0.019 Sat Mar 22 19:27:39 2014 CET [ENHANCEMENTS] * Add support for paging to navigation routes. [TESTS] * Add DBD::SQLite driver version to routes test report (Peter Mottram). * Change price values from decimal string to float in routes test (Peter Mottram). * Pass option deprecated in Dancer::Plugin::DBIC (Peter Mottram). [BUG FIXES] * Remove Interchange6::Class dependency (GH #16, Peter Mottram). 0.010 Wed Mar 12 18:24:02 2014 CET [ENHANCEMENTS] * Switch to DPIC6::Cart::DBIC->new instead of IC6::Class::instantiate (Peter Mottram, GH #13). * Add payment_order attribute to OnlinePayment class. 0.009 Tue Mar 11 19:18:50 2014 CET [ENHANCEMENTS] * Moo cart rewrite (Peter Mottram). * Add option to use return_url after login success (Peter Mottram). * Add login failure message to login get route (Peter Mottram). [TESTS] * Routes tests (Peter Mottram, GH #9). 0.008 Sun Feb 23 12:25:00 2014 CET [ENHANCEMENTS] * Add shop_order and shop_review keywords. * Update payment_order after payment transaction. * Add active configuration option for cart and checkout routes. * Allow URIs for cart and checkout routes to be configured. * Acknowledge schema key passed to shop_schema. * Handle created and last_modified as DateTime objects (Peter Mottram, GH #5) [BUG FIXES] * Use different schema keys for each database driver to fix test failures with new tests. * Exclude inactive products from navigation search results. * Use Dancer qw(:tests) to avoid clashing with Test::More (Peter Mottram, GH #3). [TESTS] * Add Product and Review result class tests. 0.007 Mon Jan 27 18:57:07 2014 CET [ENHANCEMENTS] * Add shop_attribute keyword. * Checking variants before adding an item to the cart. * Include product uri into attributes loaded into the cart. * Add script to expire/manage DBIC sessions/carts 0.006 Thu Jan 2 17:20:57 2014 CET [ENHANCEMENTS] * Add shop_cart keyword as alias for cart keyword. * Add hooks before_cart_set_users_id,after_cart_set_users_id, before_cart_set_sessions_id and after_cart_set_sessions_id. * Update users_id resp. sessions_id in cart on login/logout. [BUG FIXES] * Pass same tokens to before_product_display hook and product template. * Redirect to application root from login get route when user is already logged in. [DOCUMENTATION] * Add section about Dancer::Session::DBIC requirement. [TESTS] * Add tests for creating an user and show_states field for country result class. * Prefer to use plugin keywords. 0.005 Fri Dec 27 13:48:36 2013 CET [ENHANCEMENTS] * Add login and logout routes. * Add support for online payment transactions through shop_charge keyword. * Add shop_schema, shop_address and shop_user keyword. * Save session id into the cart at creation time. [BUG FIXES] * Access cart resultset via $self->{sqla} to avoid odd test failure on MSWin32-x86-multi-thread. [TESTS] * Add tests with Test::Database. 0.004 Tue Dec 17 13:56:50 2013 CET [API CHANGES] * Remove keyword shop_product_class. [ENHANCEMENTS] * Add shop_country keyword. 0.003 Sun Dec 8 12:28:18 2013 CET [API CHANGES] * Use {product => $product} instead of just $product as tokens for product route. [BUG FIXES] * Fix search for related products for navigation routes. [DOCUMENTATION] * Add documentation about shop_setup_routes to main POD. 0.002 Sun Dec 1 17:15:10 2013 CET [BUG FIXES] * Add missing code for loading cart. * Fix capturing of return value for cart add. * Adjust code to retrieve navigation information to DBIC. 0.001 Sat Nov 30 17:41:34 2013 CET * Initial release.