karrio-server 2025.5rc12__py3-none-any.whl → 2025.5rc14__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
karrio/server/VERSION CHANGED
@@ -1 +1 @@
1
- 2025.5rc12
1
+ 2025.5rc14
@@ -29,7 +29,7 @@ with open(BASE_DIR / "server" / "VERSION", "r") as v:
29
29
 
30
30
  config = decouple.AutoConfig(search_path=Path().resolve())
31
31
 
32
- if not config('SECRET_KEY', default=None):
32
+ if not config("SECRET_KEY", default=None):
33
33
  try:
34
34
  print("> fallback .env.sample...")
35
35
  config = decouple.Config(decouple.RepositoryEnv(".env.sample"))
@@ -163,7 +163,7 @@ ALLOW_MULTI_ACCOUNT = config(
163
163
  )
164
164
  ADMIN_DASHBOARD = importlib.util.find_spec( # type:ignore
165
165
  "karrio.server.admin"
166
- ) is not None and config("ADMIN_DASHBOARD", default=False, cast=bool)
166
+ ) is not None and config("ADMIN_DASHBOARD", default=True, cast=bool)
167
167
  ORDERS_MANAGEMENT = (
168
168
  importlib.util.find_spec("karrio.server.orders") is not None # type:ignore
169
169
  )
@@ -480,7 +480,7 @@ OAUTH2_PROVIDER = {
480
480
  "OIDC_ENABLED": True,
481
481
  "OIDC_RSA_PRIVATE_KEY": OIDC_RSA_PRIVATE_KEY,
482
482
  "AUTHORIZATION_CODE_EXPIRE_SECONDS": 600, # 10 minutes
483
- "ACCESS_TOKEN_EXPIRE_SECONDS": 3600, # 1 hour
483
+ "ACCESS_TOKEN_EXPIRE_SECONDS": 3600, # 1 hour
484
484
  "REFRESH_TOKEN_EXPIRE_SECONDS": 3600 * 24 * 365, # 1 year
485
485
  "ROTATE_REFRESH_TOKEN": True,
486
486
  "SCOPES": {
@@ -593,10 +593,10 @@ LOGGING = {
593
593
  },
594
594
  },
595
595
  "loggers": {
596
- 'oauth2_provider': {
597
- 'level': 'DEBUG',
598
- 'handlers': ['console'],
599
- 'propagate': True,
596
+ "oauth2_provider": {
597
+ "level": "DEBUG",
598
+ "handlers": ["console"],
599
+ "propagate": True,
600
600
  },
601
601
  "django": {
602
602
  "handlers": ["file", "console"],