Commit Graph

6 Commits

Author SHA1 Message Date
3nd3r 887482d3db Add role-based admin panel with root/admin/mod/user hierarchy
- User model: new 'role' column (root > admin > mod > user)
- End3r (id=2) set as 'root' (GOD admin)
- Admin panel modal: Users tab (search, set roles, verify, grant AI),
  Bans tab (list/unban), Mutes tab (list/unmute)
- Role-based permission checks: root can set admins, admins set mods,
  mods can kick/ban/mute/verify
- Shield icon in header (visible to mod+) opens admin panel
- Nicklist shows role icons: crown (root), swords (admin), shield (mod)
- Context menu: added Mute/Unmute action
- Live role_updated event pushes role changes to online users
- role_power hierarchy prevents privilege escalation
2026-04-12 14:39:43 -05:00
3nd3r 064f6bf0ba Add 10 color themes to Chat settings
Themes: Midnight Purple (default), Crimson Noir, Ocean Deep, Ember,
Neon Green, Cyberpunk, Rose Gold, Arctic, Daylight, Midnight Blue

- Convert hardcoded rgba accent colors to CSS custom properties
- Add data-theme attribute switching with CSS variable overrides
- Theme picker grid with gradient swatches in Settings > Chat tab
- Theme preference persisted in localStorage
2026-04-12 14:28:06 -05:00
3nd3r d5e942d06d Add settings panel with Account, Chat, Violet, and Premium tabs
- Gear icon in header opens settings modal
- Account: view username/email, change password (server-side bcrypt)
- Chat: font size slider, 12h/24h timestamps, enter-to-send toggle, sounds toggle
- Violet: view AI access status, reset conversation memory
- Premium: feature showcase with upgrade CTA (payment coming soon)
- All chat prefs saved to localStorage
- Font size applied via CSS custom property
- Timestamp format conversion (24h server -> 12h client option)
- Icon button styling for gear and hamburger menu
2026-04-12 14:17:52 -05:00
3nd3r 46ba1d7273 Fix #6: Add missing DOM elements, fix null references
- Add violet-trial-badge span to index.html header
- Add null guard in updateVioletBadge() for safety
- Remove dead $('tab-ai-violet') reference (Violet tab is dynamic)
- Fix duplicate trialBadge declaration and restore hidden logic
2026-04-12 12:55:20 -05:00
Antigravity c514c5fb73 Fix Lobby tab switching and message submission logic 2026-04-12 18:15:44 +01:00
ComputerTech ad510c57e1 Initial commit: SexyChat (Aphrodite) v1.0 2026-04-12 17:55:40 +01:00