Bicrypto 5.2.9

17 January 2025

FEATUREBUG FIXES

Core v5.2.9

Release Date: January 17, 2025
Tags: FEATURE, BUG FIXES

Added

Advanced Logo Management System

  • Added direct logo file replacement from the /public/img/logo/ directory
  • Added automatic PNG and WebP generation for every logo upload
  • Added exact dimension requirements per logo type
  • Added automatic updates of the related files (favicons, Apple icons and the rest)

Upload Interface

  • Added a drag-and-drop upload interface with a live preview
  • Added upload validation on file type and size
  • Added error handling and feedback during upload
  • Added automatic cache clearing after a logo update

Logo Mapping System

  • Added mapping for main logos, favicons, Apple icons and Android icons
  • Added support for icon sizes from 16x16 through 512x512
  • Added dark and light theme logo variants
  • Added proper logo URL updates in the settings

Changed

Authentication System

  • Changed the authentication middleware to handle errors and timeouts properly
  • Changed the token refresh mechanism to recover from errors
  • Changed role fetching to validate its cache
  • Changed admin route permission checks to handle errors consistently

Logo Management

  • Changed logo components to display the actual logo files rather than the stored settings
  • Changed logo previews to render consistently between the server and the browser
  • Changed path resolution to fall back sensibly in production
  • Changed directory handling to try several locations, with error handling throughout

System Improvements

  • Changed the support ticket page routing to a simpler structure
  • Changed path resolution to be production-ready across environments

Fixed

Authentication & Access Issues

  • Fixed 502 errors when reloading the admin support ticket page
  • Fixed redirect loops and permission mismatches in the authentication middleware
  • Fixed token refresh error handling and timeout management
  • Fixed role cache initialization causing permission checks to fail

Logo Management System

  • Fixed admin settings showing outdated stored values instead of the actual logo files
  • Fixed display mismatches in the logo fields between the server and the browser
  • Fixed the wrong logo type being displayed (icon versus text logos)
  • Fixed logo upload failures in production environments
  • Fixed dark logo upload errors caused by a different directory structure