bb-plane-fork/apps/api/plane/db
Nikhil c2ce21e56c
[WEB-5657] feat: add synchronization configuration for multiple providers in authentication adapter (#8336)
* feat: add sync functionality for OAuth providers

- Implemented `check_sync_enabled` method to verify if sync is enabled for Google, GitHub, GitLab, and Gitea.
- Added `sync_user_data` method to update user details, including first name, last name, display name, and avatar.
- Updated configuration variables to include sync options for each provider.
- Integrated sync check into the login/signup process.

* feat: add sync toggle for OAuth providers in configuration forms

* fix: remove default value for sync options in OAuth configuration forms

* chore: delete old avatar and upload a new one

* chore: update class method

* chore: add email nullable

* refactor: streamline sync check for multiple providers and improve avatar deletion logic

* fix: ensure ENABLE_SYNC configurations default to "0" for Gitea, Github, Gitlab, and Google forms

* fix: simplify toggle switch value handling in ControllerSwitch component

---------

Co-authored-by: b-saikrishnakanth <bsaikrishnakanth97@gmail.com>
2025-12-22 12:23:39 +05:30
..
management [WEB-5312] migration: work item comments (#8072) 2025-11-21 16:15:07 +05:30
migrations [WEB-5282] chore: triage state in intake (#8135) 2025-11-28 16:16:48 +05:30
models [WEB-5657] feat: add synchronization configuration for multiple providers in authentication adapter (#8336) 2025-12-22 12:23:39 +05:30
__init__.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
apps.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
mixins.py [WEB-5285] feat: enhance ChangeTrackerMixin to capture changed fields on save (#8270) 2025-12-10 00:59:57 +05:30