chore: auto-merge develop → main

Triggered by: 3a9f0cc fix: bump asset versions to force cache bust; price rate limit own bucket
This commit is contained in:
github-actions[bot]
2026-05-07 17:35:50 +00:00
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -115,11 +115,17 @@ function checkRateLimit(string $action): void {
$loginActions = [];
$recipeActions = ['generate_recipe', 'generate_recipe_stream'];
$errorActions = ['report_error', 'check_update'];
$priceActions = ['get_shopping_price', 'get_all_shopping_prices'];
if (in_array($action, $aiActions)) {
$limit = 15;
$window = 60;
$bucket = 'ai';
} elseif (in_array($action, $priceActions)) {
// Price lookups: up to 30 items × a few retries per minute, shared bucket
$limit = 60;
$window = 60;
$bucket = 'price';
} elseif (in_array($action, $recipeActions)) {
$limit = 5;
$window = 60;
+2 -2
View File
@@ -11,7 +11,7 @@
<title>EverShelf</title>
<link rel="manifest" href="manifest.json">
<link rel="icon" type="image/png" href="assets/img/logo/logo_icon.png">
<link rel="stylesheet" href="assets/css/style.css?v=20260506e">
<link rel="stylesheet" href="assets/css/style.css?v=20260507a">
<!-- QuaggaJS for barcode scanning -->
<script src="https://cdn.jsdelivr.net/npm/@ericblade/quagga2@1.8.4/dist/quagga.min.js"></script>
<!-- @xenova/transformers: ES-module bootstrap that exposes a lazy category-classifier as window._categoryPipelinePromise -->
@@ -1461,6 +1461,6 @@
</div>
</div>
<script src="assets/js/app.js?v=20260505a"></script>
<script src="assets/js/app.js?v=20260507a"></script>
</body>
</html>