iachat/app/views
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
..
android_app chore: Universal Linking for Android (#2324) 2021-06-02 08:46:45 -07:00
api feat: let users re auth legacy google inboxes (#10179) 2024-09-30 21:48:52 +05:30
apple_app Chore: Apple site association file for deep linking (#805) 2020-05-03 12:16:11 +05:30
dashboard Initial Commit 2019-08-14 15:18:44 +05:30
devise fix: Fixes wrong copy being sent to users via email invite [cw-1290] (#7159) 2023-05-23 09:37:40 +05:30
fields chore: Reorganize the installation config settings (#8794) 2024-01-31 16:48:42 +04:00
icons feat: Updates branding logo and name in public portal footer (#8745) 2024-01-19 13:37:24 +04:00
installation/onboarding feat: Super admin design improvements (#8517) 2023-12-08 19:40:35 -08:00
layouts feat: allow setting dashboard scripts from super_admin (#9514) 2024-05-23 14:30:41 +05:30
mailers feat: Add push/email notification support for SLA (#9140) 2024-03-29 20:27:21 +11:00
microsoft fix: Identity JSON response header (#6326) 2023-02-02 11:01:18 +05:30
platform/api/v1 chore: Adds API for agent bot avatar upload (#8533) 2023-12-11 19:02:11 -08:00
public/api/v1 fix: Include uncategorized articles in the all article section to allow edit/delete (#10153) 2024-09-23 23:39:03 -07:00
super_admin feat: allow setting dashboard scripts from super_admin (#9514) 2024-05-23 14:30:41 +05:30
survey/responses feat: CSAT response collection public page (#2685) 2021-08-03 18:22:50 +05:30
widget_tests feat: Adds the ability to disable the "new message notification" popup (#9594) 2024-06-11 08:14:58 +05:30
widgets feat: remove feature flag checks for message reply to (#8352) 2023-11-15 13:05:58 +05:30