Commit Graph

13 Commits

Author SHA1 Message Date
e18aa3f42c feat(api): implement rate limiting and SSRF protection across endpoints
- Added rate limiting to `reaction-users`, `search`, and `image-proxy` APIs to prevent abuse.
- Introduced SSRF protection in `image-proxy` to block requests to private IP ranges.
- Enhanced `link-preview` to use `linkedom` for HTML parsing and improved meta tag extraction.
- Refactored authentication checks in various pages to utilize middleware for cleaner code.
- Improved JWT key loading with error handling and security warnings for production.
- Updated `authFetch` utility to handle token refresh more efficiently with deduplication.
- Enhanced rate limiting utility to trust proxy headers from known sources.
- Numerous layout / design changes
2025-12-05 14:21:52 -05:00
55e4c5ff0c feat(api): add endpoints for fetching reaction users and searching messages
- Implemented GET endpoint to fetch users who reacted with a specific emoji on a message.
- Added validation for messageId and emoji parameters.
- Enhanced user data retrieval with display names and avatar URLs.
- Created a search endpoint for Discord messages with support for content and embed searches.
- Included pagination and rate limiting for search results.

feat(api): introduce image proxy and link preview endpoints

- Developed an image proxy API to securely fetch images from untrusted domains.
- Implemented HMAC signing for image URLs to prevent abuse.
- Created a link preview API to fetch Open Graph metadata from URLs.
- Added support for trusted domains and safe image URL generation.

style(pages): create Discord logs page with authentication

- Added a new page for displaying archived Discord channel logs.
- Integrated authentication check to ensure user access.

refactor(utils): enhance API authentication and database connection

- Improved API authentication helper to manage user sessions and token refresh.
- Established a PostgreSQL database connection utility for Discord logs.
2025-12-03 13:27:37 -05:00
c3f0197115 misc 2025-12-02 10:05:43 -05:00
d8d6c5ec21 refactor: add SubNav layout and per-subsite nav placeholders; switch Base to use SubNav 2025-11-28 09:07:55 -05:00
d671fbc130 feat: Add user display in navigation
misc: styling/css cleanup
2025-11-26 10:43:34 -05:00
8500cd6e67 - feat: Enhance LyricSearch and Memes components with new features and styling improvements
Bump major version -> 0.3
2025-11-25 10:04:05 -05:00
05aa48af14 auth code changes / misc 2025-11-25 05:56:46 -05:00
1d0b310228 misc / bugfix: session refresh 2025-08-28 11:15:17 -04:00
315919186b another commit without a list of specific changes! (misc) 2025-08-21 15:07:10 -04:00
1528931a29 misc 2025-08-20 15:57:59 -04:00
21796e768e various changes 2025-08-09 07:10:04 -04:00
1c07198fa4 add build number (for page footer) 2025-07-19 22:57:35 -04:00
8f7b0f2719 refactor/add build time to page footers 2025-07-16 10:06:41 -04:00