Chatwoot/app/models
Emil Shakirov 4768aca484 Refactor Conversation model (#134)
* Add Conversation factory with dependent factories

* Include FactoryBot methods in rspec config

* Add unit tests for public methods of Conversation model

* Move Current model into a separate file in lib folder

* Disable Metrics/BlockLength rule for db/migrate and spec folders

* Get rid of global $dispatcher variable

* Create Message#unread_since scope

* Refactor callback methods in Conversation model

* Create Conversations::EventDataPresenter

* Add translation keys for activity messages

* Add pry-rails gem

* Refactor Conversation#notify_status_change

* Add mock_redis for test env
2019-10-12 23:38:41 +05:30
..
channel Initial Commit 2019-08-14 15:18:44 +05:30
concerns Initial Commit 2019-08-14 15:18:44 +05:30
account.rb Refactor Conversation model (#134) 2019-10-12 23:38:41 +05:30
application_record.rb Initial Commit 2019-08-14 15:18:44 +05:30
attachment.rb Refactor Attachment#push_event_data 2019-10-02 18:19:27 -05:00
canned_response.rb Initial Commit 2019-08-14 15:18:44 +05:30
channel.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
contact.rb Initial Commit 2019-08-14 15:18:44 +05:30
conversation.rb Refactor Conversation model (#134) 2019-10-12 23:38:41 +05:30
facebook_page.rb Initial Commit 2019-08-14 15:18:44 +05:30
inbox.rb Remove phantomjs dependency 🔥 2019-09-02 16:23:06 +05:30
inbox_member.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
message.rb Refactor Conversation model (#134) 2019-10-12 23:38:41 +05:30
plan.rb Fix code climate issues on Plan model (#98) 2019-10-02 21:46:32 +08:00
subscription.rb Refactor Conversation model (#134) 2019-10-12 23:38:41 +05:30
telegram_bot.rb Initial Commit 2019-08-14 15:18:44 +05:30
user.rb Refactor Conversation model (#134) 2019-10-12 23:38:41 +05:30