Commits on Apr 5, 2010
  1. Fixed some test failures due to wrong case. Does not affect all users…

    … - probably depends on version of MySql.
    schof committed Apr 4, 2010
  2. Improves (unit) tests setup to make it faster

    [#1311 state:resolved]
    * Setup Spork for Test::Unit
    * Adds test_benchmark to test_helper
      - Set the BENCHMARK env var to true or full to use it.
    * Order should_have_many :line_items
    * Order should generate token when created
    * Order#update_totals should update totals
    * Order should create default tax charge
    * Order#save should remove line_items if quantity drops to 0
    * Order#save should update item_total when line_item quantity changes
    * Order#complete should change state from in_progress to new
    * Order#save should create shipment with pending state
    * Order#complete should update checkout completed_at
    * Order#complete should create inventory units
    * Order#save with empty stock should be able to save order when allow_bacorders is off
    * Uses save!, create! and complete! instead of save, create and complete
    * Order#pay should make all shipments ready
    * Order#ship! should make all shipments shipped
    * Order#under_paid! should make all shipments pending
    * Makes sure every :line_item factory receives the corresponding order as param
      and every line_item created is added to order.line_items
    * Passing :order=>order to the Factory ensures the factory doesn't create
    an empty order to attach the line_item to
    * Adding the line_item to order.line_items avoids having to reload the order.
    * Renames contexts and tests for #outstanding_balance and #outstanding_credit
    * Small update on #outstanding_balance and #outstanding_credit setup
    * Initial improvements on ReturnAuthorization setup, replaces create_complete_order
    * RetAuth should be authorized initially
      Moved it out of the context with slow setup since it doesn't need it.
    * Uses Order.create! and
    * ReturnAuthorization.create was failing validaton and not saving at all.
      Since that's the expected behavior, replaced create by new
    * OrderState should be in_progress initially
    * Improves test setup for CreditCard tests
    * Improves setup for: CreditCard authorization success *
    * Improves setup for CreditCard purchase success *
    * Improves setup for Shipment manifest *
    * Improved setup for: Shipment line_items *
    * Improve setup for Shipping recalculate_order after shipping_method change *
    Carlos Lima committed with schof Apr 1, 2010
  3. added scope for filtering variants by presence of an option value

    doesn't look at master/active etc - that can be done elsewhere
    paulcc committed Apr 5, 2010
  4. Exception should return string

    paulcc committed Apr 5, 2010
  5. 1318 - fix uniquifying of permalinks

    produces X-1, X-2, ... sequence now
    [#1318 state:resolved]
    paulcc committed Apr 5, 2010
Commits on Apr 1, 2010
Commits on Mar 31, 2010
  1. Do not restrict the index action for OrdersController.

    [#1307 state:resolved]
    schof committed Mar 31, 2010
  2. 1305 - updated protx support to new name

    there's no migration to update config info - this needs to be done by hand
    [#1305 state:resolved]
    paulcc committed Mar 31, 2010
  3. FlexiRate calculator ignoring line_item.quantity

    All line_items on the order were being treated as quantity=1
    This address the issue and accounts for quantities properly
    [#1292 state:resolved]
    Carlos Lima committed with schof Mar 26, 2010
  4. Corrected select tag in overview dashboard to use i18n properly

    [#1299 state:resolved]
    blax committed with schof Mar 29, 2010
Commits on Mar 28, 2010
  1. Changed Gateway.current to call super, this way all the active Paymen…

    …tMethods are used to find the current.
    [#1294 state:resolved]
    peterberkenbosch committed with BDQ Mar 27, 2010
  2. Shipments numbers now start with a 'H' and act like permalinks (can b…

    …e used by r_c to reference shipments).
    [#1293 state:resolved]
    BDQ committed Mar 28, 2010
  3. Added several scenarios and other stuff:

    * Started work on checkout.feature
    * Improved checkout.feature, added few new scenarios.
    * Added opportunity to describe product, which added to cart.
    * Improved checkout scenarios.
    * Improved user steps.
    * Added scenarios for work with cart and for search features.
    * Fixed typo in theme_default.
    * Added payment methods for cucumber env.
    [#1239 state:resolved]
    romul committed Mar 22, 2010
Commits on Mar 26, 2010
  1. filter on checkouts controller to ensure that orders get assigned to …

    …the current user if there is one
    davidnorth committed Mar 26, 2010
Commits on Mar 25, 2010
  1. Add product to admin orders using add_variant.

    [#1286 state:resolved]
    BDQ committed Mar 25, 2010
  2. Updated CHANGELOG

    schof committed Mar 25, 2010
Commits on Mar 24, 2010
  1. 1257 - allow coupons to be recalculated properly

    Thanks to Scott Ahten for the fix.
    Note: the current mechanism means that :amount in adjustments should NOT be persisted
    until the order is complete, and so this field should not be set until the order is
    [#1257 state:resolved]
    paulcc committed Mar 24, 2010
  2. Test-unit for Ruby 1.9.x needed to run tests, rspec tasks are outdate…

    …d in any case.
    [#1240 state:resolved]
    romul committed Mar 24, 2010
  3. Graph should display values for all days of target period.

    [#1269 state:resolved]
    romul committed Mar 24, 2010
  4. Update Vietnamese translation

    [#1251 state:resolved]
    joneslee85 committed with schof Mar 7, 2010
Commits on Mar 23, 2010
  1. Adds Use Billing Address tickbox to admin checkouts.

    [#1277 state:resolved]
    BDQ committed Mar 23, 2010
  2. Should check what params[:checkout][:payments_attributes] exists befo…

    …re set amount.
    [#1263 state:resolved]
    romul committed Mar 23, 2010
Commits on Mar 22, 2010
  1. Rewritten create.before and update.before handlers to set correct vie…

    …wable for image.
    And tabs replaced by spaces.
    [#1276 state:resolved]
    romul committed Mar 22, 2010
  2. Adds :track_inventory_levels preference which disable inventory track…

    [#1268 state:resolved]
    BDQ committed Mar 22, 2010
  3. Do not assume presence of gateway in checkout state machine.

    [#1251 state:resolved]
    schof committed Mar 22, 2010
Commits on Mar 19, 2010
Commits on Mar 18, 2010
  1. Ensures shipping_method is saved correctly when creating order via ad…

    …min ui.
    [#1259 state:resolved]
    BDQ committed Mar 18, 2010
  2. country_id can be nil in tests

    romul committed Mar 18, 2010
  3. 1255 - recoded non-ordering filter

    changed use of scope to a .reject{}
    (named scopes don't work for anonymous groups...)
    [#1255 state:resolved]
    paulcc committed Mar 18, 2010
  4. Added workaround for proper work I18n::Backend::Simple#lookup with Ru…

    …by 1.9.x
    [#1261 state:resolved]
    romul committed Mar 18, 2010
  5. Should set country to proper value before validation.

    Needed for Ruby 1.9.x, which not update country to selected value automatically.
    [#1234 state:resolved]
    romul committed Mar 18, 2010
Commits on Mar 17, 2010
  1. Should check that variants table exists before checking of…

    [#1253 state:resolved]
    romul committed Mar 17, 2010
  2. Added calls of reset_column_information.

    In some cases this needed to reflect changes in table structure.
    [#1230 state:resolved]
    romul committed Mar 17, 2010