API-Performance, Anfragebegrenzung, Logging, Suche, eindeutiges Panel

- API /gd/api/v1/folgen/: 5 statt 2.601 Abfragen (2,1 s -> 0,3 s),
  Ausgabe unverändert; Throttling 60/min pro IP für anonyme Nutzer
- IP-Erkennung nach gd/netz.py ausgelagert (Video-Meldung + API)
- Logging von Warnungen/Fehlern nach LOG_DIR/django.log (rotierend),
  in Tests stumm
- Suche: mindestens 2 Zeichen, 25 Fragen pro Seite mit Navigation
- FolgePanel: UniqueConstraint eine_person_pro_folge (Migration 0011),
  Prüfung im Intern-Formular, Panel-Auswahl bleibt nach Fehlern erhalten
- 12 neue Tests (51 insgesamt), README und Changelog aktualisiert

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
H4nSoloandClaude Opus 5.5 committed 2026-10-22 23:32:04 +02:00
1 parent 1091c90c1e
commit d4695f43b7
16 files changed
+389 -52

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@
<option value="">-- Gast --</option>
{% for t in teams %}
<option value="{{ t.id }}"
{% if is_edit %}
{% if current_panel %}
{% for pos, t_id in current_panel.items %}{% if pos == i|add:"0" and t_id == t.id %}selected{% endif %}{% endfor %}
{% else %}
{% if i == "1" and t.id == hella_id %}selected{% endif %}