Muhsin Keloth
9ce1175d9d
OpenAI: Add the option to revert to the original text
2023-06-21 16:43:54 +05:30
Sojan Jose and GitHub
595e6e79f0
chore: Add sla policy association to conversation ( #7360 )
...
Adds the sla policy association to the conversation
Fixes: https://linear.app/chatwoot/issue/CW-1615/applying-an-sla-to-the-conversation
2023-06-21 14:48:50 +05:30
Sivin Varghese and GitHub
93d8157a55
feat: Adds Lithuanian language selectable as site language ( #7354 )
2023-06-20 17:29:05 +05:30
Vishnu Narayanan and GitHub
6bea2cbc4a
feat: add audit trail for macros ( #7352 )
2023-06-20 13:04:59 +05:30
Tejaswini Chile and GitHub
afb7e67795
fix: empty account variable for custom_attrbute_definition running in background job ( #7351 )
2023-06-20 12:15:36 +05:30
bc813b71dd
feat: refresh the audit page on navigation without manual reload ( #7292 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-06-20 09:36:16 +05:30
9ac4a1eb30
refactor: multiple fixes to contact header [CW-2081] ( #7331 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-06-19 21:58:33 +05:30
Muhsin Keloth and GitHub
9bb455ec2d
feat: Ability to choose the custom time for snooze conversation ( #7257 )
2023-06-19 18:23:35 +05:30
c410fe333a
chore: Update translations ( #7347 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-06-19 17:27:43 +05:30
Jordan Brough and GitHub
5e807c5875
chore: Remove unneeded include EnsureCurrentAccountHelper ( #7339 )
...
This class inherits from Api::V1::Accounts::BaseController, which already includes EnsureCurrentAccountHelper and also sets up before_action :current_account.
2023-06-19 17:18:07 +05:30
Muhsin Keloth and GitHub
9bed57c7d1
feat: Add more snooze options ( #7344 )
2023-06-19 17:05:16 +05:30
Sojan Jose and GitHub
5c5381c0a9
chore(ci): Ensure PR titles are in semantic format ( #7346 )
2023-06-19 16:48:45 +05:30
Jordan Brough and GitHub
138630b4ae
chore: Update method to access "secret_key_base" ( #7337 )
...
This will look at environment variables and Rails Credentials, and Rails Secrets.
See documentation here: https://api.rubyonrails.org/v7.0.5/classes/Rails/Application.html#method-i-secret_key_base
2023-06-19 16:11:19 +05:30
Tejaswini Chile and GitHub
9d0de04f7c
fix: set custom filter count in redis ( #7164 )
2023-06-19 16:10:03 +05:30
Muhsin Keloth and GitHub
2c3337b117
feat: Move snooze actions to command bar ( #7343 )
2023-06-19 13:57:59 +05:30
Shivam Mishra and GitHub
237358af24
refactor: use as_json for formatting the string ( #7332 )
2023-06-19 13:33:48 +05:30
Sivin Varghese and GitHub
35dfff0a5b
feat: Attachment view improvements ( #7314 )
2023-06-19 11:16:28 +05:30
86b2896333
feat: Show alerts when the limit is reached in accounts ( #7323 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-06-15 20:47:11 -07:00
Shivam Mishra and GitHub
e8a27bea4b
feat: Add APIs for limit check in accounts ( #7242 )
2023-06-15 20:11:40 -07:00
Sojan
0d465362ac
Merge branch 'release/2.18.0' into develop
2023-06-15 18:45:01 +05:30
Sojan
e383e9259b
Bump version to 2.18.0
2023-06-15 18:44:13 +05:30
Muhsin Keloth and GitHub
2c34dca347
fix: NS_ERROR_STORAGE_BUSY warnings in firefox ( #7319 )
...
Fixes: https://linear.app/chatwoot/issue/CW-2075/ns-error-storage-busy-no-error-message
2023-06-15 17:53:26 +05:30
Pranav Raj S and GitHub
69b9123963
fix: Use available_name only ( #7312 )
...
We have display_name and the actual name for an agent. display_name is used in all public facing parts. The https://github.com/chatwoot/chatwoot/pull/7232/files PR missed this and used actual name instead.
This PR fixes it.
2023-06-15 17:52:53 +05:30
Shivam Mishra and GitHub
cac9fe1880
Revert "feat(perf): update query to reduce N+1 impact [CW-1926] ( #7228 )" ( #7271 )
...
This reverts commit f28533bc47 .
2023-06-15 16:23:56 +05:30
Nithin David Thomas and GitHub
06ac7c829b
fix: Fixes wrong variable usage in transcript file ( #7316 )
2023-06-15 16:00:21 +05:30
Shivam Mishra and GitHub
9985f1c143
refactor: remove redundant taggable declaration ( #7310 )
2023-06-15 12:57:56 +05:30
Tejaswini Chile and GitHub
1ee6a8fe90
chore: Add validation for processed content field ( #7306 )
...
* logging the messages id for message validation exception
* Update the processed_message_content validation over length
* codeclimate
* specs failing for contacts
2023-06-14 18:28:42 +05:30
Muhsin Keloth and GitHub
6eb4fa41ff
feat: Add sender details and message create date in the attachment API ( #7308 )
2023-06-14 17:29:13 +05:30
8b91f0ffac
fix: Gemfile.lock to reduce vulnerabilities ( #7280 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-RACK-1061917
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-06-14 15:40:24 +05:30
d2aa19579e
feat: Adds support for superscript in help center articles ( #7279 )
...
- Adds support for superscript when rendering article markdown
- Chatwoot Markdown Render to render markdown everywhere
Co-authored-by: Sojan <sojan@pepalo.com >
2023-06-14 15:39:00 +05:30
Shivam Mishra and GitHub
2e79a32db7
fix: calculation for resolution count ( #7293 )
...
* fix: calculation for resolution count
* test: resolution count bug fix
- ensure enqueued jobs are run
- fix the dates check, conversations resolved today should show up in today
* feat: ensure conversations are resolved
* test: do not count extra events if the conversation is not resolved currently
* fix: typo
2023-06-14 13:50:10 +05:30
Shivam Mishra and GitHub
a86e236d19
feat: update cache headers for cache_keys ( #7283 )
...
Update the cache headers for cache_keys to max-age=10, private, stale-while-revalidate=300
1. The cache will be fresh for 10 seconds (max-age=10). During this time, the browser will use the cached version without checking with the server.
2. After the initial 10 seconds, the browser can continue to serve the stale cache for up to 5 minutes (stale-while-revalidate=300). During this period, it will also try to revalidate and update the cache in the background.
3. After 310 seconds in total (10 seconds fresh, 300 seconds stale), if the browser has not been able to revalidate the cache, it will attempt to fetch the fresh resource directly from the server for subsequent requests, causing potential latency equivalent to a network request.
This means that the data will be directly revalidated only every 5 mins. Other times, it will stay fresh for 10 seconds and revalidate in the background. In most cases, we won't have to rely on a cache validation check because there is a WebSocket event for revalidation, so we know if something changes.
Right now the stale-while-revalidate is 5 minutes, we can then move it to 15 minutes.
> The stale-while-revalidate header is not supported in Safari, for Safari the cache keys will only stay in memory for 10 seconds before being marked stale
2023-06-14 13:21:51 +05:30
c755978352
feat: update banner design [CW-1491] ( #7296 )
...
* refactor: banner styling
* refactor: update button style for reply assign banner
* feat: remove update-banner classes
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-06-14 12:56:42 +05:30
Tejaswini Chile and GitHub
23ca6d56f9
feat: Contact Exports ( #7258 )
2023-06-13 09:18:43 +05:30
Shivam Mishra and GitHub
429ec7194f
feat: add index to reporting events [CW-1960] ( #7294 )
...
* fix: annotation
* feat: add better index for reporting_events
2023-06-12 18:23:42 +05:30
Tejaswini Chile and GitHub
c99d9f9557
fix: search for nil in-reply-to messages ( #7286 )
2023-06-12 16:01:56 +05:30
Vishnu Narayanan and GitHub
9ff5978d6e
feat: Add audit trail events for team ( #7285 )
2023-06-09 17:30:36 -07:00
Muhsin Keloth and GitHub
cd28f401ba
fix: Custom attribute date is not working in some time zone ( #7224 )
2023-06-09 16:55:03 -07:00
Tejaswini Chile and GitHub
879a244f93
fix: Automations condition based quoted text ( #7272 )
2023-06-09 17:00:05 +05:30
Tejaswini Chile and GitHub
f64f2138db
fix: Update mail check for html_part ( #7273 )
2023-06-09 16:08:40 +05:30
Sojan Jose and GitHub
48f2e58e59
feat: Ability to update avatars from super admin ( #7264 )
...
- Ability to update user avatars from super admin
- Ability to update bot avatars from super admin
fixes : #7060
2023-06-09 15:32:24 +05:30
c715e396f0
feat: added input_select type message support for whatsapp ( #6886 )
...
- Added input_select message type support for Whatsapp Cloud API and Whatsapp 360dialog.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-06-09 15:20:45 +05:30
Pranav Raj S and GitHub
c8fac08e0b
fix: Cannot read properties of undefined (reading 'some') ( #7278 )
...
Fixes https://linear.app/chatwoot/issue/CW-2041/typeerror-cannot-read-properties-of-undefined-reading-some
Fixes https://linear.app/chatwoot/issue/CW-2042/typeerror-cannot-read-properties-of-undefined-reading-filter
2023-06-08 20:12:14 -07:00
7fd220c177
feat: Adds the ability to edit saved segments ( #7254 )
...
* feat: Ability to edit saved filters
* chore: Adds edit contact segment
* chore: Minor fixes
* fix: code climate
* chore: Minor fixes
* chore: Adds ability to custom view name
* chore: Minor fixes
* chore: Adds spec for helper
* chore: Revert contact filter to split to new PR
* Delete editSegmentMixin.js
* chore: Revert fixes
* Update app/javascript/dashboard/i18n/locale/en/advancedFilters.json
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* Update app/javascript/dashboard/i18n/locale/en/advancedFilters.json
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* chore: Moved from mixin to helper for reusing in segments
* Delete editFolderMixin.js
* chore: Fix specs and added new specs
* chore: review comment fixes
* chore: Minor fixes
* fix: Not resetting applied filter
* feat: Adds the ability to edit saved segments
* feat: Adds specs for API part
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-06-08 21:25:51 +05:30
Pranav Raj S and GitHub
b3b76d00ff
fix: Do not use the default value if the out of office message is empty ( #7268 )
2023-06-08 08:22:10 -07:00
Shivam Mishra and GitHub
2f2ae88cba
fix: unattended count mismatch in report and list ( #7263 )
2023-06-08 17:58:13 +05:30
Tejaswini Chile and GitHub
2b7989f52b
fix: reply mailer with sender name ( #7232 )
2023-06-08 17:07:08 +05:30
d7314079c9
feat: Ability to edit saved folders ( #7236 )
...
* feat: Ability to edit saved filters
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-06-08 14:58:57 +05:30
1017903ee1
fix: Adds domain option to user cookies set by SDK [CW-352] ( #7070 )
...
* fix: Adds domain option to user cookies set by SDK
* Adds domain to init event from chatwootSettings variable
* Testing multiple domains on heroku
* Updates with sdk from staging
* Removes sdk init code
* Testing why cookie is not getting set
* Cleans up testing code
* Refactors code to fix codeclimate issues
* Update app/javascript/sdk/cookieHelpers.js
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* Adds test cases for setCookieWithDomain
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-06-08 14:27:49 +05:30
Tejaswini Chile and GitHub
d25e7fd54e
fix: add email logging for source-id email-id and message-id ( #7262 )
...
* fix: mail logger for source-id email-id and message-id
* added mail provided to the tracking
* change the logger verb from info to error
* app/jobs/inboxes/fetch_imap_emails_job.rb
* codeclimate fix
* remove extra filter
* fixes: specs
2023-06-07 18:24:37 +05:30
Sojan Jose and GitHub
7e89e3a34a
chore: Ensure template_sync timestamp is updated ( #7265 )
...
Fix for the cases where there are multiple channels with invalid provider config, which results in the templates sync scheduler failing to schedule jobs for valid channels.
fixes: https://linear.app/chatwoot/issue/CW-2032/bug-whatsapp-template-sync-failing-in-cloud
2023-06-07 17:18:24 +05:30
Pranav Raj S and GitHub
39eaed7766
fix: Cannot read properties of undefined (reading 'always_play_audio_alert') ( #7260 )
2023-06-06 15:16:25 -07:00
Pranav Raj S and GitHub
b1a4907ede
fix: around_action not yielding is params are present ( #7259 )
2023-06-06 14:55:08 -07:00
a01d81a7e1
feat: Update display text for auditlog entries ( #7226 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-06-05 12:51:45 -07:00
Sojan Jose and GitHub
117d5301b4
chore: API documentation updates for CSAT surveys ( #7255 )
...
- Expose conversation uuid in APIs
- swagger documentation for cast survey update via public/message/update endpoints
- swagger documentation for survey/responses/conversation_uuid endpoint
Fixes : #6328
2023-06-05 21:14:01 +05:30
Tejaswini Chile and GitHub
aae6081d73
fix: check content disposition, for inline messages in mail ( #7231 )
2023-06-05 20:28:32 +05:30
Sojan Jose and GitHub
d03924b846
feat: Enable sending template messages in webhooks ( #7252 )
...
fixes: https://github.com/chatwoot/chatwoot/issues/5291
2023-06-05 20:27:28 +05:30
b333d0c986
feat: Attachments view ( #7156 )
...
* feat: Attachments view with key shortcuts and dynamically updates when user delete or sent new attachments
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-06-05 19:21:47 +05:30
Shivam Mishra and GitHub
9f3d155822
feat: Add size limit action ( #7253 )
...
* chore: update browserlist
* feat: add size limit action
* feat: set limits
* feat: add size limit in CI
* chore: remove railsenv
* chore: update limits
2023-06-05 18:56:15 +05:30
TOMMY and GitHub
9203b097d2
chore: Show chatwoot_edition in Instance details ( #7200 )
...
- Displays the chatwoot edition in the instance details
2023-06-05 17:32:21 +05:30
Marcel Stör and GitHub
12cb97db5f
fix: Quote database env variables ( #7216 )
...
Database credentials, and passwords, in particular, can easily contain characters that are reserved in YAML and must be quoted.
Example: a case with a password starting with ']'.
2023-06-05 14:19:35 +05:30
Tejaswini Chile and GitHub
09971fd613
fix: Wrap references string into array ( #7243 )
2023-06-03 07:33:36 +05:30
Pranav Raj S and GitHub
ca9d108741
fix: Update documentation of filter APIs ( #7245 )
2023-06-02 15:36:41 -07:00
Shivam Mishra and GitHub
f28533bc47
feat(perf): update query to reduce N+1 impact [CW-1926] ( #7228 )
...
* feat: update query to reduce N+1 impact
* feat: remove channel eager loading
fixes the error: ActiveRecord::EagerLoadPolymorphicError Exception: Cannot eagerly load the polymorphic association :channel
* test: fix search test
* chore: revert change
2023-06-02 11:11:55 +05:30
Pranav Raj S and GitHub
68f82c11a5
Revert "fix: Updates editor to fix the extra slash issue [cw-1505][cw-1526] ( #7091 )" ( #7238 )
...
This reverts commit 1d0930ef63 .
2023-06-01 13:26:02 -07:00
Tejaswini Chile and GitHub
abc27fa791
fix: find mail message by references ( #7220 )
2023-05-31 19:23:29 +05:30
Sojan Jose and GitHub
d93a8d05bc
chore: Increase character limit for external url fields ( #7230 )
...
- Increase the external url field validation to 2048 characters
fixes: https://github.com/chatwoot/chatwoot/issues/7098
2023-05-31 19:17:24 +05:30
Sojan Jose and GitHub
373f5f5b64
chore: Disable coverage reports for .vue files ( #7214 )
...
- Disable coverage reporting for .vue files
fixes: https://linear.app/chatwoot/issue/CW-1331
2023-05-30 19:18:19 +05:30
Sivin Varghese and GitHub
ae7df60a75
fix: Special characters not being decoded ( #7218 )
2023-05-30 18:54:51 +05:30
412d750b6a
feat: auditlogs design refactor cw1764 ( #7181 )
...
* chore: refactor auditlogs design
* chore: refactor aduit log text
* chore: fix 60% width for activity column
* chore: improve log text formatting
* Apply suggestions from code review
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
* feat: show agent names if available in auditlogs
* chore: add sign_out
* Apply suggestions from code review
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* chore: handle custom user actions
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-05-30 14:41:29 +05:30
f1a77ba934
feat: allow superadmins to reset cache keys for IndexedDB ( #7180 )
...
Allows super admins to reset the cache for an account. This will force the front end to fetch the data again on the next load.
fixes: https://linear.app/chatwoot/issue/CW-1817
Co-authored-by: Sojan <sojan@pepalo.com >
2023-05-29 23:05:17 +05:30
Sojan Jose and GitHub
ffc6364690
chore: Improve Whatsapp Templates Sync ( #7210 )
...
- update the templates updated at, even if the API request fails ( to prevent jobs from stacking up in case of API failures upstream )
- sequence the job in batches of 25 requests per minutes schedule ( in case API response time is high, also not to send too many requests in a single batch )
- move the sync job re-rerun to 3 hours ( since we are updating the updated at even in case of failures )(prev 15 minutes )
Fixes: https://linear.app/chatwoot/issue/CW-1590
2023-05-29 22:23:22 +05:30
Sojan Jose and GitHub
3a7633b564
feat: API to create HMAC verified conversations ( #7209 )
...
Fixes : #6744
2023-05-29 21:57:24 +05:30
amplitudes and GitHub
91d1d44aa9
fix: profile picture distortion ( #7203 )
...
By applying pr-1 on a container div instead of directly on the image (which distorts it), it creates the intended padding effect without any image distortion.
2023-05-29 15:00:14 +05:30
Sojan Jose and GitHub
afc97faa8b
chore: Rotate pubsub token on password change ( #7194 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1350/
2023-05-27 13:24:31 +05:30
1d0930ef63
fix: Updates editor to fix the extra slash issue [cw-1505][cw-1526] ( #7091 )
...
* fix: Updates editor to fix the extra slash issue
* Updates yarn package
* Updates yarn package for editor schema
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-05-26 00:54:37 +05:30
Tejaswini Chile and GitHub
776ea6d39a
fix: Help center api doc ( #7189 )
2023-05-25 18:50:00 +05:30
Muhsin Keloth and GitHub
2c85098698
fix: Mentions in assigned/participation notification( #7185 )
2023-05-25 18:18:56 +05:30
Sivin Varghese and GitHub
6bd0e074dc
feat: Sort agents on availability status ( #7174 )
2023-05-25 14:49:56 +05:30
Vishnu Narayanan and GitHub
123fc73394
feat: add audit trail for sign_in and sign_out ( #7158 )
...
* feat: add audit_trail for sign_in event
* chore: ignore unrelated User model columns for auditing
* chore: fix prepend call for webhook/automation rule
* chore: add spec for sign_in event
* chore: refactor sign_in auditlog method to enterprise namespace
* feat: add sign_out audit trail
* feat: review comments
2023-05-25 14:27:30 +05:30
88cef88d80
fix: Instagram story with video not rendering ( #7184 )
...
* fix: instagram story with video not rendering
* chore: Minor fixes
---------
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
2023-05-25 12:20:42 +05:30
Tejaswini Chile and GitHub
8e79cf72e1
fix: issue with slack job ( #7179 )
2023-05-24 20:22:34 +05:30
Sojan Jose and GitHub
bfaca851f1
chore: Throttle conversation transcript endpoints ( #7155 )
...
- Throttle conversation transcripts to 20 per hour via rack attack
Fixes: https://linear.app/chatwoot/issue/CW-1630/throttle-transcript-endpoint
2023-05-24 19:56:23 +05:30
Muhsin Keloth and GitHub
5618b5ebd3
fix: Enable ogg format for audio recording in API channel ( #7178 )
2023-05-24 15:05:31 +05:30
Muhsin Keloth and GitHub
4807052c37
doc: Swagger for conversation priority API ( #7172 )
2023-05-23 20:39:15 +05:30
Shivam Mishra and GitHub
44b1047b90
feat(perf): contacts query performance ( #7175 )
...
* feat: use more indexable where condition
* feat: add index concurrently
* chore: update schema
* refactor: update index name
2023-05-23 17:22:47 +05:30
Shivam Mishra and GitHub
9c6c19c3e5
fix: CSAT filter metrics rendering & conversation reports not working [CW-1840, CW-1818] ( #7170 )
...
* fix: emoji rendering for CSAT
* feat: add tests for CSAT Metrics
* fix: allow rating in metrics
* refactor: hide satisfaction score & total response chart if rating filter is enabled
* refactor: optional chaining in group by
* fix: spacing using autofill
* test: update csat metrics tests
* test: CSAT metric card
2023-05-23 16:47:04 +05:30
Nithin David Thomas and GitHub
2764338453
fix: Fixes wrong copy being sent to users via email invite [cw-1290] ( #7159 )
...
* fix: Fixes invite email copy
* fix: Fixes wrong copy being sent to users via email invite
2023-05-23 09:37:40 +05:30
Shivam Mishra and GitHub
4f0fcfcbcd
feat: allow Microsoft Clarity from CDN ( #7163 )
...
* feat: add microsoft clarity to main app
* feat: mask messages
* fix: spacing
2023-05-23 08:00:01 +05:30
Pranav Raj S and GitHub
fdbaf98c3b
fix: Update breaking specs ( #7169 )
2023-05-22 17:01:27 -07:00
03bbd048a7
chore: Add action to set dark mode from the react-native-widget ( #7167 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-05-22 15:34:09 -07:00
Tejaswini Chile and GitHub
d481b9fbcf
feat: Limit the number of custom filters per user ( #7101 )
2023-05-22 18:03:15 +05:30
Vishnu Narayanan and GitHub
68dedc37ba
chore: update auditlog timestamp format ( #7128 )
2023-05-22 17:08:50 +05:30
Shivam Mishra and GitHub
958c0d7946
feat(perf): improve performance of conversation filter API [CW-1605] ( #7120 )
...
* feat(perf): don't use count
* feat(perf): include messages in the conversation query
* feat: include contact inboxes
* refactor: use blank?
2023-05-22 16:03:11 +05:30
Tejaswini Chile and GitHub
9553329092
chore: find instagram_direct_message query ( #7157 )
2023-05-22 16:01:31 +05:30
Nithin David Thomas and GitHub
d01f2063d0
feat: Creates component to show articles search results [CW-1451] ( #7126 )
...
* feat: Creates component to show articles search results
* Adds story for the component
2023-05-22 15:15:19 +05:30
Tejaswini Chile and GitHub
590e4e9c1c
Fix: prevent IMAPBadResponse exception from sending the authorization mail ( #7154 )
2023-05-22 13:51:56 +05:30
Tejaswini Chile and GitHub
0e903d2365
chore: Add delay for slack job when message has attachments ( #7107 )
2023-05-22 13:51:14 +05:30
Shivam Mishra and GitHub
d6ce1ceeeb
fix: CSAT chart showing incorrect data ( #7152 )
...
* fix: computation of data for csat chart
* fix: make horizontal chart reactive
2023-05-22 11:01:01 +05:30
Sivin Varghese and GitHub
e8f56d0e56
chore: Update greeting message label in settings ( #7088 )
2023-05-21 21:07:37 -07:00
Pranav Raj S and GitHub
b8dae07c0f
feat: Add an option to use darkMode only in the widget ( #7151 )
2023-05-22 09:05:05 +05:30
Sojan Jose and GitHub
e3f4be97c0
fix: Reauthorize when channel settings updated ( #7134 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1803/bug-inbox-doesnt-update-reauthorisation-required-automattically
2023-05-19 22:04:34 +05:30
Sojan
1f4d096804
Merge branch 'hotfix/2.17.1' into develop
2023-05-19 20:56:16 +05:30
Sivin Varghese and GitHub
1bcc438b21
fix: Problem when using Brazilian Portuguese ( #7135 )
...
Fixes: #7127
2023-05-19 20:55:01 +05:30
Vishnu Narayanan and GitHub
8b3d13a920
fix: add libvips to Dockerfile for rails7 ( #7133 )
...
Fixes : #7124
Fixes: https://linear.app/chatwoot/issue/CW-1805/investigate-217-upgrade-issues-for-dockerk8s-installations
2023-05-19 17:59:33 +05:30
Sojan
dcdd58bae5
Bump version to 2.17.1
2023-05-19 16:00:27 +05:30
Sojan Jose and GitHub
7b9a9831c1
chore: Fix rubococop failures ( #7130 )
...
- fixes rubocop failures on develop
2023-05-19 15:32:25 +05:30
Sojan Jose and GitHub
7ab7bac6bf
chore: Enable the new Rubocop rules ( #7122 )
...
fixes: https://linear.app/chatwoot/issue/CW-1574/renable-the-disabled-rubocop-rules
2023-05-19 14:37:10 +05:30
Shivam Mishra and GitHub
b988a01df3
fix: exclude private and activity messages from public API ( #7123 )
...
- Exclude private messages
2023-05-19 14:24:49 +05:30
105f9a27d2
feat: more CSAT filters ( #7038 )
...
* refactor: use grid instead of flex
* refactor: let the parent layout decide the spacing
* feat: add a separate date-range component
* refactor: use new date-range component
* fix: destructure all options
* refactor: separate group by component
* refactor: better handle group by data
* fix: defaul group by
* refactor: variable naming
* refactor: use DATE_RANGE_OPTIONS directly
* chore: update platform in gemfile.lock
* refactor: trigger fetch on filter change
* refactor: remove redundant method
* refactor: simplify methods and emitting
* refactor: simplify filter logic
* refactor: simplify fetching
* refactor: imports
* refactor: prop name
* refactor: CSAT response to use new APIs
* refactor: use common filter event
* refactor: use computed value for validGroupBy
* refactor: better function names
* refactor: rename prop
* refactor: remove redundant props
* refactor: separate agents filter component
* feat: add labels filter
* feat: add inboxes filter
* fix: event
* refactor: send label and inbox along with request payload
* feat: add inbox filter
* feat: add inbox to download
* refactor: use request payload from computed property
* refactor: params
* feat: add team to csat filters
* feat: add team to csat filters
* feat: add filter for rating
* feat: reverse options
* feat: add labels for ratings and translations
* feat: update translation
* fix: margin and spacing
* fix: trailing whitespace
* feat: add tests for filters
* chore: move files
* feat: add try catch with alerts
* feat: update import
* fix: imports
* Updates broken imports
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-05-18 22:50:46 +05:30
132cf802d5
fix: Open AI Integration should respond in conversation language ( #7092 )
...
Appended "Reply in the user's language." to obtain the answer in the user's language.
Fixes: https://linear.app/chatwoot/issue/CW-1735/chore-use-account-language-for-the-prompts
Co-authored-by: Sojan <sojan@pepalo.com >
2023-05-18 18:50:48 +05:30
Shivam Mishra and GitHub
f2f33038f2
fix: Make category non-mandatory ( #7117 )
...
Creating articles in a new help center without categories throws an error. This PR fixes that.
2023-05-18 18:42:28 +05:30
Vishnu Narayanan and GitHub
590ce788b9
fix: update linux script(cwctl) to account for rails7 upgrade ( #7106 )
...
* chore: modify cwctl to fetch latest redis version on new installations
* fix: add libvips for activestorage imageprocessing support
* chore: update cwctl version
* feat: upgrade redis and install libvps for existing installations
2023-05-18 16:53:47 +05:30
Clairton Rodrigo Heinzen and GitHub
a25179c342
fix: Instagram events job NoMethodError: undefined method for nil:NilClass ( #7105 )
...
- Sometimes tag entry does not have messaging or standby and cause a error
2023-05-18 15:22:01 +05:30
Sivin Varghese and GitHub
aea9470b6a
fix: RTL issue for basic filter dropdown ( #7118 )
2023-05-18 15:06:18 +05:30
Muhsin Keloth and GitHub
6382707146
chore: Check assignee exists or not before rendering the assignee avatar ( #7104 )
2023-05-17 15:41:23 +05:30
Pranav Raj S and GitHub
49ef4e54ca
feat: Add cmd/ctrl click open on the conversation cards ( #7100 )
2023-05-16 16:57:25 -07:00
Sojan
db0d32f01d
Merge branch 'release/2.17.0' into develop
2023-05-16 12:34:00 +05:30
Sojan
de1fb6ba4e
Merge branch 'release/2.17.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-05-16 12:33:47 +05:30
Sojan
7b8bcaba11
Bump version to 2.17.0
2023-05-16 12:33:16 +05:30
Pranav Raj S and GitHub
3f39b7ad1f
fix: Avoid styles getting purged on prod build ( #7086 )
2023-05-15 19:05:07 -07:00
Pranav Raj S and GitHub
a3547c5a1f
feat: Show Table of Contents in the article sidebar ( #7085 )
2023-05-15 18:43:16 -07:00
Tejaswini Chile and GitHub
0f776a173c
Fix: Mail ate compare with nil date ( #7084 )
...
fixes: https://chatwoot-p3.sentry.io/issues/4185144468/?project=6382945
2023-05-15 21:42:22 +05:30
Sojan Jose and GitHub
d320605556
chore: Fix Activerecord querry cancelled when fetching email ( #7083 )
...
limiting the query to 2 days to ensure that it runs timebound.
fixes: https://linear.app/chatwoot/issue/CW-1747/activerecordquerycanceled-pgquerycanceled-error-canceling-statement
2023-05-15 21:23:17 +05:30
Sojan Jose and GitHub
ca85d4e1c6
fix: External url validation in attachment ( #7082 )
...
fixes: https://linear.app/chatwoot/issue/CW-1746/activerecordrecordinvalid-validation-failed-external-url-is-too-long
2023-05-15 20:33:58 +05:30
Tejaswini Chile and GitHub
b994706265
fix: Email date attribute not being set ( #7081 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1738/typeerror-no-implicit-conversion-of-nil-into-string-typeerror
2023-05-15 20:19:03 +05:30
d9f2cd0a6e
chore: Enable Hebrew language for widget ( #7079 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-15 16:56:04 +05:30
Sojan Jose and GitHub
f2a34ad8aa
Chore: Remove deprecation warning post rails upgrade ( #7080 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1575/fix-deprecations-post-upgrade-to-rails-7
2023-05-15 16:32:27 +05:30
Tejaswini Chile and GitHub
65e91f6a6f
fix: Duplicate instagram conversations for echo messages ( #7078 )
2023-05-15 16:25:15 +05:30
Nithin David Thomas and GitHub
7dd1562b40
fix: Welcome email copy changes and canned response API error handling [cw-1290] ( #7054 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1290/minor-ui-issues
2023-05-15 16:17:55 +05:30
Shivam Mishra and GitHub
c70367bbd7
feat: add migration to fix image signed keys ( #7076 )
2023-05-15 15:13:26 +05:30
Nithin David Thomas and GitHub
5a8eff35b5
chore: Enable support for hebrew in dashboard [CW-1736] ( #7077 )
2023-05-15 14:03:29 +05:30
Muhsin Keloth and GitHub
1936369b12
feat: Add analytics event for OpenAI ( #7074 )
...
* Add analytics event for OpenAI
* Add more variations
2023-05-15 11:57:56 +05:30
Tejaswini Chile and GitHub
354010a6e1
chore: fetch mails with multiple attachments ( #7030 )
2023-05-14 10:02:36 +05:30
Sojan Jose and GitHub
385eab6b96
chore: Add max length validation to text fields ( #7073 )
...
Introduces a default max length validation for all string and text fields to prevent processing large payloads.
2023-05-12 22:12:21 +05:30
198cd9b28d
feat: Show next available day/hour and minutes on widget ( #6902 )
...
* feat: Show next available hour and minutes on widget
* chore: Adds spec
* chore: Show days
* chore: Code clean up
* chore: Review fixes
* chore: Minor fixes
* chore: Review suggestion fixes
* chore: Minor fixes
* Added timezone to widget payload
* chore: Adds time zone
* chore: Review fixes
* chore: Adds comments
* chore: Rounded up min with nearest multiple of 5
* chore: Review fixes
* chore: Review fixes
* chore: Review fixes
* chore: Review fixes
* chore: Fix specs
* chore: Review fixes
* chore: Fix specs
* chore: Review fixes
* chore: Moved day names to i18n
* chore: Review fixes
* chore: Fix specs
---------
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-05-12 19:25:51 +05:30
Nithin David Thomas and GitHub
abdf00d2cf
fixes: Editor adding slash char while creating block quotes [cw-1505] ( #7069 )
...
* fixes: Editor adding slash char while creating block quotes [cw-1505]
* Update with latest package
2023-05-12 16:39:18 +05:30
Muhsin Keloth and GitHub
2c3160cfee
feat: API to list all attachments for a conversation ( #7059 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1678/api-to-list-all-attachments-for-a-conversation
2023-05-12 15:48:06 +05:30
Muhsin Keloth and GitHub
708bddf4db
feat: Refetch the latest messages on action cable reconnect in widget ( #6996 )
2023-05-12 14:05:22 +05:30
Pranav Raj S and GitHub
020dcc4dc7
fix: Avoid audio URLs getting cached at the frontend ( #7062 )
2023-05-11 12:14:56 -07:00
271263bcc2
feat: SLA CRUD APIs (EE) ( #7027 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1613/sla-api
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-11 22:42:56 +05:30
Muhsin Keloth and GitHub
c97d6021e0
chore: Add migration to set the default empty string value for contact name ( #7052 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1650/issue-with-the-contact-name
2023-05-11 17:35:19 +05:30
d99997d17d
feat: Add ability to filter Conversations by underlying source_id ( #6979 )
...
This change adds the ability to include a `source_id` param when querying the `/api/v1/accounts/{account_id}/conversations/search` endpoint. It restricts to results to only conversations related to a contact_inbox with the provided parameter. My motivation for adding this feature was to allow an external API to communicate with a specific conversation with only an awareness of the conversation `source_id` from the client.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-11 17:32:29 +05:30
Sivin Varghese and GitHub
9c5d062efc
fix: Fix greeting message label in settings ( #7056 )
2023-05-11 17:30:07 +05:30
Muhsin Keloth and GitHub
87f758ee1f
feat: Order conversations by priority ( #7053 )
2023-05-11 12:56:43 +05:30
Shivam Mishra and GitHub
d0a1ad746a
feat: add index migration ( #7050 )
2023-05-10 17:55:14 +05:30
86384bf876
feat: Reply suggestion and summary generation using OpenAI ( #7029 )
...
Add `reply_suggestions` and `summary_generation` options for OpenAI integration
Fixes: https://linear.app/chatwoot/issue/CW-1595/frontend-for-generating-conversation-summary
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-10 17:50:37 +05:30
Muhsin Keloth and GitHub
55e5fa2205
chore: Add the specs for sort conversation ( #7047 )
2023-05-10 17:49:17 +05:30
Sojan
65bad90b69
Revert "fix: Welcome email copy changes and canned response API error handling [cw-1290] ( #6905 )"
...
This reverts commit 07aaa046c1 .
2023-05-10 16:43:18 +05:30
07aaa046c1
fix: Welcome email copy changes and canned response API error handling [cw-1290] ( #6905 )
...
* fix: Welcome email copy changes and canned response API error handling
* Review fixes
* Uses mixin for alerts in canned page
* Typo fixes
* Copy changes
* Fixes broken tests
* Fixes review comments
* Fixes typo errors with mail template
* Removes unwanted case
* Fixes repetitive texts
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-05-10 15:55:48 +05:30
giquieu and GitHub
520bdabefe
fix: Record audio in wav format for web/facebook ( #7046 )
2023-05-10 12:29:56 +05:30
Shivam Mishra and GitHub
662967b5d3
feat(perf): add index to messages created at ( #7044 )
...
* feat: add index to messages created at
* feat: run migration
2023-05-10 11:34:49 +05:30
6137a45214
chore: Update link in the reply summary email ( #7024 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-05-09 17:39:09 -07:00
Pranav Raj S and GitHub
5e0ce7793c
fix: Re-order gem list to fix rubocop errors ( #7043 )
2023-05-08 16:15:27 -07:00
Pranav Raj S and GitHub
ce3e38df0f
chore: Update the design of the help center portal ( #6775 )
2023-05-08 15:31:38 -07:00
2b88ecdfc4
feat: Add a feature flag for Audit Log UI ( #7035 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-05-08 12:44:15 -07:00
Pranav Raj S and GitHub
683f259771
fix: Fix rendering issues in Help Center ( #7042 )
2023-05-08 12:23:26 -07:00
Vishnu Narayanan and GitHub
51fb3b7e8e
fix: enable lograge in superadmin path ( #7026 )
...
* fix: lograge superadmin path
* chore: add spec for superadmin devise session controller
* chore: address review comment
2023-05-08 13:43:55 +05:30
3dedfee350
chore: Update translations ( #7033 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-06 15:10:50 +05:30
Sojan Jose and GitHub
022383d942
chore: Upgrade to Rails 7 ( #6719 )
...
fixes : #6736
2023-05-06 10:44:52 +05:30
59433d9d3c
feat: Adds the ability to sort conversations ( #6853 )
...
* Add sort filter
* Change UI
* Change filter
* Complete sort by filters
* Style fixes
* Fix default sort
* Update app/javascript/dashboard/components/widgets/conversation/ConversationBasicFilter.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/components/widgets/conversation/ConversationBasicFilter.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/components/ChatList.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Added translation
* Added review fixes
* Add more updates
* Code cleanups
* Update last_activity_at on message received event
* Cleans up the design for chatlist and icons
* Fix sort
* Remove inline styles
* Add tag along with the title
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-05-05 17:08:32 -07:00
Sojan Jose and GitHub
85e57c2e94
chore: Reorganize Sidekiq Queues ( #6976 )
...
- Rearrange and reprioritize current sidekiq queues
- Trim the unnecessary queues
ref: https://linear.app/chatwoot/issue/CW-1480/chore-run-all-sidekiq-jobs-async
2023-05-04 15:44:16 +05:30
Tejaswini Chile and GitHub
b081fe08b8
feat: whatsapp duplicate message ( #7004 )
2023-05-03 15:18:20 +05:30
Muhsin Keloth and GitHub
0d014d5d4b
chore: Bump utils from 0.0.15 to 0.0.16 ( #7022 )
2023-05-03 14:36:55 +05:30
937338e3ea
chore(deps): bump audited from 5.2.0 to 5.3.3 ( #7016 )
...
Bumps [audited](https://github.com/collectiveidea/audited ) from 5.2.0 to 5.3.3.
- [Release notes](https://github.com/collectiveidea/audited/releases )
- [Changelog](https://github.com/collectiveidea/audited/blob/main/CHANGELOG.md )
- [Commits](https://github.com/collectiveidea/audited/compare/v5.2.0...v5.3.3 )
---
updated-dependencies:
- dependency-name: audited
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-03 14:13:04 +05:30
Pranav Raj S
6e506b070e
Merge branch 'hotfix/2.16.1' into develop
2023-05-02 15:54:49 -07:00
Pranav Raj S
18c5c47836
Merge branch 'hotfix/2.16.1'
2023-05-02 15:53:33 -07:00
Pranav Raj S
257a294166
Bump the version to 2.16.1
2023-05-02 15:52:50 -07:00
Pranav Raj S
12f121f0d8
fix: Provide a default to name if name is not present
2023-05-02 15:52:33 -07:00
Tejaswini Chile and GitHub
847d7ea082
feat: Add support to uncategorized articles ( #6912 )
2023-05-02 15:35:26 +05:30
c8041392dc
feat: Enable features on successful subscription ( #6953 )
...
* feat: Enable features on successful subscription
* fix: Add specs
* disable features for default plan
* Remove mark as cloud customers
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-05-01 14:58:39 -07:00
be3c75e858
chore: Update translations ( #6999 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-28 20:28:03 +05:30
Sojan Jose and GitHub
02c467b6db
chore: GPT Reply suggestion & summarize endpoints ( #7011 )
...
Adds additional endpoints for OpenAI integration which will allow
- Reply Suggestions
- Summarization
ref: #6436
fixes: https://linear.app/chatwoot/issue/CW-1596/backend-for-generating-conversation-summary
2023-04-28 19:57:25 +05:30
Muhsin Keloth and GitHub
13fe439d9f
Move the reconnect logic from the update presence ( #6992 )
2023-04-28 14:02:30 +05:30
Shivam Mishra and GitHub
2313edd244
feat: update identity validation docs link ( #6994 )
...
* feat: update identity validation docs link
* fix: copy
* fix: grammar
2023-04-28 13:36:58 +05:30
Muhsin Keloth and GitHub
09c9300c21
chore: Use canned response variable helpers from utils ( #7007 )
2023-04-27 17:01:34 +05:30
c0e905b5d8
fix: Search improvements and bug fixes [CW-1604] ( #6985 )
...
* fix: Search improvements and bug fixes
* Resets tab to all on search
* Fix index bug with tabs
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-27 13:20:29 +05:30
Pranav Raj S and GitHub
04da8aa8dc
fix: Remove duplicates message in WhatsApp Channel ( #7003 )
2023-04-26 19:57:06 -07:00
Shivam Mishra and GitHub
32f7342cd6
chore: Add issue forms for GitHub ( #6982 )
2023-04-26 11:25:02 -07:00
74afb785c2
fix: Update spacing for the priority icon in the inbox views ( #6993 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-26 10:21:30 -07:00
Shivam Mishra and GitHub
cae1e30160
feat: Update demo data to include better messages ( #6995 )
2023-04-26 10:20:56 -07:00
Tejaswini Chile and GitHub
99dfe1d5af
feat: Enable template variables in channel greeting messages ( #6971 )
2023-04-26 20:23:46 +05:30
Sojan Jose and GitHub
3fa654f5c6
chore: Add Index for widget contact lookup ( #6998 )
...
- Adds an index to improve the contact lookup performance while calling setUser from widget
2023-04-26 19:22:16 +05:30
shaheer-haider and GitHub
37fde64c67
fix: installation of gem bundles (lograge, rack-mini-profiler, stackprof, nokogiri) in docker ( #6897 )
2023-04-26 17:04:17 +05:30
Tejaswini Chile and GitHub
3c2d6faf68
feat: Instagram story replies will display the original story link ( #6846 )
2023-04-26 15:27:07 +05:30
Muhsin Keloth and GitHub
5d30dabf97
feat: Command bar action for priority ( #6989 )
...
* Add command action for priority assignment
* Fix icon path
* Update conversationHotKeys.js
2023-04-26 13:29:01 +05:30
cef1f97d18
feat: update product copy [CWM-45] ( #6372 )
...
* chore: Update non-logged-in-page copy
* Update app/javascript/dashboard/i18n/locale/en/login.json
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
* Update app/javascript/dashboard/i18n/locale/en/signup.json
* Update app/javascript/dashboard/i18n/locale/en/signup.json
---------
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-04-25 22:02:15 -07:00
Pranav Raj S and GitHub
92705723f1
fix: Add /api/v1 to the team_members API documentation ( #6987 )
2023-04-25 20:17:15 -07:00
Shivam Mishra and GitHub
af971c9b18
fix: whatsapp template params validation ( #6986 )
2023-04-26 08:46:30 +05:30
2f2cdd7e7c
feat: Hides dismissed campaigns while browsing [cw-33] ( #6842 )
...
* Chore: moves localstorage helper as a shared utility and refactors constants
* Refactors constants file
* feat: Hides dismissed campaigns while browsing
* Snoozes all campaigns for an hour after dismissing
* Fixes error with date parsing
* Snooze ongoing campaigns
* Review fixes
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-25 22:38:36 +05:30
Shivam Mishra and GitHub
d95283f5c2
feat: improvements to priority ( #6981 )
...
* fix: colors for urgent icon
* feat: trigger updated event on priority change
* fix: specs
2023-04-25 22:28:19 +05:30
402428fb4d
feat: Splits search api by resources to improve query time [cw-47] ( #6942 )
...
* feat: Splits search api by resources to improve query time
* Review fixes
* Spacing fixes
* Update app/javascript/dashboard/modules/search/components/SearchView.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Review fixes
* Refactor searchview
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-25 17:59:38 +05:30
Shivam Mishra and GitHub
5600b518ac
fix: validate template_params for WhatsApp ( #6881 )
...
- Add JsonSchemaValidator, which takes a declarative schema and validates it for a given property.
- Add specs for JsonSchemaValidator
- Enable the validator for template_params
2023-04-25 16:50:36 +05:30
0bbb28c432
feat: sort conversation on priority ( #6943 )
...
* feat: update seed script to include prioritt
* feat: add sort_handler for conversations
* test: sort on priority order
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-25 09:47:47 +05:30
Sojan Jose and GitHub
cf91e9eb58
chore: Use find_each instead of .all.each ( #6975 )
...
- Enable the rubocop Rails/FindEach
- Replace the .all.each with .find_each
This should let us avoid potential memory usage.
Motivation from the speedshop newsletter by Nate Berkopec
ref: https://www.rubyinrails.com/2017/11/16/use-find-each-instead-of-all-each-in-rails/
ref: https://linear.app/chatwoot/issue/CW-1480/chore-run-all-sidekiq-jobs-async
2023-04-25 09:32:35 +05:30
b529baa5eb
fix: Pagination bug in chat list ( #6899 )
...
* fix: Pagination bug in chat list
* chore: Review fixes
* Improves variable namings
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-25 09:01:54 +05:30
Pranav Raj S and GitHub
c071f66cdd
fix: Update the icon for low priority ( #6978 )
2023-04-24 13:52:14 -07:00
92fa9c4fdc
feat: Ability to improve drafts in the editor using GPT integration ( #6957 )
...
ref: https://github.com/chatwoot/chatwoot/issues/6436
fixes: https://linear.app/chatwoot/issue/CW-1552/ability-to-rephrase-text-in-the-editor-using-gpt-integration
---------
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-24 23:52:23 +05:30
f6e0453bb2
fix vertical overflow scroll on BackButton ( #6914 )
...
* fix: vertical overflow scroll on BackButton
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com >
* chore: adds suggested improvement to handle RTS view
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com >
---------
Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-24 22:57:58 +05:30
Pranav Raj S and GitHub
1a07828b1b
fix: Disable the entire element if priority is missing ( #6972 )
2023-04-24 10:21:39 -07:00
Shivam Mishra and GitHub
54880b2342
feat: Track conversation priority events ( #6968 )
2023-04-24 20:21:43 +05:30
Muhsin Keloth and GitHub
e32f3e71e4
feat: Right click context menu action to change the priority ( #6947 )
...
* Right click context menu action to change the priority
* Review comments
* Update Index.vue
* Remove selected priority from menu
* Code cleanup
* Update conversation.json
2023-04-24 20:07:50 +05:30
Shivam Mishra and GitHub
0874aeee2d
feat: priority UI ( #6966 )
2023-04-24 19:00:08 +05:30
Muhsin Keloth and GitHub
f1fc658a0d
feat: Add an action in Macro to change the priority ( #6940 )
2023-04-24 17:14:30 +05:30
Tejaswini Chile and GitHub
e3193dcabc
feat: Link help center portal to an Inbox ( #6903 )
2023-04-24 12:49:52 +05:30
Vishnu Narayanan and GitHub
f825a22997
feat: add Makefile ( #6948 )
...
* feat: add Makefile
* chore: refactor
2023-04-24 11:32:17 +05:30
Muhsin Keloth and GitHub
815322b27a
feat: Refetch the active conversation messages on action cable reconnect ( #6790 )
2023-04-24 10:17:12 +05:30
Pranav Raj S and GitHub
474e65f4c8
feat: Save in_reply_to from WhatsApp messages ( #6964 )
2023-04-23 18:28:14 -07:00
3a35281b3f
chore: Update translations ( #6941 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-21 15:28:56 +05:30
Muhsin Keloth and GitHub
ac6de50b4d
feat: Add a condition for filters based on the priority of automation ( #6939 )
2023-04-20 18:10:05 +05:30
a34729c153
feat: add activity message for priority change ( #6933 )
...
* feat: add priority const
* feat: add toggle priority method
* feat: update controller route and specs
* refactor: status change method
* refactor: abstract label change and mute activity
* feat: add priority change_activity
* fix: interpolation for previous_changes
* refactor: reduce cognitive complexity of priority_change_activity
* refactor: move priority activity message handler to a separate module
* refactor: move typing logic to a service
* refactor: tests to reduce complexity
* fix: typo
* fix: constants
* fix: priority conditions
* fix: add a response
* fix: argument destructuring in I18n.t
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-20 16:41:53 +05:30
6b2736aa63
fix: inconsistency in report and summary for metric counts ( #6817 )
...
* feat: include timezone offset in summary calculation
* fix: exlcude end in date range
* test: explicit end of day
* fix: test for report builder
* fix: reports.spec.js
---------
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
2023-04-20 12:55:04 +05:30
Muhsin Keloth and GitHub
d1584eea72
feat: Add an action on automation to change the priority ( #6925 )
2023-04-20 11:31:33 +05:30
Sivin Varghese and GitHub
527042afd1
fix: Code fix from PR #6823 ( #6934 )
2023-04-19 23:09:37 +05:30
Nithin David Thomas and GitHub
bd1e69e4b4
feat: Adds new inbox selector with more info for new message modal [cw-1358] ( #6823 )
2023-04-19 23:02:50 +05:30
Vishnu Narayanan and GitHub
76d4c22c2d
fix: build_id in heroku installations ( #6932 )
2023-04-19 21:39:10 +05:30
Tejaswini Chile and GitHub
5cdc7d654a
feat: Support multiple emails in email transcript automation ( #6924 )
2023-04-19 16:55:25 +05:30
Tejaswini Chile and GitHub
821d49943a
Delete inbox api doc update ( #6930 )
2023-04-19 16:43:51 +05:30
Shivam Mishra and GitHub
9c0259da6b
feat: add priority field to conversation ( #6921 ) ( #6927 )
...
* feat: add priority
* feat: add indexes
2023-04-19 13:23:14 +05:30
Pranav Raj S and GitHub
ea2c442328
chore: Add account_id as custom_attribute for cloud users ( #6926 )
2023-04-18 22:35:11 -07:00
Volodymyr Makukh and GitHub
b93b8cdab6
Fix flaky reporting_event_listener_spec ( #6923 )
2023-04-19 10:42:45 +05:30
Pranav Raj S and GitHub
e6505fc7a4
chore: Cache the dashboard app on the first load ( #6774 )
2023-04-18 19:44:57 -07:00
Pranav Raj S and GitHub
c5c36af529
fix: Remove fallback phone_number search in WhatsApp event processing ( #6904 )
2023-04-18 18:30:01 -07:00
026e03c307
fix: Handle spaces in CC/BCC email lists ( #6788 )
...
When the CC field is generated in the UI, the email values are joined together
with ", " but when they are parsed, we currently split by just ",".
This causes an error on the backend and on the frontend.
It seems reasonable to update the code to allow whitespace in the input and to
split by `\s*,\s` and also to trim leading and trailing whitespace from the CC
list.
---------
Co-authored-by: Sojan <sojan@pepalo.com >
2023-04-18 19:18:23 +05:30
Sojan
37b7098673
Merge branch 'release/2.16.0' into develop
2023-04-18 01:04:27 +05:30
Sojan
7bd400772d
Merge branch 'release/2.16.0'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-04-18 01:04:19 +05:30
Sojan
cb2f86b983
Bump version to 2.16.0
2023-04-18 01:02:19 +05:30
905e77048f
chore: Contact import improvements (CW-1362) ( #6747 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1362/csv-imports-are-not-working-properly
Fixes : #3462
---------
Co-authored-by: Sojan <sojan@pepalo.com >
2023-04-18 00:40:55 +05:30
Vishnu Narayanan and GitHub
4505c5dda3
chore: add build id to settings page ( #6873 )
...
- Adds a build Id to the settings page
2023-04-18 00:35:35 +05:30
c9ce9e5b8f
feat: Improved country code in contact form view. ( #6801 )
...
* feat: Improved country code in contact.
* chore: Minor fixes
* chore: Minor fixes
* chore: Adds arrow key navigation and cursor pointer
* chore: Minor fix
* chore: Code clean up
* chore: Handle outside click
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >, Nithin David
2023-04-17 20:32:09 +05:30
9e2f991484
feat: audit logs UI ( #6803 )
...
* feat: init auditlogs ui
* chore: add api
* fix: action
* chore: add action,username,time
* feat: add pagination support
* chore: format time
* chore: refactor
* chore: refactor auditlogs api response
* chore: update icon
* chore: rubocop fixes
* Fixes the way meta is handled in store
* Fixes meta not appearing issue
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-17 19:11:05 +05:30
Sivin Varghese and GitHub
80dcd17f6e
fix: Border color for CSAT component in widget ( #6915 )
2023-04-17 17:50:30 +05:30
Shivam Mishra and GitHub
a38ecf3dde
feat: show webhook verify token for WhatsApp ( #6916 )
...
- Display WhatsApp webhook verify token in configuration settings
2023-04-17 17:14:08 +05:30
9090eabb8a
chore: Update translations ( #6895 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-17 14:45:49 +05:30
ca2506a941
feat: allow sorting of articles ( #6833 )
...
* feat: sort by position
* chore: whitespace change
* feat: add border bottom color to list item
* feat: allow dragging articles
* feat: add migration to reorder all articles
* feat: add onsort method
* feat: finish UI sorting
* feat: show 50 per page in articles list
* feat: add article sorting methods
* feat: patch up reorder action with the API
* refactor: better naming
* chore: add comments
* feat: attach position to article before create
* feat: move article to end if moved between categories
* chore: add comments
* chore: update version
* fix: don't change position if previous category was nil
* fix: condition to trigger update on category change
* refactor: store new_position
* refactor: use grid instead of table
* feat: add snug spacing
* feat: add grab-icon
* feat: add grab icon to list
* refactor: show draggable only for category page
* feat: add update_positions as a class method
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-17 14:43:10 +05:30
Shivam Mishra and GitHub
1886d4ce08
fix: response body in twitter callback ( #6907 )
...
* fix: response body
* fix: tests
2023-04-14 16:48:28 +05:30
Shivam Mishra and GitHub
4d49b81f1c
fix: use response.status instead of success ( #6906 )
...
* fix: use response.status instead of success
* refactor: use sentry to capture exception
* refactor: explicitly convert to i
2023-04-14 15:22:08 +05:30
Tejaswini Chile and GitHub
2b736f4698
fix: Update from_email in the name to fix the syntax error ( #6900 )
2023-04-13 10:42:38 -07:00
Tejaswini Chile and GitHub
9ca21df9fd
feat: Route emails based on x-original-to in email channel ( #6901 )
...
Fixes : #6608
ref: https://linear.app/chatwoot/issue/CW-30/emails-not-routed-based-on-x-original-to
2023-04-13 14:52:12 +05:30
Tejaswini Chile and GitHub
44837aa657
Fix: save twitter profile for inbox ( #6667 )
...
Fixes : #737
2023-04-12 14:16:24 +05:30
d04344c094
chore(deps): bump commonmarker from 0.23.7 to 0.23.9 ( #6892 )
...
Bumps [commonmarker](https://github.com/gjtorikian/commonmarker ) from 0.23.7 to 0.23.9.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases )
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.7...v0.23.9 )
---
updated-dependencies:
- dependency-name: commonmarker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-12 14:08:14 +05:30
d45512df72
feat: Account deletion with deleteObjectJob ( #6885 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1365/allow-super-admin-to-delete-an-account
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-12 13:54:01 +05:30
2731c2a5be
chore(deps): bump nokogiri from 1.14.2 to 1.14.3 ( #6893 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.2...v1.14.3 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 13:29:57 +05:30
Tejaswini Chile and GitHub
610463c980
fix: flatten template array for whatsapp templates ( #6880 )
...
- Refactor the WhatsApp template sync job
- Fix the issue when fetching the next set of templates
2023-04-11 17:48:17 +05:30
09ce85b30d
Chore: moves localstorage helper as a shared utility ( #6838 )
...
* Chore: moves localstorage helper as a shared utility and refactors constants
* Refactors constants file
* Fixes merge conflicts
* Delete constants.js
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-11 15:50:46 +05:30
Shivam Mishra and GitHub
17ff1f11a7
feat: better download for conversation traffic heatmap ( #6755 )
...
* feat: genearte report in a grid
* refactor: update API usage
* refactor: separate generate method
* refactor: abstract transform_data
* feat: annotate with comments
* feat: add explicit timezone
* feat: download data only in user timezone
* fix: dates included in heatmap
2023-04-11 09:40:54 +05:30
Pranav Raj S and GitHub
f4e121cc44
fix: Update the profile API URL in the documentation ( #6875 )
2023-04-10 18:23:20 -07:00
Pranav Raj S and GitHub
cf934450ab
chore: Remove context menu on links ( #6874 )
2023-04-10 14:13:08 -07:00
Vishnu Narayanan and GitHub
ad75a79135
feat: add pagination support for audit logs API ( #6843 )
...
Add pagination support for audit logs API
2023-04-10 21:07:01 +05:30
Tejaswini Chile and GitHub
d49989ace1
chore: Specs for Whatsapp template pagination ( #6870 )
...
Spec for https://github.com/chatwoot/chatwoot/pull/6835
2023-04-10 20:44:43 +05:30
Tejaswini Chile and GitHub
e69e0bc984
Add status reopen activity message for api channel ( #6839 )
2023-04-10 19:12:20 +05:30
e877b01e00
fix: Invalidate cache if any of the related objects change ( #6860 )
...
* fix: Invalidate cache if any of the related objects change
* Add specs:
* Update context
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-04-10 15:47:13 +05:30
da11feb39b
feat: one-click codepen for widget configuration ( #6865 )
...
* feat: allow codepen in code
* feat: enable codepen in config
* feat: update codepen title
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-10 15:44:06 +05:30
Tejaswini Chile and GitHub
138afd9af6
Feat: Fetch whatsapp templates till next cursor ( #6835 )
2023-04-10 14:44:27 +05:30
e753365493
feat: Add the ability to change the agent availability status ( #6855 )
...
* Add the option change agent availability
* Remove callout
* Move `AVAILABILITY_STATUS_KEYS` to constants
* Update app/javascript/dashboard/i18n/locale/en/agentMgmt.json
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-10 13:37:12 +05:30
Pranav Raj S and GitHub
91dc7733b0
feat: Use inbox image as avatar for the bot ( #6859 )
2023-04-07 13:25:18 -07:00
Pranav Raj S and GitHub
463c09184c
fix: Disable processing events if account is suspended ( #6849 )
2023-04-07 12:01:03 -07:00
040e9a732f
chore: Update translations ( #6854 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-07 16:05:33 +05:30
71c5a1e1d4
feat: add lograge to improve logging ( #5423 )
...
- Add lograge gem to improve rails logging using `LOGRAGE_ENABLED` env variable
- When enabled Single line log for requests in JSON formatting
- Switch sidekiq also to use JSON formatting
Fixes : chatwoot/product#437
---------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-07 13:44:30 +05:30
Muhsin Keloth and GitHub
a521762dd6
feat: Support after param in messages end point ( #6848 )
...
Adds support to `after` param while fetching messages
Fixes: https://linear.app/chatwoot/issue/CW-1475/support-after-param-in-messages-end-point
2023-04-07 13:42:54 +05:30
406e8405eb
fix: Specs failing for teams/actions.js ( #6845 )
...
* fix: specs failing
* fix: specs for labels and inboxes
* Update reports.js
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-06 20:48:49 +05:30
37dd898c9a
Search bar improvements ( #6827 )
...
* chore: implement search improvement
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
* Update app/javascript/dashboard/routes/dashboard/conversation/search/PopOverSearch.vue
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
* Update app/javascript/dashboard/routes/dashboard/conversation/search/PopOverSearch.vue
---------
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-06 18:56:56 +05:30
Sivin Varghese and GitHub
be2356724e
fix: Time specs ( #6841 )
2023-04-06 16:33:31 +05:30
Sivin Varghese and GitHub
ab6276327a
feat: Show year in message timestamp if the message is not from the current year ( #6830 )
...
* feat: Shows year in message timestamp if the message is not from the current year
* chore: Naming fix
2023-04-06 15:09:38 +05:30
Sivin Varghese and GitHub
ee131011f9
fix: Canned Responses are not sent in the new message editor ( #6829 )
2023-04-05 12:42:39 +05:30
balawa and GitHub
2ca8726005
feat: Extend the message limit for the Facebook Channels ( #6816 )
2023-04-04 12:07:13 -07:00
Shivam Mishra and GitHub
b39e5bb642
feat: Remove isAdmin check on merge contact button ( #6825 )
2023-04-04 09:58:10 -07:00
Pranav Raj S and GitHub
ebd5fbef17
chore: Use feature_flags attribute instead of settings_flags ( #6820 )
...
* chore: Use feature_flag instead of settings_flag
* Remove unnecessary changes
2023-04-04 09:56:58 -07:00
Shivam Mishra and GitHub
b7d0016d99
fix: inconsistent usage of snake_case and camelCase ( #6824 )
2023-04-04 16:22:45 +05:30
Muhsin Keloth and GitHub
a0eafc94d7
fix: Pre-chat message is not showing in campaign ( #6821 )
...
* Fix pre-chat form header issue
* Show pre-message if pre-chat form enabled
2023-04-04 13:37:51 +05:30
Sivin Varghese and GitHub
110e28d08e
chore: Disable import option in agent account ( #6822 )
2023-04-04 13:37:13 +05:30
a040aee96b
feat: allow adding custom attributes to conversations from the SDK ( #6782 )
...
* feat: add conversation attributes method to sdk and widget app
* feat: add endpoints to update custom attributes
* refactor: update SDK api
* feat: add api and actions for conversation updates
* fix: error message
* test: custom attributes on conversations controller
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-04 08:57:55 +05:30
Tejaswini Chile and GitHub
6a0ca35de4
Feat: detect language of the message content ( #6660 )
2023-04-04 08:57:27 +05:30
Sivin Varghese and GitHub
268eababa3
feat: Adds an option to edit City/Country ( #6792 )
...
* feat: Adds an option to edit City/Country
* chore: Minor fix
2023-04-03 19:51:27 +05:30
Tejaswini Chile and GitHub
d2d6d271c3
CW-1399 Phone number import ( #6815 )
2023-04-03 13:53:59 +05:30
Muhsin Keloth and GitHub
363ffdbde3
fix: Disable form if pre-chat disabled on new conversation ( #6813 )
2023-04-03 12:03:58 +05:30
Tejaswini Chile and GitHub
44f73e044a
slack with template message link ( #6811 )
2023-04-03 11:32:37 +05:30
Pranav Raj S and GitHub
ebc144683a
chore: Update conversation thread rendering in Slack ( #6812 )
2023-04-02 22:26:08 -07:00
44e4eee28b
chore: Update translations ( #6806 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-02 13:24:13 +05:30
Shivam Mishra and GitHub
2e9eead20c
feat: update contacts filter query ( #6802 )
...
- Update contacts API query to be faster
2023-04-02 13:23:01 +05:30
Tejaswini Chile and GitHub
d1ac33e98c
feat: Phone number based automation conditions ( #6783 )
2023-04-02 10:54:51 +05:30
Tejaswini Chile and GitHub
21da03fe5b
Fix: Consider bot message on slack integration ( #6793 )
2023-03-31 18:56:51 +05:30
bd5ff7a8bf
fix: Agent avatar instead of bot avatar in pending message ( #6777 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-03-31 18:49:31 +05:30
Sivin Varghese and GitHub
fd41529b82
chore: Adds the ability to copy phone number from user details ( #6791 )
2023-03-30 11:03:51 -07:00
Tejaswini Chile and GitHub
7bd830ebfe
fix: Email based automation conditions filter ( #6786 )
2023-03-30 22:34:18 +05:30
Sojan Jose and GitHub
7930902ec8
chore: Refactor Automation Specs ( #6796 )
...
The current way of writing specs for automation in one single file automation_listener isn't effective. Hence we are breaking down the specs for each class into separate spec files.
fixes: CW-1447
2023-03-30 21:02:52 +05:30
Tejaswini Chile and GitHub
d8604107aa
fix: Add link to conversation in slack message ( #6768 )
2023-03-30 13:03:19 +05:30
cef44bc557
fix: Check valid params exists in WhatsAapp payload ( #6780 )
...
Fixes #6779
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-30 12:10:59 +05:30
Sojan Jose and GitHub
7e3a4d2c20
fix: Adds assignee as a participant during auto-assign ( #6789 )
...
- Ensures that the assignee is added as a participant during auto-assign
2023-03-30 11:39:53 +05:30
Sojan Jose and GitHub
a4c9a2b2f2
chore: Support telegram edited_message events ( #6785 )
...
- Add support for telegram edited_message events: Update the user message back in the Chatwoot dashboard when updated by the contact on telegram
2023-03-29 18:48:16 +05:30
d1b65b6c9e
chore: Fixes avatar position on failed messages ( #6784 )
...
* feat: show external error in message
* Fixes avatar position on failed messages
---------
Co-authored-by: Clairton Rodrigo Heinzen <clairton.rodrigo@gmail.com >
2023-03-29 18:09:18 +05:30
Clairton Rodrigo Heinzen and GitHub
4ed35cf461
feat: show external error in message as tooltip ( #6701 )
2023-03-29 17:30:57 +05:30
Jordan Brough and GitHub
803015b7f8
chore: Re-add "public" prefix to "public.gen_random_uuid()" in schema.rb ( #6770 )
...
Revert unintended schema change from https://github.com/chatwoot/chatwoot/pull/5338#discussion_r957645071
2023-03-29 16:02:13 +05:30
Jordan Brough and GitHub
aa75666ad9
chore: Remove extra audit column ( #6769 )
...
- Drop unintentional "audits.integer" column
2023-03-29 12:24:14 +05:30
Pavel Kuzmin and GitHub
2b7ff48bcd
fix: Turn off FOCUS_CUSTOM_ATTRIBUTE event to avoid memory leak ( #6772 )
2023-03-28 18:29:15 -07:00
6002394fcf
feat: Support input_select messages on telegram ( #5887 )
...
- Adding interactive button support for telegram for outgoing and incoming messages.
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-28 22:50:07 +05:30
Shivam Mishra and GitHub
bc8e8f3bb5
feat: add index to conversation id and account_id ( #6757 )
...
- This PR adds an index to conversations id and account_id. This improves the performance of some reports query
2023-03-28 22:34:04 +05:30
54a809ea54
fix: Case insensitive email match ( #6760 )
...
Fixes: https://linear.app/chatwoot/issue/CW-1354/email-id-case-sensitive
Co-authored-by: Sojan <sojan@pepalo.com >
2023-03-28 15:23:41 +05:30
Tejaswini Chile and GitHub
fdb067a352
fix: mentions are not rendered properly in slack ( #6762 )
2023-03-28 13:40:16 +05:30
Nithin David Thomas and GitHub
d082aa50a8
fix: Adds support for multiple file uploads in whatsapp inbox ( #6763 )
2023-03-28 13:10:16 +05:30
Muhsin Keloth and GitHub
3535a1a708
chore: Auto capitalize the last name field while sending the canned response/variables ( #6767 )
...
* Capitalize last name
* Add more spec
* Fix last name spec issue
* More spec fixes
* Add more spec fixes
* Update user_drop_spec.rb
2023-03-28 13:03:51 +05:30
Shivam Mishra and GitHub
4c10845acd
fix: [CW-44] don't count private message as first reply ( #6707 )
...
* fix: don't count private message as first reply
* fix: update first_human_response_logic
* refactor: separate valid_first_reply method
* test: valid first reply
* feat: add check for automation rule
* test: update step that creates data
* fix: add boundary condition in case first_reply_created_at is not present
* test: fix report builder
* refactor: conditions
* test: remove second message condition
2023-03-27 21:23:37 +05:30
Muhsin Keloth and GitHub
5b7bed9640
chore: Auto capitalize the name field while sending the canned response/variables ( #6758 )
...
* capitalize name before sending the message
* Fix specs
* Code cleanups
2023-03-27 18:49:48 +05:30
b3850cb4fa
fix: Show meaning full error message while creating and email inbox [CW-1312] ( #6711 )
...
* chore: Shows error message while creating and email inbox
* chore: Review fixes
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-03-27 16:15:11 +05:30
7de89b6f9b
chore: Update translations ( #6751 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-27 14:45:50 +05:30
Shivam Mishra and GitHub
00ee0478eb
feat: IndexedDB based caching for labels, inboxes and teams [CW-50] ( #6710 )
...
* feat: allow caching of labels in the account scope
* feat: send cache keys in account json response
* feat: kickstart web worker
* feat: setup basic architecture for workers
* feat: install idb
* feat: add datamanger
* fix: typos
* refactor: rename method
* feat: make init db a manual step
* refactor: separate accountIdFromRoute
* feat: cache enabled API client
* feat: enable caching for inboxes and labels
* feat: enable cache for team
* feat: manage exceptions for team
* feat: add team to data manager
* feat: add a generic listener
* refactor: send only cache keys
* refactor: separate validate method
* feat: add listeners
* feat: add event for revalidate
* feat: add cache keys endpoint
* refactor: fetch cache keys instead of full account data
* fix: key pattern
* feat: don't fetch account for cache_keys
* fix: cache key base class
* refactor: cache keys helper
* feat: add helper
* fix: cache-key update logic
* feat: delete indexeddb on logout
* feat: remove worker.js
* refactor: move data-manager
* refactor: name of file
* feat: add test for DataManager
* refactor: add fake idb to jest setup
* test: cache keys helper
* test: cache keys helper
* test: cache_keys in accounts controller
* refactor: remove cache_keys context
* feat: add policy for cache-keys
2023-03-27 12:16:25 +05:30
Pranav Raj S and GitHub
6000028f64
feat: Allow agents/admins to copy the link to a message ( #5912 )
2023-03-26 22:58:42 -07:00
Pranav Raj S and GitHub
1e8881577a
fix: Display native context menu on image, video preview modals ( #6756 )
2023-03-26 15:16:56 -07:00
Pranav Raj S and GitHub
4b83bcb5ca
fix: Move subscription to after initialize ( #6752 )
2023-03-26 12:19:29 -07:00
Pranav Raj S and GitHub
70e7530cb4
feat: Setup context menu for message ( #6750 )
2023-03-24 16:20:19 -07:00
Pranav Raj S and GitHub
d666afd757
chore: Refactor messages to support right click context menu ( #6748 )
2023-03-24 13:49:44 -07:00
Muhsin Keloth and GitHub
a6e7737c56
feat: Show custom attributes in pre-chat form on new conversation ( #6735 )
2023-03-23 15:22:49 +05:30
Tejaswini Chile and GitHub
856d9067b0
fix: Super admin redirect issue [CW-1370] ( #6715 )
2023-03-23 14:37:21 +05:30
Tejaswini Chile and GitHub
d94f195284
feat: Add link for instagram profile link ( #6721 )
2023-03-23 13:34:42 +05:30
1370cf3c07
chore: Update translations
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-03-23 13:30:21 +05:30
Sivin Varghese and GitHub
1dd7cfc25d
fix: Design issues after RTL changes ( #6718 )
2023-03-21 13:25:35 -07:00
Nithin David Thomas and GitHub
f3aba84063
fix: Fixes scroll behavior for search page ( #6717 )
2023-03-21 12:10:08 +05:30
Tejaswini Chile and GitHub
9c040af028
[CW-1348] fix: Update email regex validation for contact_inbox ( #6705 )
2023-03-21 10:51:12 +05:30
Sivin Varghese and GitHub
4cae5c7d51
chore: The label creation UI input is transform to lowercase ( #6712 )
2023-03-20 20:35:15 +05:30
Shivam Mishra and GitHub
e5134c9ef5
[CW-53] feat: allow downloading heatmap report ( #6683 )
...
* feat: add control header slot
* feat: add download API call
* feat: add conversation traffic template
* feat: allow downloading heatmap content
* feat: wire up download
* fix: grid layout for mobile
* chore: revert formatting
* revert: en.yml file
* feat: add conversation traffic text
* feat: disable rule for map block
* test: conversation traffic
* fix: timezone offset
* feat: download report in UTC
* feat: add UTC warning
* chore: revert formatting
* feat: add traffic text
* chore: fix whitespace change
2023-03-20 15:46:29 +05:30
Tejaswini Chile and GitHub
4f936aada5
[CW-1342]: Inbox deletion in background job ( #6708 )
2023-03-20 13:46:07 +05:30
Tarang and GitHub
0c9f129c74
Fix issues with Microsoft Provider ( #6702 )
2023-03-20 12:27:43 +05:30
Nithin David Thomas and GitHub
d2aa5f4c69
fix: Reverts popover styling for search page ( #6688 )
2023-03-20 11:04:56 +05:30
Nithin David Thomas and GitHub
e76b63f91d
chore: Upgrade prosemirror package to fix link rendering issue ( #6685 )
2023-03-16 13:42:52 -07:00
Muhsin Keloth and GitHub
5c5764ca85
chore: Enable icelandic language( #6682 )
...
ref: #6681
2023-03-16 20:32:55 +05:30
Tejaswini Chile and GitHub
cf487c76a0
fix: delete user record if belongs to no account ( #6664 )
2023-03-15 21:49:49 +05:30
Sojan
6848433a4c
Merge branch 'release/2.15.0' into develop
2023-03-15 19:58:28 +05:30