Refactor user account system and remove moderation integration

- Remove first_name and last_name fields from User model
- Add user deletion and social provider services
- Restructure auth serializers into separate directory
- Update avatar upload functionality and API endpoints
- Remove django-moderation integration documentation
- Add mandatory compliance enforcement rules
- Update frontend documentation with API usage examples
This commit is contained in:
pacnpal
2025-08-30 07:31:58 -04:00
parent bb7da85516
commit 04394b9976
31 changed files with 7200 additions and 1297 deletions

16
backend/uv.lock generated
View File

@@ -857,6 +857,20 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/b0/ce/bf8b9d3f415be4ac5588545b5fcdbbb841977db1c1d923f7568eeabe1689/djangorestframework-3.16.1-py3-none-any.whl", hash = "sha256:33a59f47fb9c85ede792cbf88bde71893bcda0667bc573f784649521f1102cec", size = 1080442, upload-time = "2025-08-06T17:50:50.667Z" },
]
[[package]]
name = "djangorestframework-simplejwt"
version = "5.5.1"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "django" },
{ name = "djangorestframework" },
{ name = "pyjwt" },
]
sdist = { url = "https://files.pythonhosted.org/packages/a8/27/2874a325c11112066139769f7794afae238a07ce6adf96259f08fd37a9d7/djangorestframework_simplejwt-5.5.1.tar.gz", hash = "sha256:e72c5572f51d7803021288e2057afcbd03f17fe11d484096f40a460abc76e87f", size = 101265, upload-time = "2025-07-21T16:52:25.026Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/60/94/fdfb7b2f0b16cd3ed4d4171c55c1c07a2d1e3b106c5978c8ad0c15b4a48b/djangorestframework_simplejwt-5.5.1-py3-none-any.whl", hash = "sha256:2c30f3707053d384e9f315d11c2daccfcb548d4faa453111ca19a542b732e469", size = 107674, upload-time = "2025-07-21T16:52:07.493Z" },
]
[[package]]
name = "drf-spectacular"
version = "0.28.0"
@@ -2170,6 +2184,7 @@ dependencies = [
{ name = "django-webpack-loader" },
{ name = "django-widget-tweaks" },
{ name = "djangorestframework" },
{ name = "djangorestframework-simplejwt" },
{ name = "drf-spectacular" },
{ name = "factory-boy" },
{ name = "flake8" },
@@ -2239,6 +2254,7 @@ requires-dist = [
{ name = "django-webpack-loader", specifier = ">=3.1.1" },
{ name = "django-widget-tweaks", specifier = ">=1.5.0" },
{ name = "djangorestframework", specifier = ">=3.14.0" },
{ name = "djangorestframework-simplejwt", specifier = ">=5.5.1" },
{ name = "drf-spectacular", specifier = ">=0.27.0" },
{ name = "factory-boy", specifier = ">=3.3.3" },
{ name = "flake8", specifier = ">=7.1.1" },