- 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>
- 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>
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>
- 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>
- 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>
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>
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>
- 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>
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>
- 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
- Add CI pipeline that runs on pushes to main and PRs
- Runs linting, type checking, and build verification
- Vercel automatically deploys when merged to main
- Update deployment documentation
Major cleanup removing all Strapi-related code and migrating to static content:
- Remove all Strapi integration files (strapi.ts, types)
- Delete legacy Strapi pages and components
- Remove migration scripts and Strapi tooling
- Update Docker compose to remove Strapi services
- Reorganize documentation files into docs/ directory
- Remove obsolete test components and legacy API routes
- Add new responsive design components and utilities
- Update service pages to use static content
- Simplify blog pages to use hardcoded content
- Remove package dependency on Strapi
This cleanup reduces codebase complexity and prepares for production deployment.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove redundant feedback system components and API routes
- Consolidate RevampCopilot functionality into floating-ui feature
- Update chatbot components and hooks
- Add new suggestions route to CMS API
- Update documentation and migration schema
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Switch to correct floating-ui SuggestionButton component with working typing functionality
- Fix button positioning to display in middle-right of screen (not bottom)
- Add explicit positioning styles to ensure proper panel placement
- Resolve character-by-character input issues by using the optimized component version
- All feedback form features now working: backdrop close, scope switching, element selection
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Major structural improvements for professional open source presentation:
🗂️ **Repository Organization:**
- Organized tools/ directory with deployment/ and development/ subdirectories
- Moved all scripts to appropriate locations (deploy.sh → tools/deployment/)
- Created archive/legacy/ for historical files
- Removed outdated directories (strapi/, backend/, content/, messages/, etc.)
📚 **Documentation Structure:**
- Reorganized docs/ with guides/, reference/, api/, and legacy/ structure
- Created comprehensive docs/README.md with clear navigation
- Added detailed ARCHITECTURE.md explaining Strapi vs Custom CMS decision
- Moved legacy documentation to docs/legacy/ folder
🔧 **Developer Experience:**
- Added professional GitHub issue templates (bug_report.yml, feature_request.yml)
- Enhanced .gitignore with comprehensive patterns for clean repository
- Fixed import issues and development server configuration
- Created proper folder structure for maintainability
✨ **Professional Presentation:**
- Repository now presents as legitimate, well-organized open source project
- Clear separation of concerns in folder structure
- Professional documentation hierarchy
- Ready for new contributor onboarding
This brings the repository to senior engineering standards with clear organization,
comprehensive documentation, and professional development workflow setup.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Major improvements to make the repository welcoming for new contributors:
- Completely rewrote README.md with clear project overview, installation steps, and professional presentation
- Added comprehensive CONTRIBUTING.md with development workflow, code standards, and contributor recognition
- Created MIT LICENSE file for proper open source compliance
- Added .env.example files for both frontend and CMS API with all necessary configuration variables
- Organized documentation in docs/ folder for better structure
- Removed outdated files and AI-related placeholders
- Updated project description to focus on sustainable technology mission
- Added professional badges and clear feature descriptions
- Included proper setup instructions for both development environments
The repository now presents a professional, legitimate open source project that clearly communicates its purpose and makes it easy for developers to contribute.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add Next.js admin routes (/admin, /admin/login, /admin/pages, /admin/pages/new, /admin/pages/[id])
- Create admin layout with navigation and authentication
- Build login page with email/password form
- Implement pages list with search and create functionality
- Add WYSIWYG editor for content creation/editing
- Create API routes for admin authentication and content management
- Add middleware for route protection
- Include sample data population script
- Add comprehensive admin interface documentation for non-technical users
- Create test page for validating admin functionality
- Update environment configuration for JWT secret
Admin interface is now super easy and intuitive for non-technical team members to:
- Login with email/password
- View all pages with search
- Create new pages
- Edit existing pages with rich text editor
- Save as draft or publish immediately
- Preview content before publishing
All code follows best practices with proper error handling, security, and accessibility.
- Translate service descriptions and features to German
- Fix "Our Services" to "Unsere Dienstleistungen"
- Translate process steps in data recovery service
- Fix "Contact Us" and "Browse Inventory" buttons
- Translate "This service is coming soon" message
- Ensure consistent German language throughout services
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- No merge conflicts found in specified files
- Updated package dependencies and lockfile
- Added translation checklist files and mobile menu component
- Continued systematic Swiss High German translation of user-facing content
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>