Add user avatar system and fix WHOIS parsing/cron synchronization

- Add avatar upload with Gravatar fallback and initials
- Fix false "available" detection for registered domains
- Clean up WHOIS status parsing and server display
- Update cron job to sync all WHOIS fields
- Fix TLD cache and .me domain parsing issues
This commit is contained in:
Hosteroid
2025-10-27 18:13:38 +02:00
parent bbb1be1cf5
commit 67bacc36e3
15 changed files with 1060 additions and 45 deletions

View File

@@ -19,6 +19,7 @@ CREATE TABLE IF NOT EXISTS users (
two_factor_backup_codes TEXT NULL,
two_factor_setup_at TIMESTAMP NULL,
full_name VARCHAR(255),
avatar VARCHAR(255) NULL,
role VARCHAR(50) DEFAULT 'user',
is_active BOOLEAN DEFAULT TRUE,
last_login TIMESTAMP NULL,

View File

@@ -0,0 +1,4 @@
-- Add avatar field to users table
-- This field will store the filename of the uploaded avatar image
ALTER TABLE users
ADD COLUMN avatar VARCHAR(255) NULL AFTER full_name;