Commits on May 4, 2010
  1. @BDQ

    Speed up searching for users during admin checkout.

    [#1376 state:resolved]
    BDQ committed May 4, 2010
  2. @BDQ

    Corrected eager loading for shipments API.

    [#1374 state:resolved]
    BDQ committed May 4, 2010
Commits on Apr 29, 2010
  1. @romul

    Added 'show_active' translation key.

    [#1290 state:resolved]
    romul committed Apr 29, 2010
  2. @wapcaplet @romul

    Changed user_steps.rb to use new button label of "Place Order" instead

    of "Save and Continue".
    [#1343 state:resolved]
    wapcaplet committed with romul Apr 19, 2010
Commits on Apr 27, 2010
  1. @BDQ
  2. @BDQ

    Allow specifying where payment methods are displayed.

    [#1365 state:resolved]
    BDQ committed Apr 27, 2010
Commits on Apr 26, 2010
  1. @BDQ

    Change default locale to :en from :en-US inline with Rails.

    [#1358 state:resolved]
    BDQ committed Apr 26, 2010
  2. @romul @schof

    Translations moved to a separate extension; Localization extension me…

    …rged into Core.
    [#1358 state:resolved]
    romul committed with schof Apr 12, 2010
Commits on Apr 23, 2010
  1. @romul

    Don't display delete-link for line item, if it wasn't saved due valid…

    …ation fail.
    [#1352 state:resolved]
    romul committed Apr 23, 2010
  2. @davidnorth

    Fix that creating a payment with invalid creditcard in admin raised e…

    …xception rather than showing the proper flash
    davidnorth committed Apr 23, 2010
Commits on Apr 20, 2010
  1. @BDQ

    Ensures admin orders are assigned to correct user (if an existing use…

    …r is selected).
    [#1341 state:resolved]
    BDQ committed Apr 20, 2010
Commits on Apr 14, 2010
  1. @BDQ

    Make countries and states availalbe via REST API.

    [#1338 state:resolved]
    BDQ committed Apr 14, 2010
  2. @BDQ

    Removes whitespace from creditcard fields.

    [#1337 state:resolved]
    BDQ committed Apr 14, 2010
Commits on Apr 13, 2010
  1. invalid user message should go in flash error

    paulcc committed Apr 13, 2010
  2. protected two calls to on_hand=

    on_hand= can't be used when inventory tracking is off
    paulcc committed Apr 13, 2010
Commits on Apr 12, 2010
  1. @schof

    Explicity define the @orders collection on which to paginate in the a…

    …dmin/orders/index view
    This is helpful for extension creators who wish to render this template
    from within a controller other than the Admin::OrdersController. By
    default, the will_paginate method derives the collection name from the
    controller name which would mistakenly be 'orders' in an extension that
    renders this template. By explicitly setting the collection to
    @orders the template will always render correctly, regardless of the controller that renders it.
    This is a trivial change that I don't believe needs testing as @collection
    is already tested well in resource_controller.
    [#1235 state:resolved]
    Patrick Klingemann committed with schof Mar 12, 2010
  2. @wapcaplet @schof

    Removed inline styles from checkout-summary div, and moved them into

    [#1312 state:resolved]
    wapcaplet committed with schof Apr 11, 2010
  3. @wapcaplet @schof

    Change the button label in the final step of order to 'Place Order'

    instead of 'Save and continue'.
    [#1194 state:resolved]
    wapcaplet committed with schof Apr 12, 2010
  4. @wapcaplet @schof

    Took out the "display:none" on the coupon's submit button, and set the

    label to "Apply".
    [#1297 state:resolved]
    wapcaplet committed with schof Apr 12, 2010
Commits on Apr 11, 2010
  1. @schof

    Change 'agree' prompts in database.rake to show [y/n] instead of [y]

    [#1331 state:resolved]
    eric committed with schof Apr 10, 2010
  2. @schof
Commits on Apr 9, 2010
  1. @romul

    Allow admin to delete shipments.

    [#1329 state:resolved]
    romul committed Apr 9, 2010
Commits on Apr 8, 2010
  1. @schof

    Make cacheing of static content from ContentController optional (defa…

    [#1327 state:resolved]
    schof committed Apr 8, 2010
Commits on Apr 7, 2010
Commits on Apr 6, 2010
  1. @BDQ
  2. @BDQ

    Removed unwanted change.

    BDQ committed Apr 6, 2010
  3. @BDQ
  4. @BDQ
Commits on Apr 5, 2010
  1. @schof

    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. @schof

    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 3, 2010
  1. @docelic @BDQ

    Make ensure_proper_protocol() honor X-HTTPS header

    This option allows proper functioning of SSL on sites where frontend
    proxy handles SSL and proxies all requests to servers over http://.
    docelic committed with BDQ Mar 31, 2010