v0.6.0: Sobors.hu parser, HTTP auth, recipe validation, UI polish

- New sobors.hu parser with ingredient groups and section headers
- Incomplete recipe warnings (missing ingredients/instructions)
- Optional HTTP Basic Auth (configurable on settings page)
- Brand text: "Recept" in white, "Importáló" in blue
- Larger logo (36px), favicon using logo_notext.svg

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-24 18:07:05 +01:00
parent 76290770f4
commit a0bcb62588
7 changed files with 237 additions and 12 deletions
+26
View File
@@ -90,6 +90,32 @@
</div>
</div>
<div class="card">
<h2>Hozzáférés-védelem</h2>
<p class="text-dim mb-2" style="font-size:0.85rem;">
HTTP Basic Auth bekapcsolásával jelszóval védheted az alkalmazást.
Hagyd üresen a kikapcsoláshoz.
</p>
<label for="auth_username">Felhasználónév</label>
<input type="text" id="auth_username" name="auth_username"
value="{{ cfg.auth_username or '' }}"
placeholder="admin" autocomplete="username">
<label for="auth_password">Jelszó</label>
<input type="password" id="auth_password" name="auth_password"
value="" placeholder="{% if cfg.auth_password_hash %}(nem változott){% else %}Jelszó megadása{% endif %}"
autocomplete="new-password">
<p class="text-dim mb-2" style="font-size:0.85rem;">
{% if cfg.auth_password_hash %}
A védelem aktív. Új jelszó megadásával frissítheted, üresen hagyva marad a jelenlegi.
A felhasználónév törlésével kikapcsolhatod a védelmet.
{% else %}
Jelenleg nincs védelem beállítva.
{% endif %}
</p>
</div>
<div class="card">
<button type="submit" class="btn btn-primary">Mentés</button>
</div>