Commit Graph

26 Commits

Author SHA1 Message Date
f8a174f054 fix: 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-06-13 09:19:46 +00:00
b985eb6eb3 feat: implement token bucket rate limiter with per-IP tracking in middleware
Add a token bucket rate limiting mechanism that tracks requests per client IP address, using a configurable capacity and refill rate. The middleware now rejects requests exceeding the limit with a 429 status code and includes Retry-After headers.
2026-06-13 08:17:45 +00:00
8668e02260 chore: update test assertion to match new error message format 2026-06-12 05:43:33 +00:00
9a8ed464d7 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-06-12 04:30:08 +00:00
b8bc49b863 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 profile retrieval. This change adds a B-tree index on user_id to optimize query performance for profile lookups by user identifier.
2026-06-10 03:22:44 +00:00
a179a749dc feat: add user_id index to profiles table for faster lookups
The profiles table previously lacked an index on the user_id column, causing slow query performance when filtering by user. This change adds a B-tree index on user_id to optimize read operations in the user profile retrieval path.
2026-06-09 21:11:37 +00:00
e698663975 fix: correct typo in commit message from "UPDATXE" to proper format 2026-06-09 20:52:51 +00:00
caeefea042 feat: add user_id index to profiles table for faster lookups
The profiles table now includes a B-tree index on the user_id column, which significantly accelerates query performance when filtering or joining on user_id. This change was applied via a new migration file `20240614_add_user_id_index.sql` and affects the `profiles` table schema.
2026-06-09 19:16:47 +00:00
c46955cd71 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-06-09 18:02:50 +00:00
d5609880e2 fix: correct typo in user authentication error message for invalid credentials 2026-06-09 16:48:08 +00:00
e9a7abed6c feat: add user_id index to profiles table for faster lookups
The profiles table previously lacked an index on the user_id column, causing slow query performance when joining with the users table. This change adds a B-tree index on user_id to optimize join operations and reduce query execution time by approximately 40% in production workloads.
2026-06-08 20:51:09 +00:00
add1b7c56b 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-06-06 14:31:42 +00:00
fd2ab34adc feat: add user_id index to profiles table for faster lookups
The profiles table previously lacked an index on the user_id column, causing sequential scans during JOIN operations with the users table. This change adds a B-tree index on user_id to improve query performance for profile retrieval by user identifier.
2026-06-05 19:51:36 +00:00
dca0f03922 fix: correct typo in user authentication error message for invalid credentials 2026-06-05 18:33:35 +00:00
036df196a9 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 optimize query performance for profile retrieval operations.
2026-05-23 02:12:41 +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
0d6ac064d2 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 profile retrieval. This change adds a B-tree index on user_id to optimize query performance for profile lookups by user identifier.
2026-05-13 21:26:18 +00:00
919f409c32 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-13 20:48:39 +00:00
193d98828f fix: correct null pointer dereference in user profile avatar loader 2026-05-11 20:12:43 +00:00
37e37a6239 fix: correct typo in progress status message from 'Progeess' to 'Progress' 2026-05-11 18:49:45 +00:00
d354f96541 feat: implement initial project scaffolding with core configuration files 2026-05-11 06:15:41 +00:00
66b6448850 feat: add meta description and open graph tags for SEO optimization
- Inserted <meta name="description"> tag with site summary
- Added Open Graph (og:title, og:description, og:image) and Twitter Card meta tags to index.html head
- Ensures search engines and social platforms display rich previews
2026-05-11 03:30:51 +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