Commit Graph

352 Commits

Author SHA1 Message Date
Hördle Bot
61846a6982 feat: Add backend storage for cross-domain player state synchronization
- Add PlayerState model to database schema for storing game states
- Create player identifier system (UUID-based) for cross-domain sync
- Implement API endpoints for loading/saving player states
- Refactor gameState hook to use backend storage with localStorage fallback
- Support synchronization between hoerdle.de and hördle.de
- Migration automatically runs on Docker container start
2025-12-01 20:09:54 +01:00
Hördle Bot
bba6b9ef31 fix: Use current domain in share URL instead of static config.domain
- Share URL now uses window.location.hostname to support both hoerdle.de and hördle.de
- Protocol is automatically detected from window.location.protocol
- Fixes issue where share URL always used hoerdle.de even when accessed via hördle.de
2025-12-01 19:53:26 +01:00
Hördle Bot
a8867ac42e feat: Add dynamic Open Graph image generation with correct aspect ratio
- Create /api/og-image endpoint that generates SVG with 1.91:1 ratio (1200x630px)
- Prevents logo cropping on Facebook and Twitter
- Uses safe padding (150px) to ensure content is never cut off
- Update default OG image to use dynamic endpoint
- Add SEO testing documentation
2025-12-01 19:44:48 +01:00
Hördle Bot
9006b208af chore: Bump version to v0.1.4.1 v0.1.4.1 2025-12-01 19:31:00 +01:00
Hördle Bot
20c8ad7eaf feat: Add comprehensive SEO implementation
- Add robots.txt with admin/API blocking
- Add dynamic sitemap.xml with static pages and genre pages
- Implement full meta tags (Open Graph, Twitter Cards, Canonical, Alternates)
- Add SEO helper functions for domain detection and URL generation
- Add generateMetadata to all pages (homepage, about, genre, special)
- Support automatic domain detection for hoerdle.de and hördle.de
- Add SEO configuration to lib/config.ts
2025-12-01 19:28:43 +01:00
Hördle Bot
03129a5611 Remove imprint disclaimer from About page and localization files for German and English. 2025-12-01 19:13:33 +01:00
Hördle Bot
fd8f4adcc0 Bump version to 0.1.4 v0.1.4 2025-12-01 18:51:31 +01:00
Hördle Bot
23997ccc3a Refactor: Plausible-Konfiguration - automatisches Domain-Tracking und NEXT_PUBLIC_PLAUSIBLE_DOMAIN entfernt
- Domain wird automatisch aus Request-Header erkannt (hoerdle.de / hördle.de)
- NEXT_PUBLIC_PLAUSIBLE_DOMAIN komplett entfernt (nicht mehr benötigt)
- CSP in proxy.ts konfigurierbar gemacht
- twitterHandle entfernt (wurde nicht verwendet)
- Dokumentation aktualisiert
2025-12-01 18:51:15 +01:00
Hördle Bot
85bdbf795c Refactor: Plausible-Konfiguration aktualisiert und twitterHandle entfernt
- Defaults auf neue Domains aktualisiert (hoerdle.de statt hoerdle.elpatron.me)
- CSP in proxy.ts konfigurierbar gemacht (liest Plausible-URL aus Umgebungsvariablen)
- twitterHandle entfernt (wurde nirgendwo verwendet)
- Dokumentation aktualisiert
2025-12-01 18:29:09 +01:00
Hördle Bot
ac0bb02ba0 Bump version to 0.1.3 v0.1.3 2025-12-01 18:18:17 +01:00
Hördle Bot
63269c2600 Change: Standard-Sprache von Deutsch auf Englisch geändert
- defaultLocale in proxy.ts auf 'en' geändert
- Fallback in i18n/request.ts auf 'en' geändert
- Fallback-Reihenfolge in lib/i18n.ts angepasst (en vor de)
- Share-URL-Logik in Game.tsx angepasst
- Dokumentation aktualisiert
2025-12-01 18:18:11 +01:00
Hördle Bot
17a39d677d Update: package-lock.json aktualisiert für baseline-browser-mapping 2025-12-01 18:15:22 +01:00
Hördle Bot
1ff0787e4e Bump version to 0.1.2 v0.1.2 2025-12-01 18:11:39 +01:00
Hördle Bot
ed5f02bdec Fix: 'Kurieren' zu 'Kuratieren' korrigiert im Admin-Dashboard 2025-12-01 18:11:24 +01:00
Hördle Bot
e3a09864a6 Refactor: Dokumentation nach docs/ verschoben
- Alle Markdown-Dateien (außer README.md) nach docs/ verschoben
- Referenzen in README.md aktualisiert
- /docs zu .dockerignore hinzugefügt
2025-12-01 17:58:32 +01:00
Hördle Bot
107739ade9 Fix: Update Dockerfile to optimize build process and reduce image size
- Refactored the Dockerfile to streamline the build process.
- Removed unnecessary layers and combined commands for efficiency.
- Improved caching strategy to enhance build performance.
2025-12-01 17:54:12 +01:00
Hördle Bot
e4eae67612 Bump version to 0.1.1 v0.1.1 2025-12-01 17:43:40 +01:00
Hördle Bot
891f52b0b8 Fix: Versionsanzeige im Footer - Git-Tags während Docker-Build verfügbar machen und Fallbacks hinzufügen 2025-12-01 17:43:24 +01:00
Hördle Bot
725d3bcff4 Fix: Docker-Netzwerk als external markieren um Warnung zu beheben
- Setze external: true in docker-compose.example.yml für hoerdle_default Netzwerk
- Erweitere deploy.sh um Netzwerk-Prüfung
- Behebt Warnung über falsche Netzwerk-Labels
2025-12-01 17:34:26 +01:00
Hördle Bot
69f69cf172 Fix: Zentriere Genre-Navigation in der oberen Navigation
- Vereinfache Flexbox-Struktur für bessere Zentrierung
- LanguageSwitcher bleibt absolut positioniert rechts oben
- Entferne verschachtelte Container die Zentrierung störten
2025-12-01 17:31:55 +01:00
Hördle Bot
68c8f9a05a Add .dockerignore and Docker cleanup script to fix build space issues
- Add .dockerignore to exclude large upload files from Docker builds
- Add docker-cleanup.sh script to free up Docker disk space
- Add DOCKER_BUILD_FIX.md documentation for troubleshooting build issues

This prevents large MP3 files from being copied into the Docker image,
saving significant disk space during builds.
2025-12-01 17:24:14 +01:00
Hördle Bot
2b8733dea0 refactor: update layout and styling for upcoming specials and language switcher
- Adjusted the layout of the upcoming specials section for improved readability and alignment.
- Enhanced the styling of the language switcher for better visibility and accessibility.
- Simplified the structure of the tour genres section to improve overall user experience.
2025-12-01 17:15:03 +01:00
Hördle Bot
317eed5ea6 refactor: remove obsolete i18n fix scripts
- Deleted multiple outdated scripts for fixing internationalization data in the database, including various approaches (bash and Node.js).
- Consolidated functionality into more efficient and modern solutions, improving maintainability and reducing redundancy.
- Ensured that the remaining scripts are up-to-date with current database handling practices.
2025-12-01 17:11:03 +01:00
Hördle Bot
a503edb220 fix: enhance database script with improved permission handling and error checks
- Added permission setting for backup and temporary database files to ensure proper access.
- Implemented checks for file readability and ownership adjustments to enhance robustness.
- Included detailed SQL commands to fix internationalization data in the database, improving data integrity.
2025-12-01 17:06:07 +01:00
Hördle Bot
a80c14223b fix: improve database permissions script with enhanced logging and user feedback
- Added detailed logging to track changes and errors in the database permissions script.
- Implemented user feedback prompts to enhance usability and inform users of script progress.
- Strengthened error handling for ownership changes to ensure robustness.
2025-12-01 17:01:27 +01:00
Hördle Bot
8c9c4eb159 fix: enhance database permissions script with logging and user feedback
- Added logging functionality to the database permissions script to track changes and errors.
- Implemented user feedback prompts to inform users of the script's progress and outcomes, improving usability.
- Ensured the script maintains robust error handling for ownership changes.
2025-12-01 16:58:47 +01:00
Hördle Bot
68dfba38df fix: update database permissions script to set ownership to root
- Modify the script to explicitly set the owner of the database directory to root, ensuring proper access for SQLite.
- Include error handling to attempt ownership change with sudo if the initial command fails, improving robustness of the script.
2025-12-01 16:53:48 +01:00
Hördle Bot
b51ad2ff1a docs: add troubleshooting guide and fix permissions script for database issues
- Introduced a comprehensive troubleshooting guide for common application errors, particularly focusing on database permission issues after migrating databases.
- Added a script to automate the fixing of database permissions, ensuring SQLite can write to the necessary files and directories.
- Included detailed steps for diagnosing and resolving various container and database-related problems to enhance user support.
2025-12-01 16:50:24 +01:00
Hördle Bot
5613e5d48e docs: update Caddy setup documentation and clarify network warnings
- Corrected the container port for health check from 3010 to 3000 in Caddy setup instructions.
- Added a section addressing a harmless network warning during deployment, including an optional fix script for user convenience.
- Enhanced clarity and usability of the documentation for better user experience.
2025-12-01 16:48:04 +01:00
Hördle Bot
09b998ea75 fix: update reverse proxy port for hoerdle service in Caddyfile
- Change reverse proxy port from 3010 to 3000 for both hoerdle.de and xn--hrdle-jua.de
- Ensure consistency in service configuration across domains
2025-12-01 16:04:39 +01:00
Hördle Bot
74a8a59083 refactor: remove timeout settings for large files in Caddyfile
- Eliminate timeout configurations for large files in hoerdle.de and xn--hrdle-jua.de sections
- Streamline the Caddyfile for improved clarity and maintainability
2025-12-01 16:02:25 +01:00
Hördle Bot
f2c64281dd refactor: clean up Caddyfile by removing audio streaming headers and related configurations
- Eliminate unnecessary headers and caching settings for audio streaming
- Streamline the configuration for better readability and maintainability
- Maintain timeout settings for large files
2025-12-01 16:01:20 +01:00
Hördle Bot
ca40b1efb9 refactor: update Caddyfile for root-domain TLS configuration
- Simplify TLS setup for hoerdle.de and hördle.de by using automatic HTTP-01 challenge
- Remove wildcard certificate configuration and clarify usage for root-domains only
- Enhance comments for better understanding of the configuration
2025-12-01 15:59:58 +01:00
Hördle Bot
3c051ec49d refactor: simplify GoDaddy DNS configuration in Caddyfile
- Consolidate API key and secret syntax for GoDaddy DNS settings
- Improve readability by removing unnecessary nested structure
2025-12-01 15:58:00 +01:00
Hördle Bot
b268abb7d3 fix: correct environment variable syntax in Caddyfile and clean up Docker Compose configuration
- Update Caddyfile to use correct syntax for environment variables in GoDaddy DNS settings
- Remove unnecessary version declaration from docker-compose.caddy.yml for clarity
2025-12-01 15:50:54 +01:00
Hördle Bot
c7793dcb9d fix: update Caddyfile DNS configuration for GoDaddy API
- Refactor DNS settings to use named parameters for API key and secret
- Enhance readability and maintainability of the Caddyfile
2025-12-01 15:45:47 +01:00
Hördle Bot
95fd6405be docs: enhance Caddy setup documentation and update Docker Compose configurations
- Add instructions for handling existing Docker networks in Caddy setup
- Update docker-compose.caddy.yml to specify external network name
- Modify docker-compose.example.yml to include network configuration for the default network
2025-12-01 15:39:54 +01:00
Hördle Bot
e881979da3 chore: update .gitignore to include docker-compose.yml 2025-12-01 15:37:28 +01:00
Hördle Bot
8ec713297a chore: remove Docker Compose configuration for hoerdle service 2025-12-01 15:37:23 +01:00
Hördle Bot
4aef034aa6 feat: add Docker Compose configuration for hoerdle service
- Introduce docker-compose.yml to define the hoerdle service
- Configure build arguments, environment variables, and volume mappings
- Set up health checks and restart policy for the service
2025-12-01 15:34:08 +01:00
Hördle Bot
b120e5df45 chore: update .gitignore to include .env.example and enhance deployment documentation with Caddy reverse proxy setup 2025-12-01 15:19:19 +01:00
Hördle Bot
68c074e9da feat(about): improve about page with real data and support section
- Replace example imprint data with real contact information
- Add support/donation section with SEPA, PayPal, and Steady options
- Add GEMA tariff tracking requirement note to privacy section
- Remove iframe embedding of Google Sheets, keep link only
- Remove empty lines from imprint section
- Add 'curated' to project description (DE/EN)
- Fix XML tag syntax for Google Sheets link
2025-12-01 14:53:38 +01:00
Hördle Bot
20910e5cbf feat: add multilingual about page with imprint and privacy info 2025-12-01 14:08:31 +01:00
Hördle Bot
ff6aff25e8 Merge branch 'migrate-middleware-to-proxy': Migrate middleware.ts to proxy.ts and fix dependencies 2025-11-29 18:08:44 +01:00
Hördle Bot
2f5c06fb52 fix: add unist-util-visit-parents as direct dependency to resolve module resolution error 2025-11-29 18:08:42 +01:00
Hördle Bot
6893158926 feat: migrate middleware.ts to proxy.ts
- Rename middleware.ts to proxy.ts using Next.js codemod
- Update function name from 'middleware' to 'proxy'
- Update documentation in I18N.md to reflect proxy.ts usage
- Maintain all existing functionality (i18n routing and security headers)
2025-11-29 17:56:28 +01:00
Hördle Bot
038797a5da chore: update baseline-browser-mapping and replace middlewareClientMaxBodySize with proxyClientMaxBodySize 2025-11-29 17:55:13 +01:00
Hördle Bot
25a79230a8 Admin-Seite lokalisiert: Übersetzungen hinzugefügt und URLs angepasst
- Admin-Namespace zu de.json und en.json hinzugefügt
- Alle UI-Texte in der Admin-Seite mit useTranslations lokalisiert
- Link-Komponente von next-intl verwendet für korrekte Locale-URLs
- Buttons, Labels, Formulare und Tabellen-Header übersetzt
2025-11-28 18:39:52 +01:00
Hördle Bot
0182db69b5 Füge Collapse-Funktionalität zu Admin-Management-Abschnitten hinzu 2025-11-28 18:07:09 +01:00
Hördle Bot
794e3fd74a Verbessere Docker-Migration: Entrypoint mit Baseline-Fallback und aktualisiere baseline-migrations.sh 2025-11-28 15:53:01 +01:00