Commit graph

1503 commits

Author SHA1 Message Date
Lauren
bfa4121f41 Feature/add inbox specs (#192)
* Add base Inbox association and validation specs

* `#facebook?``

* `#add_member` and `#remove_member`

* cleanup

* Rubocop

* Rubocop but again

really this time
2019-10-30 10:49:23 +05:30
Pranav Raj S
3d3aefb197 [Enhancement] Use JS-Cookie to set Cookies (#193)
* Update js-cookie

* Add sdk css

* Remove conversation padding
2019-10-30 10:43:11 +05:30
José Miguel Ochoa
e32b6bf6d4 [Enhancement] Add default avatar when profile image is not available (#188)
* Add default avatar when agent image is not available

* Remove fonts from avatar
Separate non-computed style values
2019-10-29 23:36:21 +05:30
Pranav Raj S
16fe912fbd
[Feature] Website live chat (#187)
Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2019-10-29 12:50:54 +05:30
Sojan Jose
a4114288f3 Update issue templates 2019-10-29 09:06:00 +05:30
Moisés Ñañez
40c72404d6 Ignore coverage reports (#190) 2019-10-28 23:17:14 +05:30
Moisés Ñañez
5a41f321c8 [Enhancement] Move chart options to a variable (#189) 2019-10-28 21:00:02 +05:30
Pranav Raj S
17bb50c977
Configure SCSS linter rules (#186) 2019-10-27 19:28:02 +05:30
Pranav Raj Sreepuram
170f8716c5 Refactor Conversation, Message API calls, store 2019-10-27 19:01:59 +05:30
Sojan Jose
c21c839dca
Contact model changes (#184)
* move source id from contacts

* Fix contactInbox model name

* rubocop fix

* Fix rspec
2019-10-27 13:14:36 +05:30
Sojan Jose
3b6d58bbdf Refactor Reports Controller 2019-10-27 11:11:51 +05:30
Pranav Raj S
6c60b60240
[Enhancement] Add ApiClient, refactor CannedResponse (#183) 2019-10-27 10:48:26 +05:30
Pranav Raj S
50fc06681c
[Enhancement] Update vue-chartjs to fix production build (#182) 2019-10-27 10:24:19 +05:30
Pranav Raj S
f869598cb4
[Enhancement] Remove frontend env file 🔥(#179) 2019-10-25 12:01:05 +05:30
Pranav Raj S
f4358d9993 Replace pusher with action cable (#178)
closes #43
2019-10-25 01:37:01 +05:30
Nursoltan Saipolda
c0354364ff removed app/stylesheets & set stylesheet generator to false (#177) 2019-10-24 17:08:38 +05:30
Anusha Bhat
0a6156fe38 Add rubocop tools and regenerate rubocop todo file (#175) 2019-10-23 23:56:48 +05:30
Nursoltan Saipolda
af94bf9239 [docs] Add installation guide for windows os (#174) 2019-10-23 16:13:34 +05:30
Nursoltan Saipolda
73d433b591 deleted coffee files & coffee-rails gem. disable js generation on application.rb (#173) 2019-10-23 15:59:45 +05:30
Pranav Raj S
e0d291c49e
Create util for apiLoadingStatus (#170)
* Create util for apiLoadingStatus

* Revert "Fix #52 rubocop metrics abc size in passwords controller (#119)"

This reverts commit 9c22da0ac6.
2019-10-22 13:28:45 +05:30
Pranav Raj Sreepuram
cd43b09574 Fix codeclimate issues in babel.config.js 2019-10-22 12:32:54 +05:30
AlexisChavez97
9c22da0ac6 Fix #52 rubocop metrics abc size in passwords controller (#119)
* Fix #52 rubocop metrics abc size in passwords controller

* Fix DeviseTokenAuth headers names
2019-10-22 12:32:06 +05:30
rojace
10d3ab295c Use centralized bash file to copy configurations. (#169)
* Use centralized bash file to copy configurations.

* Typo.

* EOF.
2019-10-22 11:07:29 +05:30
Aleksandr
a7787e0f23 issue #151: add rubocop to ci (#168) 2019-10-21 11:18:47 +05:30
Sojan Jose
ba8f055802
Change sender_id to contact_id in conversations (#167)
* change sender_id to contact_id in conversations

* Fix failing tests

* Fix seeds

* fix specs

* Fix issues in facebook messenger
2019-10-21 00:40:18 +05:30
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
Pranav Raj S
dd018f3682
Upgrade bourbon to ^6.0.0 (#161) 2019-10-20 13:34:19 +05:30
Pranav Raj S
20cfd005b9
[Enhancement] Remove Ionicons CDN usage, upgrade packages (#160) 2019-10-20 09:29:05 +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
Nikhil Pathak
7d4cac38a8 Freeze Constant (#156) 2019-10-19 10:59:56 +05:30
Pranav Raj S
af20e61604
[Feature] Add PWA support (#157)
* Add icons, manifest

* Add workbox config
2019-10-18 12:37:09 +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
Sojan Jose
ad5fb525f5 Remove more stale gems 2019-10-17 01:02:42 +05:30
Sojan Jose
addb370915 Remove Stale Gems 2019-10-17 00:51:50 +05:30
Akshay Birajdar
7b5c9dae63 Fixes #115 Use middle instead of centre in flex-align (#153)
Co-authored-by: Nithin <webofnithin@gmail.com>
2019-10-16 22:45:36 +05:30
Pranav Raj S
2783fb6006
Move src to dashboard (#152) 2019-10-16 14:36:17 +05:30
Pranav Raj Sreepuram
012a2743f2 Remove corejs option in preset-env
Fixes #148
2019-10-16 12:29:57 +05:30
Akshay Birajdar
a1452d7d89 Sprinkle frozen string literal & Indentation Fix (#150)
* Avoid extra string alocation as join will always return string

* Fix indentation

* Sprinkle frozen string literal true
2019-10-16 12:22:30 +05:30
Akshay Birajdar
59e9fbd336 Introduce .editorconfig (#149)
.editorconfig will allow maintaining consistent coding style across
various text editors and IDEs
2019-10-16 12:01:05 +05:30
Akshay Birajdar
4bb6842a4d Prefer Enumerable#detect over Enumerable#select.first (#147) 2019-10-15 11:46:18 +05:30
Davyd McColl
01b72ca051 Initial testing with jest (#133)
* 🎉 initial testing with jest

* 👌 update test script names & remove package-lock.json

* 👌 add 'yarn test' step to circle-ci build workflow
2019-10-15 00:18:46 +05:30
Andrei
cdada37e3a Fix #114: Address color contrast warning messages (#144)
* Make button text black

* Remove custom white text for warning buttons
2019-10-15 00:15:33 +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
Pranav Raj S
4b33a480c7
Fix missing username in assignment message (#142) 2019-10-13 19:16:28 +05:30
Pranav Raj S
14c5a304b3
[docs] Update contributors list (#136) 2019-10-13 09:58:32 +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
Ender Ahmet Yurt
43e54a7bfb Add mac os installation guide (#135) 2019-10-12 10:47:08 +05:30
Nima
df0c1fa0c5 Refactor parseErrorCode and try to decrease method complexity (#132) 2019-10-10 09:11:18 +05:30