Commit Graph

722 Commits

Author SHA1 Message Date
69c0d7fc72 style: Ładny modal potwierdzenia w release notes
- Modal z ikoną dzwoneczka zamiast natywnego confirm()
- Toast zamiast alert() dla wyników
- Informacja o działaniu powiadomień

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 20:39:07 +01:00
85cb5f14e0 docs: Release notes v1.21.0 - zmiany z 30 stycznia 2026
- Moje konto: nowa sekcja ustawień
- Forum/B2B: panel moderacji dla admina
- Reset hasła: auto-weryfikacja emaila
- UX: ikonka oka, ładne modale

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 20:36:24 +01:00
4ac2fd93e4 fix: Usunięto placeholder video "Jak korzystać z NordaGPT" z Akademii
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 20:35:01 +01:00
e6acc2ec6f feat: Dodano moderację tablicy B2B dla administratora
- Przycisk usuwania ogłoszenia z potwierdzeniem
- Przycisk aktywacji/dezaktywacji ogłoszenia
- Endpointy: /delete, /toggle-active
- Badge "Nieaktywne" dla dezaktywowanych ogłoszeń

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 20:31:37 +01:00
8bcb339bff style: Ładny modal potwierdzenia zamiast natywnego confirm()
- Niestandardowy modal z ikoną i animacją
- Przycisk Anuluj i Usuń
- Zamykanie przez klik na overlay lub Escape

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 20:27:49 +01:00
07358199ea feat: Dodano przyciski administracyjne do forum (usuń, przypnij, zablokuj)
- Przycisk usuwania wątku z potwierdzeniem
- Przycisk usuwania odpowiedzi
- Przyciski przypinania/odpinania wątku
- Przyciski blokowania/odblokowywania wątku
- Widoczne tylko dla administratorów

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 20:24:27 +01:00
1cd37339a9 fix: Poprawiono nazwę "Norda Biznes Partner" na stronie rejestracji
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 20:01:37 +01:00
1c5b2e705e feat: Dodano toggle widoczności hasła (ikonka 👁️) do formularzy
- login.html: toggle dla pola hasła
- register.html: toggle dla pól hasło i potwierdzenie
- reset_password.html: toggle dla pól hasło i potwierdzenie

Feedback: "Brak podglądu hasła"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 19:59:56 +01:00
9e37d9de57 fix: Use correct endpoint company_detail_by_slug in konto/dane.html
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 19:54:19 +01:00
412745c875 feat: Add unified "Moje konto" (My Account) section
New user account management section with:
- /konto - Edit personal data (name, phone)
- /konto/prywatnosc - Privacy settings
- /konto/bezpieczenstwo - Security settings (2FA, password)
- /konto/blokady - User blocks management

Features:
- Consistent sidebar navigation across all pages
- Responsive layout (mobile-friendly)
- Polish UI with clear section names

Replaces scattered /settings/* routes with unified /konto/* structure.
Menu link updated from "Ustawienia" to "Moje konto".

Fixes user feedback issue #6: "Brak edycji profilu"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 19:52:00 +01:00
7c6379c815 fix: Auto-verify email on password reset
When user resets password, they've proven inbox access by clicking
the reset link. This change auto-verifies their email address,
eliminating the need to separately verify email after reset.

Fixes user feedback issue #2: "Reset hasła nie weryfikuje emaila"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 19:41:05 +01:00
3b55e14e67 fix: Poprawiona składnia rate limiter (semicolon zamiast przecinka)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 19:25:24 +01:00
c5b7930cef fix: Zwiększone limity rate limiting dla lepszego UX
Poprzednie limity (5/h) blokowały użytkowników po kilku próbach.
Nowe limity:
- Default: 1000/dzień, 200/h (było 200/dzień, 50/h)
- /register: 50/h + 200/dzień (było 5/h)
- /login: 60/min + 500/h (było 30/min)
- /forgot-password: 20/h (było 5/h)
- /reset-password: 30/h (było 10/h)
- /resend-verification: 15/h (było 5/h)

Feedback od: Łukasz Gilewicz, Arturo, Jarek BIS

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 19:22:54 +01:00
4c728778c6 fix: Naprawiono brak duration_seconds w sesjach użytkowników
Problem: get_or_create_analytics_session() aktualizowało last_activity_at
ale nie duration_seconds, co powodowało że czas sesji zawsze wynosił 0 min.

Rozwiązanie: Dodano obliczanie duration_seconds przy każdym page view.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 16:00:16 +01:00
0055857df4 feat: Rozbudowa systemu analityki użytkowników
Nowe funkcjonalności:
- GeoIP enrichment (kraj, miasto, region)
- UTM parameters tracking (source, medium, campaign, term, content)
- Bounce rate calculation
- Search queries logging
- Conversion tracking (register, login, contact_click, rsvp)
- Scroll depth tracking (25%, 50%, 75%, 100%)
- JS error tracking (window.onerror)
- Performance metrics (Web Vitals)
- CSV export (sessions, pageviews, searches, conversions)

Nowe tabele SQL:
- search_queries
- conversion_events
- js_errors
- popular_searches_daily
- hourly_activity

Dashboard rozszerzony o nowe sekcje i metryki.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 15:52:18 +01:00
64583b6ec4 style: Karty firm i tagi zgodne ze źródłem (Sprint 6)
Zmiany:
- Karty firm: border-radius 8px → 0 (ostre rogi)
- Karty firm: border #e0e4eb → #E4E4E4
- Tagi kategorii: niebieski bg → szary (#EDF0F5)
- Tagi kategorii: biały tekst → ciemny (#464646)
- Text primary: #1e293b → #303030
- Text secondary: #64748b → #464646

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:57:56 +01:00
ede9d0957b feat: Landing page - nowy gradient i animacje (Sprint 5)
Zmiany:
- Hero gradient: #1e40af/#2563eb → #1e3050/#2E4872/#4a6999
- Accent color w tekście: #2563eb → #2E4872
- Animacje: hero fadeIn, stats fadeInUp, CTA fadeInUp

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:49:26 +01:00
6e1c46e13c feat: Animacje scroll z IntersectionObserver (Sprint 4)
Dodano system animacji fadeIn przy scrollowaniu:
- CSS keyframes: fadeIn, fadeInLeft, fadeInRight, fadeInUp, scaleIn
- IntersectionObserver w static/js/scroll-animations.js
- Event banner: data-animate="fadeIn"
- Chat banner: data-animate="fadeIn"
- Company cards: data-animate="fadeInUp" z delay stagger
- Search section: data-animate="fadeIn"
- Wsparcie dla prefers-reduced-motion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:43:30 +01:00
b680e3f61c style: Sprint 3 - Chat page + Fluent CSS niebieski primary
Zmiany graficzne:
- chat.html: wszystkie #7c3aed → #2E4872
- chat.html: wszystkie #5b21b6 → #1e3050
- fluent-nordabiz.css: zmienne Fluent na NordaBiz blue
- Sidebar, header, avatary, input focus, send button - niebieski

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:21:19 +01:00
1da42f25ad style: Sprint 2 - Event/Chat banners blue, company cards border
Zmiany graficzne (kontynuacja planu norda-biznes.info):
- Event banner: #f59e0b → #2E4872 (niebieski primary)
- NordaGPT banner: #7c3aed → #2E4872 (niebieski primary)
- Karty firm: usunięcie box-shadow, dodanie border 1px
- Karty firm hover: border-color primary zamiast translateY
- Tagi kategorii: uppercase, biały na primary, letter-spacing
- Przyciski w bannerach: asymetryczny border-radius

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:19:57 +01:00
de46e12b7c style: Sprint 1 - Poppins font, #2E4872 colors, asymmetric buttons
Zmiany graficzne wg planu norda-biznes.info:
- Czcionka: Inter → Poppins
- Primary color: #2563eb → #2E4872
- Background: #f8fafc → #EDF0F5
- Border-radius przycisków: 8px → 12px 4px (asymetryczny)
- Header: usunięcie border-bottom, subtelniejszy cień
- Footer: #1e293b → #2E4872, padding 60px/30px

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:17:27 +01:00
d9f32b7235 docs: Dodanie powiadomień email do release notes v1.20.0
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 16:12:11 +01:00
7b0b41bac1 feat: Powiadomienie email o nowej rejestracji użytkownika
- Dodano send_registration_notification() analogicznie do send_error_notification()
- Mail wysyłany na ERROR_NOTIFY_EMAIL przy każdej nowej rejestracji
- Zawiera: imię, email, NIP, nazwa firmy, status członkostwa NORDA
- Link do panelu /admin/users

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:53:29 +01:00
228907ca90 security: Blokada odpowiedzi AI na pytania o PESEL i dane wrażliwe
- Dodano sekcję DANE WRAŻLIWE do system prompt
- AI odmówi odpowiedzi na pytania o PESEL, dowody, paszporty, karty
- Instrukcja: 'Przepraszam, nie mogę podawać informacji o numerach PESEL'
- Zapobiega halucynacjom AI łączącym zamaskowane dane z osobami z bazy

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:45:27 +01:00
e92b237fa4 docs: Reorganizacja release notes - sortowanie i wytłuszczanie
- Wszystkie release notes od v1.0.0 do v1.20.0 posortowane od najważniejszych
- Mega ważne funkcje wytłuszczone <strong>
- Dodano sekcję security w szablonie
- Stworzono przewodnik RELEASE_NOTES_GUIDE.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:36:11 +01:00
74995f9b3e docs: Aktualizacja notatek o PWA, Gemini 3 i dwa modele AI
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:31:36 +01:00
615665c4a1 docs: Dodanie PWA i dwóch modeli AI do release notes v1.20.0
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:30:17 +01:00
411fd0f0fb docs: Dodanie upgrade Gemini 3 do release notes v1.20.0
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:29:18 +01:00
aa026eecfc docs: Historia zmian v1.20.0 (29 stycznia 2026)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:27:53 +01:00
13dd85142f docs: Notatki z prac 2026-01-29
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:26:56 +01:00
25702a808a fix: Użycie operatora @> dla PostgreSQL ARRAY contains
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:23:27 +01:00
624941114a fix: Poprawka składni SQLAlchemy dla ARRAY contains
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:21:27 +01:00
0db3cbc754 feat(announcements): Obsługa wielu kategorii dla ogłoszeń
- Zmiana formularza z select na checkboxy (wiele kategorii)
- Aktualizacja filtrowania: PostgreSQL ANY() dla tablicy categories
- Zachowanie kompatybilności wstecznej (pole category)
- Aktualizacja szablonów list.html i detail.html dla wielu badge'ów

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:19:51 +01:00
f5050b92cc feat(announcements): Obsługa wielu kategorii dla aktualności
- Dodanie kolumny categories (ARRAY) do tabeli announcements
- Nowe metody: categories_labels, has_category()
- Migracja 029: dodanie kolumny i mapowanie danych
- Zachowanie kompatybilności wstecznej z polem category

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:14:15 +01:00
53e6d14bdd fix(footer): Usunięcie linku 'Nowi członkowie' ze stopki
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:11:42 +01:00
dbf55d02cb feat(announcements): Reorganizacja kategorii aktualności
- Zmiana 'general'/'member_news' na 'internal'/'external'
- Kategorie: Wewnętrzne, Zewnętrzne, Wydarzenie, Okazja biznesowa, Partnerstwo
- Polskie znaki w tytułach i meta description
- "Aktualności Norda Biznes Partner"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:10:39 +01:00
1eb1d26772 fix(ui): Zmiana etykiety 'Od członka' na 'Od firm'
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 15:05:00 +01:00
52abe33dd1 feat(education): Integracja wideo z Platformą Edukacyjną
- Dodano 2 filmy: zajawka 30s i tutorial 2min
- Modal z odtwarzaczem wideo (klik na kartę)
- Badge "Nowe" dla dostępnych materiałów
- Podgląd pierwszej klatki wideo
- Obsługa klawisza Escape do zamknięcia

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 14:53:15 +01:00
80c8fd6e0e fix(ui): Zamiana starej ikony robota na nową ikonę NordaGPT
- Banner NordaGPT na stronie głównej: 🤖 → nordagpt-icon.svg
- Modal NordaGPT: 🤖 → nordagpt-icon.svg

Spójność wizualna z /chat

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 14:49:28 +01:00
a06cd335d8 fix(blueprints): Poprawka url_for w blueprintach - dodanie prefixu
- classifieds/routes.py: .classifieds_index
- calendar/routes.py: .calendar_index
- contacts/routes.py: .contacts_list, .contact_detail

Błąd powodował 500 przy dodawaniu ogłoszeń B2B.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 14:42:59 +01:00
bc58d31c4d fix: Aktualizacja pozostałych odniesień do Gemini 3
- zopk_knowledge_service.py: model dla kategoryzacji milestone'ów
- database.py: przykłady modeli w komentarzach kolumn

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 14:21:00 +01:00
23493f0b61 docs: Aktualizacja dokumentacji do Gemini 3 Flash
Zmiana domyślnego modelu w dokumentacji i kodzie:
- gemini-2.5-flash → gemini-3-flash-preview
- gemini-2.5-pro → gemini-3-pro-preview

Zaktualizowane pliki:
- README.md - opis technologii
- docs/architecture/*.md - diagramy i przepływy
- nordabiz_chat.py - fallback model name
- zopk_news_service.py - model dla AI evaluation
- templates/admin/zopk_dashboard.html - wyświetlany model

Zachowano mapowania legacy modeli dla kompatybilności wstecznej.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 14:19:05 +01:00
2e67c233f7 fix: Ostatnie odniesienie "Hub" → "Partner" w skrypcie Zabbix
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 14:12:58 +01:00
ff930f8724 fix: Pozostałe odniesienia "Biznes Hub" → "Biznes Partner"
- docs/architecture/01-system-context.md: diagram Mermaid
- docs/zabbix_setup.md: konfiguracja monitoringu

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 14:12:00 +01:00
cebe52f303 refactor: Rebranding i aktualizacja modelu AI
- Zmiana nazwy: "Norda Biznes Hub" → "Norda Biznes Partner"
- Aktualizacja modelu AI: Gemini 2.0 Flash → Gemini 3 Flash
- Zachowano historyczne odniesienia w timeline i dokumentacji

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 14:08:39 +01:00
fdf75ce152 fix(chat): Always start with Flash model (ignore saved preference)
- Flash is free and fast - best default for users
- Prevents accidental Pro usage and costs
- Users can still switch to Pro manually if needed

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 12:08:06 +01:00
1cee516950 feat(chat): Update NordaGPT icon - smiling green robot (R4-A)
- Modern robot design with visor
- INPI green colors (#22c55e → #14b8a6 gradient)
- Glowing eyes effect
- Friendly smile
- Yellow antenna (north indicator)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 12:05:18 +01:00
bd78ba0688 feat(chat): New NordaGPT icon and updated example questions
- Created nordagpt-icon.svg combining Norda compass + INPI circuit motif
- Navy blue background with green AI chip center
- Yellow north indicator (Norda brand color)
- Updated header icon from robot emoji to new SVG
- Updated empty state icon
- Changed example questions to be more relevant:
  - 'Szukam partnera do projektu budowlanego'
  - 'Kto w Izbie zajmuje się marketingiem?'
  - 'Poleć firmę z dobrymi opiniami Google'
  - 'Co nowego na forum?'

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 11:54:14 +01:00
37b6aa33d8 docs(chat): Update model info panel with Flash/Pro details and pricing
- Show both models (Flash free, Pro premium) with visual distinction
- Add pricing section with costs and limits
- Update history timeline with today's changes
- Update benefits section with current features

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 11:46:37 +01:00
ca166cf02d fix(chat): Parse techInfo values as numbers to fix toFixed() error
- costUsd was a string, causing 'toFixed is not a function' error
- Added parseFloat() for cost and parseInt() for latency

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 11:33:59 +01:00