Commit Graph

7 Commits

Author SHA1 Message Date
282e04f874 feat: add user_id index to profiles table for faster lookups
The profiles table previously lacked an index on the user_id column, causing full table scans during user lookups. This change adds a B-tree index on user_id to improve query performance for profile retrieval operations.
2026-05-23 08:24:54 +00:00
c6a2f04a61 feat: add user_id index to profiles table for faster lookups
The profiles table previously lacked an index on the user_id column, causing full table scans during user lookups. This change adds a B-tree index on user_id to improve query performance for profile retrieval operations.
2026-05-23 03:44:04 +00:00
77367644c5 feat: add user_id index to profiles table for faster lookups
The new index on the `user_id` column in the `profiles` table improves query performance when filtering or joining by user identifier, reducing full table scans during authentication and profile retrieval operations.
2026-05-23 01:21:55 +00:00
ccb885607a feat: add fast-path early return for empty input in parse function
The parse function now checks for empty input at the top and returns immediately, avoiding unnecessary processing overhead for trivial cases. This optimization reduces latency for empty-string calls by skipping regex compilation and match attempts.
2026-05-11 01:14:43 +00:00
ba91b1b3b1 chore: remove pre-locust configuration files and test stubs 2026-05-10 22:41:41 +00:00
7dd1da38b9 feat: add avatar upload and cropping functionality to user profile settings
Implement avatar management with image upload, client-side cropping, and server-side storage. Users can now upload profile pictures from their local filesystem, crop them to a square aspect ratio using a drag-and-resize interface, and save the result. The backend stores cropped images in a dedicated avatars directory and updates the user record with the new avatar path. Includes validation for file type and size limits, plus fallback to default avatar on error.
2026-05-10 19:33:53 +00:00
97689f86d7 feat: implement basic version of the application with core functionality 2026-05-10 07:08:12 +00:00