Commit graph

1944 commits

Author SHA1 Message Date
Pranav Raj Sreepuram
e37c04a81f Remove console warning from foundation 2019-11-12 08:55:35 +05:30
Pranav Raj S
7b4b5d31d9
[Bug] Update copy in search agent select dropdown (#204) 2019-11-10 22:58:55 +05:30
Pranav Raj S
7e3409c3e1
[Enhancement] Enter to send message, add click on bubble instead of icon (#202) 2019-11-09 17:12:31 +05:30
Pranav Raj S
63ce5607e9
[Bug] Rescue error on JWT.encode (#201) 2019-11-09 16:04:02 +05:30
Pranav Raj Sreepuram
de76780ce5 [Enhancement] Use thumbnail component 2019-11-05 10:15:56 +05:30
Pranav Raj Sreepuram
7a2fb8eef1 [Bug] Fix unable to set unsafe-headers 2019-11-04 12:54:41 +05:30
Pranav Raj Sreepuram
dbb57a8a56 Upgrade foundation to 6.5.3 2019-11-01 13:44:03 +05:30
Pranav Raj S
5cc3543657 [Internal] Add route for widget testing (#199) 2019-11-01 12:53:01 +05:30
Pranav Raj Sreepuram
f3fc542a5f [Bug] Fix conversation scroll in dashboard 2019-10-30 12:08:10 +05:30
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
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
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
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
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
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
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
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
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
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
Nima
df0c1fa0c5 Refactor parseErrorCode and try to decrease method complexity (#132) 2019-10-10 09:11:18 +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
Anca
e066a9cff5 Fix #58 - Refactor inbox_members_controller (#109) 2019-10-08 14:03:41 +05:30
Kirill Arutyunov
eef7555d62 Fix #77 issue codeclimate in _tabs.scss (#125)
* Fix #77 issue codeclimate in app/javascript/src/assets/scss/widgets/_tabs.scss

* Update border-width for #77 in _tabs.scss
2019-10-08 01:31:09 +05:30
Nishant Samel
59db1de1dc Fix Code Climate issues with Conversation View (#103) 2019-10-08 01:06:01 +05:30
Nithin David Thomas
3a01a40c26
Merge branch 'master' into codeclimate-76-issue-sidemenu-scss 2019-10-07 20:34:17 +05:30
Nithin David Thomas
99322842a7
Merge branch 'master' into codeclimate-70-issue-emojiinput-scss 2019-10-07 20:22:47 +05:30
Kirill Arutyunov
ea13a21da5 Fix #78 issue codeclimate in app/javascript/src/assets/scss/widgets/_thumbnail.scss (#121) 2019-10-06 20:03:01 +05:30
Kirill Arutyunov
c0f40b1713 Fix #65 issue codeclimate in app/javascript/src/assets/scss/widgets/_billing.scss (#124) 2019-10-06 19:46:05 +05:30
Kirill Arutyunov
942f47fa2d Fix #70 issue codeclimate in app/javascript/src/assets/scss/widgets/_emojiinput.scss 2019-10-06 16:08:17 +03:00
Kirill Arutyunov
426ac33acf Fix #76 issue codeclimate in app/javascript/src/assets/scss/widgets/_sidemenu.scss 2019-10-06 16:02:59 +03:00
Marc C
9b9aee4657 Update contact_params function (#100)
removed if block,
cannot be shortened further due to exception handling and params formatting
2019-10-06 10:29:54 +03:00
Ender Ahmet Yurt
bbbc14448b Refactor for attachment_params method (#108) 2019-10-05 17:15:32 +08:00
Ender Ahmet Yurt
ca63bba63f Refactor for notify_status_change (#106) 2019-10-05 17:12:50 +08:00
Davyd McColl
b41a8c8477 ♻️ reduce complexity of validateAuthenticateRoutePermission function (#95) 2019-10-05 17:07:05 +08:00
Ricardo Ferro Moreno
e91868f823 Fix multiple SelectorFormat issues in views/_signup.scss (#88) 2019-10-05 16:34:24 +08:00
Ian Vaughan
ccfa135264 Reduce line code to please Rubocop (#111)
Fixes #58
2019-10-04 01:57:34 +03: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
Arun Kumar Mohan
1b52316c16 Update location where attachment uploads are stored in test environment (#91) 2019-10-02 21:56:09 +08: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
Sai Sandeep Mutyala
f2544816d4 Fixed ZeroUnit issue (#99) 2019-10-02 18:17:36 +08:00
Pranav Raj S
b7ba0d95a8
Fix codeclimate lint errors in _login.scss (#83) 2019-10-02 11:13:57 +08:00
Pranav Raj S
9951feabc1
[scss-lint] Fix "Shorthand" issue, Remove redundant variables, use shorthand (#82) 2019-10-02 11:07:10 +08:00
Pranav Raj S
7e76285f7c
[scss-lint] Fix "HexLength" issue (#81) 2019-10-02 11:03:56 +08:00
Pranav Raj Sreepuram
a3128cee35 Remove unused http error codes 2019-09-05 13:18:27 +05:30
Pranav Raj Sreepuram
3549fc5fdd Split conversation module into getters and actions 2019-09-05 13:01:36 +05:30
Pranav Raj Sreepuram
f9d4c2af90 [codeclimate] Reduce number of lines in bindEvent 2019-09-05 12:30:36 +05:30
Pranav Raj S
a108ae7789
Cleanup routes (#26) 2019-09-05 12:24:26 +05:30
Nithin David
d353873471 Fix new inbox wizard 2019-09-02 21:19:25 +05:30
Nithin David Thomas
1313c50df2 Resurrection of the broken pusher (#25) 2019-09-02 20:26:28 +05:30
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 S
bd7bd63aae
Fix url in emails, add frontendURL helper (#19)
Fixes #16
2019-08-25 19:59:28 +05:30
Pranav Raj Sreepuram
28fdc062de Remove unused views 2019-08-25 13:30:14 +05:30
Pranav Raj Sreepuram
a6968329e4 Fix agent dropdown styles
Fixes #15
2019-08-25 11:43:15 +05:30
Pranav Raj Sreepuram
f18f01a047 Fix eslint warnings, update eslint config 2019-08-25 11:05:05 +05:30
subintp
6b7790692e Use around_action instead of around_filter 2019-08-21 21:52:20 +05:30
Subin T P
2a335df49c Disables widget user message broadcast (#14) 2019-08-21 20:09:59 +05:30
Pranav Raj S
2c144d5ad3
Setup Circle CI, add brakeman config (#13)
* Add circle ci config

* Change config to fix tests

* Update config

* Fix eslint command, add brakeman
2019-08-21 12:59:56 +05:30
Pranav Raj Sreepuram
6e4fec2b55 Add linters and pre-commit hook 2019-08-21 10:27:57 +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
2b6c7a4025 Add env variables for frontend 2019-08-18 00:44:44 +05:30
Pranav Raj Sreepuram
4fceb59eb2 Add mailer templates, remove unused devise controllers 2019-08-17 18:05:50 +05:30
Pranav Raj Sreepuram
bb87d840e0 Fix routes in emails, redirects 2019-08-17 17:50:43 +05:30
Pranav Raj Sreepuram
af25358b17 Cleanup gemfiles 2019-08-17 17:49:31 +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