Commit Graph
70 Commits
Author SHA1 Message Date
g-butandClaude Sonnet 4.6 5c1edbbd61 refactor(ssot/dry): eliminate SSOT/DRY violations across config, hooks, and features
- **SSOT**: CATEGORY_LABELS renamed to scoped names (SERVICE_CATEGORY_LABELS,
  MARKETPLACE_CATEGORY_LABELS) to prevent collision; REVIEW_STATUS_CONFIG,
  LOCATION_STATUS_CONFIG, WORKSHOP_*_OPTIONS moved to their config files
- **DRY**: Extract generateSelector() to lib/utils/element-selector and
  submitSuggestionToAPI() to lib/api/submit-suggestion; both feedback
  feature trees now share these utilities
- **DRY**: Extract callAnalyzeProductAPI() to lib/api/ai-product-analysis;
  useAIProductAnalysis and useProductAnalysis share the API call
- **SSOT**: FeedbackScope type and SCOPE_CONFIG moved to src/config/feedback-scopes;
  floating-ui and feedback feature trees both import from there, eliminating
  duplicate type definitions and hardcoded scope arrays
- **Rate limiting**: Add rateLimiters.listingBrowse to /api/workshops and
  /api/technicians (previously missing on public listing endpoints)
- **Auth error map**: Replace switch/case in LoginForm with a lookup table
- Fix typecheck errors introduced by renames

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 11:17:52 +02:00
g-butandClaude Sonnet 4.6 b58d46c45d docs(audit): update CODE_AUDIT.md + track cms-api source files
Test coverage section was stale (2581/92 → 7353/497). Rewrote the
Testing Coverage section to reflect the full API route coverage sprint
and all lib/config/schema test suites added since 2026-05-01.

Also tracks cms-api source files (Dockerfile, auth utility, migration)
that were untracked since the CMS backend was scaffolded.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 04:05:07 +02:00
g-butandClaude Sonnet 4.6 43f159c24d docs(audit): record shop product SEO + item_uuid bug fixes (2026-05-02)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 12:54:04 +02:00
g-butandClaude Sonnet 4.6 256cacb0b7 docs(audit): update test count to 2581/92, add email template + SEO metadata entries
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 11:46:31 +02:00
g-butandClaude Sonnet 4.6 2321bfeb95 docs(audit): update test coverage count to 2248 tests / 78 suites
Replaces stale 608/35 figures with current numbers and enumerates all
covered test areas by module.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 10:25:03 +02:00
g-butandClaude Sonnet 4.6 759d1f0b6e docs(audit): update test count to 608 across 35 suites
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 07:52:09 +02:00
g-butandClaude Sonnet 4.6 16f55ad147 docs(audit): update test count to 474 across 30 suites
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 07:35:36 +02:00
g-butandClaude Sonnet 4.6 124e0496e5 docs(audit): update test count to 455 across 29 suites
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 06:48:47 +02:00
g-butandClaude Sonnet 4.6 a355177265 perf(api): extend Cache-Control to remaining public GET endpoints
Applies apiSuccessCached to 8 more public read-only endpoints missed
in the previous pass:

- stats/community (300s/60s) — public counts, ISR already in place
- stats/impact (3600s/300s) — yearly CO2/device data, ISR already in place
- workshops/[slug]/instances (30s/15s) — participant count changes on registration
- workshops/[slug]/reviews (60s/30s) — reviews change infrequently
- it-hilfe/helpers/[id] (60s/30s) — semi-static helper profiles
- it-hilfe/requests/[id]/matches (30s/15s) — matching helpers update with profiles
- repairers/[id]/matching-requests (30s/15s) — open requests change frequently
- pools GET (30s/15s) — spotsLeft changes when members join/leave

Stats routes already had Next.js ISR (revalidate) but lacked HTTP
Cache-Control headers for CDN/edge caching.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 05:06:09 +02:00
g-butandClaude Sonnet 4.6 453b29eae7 perf(api): add Cache-Control headers to all public GET endpoints
Applies apiSuccessCached to 11 public read-only endpoints to reduce
Neon PostgreSQL cold-start load and improve CDN/edge cache hit rates.

TTL tiers by data volatility:
- 3600s: financials (yearly data)
- 300s: org-numbers, services, blog/categories (stable)
- 60s: technicians list+detail, sellers/[id], repairers ratings (semi-static)
- 30s: shop inventory list+detail, listings browse+similar (stock levels)
- 15s: search/listings, repairers availability (time-sensitive)

Legacy proxies (repairers, it-hilfe/helpers) now forward the
Cache-Control header from the technicians endpoint they wrap.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 04:42:09 +02:00
g-butandClaude Sonnet 4.6 e39a25c3e6 feat(seo): replace static sitemap with dynamic Next.js sitemap
- Adds src/app/sitemap.ts covering all 7 locales × public static pages,
  published blog posts, active workshops, and approved shop products
- Removes public/sitemap.xml which included admin/auth/dashboard paths
  that should not be indexed, and had no locale variants
- De defaults to no prefix (as-needed), fr/en/it/es/ja/ko get /<locale>/
- Each section has independent error handling so one DB failure doesn't
  break the whole sitemap

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 03:55:08 +02:00
g-butandClaude Sonnet 4.6 9b17088e45 docs(audit): mark duplicate count queries as FIXED in CODE_AUDIT
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 03:43:15 +02:00
g-butandClaude Sonnet 4.6 97adb5f768 docs(audit): update CODE_AUDIT with 2026-04-25 session fixes
Records i18n gap closure, pool status SSOT, and DECISION_STATUS/REQUEST_STATUSES fixes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 03:18:36 +02:00
g-butandClaude Sonnet 4.6 1dc0666755 docs(audit): record sql.raw() pattern requirement for Drizzle sql templates
Document that TABLE_NAMES constants must use sql.raw() when interpolated
inside Drizzle's sql`` template tag (plain strings are parameterized as
bound values, which is invalid in SQL identifier positions like FROM/INTO).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 02:25:21 +02:00
g-butandClaude Sonnet 4.6 632ecbb7ca docs: update CODE_AUDIT.md to current state (2026-04-24)
Test count 312→354; remove ghost img TODO (BlogFeaturedGrid already uses
next/image); clarify blob URL img tags are intentional; add itHilfe
Phase 2 note; add i18n pass to fix history.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 01:11:48 +02:00
g-butandClaude Sonnet 4.6 d56dabc13a fix(i18n): wire services catalog to translations across all 7 locales
- services/data.ts: strip all hardcoded German strings; add ServiceConfig
  with key + categoryKey fields. Service type becomes ServiceConfig +
  translated fields, built at runtime in page.tsx.

- services/page.tsx: use useTranslations('services.catalog') + .raw() to
  hydrate services from translations; build filter labels from services.page
  translations; schemaType now uses actual translated service titles.

- FilterableSection: add 'use client' and useTranslations('common') to
  eliminate hardcoded "Alle" allLabel, "Filter zurücksetzen" reset button,
  and "{n} von {m} Ergebnissen" results count.

- messages/*.json (all 7 locales): add services.catalog.{computerRepair,
  dataRecovery, hardwareRecycling, webDesign, linuxOpenSource,
  openSourceSolutions, buildYourComputer} with title/description/features/
  highlight/pricing; add services.page.categoryLabels + filterByCategory;
  add common.resetFilters + common.resultsCount.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 16:03:46 +02:00
g-butandClaude Sonnet 4.6 dc1f8fae24 fix(audit): P0 fixes — i18n gaps, mobile locale switcher, live impact metrics
- Footer: wrap Öffnungszeiten, Mo/Di-Fr hours, and Transparenz link in t() calls
  — these appeared on every page in every locale as hardcoded German
- space/page.tsx: use OPENING_HOURS from org.ts instead of hardcoded '9-12 | 13-17'
  (SSOT fix — the hardcoded times also didn't match the actual org hours)
- MobileMenu: add LocaleSwitcher to footer so mobile users can switch locale
  (previously locale switching was desktop-only)
- Add footer.openingHours, openingHoursMonday, openingHoursTueFri, transparency,
  and nav.language keys to all 7 locale files (de/fr/en/it/es/ja/ko)
- ImpactStatsSection: fetch live stats from DB at render time instead of static
  estimates; falls back to org-numbers defaults if DB is unavailable
- New /api/stats/impact route: computes real device counts and CO2 savings
  by category using co2-impact.ts Fraunhofer IZM methodology
- AUDIT_REPORT.md: full 6-phase audit report (8.3/10 overall)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 11:28:23 +02:00
g-butandClaude Opus 4.6 4b553e8692 docs: comprehensive codebase audit report (8/10, up from 7.5)
6-phase audit covering first principles, best practices, mission
alignment, functional correctness, UI/UX, and improvement roadmap.

Key findings: 2 critical payment bugs fixed this session, Subscription
Exchange remains the only unimplemented mission pillar, 10 god
components still need decomposition.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 10:44:13 +02:00
g-butandClaude Opus 4.6 35b9991162 docs: update audit report with refactoring progress
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 13:39:14 +02:00
G c88833ff0b fix: centralize org data (SSOT), remove dead code, fix violations (#125)
- Create src/config/org.ts as SSOT for all org data (name, addresses, phone, email, hours, URLs)
- Fix wrong address (Hohlstrasse → Birmensdorferstrasse), phone, founding year (2009 → 2003)
- Standardize org name to Revamp-IT everywhere
- Delete entire cms-api/ directory (disabled, never called)
- Remove 11 unused npm deps, add missing clsx
- Delete 6 orphaned test scripts, dead CMS stubs
- Remove unused ROLES, deprecated exports
- Migrate requireRole() → requirePermission()
- Update docs (CLAUDE.md, README, SHARED_CONTEXT, MISSION_STATEMENT, LEGAL)
- Regenerate package-lock.json

164 files changed, +461/-18,774 lines
2026-03-31 09:10:28 +02:00
g-but 2823e25dca feat: connect IT-Hilfe and Repairers, audit Erfassung/Intake
Phase 1 — IT-Hilfe ↔ Repairer unification:
- Add repairer_profile_id to it_hilfe_offers (soft FK to repairer_profiles)
- New API: GET /api/repairers/[id]/matching-requests (skill-based matching)
- New MatchingRequestsTab component on repairer detail pages
- IT-Hilfe offers now display repairer profile info (verified badge, rating)
- Repairers can see and respond to matching IT-Hilfe requests

Phase 2 — Erfassung vs Intake audit:
- docs/ERFASSUNG_INTAKE_AUDIT.md: full overlap analysis and consolidation plan
- Erfassung = AI-powered capture, Intake = checklist pipeline
- Recommended: merge into single pipeline with AI as optional first step
2026-03-23 14:09:46 +01:00
g-but 19e6be6d19 debug: test all listings route imports individually 2026-03-23 13:12:59 +01:00
g-butandClaude Opus 4.6 4eb6d4ec35 fix: audit report update, repairer approval refactor, test fixes
- Update codebase audit report with latest findings
- Refactor repairer application approval route to Drizzle ORM
- Fix marketplace page and ReviewForm minor issues
- Fix rate-limiter test flakiness with timer mocks
- Update jest.setup.js for test stability

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 14:22:59 +01:00
g-butandClaude Opus 4.6 f893115ad7 feat: complete all remaining audit items (12 items across 9 batches)
Accessibility:
- Add skip-to-content link in root layout
- Fix 125 gray-400 contrast violations across 92 files (→ gray-500)
- Fix 13 undersized admin touch targets (p-1 → p-2, w-8 → w-10)

Performance:
- Fix workshops N+1 waterfall: single ?include=instances API call
  replaces O(W×I) client-side fetch loops

Architecture:
- Remove legacy admin-auth.ts dual auth system
- Migrate 4 routes from CMS JWT to Auth.js/withAdmin

Responsive:
- Add mobile-first breakpoints to 5 components (sell page,
  bookings, decisions, product tables, filter bars)

Mission features:
- Public financial transparency page at /about/finances
- Per-listing CO2 impact badge on marketplace (Fraunhofer IZM 2023)
- Subscription exchange design spec + draft migration

0 TypeScript errors, 0 ESLint errors, 362/362 tests passing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 16:30:01 +01:00
g-butandClaude Opus 4.6 194299dd55 docs: update audit report with completed action items
Mark completed items: CSRF bypass (already fixed), failing test
(fixed), rate limiting (already existed), section auth (already
existed), dead code deletion, status string SSOT (~50 replaced),
Zod validation (~55 routes), img->Image migration (6 of 8),
7 god component decompositions. Score improves from 6.5 to ~7.8.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 16:30:01 +01:00
g-butandClaude Opus 4.6 25723a7d75 refactor: apply Zod validation to remaining routes, update audit report
Apply Zod validation imports and status config imports across
remaining page components (admin approvals, decisions, locations,
protocols, workshops, blog, dashboard, IT-Hilfe, marketplace).
Delete unused MarketplaceCheckoutForm. Update audit report with
current findings and scores.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 15:16:46 +01:00
g-butandClaude Opus 4.6 45bd7832fe feat: unified intake system, marketplace admin, IT-Hilfe, sidebar cleanup
Major features:
- Unified Device Intake system with AI text/voice extraction, checklist-gated
  publishing, tier change with checklist reset, and audit timeline
- Marketplace admin panel with stats, listing moderation, reports, orders
- IT-Hilfe admin for managing community tech help requests
- Marketplace sell form: AI-assisted listing creation with image upload

Fixes:
- Marketplace image URL validation: accept relative /uploads/ paths (was
  rejecting valid uploads with z.string().url())
- Admin marketplace stats/orders: fix column name mismatch (amount_chf
  not total_cents)
- Metadata title dedup: skip brand prefix when title already contains it
- Remove "Produkte" from admin sidebar (replaced by Geräte-Eingang +
  Marketplace flow)
- Dashboard quick action: "Neues Produkt" → "Neues Gerät" → /admin/intake

Cleanup:
- Delete unused modules: labels.ts, newsletter-status.ts, sensitive-areas.ts,
  role-checks.ts, unified-permissions.ts, mappers.ts, number-sources.ts,
  admin-access.ts, auth middleware, unused hooks
- SSOT consolidation across API routes and config

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 18:56:42 +01:00
g-butandClaude Opus 4.6 3419caaa69 docs: update all documentation and configuration for post-Medusa architecture
Remove all Medusa-specific documentation (MEDUSA_*.md, SETUP_*.md,
README_MEDUSA.md, AI_AGENT_QUICK_REFERENCE.md, REVAMPIT_SHOP_*.md).
Update remaining docs, README, AGENTS.md, CLAUDE.md, env examples,
sitemap, and agent config files to reflect the simplified architecture
without Medusa dependency. Replace Medusa.js with WooCommerce in
service offerings documentation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 11:44:25 +01:00
g-butandClaude Opus 4.6 f774a17df3 docs: add Phase 6 security & performance hardening to development plan
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 08:51:44 +01:00
g-butandClaude Opus 4.6 370ad47f8b perf: add paginatedQuery utility and Docker transcription service
- Create paginatedQuery() using COUNT(*) OVER() window function to
  combine data + count into a single DB round-trip
- Migrate 9 high-traffic API routes from 2-query to 1-query pagination
  (listings, it-hilfe/requests, repairers, reviews, admin/users,
  admin/donations, admin/reviews, admin/inventory, admin/workshops)
- Add Dockerfile and docker-compose entry for voice transcription
  service (faster-whisper Flask server on port 5111)
- Update test mocks for paginatedQuery in IT-Hilfe tests
- Mark Phase 5 as complete in development plan

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 23:05:20 +01:00
g-butandClaude Opus 4.6 bb9d837582 docs: update development plan with E2E test results
Phase 3 (E2E testing) now marked complete:
- 27 E2E tests passing, 22 skipped (require auth/database)
- 5 stale test files removed, remaining tests fixed
- Playwright config updated to port 3002

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 22:26:41 +01:00
g-butandClaude Opus 4.6 550497c1a7 docs: update development plan to reflect current completion state
All phases substantially complete except E2E testing (Phase 3).
49 commits ahead of origin/main, all quality gates passing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 21:03:12 +01:00
g-butandClaude Opus 4.6 b60bbb827c fix: improve DB resilience, middleware redirects, and AI provider caching
- Increase Neon connection timeout from 5s to 10s for cold starts
- Increase retry delays from [100,300]ms to [500,1500]ms
- Preserve query params in middleware callbackUrl redirects
- Add 60s TTL cache to AI provider config (was querying DB every call)
- Add 5-minute TTL to user columns cache (was never invalidating)
- Update CODE_AUDIT.md with all recent fixes and test coverage

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 09:12:50 +01:00
g-but a0e6d383d6 fix(ai): harden provider config path and restore admin key persistence
- make AI runtime config deterministic from DB (dedupe-safe ordering)\n- respect provider enabled flags in fallback runtime\n- improve protocol NO_PROVIDER UX copy with clear admin hint\n- extend admin hirn providers PATCH for apiKey persistence + enable toggle + guarded default switch\n- add DB migration 036 to dedupe/uniqueness-hardening for system providers\n- update hirn init insert conflict handling
2026-02-17 22:38:36 +01:00
g-but da39301015 docs: add overnight cross-project kivitendo fundraising integration plan 2026-02-17 22:33:51 +01:00
g-but 128a555f09 feat(admin): unify Betrieb ingestion and harden tasks/protocol flows 2026-02-17 21:52:39 +01:00
g-but a96e0e846c chore(auth): tighten pool policy, add CI smoke gate and incident runbook 2026-02-17 16:42:52 +01:00
g-butandClaude Sonnet 4.5 64fb3126dc fix(types): resolve all TypeScript errors in admin edit system
- Add EditHistoryEntry type and edit tracking fields to WorkshopProposal
- Add reviewer_name and editor_name to WorkshopProposalWithProposer
- Fix type assertions in API routes (currentProposal as WorkshopProposal)
- Fix optional property access in EditProposalModal and EditSubmissionModal
- Fix Heading import (default vs named export)
- Add null checks in test file
- All typechecks now pass

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-13 13:41:39 +01:00
g-butandClaude Opus 4.5 cde7c026e7 chore(docs): remove stale business/fundraising docs from hirn
Fundraising and business documentation now lives exclusively in
Nextcloud (Revamp-Hirn) as the SSOT. The dev repo keeps only
technical docs (api-documentation.md, database-schema.md).

Removed: Hirn methodology, Digital Brain presentations, fundraising
gap analysis, content strategy docs, templates, and related files.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 06:12:44 +01:00
g-butandClaude Opus 4.5 fc6a61cd77 feat(medusa): add Koyeb free tier deployment option
- Add koyeb.yaml for one-click deployment
- Update docs with Koyeb as primary free option
- Keep self-hosted as alternative

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 19:20:25 +01:00
g-butandClaude Opus 4.5 339e1dc3b5 docs(medusa): add self-hosted deployment guide (FREE)
- Add docker-compose.prod.yml for server deployment
- Add deploy.sh helper script
- Update docs with step-by-step free deployment

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 19:19:37 +01:00
g-butandClaude Opus 4.5 69b9880c0f feat(medusa): add production deployment configuration
- Add comprehensive deployment guide (docs/MEDUSA_PRODUCTION.md)
- Add Railway deployment config (railway.json)
- Add Vercel configuration script (scripts/configure-medusa-vercel.sh)
- Document deployment options: Railway, Render, self-hosted

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 19:14:39 +01:00
g-butandClaude Opus 4.5 617db5bc23 feat(arch): complete unified permissions migration and service layer
Phase 1 & 2 of architecture improvement plan complete:

Repository Layer:
- Add base repository with query/transaction helpers
- Add repairer repository (N+1 fix: 101→1 query)
- Add helper repository (N+1 fix: 76→1 query)

Unified Permissions:
- Create compatibility layer for dual auth systems
- Migrate all admin routes to hasAdminAccessUnified()
- Support both old role and new is_staff systems
- Prevent staff lockouts during migration

Service Layer:
- Extract payment webhook logic to PaymentService
- Reduce webhook route from 419→129 lines (69%)

Files migrated to unified auth:
- middleware/admin-access.ts, middleware/admin.ts
- api/admin/products, api/repairer/dashboard, api/seller/dashboard
- api/payments/webhook
- dashboard/page.tsx, dashboard/seller/*
- config/dashboard.ts

Also fixes pre-existing typecheck error by adding config/registration.ts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 14:01:03 +01:00
g-butandClaude Opus 4.5 ba9970d23c feat: Add HIRN AI RAG system with multi-provider support
Implements a complete RAG (Retrieval-Augmented Generation) system for
the admin dashboard with:

Core RAG Engine:
- Document ingestion with smart chunking (preserves complete functions/classes)
- pgvector-based semantic search with HNSW index
- Ollama embeddings (nomic-embed-text, 768 dimensions)
- Automatic content hashing for change detection

Multi-Provider AI Support:
- Ollama (local, default)
- Groq, OpenAI, Anthropic, Google, xAI, OpenRouter
- Per-user provider preferences stored in database
- Fallback chain for reliability

Auto-Documentation:
- Database schema extraction and indexing (62 tables)
- API route auto-documentation (116 endpoints)
- Generated docs stored in docs/ for reference

Admin Interface:
- Chat UI with context display
- Provider selector with API key management
- Document browser and stats
- Conversation history

Scripts:
- hirn-ingest.ts: Main document ingestion
- hirn-ingest-schema.ts: Database schema ingestion
- hirn-ingest-api-routes.ts: API documentation generator
- test-hirn-retrieval.ts: Retrieval testing
- test-hirn-chat.ts: Chat pipeline testing

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 01:50:20 +01:00
g-butandClaude Opus 4.5 0608f3dc38 feat: Add peer repair marketplace and HIRN admin dashboard
Peer Repair Marketplace ("Uber for repairs"):
- Create database migration for peer_repair_requests and peer_repair_offers tables
- Add API routes for requests, offers, and acceptance flow
- Build browse, create, and detail pages for repair requests
- Implement my-requests and my-offers dashboard pages
- Add peer-repairs config with categories, skills, and budget types

HIRN Admin Dashboard:
- Add financial data visualization with yearly income charts
- Create kennzahlen (KPIs), transparenz, and wirkung pages
- Implement data loading utilities and TypeScript types
- Add comprehensive documentation and presentation materials

Supporting changes:
- Update navigation config with new routes
- Add useMediaQuery hook for responsive layouts
- Extend constants with new configuration values

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 02:01:27 +01:00
g-but 92161d2d30 Fix password validation to use AUTH_CONFIG (8 chars, no complexity) 2026-01-19 18:24:14 +01:00
g-butandClaude Opus 4.5 08690902a9 perf: Add React.memo to FilterBar and ComparisonCard
- Wrap FilterBar and ComparisonCard with React.memo to prevent
  unnecessary re-renders when parent components update
- Update CODE_AUDIT.md to reflect all recent fixes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 14:15:16 +01:00
g-butandClaude Opus 4.5 2b4510b189 chore: fix security vulnerabilities
Updated vulnerable packages where possible.
Some vulnerabilities remain due to next-contentlayer peer dependency conflicts.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 19:57:05 +01:00
Your Name 5a6f84b63d fix: improve auth system reliability and UI responsiveness
- Fix UserMenu buttons to show immediately without waiting for session check
- Update password validation to enforce 12 character minimum
- Add database connection error handling in auth routes
- Improve session provider configuration for non-blocking session checks
- Add graceful error handling for slow local database connections
2026-01-05 15:21:38 +01:00
Your Name 7974d5c61f feat: deploy latest frontend (auth, admin, shop); docs + CI updates 2025-12-14 16:06:55 +01:00