Commit Graph

8 Commits

Author SHA1 Message Date
8adaffe9f3 feat: add CI workflow, Dockerfile, tests, and project scaffolding for proxy server 2025-12-07 23:14:40 +00:00
05c067c991 refactor: reorder path traversal check before normalization in proxy safety validation
Move the '..' detection to operate on the raw path string before normalization, ensuring path traversal attempts are caught even when normpath would collapse them. Also apply the same early check to api_parsed_url.path in proxy_request, preventing bypass via normalized path segments.
2025-12-07 23:12:52 +00:00
50933050b5 perf: add in-memory caching layer for API responses and remove debug console log in notification component 2025-12-07 22:18:28 +00:00
63b2ad8440 fix: resolve undefined name property access in notification display for user settings
The notification item component was incorrectly accessing `notif.username` directly instead of `notif.username.name`, causing undefined values to appear in the notification display when the username field contained an object with a `name` property. Added a console.info statement for debugging and corrected the property chain to properly extract the display name from nested object structures.
2025-12-07 22:11:46 +00:00
8e02a2d053 fix: resolve username mismatch in login by fetching profile for canonical name
- Add notifyAuthChange() call after successful token validation in setAuthFromToken
- Fetch user profile during login to obtain canonical username instead of using raw input
- Update both authData and currentUser objects with resolved username from profile API
- Handle profile fetch failure gracefully by falling back to provided username
2025-12-04 21:36:01 +00:00
17f001975f feat: route all external image urls through new server-side proxy with host allowlist 2025-12-04 19:44:39 +00:00
88673f6ea9 feat: add PWA install prompt handling and install button in settings page 2025-12-04 19:33:22 +00:00
4c04da32b0 chore: scaffold Rantii project with README, icons, CSS, and JS directory structure 2025-12-04 19:29:35 +00:00