nordabiz/utils
Maciej Pienczyn 958b967df2
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
feat(forum): beautify Google Maps URLs + fix edit/quote raw content
Google Maps URLs can be 800+ chars of tracking data that poisoned the
forum UI. Extract the place name from /maps/place/NAME/ (or fall back
to coordinates) and render as '📍 Name'. Full URL remains in the href.

Two secondary fixes:

- Edit/quote modals were reading .innerText of the rendered reply,
  which baked the current render (including any stale/broken HTML from
  older bad renders) back into the textarea. Switched to emitting the
  raw DB content via {{ content|tojson }} so what you edit is what you
  wrote.

- @mention regex was matching '@54.1234' inside Maps URLs and similar.
  Tightened to require a letter start and non-slash/non-word lookbehind
  so coords and email-style strings pass through untouched.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 14:38:59 +02:00
..
__init__.py feat(notifications): Add notifications for releases and announcements 2026-01-27 14:22:44 +01:00
analytics.py debug: add middleware-level mobile cookie logging 2026-03-18 11:05:04 +01:00
CLAUDE.md claude-mem plugin v10.3.3 2026-02-23 10:33:26 +01:00
context_processors.py
data_quality.py feat: enhance data quality dashboard with filters, hints, weighted scores and contact scraping 2026-02-21 07:25:39 +01:00
decorators.py fix(audit): allow company MANAGER to view own audit dashboards 2026-03-19 17:24:36 +01:00
error_handlers.py
helpers.py fix(messages): allow data: protocol in bleach for base64 images + img width/height/style attrs 2026-03-30 16:18:11 +02:00
history_formatter.py feat: format founding_history into structured HTML sections 2026-03-16 22:45:28 +01:00
markdown.py feat(forum): beautify Google Maps URLs + fix edit/quote raw content 2026-04-14 14:38:59 +02:00
middleware.py debug: add middleware-level mobile cookie logging 2026-03-18 11:05:04 +01:00
notifications.py fix(emails): solid background fallback for CTA buttons (Outlook fix) 2026-04-14 14:04:38 +02:00
onboarding.py fix(onboarding): fix 404 on 'Uzupełnij' links in dashboard progress widget 2026-04-08 14:21:08 +02:00
permissions.py feat: Add hierarchical role system with delegated permissions 2026-02-01 06:42:39 +01:00