Commit graph

20 commits

Author SHA1 Message Date
Sojan Jose
2099dc01a6
Routine weeding of the codebase (#163)
* Routine weeding of the codebase
* fix the spec
2019-10-20 16:19:12 +05:30
Pranav Raj S
94c6d6db6f
🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
Sojan Jose
a7da2428b0
upgrade facebook messenger gem (#159)
- carrierwave local config
- upgrade facebook messenger gem to support facebook graph api 4.0
2019-10-20 01:41:24 +05:30
Sojan Jose
701722983b Refactoring Gem Groups 2019-10-17 03:48:48 +05:30
Sojan Jose
3988777718
Refactoring the code for pub sub (#155)
- We were using the attribute name 'channel' to store pubsub tokens, which was confusing.
- switched to faker from ffaker
- spec for contact.rb
2019-10-17 03:18:07 +05:30
Akshay Birajdar
4bb6842a4d Prefer Enumerable#detect over Enumerable#select.first (#147) 2019-10-15 11:46:18 +05:30
Lauren
b89353b76c Feature/update confirmation email information (#145)
* Add `invited_by` foreign key to User

Allows for a User to be tied to the user who invited them

* Include `current_user` in new agent initialization parameters

* Add `shoulda-matchers` for testing associations

* Add Inviter information and associated account to welcome email

* Only show inviter info if applicable

* Update conversation spec for FFaker compatibility
2019-10-14 14:24:58 +05:30
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
Allan Klaus
0621fa66e4 Fix abs rubocop metric of create_activity (#101)
* Fix abs rubocop metric of create_activity

* Fix anothers rubocop issues

* Remove comment that was removed on master
2019-10-09 01:15:04 +05:30
Ender Ahmet Yurt
ca63bba63f Refactor for notify_status_change (#106) 2019-10-05 17:12:50 +08:00
Sojan Jose
e2448c5ece
Merge pull request #93 from arku/refactor/attachment-push-event-data
Refactor Attachment#push_event_data
2019-10-03 11:25:57 +03:00
Arun Kumar Mohan
9d291638c4 Refactor Attachment#push_event_data 2019-10-02 18:19:27 -05:00
Jaques Dias
9afbc8c55f Fix code climate issues on Plan model (#98) 2019-10-02 21:46:32 +08:00
Jaques Dias
d1f06992b2 Refactor create_activity method on Conversation model (#105) 2019-10-02 21:03:07 +08:00
Pranav Raj Sreepuram
3b26b78df0 Remove phantomjs dependency 🔥 2019-09-02 16:23:06 +05:30
Pranav Raj Sreepuram
beda21b84c Remove source_id as primary key for contact 2019-08-31 11:53:03 +05:30
Pranav Raj Sreepuram
f74a6593ef Cleanup message model, fix reporting listener issues 2019-08-31 04:08:00 +05:30
Pranav Raj Sreepuram
fa0904386f Disable host check, fix router url 2019-08-19 13:51:20 +05:30
Sojan Jose
52194116b3 Upgrade to rails 6 💎 (#11)
- upgraded to rails 6
- fixes various issues
2019-08-19 13:49:57 +05:30
Pranav Raj Sreepuram
2a34255e0b Initial Commit
Co-authored-by: Subin <subinthattaparambil@gmail.com>
Co-authored-by: Manoj <manojmj92@gmail.com>
Co-authored-by: Nithin <webofnithin@gmail.com>
2019-08-14 15:18:44 +05:30