Shivam Mishra
808a27c793
feat: enable controller
2024-06-02 19:50:46 +05:30
Shivam Mishra
f57d0f9da9
fix: include concern
2024-06-02 19:50:38 +05:30
Shivam Mishra
db13956f81
fix: concern name
2024-06-02 19:48:42 +05:30
Shivam Mishra
47074e8a82
feat: add google client
2024-06-02 19:43:35 +05:30
Shivam Mishra
b8c237ca58
feat: add scope to cache key
2024-06-02 19:41:40 +05:30
Shivam Mishra
b6f73221b9
feat: add authorization controller for google inbox
2024-06-02 19:37:31 +05:30
Shivam Mishra
d974be86ee
feat: add google concern
2024-06-02 19:35:41 +05:30
Shivam Mishra
4582794ad4
feat: bring back Microsoft Controller
...
I made a booboo, Microsoft concern was actually used in Microsoft::AuthorizationsController, which needed the OAuth client, let's bring it back
2024-06-02 19:34:33 +05:30
Shivam Mishra
f906b9a775
feat: add imap
2024-06-02 19:27:46 +05:30
Shivam Mishra
df373bec62
refactor: move update_channel
2024-06-02 19:27:26 +05:30
Shivam Mishra
d7b564ea9f
feat: use a generic name for inbox settings and agents page
2024-06-02 19:15:27 +05:30
Shivam Mishra
8bdb1a2ce0
refactor: move more functions to base controller
2024-06-02 19:03:43 +05:30
Shivam Mishra
a8e1fba1bd
fix: google callbacks
2024-05-31 18:51:16 +05:30
Shivam Mishra
ea86184675
fix: tests
2024-05-31 18:49:22 +05:30
Shivam Mishra
6ec5bbc2c7
feat: add provider_name
2024-05-31 18:35:02 +05:30
Shivam Mishra
32f25e3bd7
feat: kickstart google callbacks
2024-05-30 19:10:13 +05:30
Shivam Mishra
d51e3ad5bf
refactor: separate OauthCallbackController
2024-05-30 19:06:44 +05:30
Shivam Mishra
2dd2cfeb87
feat: enable google
2024-05-30 13:47:09 +05:30
Shivam Mishra
bd7e1fba3f
feat: add joinURL
2024-05-30 13:42:41 +05:30
Shivam Mishra
bece33792e
feat: add gmail/google as an option
2024-05-30 13:17:10 +05:30
Shivam Mishra
ffb687d12f
fix: channel selector layout
2024-05-30 13:16:51 +05:30
Shivam Mishra
980f4da669
feat: allow google as a provider
2024-05-30 13:09:04 +05:30
Vishnu Narayanan and GitHub
59b912f22c
doc: update .env.example ( #9556 )
...
- add more info on SECRET_KEY_BASE
- add a link to env variable section in selfhosted docs
Fixes https://github.com/chatwoot/chatwoot/issues/9517
2024-05-28 13:34:47 +05:30
Sivin Varghese and GitHub
eb6a343810
fix: Enable edit option for custom attributes if value is present ( #9543 )
...
# Pull Request Template
## Description
This PR will enable a back edit option for custom attributes if there is
the value present, which is removed by this
[PR](https://github.com/chatwoot/chatwoot/pull/9070/files#diff-fe9b82bbef1da31faa513332ed6015c0ed23765a6368832137a5408547da8938R172 )
Fixes
https://linear.app/chatwoot/issue/CW-3345/edit-attribute-does-not-work-anymore
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
**Screenrecordings**
**Before**
https://github.com/chatwoot/chatwoot/assets/64252451/ab89e087-d919-404d-90a9-17982b425dc3
**After**
https://github.com/chatwoot/chatwoot/assets/64252451/98d8b0b2-2f8f-46ec-ace5-b3e2a721623e
## Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [ ] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-05-28 12:05:34 +05:30
Fernando Verdugo and GitHub
4a3376e912
fix(typo): Update bulkActions.json ( #9540 )
2024-05-24 08:51:36 -07:00
Sivin Varghese and GitHub
7c5e67bf28
feat: Adds backend support for rendering tables in articles ( #9526 )
2024-05-24 08:44:01 +05:30
eafd3ae44d
feat: new re-authorization flow for Microsoft ( #9510 )
...
This PR adds a cleaner re-authorization flow to Microsoft. This PR has
the following changes
1. Use `reauthorization_required` value for Microsoft Channel
2. Refactor `InboxReconnectionRequired` to reuse the `banner` component
3. Refactor `microsoft/Reauthorize.vue` to reuse
`InboxReconnectionRequired` component
4. Update `reauthorizable.rb` to update cache keys if the model has an
inbox
5. Update `microsoft/callbacks_controller.rb` to handle the
reauthorization case with a redirect to the inbox settings page if the
inbox already exists at the time of authorization.
## How Has This Been Tested?
- [x] Local Instance
- [ ] Staging Instance
- [x] Unit tests
## Pending Tasks
- [ ] ~Success Toast~ will do this in a follow-up PR with the screen
## Demo
The following video shows the whole process of creation and
re-authorization of the Microsoft channel
https://www.loom.com/share/e5cd9bd4439c4741b0dcfe66d67f88b3?sid=100f3642-43e4-46b3-8123-88a5dd9d8509
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-05-23 16:03:40 +05:30
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
Muhsin Keloth and GitHub
f83af33b87
feat: Add title while linking the linear issue ( #9529 )
2024-05-23 13:32:41 +05:30
Sivin Varghese and GitHub
0c4c561313
feat: Adds the ability to add line breaks in helpcenter articles ( #9519 )
2024-05-23 12:34:42 +05:30
Shivam Mishra and GitHub
9f625715ab
fix: Cannot read properties of undefined (reading 'toLowerCase') ( #9511 )
...
Tried to replicate the issue, but Sentry didn't have enough information.
`toggleMessageSignature` is a user triggered action in
`ReplyBottomPanel.vue`, the value for `channelType` is provided from
`inboxMixin`. The error will occur if either `inbox` is an empty object
`{}` or `channel_type` in `inbox` object is undefined.
I couldn't find any instance where this could be the case. The PR has a
stop gap solution that ensures that no action is triggered
2024-05-23 12:08:04 +05:30
35508feaae
feat: Linear front end ( #9491 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2024-05-23 11:58:24 +05:30
Sivin Varghese and GitHub
be97c68721
fix: TypeError cannot read properties of undefined (reading 'status') ( #9505 )
2024-05-23 11:22:14 +05:30
Sivin Varghese and GitHub
4b93738462
fix: Space key in input closing dropdown ( #9525 )
2024-05-23 10:40:44 +05:30
Pranav and GitHub
87d92f73d4
feat: Improve Report API performance ( #9476 )
...
- Re-write the methods for clarity
- Remove the dependency on the ReportHelper class.
- Remove n+1 queries in the average metric time series data.
2024-05-22 17:34:24 -07:00
Muhsin Keloth and GitHub
023b3ad507
feat: Add APIs for linear integration ( #9346 )
2024-05-22 13:37:58 +05:30
Sivin Varghese and GitHub
0d13c11c44
fix: Right click Snooze is not working ( #9498 )
2024-05-22 13:03:49 +05:30
Sojan Jose and GitHub
db13049e6f
fix: [Snyk] Security upgrade administrate-field-active_storage from 1.0.2 to 1.0.3 ( #9496 )
...
- Security upgrade administrate-field-active_storage from 1.0.2 to 1.0.3
2024-05-21 13:36:11 -07:00
Pranav and GitHub
7a1a686133
fix: Fix typo in the font for portals ( #9515 )
...
The fonts on the portal were not loaded properly before due to a typo in
the stylesheet. The font that is shown on the public portal is ui-sans
right now. This PR fixes it.
2024-05-21 13:35:35 -07:00
Sivin Varghese and GitHub
00dca9466a
feat: Move the SLA filter dropdown to UI folder ( #9502 )
...
# Pull Request Template
## Description
I moved the newly created SLA filter dropdown to the UI folder to use in
adding the Linear issue modal.
2024-05-20 16:23:42 +05:30
e9831b8855
feat: add inbox reconnection banner ( #9441 )
...


---------
Co-authored-by: Fayaz Ahmed <fayazara@gmail.com >
2024-05-20 11:57:03 +05:30
Shivam Mishra and GitHub
f6650b5025
feat: move Azure config to installation_config ( #9481 )
...
This PR has the following changes
1. Add `AZURE_APP_ID` and `AZURE_APP_SECRET` to installation config
2. Add Microsoft config to `super_admin/features.yml`
3. Replace usage of `ENV.fetch` with `GlobalConfigService.load` for
fetch App ID and Secret
2024-05-20 11:52:42 +05:30
Shivam Mishra and GitHub
00a460db43
fix: fetch FB_APP_ID from @global_config ( #9483 )
2024-05-17 15:44:50 +05:30
85dcb84675
chore(deps): bump rexml from 3.2.5 to 3.2.8 ( #9489 )
...
Bumps rexml from 3.2.5 to 3.2.8.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 18:19:22 -07:00
Sivin Varghese and GitHub
a83b609025
fix: New account button style in switch account modal ( #9456 )
2024-05-16 22:33:43 +05:30
Sojan
528b2dc17c
Merge branch 'release/3.9.0' into develop
2024-05-15 22:32:27 -07:00
Sojan
41e373ace3
Bump version to 3.9.0
2024-05-15 22:15:52 -07:00
Chatwoot Bot and GitHub
b0b4668d23
chore: Update translations ( #9439 )
...
- update translations from crowdin
2024-05-15 21:52:30 -07:00
Sojan Jose and GitHub
a2d0e60a88
fix: Get online status from db when not present in cache [CW-3233] ( #9477 )
...
Previously, we returned the static value 'online' when the status was
not present in the Redis cache. This PR changes it to fall back to the
DB value and updates the cache in such cases.
fixes:
https://linear.app/chatwoot/issue/CW-3233/write-a-back-up-for-online-status-in-case-if-redis-keys-are-not
2024-05-15 21:23:19 -07:00
Sojan Jose and GitHub
7b83480979
chore: Add indexes to improve reporting performance ( #9478 )
...
- Adding a new index on (account_id,created_at,message_type) based on
our performance improvement exercise. This index significantly improves
the page load speeds of messaging reports.
2024-05-15 21:21:15 -07:00