Begin chat service extraction into its own service
Create Chat Service and start trying to hookup to support me
built chat service methods and spec for chats. no messages yet
Add Message model and skeleton for controller
changed folder name for main app
Merge master into services branch
removed no longer used files
Add Message functionality to Chat Service
Update Message controller to deal with chat service
More updates!
Converted create method in ChatService to an instance method to maintain consistency. Redid tests for ChatService, coverage of this class is at 100 per cent.

Files Modified

modified:   chat_service/.gitignore
renamed:    .gitignore -> support_me-main/.gitignore
renamed:    .rspec -> support_me-main/.rspec
modified:   support_me-main/app/services/chat_service.rb
modified:   support_me-main/db/development.sqlite3
modified:   support_me-main/db/test.sqlite3
modified:   support_me-main/log/development.log
modified:   support_me-main/log/test.log
modified:   support_me-main/spec/services/chat_service_spec.rb
Update local branch with jorges work
Continue to Update Main App to work with service
Moved ChatService class methods into a Client module to clean the ChatService class. This will also allow to use the Client module in future services.

Other Changes

* Converted create_chat and fetch_chat into instance methods instead of class methods to maintain the same level of abstraction.
* Modified the ChatService specs to reflect this change. Added test for fetch chat.
* VCR is still pending.

Files Modified / Added

modified:   support_me-main/app/services/chat_service.rb
new file:   support_me-main/app/services/client.rb
modified:   support_me-main/log/test.log
modified:   support_me-main/spec/services/chat_service_spec.rb
Modified the demo_controller, the chats_controller and the customer_controller to reflect the changes of the ChatService.

Files Modified

modified:   support_me-main/app/controllers/admin/chats_controller.rb
modified:   support_me-main/app/controllers/customers_controller.rb
modified:   support_me-main/app/controllers/demo_controller.rb
modified:   support_me-main/app/services/chat_service.rb
modified:   support_me-main/log/test.log
Merged John changes in the views
Merging John's changes into the branch. Changes OpenStructs for classes. The admin panel is not showing still, but the demo and the customer chat are. Check the new Chat and Message clases to see how the new behaviour works.
Merging all the javascript changes into the new splitup apps
merged with master