Skip to content

GG Requestz v1.1.4

Choose a tag to compare

@github-actions github-actions released this 26 Sep 05:38

What's Changed

Major Changes

  • Typesense Search Engine Removal
    • Completely removed Typesense dependency and container from Docker setup
    • Replaced all search functionality with direct IGDB API integration
    • Simplified architecture by eliminating search index synchronization
    • Reduced Docker container count and system complexity

Fixed

  • Authentication & Request Management

    • Fixed 401 Unauthorized error for basic auth users trying to remove their own requests
    • Enhanced getSession function to properly handle both JWT and basic auth tokens
    • Improved authentication flow to check both session and basic_auth_session cookies
    • Added comprehensive authentication debugging for troubleshooting
  • User Experience

    • Replaced generic alert dialogs with toast notifications for better UX
    • Added success messages when requests are successfully removed
    • Enhanced error messages to show specific server errors instead of generic failures
    • Improved search page to auto-hide advanced filters when search is cleared
  • Docker Health Checks

    • Fixed persistent "unhealthy" container status despite running application
    • Resolved IPv6 connection issues in health check script (localhost → 127.0.0.1)
    • Removed conflicting health check configurations between Dockerfile and Docker Compose
    • Created dedicated Node.js health check script with proper ES module compatibility
  • Admin Interface Search Focus Issues

    • Fixed search input focus loss in Admin Users page during typing
    • Fixed search input focus loss in Admin Requests page during typing
    • Implemented client-side filtering with SvelteKit 5 reactive patterns
    • Search inputs now maintain focus throughout the entire search experience
  • Search Functionality

    • Fixed game name search in Admin Requests (changed from game_name to title)
    • Restored advanced filters (platforms/genres) on main search page
    • Fixed filter persistence when navigating back from game details
    • Added smooth CSS transitions for filter appearance with proper spacing
  • 404 Protection Security System (Later Removed)

    • Fixed missing database table causing 404 protection failures
    • Updated time window from 5 minutes to 60 seconds for better brute force protection
    • Fixed database table name mismatch (ggr_settings → ggr_system_settings)
    • Fixed IP address validation for database storage (INET column compatibility)
    • Added comprehensive security logging and violation tracking

Enhanced

  • Search Performance

    • Direct IGDB API searches eliminate intermediate indexing delays
    • Real-time search results without synchronization lag
    • Improved search accuracy using native IGDB data
  • Security

    • Enhanced 404 attempt monitoring with detailed logging
    • Automatic user logout after excessive 404 attempts (if authenticated)
    • Admin notifications for security violations via Gotify
    • Comprehensive audit trail in ggr_security_logs table

Removed

  • 404 Protection System

    • Removed 404 protection system after security evaluation
    • Removed security API endpoints and database tables
    • Removed client-side 404 tracking and warnings
    • Simplified error handling and removed unnecessary complexity
    • Cleaned up migration files and security-related code
  • Dependencies

    • Removed typesense npm package
    • Removed Typesense container from docker-compose.yml
    • Removed database synchronization scripts and commands
    • Cleaned up unused search indexing code

Technical Changes

  • Updated search API endpoints to use IGDB directly
  • Migrated admin search interfaces to client-side filtering
  • Added database migration for security logs table
  • Implemented in-memory rate limiting for 404 protection
  • Updated Docker compose files to remove Typesense service

Full Changelog

See CHANGELOG.md for complete version history.

Installation

Docker (Recommended)

docker pull ghcr.io/XTREEMMAK/ggrequestz:v1.1.4

Manual Installation

  1. Download the source code
  2. Follow the Installation Guide

Documentation