bb-plane-fork/apps/api/plane/db/models
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
..
integration [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
__init__.py [WEB-5254] chore: add bot user to create workspace seed data (#8225) 2025-12-05 18:03:58 +05:30
analytic.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
api.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
asset.py [MOB-1199] dev: update index constraints for notifications to optimize query performance (#7870) 2025-11-23 19:41:27 +05:30
base.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
cycle.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
deploy_board.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
description.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
device.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
draft.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
estimate.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
exporter.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
favorite.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
importer.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
intake.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
issue.py [WEB-4440] fix: duplicate sequence when creating multiple workitems in rapid succession (#8298) 2025-12-10 23:20:41 +05:30
issue_type.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
label.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
module.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
notification.py [MOB-1199] dev: update index constraints for notifications to optimize query performance (#7870) 2025-11-23 19:41:27 +05:30
page.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
project.py [WEB-5666] chore: set project timezone same as workspace timezone in project (#8340) 2025-12-16 20:46:53 +05:30
recent_visit.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
session.py [WEB-4723] fix: disable project features on project create (#7625) 2025-09-12 13:01:03 +05:30
social_connection.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
state.py fix: state group choices (#8198) 2025-11-28 18:06:00 +05:30
sticky.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
user.py [WEB-5657] feat: add synchronization configuration for multiple providers in authentication adapter (#8336) 2025-12-22 12:23:39 +05:30
view.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
webhook.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
workspace.py [WEB-5170] feat: navigation revamp (#8162) 2025-11-26 12:56:11 +05:30