asteroid/static
glenneth 8f5fe7534d feat: Add avatar upload and fix authentication errors
Avatars:
- Add avatar_path column to USERS table (migration 006)
- Upload API endpoint /api/asteroid/user/avatar/upload
- Profile page shows avatar with hover-to-change overlay
- Default SVG avatar for users without uploaded image
- Avatars stored in static/avatars/ directory

Fixes:
- 401 errors now return proper JSON instead of 500
- SQL escaping for history recording (single quotes)
- Added debug logging for history/record API
- Avatar container has background color for visibility

For production: run migrations/006-user-avatars.sql
2025-12-21 09:07:56 +03:00
..
avatars feat: Add avatar upload and fix authentication errors 2025-12-21 09:07:56 +03:00
icons feat: Add avatar upload and fix authentication errors 2025-12-21 09:07:56 +03:00
js Rename recently-played.js to recently-played.js.original 2025-12-06 11:55:24 -05:00
asteroid.css feat: Add avatar upload and fix authentication errors 2025-12-21 09:07:56 +03:00
asteroid.lass feat: Add avatar upload and fix authentication errors 2025-12-21 09:07:56 +03:00
asteroid.png a nice asteroid, from Summer Emacs. remember to ask for forgiveness. 2025-11-11 11:11:50 -05:00
favicon-16x16.png feat: Add favicon and asteroid.png graphics to front page 2025-11-20 17:05:35 -05:00
favicon-32x32.png feat: Add favicon and asteroid.png graphics to front page 2025-11-20 17:05:35 -05:00
favicon.ico feat: Add favicon and asteroid.png graphics to front page 2025-11-20 17:05:35 -05:00