chatwoot/app/javascript/dashboard
Shivam Mishra a0dddae289
feat: let users re auth legacy google inboxes (#10179)
This PR allows migration of legacy GMail inbox users to new OAuth based
inbox

## How to test?

1. Create an inbox from the seed data and set it's IMAP address to
`imap.gmail.com` from the UI
2. Open `rails console` and run the following

   ```
   inbox = Inbox.find(100) # use your inbox id here
   channel = inbox.channel
   channel.update(email: 'hello@chatwoot.com')
   channel.prompt_reauthorization!
   ```
3. This will show the prompt on the UI. Once you click on Reauthorize,
it should open Google Auth. Reauthroize with the same email address as
used in the inbox and it should start working as usual

### Setting up ENV

```sh
GOOGLE_OAUTH_CLIENT_ID=<some-hash>.apps.googleusercontent.com
GOOGLE_OAUTH_CLIENT_SECRET=<client-secret>
GOOGLE_OAUTH_CALLBACK_URL="http://localhost:3000/omniauth/google_oauth2/callback"
```
2024-09-30 21:48:52 +05:30
..
api chore: Custom Roles to manage permissions [ UI ] (#9865) 2024-09-17 11:40:11 -07:00
assets feat: Update the design for dashboard_apps (#9840) 2024-07-25 16:26:00 -07:00
components feat: Auto-populate the telephone code based on the browser timezone (#10146) 2024-09-23 23:25:38 -07:00
composables feat: Rewrite automations/methodsMixin to a composable (#9956) 2024-08-27 12:30:08 +05:30
constants chore: Custom Roles to manage permissions [ UI ] (#9865) 2024-09-17 11:40:11 -07:00
helper chore: Custom Roles to manage permissions [ UI ] (#9865) 2024-09-17 11:40:11 -07:00
i18n chore: Update translations (#10124) 2024-09-19 16:30:30 -07:00
mixins feat: Rewrite automations/methodsMixin to a composable (#9956) 2024-08-27 12:30:08 +05:30
modules chore: Custom Roles to manage permissions [ UI ] (#9865) 2024-09-17 11:40:11 -07:00
routes feat: let users re auth legacy google inboxes (#10179) 2024-09-30 21:48:52 +05:30
store fix: Show error messages from response (#10173) 2024-09-26 20:16:39 -07:00
App.vue feat: Replace rtlMixin to a composable (#9924) 2024-08-12 15:50:21 +05:30
featureFlags.js chore: Custom Roles to manage permissions [ UI ] (#9865) 2024-09-17 11:40:11 -07:00