Bicrypto 5.2.5

20 December 2024

2FA SYSTEMLOGO MANAGEMENTEMAIL SYSTEMBUG FIXESLANGUAGE PERSISTENCEDEFAULT LANGUAGESUPPORT TICKETSADMIN MENU

Version 5.2.5

Release Date: December 20, 2024
Tags: 2FA SYSTEM, LOGO MANAGEMENT, EMAIL SYSTEM, BUG FIXES, LANGUAGE PERSISTENCE, DEFAULT LANGUAGE, SUPPORT TICKETS, ADMIN MENU

Added

Logo Management

  • Added a logo upload system that updates the platform everywhere immediately
  • Added logo management at /admin/system/logo
  • Added automatic generation of all logo variants (favicons, app icons)
  • Added direct updates that do not wait on a settings refresh

Enhanced 2FA System

  • Added validation for all 2FA methods (SMS, EMAIL, APP)
  • Added a phone number requirement for SMS 2FA setup
  • Added styled OTP templates carrying security warnings
  • Added proper generation and consumption of recovery codes
  • Added a resend for email verification, with error handling

Language Features

  • Added cookie persistence for the language preference, with a one-year expiration
  • Added automatic detection that prefers the cookie over browser headers
  • Added proper locale prefix handling in URLs
  • Added support for the NEXT_PUBLIC_DEFAULT_LANGUAGE setting

Support System

  • Added real-time ticket updates over WebSocket
  • Added proper parsing of message and tag data
  • Added an indicator showing disabled extensions in the admin
  • Added a cache refresh for extension status updates
  • Added a browser cache clearing system

Changed

Email Templates

  • Changed template variable replacement so it is applied throughout
  • Changed order emails to give a detailed breakdown with quantities and pricing
  • Changed shipping information to include tax
  • Changed template structure and design
  • Changed the security messages in authentication emails

User Experience

  • Changed 2FA instructions to be specific to the chosen method
  • Changed language switching so the choice persists immediately
  • Changed validation error messages throughout
  • Changed logo updates to process files automatically
  • Changed the extension management layout to be cleaner and easier to use

System Reliability

  • Changed error handling across the authentication systems
  • Changed support tickets to update in real time over WebSocket
  • Changed file upload validation in support tickets
  • Changed the cache system to clear browser storage comprehensively
  • Changed settings to refresh their cache automatically on change

Fixed

Two-Factor Authentication

  • Fixed the login step calling the wrong endpoint
  • Fixed email 2FA setup not sending an actual OTP code during verification
  • Fixed SMS 2FA allowing configuration without a validated phone number
  • Fixed inconsistent verification messages between the APP, EMAIL and SMS methods
  • Fixed missing validation of the settings the 2FA services need
  • Fixed EMAIL being rejected as a 2FA method by the API

Language System

  • Fixed the language selection not persisting after a page reload
  • Fixed user preferences reverting to the default language on refresh
  • Fixed the missing cookie-based language persistence
  • Fixed language detection using only browser headers instead of the saved preference
  • Fixed the hardcoded default locale not respecting the configured setting

Support Tickets

  • Fixed an empty WebSocket endpoint that stopped real-time updates working
  • Fixed message posting on tickets
  • Fixed missing parsing of message and tag data
  • Fixed file upload creating duplicate messages in the interface
  • Fixed missing error handling that could crash the server

Email System

  • Fixed the SITE_NAME placeholder, which now displays correctly
  • Fixed lists not being left-aligned
  • Fixed missing template variables and logo URL handling
  • Fixed incomplete order details in order confirmations

Admin Interface

  • Fixed a "Cannot read properties of undefined" error in the page builder
  • Fixed logo display delays caused by waiting on settings
  • Fixed menu extensions not reflecting a disabled extension
  • Fixed the extension toggle not refreshing the global settings cache