Commit Graph

16 Commits

Author SHA1 Message Date
66856a697d refactor(phase1): Extract blueprints for reports, contacts, classifieds, calendar
Phase 1 of app.py refactoring - reducing from ~14,455 to ~13,699 lines.

New structure:
- blueprints/reports/ - 4 routes (/raporty/*)
- blueprints/community/contacts/ - 6 routes (/kontakty/*)
- blueprints/community/classifieds/ - 4 routes (/tablica/*)
- blueprints/community/calendar/ - 3 routes (/kalendarz/*)
- utils/ - decorators, helpers, notifications, analytics
- extensions.py - Flask extensions (csrf, login_manager, limiter)
- config.py - environment configurations

Updated templates with blueprint-prefixed url_for() calls.

⚠️ DO NOT DEPLOY before presentation on 2026-01-30 19:00

Tested on DEV: all endpoints working correctly.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 10:10:45 +01:00
17d89e6296 feat: Banner NordaGPT na stronie głównej prowadzi do /chat
Zamiast otwierać modal, kliknięcie w banner NordaGPT
przenosi bezpośrednio do strony /chat z historią rozmów.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 07:49:31 +01:00
d3f773c403 feat: Improve AI response formatting and NordaGPT minimize
- Add comprehensive formatting instructions to AI system prompt
- Update linkifyText() and linkifyNordaGPT() to parse markdown:
  - **bold** to <strong>
  - Newlines to <br>
  - Numbered lists (1. 2. 3.) to <ol>
  - Bullet lists (- *) to <ul>
- Add CSS styles for AI response lists
- Fix NordaGPT minimize: banner now pulses and shows active state
- Banner button changes to "Wznów chat" when minimized

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 14:51:45 +01:00
91e42dd668 fix: Make entire NordaGPT banner clickable with hover effect
- Entire banner is now clickable (onclick on div)
- Added hover effect (translateY, shadow, brightness)
- Changed input/button to spans for cleaner click handling
- Fixed title element ID reference

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 14:41:50 +01:00
e87c0556f8 fix: Use correct API endpoints for NordaGPT chat
- Step 1: POST /api/chat/start to create conversation
- Step 2: POST /api/chat/<id>/message to send messages
- Fixed response field from 'response' to 'message'

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 14:40:42 +01:00
f84f821f3c feat: Add NordaGPT chat banner on homepage
- Purple-themed banner similar to event banner style
- Click to expand to fullscreen chat modal
- Minimize button returns to banner (shows "Chat aktywny")
- Close button resets chat
- Uses existing /api/chat endpoint
- Typing indicator animation
- Link/email auto-linking in responses
- Escape key minimizes, click outside minimizes
- Only visible for authenticated users

Also includes SEO audits in AI context (from previous work)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 14:38:56 +01:00
f3a9a6da1d feat: Add quick RSVP from homepage banner
- Click 'Zapisz się' button to register immediately
- Counter updates visually before redirect
- Then redirects to event details page
- Shows loading state during request
2026-01-13 11:12:36 +01:00
dfed9ca941 feat: Make entire event banner clickable
- Changed banner from div to anchor tag
- Added hover effect (lift + brightness)
- Easier to click for accessibility
2026-01-13 11:07:28 +01:00
85ce81a0ba fix: Remove nested style tags from index.html extra_css block
base.html already wraps extra_css in <style> tags, so adding them
in child templates causes invalid nested <style> which breaks CSS parsing
2026-01-13 11:04:35 +01:00
6bdce817db fix: Improve event banner title link visibility
- Add arrow indicator after title
- Use transform animation on hover instead of underline
2026-01-13 11:00:42 +01:00
0c141a3f40 feat: Make event banner title clickable
Link to event detail page from homepage banner title
2026-01-13 10:59:16 +01:00
7340337ec5 feat: Add event banner on homepage - "Kto weźmie udział?"
- Show next upcoming event banner on main page (after login)
- Display event title, date, time, location
- Show attendee count with Polish grammar
- Button changes to "Jesteś zapisany/a" when registered
- Orange gradient design to attract attention
- Responsive layout for mobile

Replaces WhatsApp polls for event attendance tracking.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 10:40:04 +01:00
174316a530 Przywróć logo firm na stronie głównej (katalog)
Naprawione błędy wprowadzone podczas synchronizacji:
- Przywrócono sekcję company-logo z obrazkiem w karcie firmy
- Przywrócono style CSS dla logo (100% szerokość, 80px wysokość)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 13:39:16 +01:00
6e4e7c2240 Sync: Current production state
- Added CompanyRecommendation system
- Made company pages public (removed @login_required)
- CSS refactor: inline styles instead of external fluent CSS
- Added release notes page
- Added admin recommendations panel
- Company logos (webp format)
- Docker compose configuration

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 12:26:22 +01:00
6d589407be Sync local repo with production state
- Add MembershipFee and MembershipFeeConfig models
- Add /health endpoint for monitoring
- Add Microsoft Fluent Design CSS
- Update templates with new CSS structure
- Add Announcement model
- Update .gitignore to exclude analysis files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-06 22:23:28 +01:00
02fc67bf40 Initial commit 2026-01-01 14:01:49 +01:00