From d39e0fb09d5a88730aae64a9f3b2e0425120f5f8 Mon Sep 17 00:00:00 2001 From: mlissner Date: Mon, 23 Dec 2024 10:56:40 -0800 Subject: [PATCH 1/4] feat(api): Block users --- cl/settings/third_party/rest_framework.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cl/settings/third_party/rest_framework.py b/cl/settings/third_party/rest_framework.py index 8f382a9d00..b8dc60f4d8 100644 --- a/cl/settings/third_party/rest_framework.py +++ b/cl/settings/third_party/rest_framework.py @@ -29,6 +29,8 @@ "OVERRIDE_THROTTLE_RATES": { # Throttling down. # Multiple accounts + "api_1": "1/hour", + "api_2": "1/hour", "api_account_1": "1/hour", "api_account_2": "1/hour", "api_account_3": "1/hour", From 412a7616c9af7d7819e38015b27077adcaa34495 Mon Sep 17 00:00:00 2001 From: Elisa Anguita Date: Mon, 23 Dec 2024 20:02:14 -0300 Subject: [PATCH 2/4] feat(authorities): add link to search for entries citing an authority --- cl/opinion_page/templates/includes/authorities_list.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cl/opinion_page/templates/includes/authorities_list.html b/cl/opinion_page/templates/includes/authorities_list.html index 279cd34df2..ed9fa3a942 100644 --- a/cl/opinion_page/templates/includes/authorities_list.html +++ b/cl/opinion_page/templates/includes/authorities_list.html @@ -3,7 +3,14 @@