From 334d209c0d45d9eaaebbf98486c9291c74f8030d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Apr 2024 20:47:09 +0000 Subject: [PATCH 1/3] Bump sphinx from 7.2.6 to 7.3.7 (#1182) Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 7.2.6 to 7.3.7. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.2.6...v7.3.7) --- updated-dependencies: - dependency-name: sphinx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements/requirements-docs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/requirements-docs.txt b/requirements/requirements-docs.txt index 53e39324e..5cc8f1f30 100644 --- a/requirements/requirements-docs.txt +++ b/requirements/requirements-docs.txt @@ -1,3 +1,3 @@ furo==2024.1.29 -Sphinx==7.2.6 +Sphinx==7.3.7 sphinx-autobuild==2024.4.16 From bf14b723c896d22051b0275108ec68d2e83fa824 Mon Sep 17 00:00:00 2001 From: wood ape Date: Tue, 23 Apr 2024 14:54:58 -0700 Subject: [PATCH 2/3] Change jquery CDN to cdnjs.cloudflare.com Works around the issues HTTP/2 issues with code.jquery.com using TLS, while still using TLS. --- src/ims/application/_external.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ims/application/_external.py b/src/ims/application/_external.py index 7b737815c..5f6df96da 100644 --- a/src/ims/application/_external.py +++ b/src/ims/application/_external.py @@ -698,11 +698,11 @@ class ExternalApplication: ) jqueryJSSourceURL = URL.fromText( - f"http://code.jquery.com/{jqueryVersion}.min.js" + f"https://cdnjs.cloudflare.com/ajax/libs/jquery/{jqueryVersionNumber}/jquery.min.js" ) jqueryMapSourceURL = URL.fromText( - f"http://code.jquery.com/{jqueryVersion}.min.map" + f"https://cdnjs.cloudflare.com/ajax/libs/jquery/{jqueryVersionNumber}/jquery.min.map" ) dataTablesSourceURL = URL.fromText( From 774610eb26cd1a67bea73e976c70dcc68b0d6611 Mon Sep 17 00:00:00 2001 From: wood ape Date: Tue, 23 Apr 2024 15:17:35 -0700 Subject: [PATCH 3/3] Break jquery URLs to avoid linter error --- src/ims/application/_external.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ims/application/_external.py b/src/ims/application/_external.py index 5f6df96da..6368fc014 100644 --- a/src/ims/application/_external.py +++ b/src/ims/application/_external.py @@ -698,11 +698,13 @@ class ExternalApplication: ) jqueryJSSourceURL = URL.fromText( - f"https://cdnjs.cloudflare.com/ajax/libs/jquery/{jqueryVersionNumber}/jquery.min.js" + f"https://cdnjs.cloudflare.com/ajax/libs/jquery/" + f"{jqueryVersionNumber}/jquery.min.js" ) jqueryMapSourceURL = URL.fromText( - f"https://cdnjs.cloudflare.com/ajax/libs/jquery/{jqueryVersionNumber}/jquery.min.map" + f"https://cdnjs.cloudflare.com/ajax/libs/jquery/" + f"{jqueryVersionNumber}/jquery.min.map" ) dataTablesSourceURL = URL.fromText(