From d520e3aff68ed922b218fe2303d6fe73d21db539 Mon Sep 17 00:00:00 2001 From: Quan Pham Date: Wed, 5 Nov 2025 13:27:22 -0500 Subject: [PATCH] Bump coldfront to 1.1.7 --- patches/01_add_api_urls.patch | 13 ++++++++----- requirements.txt | 2 +- setup.cfg | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/patches/01_add_api_urls.patch b/patches/01_add_api_urls.patch index a0949b4..20f6b0f 100644 --- a/patches/01_add_api_urls.patch +++ b/patches/01_add_api_urls.patch @@ -1,11 +1,14 @@ diff --git a/coldfront/config/urls.py b/coldfront/config/urls.py -index 353e360..220378a 100644 +index 78d9589..f1cd16a 100644 --- a/coldfront/config/urls.py +++ b/coldfront/config/urls.py -@@ -36,3 +36,6 @@ if 'mozilla_django_oidc' in settings.INSTALLED_APPS: +@@ -52,6 +52,9 @@ if "mozilla_django_oidc" in settings.INSTALLED_APPS: + if "django_su.backends.SuBackend" in settings.AUTHENTICATION_BACKENDS: + urlpatterns.append(path("su/", include("django_su.urls"))) - if 'django_su.backends.SuBackend' in settings.AUTHENTICATION_BACKENDS: - urlpatterns.append(path('su/', include('django_su.urls'))) -+ +if 'coldfront_plugin_api' in settings.INSTALLED_APPS: + urlpatterns.append(path('api/', include('coldfront_plugin_api.urls'))) ++ + + def export_as_json(modeladmin, request, queryset): + response = HttpResponse(content_type="application/json") diff --git a/requirements.txt b/requirements.txt index c2c07e0..5a0ea51 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -coldfront==1.1.6 +coldfront==1.1.7 djangorestframework mozilla-django-oidc django-scim2 >=0.19.0, <0.20.0 diff --git a/setup.cfg b/setup.cfg index 7b8ad08..838c4f1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,7 +20,7 @@ package_dir = packages = find: python_requires = >=3.8 install_requires = - coldfront==1.1.6 + coldfront==1.1.7 djangorestframework mozilla-django-oidc django-scim2 >=0.19.0, <0.20.0