From ac64468d3f7aee4823b54b9e1b0cf60e7d14024e Mon Sep 17 00:00:00 2001 From: zzacharo Date: Tue, 9 Dec 2025 11:51:58 +0100 Subject: [PATCH 1/3] requirements: bump counter-robots lib --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 97be8e26f..86b5072fc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,7 +25,7 @@ click-didyoumean==0.3.1 click-plugins==1.1.1 click-repl==0.3.0 commonmark==0.9.1 -counter-robots==2018.6 +counter-robots==2025.11 cryptography==44.0.0 datacite==1.2.0 dcxml==0.1.1 From 61e7519e54a2c40d2d07a0c2bdddc3e4a7d18bd9 Mon Sep 17 00:00:00 2001 From: zzacharo Date: Wed, 28 Jan 2026 12:13:22 +0100 Subject: [PATCH 2/3] fix(stats): remove double variable assignment --- cds/modules/stats/event_builders.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/cds/modules/stats/event_builders.py b/cds/modules/stats/event_builders.py index 9cd2bf6af..341d3c4d1 100644 --- a/cds/modules/stats/event_builders.py +++ b/cds/modules/stats/event_builders.py @@ -16,7 +16,6 @@ def file_download_event_builder(event, sender_app, obj=None, record=None, **kwargs): """Build a file-download event.""" - tags = obj.get_tags() # File information content_type = splitext(obj.key)[1][1:].lower() tags = obj.get_tags() @@ -56,7 +55,6 @@ def media_record_view_event_builder(event, sender_app, obj=None, record=None, ** This is the event tracking users clicking the play button on videos. """ - tags = obj.get_tags() # File information content_type = splitext(obj.key)[1][1:].lower() tags = obj.get_tags() From f7527642b320d25a54a2f1fecb910e8c5c4fcfe6 Mon Sep 17 00:00:00 2001 From: zzacharo Date: Wed, 28 Jan 2026 12:37:46 +0100 Subject: [PATCH 3/3] fix(keywords): escape double quotes on keyword name --- cds/modules/records/static/templates/cds_records/keywords.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cds/modules/records/static/templates/cds_records/keywords.html b/cds/modules/records/static/templates/cds_records/keywords.html index e5fdc8e75..784a589e0 100644 --- a/cds/modules/records/static/templates/cds_records/keywords.html +++ b/cds/modules/records/static/templates/cds_records/keywords.html @@ -6,7 +6,7 @@