Commit Graph
2360 Commits
Author SHA1 Message Date
Anto DominicandPranav Raj S 335e7487e6 Docs: Update docker guide to use website docs (#383) 2019-12-25 00:10:36 +05:30
Sojan JoseandPranav Raj S f98cd83a29 Code-climate duplicate code fixes (#382)
* Code-climate duplicate code fixes

* Spec for accounts controller
2019-12-24 17:32:27 +05:30
SojanandPranav Raj S 97ab82892d Chore: labels to Conversations [#245] 2019-12-24 16:42:18 +05:30
Sojan JoseandPranav Raj S 7d85f2e046 Feature: Contact Merge Action (#378) 2019-12-24 13:27:25 +05:30
Pranav Raj SandSojan Jose 32efe8676f Fix formatting in docs (#379) 2019-12-23 13:00:22 +05:30
Pranav Raj SandSojan Jose 1143893d9c [Bug] Fix conversation assignment mailer url (#374)
* Fix conversation assignment mailer url

* Remove mailer scope
2019-12-23 12:16:46 +05:30
Sojan JoseandPranav Raj S 9c7d8bb60d [Docs] Update docker documentation (#377) 2019-12-23 11:56:25 +05:30
Anto DominicandSojan Jose 1ee17cc826 [Enhancement] Docker support Debugging (byebug & pry) and receive emails to MailHog via smtp (#371)
* updated development docker setup

* turned on yarn integrity check

* create test docker compose and update development dockerfile

* create docker Readme.md file

* fix README.md file

* create docker-copmose and dockerfile for production/staging environment setup

* added mailhog to catch email

* remove yarn integrity check in development mode!

* Update Readme.md file to support mailhog inbox

* update link to docker development guide from mail README

* remove .env.development and use .env.example for docker as .env.development was mixing with circleci config

* make the dockerfile configurable like before

* update docker-compose as per suggesion in PR

* create docker setup docs

* Revert accidental deletion

* fix: typo for branding consistency

* fix typo

* update the code as per recommendation in PR

* remove package-lock and add gitignore

* fix vulnerability AND update env for tests to pass

* Fix yarn integrity check across different docker services

* update code based on rubocop and PR suggestions

* remove redundant test docker-compose and dockerfile

* update rails entrypoint, update docs and Gemfile

* [Rubocop] order Gemfile alphabetically

* Reordering Gemfile
2019-12-22 22:53:18 +05:30
Anto DominicandPranav Raj S 6bdac3d9fe [Cleanup] Remove unnecessary Capistrano config (#375) 2019-12-22 18:00:23 +05:30
Pranav Raj SandSojan Jose 2ce7438c79 [Refactor] Cleanup agent store and actions (#373)
* Cleanup agent store and actions

* Move set/create/update/destroy to helpers

* Update mutation specs

* Add specs for API helper

* Fix edit/delete action visibility

* Add actions specs

* Remove unused API helpers

* Remove duplicates

* Remove duplicates

* Fix duplicate
2019-12-21 22:54:35 +05:30
dependabot[bot]andPranav Raj S a92e3817f8 Bump rack from 2.0.7 to 2.0.8 (#372)
Bumps [rack](https://github.com/rack/rack) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.0.7...2.0.8)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-20 12:16:53 +05:30
Pranav Raj SandSojan Jose 4b677ae00e [Bug] Fix timestamp in temporary message (#369)
* [Bug] Fix timestamp in temporary message

* Fix tests
2019-12-17 09:47:44 +05:30
James GeorgeandPranav Raj S 87fb1adab1 Refactor: Minor code refactoring in accordance with Vue.js best practices (#368) 2019-12-16 18:23:14 +05:30
Pranav Raj SandSojan Jose 17587d8a0c [Enhancement] Group widget messages by users (#367)
* Remove thumbnail

* Show grouped messages
2019-12-15 23:53:04 +05:30
James GeorgeandPranav Raj S 5c7c325c9c Refactor: use Array.includes instead of indexOf (#366) 2019-12-15 23:24:34 +05:30
Pranav Raj SandSojan Jose a7cb75e468 [Performance] Optimize queries in conversation/message finders (#364)
* [Performance] Optimize queries in conversation/message finders

* Add message_finder spec

* Fix message_finder spec
2019-12-15 16:59:12 +05:30
Pranav Raj SandSojan Jose cfc56705fd [Enhancement] Group widget messages by date (#363)
* [Enhancement] Group widget messages by date

* Update DateSeparator snapshot
2019-12-15 00:06:01 +05:30
Pranav Raj SandSojan Jose 7b63cbe1f7 [Enhancement] Select widget_color while creating inbox (#362)
* [Enhancement] Select widget_color while creating inbox

* Fix codeclimate issues

* Fix !important
2019-12-14 18:14:35 +05:30
Pranav Raj SandSojan Jose 19852b60cd [Bug] Fix icon alignment in buttons (#360)
* Fix icon alignment in buttons

* Fix ordering
2019-12-13 15:26:14 +05:30
Mukesh ChaudharyandSojan Jose 5b275ea157 Add option to reset password of agents to Admin (#351)
* Add option to reset password of agents to Admin

* Fix copy, remove setTimeout
2019-12-13 13:04:49 +05:30
Ender Ahmet YurtandSojan Jose cef1200351 Refactor for reauthorize_page method (#110)
* Refactor for reauthorize_page method

* Fix the rubocop issues
2019-12-13 02:42:16 +05:30
Pranav Raj SandSojan Jose febc4bef83 [Enhancement] Hide sidebar on tablets (#358)
* [Enhancement] Hide sidebar on tablets

* Remove unnecessary console.log

* Use beforeDestroy
2019-12-12 12:53:15 +05:30
Pranav Raj SandSojan Jose 2b41e91768 [Enhancement] Fetch previous messages in the conversation (#355)
* Fetch previous messages in the conversation

* Add specs for conversation store

* Fix codeclimate issues

* Exclude specs folder

* Exclude globally

* Fix path in exclude patterns

* Add endPoints spec

* Add snapshots for Spinner

* Add specs for actions
2019-12-11 20:57:06 +05:30
Pranav Raj SandSojan Jose 1005b9e227 Add Database config variables to .env.example (#357) 2019-12-10 22:24:08 +05:30
Sojan JoseandPranav Raj S 1abaee04d8 Feature: Profile API [#238] (#354)
- api to update name and email
- api to change password
- api to  set profile pic
- fixes update_attribute! deprecation warning
- introducing active storage
2019-12-10 10:29:35 +05:30
Pranav Raj SandGitHub 7f96c39b18 Add OpenCollective funding details (#353) 2019-12-09 10:30:29 +05:30
Sojan JoseandGitHub 0a5d6c0de9 Fix security advisory warning (#352) 2019-12-09 10:19:09 +05:30
Pranav Raj SandSojan Jose d8d4deea2f Remove unnecessary slash in curl command (#349)
* Remove unnecessary slash in curl command

* bundle update

* Fix rubocop errors
2019-12-06 16:50:06 +05:30
petebytesandSony Mathew 3f403c9e7a Improve docker compose performance (#347)   🤩
* Fix warning Integrity check: System parameters don't match

* Reduce commands required to use docker-compose and update quick-setup doc

Data will still persist when stopping and restarting containers.
To destroy the data can use docker-compose down --volumes

* Moved webpacker-dev-server to its own service

* cache bundle and yarn - improve volume performance - env conditional statements

* Fix inconsistent build results found during testing
2019-12-05 16:42:46 +05:30
Karthik SivadasandPranav Raj S 3a1c0aef07 Add specs for model facebook_page (#346) 2019-12-05 13:20:04 +05:30
Régis BehmoandSojan Jose ff5c26a388 Fix BILLING_ENABLED in example .env file (#345)
The ENABLE_BILLING env var is not used in the chatwoot code base. Instead, the BILLING_ENABLED is used to enable billing.
2019-12-04 22:38:53 +05:30
Sojan JoseandPranav Raj S 6a2f4e6673 Chore: Ability to configure Mailer sender emails [#339] (#342)
* Chore: Ability to configure Mailer sender emails [#339]

fixes : #339
fixes : #330

* update the documentation
2019-12-03 22:54:08 +05:30
Sojan JoseandPranav Raj S a8e8416d48 Chore: Cache gemfiles in circle builds [#338] (#343) 2019-12-03 19:26:38 +05:30
Karthik SivadasandSojan Jose c758c13ffb Add Account Model specs (#341) 2019-12-03 10:09:45 +05:30
Sojan JoseandPranav Raj S 6ca403542d Chore: Setup test coverage in codeclimate [#332] (#333) 2019-12-02 08:57:11 +05:30
Pranav Raj SandSojan Jose 829cb4da57 Add docs to add a website channel (#337) 2019-12-01 22:53:39 +05:30
Karthik SivadasandSojan Jose 330e8625d3 Update user model specs (#334) 2019-12-01 15:42:15 +05:30
Subin T PandSojan Jose 84799fd0a1 [#247] Filters conversation by status and paginate conversations (#284)
* [#247] Filters conversation by status

* Fixes conversation finder specs

* [#248] Paginates conversation

* Use method name in description

* Move page to default param, add filters on frontend

* Fix code climate issues
2019-12-01 10:16:51 +05:30
Mukesh ChaudharyandSojan Jose c08074b981 Annotations (#327)
* Add annotate gem to the project
* Annotate models, fixtures, factories and model_specs
* Keep annotations only in Models
* Remove unwanted changes in model specs
* Exclude auto_annotate_models from rubocop
2019-11-30 19:09:55 +05:30
Pranav Raj SandSojan Jose 60e96f446e [Enhancement] Add CopyToClipboard action in code component (#329)
* Add CopyToClipboard action in websiteWidgetCode component

* Fix codeclimate issues
2019-11-30 17:33:42 +05:30
Pranav Raj SandSojan Jose a3662091c7 Add an intermediate pending state for widget messages (#323)
* Add an intermediate pending state for widget messages

* Remove unnecessary setTimeout

* Rename method
2019-11-29 17:42:35 +05:30
Pranav Raj SandSojan Jose 070f762293 Updated docs for docker configuration (#322) 2019-11-29 00:57:49 +05:30
Pranav Raj SandSojan Jose 8ea74a21b0 Fix docker file to use rails_env=production on precompile (#315)
* Fix docker file to use rails_env=production on precompile

* Fix docker file for prod deployment
2019-11-28 23:34:21 +05:30
Sojan JoseandGitHub dab21915b4 Fix rails port getting toggled from 3000 to 5000 (#319)
Fix rails port getting toggled from 3000 to 5000 when using foreman
2019-11-28 13:36:29 +05:30
Pranav Raj SandNithin David Thomas 6e911e69f8 Update font family to make design consistent in all platforms (#318)
* Add inter font, remove modal header bg

* Remove unnecessary font files

* Fix codeclimate issues, remove letter-spacing attribute
2019-11-28 11:03:01 +05:30
Sony MathewandPranav Raj S 6c653e9ef3 [#311] Added link to env variables documentation (#312)
* Added link to env variables documentation right below the Heroku one click deploy button so that people dont get confused with broken app on deploying without the env variables set correctly
2019-11-27 14:06:39 +05:30
Pranav Raj SandSojan Jose 3c01f98a0b Fix breaking migrations, revert migrations to 6.0 (#314)
Closes #313
2019-11-27 12:42:00 +05:30
Nithin David ThomasandPranav Raj S 7c65142fcd Adjust space between message bubbles in widget (#309) 2019-11-27 11:45:33 +05:30
Pranav Raj SandSojan Jose ded8f33fc8 Fix private note shown to user in widget (#308)
fixes #306
2019-11-27 10:12:57 +05:30
Sojan JoseandSony Mathew 913172c688 Enhancement request template (#301)
enhancement request template
2019-11-27 09:18:51 +05:30