bb-plane-fork/apps/api/plane/utils
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
..
core [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
exporters [WEB-5207] fix: update date formatting in IssueExportSchema for cycle start and end dates #7992 2025-10-22 17:11:43 +05:30
filters [SILO-663] chore: enhance error handling in ComplexFilterBackend with DRFValidationError (#8090) 2025-11-24 21:14:14 +05:30
instance_config_variables [WEB-5657] feat: add synchronization configuration for multiple providers in authentication adapter (#8336) 2025-12-22 12:23:39 +05:30
openapi chore: format files in API server (#8292) 2025-12-10 23:50:01 +05:30
permissions [WEB-5237] feat: add workspace invitation and project member management endpoints (#8059) 2025-11-04 14:56:21 +05:30
porters [SILO-783] feat: added porters and new serializer based exporter (#8335) 2025-12-16 15:20:53 +05:30
__init__.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
analytics_plot.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
build_chart.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
cache.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
color.py [WEB-4566] feat: add background color and goals field to Profile and Workspace models #7485 2025-07-27 21:10:31 +05:30
constants.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
content_validator.py chore: format files in API server (#8292) 2025-12-10 23:50:01 +05:30
cycle_transfer_issues.py chore: format files in API server (#8292) 2025-12-10 23:50:01 +05:30
date_utils.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
error_codes.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
exception_logger.py [WEB-4380] chore: work item link sentry error (#7316) 2025-07-08 15:43:42 +05:30
global_paginator.py chore: format files using prettier (#7364) 2025-07-08 20:41:11 +05:30
grouper.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
host.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
html_processor.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
imports.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
ip_address.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
issue_filters.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
issue_relation_mapper.py [WIKI-659] chore: added issue relation and page sort order (#7784) 2025-09-15 18:36:00 +05:30
issue_search.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
logging.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
markdown.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
order_queryset.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
paginator.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
path_validator.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
telemetry.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
timezone_converter.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
url.py [WEB-4805] fix: upgraded psycopgy packages to fix linting and removed unused imports (#7735) 2025-09-29 14:33:50 +05:30
uuid.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30