From fd50f01631f38f293e0b2f69f65d1160808d70eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taavi=20V=C3=A4=C3=A4n=C3=A4nen?= Date: Thu, 4 Dec 2025 23:39:07 +0200 Subject: [PATCH 1/2] api: Fix resetting a query title When removing a query title, make sure it's represented as null in the database, and not as an empty string. Otherwise it'll be impossible to click in the various lists and otherwise break stuff. Change-Id: I8f4d22d99e9a692105c23a9ad40214eb52923a61 --- quarry/web/api.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/quarry/web/api.py b/quarry/web/api.py index d5425ad..0c9c061 100644 --- a/quarry/web/api.py +++ b/quarry/web/api.py @@ -74,7 +74,10 @@ def api_set_meta() -> Tuple[Union[str, Response], int]: return "Authorization denied", 403 if "title" in request.form: - query.title = request.form["title"] + title = request.form["title"] + if not title.strip(): + title = None + query.title = title if "published" in request.form: query.published = request.form["published"] == "1" if "description" in request.form: From b7e3b7651fbb5e6bd60ff2c03e7c8cd14dc9bc93 Mon Sep 17 00:00:00 2001 From: Github Action Date: Thu, 4 Dec 2025 21:41:37 +0000 Subject: [PATCH 2/2] auto update of tag --- helm-quarry/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm-quarry/values.yaml b/helm-quarry/values.yaml index 76bfa3c..3cbae97 100644 --- a/helm-quarry/values.yaml +++ b/helm-quarry/values.yaml @@ -1,6 +1,6 @@ web: repository: 'quay.io/wikimedia-quarry/quarry' - tag: pr-95 # web tag managed by github actions + tag: pr-96 # web tag managed by github actions resources: requests: memory: "300Mi" @@ -11,7 +11,7 @@ web: worker: repository: 'quay.io/wikimedia-quarry/quarry' - tag: pr-95 # worker tag managed by github actions + tag: pr-96 # worker tag managed by github actions resources: requests: memory: "400Mi"