Commit graph

251 commits

Author SHA1 Message Date
Pranav Raj S
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]
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 S
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 George
87fb1adab1 Refactor: Minor code refactoring in accordance with Vue.js best practices (#368) 2019-12-16 18:23:14 +05:30
Pranav Raj S
17587d8a0c [Enhancement] Group widget messages by users (#367)
* Remove thumbnail

* Show grouped messages
2019-12-15 23:53:04 +05:30
James George
5c7c325c9c Refactor: use Array.includes instead of indexOf (#366) 2019-12-15 23:24:34 +05:30
Pranav Raj S
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 S
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 S
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 S
19852b60cd [Bug] Fix icon alignment in buttons (#360)
* Fix icon alignment in buttons

* Fix ordering
2019-12-13 15:26:14 +05:30
Mukesh Chaudhary
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 Yurt
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 S
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 S
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 S
1005b9e227 Add Database config variables to .env.example (#357) 2019-12-10 22:24:08 +05:30
Sojan Jose
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 S
7f96c39b18
Add OpenCollective funding details (#353) 2019-12-09 10:30:29 +05:30
Sojan Jose
0a5d6c0de9
Fix security advisory warning (#352) 2019-12-09 10:19:09 +05:30
Pranav Raj S
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
petebytes
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 Sivadas
3a1c0aef07 Add specs for model facebook_page (#346) 2019-12-05 13:20:04 +05:30
Régis Behmo
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 Jose
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 Jose
a8e8416d48 Chore: Cache gemfiles in circle builds [#338] (#343) 2019-12-03 19:26:38 +05:30
Karthik Sivadas
c758c13ffb Add Account Model specs (#341) 2019-12-03 10:09:45 +05:30
Sojan Jose
6ca403542d Chore: Setup test coverage in codeclimate [#332] (#333) 2019-12-02 08:57:11 +05:30
Pranav Raj S
829cb4da57 Add docs to add a website channel (#337) 2019-12-01 22:53:39 +05:30
Karthik Sivadas
330e8625d3 Update user model specs (#334) 2019-12-01 15:42:15 +05:30
Subin T P
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 Chaudhary
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 S
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 S
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 S
070f762293 Updated docs for docker configuration (#322) 2019-11-29 00:57:49 +05:30
Pranav Raj S
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 Jose
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 S
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 Mathew
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 S
3c01f98a0b Fix breaking migrations, revert migrations to 6.0 (#314)
Closes #313
2019-11-27 12:42:00 +05:30
Nithin David Thomas
7c65142fcd Adjust space between message bubbles in widget (#309) 2019-11-27 11:45:33 +05:30
Pranav Raj S
ded8f33fc8 Fix private note shown to user in widget (#308)
fixes #306
2019-11-27 10:12:57 +05:30
Sojan Jose
913172c688 Enhancement request template (#301)
enhancement request template
2019-11-27 09:18:51 +05:30
Sojan Jose
c36b4279ac [Bugfix]Fixes agent cannot be removed from inbox #18 (#304)
Closes #18
2019-11-27 09:12:17 +05:30
Sojan Jose
17eed16dfe Add a pull request template (#305) 2019-11-27 09:07:17 +05:30
Sojan Jose
cbf2d27b6b [BugFix] Fix Users not deletable because of foreign key reference (#300)
Fixes #297
2019-11-27 09:01:39 +05:30
Nithin David Thomas
274ad381cb Makes widget header expand and collapse by messages size (#293) 2019-11-26 22:35:26 +05:30
Sojan Jose
97a814cb7e [Chore] Add docker build status to repo #287
ref: #287
2019-11-26 14:56:09 +05:30
Sojan Jose
ddae36a4a3 [Chore] - Fix docker build (#290)
fixes #289
2019-11-26 13:37:28 +05:30
kolaente
cb71f5752c Fix docker image by adding bundler (#288)
fixes #289
2019-11-26 12:13:22 +05:30
Sojan Jose
0ba001427e Display deploy to heroku button more prominently in Readme (#285) 2019-11-26 11:17:34 +05:30
Pranav Raj S
5d2efdc7fc Update widget colors based on the widgetConfig (#276) 2019-11-26 00:10:27 +05:30