*0.9.1*
- added Opensteam::InvoiceBase::Invoice
and Opensteam::ShipmentBase::Shipment
models to simplify/clarify order-processing
- added Opensteam::StateLogic
Module to provide basic methods for state-modules (override all
instance_methods of a state-module and call ‘fire_event’
instead)
- added Opensteam::StateMachine
Module to implement a state-pattern for the Order, Invoice and
Shipment-Models (change_state, execute method (event) in current
state-module)
- added state-modules (pending, finished, etc) in
RAILS_ROOT/lib/states/order|invoice|shipment
- added Opensteam::Initializer to handle all require, after_initialize and
logging methods
- deleted initialize methods from lib/opensteam.rb
- added observer-methods (in Opensteam::StateMachine)
to be called after state-changing, to allow a simple state workflow
- implemented a simple state-workflow in
RAILS_ROOT/config/initializers/init_states for orders. (Set order to
finished if all invoices and shipments for all OrderItems are finished )
- removed the STI column in the users-table (Opensteam::UserBase::User)
in favor of profiles
- added profiles-table (Opensteam::UserBase::Profiles) to provide a
profile-driven user-management (a user has now an association to a profile)
- changed the Authentication Module and controller filter to work with the
new pprofile user management
- fixed bugs in the Shopping Controller and Views (TODO: refactor, DRY)
- changed the admin-backend controller namespace (Module) from
"administration" to "admin"
- changed the routes to work with the new admin-controller-namespace
- added views + controller for users in the admin backend to crud users
(admins, customers)
- added a controller-namespace called "profile" (for customer
specific content -> frontend)
- added views + controller called "info" to the
"profile"-namespace, to allow customers to view/edit their
profile data (incl. password-change)
- added views + controller called "orders" to the
"profile"-namespace, to allow customers to view their orders
(pending, finished, etc)
- added a helper method to render sortable and searchable tables (for the
admin-backend) (TODO: DRY)
- added views + controller for orders, invoices and shipments in the
admin-backend
- added a search controller + views
- associated searches to the logged_in customer (TODO: add views for previous
searches)
- added a ‘histories’ table (Opensteam::History) to provide
logging functionality (currently for state-changes on orders, invoices and
shipments) (TODO: customer login, searches, etc )
- associated :histories to :orders, :invoices and :shipments
- refactored the layout-files
- bugfixes
*0.9.0*