Skip to content

[2.4.4] - Palette & Storage Sync

Choose a tag to compare

@CodeMeAPixel CodeMeAPixel released this 25 May 05:52
· 109 commits to master since this release
53d18d1

Added

  • Expanded Theme System — User theming options significantly expanded with new preset themes and custom hues.
    • New Theme Presets (7 additional themes): 🌅 Sunset Glow (gradient-shift animated), 🌲 Forest Deep (particle effects), 🌊 Ocean Depth (wave animation), 🌙 Midnight Purple (glitch gaming), 🏔️ Slate Stone (grid gaming), 🏝️ Tropical Breeze (particle effects), 💜 Lavender Dream (aurora effects).
      • Each theme includes full ColorConfig with 18 HSL-based color properties, background effects, and animation speeds.
      • Metadata added to THEME_METADATA_MAP with descriptions, emoji identifiers, and effect configurations.
    • Expanded Custom Hues (12 new hues added for 22 total): Lime, Spring, Mint, Teal, Turquoise, Sky, Purple, Violet, Magenta, Crimson, and additional saturation/lightness variations.
      • Hues now span the full color spectrum from warm tones (Coral, Amber, Marigold) through cool tones (Teal, Azure, Ocean) to purples and reds.
      • Each hue preset includes saturation and lightness values optimized for visual consistency.
    • Users can now mix-and-match theme presets with any custom hue for greater personalization.
  • Storage Bucket Sync Service — New centralized synchronization service for Vultr Object Storage bucket management.
    • packages/lib/storage/sync-buckets.ts — Unified bucket sync logic handling provisioning, status updates, and credential management.
    • POST /api/admin/storage/sync-buckets — Admin endpoint to trigger manual sync of all Vultr buckets, with operation counts (imported, updated, synced).
    • Automatic detection and sync of Vultr instance status changes (pendingactive), credential population, and database state reconciliation.
  • Storage Event Handler — New dedicated event handler for storage-related events.
    • packages/lib/events/handlers/storage.ts — Dispatches events like user.bucket-provisioned, user.bucket-deprovisioned with proper error handling and logging.
    • Integrated into the main event handler index for consistent event routing.

Changed

  • Email Template Branding — All transactional email templates updated with consistent NodeByte LTD branding.
    • 32 email templates across account lifecycle (welcome, verification, password reset, subscription updates, storage events, nexium events, etc.) now display NodeByte LTD copyright and branding.
    • Company name consolidated for consistent brand presentation across all customer communications.
  • Admin Broadcast Email Markdown — Admin broadcast emails now properly render markdown formatting.
    • AdminBroadcastEmail template rewritten to support inline markdown rendering with email-safe HTML styling.
    • Markdown support includes: headings (h1-h3), bold, italic, lists, links, blockquotes, code blocks, and horizontal rules.
  • Footer Visual Design — Footer animated border now matches navbar styling for consistency.
    • Changed from static gradient-border to animated gradient-border-animated class.
    • Provides cohesive visual language across the entire site header and footer.
  • Animated Background System Refinement — Animation functions improved for smoother, more visually appealing effects.
    • Parallax scrolling now implements horizontal wrap-around layers for seamless infinite scrolling.
    • Glitch effect with better frequency control and visual artifact distribution.
    • Aurora effect improved for better smoothness and glow quality.
    • Gradient shift enhanced with secondary radial gradient layer for depth.
    • Scanlines animation now includes flicker effects for authenticity.
    • Overall performance optimizations for the particle and effect systems.

Fixed

  • OAuth Link/Unlink Flow Refactoring — Discord and GitHub authentication link/unlink endpoints refactored for improved code clarity and consistency.
    • Simplified callback handling in /api/auth/link/[provider]/callback/ routes.
    • Improved error handling and response consistency across all OAuth flows.
    • Type safety enhancements to prevent edge cases in credential validation.
  • Promo Code Admin Management — Improvements to promo code creation and management API.
    • Fixed edge cases in code validation and uniqueness checking.
    • Enhanced response handling for duplicate code detection.
  • Vultr Storage API Integration — Code quality improvements to the Vultr Object Storage management endpoint.
    • Refactored POST /api/admin/storage/vultr/route.ts for better maintainability and error handling.
    • Improved instance provisioning flow with better status tracking.
  • Legal Content API Improvements — Legal routes refactored for better code structure and consistency.
    • Improved parameter validation and response handling.
    • Enhanced error messages for debugging.
  • Video Player Meta Tags — Fixed video rendering when URLs contain trailing slashes.
    • POST /api/files/[id]/player now correctly handles URLs with trailing slashes without breaking playback metadata.
  • File Service Updates — Improvements to file upload and management service layer.
    • Better error handling and validation logic in file operations.
  • API Response Handling — CORS and response utilities improved for better cross-origin support.
    • Enhanced CORS header handling for consistent behavior across all endpoints.
  • Type Safety Improvements — Across-the-board type refinements and fixes.
    • Fixed TypeScript validation errors to ensure strict type safety.
    • Improved inference in generic functions and API responses.
  • Linting and Code Quality — Resolved linting issues and code quality recommendations from automated analysis.
    • Removed unused imports and variables.
    • Fixed inconsistent naming and spacing issues.
  • License Information — Updated copyright and license information in LICENSE file.
    • Reflects current organizational changes and branding updates.

Deprecated

  • Dynamic Background Componentpackages/components/layout/dynamic-background.tsx replaced by enhanced animated-background system.
    • Existing animated background effects consolidated into unified system for better maintainability.