Commit Graph

1125 Commits

Author SHA1 Message Date
7231428fa7 auto-claude: subtask-4-2 - Add form sections 4-6 (Endpoints, Security, Backup & DR)
Added three new form sections to IT audit form:
- Section 4: Endpoints (Workstations) - device types, OS, MDM, encryption
- Section 5: Security - antivirus/EDR, VPN, MFA, password policy, training
- Section 6: Backup & DR - backup solutions, targets, frequency, retention, DR plan

Features:
- Dropdowns for single-select options (MDM solution, VPN, antivirus, etc.)
- Chip-select for multi-select options (endpoint types, OS, MFA methods, etc.)
- Toggle switches for yes/no questions with conditional fields
- Full JavaScript support for new chip selections and conditional mappings
- Initialization support for editing existing audits
2026-01-09 08:49:48 +01:00
b9a7f4640c auto-claude: subtask-4-1 - Create it_audit_form.html template with base structure
- Created IT audit form template with 9 sections (1-3 fully implemented)
- Section 1: IT Contact (IT manager, outsourcing, provider, contact info)
- Section 2: Cloud & Identity (Azure AD, M365, Google Workspace, local AD)
- Section 3: Server Infrastructure (server count, types, virtualization, OS)
- Sections 4-9: Placeholder structure ready for implementation
- Added progress bar with section navigation dots
- Implemented toggle switches, chip selects for multi-value fields
- Added conditional field visibility logic
- Included loading overlay and info modal patterns
- Responsive design following existing audit templates (gbp_audit.html, seo_audit.html)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 08:46:23 +01:00
c319777d58 Social Media audit: progress bar improvements
- Add detailed logging to SocialMediaAuditor (website scan, Brave search, results)
- Slow down progress bar animation (400ms instead of 200ms) for better readability
- Bold "ZNALEZIONO" text for found platforms
- Display Google rating and review count in progress
- Increase wait time before modal close (4 seconds)
- Add console.log for debugging audit response

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 05:29:17 +01:00
cadf91b481 feat(social-audit): Add ability to run Social Media audit
- Add "Uruchom audyt" button to social_audit.html
- Create POST /api/social/audit endpoint to verify profile URLs
- Add loading overlay and modal for audit progress/results
- Audit verifies each social media URL and updates check_status

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 05:07:58 +01:00
505800381e feat(social-audit): Add Social Media audit dashboard
- Create /audit/social/<slug> route with platform presence analysis
- Create social_audit.html template with 6 platforms (FB, IG, LinkedIn, YT, X, TikTok)
- Add purple "Audyt Social" button on company profile next to GBP and SEO audits
- Show score based on platforms count, profile details and recommendations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 05:03:57 +01:00
3da1501872 feat(seo-audit): Add dedicated SEO audit page for individual companies
- Create /audit/seo/<slug> route with access control (admin or company owner)
- Create seo_audit.html template with score visualization
- Add green "Audyt SEO" button next to GBP audit button on company profile
- Match styling and UX patterns from GBP audit feature

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 04:53:21 +01:00
b3885a06e8 feat(gbp-audit): Add data source tags to progress overlay
- Show "Google" badge next to each field in progress steps
- Blue badge indicates data comes from Google Places API
- Helps users understand where audit data originates

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 04:46:14 +01:00
0c1d03418b GBP Audit: show reviews scoring breakdown
Add details field to FieldStatus for passing breakdown info.
Display scoring breakdown like: "3 pkt (1. opinia) + 1 pkt (ocena) = 4/9"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 04:30:04 +01:00
a25767e49c GBP Audit: simple user-friendly reviews message
Replace technical scoring breakdown with simple messages:
- 0 reviews: "Poproś klientów o opinię"
- Partial: "Dobry początek! Zbierz więcej opinii"
- Full score: "Doskonale! Masz maksymalną punktację"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 04:28:13 +01:00
d44df3b104 GBP Audit: user-friendly reviews scoring explanation
Clearer breakdown showing:
- What points user already earned (✓)
- What's still pending (○)
- Actionable tip for zero reviews
- Goal reminder for partial scores

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 04:25:39 +01:00
82b57427f7 GBP Audit: add scoring explanation for reviews field
Shows how review points are calculated:
- Full score (9/9): 5+ reviews AND rating >= 4.0
- Partial: 3 pts (first review) + 1 pt/review + 1 pt bonus (rating >= 4.0)
- Missing: 0 pts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 04:23:24 +01:00
6758e208d4 GBP Audit: fetch Google data + detailed progress overlay
- Add fetch_google_business_data() to fetch fresh data from Google Places API
- Progress overlay shows all 10 data fields with actual values:
  * Place search, Rating, Reviews, Photos, Hours, Phone, Website, Status
- 5-second delay after completion for user to read results
- Fix opening hours display (show formatted weekday_text)
- Fix reviews scoring (integer-based: 3 base + 1/review + 1 bonus)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 04:19:44 +01:00
61caea4903 fix: add navigation to GBP audit feature (qa-requested)
Fixes:
- Added GBP audit link to company profile contact bar
- Link visible to admins on all profiles
- Link visible to regular users only on their own company profile
- Styled consistently with contact bar design (Google blue)

Verified:
- Template syntax balanced (blocks, if, for)
- Route gbp_audit_dashboard exists in app.py

QA Fix Session: 1

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 19:27:28 +01:00
0bb6b718f5 auto-claude: subtask-3-2 - Create user-facing audit dashboard template
Creates templates/gbp_audit.html for GBP completeness audit display:

- Score circle with visual conic gradient showing completion percentage
- Field status cards (10 fields) with icons, badges, and progress bars
- Recommendations list sorted by priority (high/medium/low)
- Breadcrumb navigation and responsive mobile layout
- Loading overlay and info modal for audit operations
- Polish UI text matching existing platform conventions

Template follows patterns from admin_seo_dashboard.html and integrates
with the GBP audit API endpoints created in subtask-3-1.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 19:14:54 +01:00
996e9cbe5c Dodaj informację o źródle danych w panelu SEO
Widoczny link do Google PageSpeed Insights (Lighthouse) w nagłówku panelu.
Użytkownik/admin wie skąd pochodzą metryki.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 16:06:14 +01:00
90ca2bc618 Dodaj stylizowane modale i link Audyt SEO w menu admina
- Zamieniono natywne confirm/alert na ładne modale CSS
- Dodano link "Audyt SEO" w menu administracyjnym
- Modal z animacją slide-in, ikony ostrzeżenia/info
- Obsługa zamykania przez backdrop

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 15:34:06 +01:00
892cfcc39a Fix: Template url_for errors - use company_id instead of slug
Naprawia błędy BuildError w szablonach admin gdzie używano slug zamiast company_id.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 14:04:09 +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
ee495ce83e Przywróć logo firm i Social Media w profilu firmy
Naprawione błędy wprowadzone podczas synchronizacji:
- Przywrócono sekcję company-logo-header z obrazkiem
- Przywrócono style CSS dla logo (240x240px, shadow, border-radius)
- Przywrócono przyciski Social Media (Facebook, Instagram, LinkedIn, YouTube, X, TikTok)
- Przywrócono style kolorów dla platform social media
- Naprawiono pole website_url → website

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 13:31:13 +01:00
d5e6365d1e auto-claude: Merge auto-claude/005-badanie-jakosci-seo-stron-intrentowych-kazdego-z-c 2026-01-08 12:36:09 +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
7d63d5304a auto-claude: 6.3 - Add SEO metrics section to company profile
Extend templates/company_detail.html to display SEO metrics when
seo_audited_at exists:

- Overall SEO score banner with color-coded gradient (green/yellow/red)
- PageSpeed scores grid (SEO, Performance, Accessibility, Best Practices)
- On-Page SEO card (meta tags, headings, images, links)
- Technical SEO card (canonical, indexing, structured data, OG tags)
- Core Web Vitals section (LCP, FID, CLS) when available
- Structured data types display (Schema.org)
- Score legend with color coding explanation
- Responsive design for mobile/tablet screens

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 08:18:42 +01:00
282e807f39 auto-claude: 6.1 - Create admin SEO dashboard template
Created templates/admin_seo_dashboard.html with:
- Sortable table showing all companies with SEO metrics
- PageSpeed scores color-coded (green/yellow/red for good/medium/poor)
- Summary stats cards showing score distribution
- Filtering by category, score range, and search
- Drill-down links to company profiles
- Single company audit trigger button (admin only)
- Responsive design with mobile-friendly layout
- Legend explaining score color coding

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 08:10:43 +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