Commit graph

929 commits

Author SHA1 Message Date
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
Nithin David Thomas
99322842a7
Merge branch 'master' into codeclimate-70-issue-emojiinput-scss 2019-10-07 20:22:47 +05:30
Sojan Jose
728c23aefd Bump up versions 2019-10-07 00:46:13 +05:30
Pranav Raj Sreepuram
6e19659e88 Add missing screenshot 2019-10-06 21:18:01 +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
9759c7432f Add .idea folder to the gitignore for ignoring Jetbrains IDE (webstorm) config files (#126) 2019-10-06 19:40:02 +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
Pranav Raj S
84e0eb2441
Update README.md 2019-10-06 09:23:51 +05:30
Pranav Raj S
902b8e855e
[docs] Move contributors section to docs (#120) 2019-10-06 09:23:24 +05:30
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