Sojan Jose
58e78621ba
chore: Custom Roles to manage permissions [ UI ] ( #9865 )
...
In admin settings, this Pr will add the UI for managing custom roles (
ref: https://github.com/chatwoot/chatwoot/pull/9995 ). It also handles
the routing logic changes to accommodate fine-tuned permissions.
---------
Co-authored-by: Pranav <pranavrajs@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-09-17 11:40:11 -07:00
Shivam Mishra
3489783cb8
feat: add domain blocklist feature ( #10016 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-08-26 13:05:36 +05:30
Sojan Jose
b61ad6e41a
feat: Add APIs to manage custom roles in Chatwoot ( #9995 )
...
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-08-23 17:18:28 +05:30
Sojan Jose
829bb842fd
feat: Generate SSO URL in Chatwoot, move Captain to primary tab ( #9871 )
...
- Generate SSO URL in Chatwoot, move Captain to the primary tab
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-08-01 19:22:34 -07:00
Shivam Mishra
616e3a8092
feat: allow setting dashboard scripts from super_admin ( #9514 )
...
This PR allows setting scripts for `vueapp.html.erb` via super admin
config. This PR has the following changes
1. Allow `DASHBOARD_SCRIPTS` in internal config
2. Remove existing scripts from `vueapp.html.erb`
3. Add scripts from `GlobalConfig` to `vueapp.html.erb`
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-05-23 14:30:41 +05:30
Sojan Jose
60b355b500
fix: Avoid vector search if query is not present in the params ( #9265 )
2024-04-19 14:50:49 -07:00
Sojan Jose
42a457ff5d
feat: Use embeddings in help center search ( #9227 )
2024-04-15 16:35:23 -07:00
Muhsin Keloth
1038d1500e
feat: SLA reports view ( #9189 )
...
* feat: SLA report table
* feat: Add SLA popover card
* feat: Update popover position
* feat: Add loader
* Update SLACardLabel.vue
* feat: Update column order
* chore: fix conditions
* Update SLATable.vue
* chore: enable reports in ui
* chore: Revamp report SLA apis
* chore: revert download method
* chore: improve the code
* Update enterprise/app/views/api/v1/accounts/applied_slas/download.csv.erb
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
* chore: style fixes
* chore: fix specs
* feat: Add number of conversations
* chore: review comments
* fix: translation
* Update app/javascript/dashboard/i18n/locale/en/report.json
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
* Update app/javascript/dashboard/i18n/locale/en/report.json
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
* Update app/javascript/dashboard/i18n/locale/en/report.json
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
* Update SLAReportItem.vue
* Update report.json
* Update package.json
* chore: review comments
* chore: remove unused translation
* feat: Add TableHeaderCell component
* chore: more review fixes
* Update app/javascript/dashboard/components/widgets/TableHeaderCell.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* Update TableHeaderCell.vue
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-09 10:14:36 +10:00
Sojan Jose
4e28481f27
feat: Conversation API to return applied_sla and sla_events ( #9174 )
...
* chore: Add sla_events to push_event_data
* chore: Return SLA details in the API
* chore: feature lock sla push event data
* Update _conversation.json.jbuilder
* chore: rubocop fixes
2024-04-01 23:30:07 +05:30
Shivam Mishra
d1dd319091
feat: API to download breached conversations ( #9150 )
...
* feat: add download conversations endpoint
* feat: template for conversation list download
* feat: setup download API and tests
* chore: revert formatting change
* feat: rename download method
* feat: rename template
* feat: include sla_policy table in download query
* refactor: add nil safety to assignee
* chore: Update en.yml
* fix: remove applied_sla relation
2024-03-26 09:22:49 +05:30
Muhsin Keloth
48452a42f4
feat: Add SLA metrics API ( #9132 )
2024-03-25 12:24:43 +05:30
Sojan Jose
3dae3ff3ad
feat: Conversation update API for sla_policy_id ( #8973 )
...
- Add an endpoint for updating conversation attributes (priority / sla_policy_id )
- Swagger spec
- minor chores around the conversation API/spec
Fixes: https://linear.app/chatwoot/issue/CW-2100/feat-backend-api-to-update-the-sla-of-a-conversation
2024-03-14 17:22:32 +05:30
Sojan Jose
773be6f8ec
feat: Interface to validate response_source ( #8894 )
...
- This PR adds a UI to validate the response source quality quickly. It also helps to test with sample questions and update responses in the database when missing.
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2024-02-26 20:20:12 +05:30
Nithin David Thomas
721a2f5052
feat: API changes to support multi step user signup ( #8933 )
...
-API Changes to support the new onboarding flow
Co-authored-by: Sojan <sojan@pepalo.com >
2024-02-20 16:48:51 +05:30
Shivam Mishra
657843960c
feat: account onboarding with clearbit ( #8857 )
...
* feat: add clearbit lookup
* chore: fix typo in .env.example
* refactor: split lookup to reduce cognitive complexity
* feat: add more fields to lookup
* feat: extend accounts controller
* feat: save extra data to custom_attributes
* feat: allow v2 update with custom_attributes
* feat: add update route
* refactor: reduce complexity
* feat: move update to v1 controller
* test: add locale test
* feat: remove update from routes
* test: update API for custom attributes
* test: all custom attributes
* fix: v2 tests
* test: enterprise accounts controller
* fix: clearbit payload
* fix: with modified env
* feat: allow custom attributes updates to profile
* refactor: reduce complexity
* feat: allow clearbit api key in installation config
* refactor: move clearbit to internal
* feat: allow clearbit
* chore: add display_title for June
* feat: allow more internal options
* refactor: use globalconfig to fetch clearbit token
* test: move response body to a factory
* refactor: update ops
* chore: remove clearbit from .env.example
* chore: apply suggestions from code review
Co-authored-by: sojan-official <sojan@chatwoot.com >
---------
Co-authored-by: sojan-official <sojan@chatwoot.com >
2024-02-12 23:21:42 +05:30
Vishnu Narayanan
232369cd5c
feat: sla 1 - refactor sla_policies model and add applied_sla model ( #8602 )
...
* feat: add models
* chore: refactor sla column names
* chore: remove foreign keys
* chore: fix spec
* chore: refactor models
2024-01-23 23:48:02 +05:30
Sojan Jose
316cf35795
chore: Add display manifest to whitelabel settings ( #8708 )
...
- Adds display manifest to white label settings
- Improve the app config rendering with options for display name and description
2024-01-16 09:50:23 +04:00
Sojan Jose
1f4cb0e1ca
chore: add config for Darkmode logo for whitelabeling ( #8597 )
...
- Add config for dark mode logo
2024-01-04 15:30:55 -08:00
Sojan Jose
34675da6fa
feat: Settings screen for custom branding ( #8543 )
...
- Ability to configure Chatwoot custom branding from UI when using paid plans
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-12-13 13:16:24 -08:00
Sojan Jose
826d9ec5a7
chore: Refactor Response Bot Data Schema ( #8011 )
...
This PR refactors the schema we introduced in #7518 based on the feedback from production tests. Here is the change log
- Decouple Inbox association to a new table inbox_response_sources -> this lets us share the same response source between multiple inboxes
- Add a status field to responses. This ensures that, by default, responses are created in pending status. You can do quality assurance before making them active. In future, this status can be leveraged by the bot to auto-generate response questions from conversations which require a handoff
- Add response_source association to responses and remove hard dependency from response_documents. This lets users write free-form question answers based on conversations, which doesn't necessarily need a response source.
2023-10-01 19:31:38 -07:00
Sojan Jose
f7f04f788e
feat: Add an option to view the generated articles by Robin AI ( #7995 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-27 18:16:36 +05:30
Vishnu Narayanan
9636478c2a
chore: Improve logging for ip look up and audit logs [CW-2145] ( #7512 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-07-27 16:48:30 +05:30
Sojan Jose
480f34803b
feat: Response Bot using GPT and Webpage Sources ( #7518 )
...
This commit introduces the ability to associate response sources to an inbox, allowing external webpages to be parsed by Chatwoot. The parsed data is converted into embeddings for use with GPT models when managing customer queries.
The implementation relies on the `pgvector` extension for PostgreSQL. Database migrations related to this feature are handled separately by `Features::ResponseBotService`. A future update will integrate these migrations into the default rails migrations, once compatibility with Postgres extensions across all self-hosted installation options is confirmed.
Additionally, a new GitHub action has been added to the CI pipeline to ensure the execution of specs related to this feature.
2023-07-21 18:11:51 +03:00
Shivam Mishra
e8a27bea4b
feat: Add APIs for limit check in accounts ( #7242 )
2023-06-15 20:11:40 -07:00
Vishnu Narayanan
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
Muhsin Keloth
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
Shivam Mishra
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
Vishnu Narayanan
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
Vishnu Narayanan
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
Pranav Raj S
eb7070d946
feat(poc): Disable widget based on country ( #6658 )
2023-03-14 09:09:57 -07:00
Vishnu Narayanan
d870b0815a
feat: Audit log APIs ( #6434 )
...
- Adds the appropriate APIs for Audit Logs.
ref: #6015
2023-03-01 20:02:58 +05:30
Sojan Jose
8acba37baf
chore: Add specs for stripe Webhooks endpoint ( #5087 )
2022-07-22 11:46:31 +02:00
Pranav Raj S
cd5e0c548c
fix: Do not enqueue job if it is already enqueued ( #5068 )
2022-07-19 21:12:31 +05:30
Pranav Raj S
7fc0d166e8
feat: Allow SaaS users to manage subscription within the dashboard ( #5059 )
2022-07-19 19:04:17 +05:30
Sojan Jose
713fdb44ee
feat (ee): APIs to configure an auto assignment limit for inboxes ( #4672 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-06-13 20:18:38 +05:30