Commit graph

2200 commits

Author SHA1 Message Date
Pranav Raj S
34df451243 Add rubocop on commit hook (#283) 2019-11-25 11:18:16 +05:30
Nicholas La Roux
fabf59cdd1 Add Dependabot config (#217) 2019-11-25 09:48:11 +05:30
Subin T P
efea049e89 Removes unwanted data migration (#280) 2019-11-25 01:03:50 +05:30
Sojan Jose
78adcf822d #251 - Disable subscription in community edition (#277)
* #251 - Disable subscription in community edition

* Hide billing routes in sidebar for community edition

* Remove subscription serializer if billing disabled
2019-11-24 19:09:17 +05:30
Pranav Raj S
54556bfd58
[Docs] Add documentation for SMTP settings (#279) 2019-11-24 18:54:56 +05:30
Sony Mathew
70e4cc08b6
[#260] One click deploy to heroku (#275)
* [#260] One click deploy to heroku

* Added app.json file for Heroku deployment
* Made changes in Procfile to accept the PORT as env variable
* Added the one click button in README.md

* Change readme and link

* Alignment of button in Readme

* Changing redis to free plan

* Removed node-js build-pack

* Changed the post-deploy script to be rake db:migrate

* Removed web concurrency variable from app.json for heroku

* Changed the link to chatwoot logo referenced in app.json

* Changed postdeploy hook

* Changed logo to be raw content from github

* Changed the SMTP variables

* Added optional conditional for sending mail
* Changed the naming of SMTP variables

* Having logo as base 64 encoded image for heroku deploy page

* Fixed key not found error for SMTP variables

* Correcting the specs for conversation assignment mailer

* Spec rubocop fixes

* Spec rubocop fixes
* Added the link to master for heroku app.json
2019-11-24 17:19:14 +05:30
Alexander Kadyrov
b6186e93e7 Remove unused method from ApplicationRecord (#257) 2019-11-24 02:51:33 +05:30
Pranav Raj S
6f4f66264f Update links in contributing.md (#272) 2019-11-24 02:01:13 +05:30
Pranav Raj S
645c77c3c1 Fix links in documentation (#271) 2019-11-24 01:42:58 +05:30
Sony Mathew
da9ac8b26d 🔥Docker and environment variables cleanup (#270)
* Added dotenv-rails gem to manage environment variables

* Added dotenv-rails gem to manage environment variables
* Removed figaro which was used earlier for this purpose

* Standardized variable names

* Changed all env variables to be upper case. This included changes in files referencing env variables.
* Added example env file with all variables set to empty value
* Removed the earlier setup of copying application.yml and database.yml and the scripts and documentation associated to this

* Docker setup

* Added docker file for building the docker images
* Added entrypoint.sh script which is referenced inside the Docker image
* Cloned the Procfile for development using docker which has slight change compared to regular procfile
* Added the docker-compose.yml which has 3 service's configuration, postgres, redis and chatwoot server and a mounted volume for postgres

* Added docker related info to documentation

* Added the docker setup info in the documentation
* Added info for using`rbenv` instead of rvm for managing ruby versions
* Updated the documentation for environment variables to have one about `dotenv-rails` gem and removed the documentation about the old copy paste method used by figaro

* Changing the postgres database, username and password as environment variables

* Removed database.yml from gitignore
* Made the postgres databse, username and password as environemnt variables
* Added this in documentation

* Added a quick setup page

* Added quick setup page
* Removed the docs from README and added link to the docs in website
* Removed the figaro related things from circle.ci config

* Adding external volume for redis in docker compose

* Added instructions for adding the redis volume in docs
2019-11-24 01:27:39 +05:30
Pranav Raj S
c6feea9f6d [Enhancement] Format messages in widget (#268)
* Use message formatter in widget

* Rename the variable
2019-11-24 00:29:55 +05:30
Pranav Raj S
c96e2c334c Add background story (#269) 2019-11-23 23:44:44 +05:30
Alexander Kadyrov
cb834ff73d Add bundle audit to CI (#263)
* Add bundle-audit gem

* Update vulnerable brakeman gem

* Fix "Insecure Source URI found" issue for Rails
2019-11-22 12:53:57 +05:30
Alexander Kadyrov
efce3b3698 Add executable bit to ./configure script (#255) 2019-11-22 12:05:17 +05:30
Muhsin.K
a4141c5dc5 Remove docs script (#233) 2019-11-21 14:42:40 +05:30
Pranav Raj S
e610a11bc5
[Enhancement] Add a temporary image for channel if no image available (#231) 2019-11-21 12:08:54 +05:30
Pranav Raj S
c914d94b18
Format time, fix sort (#230) 2019-11-21 12:02:10 +05:30
Pranav Raj S
ba10045a0f
Remove therubyracer gem (#228) 2019-11-21 10:31:25 +05:30
Pranav Raj S
8348f4adae
Fix scrollTop of undefined in CannedResponseList (#226) 2019-11-20 15:40:34 +05:30
Pranav Raj S
aef3b04aa5
[Bug] Remove markSeen, toggleTyping calls for WebWidget channels (#225) 2019-11-20 00:04:32 +05:30
Pranav Raj S
bcce70c95a
[Bug] Fix widget mobile layout design (#224) 2019-11-20 00:01:16 +05:30
Ronald Walker
0d5c070f51 [Bug] Fix ReadableTime overlapping message text in Firefox(#219) 2019-11-19 12:55:12 +05:30
Jithin Das
565a8439c0 Fix broken links in docs (#221) 2019-11-18 22:05:10 +05:30
Jithin Das
8e0570ff87 Update contributors link (#220)
* update Readme.md

Fix the anchor tag of contributors

* update contributors.md

Fix the anchor tag redirecting to 404 page
2019-11-18 14:16:35 +05:30
Nicholas La Roux
0aee33453c Upgrade to Ruby 2.6.5 (#216) 2019-11-18 09:07:48 +05:30
Ronald Walker
9256745193 remove 'inbox' attribute on Contact and use join table(ContactInbox) instead (#214) 2019-11-18 08:57:41 +05:30
Sojan Jose
7ed1858284
Less configuration when setting up the repo (#215)
add the default redis url and frontend url to avoid extra hassles when setting up the repo
2019-11-18 08:49:00 +05:30
Juraj Masar
bc0f29344e Fix typo in readme (#212)
- ImageMagik => ImageMagick
2019-11-18 06:32:06 +05:30
Pranav Raj S
2ebc07b381
[Bug] Remove toggle_typing API call for channels except Facebook (#211) 2019-11-17 14:15:05 +05:30
Pranav Raj S
127dd4cf61
[Bug] Fix selected label alignment in MultiSelect (#210) 2019-11-17 13:32:30 +05:30
Pranav Raj S
1ad36f164f
[Enhancement] Create EmptyState component (#209) 2019-11-17 13:09:10 +05:30
Pranav Raj S
88ac20efb5
[Feature] Detect browser on conversation initiation (#208) 2019-11-16 14:48:38 +05:30
dependabot[bot]
ccd3d8dc6e Bump rack-cors from 1.0.3 to 1.0.6 (#207)
Bumps [rack-cors](https://github.com/cyu/rack-cors) from 1.0.3 to 1.0.6.
- [Release notes](https://github.com/cyu/rack-cors/releases)
- [Changelog](https://github.com/cyu/rack-cors/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.6)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-16 11:53:01 +05:30
Pranav Raj S
88fc4d894a
Init Contact Panel (#206) 2019-11-14 13:46:43 +05:30
Pranav Raj Sreepuram
b985085786 Fix styles in conversation view 2019-11-12 10:09:58 +05:30
Pranav Raj S
6d8b6d4769
[Bug] Scroll conversation to bottom on load (#205) 2019-11-12 09:46:30 +05:30
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
dependabot[bot]
047e485998 Bump loofah from 2.3.0 to 2.3.1 (#203)
Bumps [loofah](https://github.com/flavorjones/loofah) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/flavorjones/loofah/releases)
- [Changelog](https://github.com/flavorjones/loofah/blob/master/CHANGELOG.md)
- [Commits](https://github.com/flavorjones/loofah/compare/v2.3.0...v2.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-09 22:17:42 +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 S
c080f6c429
Update docs to use open collective (#200) 2019-11-04 12:49:01 +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