|
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
Każdy e-mail powiadomieniowy ma teraz:
(1) link w stopce "Wyłącz ten typ powiadomień jednym kliknięciem"
(2) nagłówki List-Unsubscribe + List-Unsubscribe-Post dla klientów
pocztowych (Gmail/Apple Mail pokażą natywny przycisk Unsubscribe)
Implementacja:
- utils/unsubscribe_tokens.py: signed token (itsdangerous, SECRET_KEY)
niosący user_id + notification_type, bez wygasania
- blueprints/unsubscribe: GET /unsubscribe?t=TOKEN → strona potwierdzenia,
POST /unsubscribe → faktyczne wyłączenie flagi notify_email_<type>
- email_service.send_email() dostał parametr notification_type. Jeśli
przekazany razem z user_id, footer + headery są doklejane
- Aktualizowane wywołania: message_notification (messages),
classified_question/answer (B2B Q&A), classified_expiry (skrypt cron)
Prefetch safety: GET pokazuje stronę z przyciskiem "Tak, wyłącz",
wyłączenie następuje po POST. RFC 8058 One-Click (POST bez formularza
z Content-Type application/x-www-form-urlencoded + body
"List-Unsubscribe=One-Click") obsługuje klientów pocztowych.
D.2/D.3 dorzucą kolejne notification_type (forum, broadcast, events).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| admin | ||
| announcements | ||
| auth | ||
| benefits | ||
| board | ||
| calendar | ||
| classifieds | ||
| company | ||
| contacts | ||
| education | ||
| errors | ||
| forum | ||
| konto | ||
| membership | ||
| messages | ||
| partials | ||
| pej | ||
| reports | ||
| settings | ||
| zopk | ||
| admin_seo_dashboard.html | ||
| base.html | ||
| base.html.bak.20251229_142208 | ||
| base.html.bak.20260101_161750 | ||
| chamber_authorities.html | ||
| chat_members_only.html | ||
| chat.html | ||
| CLAUDE.md | ||
| company_detail_enhanced.html | ||
| company_detail_safe.html | ||
| company_detail.html | ||
| company_detail.html.bak.20251229_142208 | ||
| company_edit.html | ||
| connections_map.html | ||
| connections_modal.html | ||
| dashboard.html | ||
| events.html | ||
| gbp_audit.html | ||
| index.html | ||
| it_audit_form.html | ||
| it_audit.html | ||
| landing.html | ||
| new_members.html | ||
| person_detail.html | ||
| polityka_prywatnosci.html | ||
| pwa_install.html | ||
| regulamin.html | ||
| release_notes.html | ||
| search_results.html | ||
| seo_audit.html | ||
| social_audit.html | ||
| unsubscribe.html | ||
| user_profile.html | ||