Commit graph

394 commits

Author SHA1 Message Date
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
Pranav Raj Sreepuram
1625929193 [docs] Update documentation URL 2019-10-09 17:58:14 +05:30
Pranav Raj Sreepuram
046cc20f71 Update documentation to include page title and slug 2019-10-09 17:55: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
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
0daeeb1361
Merge pull request #122 from kirillarutyunov/codeclimate-76-issue-sidemenu-scss
Codeclimate #76 issue _sidemenu.scss
@kirillarutyunov Thanks for the PR's. We are sending stickers to our lovely contributors.
Please drop your details here for us to get in touch with you. We will start shipping it by the end of October.
2019-10-07 20:41:47 +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
d9b97bc92e
Merge pull request #123 from kirillarutyunov/codeclimate-70-issue-emojiinput-scss
Fix #70 issue codeclimate in _emojiinput.scss

@kirillarutyunov Thanks 🎉
2019-10-07 20:28:14 +05:30