Add organizations v2 API and registry enrichment
All checks were successful
CI/CD Pipeline / Quality Gate (push) Successful in 26s
CI/CD Pipeline / Build and Push Images (push) Successful in 6s
CI/CD Pipeline / Internal Notify (push) Successful in 0s
CI/CD Pipeline / Deploy Dev in Dokploy (push) Successful in 1s

This commit is contained in:
2026-05-06 19:04:46 +02:00
parent f54aa4cb0b
commit 0f17ff6773
62 changed files with 10311 additions and 430 deletions

View File

@@ -46,6 +46,7 @@ INSTALLED_APPS = [
"drf_yasg",
# Local apps
"apps.core",
"organizations",
"user",
"apps.parsers",
"registers",
@@ -202,10 +203,14 @@ WSGI_APPLICATION = "core.wsgi.application"
# =============================================================================
ZAKUPKI_TOKEN = os.getenv("ZAKUPKI_TOKEN", "")
SUPERJOB_APP_ID = os.getenv("SUPERJOB_APP_ID", "").strip()
FNS_LOCK_TTL_SECONDS = 3600
PARSER_PROXIES = [
item.strip() for item in os.getenv("PARSER_PROXIES", "").split(",") if item.strip()
]
PARSER_USE_RUNTIME_PROXIES = (
os.getenv("PARSER_USE_RUNTIME_PROXIES", "false").strip().lower() == "true"
)
PROXY_TOOLS_API_KEY = os.getenv("PROXY_TOOLS_API_KEY", "").strip()
PROXY_TOOLS_API_URL = os.getenv(
"PROXY_TOOLS_API_URL", "https://proxy-tools.com/api/v1/proxies"

View File

@@ -92,3 +92,6 @@ REST_FRAMEWORK = {
"DEFAULT_THROTTLE_CLASSES": [],
"DEFAULT_THROTTLE_RATES": {},
}
# Dev-only: frontend/scripts can inspect the new v2 organizations API without JWT.
ORGANIZATIONS_V2_ALLOW_ANONYMOUS = True