nordabiz/utils
Maciej Pienczyn cca52301a6
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: filter bots from analytics, use audit_logs for failed logins, logarithmic engagement score
- Add is_bot column to user_sessions with backfill from user_agent patterns
- Update analytics_daily trigger to skip bot sessions
- Recalculate 90 days of analytics_daily without bot contamination
- Replace cumulative failed_login_attempts with time-based audit_logs queries
- Switch engagement score from linear (capped at 100) to log2 scale
- Expand section_map from 9 to 17 categories (~95% traffic coverage)
- Exclude robots.txt, sitemap.xml etc from page view tracking
- Add bot filter to all overview, pages, paths, and engagement queries

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 08:14:50 +01:00
..
__init__.py feat(notifications): Add notifications for releases and announcements 2026-01-27 14:22:44 +01:00
analytics.py fix: filter bots from analytics, use audit_logs for failed logins, logarithmic engagement score 2026-02-22 08:14:50 +01:00
context_processors.py refactor(phase1): Extract blueprints for reports, contacts, classifieds, calendar 2026-01-27 10:10:45 +01:00
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 feat(security): Restrict audit access to single designated user 2026-02-09 12:31:10 +01:00
error_handlers.py refactor(phase1): Extract blueprints for reports, contacts, classifieds, calendar 2026-01-27 10:10:45 +01:00
helpers.py fix(security): Resolve 1 HIGH and 7 MEDIUM vulnerabilities from code review 2026-02-06 05:25:18 +01:00
markdown.py feat: Add forum search, markdown, user stats, and admin bulk actions 2026-01-31 19:11:29 +01:00
middleware.py fix: filter bots from analytics, use audit_logs for failed logins, logarithmic engagement score 2026-02-22 08:14:50 +01:00
notifications.py improve: unified v3 email design across all templates 2026-02-21 18:14:45 +01:00
onboarding.py feat(dashboard): Add onboarding progress widget 2026-02-13 15:50:25 +01:00
permissions.py feat: Add hierarchical role system with delegated permissions 2026-02-01 06:42:39 +01:00