nordabiz/templates/classifieds
Maciej Pienczyn 6c248b4773
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
fix(classifieds,admin): blokada duplikatów przez double/triple-click
B2B ogłoszenia mogły zostać stworzone 3x (user 81 Bormax 14.04.2026
w ciągu 2 sekund) — brak dedup window server-side i disable submit
button. Rozszerzam zabezpieczenie także na announcements i board
meeting form.

- classifieds POST /nowe: odrzuć duplikat z ostatnich 60s (ten sam
  author+company+title) → redirect do istniejącego z flash info
- classifieds new.html: disable submitBtn + "Wysyłanie..." po
  walidacji; ponowne kliknięcie blokowane event.preventDefault
- announcements_form.html + board/meeting_form.html: jednolity
  handler disable wszystkich button[type="submit"] po pierwszym
  submit

Forum topic/reply już miały analogiczne zabezpieczenie (bez zmian).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 16:35:14 +02:00
..
CLAUDE.md claude-mem plugin v10.3.3 2026-02-23 10:33:26 +01:00
edit.html feat(classifieds): green ✓ on filled required fields, drop full-form red 2026-04-14 13:47:27 +02:00
index.html feat: Quill rich text editor in B2B classifieds + expiry email notifier 2026-04-10 10:53:54 +02:00
new.html fix(classifieds,admin): blokada duplikatów przez double/triple-click 2026-04-14 16:35:14 +02:00
view.html feat: Quill rich text editor in B2B classifieds + expiry email notifier 2026-04-10 10:53:54 +02:00