Commit graph

2609 commits

Author SHA1 Message Date
Sojan Jose
19ab0fe108
Chore: Scope URLs with account_id ()
* Chore: Enable Users to create multiple accounts

Addresses: 
- migrations to split roles and other attributes from users table
- make changes in code to accommodate this change

Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-03-09 23:27:10 +05:30
Pranav Raj Sreepuram
2a6670f0da Merge branch 'hotfix/1.2.2' into develop 2020-03-09 10:01:15 +05:30
Pranav Raj Sreepuram
91bccd3c6d Merge branch 'hotfix/1.2.2' 2020-03-09 10:00:42 +05:30
Pranav Raj Sreepuram
ef6c695bcb Chore: Add additional_attributes to conversation seed 2020-03-09 10:00:11 +05:30
Pranav Raj Sreepuram
1db35caa56 Merge branch 'release/1.2.1' into develop 2020-03-08 22:15:58 +05:30
Pranav Raj Sreepuram
1273ea64d3 Merge branch 'release/1.2.1' 2020-03-08 22:15:04 +05:30
Pranav Raj S
2a4fb7b056
Bug: Fix conversation not loading from the links in email ()
Bug: Load conversation from links
2020-03-08 22:08:25 +05:30
Nithin David Thomas
60dc564f37
Bug: Fix missing close button on mobile chat window ()
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-03-07 23:39:41 +05:30
Sojan Jose
8b4df986bf
Chore: Enable Users to create multiple accounts ()
Addresses: 
- migrations to split roles and other attributes from users table
- make changes in code to accommodate this change

Co-authored-by: Sojan Jose <sojan@pepalo.com>
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-03-07 12:18:16 +05:30
Sojan Jose
a8ac048716
Bug: Fix duplicate messages from Twitter DM and tweets ()
* Bug: Fix duplicate messages from Twitter DM and tweets
2020-03-06 01:47:37 +05:30
Pranav Raj S
b2d5cc7b05
Feature: Introduce bots ()
Co-authored-by: Pranav Raj S <pranavrajs@gmail.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2020-03-06 01:43:12 +05:30
Sony Mathew
fabc6c87af
Chore: User Friendly URLs on the swagger docs ()
Made the swagger documentation urls short and readable.
2020-03-04 00:41:21 +05:30
Pranav Raj S
f76ba889dd
Docs: Add webhook documentation () 2020-03-03 18:52:30 +05:30
Pranav Raj S
97ad512c21
Security: Upgrade puma to 4.3.3 () 2020-03-03 13:00:54 +05:30
Nithin David Thomas
dfdb68e1c3
Enhancement: Improve UI on user preferences page () 2020-03-03 12:39:05 +05:30
Sojan
c772c0af03 Merge branch 'release/1.2.0' 2020-03-01 19:33:41 +05:30
Sojan Jose
cda65ea339
Feature: Conversation creation email notifications ()
* Clean up the mailers

* Disable assignment mailer if setting is turned off

* Email notifications on conversation create

* Specs
2020-03-01 19:06:13 +05:30
Pranav Raj S
d6237dfc59
Feature: Add UI to update email notification preferences () 2020-03-01 17:47:08 +05:30
Pranav Raj S
629c73d3ce
Fix onBackDropClick () 2020-03-01 11:23:55 +05:30
Tim Lange
bbf01037c6
Chore: Added tests for conversations messages controller () 2020-03-01 04:56:30 +05:30
Sony Mathew
7f26b34b15
Feature: Add new notification settings for user ()
Added new notification settings API for user 

Co-authored-by: Sojan Jose <sojan@pepalo.com>
2020-02-29 20:41:09 +05:30
dependabot[bot]
bbd9968d4b
Chore(deps): Bump puma from 4.3.1 to 4.3.2 ()
Bumps [puma](https://github.com/puma/puma) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v4.3.1...v4.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-29 18:06:27 +05:30
Nithin David Thomas
c119c6577b
Feature: As a admin, I should be able to add webhooks to account ()
Co-authored-by: Pranav Raj S <pranavrajs@gmail.com>
2020-02-29 17:43:49 +05:30
Pranav Raj S
e8cf59c661
Feature: Alert widget user when message is received from agent () 2020-02-29 11:27:02 +05:30
Sojan Jose
b05f843790
Chore: Making Account Signup Optional ()
Introduce new environment variable that lets you control account signups
ENABLE_ACCOUNT_SIGNUP :( true | false | api_only )
Fixes: 

Co-authored-by: Pranav Raj S <pranavrajs@gmail.com>
2020-02-29 11:20:33 +05:30
Sony Mathew
0aad99ff0b
Chore: Update the source of json_refs gem () ()
At the time of using, `json_refs` gem did not have the ability to recursively resolve the references. So we had to fork this into one of our own and make the required changes. So this fork was used as the source for the gem.
Along with this, we had raised a PR in the original repo so as to push the recursive dereferencing changes upstream. This was merged in the gem's parent repo. So updated the source of this gem to the original parent repo source.
2020-02-27 01:19:26 +05:30
Pranav Raj S
0740d4762f
Enhancement: Paginate conversation calls in tabs ()
* Use conversationPage module for pagination

* Load more conversations

* Reset list if conversation status is changed

* Add specs to conversationPage

* Reset filter when page is re-mounted

* Update text

* Update text
2020-02-26 21:15:01 +05:30
Tim Lange
e5bc372a29
Chore: Added tests for callbacks_controller ()
* Chore: Added tests for callbacks_controller
2020-02-26 18:22:08 +05:30
Sojan Jose
74f8a35cfc
Chore: Environment variable to force ssl ()
Fixes: 

Co-authored-by: Pranav Raj S <pranavrajs@gmail.com>
2020-02-26 11:36:22 +05:30
dependabot[bot]
1f158aa193
Chore(deps): Bump nokogiri from 1.10.7 to 1.10.8 ()
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.7 to 1.10.8.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.7...v1.10.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: Pranav Raj S <pranavrajs@gmail.com>
2020-02-26 09:59:38 +05:30
Subin T P
7479b5db43
Feature: Support account/inbox specific webhooks () 2020-02-26 09:44:24 +05:30
Sony Mathew
4d5e7b4adf
Bug: Added Sidekiq to production docker compose () ()
* Sidekiq service was missing from the production docker compose file. Added it.
2020-02-25 01:23:29 +05:30
Pranav Raj S
55b001435b
Bug: Fix yarn.lock discrepancies () 2020-02-24 10:32:35 +05:30
Sony Mathew
fc1fa579e9
Chore: Document Conversation APIs in swagger ()
* Added the documentation for the conversation APIs - 8 endpoints
* Added descriptions for the existing endpoints
* Added new resource models and updated some parts of the contact API
2020-02-24 00:51:31 +05:30
Sony Mathew
c7a4550477
Updated Docker documentation
* Removed the links to docker hub
2020-02-23 23:11:11 +05:30
Nithin David Thomas
fd8e8c7c87
Enhancement: Add close button to the contact sidebar panel () 2020-02-23 21:13:28 +05:30
Nithin David Thomas
2d3212575d
Enhancement: Hides available in widget interaction () 2020-02-23 15:16:09 +05:30
Sony Mathew
e2688d5176
Chore: Swagger Docs V1 () 2020-02-23 12:54:29 +05:30
Nithin David Thomas
eea92bd0ac
Bug: Add link cursor to widget close button () 2020-02-22 20:20:43 +05:30
Pranav Raj S
1261cc7783
Enhancement: Upgrade @babel/preset-env () 2020-02-22 20:16:56 +05:30
Tim Lange
a790dc640f
Fix: Changed overflow scroll to overflow auto ()
Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
2020-02-22 19:15:45 +05:30
ghosteathuman
67f4f69e8a
Bug: Fix error message when existing agent email is reused for a new agent ()
Co-authored-by: Pranav Raj S <pranavrajs@gmail.com>
2020-02-22 19:06:16 +05:30
Pranav Raj S
6340eb3ae2
Security: Upgrade @rails/webpacker and jest ()
* Security: Upgrade @rails/webpacker and jest

* Upgrade jest from 24.9.0 to 25.1.0
* Upgrade @rails/webpacker from 4.0.7 to 4.2.2

* Update test to use 1 worker
2020-02-22 19:02:11 +05:30
Nithin David Thomas
708d2688ff
Bug: Fix URL text overflow () 2020-02-22 15:32:15 +05:30
Tim Lange
91f8b4a650
Bug: Show helper description for code in finish setup page ()
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2020-02-22 14:27:04 +05:30
Nithin David Thomas
330bf87f08
Bug : Inbox Filter indicator is removed when a conversation is selected () 2020-02-22 14:24:51 +05:30
Tim Lange
bc884ae184
Chore: Added tests for dashboard_controller () 2020-02-21 00:43:14 +05:30
Nithin David Thomas
f7c8358549
Bug: Hide contact panel when inboxId is not present () 2020-02-20 19:48:09 +05:30
Subin T P
d36e1b52f6
Enhancement: Add event name in webhook payload ()
* chore: Remove unwanted twitter gem
* Enhancement: Add event name in webhook payload
fixes   
2020-02-20 16:19:42 +05:30
Tim Lange
813cdd8aec
Chore: Added tests for facebook_indicators_controller () 2020-02-20 12:12:19 +05:30