iachat/config
Shivam Mishra 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
..
environments feat: add lograge to improve logging (#5423) 2023-04-07 13:44:30 +05:30
initializers chore: Increase the rate limit for contact search (#9256) 2024-04-17 16:59:38 -07:00
integration feat: Add APIs for linear integration (#9346) 2024-05-22 13:37:58 +05:30
languages feat: Updated public portal header design (#8089) 2023-11-08 17:56:59 -08:00
locales feat: Add APIs for linear integration (#9346) 2024-05-22 13:37:58 +05:30
webpack feat: setup composables for vue 2.7 (#9305) 2024-04-29 17:00:49 +05:30
app.yml Bump version to 3.9.0 2024-05-15 22:15:52 -07:00
application.rb chore: Upgrade to Rails 7 (#6719) 2023-05-06 10:44:52 +05:30
boot.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
cable.yml fix: Redis 6 on Heroku breaks ActionCable config (#4269) 2022-03-24 19:25:07 +05:30
database.yml fix: Quote database env variables (#7216) 2023-06-05 14:19:35 +05:30
elastic_apm.yml chore: Support for Elastic APM (#5004) 2022-07-22 11:39:37 +02:00
environment.rb Initial Commit 2019-08-14 15:18:44 +05:30
features.yml feat: Add APIs for linear integration (#9346) 2024-05-22 13:37:58 +05:30
installation_config.yml feat: allow setting dashboard scripts from super_admin (#9514) 2024-05-23 14:30:41 +05:30
newrelic.yml fix: logic error when setting new relic logging forwarding (#8687) 2024-01-11 21:05:04 +05:30
puma.rb chore: Fix puma configuration (#5023) 2022-07-12 12:27:33 +02:00
rds-ca-2019-root.pem chore: add aws rds root cert for tls connection (#3812) 2022-02-01 16:01:25 +05:30
routes.rb feat: new re-authorization flow for Microsoft (#9510) 2024-05-23 16:03:40 +05:30
schedule.yml feat: Add job to remove stale contact inboxes (#8096) 2023-11-06 20:24:30 -08:00
scout_apm.yml chore: Load only required APMs (#6497) 2023-03-01 14:31:51 +05:30
secrets.yml Use secret_key_base from env 2019-08-15 23:08:36 +05:30
sidekiq.yml chore: Upgrade to Rails 7 (#6719) 2023-05-06 10:44:52 +05:30
spring.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
storage.yml fix: GCS credentials dont need to be parsed as JSON (#1429) 2020-11-27 14:39:25 +05:30
webpacker.yml chore: Upgrade Cypress to 13.4.0 (#8271) 2023-10-31 19:39:34 -07:00